Hello,polm hat geschrieben:Hello,
The sd/mmc driver is now working but I still have a problem when trying to mount the root filesystem. The startup output is the following:
MC/SD-Card Driver init OK
Using deadline io scheduler
Capacity 123 MB
bd0: unknown partition table
....
VFS: Cannot open root device "bd0p2" or bd0p2
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on bd0p2
How can I fix this problem? The /dev/mmc devices are correct and the sd card is diveded in 2 partitions as it should be:
Polm
Code: Alles auswählen
EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
VFS: Mounted root (ext2 filesystem).
Freeing init memory: 52K
Warning: unable to open an initial console.
open
enable_irq(14) unbalanced from 000000b1
get_stats
I haven't the device ttyS0 on the second Partition in /Dev.Ulrich hat geschrieben:Do you have this device ttyS0 on the second Partition in /DEV ??
Code: Alles auswählen
hostname Philips-LPC22xx
mount -t proc proc /proc
ifconfig lo 127.0.0.1
ifconfig eth0 192.168.0.220 broadcast 192.168.0.255 netmask 255.255.255.0
cat /etc/motd
sh
Code: Alles auswählen
Sash command shell (version 1.1.1)
/> Reading command line: Bad file descriptor
pid 15: failed 256
Execution Finished, Exiting
init: Booting to single user mode
Sash command shell (version 1.1.1)
/>
Code: Alles auswählen
#inet:unknown:/bin/inetd
#boa:unknown:/bin/boa
ttyS0:linux:/bin/sh
Code: Alles auswählen
hostname Philips-LPC22xx
/bin/expand /etc/ramfs.img /dev/ram1
mount -t proc proc /proc
mount -t ext2 /dev/ram1 /var
mkdir /var/tmp
mkdir /var/log
mkdir /var/run
mkdir /var/lock
mkdir /var/empty
ifconfig lo 127.0.0.1
ifconfig eth0 192.168.0.220 broadcast 192.168.0.255 netmask 255.255.255.0
httpd &
cat /etc/motd
sh
Code: Alles auswählen
Execution Finished, Exiting
init: Booting to single user mode
Sash command shell (version 1.1.1)
/>