Re: [PATCH] powerpc/40x: Map 32Mbytes of memory at startup

2021-09-27 Thread cp
> I guess we're not expecting systems with less than 32MB, so making it > unconditional is OK? hi it's not 32MB of total physical ram, but rather using 32MB of the total physical ram to correctly boot a kernel bigger than 8MB. The problem is complex: - u-boot loads things at 0x0200. (in my ca

Re: [PATCH] powerpc/40x: Map 32Mbytes of memory at startup

2021-09-27 Thread Michael Ellerman
Christophe Leroy writes: > As reported by Carlo, 16Mbytes is not enough with modern kernels > that tend to be a bit big, so map another 16M page at boot. I guess we're not expecting systems with less than 32MB, so making it unconditional is OK? cheers > diff --git a/arch/powerpc/kernel/head_40x

Re: [PATCH] powerpc/40x: Map 32Mbytes of memory at startup

2021-09-27 Thread cp
hi, this is my second patch-test report. Today I have successfully tested Christophe Leroy's patch. Attached a cleaned patch. With the previous one the kernel booted, but there was a line missing. I have also tested two different kernels with success both kernel sizes were ~9.4MB the Entry Poin

Re: [PATCH] powerpc/40x: Map 32Mbytes of memory at startup

2021-09-27 Thread cp
hi, this is my first patch-test report. Today I have successfully tested Christophe Leroy's patch. I had to manually edit lines, but it worked with a kernel sized 9.1MByte :D used toolchain: - powerpc-unknown-linux-gnu-binutiles-v2.34 - powerpc-unknown-linux-gnu-gcc-v9.3.0 host: - macmini-intel,