Re: PRAM and reserved memory for Linux

2022-07-13 Thread Tom Rini
On Wed, Jul 13, 2022 at 04:13:27PM +, Joakim Tjernlund wrote: > On Wed, 2022-07-13 at 10:21 -0400, Tom Rini wrote: > > On Wed, Jul 13, 2022 at 10:08:38AM +, Joakim Tjernlund wrote: > > > > > I added CONFIG_PRAM 4 and a reserved-memory DTS node for the same space > > > but > > > now u-boot

Re: PRAM and reserved memory for Linux

2022-07-13 Thread Joakim Tjernlund
On Wed, 2022-07-13 at 10:21 -0400, Tom Rini wrote: > On Wed, Jul 13, 2022 at 10:08:38AM +, Joakim Tjernlund wrote: > > > I added CONFIG_PRAM 4 and a reserved-memory DTS node for the same space but > > now u-boot complains when booting: > > ERROR: reserving fdt memory region failed (addr=703f

Re: PRAM and reserved memory for Linux

2022-07-13 Thread Tom Rini
On Wed, Jul 13, 2022 at 10:08:38AM +, Joakim Tjernlund wrote: > I added CONFIG_PRAM 4 and a reserved-memory DTS node for the same space but > now u-boot complains when booting: > ERROR: reserving fdt memory region failed (addr=703ff000 size=1000) > The error is caused by arch_lmb_reserve() i

PRAM and reserved memory for Linux

2022-07-13 Thread Joakim Tjernlund
I added CONFIG_PRAM 4 and a reserved-memory DTS node for the same space but now u-boot complains when booting: ERROR: reserving fdt memory region failed (addr=703ff000 size=1000) The error is caused by arch_lmb_reserve() in arm which seem to reserve command line and board info ? If I remove the