James, Two interesting things, 1):
jffs2: Erase block size too small (16KiB). Using virtual blocks size (32KiB) instead I recall is is caused by not specifying the correct option when setting up the flash, does not seem to be a big deal on read only. 2): VFS: Mounted root (jffs2 filesystem) readonly. The above suggests that it cannot find an init command, usually located in /sbin/init, /etc/init ir /bin/init. Pop it in the sbin directory and it should work. If it works I would let you buy me a Guinness next month when i am over to the Emerald Isle, but fortunately for you I will be no where near Donegal! Regards, Andrew On Thu, 2007-01-04 at 16:33 +0000, James McGloin wrote: > Hi Guys, > > Thanks for your help previously, I am still having > problems getting the filesystem on nand, I am able to get the UBL and > kernel on nand, I have also created the partitions for /dev/mtd1 and > been able to copy the filesystem on the linux box to /dev/mtdblock1. > However when I try to run the filesystem on nand I have the following > error: > > > > “Warning: unable to open an initial console. > Kernel panic - not syncing: No init found. Try passing init= option to > kernel” > > > > Is there a step I am missing, do I have to format /dev/mtd1 to jffs2. > > > > Any help would be greatly appreciated > > > > James > > > > Below is my trace. > > > > > Booting PSP Boot Loader > > > > Starting NAND Copy > > > > Booting Application @ 0x81080000 > > > > > > U-Boot 1.1.3 (Dec 4 2006 - 12:07:41) > > > > U-Boot code: 81080000 -> 8109A654 BSS: -> 810A30C0 > > RAM Configuration: > > Bank #0: 80000000 256 MB > > unknown vendor=0 Flash: 0 kB > > NAND:64 MB > > In: serial > > Out: serial > > Err: serial > > ARM Clock :- 283MHz > > DDR Clock :- 189MHz > > Hit any key to stop autoboot: 3 0 > > DaVinci EVM # printenv > > bootdelay=3 > > baudrate=115200 > > autostart=yes > > serverip=192.168.1.10 > > bootfile=uImage > > bootcmd=nboot 0x80200000 0 104000 > > bootargs=console=ttyS0,115200n8 noinitrd rw root=/dev/mtdblock1 ro > rootfstype=jffs2 mem=120M > > stdin=serial > > stdout=serial > > stderr=serial > > ethaddr=00:0e:99:02:54:16 > > videostd=ntsc > > > > Environment size: 288/16380 bytes > > DaVinci EVM # boot > > > > Loading from device 0: <NULL> at 0x2000000 (offset 0x104000) > > Image Name: Linux-2.6.10_mvl401-davinci_evm > > Image Type: ARM Linux Kernel Image (uncompressed) > > Data Size: 1306772 Bytes = 1.2 MB > > Load Address: 80008000 > > Entry Point: 80008000 > > Automatic boot of image at addr 0x80200000 ... > > ## Booting image at 80200000 ... > > Image Name: Linux-2.6.10_mvl401-davinci_evm > > Image Type: ARM Linux Kernel Image (uncompressed) > > Data Size: 1306772 Bytes = 1.2 MB > > Load Address: 80008000 > > Entry Point: 80008000 > > Verifying Checksum ... OK > > OK > > > > Starting kernel ... > > > > Uncompressing > Linux..................................................................................... > done, booting the.Linux version 2.6.10_mvl401-davinci_evm ([EMAIL > PROTECTED]) (gcc version 3.4.3 (MontaVista 3.4.3-25.0.30.0501131 2005-07-23)) > #5 Tue Dec 19 16:01:50 GMT 2006 > > > CPU: ARM926EJ-Sid(wb) [41069265] revision 5 (ARMv5TEJ) > > > 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 > > > Machine: DaVinci EVM > > > Memory policy: ECC disabled, Data cache writeback > > > Built 1 zonelists > > > Kernel command line: console=ttyS0,115200n8 noinitrd rw > root=/dev/mtdblock1 ro rootfstype=jffs2 mem=120M > > > PID hash table entries: 512 (order: 9, 8192 bytes) > > > Console: colour dummy device 80x30 > > > Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) > > > Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) > > > Memory: 120MB = 120MB total > > > Memory: 118912KB available (2234K code, 463K data, 136K init) > > > Mount-cache hash table entries: 512 (order: 0, 4096 bytes) > > > CPU: Testing write buffer coherency: ok > > > spawn_desched_task(00000000) > > > desched cpu_callback 3/00000000 > > > ksoftirqd started up. > > > desched cpu_callback 2/00000000 > > > desched thread 0 started up. > > > NET: Registered protocol family 16 > > > Registering platform device 'musb_hdrc'. Parent at platform > > > DaVinci I2C DEBUG: 12:15:02 Aug 1 2006 > > > Registering platform device 'i2c'. Parent at platform > > > usbcore: registered new driver usbfs > > > usbcore: registered new driver hub > > > JFFS2 version 2.2. (NAND) (C) 2001-2003 Red Hat, Inc. > > > yaffs Aug 1 2006 12:14:38 Installing. > > > Registering platform device 'davincifb.0'. Parent at platform > > > Setting Up Clocks for DM420 OSD > > > Console: switching to colour frame buffer device 90x30 > > > fb0: dm_osd0_fb frame buffer device > > > fb1: dm_vid0_fb frame buffer device > > > fb2: dm_osd1_fb frame buffer device > > > fb3: dm_vid1_fb frame buffer device > > > Serial: 8250/16550 driver $Revision: 1.90 $ 2 ports, IRQ sharing > disabled > > > Registering platform device 'serial8250'. Parent at platform > > > ttyS0 at MMIO 0x1c20000 (irq = 40) is a 16550A > > > io scheduler noop registered > > > io scheduler anticipatory registered > > > RAMDISK driver initialized: 1 RAM disks of 32768K size 1024 blocksize > > > Registering platform device 'ti_davinci_emac'. Parent at platform > > > TI DaVinci EMAC: MAC address is 00:0e:99:02:54:16 > > > TI DaVinci EMAC Linux version updated 4.0 > > > TI DaVinci EMAC: Installed 1 instances. > > > netconsole: not configured, aborting > > > i2c /dev entries driver > > > Linux video capture interface: v1.00 > > > Registering platform device 'vpfe.1'. Parent at platform > > > DaVinci v4l2 capture driver V1.0 loaded > > > elevator: using anticipatory as default io scheduler > > > NFTL driver: nftlcore.c $Revision: 1.96 $, nftlmount.c $Revision: 1.39 > $ > > > INFTL: inftlcore.c $Revision: 1.17 $, inftlmount.c $Revision: 1.15 $ > > > DaVinci NAND Controller rev. 2.1 > > > NAND device: Manufacturer ID: 0xec, Chip ID: 0x36 (Samsung NAND 64MiB > 1,8V 8-bit) > > > Scanning device for bad blocks > > > Creating 2 MTD partitions on "NAND 64MiB 1,8V 8-bit": > > > 0x00100000-0x00500000 : "Flash Partition 0" > > > 0x00500000-0x04000000 : "Flash Partition 1" > > > ftl_cs: FTL header not found. > > > mice: PS/2 mouse device common for all mice > > > musb_hdrc: version 2.2a/db-0.4.8 [pio] [host] [debug=0] > > > musb_hdrc: USB Host mode controller at c8066000 using PIO, IRQ 12 > > > musb_hdrc musb_hdrc: new USB bus registered, assigned bus number 1 > > > hub 1-0:1.0: USB hub found > > > hub 1-0:1.0: 1 port detected > > > Registering platform device 'davinci-audio.0'. Parent at platform > > > NET: Registered protocol family 2 > > > IP: routing cache hash table of 512 buckets, 4Kbytes > > > TCP: Hash tables configured (established 8192 bind 16384) > > > NET: Registered protocol family 1 > > > NET: Registered protocol family 17 > > > Sending DHCP requests ., OK > > > IP-Config: Got DHCP answer from 0.0.0.0, my address is 192.168.1.24 > > > IP-Config: Complete: > > > device=eth0, addr=192.168.1.24, mask=255.255.255.0, > gw=192.168.1.254, > > > host=192.168.1.24, domain=, nis-domain=(none), > > > bootserver=0.0.0.0, rootserver=0.0.0.0, rootpath= > > > jffs2: Erase block size too small (16KiB). Using virtual blocks size > (32KiB) instead > > > VFS: Mounted root (jffs2 filesystem) readonly. > > > Freeing init memory: 136K > > > Warning: unable to open an initial console. > > > Kernel panic - not syncing: No init found. Try passing init= option > to kernel. > > > > > > > > > James McGloin > > > > > _______________________________________________ > Davinci-linux-open-source mailing list > [email protected] > http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source _______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
