Support using u-boot with Image format for raspberrypi3-64

For raspberrypi3-64 we need to use the Image or Image.gz format with u-boot
instead of the legacy uImage format. We also need to issue the 'booti' command
to boot the kernel instead of 'bootm'.

Signed-off-by: Paul Barker <pbarker@toganlabs.com>
This commit is contained in:
Paul Barker
2017-09-08 10:12:54 +00:00
committed by Andrei Gherzan
parent 43e0169ab7
commit e9bb7f0c6d
7 changed files with 36 additions and 23 deletions

View File

@@ -105,10 +105,12 @@ To disable rpi boot logo, set this variable in local.conf:
To have u-boot load kernel image, set in your local.conf:
KERNEL_IMAGETYPE = "uImage"
RPI_USE_U_BOOT = "1"
This will make kernel.img be u-boot image which will load uImage. By default,
kernel.img is the actual kernel image (ex. Image).
This will select the appropriate image format for use with u-boot automatically.
For further customisation the KERNEL_IMAGETYPE and KERNEL_BOOTCMD variables can
be overridden to select the exact kernel image type (eg. zImage) and u-boot
command (eg. bootz) to be used.
## Image with Initramfs