mtd partitions in u-boot
With the recent merge of mtdparts patch for beagleboard u-boot Texas Instruments X-Loader 1.4.2 (Jan 30 2009 - 19:16:17) Loading u-boot.bin from nand U-Boot 2009.03-00325-gf75a729 (Apr 09 2009 - 13:36:05) OMAP3530-GP rev 2, CPU-OPP2 L3-165MHz OMAP3 Beagle board + LPDDR/NAND DRAM: 256 MB NAND: 256 MiB In: serial Out: serial Err: serial Board revision C Die ID #0a8600030000000004013f780600a00e OMAP3 beagleboard.org # you can now do cool things without having to remember the offsets of which partition was where.... (lets say you want to copy the kernel to nand flash) Step1: setup the partitions OMAP3 beagleboard.org # mtdparts default Step 2: erase the nand flash for kernel partition OMAP3 beagleboard.org # nand erase kernel NAND erase: device 0 offset 0x280000, size 0x400000 Erasing at 0x660000 -- 100% complete. OK Step 3: copy the kernel from RAM to the kernel partition in nand flash: OMAP3 beagleboard.org # nand write 0x80000000 kernel NAND write: device 0 offset 0x280000, si...