I am trying to mount my file system jffs2 from Nor flash (WEIM Bus) in linux 3.7-rc4.
I am able to access NOR flash from uboot and write the images at partitions mentioned in below log.
Following command is used to build a jffs2 image.
mkfs.jffs2 -e 128 -l -n -r rootfs -v -o test.jffs2
File system fails to boot after kernel has come up.
Please refer to the below error log.
Please suggest.
jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
fuse init (API version 7.20)
msgmni has been set to 3525
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
imx-sdma 20ec000.sdma: initialized
Serial: IMX driver
21f0000.serial: ttymxc3 at MMIO 0x21f0000 (irq = 61) is a IMX
console [ttymxc3] enabled
brd: module loaded
loop: module loaded
8000000.nor_flash: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x000001 Chip ID 0x002801
NOR chip too large to fit in mapping. Attempting to cope...
Amd/Fujitsu Extended Query Table at 0x0040
Amd/Fujitsu Extended Query version 1.5.
number of CFI chips: 1
Reducing visibility of 131072KiB chip to 64512KiB
7 ofpart partitions found on MTD device 8000000.nor_flash
Creating 7 MTD partitions on "8000000.nor_flash":
0x000000000000-0x000000080000 : "bootloader"
0x000000080000-0x0000000a0000 : "environment"
0x0000000a0000-0x0000000c0000 : "redundant-environment"
0x0000000c0000-0x0000004c0000 : "kernel"
0x0000004c0000-0x000002cc0000 : "filesystem"
0x000002cc0000-0x000002ce0000 : "devicetree"
0x000002ce0000-0x0000036e0000 : "user_space"
mousedev: PS/2 mouse device common for all mice
i2c /dev entries driver
TCP: cubic registered
NET: Registered protocol family 17
NET: Registered protocol family 33
Key type rxrpc registered
Key type rxrpc_s registered
Key type dns_resolver registered
VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
jffs2: jffs2_scan_eraseblock(): Node at 0x00000000 {0x1985, 0xe001, 0x0000002b) has invalid CRC 0x7d266ce6 (calculated 0x7d266ee6)
jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000004: 0x002b instead
jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000008: 0x6ce6 instead
jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000000c: 0x0001 instead
jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000014: 0x0002 instead
jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000018: 0x5192 instead
jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000001c: 0x0403 instead
jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000020: 0x10a3 instead
jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000024: 0x81ff instead
jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000028: 0x6962 instead