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

linux on DE2

Altera_Forum
Honored Contributor II
1,013 Views

I try to run linux on DE2,when download vmlinux.bin into ram,it happen : 

 

Linux version 2.6.11-uc0 (ty@ty024) (gcc version 3.4.1 (Altera Nios II 5.1 b73)) 

# 2 Thu Apr 27 20:24:19 2006 

 

on  

.4.1 (AlteNios II 

 

I 5.1 b73))# 2 Thpport © 2004 Microtronix Datacom Ltd. 

 

s ilt 1 zonelists 

 

I support ©d line: root=/dev/mtdblock0 ro 

 

BuD hash table entries: 64 (order: 6, 1024 bytes) 

 

tdblock0 ro 

 

PIsh table entries: 2048 (order: 1, 8192 bytes) 

 

 

Dentry cache hatable entries: 1024 (order: 0, 4096 bytes) 

 

 

Inode-cache hash table entries: 1024 (order: 0, 4096 bytes) 

 

288k data) 

 

ble: 6372k/8192k RAM, 0k/0k ROM (1412k kernel code, 288k data) 

 

Registered protocol family 16 

 

512 (order: 0, 4096 bytes) 

 

NET: Registered protocol family 16 

 

000ial: JTAG UART driver $Revision: 1.4 $ 

 

ttyJ0 at MMIO 0x81004cheduler anticipatory registered scheduler noop registered 

 

io sededuler anticipatory registered 

 

io scheduler deadline registered 

 

io scheduler cfq registered 

 

ksize 

 

driver initialized: 16 RAM disks of 4096K size 1024 blocksize 

 

 

tera NDK flash (AMD): Found 1 x16 devices at 0x0 in 8-bit bankps: 1 

 

Fujitsu Extended Query Table at 0x0040 

 

number of CFI chips: 1 

 

cfi_cmdset_0002: Disabling erase-susing not available 

 

code brokenness. 

 

cmdlinepart partition parsing not available 

 

RedBoot partition parsing not available 

 

Usin"Altera NDK flash (AMD)": 

 

nition 

 

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

 

s2" extends beyond the end of device "Altera NDK flash (AMD)" -- size truncated  

to 0x200000 

 

device "Altera NDK flash (AMD)" --nel" 

 

truncated to 0x200000 

 

0x00000000-0x00200000 : "loader/kernel" 

 

er configuration" is out of reach -- disabled 

 

td: partition "User configuration" is out of reach -- disabled 

 

fe configuration" is out of reach -- disabled 

 

td: partition "safe configuration" is out of reach -- disabled 

 

NET: Registered protocol family 2 

 

ished hash table entries: 512 (order: 0, 4096 bytes) 

 

TCP establash table entries: 512 (order: -1, 2048 bytes) 

 

tes) 

 

TCP bind h configured (established 512 bind 512) 

 

bytes) 

 

TCP: Hash tables family 1 

 

(established 512 bind 512) 

 

NET: Registered protocol family 1 

 

NET: Registered protocol family 17 

 

ios II 5.1 b73))# 2 Thu Apr 27 20:24:19 2006 

 

on  

.4.1 (AlteNios II 

 

I 5.1 b73))# 2 Thpport © 2004 Microtronix Datacom Ltd. 

 

suilt 1 zonelists 

 

I support © line: root=/dev/mtdblock0 ro 

 

BID hash table entries: 128 (order: 7, 2048 bytes) 

 

dblock0 ro 

 

Phash table entries: 4096 (order: 2, 16384 bytes) 

 

 

Dentry cache sh table entries: 2048 (order: 1, 8192 bytes) 

 

 

Inode-cache hash table entries: 2048 (order: 1, 8192 bytes) 

 

288k data) 

 

ble: 6360k/8192k RAM, 0k/0k ROM (1412k kernel code, 288k data) 

 

el panic - not syncing: Can't create rootfs 

 

, 4096 bytes) 

 

Kernel panic - not syncing: Can't create rootfs 

 

It may need filesystems,i want to know how and where i should download the filesystems into ram?  

 

thank you!!
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
285 Views

The file system should be loaded at address 0x200000. 

You can adjust partitions in the file altera.c
0 Kudos
Reply