Hi, I decided to try flashing those yaffs2 images to my porting device instead of testing from SD card. May I know what's the correct way to flash it, using mtd-utils?
After erasing the mtd partition I've tried to flash using `nandwrite -a -o /dev/mtd-of-system system.img` (auto-place oob and write oob) with mtd-utils version 1.4.9, but after that all the blocks it has written became "bad eraseblock". Luckily I can reformat it to remove the bad block flag. I've also tried to build the `flash_image` tool from the AOSP, but after writing the images it simply cannot mount (not exactly "cannot", but all files are missing and cannot write any files to it). The only workable way is to manually create tarballs, erase flash, mount and extract the tarballs to it. May I ask if there is any standard command (for Linux) that can successfully write the yaffs2 images? Thanks, Alvin Wong -- unsubscribe: [email protected] website: http://groups.google.com/group/android-porting
