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

attempt to access beyond end of device

Altera_Forum
Honored Contributor II
1,324 Views

I have recently updated to version 1.3. Now it doesn't boot anymore. Does anyone know the matter is? I have a stratix professional dev. board. here is the output:

Code:

<1>

and here is my kernel config:

Code:

<2>

0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
425 Views

<div class='quotetop'>QUOTE </div> 

--- Quote Start ---  

Creating 4 MTD partitions on "Altera NDK flash (AMD)": 

 

0x00200000-0x00400000 : "romfs/jffs2" 

 

0x00000000-0x00200000 : "loader/kernel" 

 

0x00400000-0x00600000 : "User configuration" 

 

0x00600000-0x00800000 : "safe configuration"[/b] 

--- Quote End ---  

 

 

The default MTD map for Stratix Pro board allocates 2M bytes for romdisk. Please check if that is enough for your romdisk. If not, you can go to drivers/mtd/maps/altera.c to change the settings.  

 

Or you can make your romdisk smaller (than 2M) by compiling all applications into ZFLAT format instead of FLAT format. You also need turn on the kernel support for this format. Doing so can reduct the footprint of applications by more than half.
0 Kudos
Reply