Dataflash on IMX51 EVK?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Dataflash on IMX51 EVK?

759 Views
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.

Tags (1)
0 Kudos
Reply
2 Replies

679 Views
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 Kudos
Reply

679 Views
DualDisplayiss1
Contributor I

can you r/w in u-boot?

eric@campro-cctv.com

0 Kudos
Reply