scripts: Update mkknlimg, just in case
authorPhil Elwell <phil@raspberrypi.org>
Wed, 25 Oct 2017 08:20:56 +0000 (09:20 +0100)
committerRaspbian kernel package updater <root@raspbian.org>
Sat, 31 Mar 2018 14:57:23 +0000 (15:57 +0100)
With the removal of the vc_cma driver, mkknlimg lost an indication that
the user had built a downstream kernel. Update the script, adding a few
more key strings, in case it is still being used.

Note that mkknlimg is now deprecated, except to tag kernels as upstream
(283x), and thus requiring upstream DTBs.

See: https://github.com/raspberrypi/linux/issues/2239

Signed-off-by: Phil Elwell <phil@raspberrypi.org>
scripts/mkknlimg

index 60206de7fa9a49bd027c635306674a29a568652f..d72e15224232d5164374e93be48949bf596266ef 100755 (executable)
@@ -68,17 +68,15 @@ if (! -r $kernel_file)
 
 my $wanted_strings =
 {
-       'bcm2708_fb' => FLAG_PI,
        'brcm,bcm2835-mmc' => FLAG_PI,
        'brcm,bcm2835-sdhost' => FLAG_PI,
-       'brcm,bcm2708-pinctrl' => FLAG_PI | FLAG_DTOK,
        'brcm,bcm2835-gpio' => FLAG_PI | FLAG_DTOK,
-       'brcm,bcm2708' => FLAG_PI | FLAG_DTOK | FLAG_270X,
-       'brcm,bcm2709' => FLAG_PI | FLAG_DTOK | FLAG_270X,
+       'brcm,bcm2708-fb'   => FLAG_PI | FLAG_DTOK | FLAG_270X,
+       'brcm,bcm2708-usb'  => FLAG_PI | FLAG_DTOK | FLAG_270X,
        'brcm,bcm2835' => FLAG_PI | FLAG_DTOK | FLAG_283X,
        'brcm,bcm2836' => FLAG_PI | FLAG_DTOK | FLAG_283X,
+       'brcm,bcm2837' => FLAG_PI | FLAG_DTOK | FLAG_283X,
        'of_cfs_init' => FLAG_DTOK | FLAG_DDTK,
-       'vc_cma_init' => FLAG_PI | FLAG_270X,
 };
 
 my $res = try_extract($kernel_file, $tmpfile1);