On 11/21/10 11:29 PM, Ghorai, Sukumar wrote: >> The board (Mistral AM37x) NAND (Micron 256 MiB) was originally >> bootstrapped >> over SD/MMC from u-boot using the following script: > > [Ghorai] let me know the nand details - x8/x16, small/big page? It's the Micron 256 MiB x16 2 KiB page size, 128 KiB erase block size device on the Mistral AM37x board. >> fatload mmc 0 ${loadaddr} root.jff > > [Ghorai] How you create the root.jff > mkfs.jffs2 --output=root.jffs2 --root=.. --pagesize=?? --eraseblock=?? -n % mkfs.jffs2 --little-endian --no-cleanmarkers --pad 2048 --pagesize 2048 --eraseblock 131072 -d /tmp/tmp.h9dKGpcNFw -D root.devices -o root.jffs2 >> nand write.i ${loadaddr} 0x00c00000 0x2000000 >> nand write.i ${loadaddr} 0x04200000 0x2000000 > > [Ghorai] why you writing in two places? Redundant images. >> Following that, the board is updated, from Linux, using 'flash_eraseall - >> q' >> and 'nandwrite -p -q' on all partitions, except that containing MLO. > [Ghorai] > > 1. can you send the exact comment you used to write in nand? Which partition? flash_eraseall -q /dev/mtd7 nandwrite -p -q /dev/mtd7 root.jffs2 flash_eraseal -q /dev/mtd9 nandwrite -p -q /dev/mtd9 root.jffs2 > 2. What is the last kernel you used and was working perfectly? v2.6.32_OMAPPSP_03.00.01.06.patch1 Best, Grant -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html