Re: [PATCH] msc_sm2s_imx8mp: Adjust the initrd_addr location

2024-07-04 Thread Fabio Estevam
Hi Tom, On Wed, Jul 3, 2024 at 3:22 PM Tom Rini wrote: > How is the fdt at 0x4300 not being clobbered if the initramfs at > 0x4380 is? Is it because it's just enough of a bad spot that we > relocate the fdt out of the way? With the kernel at 0x4048 > everything else is too low. kerne

Re: [PATCH] msc_sm2s_imx8mp: Adjust the initrd_addr location

2024-07-03 Thread Tom Rini
On Wed, Jul 03, 2024 at 03:07:47PM -0300, Fabio Estevam wrote: > Hi Tom, > > On Wed, Jul 3, 2024 at 3:03 PM Tom Rini wrote: > > > Shouldn't fdt_addr_r change too? This is making me suspect the whole map > > is too small for safety, how much memory does the platform have at > > minimum? > > It h

Re: [PATCH] msc_sm2s_imx8mp: Adjust the initrd_addr location

2024-07-03 Thread Fabio Estevam
Hi Tom, On Wed, Jul 3, 2024 at 3:03 PM Tom Rini wrote: > Shouldn't fdt_addr_r change too? This is making me suspect the whole map > is too small for safety, how much memory does the platform have at > minimum? It has 2GB of RAM. Changing only initrd_addr and keeping fdt_addr_r unchanged allows

Re: [PATCH] msc_sm2s_imx8mp: Adjust the initrd_addr location

2024-07-03 Thread Tom Rini
On Wed, Jul 03, 2024 at 02:57:27PM -0300, Fabio Estevam wrote: > From: Fabio Estevam > > Booting an initramfs with the current address may lead to initramfs > corruption and boot failure. > > Move it 0x4800 which avoids initramfs overlap and allows a > successful initramfs boot. > > Signed-

[PATCH] msc_sm2s_imx8mp: Adjust the initrd_addr location

2024-07-03 Thread Fabio Estevam
From: Fabio Estevam Booting an initramfs with the current address may lead to initramfs corruption and boot failure. Move it 0x4800 which avoids initramfs overlap and allows a successful initramfs boot. Signed-off-by: Fabio Estevam --- include/configs/msc_sm2s_imx8mp.h | 2 +- 1 file chan