Intel® SoC FPGA Embedded Development Suite
Support for SoC FPGA Software Development, SoC FPGA HPS Architecture, HPS SoC Boot and Configuration, Operating Systems
572 Discussions

Cyclone V: how to boot Linux from QSPI?

dpeng
Novice
234 Views

I am building a system with Buildroot and Barebox as the bootloader. I can generate a working SD card image. Now, I want to transpose this to a 64MiB NOR QSPI flash on the SoM.

 

I read the HPS boot guide, that describes the required SD card partition layout, but it is not very verbose about the QSPI...

I read that UBI + UBIFS is very common for NOR flash. I understand that it is well suited for the rootfs. But where should I place the pre-loader?

 

Could someone give more details to install Linux on a QSPI and boot from it?

 

0 Kudos
1 Reply
StefanG_Altera
Employee
146 Views

Hi,

 

The preloader should be placed at the beginning (0x0) of the QSPI address space.

 

The "Building Bootloader for CV and A10" guide in RocketBoards provides an example on how OS (Linux), Preloader (4 x SPL and Full U-Boot) are prepared and flashed to QSPI via quartus_hps (chapter Cyclone V SoC - Boot from QSPI).

https://www.rocketboards.org/foswiki/Documentation/BuildingBootloaderCycloneVAndArria10#Cyclone_V_SoC_45_Boot_from_QSPI

See "C. QSPI Binaries"

 

Hope this helps.

0 Kudos
Reply