On 03/31/2011 06:35 PM, Sebastien Bourdeauducq wrote: > On Thu, 2011-03-31 at 14:21 +0800, Xiangfu Liu wrote: >> the *strange* thing is after flash the /dev/flash5 not change.d. >> all those *.png file still there . >> >> any feedback will be great. > > IMO you are not placing the chunks correctly, since we use a special > placement scheme that isn't implemented anywhere else in YAFFS and I do > not see code for this in your patch.
I just test the flash a empty file to /dev/flash5: 1. $ dd if=/dev/zero of=./m1.flash5.bin bs=528 count=10240 10240+0 records in 10240+0 records out 5406720 bytes (5.4 MB) copied, 0.0394783 s, 137 MB/s 2. $ more flash.flash5 cable milkymist detect instruction CFG_OUT 000100 BYPASS instruction CFG_IN 000101 BYPASS pld load fjmem.bit initbus fjmem opcode=000010 frequency 6000000 detectflash 0 endian big flashmem 0xD20000 m1.flash5.bin noverify 3. jtag flash.flash5 4. after reflash. reboot milkymist one. my 12 screenshots, sysconfig.bin, wallpaper.png still there. it should be an empty partition after reflash, right? how can I debug more into flashmem? _______________________________________________ http://lists.milkymist.org/listinfo.cgi/devel-milkymist.org IRC: #milkymist@Freenode Twitter: www.twitter.com/milkymistvj Ideas? http://milkymist.uservoice.com
