Altera_Forum
Honored Contributor
7 years agoBuilding the preloader from U-BOOT socfpga 2018.01 sources
I'm developing a bare metal application for a cyclone V FPGA. The application is loaded from QSPI flash into RAM by the preloader.
I recently needed to try a new QSPI device. The U-BOOT 2013.01.01 that comes with the EDS doesn't support this device. However the U-BOOT 2018.01 from Altera-opensource GitHub does. So I downloaded the 2018.01 tar.gzip and placed it in Home:\intelFPGA\17.1\embedded\host_tools\altera\preloader. Then followed the steps for making a new preloader (bsp-editor, make). The build process didn't throw any errors an resulted in a preloader-mkpimage.bin file. This new preloader doesn't seem to do anything. The old 2013.01.01 outputs a bunch of information to the UART before loading the application. My new preloader doesn't output anything, so I assume it crashes before initializing the UART. Does anyone have experience with building the pre-loader from newer versions of the u-boot socfpga source? Is this even possible or is the 2013.01.01 version the only option. My only experience with u-boot so far has been building the standard preloader, so I'm a bit out of my depth with this. I'm using the 17.1.0.590 EDS if that helps.