I have been running/developing with a nfs file system, and things have generally been working fine.
I need to demo some of the features disconnected from my nfs server, so wanted to make a jffs2 version. Unfortunatly I have been unable to get my jffs2 image or the DVSDK jffs2 image to work.
Does any one know if the dvsdk supplied jffs2 image works with the Mistral EVM?
Here is a copy of my uboot env and a dump of the linux boot:
******************************************************************************************
printenv
baudrate=115200
bootfile="uImage"
bootargs=mem=80M console=ttyS0,115200n8 noinitrd rw root=/dev/nfs nfsroot=/home/
msj2105/workdir/filesys,nolock video=omap24xxfb:rotation=90 ip=:::255.255.254.0:
:eth0:on
ipaddr=10.10.10.4
serverip=10.10.10.2
gatewayip=192.168.0.1
netmask=255.255.255.0
hostname=OMAP3530
get_kernel=run nand_kernel
get_initrd=run nand_initrd
nand_kernel=nand read.i 0x80000000 280000 200000
nand_initrd=nand read.i 0x81600000 780000 1000000
mmc_kernel=fatload mmc 0 0x80000000 uImage
mmc_initrd=fatload mmc 0 0x81600000 ramdisk.gz
tftp_kernel=tftp 0x80000000 uImage
tftp_initrd=tftp 0x81600000 ramdisk.gz
nfsrootdir=/home/msj2105/workdir/filesys
bootargs_rd=mem=80M console=ttyS0,115200n8 root=/dev/ram0 initrd=0x81600000,40M
ramdisk_size=40960,nolock video=omap24xxfb:rotation=90
bootargs_fs=mem=80M console=ttyS0,115200n8 noinitrd root=/dev/mtdblock4 rw rootf
stype=jffs2,nolock video=omap24xxfb:rotation=90
bootargs_nfs=mem=80M console=ttyS0,115200n8 noinitrd rw root=/dev/nfs nfsroot=/h
ome/msj2105/workdir/filesys,nolock video=omap24xxfb:rotation=90
addip=setenv bootargs $(bootargs) ip=$(ipaddr):$(serverip):$(gatewayip):$(netmas
k):$(hostname):eth0:on
boot_rd=run get_kernel; run get_initrd; setenv bootargs $(bootargs_rd); run addi
p; bootm 0x80000000
boot_fs=run get_kernel; setenv bootargs $(bootargs_fs); run addip; bootm 0x80000
000
boot_nfs=run get_kernel; setenv bootargs $(bootargs_nfs); run addip; bootm 0x800
00000
mmcboot_init=mmcinit; run mmc_kernel; run mmc_initrd
boot_mmc=run mmcboot_init; setenv bootargs $(bootargs_rd); bootm 0x80000000
bootcmd=run boot_rd
bootdelay=20
stdin=serial
stdout=serial
stderr=serial
Environment size: 1644/131068 bytes
OMAP3_EVM #
******************************************************************************************
run boot_fs
NAND read: device 0 offset 0x280000, size 0x200000
2097152 bytes read: OK
## Booting kernel from Legacy Image at 80000000 ...
Image Name: Linux-2.6.22.18-omap3
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 1962604 Bytes = 1.9 MB
Load Address: 80008000
Entry Point: 80008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK
Starting kernel ...
Uncompressing Linux.............................................................
..................................................................... done, boot
ing the kernel.
Linux version 2.6.22.18-omap3 (msj2105@uep1.draper.com) (gcc version 4.2.1 (Code
Sourcery Sourcery G++ Lite 2007q3-51)) #9 Thu Jun 25 17:02:30 EDT 2009
CPU: ARMv7 Processor [411fc082] revision 2 (ARMv7), cr=00c5387f
Machine: OMAP3EVM Board
Memory policy: ECC disabled, Data cache writeback
BUG: map for 0x50000000 at 0xe0000000 can not be mapped using pages, ignoring.
OMAP3430ES1
SRAM: Mapped pa 0x40200000 to va 0xd7000000 size: 0x100000
CPU0: D VIPT write-through cache
CPU0: cache: 768 bytes, associativity 1, 8 byte lines, 64 sets
Built 1 zonelists. Total pages: 20320
Kernel command line: mem=80M console=ttyS0,115200n8 noinitrd root=/dev/mtdblock4
rw rootfstype=jffs2,nolock video=omap24xxfb:rotation=90 ip=10.10.10.4:10.10.10.
2:192.168.0.1:255.255.255.0:OMAP3530:eth0:on
GPMC revision 5.0
IRQ: Found an INTC at 0xd8200000 (revision 4.0) with 96 interrupts
Total of 96 interrupts on 1 active controller
OMAP34xx GPIO hardware version 2.5
PID hash table entries: 512 (order: 9, 2048 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: 80MB = 80MB total
Memory: 76860KB available (3628K code, 447K data, 140K init)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
MUX: initialized AA10_3430_USB2HS_PHY_STP
MUX: Setting register AA10_3430_USB2HS_PHY_STP
<NULL> (0x480025f2) = 0x00000100 -> 0x0000301b
MUX: initialized AA8_3430_USB2HS_PHY_CLK
MUX: Setting register AA8_3430_USB2HS_PHY_CLK
<NULL> (0x480025f0) = 0x00000100 -> 0x00000003
MUX: initialized AA9_3430_USB2HS_PHY_DIR
MUX: Setting register AA9_3430_USB2HS_PHY_DIR
<NULL> (0x480025f4) = 0x00000100 -> 0x00000103
MUX: initialized AB11_3430_USB2HS_PHY_NXT
MUX: Setting register AB11_3430_USB2HS_PHY_NXT
<NULL> (0x480025f6) = 0x00000100 -> 0x00000103
MUX: initialized AB10_3430_USB2HS_PHY_D0
MUX: Setting register AB10_3430_USB2HS_PHY_D0
<NULL> (0x480025f8) = 0x00000100 -> 0x00000103
MUX: initialized AB9_3430_USB2HS_PHY_D1
MUX: Setting register AB9_3430_USB2HS_PHY_D1
<NULL> (0x480025fa) = 0x00000100 -> 0x00000103
MUX: initialized W3_3430_USB2HS_PHY_D2
MUX: Setting register W3_3430_USB2HS_PHY_D2
<NULL> (0x480021d4) = 0x00000108 -> 0x00000103
MUX: initialized T4_3430_USB2HS_PHY_D3
MUX: Setting register T4_3430_USB2HS_PHY_D3
<NULL> (0x480021de) = 0x00000108 -> 0x00000103
MUX: initialized T3_3430_USB2HS_PHY_D4
MUX: Setting register T3_3430_USB2HS_PHY_D4
<NULL> (0x480021d8) = 0x00000100 -> 0x00000103
MUX: initialized R3_3430_USB2HS_PHY_D5
MUX: Setting register R3_3430_USB2HS_PHY_D5
<NULL> (0x480021da) = 0x00000100 -> 0x00000103
MUX: initialized R4_3430_USB2HS_PHY_D6
MUX: Setting register R4_3430_USB2HS_PHY_D6
<NULL> (0x480021dc) = 0x00000108 -> 0x00000103
MUX: initialized T2_3430_USB2HS_PHY_D7
MUX: Setting register T2_3430_USB2HS_PHY_D7
<NULL> (0x480021d6) = 0x00000100 -> 0x00000103
MUX: initialized GPIO134_VDIN_SEL_Y
MUX: Setting register GPIO134_VDIN_SEL_Y
<NULL> (0x48002160) = 0x00000118 -> 0x00000104
MUX: initialized GPIO_54_VDIN_SEL_EXP_CAM
MUX: Setting register GPIO_54_VDIN_SEL_EXP_CAM
<NULL> (0x480020b4) = 0x00000018 -> 0x00000104
MUX: initialized GPIO136_VDIN_SEL_CAM
MUX: Setting register GPIO136_VDIN_SEL_CAM
<NULL> (0x48002164) = 0x00000000 -> 0x00000104
twl4030: I2C Client[3] is not initialized[513]
twl4030: I2C Client[3] is not initialized[462]
SmartReflex driver initialized
OMAP DMA hardware revision 4.0
OMAP Display hardware version 2.0
i2c_omap i2c_omap.1: bus 1 rev3.12 at 2600 kHz
i2c_omap i2c_omap.2: bus 2 rev3.12 at 100 kHz
i2c_omap i2c_omap.3: bus 3 rev3.12 at 400 kHz
TWL4030: TRY attach Slave TWL4030-ID0 on Adapter OMAP I2C adapter [1]
TWL4030: TRY attach Slave TWL4030-ID1 on Adapter OMAP I2C adapter [1]
TWL4030: TRY attach Slave TWL4030-ID2 on Adapter OMAP I2C adapter [1]
TWL4030: TRY attach Slave TWL4030-ID3 on Adapter OMAP I2C adapter [1]
TWL4030 Power Companion Active
<6>TWL4030: Driver registration complete.
omap35xdc: GPMC cs4 request passed. Physical base: 0x01000000 Virtual base: 0xc6
000000
omap35xdc: TRY attach Slave omap35xdc_tvp5146 on Adapter OMAP I2C adapter
omap35xdc: TRY attach Slave omap35xdc_aic23 on Adapter OMAP I2C adapter
omap35xdc: Driver registration complete
TWL4030 GPIO Demux: IRQ Range 376 to 386, Initialization Success
Initialized TWL4030 USB module<5>SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
musb_hdrc: version 2.2a/db-0.5.2/dbg, musb-dma, peripheral, debug=1
musb_platform_resume 171:
3430-resume()<7>HS USB OTG: revision 0x33, sysconfig 0x2015, sysstatus 0x1, intr
fsel 0x1, simenable 0x0
musb_hdrc: USB Peripheral mode controller at c5800000 using DMA, IRQ 92
musb_init_controller 2161: PERIPHERAL mode, status 0, dev80
NET: Registered protocol family 2
Time: 32k_counter clocksource has been installed.
Switched to high resolution mode on CPU 0
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
TCP reno registered
Power Management for TI OMAP.
cpuidle: using driver omap3_idle
create_proc_entry succeeded
create_proc_entry succeeded
NetWinder Floating Point Emulator V0.97 (double precision)
OMAP35x Linux PSP version 1.0.1 (OMAP3EVM)
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler deadline registered
io scheduler cfq registered
omap24xxfb: Options "rotation=90"
omap24xxfb: Rotation rotation=90
Console: switching to colour frame buffer device 80x30
omap24xxfb: fb0 frame buffer device (rotation support)
omap24xxfb: display mode 640x480x16@90 hsync 38kHz vsync 59Hz<6>omap_rng omap_r
ng: OMAP Random Number Generator ver. 70
OMAP Watchdog Timer Rev 0x31: initial timeout 60 sec
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
serial8250.0: ttyS0 at MMIO 0x4806a000 (irq = 72) is a ST16654
serial8250.0: ttyS1 at MMIO 0x4806c000 (irq = 73) is a ST16654
serial8250.0: ttyS2 at MMIO 0x49020000 (irq = 74) is a ST16654
RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize
loop: module loaded
smc911x: Driver version 2007-07-13.
Linux video capture interface: v2.00
omap34xxcam omap34xxcam: sensor is tvp5146
omap34xxcam omap34xxcam: registered device video0
i2c /dev entries driver
OMAP HDQ Hardware Revision 0.5. Driver in interrupt mode.
omap2-nand driver initializing
NAND device: Manufacturer ID: 0x2c, Chip ID: 0xba (Micron NAND 256MiB 1,8V 16-bi
t)
Creating 5 MTD partitions on "omap2-nand.0":
0x00000000-0x00080000 : "X-Loader-NAND"
0x00080000-0x00240000 : "U-Boot-NAND"
0x00240000-0x00280000 : "Boot Env-NAND"
0x00280000-0x00780000 : "Kernel-NAND"
0x00780000-0x10000000 : "File System - NAND"
OMAP2 OneNAND driver initializing
usbmon: debugfs is not available
TLL RESET DONE<7>ehci-omap ehci-omap.0: Entered ULPI PHY MODE: success<6>ehci-o
map ehci-omap.0: OMAP-EHCI Host Controller
ehci-omap ehci-omap.0: new USB bus registered, assigned bus number 1
ehci-omap ehci-omap.0: irq 77, io mem 0x48064800
ehci-omap ehci-omap.0: USB 0.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb1: Product: OMAP-EHCI Host Controller
usb usb1: Manufacturer: Linux 2.6.22.18-omap3 ehci_hcd
usb usb1: SerialNumber: ehci-omap.0
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 3 ports detected
usbcore: registered new interface driver cdc_acm
drivers/usb/class/cdc-acm.c: v0.25:USB Abstract Control Model driver for USB mod
ems and ISDN adapters
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver usbtest
input: omap_twl4030keypad as /class/input/input0
ads7846 spi1.0: touchscreen, irq 335
input: ADS784x Touchscreen as /class/input/input1
usbcore: registered new interface driver usbhid
drivers/hid/usbhid/hid-core.c: v2.6:USB HID core driver
Advanced Linux Sound Architecture Driver Version 1.0.14 (Thu May 31 09:03:25 200
7 UTC).
OMAP3430 TWL4030 Audio Support: Chip Rev[0x2f] Initialized
audio support initialized
usbcore: registered new interface driver snd-usb-audio
ALSA device list:
#0: TWL4030
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
NET: Registered protocol family 15
ieee80211: 802.11 data/management/control stack, git-1.1.13
ieee80211: Copyright (C) 2004-2005 Intel Corporation <jketreno@linux.intel.com>
VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 1
Buffer Size = 3686400
omap24xxvout: registered device video1 [v4l2]
Buffer Size = 3686400
omap24xxvout: registered device video2 [v4l2]
cpuidle: using governor menu
eth0: SMSC911x/921x identified at 0xc5856000, IRQ: 336
eth0: SMSC911x MAC Address: 00:50:c2:7e:80:e5
eth0: link down
IP-Config: Gateway not on directly connected network.
eth0: link up, 100Mbps, full-duplex, lpa 0x8DE1
Empty flash at 0x0ad2cae0 ends at 0x0ad2d000
JFFS2 error: (1) jffs2_build_inode_pass1: child dir "home" (ino #5) of dir ino #
1 appears to be a hard link
VFS: Mounted root (jffs2 filesystem).
Freeing init memory: 140K
Warning: unable to open an initial console.
/sbin/init exit code: -2
/etc/init exit code: -2
/bin/init exit code: -2
/bin/sh exit code: -2
Kernel panic - not syncing: No init found. Try passing init= option to kernel.
*****************************************************************************************************
Any help is very much appreciated.