Recovery eMMC after disable it uEnv.txt

Hi all,

I incorrectly disable the eMMC on my BeagleBone Blacnk Rev. C by following steps:

    1. Mount the FAT partition:

$ mount /dev/mmcblk0p1 /mnt/card

  1. Edit the uEnv.txt on the mounted partition:

$ nano /mnt/card/uEnv.txt

  1. Enable following line in uEnv.txt

optargs=capemgr.disable_partno=BB-BONELT-HDMI,BB-BONELT-HDMIN,BB-BONE-EMMC-2G

Then I can not reboot into normal command line, following message show on screen:

[ 0.741541] omap_hsmmc mmc.5: of_parse_phandle_with_args of ‘reset’ failed

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/mmcblk0p now, I can not mount it and edit uEnv.txt again.

How can I recovery my eMMC from this point?

Thanks in advanced for any answer.