[U-Boot] [PATCH] arm: vf610: move device tree after kernel image

Albert ARIBAUD albert.u.boot at aribaud.net
Wed Oct 14 11:08:49 CEST 2015


On Wed, 14 Oct 2015 10:36:42 +0200, Albert ARIBAUD
<albert.u.boot at aribaud.net> wrote:
> Hello Stefan,
> 
> On Tue, 13 Oct 2015 23:11:45 -0700, Stefan Agner <stefan at agner.ch>
> wrote:
> > Since the device tree relocation is disabled (fdt_high set to
> > 0xffffffff), U-Boot keeps the device tree at its load address
> > 0x81000000. The kernel uncompresses itself to 0x80008000 by
> > default, hence this limits the maximum (uncompressed) kernel
> > size to somewhat below 16MiB, otherwise the device tree gets
> > overwritten by the kernel data...
> > 
> > Move the device tree load address to 0x84000000 to avoid that
> > the device tree being overwritten by the kernel.
> 
> OOC, why is device tree relocation disabled? I'm asking because by
> manually placing the device tree (or anything else) high in DDR, one
> runs the risk of overwriting some of U-Boot's data.

Also, nitpick: this is not "vf610:" but "vf610twr:" (although some
other vf610 boards might need to perform the same fix, depending on the
size of their kernel) -- not that it requires a v2, mind you, the
committer could just fix the subject on-the-fly.

Amicalement,
-- 
Albert.


More information about the U-Boot mailing list