bootargs=console=ttyS0,115200n8 noinitrd rw root=/dev/mtdlbock3 rootfstype=jffs2 nolock init=/bin/sh
mtdlbock3 is misspelled. Should be mtdblock3 Steve ________________________________ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of ?? Sent: Friday, April 25, 2008 1:41 AM To: [email protected] Subject: can't mount the root file system using jffs2 on mtdblock Hi,everyone.I encounter some difficult when i boot my linux on a mtdblock . the u-boot parameters: bootargs=console=ttyS0,115200n8 noinitrd rw root=/dev/mtdlbock3 rootfstype=jffs2 nolock init=/bin/sh the system boot up messages are: Starting kernel ... Uncompressing Linux...................................................................................... done, booting the kernel. Linux version 2.6.24-davinci1 ([EMAIL PROTECTED]) (gcc version 4.0.0 (DENX ELDK 4.1 4.0.0)) #44 Thu Apr 24 17:50:14 CST 2008 CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177 Machine: DaVinci EVM Memory policy: ECC disabled, Data cache writeback DaVinci DM6446 variant 0x0 CPU0: D VIVT write-back cache CPU0: I cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets CPU0: D cache: 8192 bytes, associativity 4, 32 byte lines, 64 sets Built 1 zonelists in Zone order, mobility grouping on. Total pages: 65024 Kernel command line: console=ttyS0,115200n8 noinitrd rw root=/dev/mtdlbock3 rootfstype=jffs2 nolock init=/bin/sh PID hash table entries: 1024 (order: 10, 4096 bytes) Console: colour dummy device 80x30 Dentry cache hash table entries: 32768 (order: 5, 131072 bytes) Inode-cache hash table entries: 16384 (order: 4, 65536 bytes) Memory: 256MB = 256MB total Memory: 257024KB available (2440K code, 224K data, 104K init) Mount-cache hash table entries: 512 CPU: Testing write buffer coherency: ok net_namespace: 64 bytes NET: Registered protocol family 16 DaVinci: 71 gpio irqs NET: Registered protocol family 2 Time: timer0_1 clocksource has been installed. IP route cache hash table entries: 2048 (order: 1, 8192 bytes) TCP established hash table entries: 8192 (order: 4, 65536 bytes) TCP bind hash table entries: 8192 (order: 3, 32768 bytes) TCP: Hash tables configured (established 8192 bind 8192) TCP reno registered JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc. JFFS2: default compression mode: priority io scheduler noop registered io scheduler anticipatory registered (default) Serial: 8250/16550 driver $Revision: 1.90 $ 2 ports, IRQ sharing disabled serial8250.0: ttyS0 at MMIO 0x1c20000 (irq = 40) is a 16550A console [ttyS0] enabled RAMDISK driver initialized: 1 RAM disks of 32768K size 1024 blocksize DaVinci EMAC: Unable to read MAC from EEPROM, no i2c support in kernel. TI DaVinci EMAC: MAC address is deadbeaf TI DaVinci EMAC Linux version updated 4.0 TI DaVinci EMAC: Installed 1 instances. Linux video capture interface: v2.00 physmap platform flash device: 01000000 at 02000000 physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank NOR chip too large to fit in mapping. Attempting to cope... Amd/Fujitsu Extended Query Table at 0x0040 physmap-flash.0: CFI does not contain boot bank location. Assuming top. number of CFI chips: 1 cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness. Reducing visibility of 32768KiB chip to 16384KiB cmdlinepart partition parsing not available RedBoot partition parsing not available Using physmap partition information Creating 4 MTD partitions on "physmap-flash.0": 0x00000000-0x00030000 : "bootloader" 0x00030000-0x00040000 : "params" 0x00040000-0x00240000 : "kernel" 0x00240000-0x01000000 : "filesystem" sysfs: duplicate filename 'physmap-flash.0' can not be created WARNING: at fs/sysfs/dir.c:424 sysfs_add_one() [<c0026994>] (dump_stack+0x0/0x14) from [<c00b1ee4>] (sysfs_add_one+0x4c/0xf8) [<c00b1e98>] (sysfs_add_one+0x0/0xf8) from [<c00b2470>] (create_dir+0x58/0xac) r6:fffffff4 r5:cfc19e9c r4:cfd7eea8 [<c00b2418>] (create_dir+0x0/0xac) from [<c00b24fc>] (sysfs_create_dir+0x38/0x4c) r8:c0298b74 r7:00000000 r6:00000001 r5:c0299da8 r4:c0299e10 [<c00b24c4>] (sysfs_create_dir+0x0/0x4c) from [<c0120710>] (kobject_add+0xcc/0x1ac) r4:c0299e10 [<c0120644>] (kobject_add+0x0/0x1ac) from [<c014d170>] (device_add+0x84/0x590) r8:c0299e10 r7:00000000 r6:00000001 r5:c0299da8 r4:0000001c [<c014d0ec>] (device_add+0x0/0x590) from [<c0150c70>] (platform_device_add+0x100/0x154) [<c0150b70>] (platform_device_add+0x0/0x154) from [<c0150ce4>] (platform_device_register+0x20/0x24) r7:00000000 r6:c001eb60 r5:00000000 r4:c0299da0 [<c0150cc4>] (platform_device_register+0x0/0x24) from [<c001a5d4>] (physmap_init+0x24/0x34) r4:00000000 [<c001a5b0>] (physmap_init+0x0/0x34) from [<c0008aa4>] (kernel_init+0xb4/0x284) r4:c001f858 [<c00089f0>] (kernel_init+0x0/0x284) from [<c0036240>] (do_exit+0x0/0x6e8) kobject_add failed for physmap-flash.0 with -EEXIST, don't try to register things with the same name in the same directory. [<c0026994>] (dump_stack+0x0/0x14) from [<c01207a0>] (kobject_add+0x15c/0x1ac) [<c0120644>] (kobject_add+0x0/0x1ac) from [<c014d170>] (device_add+0x84/0x590) r8:c0299e10 r7:00000000 r6:00000001 r5:c0299da8 r4:0000001c [<c014d0ec>] (device_add+0x0/0x590) from [<c0150c70>] (platform_device_add+0x100/0x154) [<c0150b70>] (platform_device_add+0x0/0x154) from [<c0150ce4>] (platform_device_register+0x20/0x24) r7:00000000 r6:c001eb60 r5:00000000 r4:c0299da0 [<c0150cc4>] (platform_device_register+0x0/0x24) from [<c001a5d4>] (physmap_init+0x24/0x34) r4:00000000 [<c001a5b0>] (physmap_init+0x0/0x34) from [<c0008aa4>] (kernel_init+0xb4/0x284) r4:c001f858 [<c00089f0>] (kernel_init+0x0/0x284) from [<c0036240>] (do_exit+0x0/0x6e8) TCP cubic registered NET: Registered protocol family 1 NET: Registered protocol family 17 RPC: Registered udp transport module. RPC: Registered tcp transport module. drivers/rtc/hctosys.c: unable to open rtc device (rtc0) Root-NFS: No NFS server available, giving up. VFS: Unable to mount root fs via NFS, trying floppy. List of all partitions: 1f00 192 mtdblock0 (driver?) 1f01 64 mtdblock1 (driver?) 1f02 2048 mtdblock2 (driver?) 1f03 14080 mtdblock3 (driver?) No filesystem could mount root, tried: jffs2 Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0) Thanks! 我遥望远处的天空,寻找你的影子。 ________________________________ 雅虎邮箱,您的终生邮箱! <http://cn.mail.yahoo.com/>
_______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
