Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Altera_Forum
Honored Contributor I
727 Views

Force certain preloader image at QSPI boot

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 I
37 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 I
37 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 I
37 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