[U-Boot] [PATCH 2/2] boards: ls2080: Disable fdt copying by default

Bhupesh Sharma bhupesh.sharma at nxp.com
Tue Mar 1 06:20:15 CET 2016


> From: U-Boot [mailto:u-boot-bounces at lists.denx.de] On Behalf Of Scott
> Wood
> Sent: Tuesday, March 01, 2016 7:13 AM
> 
> On Tue, 2016-03-01 at 00:08 +0000, york sun wrote:
> > Sorry for top posting. I am on outlook web access.
> >
> > There may be some limitation on fdt relocation. Without setting
> > fdt_high, u -boot relocates the device tree toward the end of useable
> > memory. I haven't got a chance to debug why it doesn't work.
> >
> > This patch is to disable the relocation by default. A magic number
> > 0xa0000000 doesn't make much sense here.
> 
> I agree, if the number is arbitrary.  But if Linux has a limitation, as
> it does on arm32, then it should be expressed here.
> 

There are explicit requirements for placement of DTB for aarch64 linux.
Linux versions prior to v4.2 also require that the DTB be placed within
the 512 MB region starting at text_offset bytes below the kernel Image:

http://lxr.free-electrons.com/source/Documentation/arm64/booting.txt#L43

York - have you tested this patch against older kernels like 3.18?

Regards,
Bhupesh


More information about the U-Boot mailing list