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

nios2-flash-programmer

Altera_Forum
Honored Contributor II
1,155 Views

Hello, 

 

I'm trying to upload a Linux rom filesystem to Flash memory on the Microtronix Stratix Development board. The SODIMM flash on this board is 8MBytes and ranges from 0x800000 to 0xFFFFFF. 

 

I have the linux kernel in flash at 0x800000 and it is roughly 900kbytes and extends to around 0x8DD000. 

 

The S-records in the romfs.flash file begin at 0xA00000 and extend up to 0xEE33E0 which is roughly 5.125 Mbytes. Since the portion of the flash memory I wish to use extends from 0xA00000 to 0xFFFFFF (6 Mbytes), this should fit with no problem. 

 

However, when I try to upload romfs.bin through the Nios II IDE, I get the following error message: 

 

------------------------------------------------ 

Microtronix Linux Extensions 

Version 1.1, Built Wed Jul 7 12:46pm EST 2004 

------------------------------------------------ 

Oct 8, 2004 8:02:23 AM - (INFO) nios2-flash-programmer: Launching Quartus Programmer to download: 

D:/work/NiosII_Mtx_Stratix/Microtronix_Stratix/system/Microtronix_Stratix.sof 

Oct 8, 2004 8:02:56 AM - (SEVERE) nios2-flash-programmer: Flash file is too large to fit in flash memory 

 

 

 

 

I've also tried uploading the romfs.flash file directly from the Nios II SDK shell commandline and get a similiar message: 

 

Oct 8, 2004 8:17:21 AM - (SEVERE) nios2-flash-programmer: Flash file is too large to fit in flash memory 

 

 

 

Does anybody know why 5Mbyte of data is too large to fit into 6 MBytes of Flash (0xA00000-0xFFFFFF)? 

 

 

Thanks, 

Terry
0 Kudos
0 Replies
Reply