How to recovery after disable eMMC in uEnv.txt

721 views
Skip to first unread message

huey...@gmail.com

unread,
Jul 19, 2015, 7:33:38 AM7/19/15
to beagl...@googlegroups.com
I uncorrectly disable eMMC in my Beaglebone Black Rev. C by following steps:

1. Mount the FAT partition:

   $ mount /dev/mmcblk0p1  /mnt/card

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

   $ nano /mnt/card/uEnv.txt

3. 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?

qiu.w...@gmail.com

unread,
Jul 20, 2016, 2:26:14 AM7/20/16
to BeagleBoard
Hi 
I got the same problem. Have you solved it?

Wally Bkg

unread,
Jul 20, 2016, 3:27:58 PM7/20/16
to BeagleBoard

Have you tried downloading an image from beagleboard.org and writing it to an microSD card and booting from that?  I recommend the etcher utility for writing the SD card.  Any of the images should work.

Once you've booted the SD card you can mount the eMMC with:

sudo mkdir /mnt/emmc
sudo mount  /dev/mmcblk1p1 /mnt/emmc


And edit the uEnv.txt file in the eMMC:

sudo nano /mnt/emmc/uEnv.txt

If you've correctly fixed the uEnv.txt file, shutdown, remove the SD card and you should be able to boot from the eMMC again.

Newer images create only a single partition, and use a "virtual MSDOS partition" and only a single partition.  I prefer the new arrangement.
Reply all
Reply to author
Forward
0 new messages