Thanks Greg!
I'll do a bare bones and see what happens.
Mark
Greg Ungerer wrote:
Hi Mark,
See comments below.
Mark Giacobbe wrote:
I'm trying to build uclinux 2.6 kernel w/uclib for the 5272C3 eval
board. The board has 4M dram on it. I have dbug and u-boot running.
I downloaded the latest distro from uclinux.org <http://uclinux.org>.
I configured the board in "make menuconfig" for 0x00400000 of
available memory, memory starts at 0x0, and kernel start address as
0x20000.
I then "dn 20000 image.bin" from debug and then "g 20000"
Here is what I get:
dBUG> g 20000
Linux version 2.6.25-uc0 ([email protected]) (gcc version
4.1.1) #4 Wed Jan 14 14:38:03 EST 2009
uClinux/COLDFIRE(m5272)
COLDFIRE port done by Greg Ungerer, [email protected]
<mailto:[email protected]>
Flat model support (C) 1998,1999 Kenneth Albanowski, D. Jeff Dionne
Built 1 zonelists in Zone order, mobility grouping off. Total pages:
1016
Kernel command line:
PID hash table entries: 16 (order: 4, 64 bytes)
Dentry cache hash table entries: 1024 (order: 0, 4096 bytes)
Inode-cache hash table entries: 1024 (order: 0, 4096 bytes)
Memory available: 1572k/4096k RAM, (1108k kernel code, 151k data)
Mount-cache hash table entries: 512
net_namespace: 152 bytes
NET: Registered protocol family 16
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 512 (order: 0, 4096 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 512 bind 1024)
TCP reno registered
io scheduler noop registered
io scheduler cfq registered (default)
ColdFire internal UART serial driver
ttyS0 at MMIO 0x10000100 (irq = 73) is a ColdFire UART
console [ttyS0] enabled
ttyS1 at MMIO 0x10000140 (irq = 74) is a ColdFire UART
brd: module loaded
FEC ENET Version 0.2
fec: PHY @ 0x0, ID 0x001378e2 -- LXT971
eth0: ethernet 00:cf:52:72:c3:01
PPP generic driver version 2.4.2
uclinux[mtd]: RAM probe address=0x15b000 size=0x10e000
Creating 1 MTD partitions on "RAM":
0x00000000-0x0010e000 : "ROMfs"
uclinux[mtd]: set ROMfs to be root filesystem
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
VFS: Mounted root (romfs filesystem) readonly.
Freeing unused kernel memory: 48k freed (0x14300�sh invoked oom-killer:
^^^^^^^^^^
Out of memory killer task...
gfp_mask=0x1201d2, order=0, oomkilladj=0
Stack from 00375ba4:
00375000 00045006 0012af53 0035bb92 001201d2 00000000
00000000 00000000
0035b9b0 001354fc 0003afe8 0013bb10 00045340 0035b9b0
001201d2 00000000
00000000 00000000 0012aec7 001201d2 00000000 00000000
00000010 0013bb0c
00000000 0035b9b0 0011ac5a 00000001 33480abe 00000000
00047650 0013bb0c
001201d2 00000000 0000000a 00000006 00000011 00000008
00000004 00000006
002741a0 0036c6d0 00000006 0009f740 0036c6cc 001201d2
00000000 00375008
Call Trace with CONFIG_FRAME_POINTER disabled:
[00045006] [0012af53] [001201d2] [0003afe8] [00045340]
[001201d2] [0012aec7] [001201d2] [0011ac5a] [00047650]
[001201d2] [0009f740] [001201d2] [00049298] [001201d2]
[00042001] [0004965e] [000420a6] [00049712] [00043320]
[00052970] [000502dc] [0004e606] [0011b41e] [0007aed2]
[0005605e] [00055e0a] [000572dc] [00020806] [00020838]
[00020806] [00022f54]
Mem-info:
Normal per-cpu:
CPU 0: hi: 0, btch: 1 usd: 0
Active:4 inactive:1 dirty:0 writeback:0 unstable:0
free:70 slab:287 mapped:0 pagetables:0 bounce:0
Normal free:280kB min:252kB low:312kB high:376kB active:16kB
inactive:4kB present:4064kB pages_scanned:63 all_unreclaimable? yes
lowmem_reserve[]: 0 0 0
Normal: 4*4kB 7*8kB 3*16kB 1*32kB 0*64kB 1*128kB 0*256kB 0*512kB
0*1024kB 0*2048kB 0*4096kB = 280kB
You are basically out of usable memory.
Running a configured 2.6 kernel, with a largish root filesystem and on
a system with 4MB you are running our of RAM.
Regards
Greg
5 total pagecache pages
1024 pages of RAM
70 free pages
619 reserved pages
5 pages shared
0 pages swap cached
Out of memory: kill process 12 (sh) score 0 or a child
Killed process 12 (sh)
Hard Reset
SDRAM Size: 4M
Copyright 1995-2001 Motorola, Inc. All Rights Reserved.
ColdFire MCF5272 EVS Firmware v2e.1a.1c (Build 10 on Mar 9 2001
12:05:18)
Enter 'help' for help.
dBUG>
So can anyone help me with what's going on? What else do I need to
change?
Thanks
Mark
------------------------------------------------------------------------
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev