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.

CPU1: failed to come online

Altera_Forum
Honored Contributor II
3,245 Views

Hi, 

 

I'm faced with Soc bootloading issue when generating the preloader: 

 

Context: 

- Tools: QUARTUS_VERSION 15.0.0 

- HW: Cyclone V - 5CSXFC6D6F31C6 

- SW: boot from MMC 

 

Before: 

- A design works fine with two cores activated. 

 

Action: 

- From the working design, Preloader is been re-generated using bsp-editor. 

 

Now: 

- cpu0 activated, cpu1 failed to come online. 

 

Question: how to activate cpu1 ?
0 Kudos
7 Replies
Altera_Forum
Honored Contributor II
414 Views

Hi, did you added in the cpu start address from the DTS generation?

Altera_Forum
Honored Contributor II
414 Views

 

--- Quote Start ---  

Hi, did you added in the cpu start address from the DTS generation? 

--- Quote End ---  

 

 

in "soc_system.dts" file: 

hps_sysmgr: sysmgr@0xffd08000 { 

compatible = "altr,sys-mgr-14.0", "altr,sys-mgr", "syscon"; 

reg = < 0xFFD08000 0x00004000 >; 

cpu1-start-addr = < 4291854532 >; /* embeddedsw.dts.params.cpu1-start-addr type NUMBER */ 

}; //end sysmgr@0xffd08000 (hps_sysmgr) 

 

dtc file has not replaced into mmc: it is the same before and after preloader re-generation.
Altera_Forum
Honored Contributor II
414 Views

check out for the key word "cpu1", be sure not to change the kernel version(in case if you rebuild your self). 

 

http://rocketboards.org/foswiki/view/documentation/gsrdv151devicetreegenerator
Altera_Forum
Honored Contributor II
414 Views

DeviceTree file (dtc) and kernel image (zImage) have not been changed. The only change made on the SD card is preloader.

Altera_Forum
Honored Contributor II
414 Views

Preloader will leave cpu1 in default state / power on state which is in reset.  

cpu1 will be brought out by Linux from Linux.
Altera_Forum
Honored Contributor II
414 Views

That's probably right. But I don't manage to understand why regenerating preloader prevents linux to brought out cpu1.

Altera_Forum
Honored Contributor II
414 Views

 

--- Quote Start ---  

DeviceTree file (dtc) and kernel image (zImage) have not been changed. The only change made on the SD card is preloader. 

--- Quote End ---  

 

 

hi, to enable the cpu1, you maybe need to enable this in device tree, and not the preloader. Maybe you can explain alittle more what are your ACTIONS did..
Reply