[uClinux-dev] dont get jffs2 formated on snapgear4.0.7

Siegfried Müller - MB Connect Line GmbH mueller at mbconnectline.de
Fri Jun 24 07:36:40 EDT 2011


Hi,

I'm trying to get jffs2 running on snapgear4.0.7. I have an IXP430 with Intel Strataflash. The configuration is very similar to the montajade board and IXPDG425, but with IXP430. I fixed now to run the snapgear4.0.7 with this hardware, but the only thing is the jffs filesystem. I have:

# cat /proc/mtd                                                                 
dev:    size   erasesize  name                                                  
mtd0: 00080000 00020000 "RedBoot"                                               
mtd1: 00c80000 00020000 "Image"                                                 
mtd2: 00300000 00020000 "zImage"                                                
mtd3: 00980000 00020000 "ramdisk"                                               
mtd4: 002c0000 00020000 "s600"                                                  
mtd5: 00001000 00020000 "RedBoot config"                                        
mtd6: 00020000 00020000 "FIS directory"

"s600" is my config fs, which I want to mount on /etc/config with jffs2.

I do:

# eraseall /dev/flash/config                                                    
Erased 2816 Kibyte @ 0 -- 100% complete.                                        

# mount -t jffs2 /dev/flash/configblock /etc/config

I get this messages...
--snipp
Further such events for this erase block will not be printed                    
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000c0000: 0x0080 id
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000c0004: 0x0080 id
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000c0008: 0x0080 id
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000c000c: 0x0080 id
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000c0010: 0x0080 id
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000c0014: 0x0080 id
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000c0018: 0x0080 id
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000c001c: 0x0080 id
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000c0020: 0x0080 id
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000c0024: 0x0080 id --snipp

I already goggled a lot of this issue, but don't solved it.
What I can say, it that I also have a image with snapgear3.4 and this IXP430 and there I get everything running. But I cant this version, because there are also a few other things in SG3.4 what are not ready for this IXP430.
But in anycase, if I first start the image with SG3.4 on this hardware, I'm able to mount the /etc/config and read/write. When I then start the image with SG4.0.7 I can also read/write. So I guess it couldn't be the hardware, it must be something in the changes of jffs2 from SG3.4 to SG4.0.7.

Does anyone has an idea?
thanks for all help
regards Siegfried
                  



More information about the uClinux-dev mailing list