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.
12435 Discussions

Force certain preloader image at QSPI boot

Altera_Forum
Honored Contributor II
807 Views

I am using Altera DevKit with SOCEDS 14.0. 

 

The system boots from QSPI where 2 preloader images 

 

Is there way to force load from specified image?
0 Kudos
3 Replies
Altera_Forum
Honored Contributor II
117 Views

 

--- Quote Start ---  

I am using Altera DevKit with SOCEDS 14.0. 

 

The system boots from QSPI where 2 preloader images 

 

Is there way to force load from specified image? 

--- Quote End ---  

 

 

Hi. 

 

From a power on reset the code will always attempt to load image 0. However there is a HW register in the system manager that allows a subsequent warm boot to choose any of the images to boot from.
Altera_Forum
Honored Contributor II
117 Views

Hi 

 

So my understanding is 

Boot 1st preloader from address 0, config hw register to set address of 2nd preloader, do warm reset. Is it correct? 

Is the register name ALT_SYSMGR_ROMHW?
Altera_Forum
Honored Contributor II
117 Views

 

--- Quote Start ---  

Hi 

 

So my understanding is 

Boot 1st preloader from address 0, config hw register to set address of 2nd preloader, do warm reset. Is it correct? 

Is the register name ALT_SYSMGR_ROMHW? 

--- Quote End ---  

 

 

Hi. 

 

The register is ALT_SYSMGR_ROMCODE_INITSWLASTLD. 

 

The warm reset code reads it to decide which image to read.
Reply