Hi Marek, On 09/07/2015 08:53 AM, Marek Vasut wrote:
Where did that 64KB figure come from ? :O
This is estimated from 41KB of the SPL of socfpga. The code density of nios2 is worse than ARM.
I assume the simple loader is just a copy loop, huh ? And you synthesise a small RAM or ROM into the FPGA and point NIOS to boot from that, right?
Right. It is hidden from the user in qsys. You will need to dig into the code to find out. The EPCS boot copier is coded in nios2 ASM.
What about U-Boot TPL, can that cook the loader ? (yes, I'd like to be as independent of the external code as possible).
I'd like to be independent of the external code, too. In the past, I have my own SPI core (now the oc_tiny_spi) to control EPCS, which is actually SPI flash, and my own boot copier with/out decompression.
It is possible to add an TPL support for nios2 EPCS. If someone want to work on it.. :)
Best regards, Thomas Chou _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot