Re: efiboot failed to load kernel on 10.0_RC6
Rui-Xiang Guo <[email protected]>
| Newsgroups | gmane.os.netbsd.ports.arm |
|---|---|
| Message-ID | <ZglVCD87UYzaEEzG@picohive> |
On Sun, Mar 31, 2024 at 08:55:41AM -0000, Michael van Elst wrote: > [email protected] (Rui-Xiang Guo) writes: > > >I attempted to add LCD panel support for licheepi-zero u-boot, but it caused > >the boot error: > >booting netbsd - starting in 0 seconds. > >Failed to allocate 34339740 bytes for kernel image (error 2147483662) > > >What does this status mean? > > Probably not much. 2147483662 = 0x8000000E = EFIERR(14) = EFI_NOT_FOUND. > This is the result of an EFI AllocPages call. > > However, 34339740 bytes might be difficult to allocate on a system > that, according to https://wiki.sipeed.com/hardware/en/lichee/Zero/Zero.html, > has only 64MB of DRAM. > > I'm not sure why that much memory is required. Does your LCD panel support > use some huge static variables, e.g. as a framebuffer ? Do you try to > load a kernel with debug symbols ? It used sunxi de2. I will try to reduce the kernel size and test it on 10. Thanks, -rxg