Re: Booting Kernel on Amiga 3000
On Sep 07 2022, Geert Uytterhoeven wrote:
> So if the initrd is stored at the end of motherboard RAM:
>
> initrd: 0783283d - 08000000
>
> The code
>
> memcmp(data, BOOTCONFIG_MAGIC, BOOTCONFIG_MAGIC_LEN)
>
> works. When the initrd is stored at the end of WarpEngine RAM:
>
> initrd: 0f7f81c2 - 10000000
>
> it crashes, probably because it is not mapped.
>
> According to
>
> Initmem setup node 0 [mem 0x000000000a000000-0x000000000fffffff]
>
> the memory should be mapped, shouldn't it?
But in the success case, the initrd is located _before_ the node 0
region:
[ 0.000000] Initmem setup node 0 [mem 0x0000000008000000-0x000000000fffffff]
[ 0.000000] initrd: 0783283d - 08000000
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."
Reply to: