Dennis C

5208evb distribution runs on a 8MB board?

Discussion created by Dennis C on Feb 4, 2008
Latest reply on Feb 4, 2008 by Matt Waddel
Hi, I downloaded the 5208evb ISO from the Freescale website and changed the DRAM size from 32MB to 8MB, and then tried running it on the 5208evb board again. It does not run but throw a memory alloc error when the init runs. Has anyone does this before successfully? Might it be something in the /etc/rcS or rc.conf?

Also has anyone attempted to rebuild the Busybox package from source? The build fails...

Thanks

dBUG> dn
Downloading Image 'image.bin' from 192.168.0.108
TFTP transfer completed
Read 3322880 bytes (6491 blocks)
dBUG> go 0x40020000
Linux version 2.6.17.7-uc1 (dchou@localhost) (gcc version 4.1.0 (CodeSourcery Fr
eescale 4.1-14)) #10 Sat Feb 2 18:53:31 PST 2008


uClinux/COLDFIRE(m520x)
COLDFIRE port done by Greg Ungerer, gerg@snapgear.com
Flat model support (C) 1998,1999 Kenneth Albanowski, D. Jeff Dionne
Built 1 zonelists
Kernel command line: rootfstype=romfs
PID hash table entries: 64 (order: 6, 256 bytes)
Dentry cache hash table entries: 1024 (order: 0, 4096 bytes)
Inode-cache hash table entries: 512 (order: -1, 2048 bytes)
Memory available: 4652k/8192k RAM, (1359k kernel code, 206k data)
Mount-cache hash table entries: 512
NET: Registered protocol family 16
SCSI subsystem initialized
NET: Registered protocol family 2
IP route cache hash table entries: 64 (order: -4, 256 bytes)
TCP established hash table entries: 256 (order: -2, 1024 bytes)
TCP bind hash table entries: 128 (order: -3, 512 bytes)
TCP: Hash tables configured (established 256 bind 128)
TCP reno registered
JFFS2 version 2.2. (NAND) (C) 2001-2003 Red Hat, Inc.
io scheduler noop registered
io scheduler cfq registered (default)
ColdFire internal UART serial driver version 1.00
ttyS0 at 0xfc060000 (irq = 90) is a builtin ColdFire UART
ttyS1 at 0xfc064000 (irq = 91) is a builtin ColdFire UART
RAMDISK driver initialized: 1 RAM disks of 4096K size 1024 blocksize
loop: loaded (max 8 devices)
nbd: registered device at major 43
FEC ENET Version 0.2
fec: PHY @ 0x0, ID 0x0143bc31 -- unknown PHY!
eth0: ethernet 00:cf:52:08:cf:01
m520xevb flash probe(0x0,800000,2): 800000 at 0
ST M29W640FB flash device (8MB): Found 1 x16 devices at 0x0 in 16-bit bank
 Amd/Fujitsu Extended Query Table at 0x0040
number of CFI chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
Creating 2 MTD partitions on "ST M29W640FB flash device (8MB)":
0x00000000-0x00040000 : "dBUG (256K)"
0x00040000-0x00800000 : "User FS (1792K)"
m520xevb ram probe(0x401a75c8,1b9000,4): 1b9000 at 401a75c8
Creating 1 MTD partitions on "RAM":
0x00000000-0x001b9000 : "Romfs"
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
VFS: Mounted root (romfs filesystem) readonly.
Freeing unused kernel memory: 60k freed (0x40183000 - 0x40191000)
rcS: page allocation failure. order:8, mode:0x40d0
Stack from 4074cd14:<0>
       <0> 4074cd24<0> 400425d8<0> 40043238<0> 40153143<0> 403f21ce<0> 00000008<
0> 000040d0<0> 000040d0<0>
       <0> 00000002<0> 00000001<0> 000040d0<0> 00000010<0> 00000001<0> 00000010<
0> 00000000<0> 40377910<0>
       <0> 40360b80<0> 000040d0<0> 000240d0<0> 4074c000<0> 4074c008<0> 00000000<
