Nios® II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
12409 Discussions

How is HPS configured during boot?

Altera_Forum
Honored Contributor II
1,057 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
95 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.

Altera_Forum
Honored Contributor II
95 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.
Altera_Forum
Honored Contributor II
95 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
Reply