Skip to content

Commit

Permalink
scripts/mkknlimg: Change string for DDT detection
Browse files Browse the repository at this point in the history
The old "of_overlay_apply" string does not appear in 4.8 kernel builds.
"of_cfs_init" is both present and a more accurate indication of support
for dynamically loading overlays (although the trailer is now of little
practical use and the firmware assumes DT support and will look for
both .dtbo and -overlay.dtb overlays).

Signed-off-by: Phil Elwell <phil@raspberrypi.org>
  • Loading branch information
Phil Elwell committed Oct 7, 2016
1 parent 2fb843e commit ee19734
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/mkknlimg
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ my $wanted_strings =
'brcm,bcm2709' => FLAG_PI | FLAG_DTOK | FLAG_270X,
'brcm,bcm2835' => FLAG_PI | FLAG_DTOK | FLAG_283X,
'brcm,bcm2836' => FLAG_PI | FLAG_DTOK | FLAG_283X,
'of_overlay_apply' => FLAG_DTOK | FLAG_DDTK,
'of_cfs_init' => FLAG_DTOK | FLAG_DDTK,
};

my $res = try_extract($kernel_file, $tmpfile1);
Expand Down

0 comments on commit ee19734

Please sign in to comment.