Hi,
I'm trying to build a kernel for my ts-7400 based on tskernel-2.4.26-
ts11-oct132006-src.tar.gz (on ftp.embeddedarm.com) and I keep getting
this when the kernel boots:
...
VFS: Cannot open root device "mtdblock/3" or 1f:00
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on 1f:00
I'm using bootload (provided by TS) to boot, so I'm not using redboot.
insmod -q -f /bootloader.o >/dev/null 2>&1
KCMD="console=`basename $CONSOLE`,115200 root=/dev/mtdblock/3"
bootload -c "$KCMD" /mnt/root/vmlinux.bin
The root partition is right; when I mount it before this, it looks good.
If I compare my boot messages to the one that was used to get to the
initial ts prompt, the big difference is this:
Searching for NAND flash...
NAND device: Manufacturer ID: 0xec, Chip ID: 0x75 (Samsung NAND 32MiB
3,3V 8-bit)
Scanning device for bad blocks
Hardware ECC detected
Using MBR partition definition
Creating 4 MTD partitions on "NAND 32MiB 3,3V 8-bit":
0x00000000-0x02000000 : "whole chip"
0x00004000-0x00204000 : "kernel"
0x00204000-0x00404000 : "initrd"
0x00404000-0x02000000 : "rootfs"
yaffs: dev is 7939 name is "1f:03"
yaffs: Attempting MTD mount on 31.3, "1f:03"
My hunch is that it doesn't set the NAND flash driver up the way it
should. I'm fairly sure I compiled it in though. I've use a stock
7400 config (from linux24/arch/arm/def-configs/ts7400), same problem.
What am I missing here? Is it my /dev setup that's incorrect perhaps?
If anyone has a known working 7400 kernel config, I'd love to see it
to see if that's the problem or not.
Cheers,
Bas.
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|