Hi all,
thanks all for the support, i finally got the kernel running on my
custom board MCF5307 based:
Linux version 2.6.29-uc0001 (r...@angel7) (gcc version 4.2.4) #64 Sat
May 29 16:18:30 CEST 2010
uClinux/COLDFIRE(m5307)
COLDFIRE port done by Greg Ungerer, g...@snapgear.com
Modified for M5307 by Dave Miller, dmil...@intellistor.com
Flat model support (C) 1998,1999 Kenneth Albanowski, D. Jeff Dionne
Built 1 zonelists in Zone order, mobility grouping off. Total pages: 4064
Kernel command line:
PID hash table entries: 64 (order: 6, 256 bytes)
Dentry cache hash table entries: 2048 (order: 1, 8192 bytes)
Inode-cache hash table entries: 1024 (order: 0, 4096 bytes)
Memory available: 14616k/16384k RAM, (1286k kernel code, 181k data)
Calibrating delay loop... 52.83 BogoMIPS (lpj=264192)
Mount-cache hash table entries: 512
net_namespace: 520 bytes
NET: Registered protocol family 16
bio: create slab <bio-0> at 0
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
msgmni has been set to 28
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
ColdFire internal UART serial driver
ttyS0 at MMIO 0x100001c0 (irq = 73) is a ColdFire UART
console [ttyS0] enabled
ttyS1 at MMIO 0x10000200 (irq = 74) is a ColdFire UART
brd: module loaded
nbd: registered device at major 43
dm9000 Ethernet Driver, V1.31
uclinux[mtd]: RAM probe address=0x16f718 size=0x24000
Creating 1 MTD partitions on "RAM":
0x000000000000-0x000000024000 : "ROMfs"
uclinux[mtd]: set ROMfs to be root filesystem
Generic platform RAM MTD, (c) 2004 Simtec Electronics
mice: PS/2 mouse device common for all mice
TCP cubic registered
VFS: Mounted root (romfs filesystem) readonly on device 31:0.
Freeing unused kernel memory: 56k freed (0x153000 - 0x160000)
hostname: not found
/bin/expand: not found
mount: not found
mount: not found
mkdir: not found
mkdir: not found
mkdir: not found
mkdir: not found
mkdir: not found
ifconfig: not found
route: not found
dhcpcd: not found
cat: not found
init: Booting to single user mode
BusyBox v1.10.2-uc0 (2010-05-08 11:19:58 CEST) built-in shell (msh)
Enter 'help' for a list of built-in commands.
#
Still need some tuning on the options, but anyway, it works now.
Many thanks,
Regards,
Angelo
On 29/05/2010 16:27, angelo wrote:
Dear all,
i am trying to boot uClinux on a MCF5307/16MSDRAM/4Mb flash custom
board, loading the image.bin into SDRAM, and jumping on it.
Seems i am doing some bad configuration about MTD or filesystem.
Linux version 2.6.29-uc0001 (r...@angel7) (gcc version 4.2.4) #64 Sat
May 29 16:18:30 CEST 2010
uClinux/COLDFIRE(m5307)
COLDFIRE port done by Greg Ungerer, g...@snapgear.com
Modified for M5307 by Dave Miller, dmil...@intellistor.com
Flat model support (C) 1998,1999 Kenneth Albanowski, D. Jeff Dionne
Built 1 zonelists in Zone order, mobility grouping off. Total pages: 4064
Kernel command line:
PID hash table entries: 64 (order: 6, 256 bytes)
Dentry cache hash table entries: 2048 (order: 1, 8192 bytes)
Inode-cache hash table entries: 1024 (order: 0, 4096 bytes)
Memory available: 14616k/16384k RAM, (1419k kernel code, 189k data)
SLUB: Genslabs=12, HWalign=16, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Calibrating delay loop... 52.83 BogoMIPS (lpj=264192)
Mount-cache hash table entries: 512
net_namespace: 520 bytes
NET: Registered protocol family 16
bio: create slab <bio-0> at 0
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
JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
msgmni has been set to 28
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
ColdFire internal UART serial driver
ttyS0 at MMIO 0x100001c0 (irq = 73) is a ColdFire UART
console [ttyS0] enabled
ttyS1 at MMIO 0x10000200 (irq = 74) is a ColdFire UART
brd: module loaded
nbd: registered device at major 43
dm9000 Ethernet Driver, V1.31
uclinux[mtd]: RAM probe address=0x192828 size=0x20466000
Creating 1 MTD partitions on "RAM":
0x000000000000-0x000020466000 : "ROMfs"
mtd: Giving out device 0 to ROMfs
ftl_cs: FTL header not found.
uclinux[mtd]: set ROMfs to be root filesystem
mice: PS/2 mouse device common for all mice
TCP cubic registered
VFS: Cannot open root device "<NULL>" or unknown-block(31,0)
Please append a correct "root=" boot option; here are the available
partitions:
1f00 528792 mtdblock0 (driver?)
Kernel panic - not syncing: VFS: Unable to mount root fs on
unknown-block(31,0)
Every help is really apreciated,
Regards,
Angelo
_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev