I am using DM365 EVM,and i would operate my linux OS in ramdisk. I am using flash binaries from PSP_02_10_00_14/examples/mtd-utils-v1.1-lsp200 But i cannot clean my filesystem only by following command. "flash_eraseall /dev/mtd3" (For erase kernal only , flash_eraseall /dev/mtd2 , it's ok!)
So i trace it , and modify my nand partition by editting /arch/arm/mach-davinci/board-dm365-evm.c the boot infomation is: Creating 5 MTD partitions on "nand_davinci.0": 0x00000000-0x00780000 : "bootloader" 0x00780000-0x00800000 : "params" 0x00800000-0x00c00000 : "kernel" 0x00c00000-0x04c00000 : "filesystem1" mtd: partition "filesystem1" extends beyond the end of device "nand_davinci.0" -- size truncated to 0x3400000 0x04c00000-0x04000000 : "filesystem2" mtd: partition "filesystem2" is out of reach -- disabled (1) Partition for the filesystem is downsize to 32MB , still with the same problem) (2) My boot argument is assigned 128MB for linux After booting , i check my mtd information by cat /proc/mtd dev: size erasesize name mtd0: 00780000 00004000 "bootloader" mtd1: 00080000 00004000 "params" mtd2: 00400000 00004000 "kernel" mtd3: 03400000 00004000 "filesystem1" mtd4: 00000000 00004000 "filesystem2" mtd5: 00002000 00000010 "spi_eeprom" Is it the reason why my flash_eraseall -j /dev/mtd3 is always clean ALL my nand??? Could someone give me a hand? ___________________________________________________ 您的生活即時通 - 溝通、娛樂、生活、工作一次搞定! http://messenger.yahoo.com.tw/ _______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
