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

the same source

i use ./build0207

i have compiled 2.6.15.4 with mysystem.ptf ,test on my board, that is ok

so , i compiled again with 2c35.ptf , test on 2c35 dev board doesn't work normal

the print info like bellow:

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

Linux version 2.6.15.4 (o4icwin@localhost.localdomain) (gcc version 3.4.5)# 2 PR

EEMPT Tue May 23 16:25:33 CST 2006

uClinux/Nios II

Altera Nios II support © 2004 Microtronix Datacom Ltd.

Built 1 zonelists

Kernel command line:

PID hash table entries: 256 (order: 8, 4096 bytes)

Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)

Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)

Memory available: 31140k/32768k RAM, 0k/0k ROM (851k kernel code, 431k data)

& Linux version 2.6.15.4 (o4icwin@localhost.localdomain) (gcc version 3.4.5)# 2

PREEMPT Tue May 23 16:25:33 CST 2006

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

-- again------------------------------------------------------------------------------------

uClinux/Nios II

Altera Nios II support © 2004 Microtronix Datacom Ltd.

Built 1 zonelists

Kernel command line:

PID hash table entries: 256 (order: 8, 4096 bytes)

Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)

Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)

Memory available: 31140k/32768k RAM, 0k/0k ROM (851k kernel code, 431k data)

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

every one !

could you help me?

3 Replies

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

    If you want to use another ptf on the kernel source tree, you need to clean up with "make .... clean" or "make ... mrproper". Then do hwselect again.

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

    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?

    Yesterday, 08:15 PM Post# 2

    Nios God +1

    Group: Members

    Posts: 677

    Joined: 26-October 05

    From: Taipei, Taiwan

    Member No.: 3,428

    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