按照643757107给出的方法测试,结果如下:
TIM08 U-Boot $ mmc dev 3
mmc3(part 0) is current device
TIM08 U-Boot $ mmc erase 0 20000
MMC erase: dev # 3, block # 0, count 131072 ... 131072 blocks erase: OK
我的emmc设备使用了3口。貌似擦除成功。
从新启动之后,uboot任然可以启动,但是无法引导核心启动了,貌似进入到fastboot烧写模式。启动信息如下:
Hit any key to stop autoboot: 0
booti: device don't have such partition:boot
fastboot is in init......flash target is MMC:3
Bad partition index:1 for partition:boot
Bad partition index:2 for partition:recovery
Bad partition index:5 for partition:system
USB Mini b cable Connected!
fastboot initialized
USB_SUSPEND
USB_RESET
USB_RESET
##### EmbedSky BIOS for E9 #####
Hit any key to stop autoboot: 0
booti: device don't have such partition:boot
fastboot is in init......flash target is MMC:3
Bad partition index:1 for partition:boot
Bad partition index:2 for partition:recovery
Bad partition index:5 for partition:system
USB Mini b cable Connected!
fastboot initialized
USB_SUSPEND