U-Boot zboot on x86-64 VirtualBox UEFI.
Simon Glass
sjg at chromium.org
Fri Jun 11 15:40:44 CEST 2021
+Heinrich Schuchardt
Hi Christian,
On Fri, 11 Jun 2021 at 07:30, Christian Melki
<christian.melki at t2data.com> wrote:
>
> Hi.
>
> I have been trying to boot a bzImage with zboot from a VirtualBox UEFI
> instance -> U-Boot UEFI payload. So far I've been using 2021.07-rc1. I'd
> like to try a newer rc, but even if built exactly the same with the same
> .config, newer won't boot as an UEFI payload. So right now, I'm stuck at
> rc1.
>
> Anyway.
> The kernel in question starts when configured with an EFI stub from the
> UEFI shell.
>
> U-boot fails to boot the bzImage from the console using zboot though.
> Just freezes after "Starting kernel..."
We don't actually have tests for this in CI at present.
I don't see any changes in the zboot stuff though. There is quite a
bit in efi_loader. You could perhaps try a bisect.
Heinrich, do you have any ideas?
>
> zboot 01080000 - 04000000 319c000
> Valid Boot Flag
> Magic signature found
> Linux kernel version 5.12.0 (ptxdist at ptxdist) #2 SMP PREEMPT
> 2021-06-01T00:00:00+00:00
> Building boot_params at 0x00090000
> Loading bzImage at address 100000 (6516096 bytes)
> Initial RAM disk at linear address 0x04000000, size 52019200 bytes
> Kernel command line: "console=ttyS0,115200 rw quiet"
> Kernel loaded at 00100000, setup_base=00090000
>
> Starting kernel ...
>
> Any ideas?
Regards,
Simon
More information about the U-Boot
mailing list