[U-Boot] [PATCH] ARM: at91: sama5: change the environment address to 0x6000

Josh Wu josh.wu at atmel.com
Tue Oct 27 06:23:52 CET 2015


On 10/27/2015 9:55 AM, Bo Shen wrote:
> Hi Josh,
>
> On 10/26/2015 16:41 PM, Josh Wu wrote:
>> Hi, Bo
>>
>> On 10/26/2015 2:43 PM, Bo Shen wrote:
>>> Hi Josh,
>>>
>>> On 10/23/2015 17:18 PM, Josh Wu wrote:
>>>> As sama5 board has 32k sram size, so the at91bootstrap and spl for 
>>>> sama5
>>>> boards is bigger than 16k (0x4000). That will overlap the U-Boot
>>>
>>> Just curious about from which commit the spl binary size bigger than 
>>> 16k?
>>
>>  From a rough test, I found v2015.07 have spls which is bigger than 16k.
>> but in v2015.04 all are smaller than 16k (very close).
>>
>> ➜  temp  cd v2015.04
>> ➜  v2015.04  ls *spi*spl.bin -l
>> -rwxrwxr-x 1 josh josh 15540 Oct 26 15:38
>> at91sam9n12ek_spiflash_defconfig_u-boot-spl.bin
>> -rwxrwxr-x 1 josh josh 15704 Oct 26 15:38
>> at91sam9x5ek_spiflash_defconfig_u-boot-spl.bin
>> -rwxrwxr-x 1 josh josh 16064 Oct 26 15:34
>> sama5d3xek_spiflash_defconfig_u-boot-spl.bin
>> -rwxrwxr-x 1 josh josh 16304 Oct 26 15:35
>> sama5d4ek_spiflash_defconfig_u-boot-spl.bin
>> -rwxrwxr-x 1 josh josh 16304 Oct 26 15:37
>> sama5d4_xplained_spiflash_defconfig_u-boot-spl.bin
>> ➜  v2015.04  cd ../v2015.07
>> ➜  v2015.07  ls *spi*spl.bin -l
>> -rwxrwxr-x 1 josh josh 16136 Oct 26 15:30
>> at91sam9n12ek_spiflash_defconfig_u-boot-spl.bin
>> -rwxrwxr-x 1 josh josh 16300 Oct 26 15:30
>> at91sam9x5ek_spiflash_defconfig_u-boot-spl.bin
>> -rwxrwxr-x 1 josh josh 16664 Oct 26 15:25
>> sama5d3xek_spiflash_defconfig_u-boot-spl.bin
>> -rwxrwxr-x 1 josh josh 16904 Oct 26 15:26
>> sama5d4ek_spiflash_defconfig_u-boot-spl.bin
>> -rwxrwxr-x 1 josh josh 16904 Oct 26 15:28
>> sama5d4_xplained_spiflash_defconfig_u-boot-spl.bin
>
> Thanks for these information. So, I regard this patch as a fix. If 
> this information can be added into commit message I think that will be 
> better.
>
> Acked-by: Bo Shen <voice.shen at gmail.com>

Thanks, Bo.
Indeed,  I will generate a v2 and add such information.

Best Regards,
Josh Wu

>
> Best Regards,
> Bo Shen



More information about the U-Boot mailing list