You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Duplicating the recipe for 3b to support 3b-plus doesn't look like a good idea to me, but I think I might have found a different solution (which I haven't tested at all yet).
The kernel and bootloader should have support for 3b-plus in Debian Buster in current versions (u-boot 2018.5 and linux 4.17). The 3b-plus has a separate dtb though, so the right one needs to be selected at boot.
That should make u-boot-update use "fdtdir" instead of "fdt", which leaves figuring out the exact dtb filename to u-boot (which has the strings for different boards in ./board/raspberrypi/rpi/rpi.c).
Also note that distribution has to be Buster (not Stretch) for this to work (for 3b-plus atleast).
Comments? Thoughts? Is it ok to bump to buster to be able to support both pis with one recipe?
The text was updated successfully, but these errors were encountered:
andhe
added a commit
to andhe/debos-recipes
that referenced
this issue
Aug 22, 2018
By not explicitly specifying a dtb filename, u-boot will probe
the hardware and use a suitable filename and then go search
in U_BOOT_FDT_DIR for that. This means it's possible to use
the same configuration for multiple different boards (by just
shipping all of their dtbs).
See go-debos#6
Hi,
Duplicating the recipe for 3b to support 3b-plus doesn't look like a good idea to me, but I think I might have found a different solution (which I haven't tested at all yet).
The kernel and bootloader should have support for 3b-plus in Debian Buster in current versions (u-boot 2018.5 and linux 4.17). The 3b-plus has a separate dtb though, so the right one needs to be selected at boot.
AIUI Just commenting out this line should do it:
in https://github.com/go-debos/debos-recipes/blob/master/debian/arm64/image-rpi3/u-boot-menu/etc/default/u-boot
That should make u-boot-update use "fdtdir" instead of "fdt", which leaves figuring out the exact dtb filename to u-boot (which has the strings for different boards in ./board/raspberrypi/rpi/rpi.c).
Also note that distribution has to be Buster (not Stretch) for this to work (for 3b-plus atleast).
Comments? Thoughts? Is it ok to bump to buster to be able to support both pis with one recipe?
The text was updated successfully, but these errors were encountered: