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.s...@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. You can also look at the U-boot version which first included this patch, some things may have changed since... Let me know of your findings. I will let you know if I have the chance to test this myself. Eugen > > Thanks, > Stefan > > [1] www.armdevs.com/CORE9G25.html > >> --- [...] _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot