mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-07-19 12:50:22 +02:00
xen, rpi4: fix u-boot script to load binaries from boot partition
fatload needs to read from mmc 1:1 to find the Xen hypervisor and Linux kernel binaries with the current Yocto Linux 5.10 kernel. Add boot messages to to the u-boot script to indicate the size of files loaded for easier confirmation of load success. Signed-off-by: Christopher Clark <christopher.w.clark@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
This commit is contained in:
parent
337ae20576
commit
a2664f884c
|
@ -30,10 +30,13 @@ echo Delay to allow the MMC card to be ready
|
|||
sleep 1
|
||||
|
||||
echo Load Xen into memory
|
||||
fatload mmc 0:1 ${xen_loadaddr} xen
|
||||
fatload mmc 1:1 ${xen_loadaddr} xen
|
||||
echo Xen loaded, size: 0x$filesize
|
||||
|
||||
echo Load Linux kernel into memory
|
||||
fatload mmc 0:1 ${kernel_loadaddr} Image
|
||||
fatload mmc 1:1 ${kernel_loadaddr} Image
|
||||
setenv kernel_size 0x$filesize
|
||||
echo Linux loaded, size: 0x$filesize
|
||||
|
||||
echo Set the address and size for the Linux kernel so Xen can pick it up
|
||||
fdt set /chosen/dom0 reg <${kernel_loadaddr} ${kernel_size}>
|
||||
|
|
Loading…
Reference in New Issue
Block a user