Dataflash on IMX51 EVK?

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

Dataflash on IMX51 EVK?

1,091 次查看
N_Coesel
Contributor III

Has anyone ever used the dataflash (AT45DB321) on the IMX51 EVK board?

I have derived my own board from the EVK design but I can't get the dataflash to work as a JFFS2 filesystem. I already discovered (and corrected) a fatal flaw in mxc_dataflash.c but I'm wondering how many more problems there are.

标记 (1)
0 项奖励
回复
2 回复数

1,011 次查看
N_Coesel
Contributor III

I'm not using it as a boot device. It seems I can read/write using mtd_debug but when I try to mount it I get a lot of messages like:

Newly-erased block contained word 0x20031985 at offset 0x00277200

The value after word is always the same. When I dump the flash around 0x00277200 I see it is empty. I think it is some race condition between the PMIC and the flash using the same SPI interface.

When I try to modify a file, the JFFS2 kernel driver produces a kernel bug originating from wbuf.c.

I'm using kernel version 2.6.35.5.

0 项奖励
回复

1,011 次查看
DualDisplayiss1
Contributor I

can you r/w in u-boot?

eric@campro-cctv.com

0 项奖励
回复