[U-Boot] [PATCH 7/7] sunxi: Add environment settings to make extlinux.conf booting work

Hans de Goede hdegoede at redhat.com
Tue Aug 5 10:20:44 CEST 2014


Hi,

On 08/04/2014 11:29 PM, Ian Campbell wrote:
> On Fri, 2014-08-01 at 15:05 -0500, Dennis Gilmore wrote:
>> On Fri, 01 Aug 2014 12:57:31 -0600
>> Stephen Warren <swarren at wwwdotorg.org> wrote:
>>
>>> On 08/01/2014 01:46 AM, Hans de Goede wrote:
>>>> Automatic booting using an extlinux.conf file requires various
>>>> environment variables to be set.
>>>
>>> Acked-by: Stephen Warren <swarren at nvidia.com>
>>>
>>> I'd personally be tempted to set fdt_high=0xffffffff, 
>>> initrd_high=0xffffffff to stop U-Boot copying the DT/initrd from the 
>>> load location to some other location under 256M, but that's just an 
>>> optimization and entirely optional.
>>
>> There has been quite a few times where using 0xffffff has caused
>> issues. I really think you should set bootm_size to something
>> reasonable.
> 
> Which we do FWIW, "bootm_size=0x10000000\0" is retained by this patch. I
> think this was discussed/agreed during the initial upstreaming (but I've
> not checked the archives to confirm my recollection)

Right, and that is 256M which is the smallest amount of memory found
on any allwinner board (there is only one 256M board, all others
are 512M or more).

Regards,

Hans


More information about the U-Boot mailing list