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

york sun york.sun at nxp.com
Tue Mar 1 01:08:25 CET 2016


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.

York


________________________________________
From: Scott Wood <oss at buserror.net>
Sent: Monday, February 29, 2016 4:00 PM
To: york sun; U-Boot Mailing List
Cc: Prabhakar Kushwaha
Subject: Re: [U-Boot] [PATCH 2/2] boards: ls2080: Disable fdt copying by default

On Mon, 2016-02-29 at 15:58 -0800, York Sun wrote:
> If set, fdt_high restricts the address used by copying device tree.
> It doesn't help much to set a default address without knowing how
> much memory is available, or how memory is used. Setting fdt_high
> to a specical value (0xffffffffffffffff) disables this copying.
>
> Signed-off-by: York Sun <york.sun at nxp.com>

Is there a limit that Linux needs the fdt to be under?

I'd hope fdt_high wouldn't cause the device tree to be relocated beyond the
end of memory, or in reserved memory...

-Scott



More information about the U-Boot mailing list