Where to change the jffs2 erase block size and page size in the freescale yocto SDK?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Where to change the jffs2 erase block size and page size in the freescale yocto SDK?

跳至解决方案
4,731 次查看
alfonsokame
Contributor III

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

标签 (1)
标记 (2)
1 解答
2,405 次查看
soojinlee
Contributor I

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

在原帖中查看解决方案

0 项奖励
回复
3 回复数
2,406 次查看
soojinlee
Contributor I

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

0 项奖励
回复
2,404 次查看
lunminliang
NXP Employee
NXP Employee

Try to change the "JFFS2_ERASEBLOCK = "0x..."" in meta-fsl-ppc/conf/machine/p2020rdb(your board).conf.

2,404 次查看
alfonsokame
Contributor III

Thanks!

0 项奖励
回复