0> 40049d9e<0> 000040d0<0>
       <0> 00000008<0> 401761b0<0> 00082000<0> 00000002<0> 00081d59<0> 400bca58<
0> 00000000<0> 00000077<0>
       <0> 00015db0<0> 00000000<0> 40548a50<0> 40541720<0> 4074ce00<0> 4004a068<
0> 40360b80<0> 000040d0<0>
       <0> 00081d59<0> 40048ee6<0> 00081d59<0> 000040d0<0> 0001a3d0<0> 00000001<
0> 00081d59<0> 00000002<0>
Call Trace:<0>
       <0> [<40073e1c>]<0> [<40056876>]<0> [<40050000>]<0> [<4005697a>]<0>
       <0> [<400565b4>]<0> [<40073928>]<0> [<40073b64>]<0> [<401547b6>]<0>
       <0> [<40050000>]<0> [<400565b4>]<0> [<400566ea>]<0> [<40057bde>]<0>
       <0> [<40020c12>]<0> [<40020c44>]<0> [<40020c12>]<0> [<40023aca>]<0>

Mem-info:
DMA per-cpu: empty
DMA32 per-cpu: empty
Normal per-cpu:
cpu 0 hot: high 0, batch 1 used:0
cpu 0 cold: high 0, batch 1 used:0
HighMem per-cpu: empty
Free pages:        1216kB (0kB HighMem)
Active:19 inactive:104 dirty:0 writeback:0 unstable:0 free:304 slab:712 mapped:0
 pagetables:0
DMA free:0kB min:0kB low:0kB high:0kB active:0kB inactive:0kB present:0kB pages_
scanned:0 all_unreclaimable? no
lowmem_reserve[]: 0 0 8 8
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 8 8
Normal free:1216kB min:360kB low:448kB high:540kB active:76kB inactive:416kB pre
sent:8192kB pages_scanned:0 all_unreclaimable? no
lowmem_reserve[]: 0 0 0 0
HighMem free:0kB min:128kB low:128kB high:128kB active:0kB inactive:0kB present:
0kB pages_scanned:0 all_unreclaimable? no
lowmem_reserve[]: 0 0 0 0
DMA: empty
DMA32: empty
Normal: 12*4kB 10*8kB 8*16kB 6*32kB 2*64kB 1*128kB 0*256kB 1*512kB 0*1024kB 0*20
48kB 0*4096kB = 1216kB
HighMem: empty
2048 pages of RAM
304 free pages
870 reserved pages
70 pages shared
0 pages swap cached
Allocation of length 531801 from process 15 failed
DMA per-cpu: empty
DMA32 per-cpu: empty
Normal per-cpu:
cpu 0 hot: high 0, batch 1 used:0
cpu 0 cold: high 0, batch 1 used:0
HighMem per-cpu: empty
Free pages:        1216kB (0kB HighMem)
Active:19 inactive:104 dirty:0 writeback:0 unstable:0 free:304 slab:712 mapped:0
 pagetables:0
DMA free:0kB min:0kB low:0kB high:0kB active:0kB inactive:0kB present:0kB pages_
scanned:0 all_unreclaimable? no
lowmem_reserve[]: 0 0 8 8
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 8 8
Normal free:1216kB min:360kB low:448kB high:540kB active:76kB inactive:416kB pre
sent:8192kB pages_scanned:0 all_unreclaimable? no
lowmem_reserve[]: 0 0 0 0
HighMem free:0kB min:128kB low:128kB high:128kB active:0kB inactive:0kB present:
0kB pages_scanned:0 all_unreclaimable? no
lowmem_reserve[]: 0 0 0 0
DMA: empty
DMA32: empty
Normal: 12*4kB 10*8kB 8*16kB 6*32kB 2*64kB 1*128kB 0*256kB 1*512kB 0*1024kB 0*20
48kB 0*4096kB = 1216kB
HighMem: empty
Unable to allocate RAM for process text/data, errno 12
sh: page allocation failure. order:8, mode:0x40d0
Stack from 4070cde0:<0>
       <0> 4070cdf0<0> 400425d8<0> 40043238<0> 40153143<0> 403f278e<0> 00000008<
0> 000040d0<0> 000040d0<0>
       <0> 00000002<0> 00000001<0> 000040d0<0> 00000010<0> 00000001<0> 00000010<
0> 00000000<0> 40377910<0>
       <0> 40360b80<0> 000040d0<0> 000240d0<0> 4070c000<0> 4070c008<0> 00000000<
0> 40049d9e<0> 000040d0<0>
       <0> 00000008<0> 401761b0<0> 00082000<0> 00000002<0> 00081d3d<0> 400bca58<
0> 00000000<0> 00000077<0>
       <0> 00015db0<0> 00000000<0> 40548a50<0> 40541720<0> 4070cecc<0> 4004a068<
0> 40360b80<0> 000040d0<0>
       <0> 00081d3d<0> 40048ee6<0> 00081d3d<0> 000040d0<0> 0001a3d0<0> 00000001<
0> 00081d3d<0> 00000001<0>
Call Trace:<0>
       <0> [<40073e1c>]<0> [<40050000>]<0> [<400565b4>]<0> [<400566ea>]<0>
       <0> [<40057bde>]<0> [<40020c12>]<0> [<40020c44>]<0> [<40020c12>]<0>
       <0> [<40023aca>]<0>

Mem-info:
DMA per-cpu: empty
DMA32 per-cpu: empty
Normal per-cpu:
cpu 0 hot: high 0, batch 1 used:0
cpu 0 cold: high 0, batch 1 used:0
HighMem per-cpu: empty
Free pages:        1692kB (0kB HighMem)
Active:3 inactive:1 dirty:0 writeback:0 unstable:0 free:423 slab:713 mapped:0 pa
getables:0
DMA free:0kB min:0kB low:0kB high:0kB active:0kB inactive:0kB present:0kB pages_
scanned:0 all_unreclaimable? no
lowmem_reserve[]: 0 0 8 8
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 8 8
Normal free:1692kB min:360kB low:448kB high:540kB active:12kB inactive:4kB prese
nt:8192kB pages_scanned:0 all_unreclaimable? no
lowmem_reserve[]: 0 0 0 0
HighMem free:0kB min:128kB low:128kB high:128kB active:0kB inactive:0kB present:
0kB pages_scanned:0 all_unreclaimable? no
lowmem_reserve[]: 0 0 0 0
DMA: empty
DMA32: empty
Normal: 17*4kB 17*8kB 11*16kB 9*32kB 6*64kB 1*128kB 0*256kB 1*512kB 0*1024kB 0*2
048kB 0*4096kB = 1692kB
HighMem: empty
2048 pages of RAM
423 free pages
870 reserved pages
3 pages shared
0 pages swap cached
Allocation of length 531773 from process 16 failed
DMA per-cpu: empty
DMA32 per-cpu: empty
Normal per-cpu:
cpu 0 hot: high 0, batch 1 used:0
cpu 0 cold: high 0, batch 1 used:0
HighMem per-cpu: empty
Free pages:        1692kB (0kB HighMem)
Active:3 inactive:1 dirty:0 writeback:0 unstable:0 free:423 slab:713 mapped:0 pa
getables:0
DMA free:0kB min:0kB low:0kB high:0kB active:0kB inactive:0kB present:0kB pages_
scanned:0 all_unreclaimable? no
lowmem_reserve[]: 0 0 8 8
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 8 8
Normal free:1692kB min:360kB low:448kB high:540kB active:12kB inactive:4kB prese
nt:8192kB pages_scanned:0 all_unreclaimable? no
lowmem_reserve[]: 0 0 0 0
HighMem free:0kB min:128kB low:128kB high:128kB active:0kB inactive:0kB present:
0kB pages_scanned:0 all_unreclaimable? no
lowmem_reserve[]: 0 0 0 0
DMA: empty
DMA32: empty
Normal: 17*4kB 17*8kB 11*16kB 9*32kB 6*64kB 1*128kB 0*256kB 1*512kB 0*1024kB 0*2
048kB 0*4096kB = 1692kB
HighMem: empty
Unable to allocate RAM for process text/data, errno 12
oom-killer: gfp_mask=0x40d0, order=8
Stack from 405c3db4:<0>
       <0> 405c3dc4<0> 400425d8<0> 40041640<0> 40152df8<0> 000040d0<0> 00000008<
