HiFive Unmatched: U-Boot stuck when loading Ramdisk

Tom Rini trini at konsulko.com
Sat Oct 16 14:06:01 CEST 2021


On Sat, Oct 16, 2021 at 01:22:35PM +0200, Sören Tempel wrote:
> Tom Rini <trini at konsulko.com> wrote:
> > I believe, that risc-v, until the current dev tree (so v2022.01)
> > doesn't set the flag to prevent itself from being overwritten when
> > preparing to boot the OS.
> 
> If I understand your comment correctly, this means that the issue has
> been fixed in the v2022.01 dev tree? If so: Could you point me to the
> commit fixing the issue?

It's a series actually:
https://patchwork.ozlabs.org/project/uboot/list/?series=258110&state=*

> > So the correct change is indeed to set CONFIG_SYS_BOOTMAPSZ as this
> > does tell U-Boot to always contain kernel/dtb/initrd to within that
> > size window, from start of memory (roughly).
> 
> Alright, I guess we are applying this CONFIG_SYS_BOOTMAPSZ change
> downstream then until v2022.01 is released.

Sounds like a good plan, yes.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20211016/59b5346c/attachment.sig>


More information about the U-Boot mailing list