I read the pages mentioned that boot from sd card and qspi is relatively about the same file structure, but if boot from fgpa, it is only able to place the uboot in the fpga and the rest of the boot files still remian as in SD card??
so far there is no example for such implementation for FGPA side as i know, since you wanted to be SD card physical free, just use the qspi mode, as also having the same structure like SD card.!
Without trying to hijacking the thread, are there any examples on how to build u-boot (or any other bare metal application) and convert the binary into a mif file?
It is not possible to place uboot in the FPGA. It is to big. There is only 64kB available for software in the FPGA.It is only possible to put a preloader in the FPGA. A preloader is a tiny program that configures clocks, SDRAM, etc and the loads uboot from SD, QSPI, etc. There are two common preloader available: SPL and MPL. SPL is part of uboot distribution, but compiles as a separate binary. MPL is from Altera.
Hi,The non volatile memory to be used for holding the uboot has to be connected to FPGA fabric or HPS fabric ? Can anyone please specify. Thanks & Regards, Nanjunda M
I want to boot from FPGA. Preloader I'll embedd in my .sof and the same I'll store in the dedicated EPCQ.But what about the u-boot image ? Where should I store this image ? Can it be stored in a memory that is interfaced to FPGA ? or it has to be memory device connected to the HPS only ? Thanks, Nanjunda M
Sorry for my misleading answer. It does not matter if your preloader is loaded from external memory or is embedded in the FPGA, you can still load u-boot external from memory connected to HPS or FPGA. In my case, I can boot from both.It's easiest to use SPL as preloader. SPL is part of u-boot. You can also use MPL from Altera. Both works fine. Check out this page: https://rocketboards.org/foswiki/documentation/socswws1introtoalterasocdeviceslab1preloader Good luck!
Can I use a parallel flash /serial flash for storing my u-boot image and interfaced to FPGA ?Is there any flash parts recommended for connection to FPGA fabric for using for HPS boot ? I would prefer using SPL than MPL. Thanks & Regards, Nanjunda M