I uncorrectly disable eMMC in my Beaglebone Black Rev. C by following steps:
- Mount the FAT partition:
$ mount /dev/mmcblk0p1 /mnt/card
- Edit the uEnv.txt on the mounted partition:
$ nano /mnt/card/uEnv.txt
- Enable following line in uEnv.txt
optargs=capemgr.disable_partno=BB-BONELT-HDMI,BB-BONELT-HDMIN,BB-BONE-EMMC-2G
Then I can not boot again, following message show on screen:
[ 0.741541] omap_hsmmc mmc.5: of_parse_phandle_with_args of ‘reset’ failed
then I boot into
Busybox v1.20.2 (Debian 1:1.20.0-7) built-in shell (ash)
Enter ‘help’ for a list of built-in commands.
/bin/sh: can’t access tty; job control turned off
(initramfs)
Since there is no /dev/mmcblk0p1 now, I can not mount it and edit uEnv.txt again.
Then how can I recovery my eMMC from this point?