Hi,
Im struggling to find a way to change the jffs2 erase block size and page size in the freescale yocto SDK.
I have to do that because when I boot the kernel image from nand Flash, i get :
jffs2_scan_eraseblock(): magic bitmask 0x1985...
Any idea?
Many thanks
已解决! 转到解答。
I'm solved
I changed
./ltib -m config
Target Image Generation > Options > selected Target image: jffs2
(128) jffs2 erase block size in KB (org : (512) jffs2 erase block size in KB )
(2) Page size (max data node size)(Kbytes) (org: (4) Page size (max data node size)(Kbytes) )
My Nand driver setting checked
> mtdinfo -a
..
Eraseblock size: 131072 bytes, 128.0 KiB
....
Sub-page size: 2048 bytes
good bye
I'm solved
I changed
./ltib -m config
Target Image Generation > Options > selected Target image: jffs2
(128) jffs2 erase block size in KB (org : (512) jffs2 erase block size in KB )
(2) Page size (max data node size)(Kbytes) (org: (4) Page size (max data node size)(Kbytes) )
My Nand driver setting checked
> mtdinfo -a
..
Eraseblock size: 131072 bytes, 128.0 KiB
....
Sub-page size: 2048 bytes
good bye