Hi Siegfried,

On 24/06/11 21:36, Siegfried Müller - MB Connect Line GmbH wrote:
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?

That is going from a 2.6.17 kernel to a 2.6.26. And a diff of the
fs/jffs2 in each is kinda large.

What type of flash is this board using?  From the erase sizes I am
guessing some type of intel strata flash?  Is it a J3 or P30 type?

Regards
Greg


------------------------------------------------------------------------
Greg Ungerer  --  Principal Engineer        EMAIL:     g...@snapgear.com
SnapGear Group, McAfee                      PHONE:       +61 7 3435 2888
8 Gardner Close                             FAX:         +61 7 3217 5323
Milton, QLD, 4064, Australia                WEB: http://www.SnapGear.com
_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to