On Monday, September 07, 2015 at 03:47:46 AM, Thomas Chou wrote: > Hi Marek,
Hi! > 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. Oh, I see. > > 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.. :) I'll keep this in mind, thanks :) Best regards, Marek Vasut _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot