On Wed, Mar 25, 2020 at 3:47 PM Andre Przywara <andre.przyw...@arm.com> wrote:
> The U-Boot documentation explains that variables ending with "_r" hold > addresses in DRAM, while those without that ending point to flash/ROM. > The default variables for the Juno board pointing to the kernel and DTB > load addresses were not complying with this scheme: they lack the > extension, but point to DRAM. This is particularly confusing since the > Juno board features parallel NOR flash, so there *is* a memory mapped > NOR address holding a DTB, for instance. > > Fix the variables to use the proper names. On the way adjust the FDT > load address to be situated *before* the kernel, since users happened > to overwrite the DTB by the kernel clearing its .BSS section during > initialisation. > > That fixes loading debug kernels, which happened to overwrite the DTB on > certain setups. > > Signed-off-by: Andre Przywara <andre.przyw...@arm.com> > Reviewed-by: Liviu Dudau <liviu.du...@arm.com> Makes perfect sense. Reviewed-by: Linus Walleij <linus.wall...@linaro.org> Yours, Linus Walleij