[U-Boot] [PATCH v1 8/9] sunxi: non-FEL SPL boot support for sun7i

Tom Rini trini at ti.com
Fri Mar 14 20:03:16 CET 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 03/14/2014 02:50 PM, Hans de Goede wrote:
> Hi,
> 
> On 03/14/2014 03:17 PM, Tom Rini wrote:
>> On Fri, Mar 14, 2014 at 10:33:50AM +0000, Ian Campbell wrote:
>>
>>> Based linux-sunxi#sunxi commit d854c4de2f57 "arm: Handle .gnu.hash section in
>>> ldscripts" vs v2014.01.
>> [snip]
>>> +/* Flat Device Tree (FDT/DT) support */
>>> +#define CONFIG_OF_LIBFDT
>>> +#define CONFIG_SYS_BOOTMAPSZ		(16 << 20)
>>
>> This seems pretty small.  This is to keep things from being relocated
>> into highmem right?
> 
> Hmm, this reminds me that we currently need to do a "env set fdt_high ffffffff"
> in our boot scripts to get ftd to work at all. Would be nice to fix this for
> upstream. I'm afraid I'm clueless as to why we (sunxi) need it, but we do.

You want to be setting bootm_low (even for bootz, it's about the
underlying boot mechanics that bootz and bootelf and ... hook into) to
the amount of lowmem the kernel will have.  We do this because we do
want to make sure that the device tree isn't overwritten by the kernel
BSS or similar.  Everyone with more DDR than kernel lowmem needs to be
doing something along these lines.

- -- 
Tom
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBAgAGBQJTI1J0AAoJENk4IS6UOR1WUocP/Aojl084qj0+sibvo6r7xb0T
23QaTqoGo+0i48mssFhiCo3KY1RMTiokQ0VgE0r29GQSipc5y75nIj24p0SpFD9N
H2e2hWoTTQ106+MFx4upK61KLvmDA7LUJIHkVYWmgyOP7qL1wdwB5/5hqHuLkSlF
Osz37r2JSbrWgYG+hs8Yby5D/fVizOTpf8f8F5GHrDA+3qlsOOHxUogfPGQeTPpk
9EhrLPSWWIN5l6qnykiiYz0QHDotJvrKoCVm2DJ4APnsIBS3/QyFNkePjVRRrmIT
1zob5wmprYywOjVNeBZ10HjPM8AHuyO2xBr+H3ZwcjfgI4MYiTJiG3eSJ1lTcveY
FGbQa7HFzpnp9vwvvpWtT720D58WYdkjYQRarYHBWpXn+i2xKf4zGggX14jytUXU
dFrqSDQ1hIEZd6uWj/jQMqHuZWDvnJ46ySqlE37UCZwcO1dQ/6WkNrve+XK1+HGQ
EQlTlfRD64a+U2Plh2qoU/xadb+cWNV3fOppUgiwjdvx/+H/8TXsj6h0euaUe7JG
ej+xqeH1a5HoVg5g30Ihn/KHNHwefG6ap3/vsdGH6hq5euodNxIzfBNZAEJ+dY58
tUkfuB3G5OeKV6JvbfD2vOJOl7AHRgqabXNHcNDS3AWAFnodcsgRO2E0od1ao7Ii
n6pN0HAAzINC4y1kR/tJ
=6IRY
-----END PGP SIGNATURE-----


More information about the U-Boot mailing list