Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
19 years ago

why the uclinux2.6.15 does not work on my board

follows is infomation ,pls help me , thx

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

Linux version 2.6.15.4 (o4icwin@localhost.localdomain) (gcc version 3.4.5)# 7 PRinfo:ages_ok (

DMA per-cpu:

cpu 0 hot: low 0, high 0, batch 1 used:0

EEMPT Tue May 23 01:02:00 CST 2006

cpu 0 cold: low 0, high 0, b

c

uClinux/Nios II> 00000002<0>00

Altera Nios II support © 2004 Microtronix Datacom Ltd.008

Normal per-cpu: empty20<0> 00afab1c<0

HighMem p

Built 1 zonelists

Kernel command line: 0kB (0kB HighMem)0

PID hash table entries: 64 (order: 6, 1024 bytes)inactive:554 dirty:0 writeback:0 unstable:0 free:

Dentry cache hash table entries: 2048 (order: 1, 8192 bytes) <0> ffffffff<0> 00832908<0> 0000000

0> 00000000<0> 00b0ab

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

Memory available: 4952k/8192k RAM, 0k/0k ROM (898k kernel code, 2246k data)e74<0> 00b0a800<0>ff<0> 0

0> 008d5f10<0> 0

Mount-cache hash table entries: 512

Mount-cache hash table entries: 512

pagetables:0

DMA free:0kB min:0kB low:0kB high:0kB active:2172kB inactive:2168kB present:8192

kB pages_scanned:4615 all_unreclaimable? no

lowmem_reserve[]: 0 0 0 0

DMA32 free:0kB min:0kB low:0kB high:0kB active:0kB inactive:0kB present:0kB page

s_scanned:0 all_unreclaimable? no

lowmem_reserve[]: 0 0 0 0

Normal free:0kB min:0kB low:0kB high:0kB active:0kB inactive:0kB present:0kB pag

es_scanned:0 all_unreclaimable? no

lowmem_reserve[]: 0 0 0 0

HighMem free:0kB min:0kB low:0kB high:0kB active:0kB inactive:0kB present:0kB pa

ges_scanned:0 all_unreclaimable? no

lowmem_reserve[]: 0 0 0 0

DMA: 0*4kB 0*8kB 0*16kB 0*32kB 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB

0*4096kB = 0kB

DMA32: empty

Normal: empty

HighMem: empty

2048 pages of RAM

0 free pages

810 reserved pages

0 pages shared

0 pages swap cached

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

how to do it?

1 Reply

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi Alex.liu,

    How are you?

    The problem seem to be rootfs, it looks quite big.

    Please remove old rootfs, and copy it from buildroot again.

    rm -rf ~/rootfs

    cp -a ~/buildroot/build_nios2/root ~/rootfs

    cd ~/rootfs# remove include and lib to save space# the dev nodes are generated via ~/download/rootfs_list

    rm -rf dev usr/include usr/lib# you may use this instead of the one from buildroot

    cp ~/download/inittab etc