[U-Boot] [PATCH v2 3/4] ARM: atmel: at91sam9x5ek: enable spl support

Stefan Roese sr at denx.de
Tue Feb 19 14:56:03 UTC 2019


Hi Eugene,

On 19.02.19 15:12, Eugen.Hristev at microchip.com wrote:
> On 19.02.2019 15:27, Stefan Roese wrote:
>> Hi Eugene,
>> Hi Bo,
>>
>> On 27.03.15 07:23, Bo Shen wrote:
>>> Enable SPL support for at91sam9x5ek board. Now, it supports
>>> boot up from NAND flash and SPI flash.
>>>
>>> Signed-off-by: Bo Shen <voice.shen at atmel.com>
>>
>> Sorry to hijack this thread, but I do have a few questions here.
>>
>> I'm currently working on a mainline port for a custom board
>> based on the CORE9G25 SoM [1] and would like to use U-Boot SPL
>> instead of AT91Bootstrap. In this email, you "enable spl support"
>> as stated in the commit subject, but CONFIG_SPL is not enabled
>> for this board at any time. So only the code is present to e.g.
>> init the DDR2 but its actually not executed. Or am I missing
>> something here.
>>
>> Could you please let me know, what the status of this SPL
>> support for the AT91SAM9X5 is? Has this been tested without
>> AT91Bootstrap lately?
> 
> 
> Hi,
> 
> I did not test myself the SPL for any 9x5 board. The DDR2 init code
> should be executed inside the SPL. Once you build your board with a
> CONFIG_SPL enabled, you should get the spl binary built, then you can
> add both SPL + U-boot proper on the boot media and have SPL boot
> (execute DDR init code and load U-boot proper). I would suggest to try
> on Sd-card first because it's easier (filesystem), but the commit says
> only SPI and NAND tested.

On this board I only have NAND, so there is no option to first test
some other boot device unfortunately.

> You can also look at the U-boot version which first included this patch,
> some things may have changed since...

Sure, I can and will check this. But I first wanted to check with
you guys about the status, since you implemented and most likely
also tested this stuff.
  
> Let me know of your findings. I will let you know if I have the chance
> to test this myself.

Okay. I'll try to test this stuff (even though I don't have JTAG on
this board) and will get back to you with findings and most likely
also some further questions.

Thanks,
Stefan


More information about the U-Boot mailing list