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++

Execute Kernel from Flash

Altera_Forum
Honored Contributor II
1,633 Views

Hi! 

 

I want to execute my uCLinux kernel from the flash mem on the Nios dev. kit Cyclone ed. board. So what I do is that I upload the kernel to the Flash mem and then I want to execute it from the very same flash. Is that possible? 

 

Do anyone know how to solve this problem? 

 

/Stralsjo
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
735 Views

Hi Stralsjo, 

 

> I want to execute it from the very same flash. Is that possible? 

 

Yes. Upload vmlinux.bin to the reset address (should be offset 0x00000000) in 

flash. When the core is reset, linux will run and relocate itself to the bottom 

of sdram. 

 

Regards, 

--Scott
0 Kudos
Altera_Forum
Honored Contributor II
735 Views

Does anybody know if you can execute the kernel stripped down to ~800k in the SRAM on the Altera Cyclone dev. board? Has someone tried to do so if the SDRAM allready is occupied by some other pheriferial you added. 

 

/Stralsjo
0 Kudos
Reply