0> 00000000<0> 000040d0<0>
       <0> 00000008<0> 40149632<0> 403f2050<0> 40047942<0> 00000000<0> 400431e4<
0> 400431fa<0> 401761b0<0>
       <0> 000040d0<0> 00000008<0> 000040d0<0> 00000002<0> 00000001<0> 000040d0<
0> 00000010<0> 00000001<0>
       <0> 00000010<0> 00000000<0> 40377910<0> 40360b80<0> 000040d0<0> 000240d0<
0> 405c3000<0> 405c3008<0>
       <0> 00000000<0> 40049d9e<0> 000040d0<0> 00000008<0> 401761b0<0> 00082000<
0> 00000002<0> 00081d3d<0>
       <0> 400bca58<0> 00000000<0> 00000077<0> 00015db0<0> 00000000<0> 40548a50<
0> 40541720<0> 405c3ecc<0>
Call Trace:<0>
       <0> [<4004a068>]<0> [<40048ee6>]<0> [<40073e1c>]<0> [<40050000>]<0>
       <0> [<400565b4>]<0> [<400566ea>]<0> [<40057bde>]<0> [<40020c12>]<0>
       <0> [<40020c44>]<0> [<40020c12>]<0> [<40023aca>]<0>

Mem-info:
DMA per-cpu: empty
DMA32 per-cpu: empty
Normal per-cpu:
cpu 0 hot: high 0, batch 1 used:0
cpu 0 cold: high 0, batch 1 used:0
HighMem per-cpu: empty
Free pages:        1712kB (0kB HighMem)
Active:3 inactive:0 dirty:0 writeback:0 unstable:0 free:428 slab:709 mapped:0 pa
getables:0
DMA free:0kB min:0kB low:0kB high:0kB active:0kB inactive:0kB present:0kB pages_
scanned:0 all_unreclaimable? no
lowmem_reserve[]: 0 0 8 8
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 8 8
Normal free:1712kB min:360kB low:448kB high:540kB active:12kB inactive:0kB prese
nt:8192kB pages_scanned:0 all_unreclaimable? no
lowmem_reserve[]: 0 0 0 0
HighMem free:0kB min:128kB low:128kB high:128kB active:0kB inactive:0kB present:
0kB pages_scanned:0 all_unreclaimable? no
lowmem_reserve[]: 0 0 0 0
DMA: empty
DMA32: empty
Normal: 10*4kB 13*8kB 10*16kB 6*32kB 3*64kB 4*128kB 0*256kB 1*512kB 0*1024kB 0*2
048kB 0*4096kB = 1712kB
HighMem: empty
2048 pages of RAM
428 free pages
870 reserved pages
3 pages shared
0 pages swap cached
Out of Memory: Kill process 2 (ksoftirqd/0) score 0 and children.
Out of Memory: Kill process 2 (ksoftirqd/0) score 0 and children.
Out of Memory: Kill process 2 (ksoftirqd/0) score 0 and children.
Out of Memory: Kill process 2 (ksoftirqd/0) score 0 and children.
Out of Memory: Kill process 2 (ksoftirqd/0) score 0 and children.
Out of Memory: Kill process 2 (ksoftirqd/0) score 0 and children.
Out of Memory: Kill process 2 (ksoftirqd/0) score 0 and children.
Out of Memory: Kill process 2 (ksoftirqd/0) score 0 and children.
Out of Memory: Kill process 2 (ksoftirqd/0) score 0 and children.
Out of Memory: Kill process 2 (ksoftirqd/0) score 0 and children.

Outcomes