mxc_nand support on i.MX51

Tiago Maluta tiago.maluta at gmail.com
Tue Feb 22 09:06:05 EST 2011


Hi,

I'm having issues when trying to flash my i.MX51 board with nandwrite
[1]. This topic was previously discussed on u-boot maillist [2] and it
seems that NFC version needed by i.MX51 processor isn't supported yet.
Looking at the code [3] it seems that is already ported [4] but
Freescale code (2.6.35) [5] differs from mainline (mxc_nand.c)
although copyright seems to be more recent. I'm Cc Sascha since he is
driver creator and I'd like to ask if somebody in the list have
problems to flash NAND on i.MX51 boards? By now I can note [6] that
the _same_ u-boot.bin flashed by Freescale proprietary tool (ATK) is
different [purposely changes some bytes from original .bin file] from
flashing by "nandwrite" or even "dd" [7].

[1] nandwrite -p /dev/mtd0 u-boot.bin
[2] http://lists.denx.de/pipermail/u-boot/2011-January/084949.html
[3] http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob;f=drivers/mtd/nand/mxc_nand.c;h=ef932ba55a0b34967a8fcd48a1f6f43d75ad20b3;hb=f5412be599602124d2bdd49947b231dd77c0bf99
[4] 44: #define nfc_is_v3_2()           cpu_is_mx51()
[5] http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=IMX51ANDROID_V92&nodeId=018rH3ZrDR633B&fpsp=1&tab=Design_Tools_Tab
(link Linux 2.6.35 Source Code Files 2010.11 for i.MX51. Engineering
Release)
[6] comparing using u-boot "nand dump 0"
[7] http://farm6.static.flickr.com/5130/5320148028_7da19d3cf2_o.png

Thanks,

--tm



More information about the linux-mtd mailing list