[uClinux-dev] uC5272 Changing flash size
Luft, Aaron
Aaron.Luft at ausinfo.com
Wed Nov 20 11:15:52 EST 2002
What changes are needed to change from a 2MB flash to a 4MB flash?
I am only guessing that image size is my problem.
My Arcturus uC5272 which is shipped with 4 MB of flash works great with a kernel (image.bin file) 1.5 Million bytes in size, but going to 1.8 Million (adding dhcp and tcpdump utilities) causes the kernel to crash as shown below.
If I remove only dhcp and not tcpdump then this is the error:
Freeing unused kernel memory: 24k freed (0xf2000 - 0xf7000)
cfserial.c(769): Normal clock recognized
cfserial.c(842): cflag = CBE=7 baudclk=4e
mcfserial.c(868): BASE1 normal clocking
kernel BUG at page_alloc.c:225!
Kernel panic: BUG!
Any ideas would be greatly appreciated.
Thank you,
Aaron
uClinux/COLDFIRE(m5272)
COLDFIRE port done by Greg Ungerer, gerg at snapgear.com
Flat model support (C) 1998,1999 Kenneth Albanowski, D. Jeff Dionne
On node 0 totalpages: 2048
zone(0): 0 pages.
zone(1): 2048 pages.
zone(2): 0 pages.
Kernel command line: console=ttyS0
Calibrating delay loop... 29.14 BogoMIPS
Memory available: 6148k/8192k RAM, 0k/0k ROM (742k kernel code, 204k data)
kmem_create: Forcing size word alignment - vm_area_struct
kmem_create: Forcing size word alignment - mm_struct
kmem_create: Forcing size word alignment - filp
Dentry-cache hash table entries: 1024 (order: 1, 8192 bytes)
Inode-cache hash table entries: 512 (order: 0, 4096 bytes)
kmem_create: Forcing size word alignment - inode_cache
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
kmem_create: Forcing size word alignment - bdev_cache
kmem_create: Forcing size word alignment - cdev_cache
Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 2048 (order: 1, 8192 bytes)
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
kmem_create: Forcing size word alignment - sock
Initializing RT netlink socket
Starting kswapd
kmem_create: Forcing size word alignment - file lock cache
ColdFire internal UART serial driver version 1.00
ttyS0 at 0x10000100 (irq = 73) is a builtin ColdFire UART
ttyS1 at 0x10000140 (irq = 74) is a builtin ColdFire UART
kmem_create: Forcing size word alignment - blkdev_requests
block: 64 slots per queue, batch=16
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
fec.c: Probe number 0 with 0x0000
eth0: FEC ENET Version 0.2, 00:06:3b:00:04:b9
fec: Phy @ 0x1, type 0x001378e2
fec: Phy name = "LXT972"
fec.c: Probe number 1 with 0x0000
CrystalLAN EISA ID: 0x630e
eth1: cs8900 rev J found at 0x30000000 3.3Volts media RJ-45, 00 06 3b 00 04 ba
Blkmem copyright 1998,1999 D. Jeff Dionne
Blkmem copyright 1998 Kenneth Albanowski
Blkmem 1 disk images:
0: 10D0BC-1DA0BB [VIRTUAL 10D0BC-1DA0BB] (RO)
loop: loaded (max 8 devices)
PPP generic driver version 2.4.1
PPP Deflate Compression module registered
PPP BSD Compression module registered
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
kmem_create: Forcing size word alignment - ip_dst_cache
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 512 bind 512)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
VFS: Mounted root (romfs filesystem) readonly.
Freeing unused kernel memory: 24k freed (0xf2000 - 0xf7000)
cfserial.c(769): Normal clock recognized
cfserial.c(842): cflag = CBE=7 baudclk=4e
mcfserial.c(868): BASE1 normal clocking
BEFORE: hostname anb2004
BEFORE: ifconfig eth0 inet 192.168.0.204 netmask 255.255.0.0
eth0: config: auto-negotiation on, 100HDX, 10HDX.
BEFORE: ifconfig eth1 inet 192.168.2.204 netmask 255.255.0.0
eth1: Setting MAC address to 00 06 3b 00 04 ba.
eth1: 10Base-T (RJ-45) has no cable
eth1: no network cable attached to configured media
SIOCSIFFLAGS: Unknown error 11
BEFORE: mount 192.168.0.107:/home/export/ucl /mnt
NFS: NFSv3 not supported.
nfs warning: mount version older than kernel
bad frame format: 00000000
PC: [<00044ede>]
SR: 2009 SP: 0070dd54 a2: 444f5f41
d0: 00001968 d1: 001f9541 d2: 00000009 d3: 7e4d1114
d4: 007d3005 d5: 0000000a a0: 00000000 a1: 007f5580
Process sh (pid: 42, stackpage=0070d000)
Frame format=4 Stack from 0070dd90:
00000009 000445f0 00000000 007f5580 007cf7d0 0070de30 0070dfa4 0003d5fa
007f5580 0070ddf8 00000000 0003dd90 007f5580 0070ddf8 00000000 0070de30
007d3000 0070de30 00760278 00000001 00000000 007712ef 007d3000 00770000
0070dfa4 00000000 007d3005 00000009 7e4d1114 0070de30 0003e006 007d3000
0070de30 0003bca6 007d3000 0070de30 007d3000 00760278 0076039c 00770aec
007f5580 007fa250 0086b0a8 00866652 76f31028 00000009 00000001 4a006642
Call Trace:
[<000445f0>] [<0003d5fa>] [<0003dd90>] [<0003e006>]
[<0003bca6>] [<0003c47a>] [<0004660c>] [<0002a4a6>]
[<0002a6a8>] [<000235e6>] [<0003d3a2>] [<000209f2>]
[<000209bc>] [<00022546>]
Code: 2452 b6ab 0044 666e bbeb 000c 6668 206d 004c 4a88
SIGSEGV
Note: PC = [<00044ede>] in my System.map is inside the d_lookup function.
More information about the uClinux-dev
mailing list