Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
12600 Discussions

How is HPS configured during boot?

Altera_Forum
Honored Contributor II
1,327 Views

We have previously used Cyclone devices without SoC. We are now using Arria 10. I am wondering how the HPS gets its initial configuration. In QSYS, the HPS can be configured many different ways. Where is this information stored? It seems that there must be some non-volatile memory in the HPS section for the basic HPS configuration. For instance, you can specify whether or not the HPS will have QSPI and/or SDMMC interfaces and which one to boot from. Where is this information stored? It can not be in the QSPI since the HPS would have to know that QSPI is attached in the first place. It can not be in the Serial Configuration Device for the FPGA section because the the HPS can be brought up independently of the FPGA. Can anyone shed some light?

0 Kudos
3 Replies
Altera_Forum
Honored Contributor II
365 Views

The boot ROM is built into the HPS. The boot select pins (BSEL[2:0]) tell the boot ROM where to find the second-statge bootloader.

0 Kudos
Altera_Forum
Honored Contributor II
365 Views

 

--- Quote Start ---  

The boot ROM is built into the HPS. The boot select pins (BSEL[2:0]) tell the boot ROM where to find the second-statge bootloader. 

--- Quote End ---  

 

 

Thanks for responding. Is the Boot ROM in the HPS fixed, or is its code somehow modified depending on the options selected during QSYS design.
0 Kudos
Altera_Forum
Honored Contributor II
365 Views

The boot ROM is fixed. If you haven't yet, you should read Appendix A of the HPS technical reference manual. The boot process is explained pretty clearly there. 

 

https://www.altera.com/en_us/pdfs/literature/hb/arria-10/a10_5v4.pdf 

 

Bob
0 Kudos
Reply