cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
ariels1
Observer
Observer
3,634 Views
Registered: ‎07-22-2013

mount mtdblock Error when booting from flash witj linux 3.8

Jump to solution

hi,

 

we use zc702.

 

on flash we have:

 

zynq>uname -mrs 

Linux 3.8.0-xilinx-dirty armv7l

 

we set the flash mtd4  to jffs2.

doing:

zynq> mount -t jffs2 /dev/mtdblock4 testmnt

gives those ERRORs:

jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000000f8: 0x19d4 instead
jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000000fc: 0x002e instead
jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000100: 0x9ed4 instead
jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000104: 0x0002 instead

ETC...

 

doing the same when boot from SD with

zynq>uname -mrs 

Linux 3.5.0-14.3-build2-25242-gd274001 armv7l

 

works fine.

 

if someone can help ,

we'll be gratefull.

thanks in advance

 

best regards

 

ari.

 

p.s

the same device tree is used in both SD and flash. 

 

partition@qspi-fsbl-uboot {
label = "qspi-fsbl-uboot-bitstream";
reg = <0x0 0x600000>;
};
partition@qspi-linux {
label = "qspi-linux";
reg = <0x600000 0x400000>;
};
partition@qspi-device-tree {
label = "qspi-device-tree";
reg = <0xA00000 0x20000>;
};
partition@qspi-ramdisk {
label = "qspi-ramdisk";
reg = <0xA20000 0x2E0000>;
};
partition@qspi-scratch {
label = "qspi-scratch";
reg = <0xD00000 0x300000>;
};

 

 

0 Kudos
1 Solution

Accepted Solutions
milosoftware
Scholar
Scholar
4,576 Views
Registered: ‎10-26-2012

MTD with the qspi flash driver was broken for a while in the 3.8 version of the Xilinx kernel, the current version (3.9) in the Xilinx git works fine once more. I'd suggest upgrading to the current master and try again. The newer versions will also let you use more than 16MB if you have it (e.g. the zedboard).

View solution in original post

0 Kudos
3 Replies
ariels1
Observer
Observer
3,631 Views
Registered: ‎07-22-2013

using 

Linux 3.0.0-14.1-build3 armv7l

 

on the flash works fine too.

 

so something not working well with  3.8 ..

 

any suggestions?

 

thanks.

0 Kudos
milosoftware
Scholar
Scholar
4,577 Views
Registered: ‎10-26-2012

MTD with the qspi flash driver was broken for a while in the 3.8 version of the Xilinx kernel, the current version (3.9) in the Xilinx git works fine once more. I'd suggest upgrading to the current master and try again. The newer versions will also let you use more than 16MB if you have it (e.g. the zedboard).

View solution in original post

0 Kudos
ariels1
Observer
Observer
3,612 Views
Registered: ‎07-22-2013
thanks..
we will..

is there a place where i can see all those bugs ?

best regards

ari
0 Kudos