Re: [uCsimm] New linux.bin image gives kernel panic !

From: Tom Walsh (
Date: Tue Dec 05 2000 - 10:03:38 EST

Noergaard John wrote:
> Hi,
> I am new with the uCsimm.
> I have tried to make a new image.
> I run "make menuconfig" I did not change any settings.
> Then make dep , make linux.bin, everthing ok
> Downloaded via Xmodem new linux.bin
> "program" ok
> "verify" ok
> Then I reset the device.
> uCbootstrap v1.2 (c) Copyright 1999 Rt-Control All Rights Reserved
> FLASH type 0043 [TC58FVB160]
> DP|004000 DP|006000 DP|008000 DP|010000 D-|020000 D-|030000
> D-|040000 D-|050000 D-|060000 D-|070000 D-|080000 D-|090000
> D-|0a0000 D-|0b0000 D-|0c0000 D-|0d0000 D-|0e0000 D-|0f0000
> D-|100000 D-|110000 D-|120000 D-|130000 D-|140000 D-|150000
> D-|160000 D-|170000 D-|180000 D-|190000 D-|1a0000 D-|1b0000
> D-|1c0000 D-|1d0000 D-|1e0000 D-|1f0000 D-|200000
> B$ go
> Go!
> 68EZ328 DragonBallEZ support (C) 1999 Rt-Control, Inc
> uCsimm serial string [965064878-015be]
> uCsimm hwaddr 00:50:c2:03:65:be
> uClinux/MC68EZ328
> Flat model support (C) 1998,1999 Kenneth Albanowski, D. Jeff Dionne
> Calibrating delay loop.. ok - 1.90 BogoMIPS
> Memory available: 7764k/8048k RAM, 0k/0k ROM (412k kernel data, 381k code)
> Swansea University Computer Society NET3.035 for Linux 2.0
> NET3: Unix domain sockets 0.13 for Linux NET3.035.
> Swansea University Computer Society TCP/IP for NET3.034
> IP Protocols: ICMP, UDP, TCP
> uClinux version (root@linux) (gcc version #7 Fri Dec 1
> 15:
> 57:34 CET 2000
> MC68328 serial driver version 1.00
> ttyS0 at 0xfffff900 (irq = 64) is a builtin MC68328 UART
> Ramdisk driver initialized : 16 ramdisks of 4096K size
> Blkmem copyright 1998,1999 D. Jeff Dionne
> Blkmem copyright 1998 Kenneth Albanowski
> Blkmem 1 disk images:
> 0: 10C815CC-2AE231CB (RO)
> PPP: version 2.2.0 (dynamic channel allocation)
> TCP compression code copyright 1989 Regents of the University of California
> PPP Dynamic channel allocation code copyright 1995 Caldera, Inc.
> PPP line discipline registered.
> SLIP: version 0.8.4-NET3.019-NEWTTY (dynamic channels, max=256).
> CSLIP: code copyright 1989 Regents of the University of California.
> cs89x0.c:v1.02 11/26/96 Russell Nelson <>
> cs89x0.c:68EZ328 support D. Jeff Dionne <> 1999
> eth0: cs8900 rev I found at 0x10000300 3.3Volts media RJ-45, 00 50 c2 03 65
> be
> Open of blkmem arena 0 at 10c815cc, length 1a1a1c00
> Kernel panic: VFS: Unable to mount root fs on 1f:00

That report from blkmem looks suspicious! The address of the romfs
looks about right, but the lenght is totally wrong, I would expect a
length of about 0x79140 (approx). The genromfs takes the romfs.img
binary, massages it a bit, then catenates it onto the linux.bin. The
length of the romfs should be approx the same as the length (filesize)
of romfs.img. I suggest that you examine the binary image file that is
being placed into the Flash, or look at the contents of 0x10c815cc in
Flash memory to see if it looks like your romfs.img. Somehow you have
trashed your romfs image, or have been tinkering inside


Tom Walsh - WN3L - Embedded Systems Consultant
'', ''
"Windows? No thanks, I have work to do..."
This message resent by the list server

This archive was generated by hypermail 2b30 : Sun Apr 07 2002 - 00:01:39 EST