Beaglebone Black Rev.C backup of eMMC failed

Problem:
While fiddling with a Beaglebone Black Rev.C I run into a problem while trying to backup the eMMC content to external SD card. eLinux.org provides a description that I followed. However, when booting from SD card, I got only a short flashing USR0 LED and then a steady one. The resulting backup file BeagleBoneBlack-eMMC-image-XXXXX.img.gz was only 1kB in size with zero content.

For debugging I added the the following lines to autorun.sh:

ls /dev > /mnt/dev.log
dmesg > /mnt/dmesg.log

Tried another backup run and the log files are showing the problem.

bus
console
cpu_dma_latency
full
i2c-0
i2c-1
input
kmem
kmsg
log
loop-control
loop0
loop1
loop2
loop3
loop4
loop5
loop6
loop7
mem
mmcblk0
mmcblk0p1
network_latency
network_throughput
null
psaux

In the /dev log, mmcblk1 is missing, that means the eMMC is no present to the system.

[    0.866110] bone-capemgr bone_capemgr.9: Baseboard: 'A335BNLT,00C0,4815BBBK0B98'
[    0.866136] bone-capemgr bone_capemgr.9: compatible-baseboard=ti,beaglebone-black
[    0.866181] bone-capemgr bone_capemgr.9: Skipping disabled cape with part# BB-BONELT-HDMI
[    0.866233] bone-capemgr bone_capemgr.9: Skipping disabled cape with part# BB-BONELT-HDMIN
[    0.893780] bone-capemgr bone_capemgr.9: slot #0: No cape found
[    0.930888] bone-capemgr bone_capemgr.9: slot #1: No cape found
[    0.967995] bone-capemgr bone_capemgr.9: slot #2: No cape found
[    0.998180] bone-capemgr bone_capemgr.9: slot #3: '4D 4.3 LCD CAPE-4DCAPE-43T+CAN1,00A0,MICTRONICS,BB-LCD4-CAN'
[    0.998294] bone-capemgr bone_capemgr.9: slot #4: specific override
[    0.998319] bone-capemgr bone_capemgr.9: bone: Using override eeprom data at slot 4
[    0.998335] bone-capemgr bone_capemgr.9: slot #4: 'Bone-LT-eMMC-2G,00A0,Texas Instrument,BB-BONE-EMMC-2G'
[    0.998410] bone-capemgr bone_capemgr.9: slot #5: specific override
[    0.998432] bone-capemgr bone_capemgr.9: bone: Using override eeprom data at slot 5
[    0.998448] bone-capemgr bone_capemgr.9: slot #5: 'Bone-Black-HDMI,00A0,Texas Instrument,BB-BONELT-HDMI'
[    0.998525] bone-capemgr bone_capemgr.9: slot #6: specific override
[    0.998546] bone-capemgr bone_capemgr.9: bone: Using override eeprom data at slot 6
[    0.998562] bone-capemgr bone_capemgr.9: slot #6: 'Bone-Black-HDMIN,00A0,Texas Instrument,BB-BONELT-HDMIN'
[    0.998724] bone-capemgr bone_capemgr.9: Skipping loading of disabled cape with part# BB-BONELT-HDMI
[    0.998739] bone-capemgr bone_capemgr.9: Skipping loading of disabled cape with part# BB-BONELT-HDMIN
[    0.998944] bone-capemgr bone_capemgr.9: initialized OK.
[    1.000152] OneNAND driver initializing
[    1.001010] usbcore: registered new interface driver asix
[    1.001090] usbcore: registered new interface driver cdc_ether
[    1.001163] usbcore: registered new interface driver smsc95xx
[    1.001261] bone-capemgr bone_capemgr.9: slot #3: Requesting part number/version based 'BB-LCD4-CAN-00A0.dtbo
[    1.001281] bone-capemgr bone_capemgr.9: slot #3: Requesting firmware 'BB-LCD4-CAN-00A0.dtbo' for board-name '4D 4.3 LCD CAPE-4DCAPE-43T+CAN1', version '00A0'
[    1.001592] usbcore: registered new interface driver net1080
[    1.001651] usbcore: registered new interface driver cdc_subset
[    1.001701] usbcore: registered new interface driver zaurus
[    1.001806] usbcore: registered new interface driver cdc_ncm
[    1.002306] usbcore: registered new interface driver cdc_acm
[    1.002316] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[    1.002324] Initializing USB Mass Storage driver...
[    1.002394] usbcore: registered new interface driver usb-storage
[    1.002402] USB Mass Storage support registered.
[    1.002519] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)
[    1.002777] musb-hdrc musb-hdrc.0.auto: pdev->id = 0
[    1.002794] musb-hdrc musb-hdrc.0.auto: drivers/usb/musb/musb_dsps.c:468 dsps_musb_init: OK
[    1.002819] musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
[    1.002831] musb-hdrc: MHDRC RTL version 2.0
[    1.002840] musb-hdrc: setup fifo_mode 4
[    1.002857] musb-hdrc: 28/31 max ep, 16384/16384 memory
[    1.002946] musb-hdrc musb-hdrc.0.auto: *** mode=3
[    1.002958] musb-hdrc musb-hdrc.0.auto: *** power=250
[    1.003518] musb-hdrc musb-hdrc.1.auto: pdev->id = 1
[    1.003534] musb-hdrc musb-hdrc.1.auto: drivers/usb/musb/musb_dsps.c:468 dsps_musb_init: OK

In the dmesg log I noticed that the eMMC gets detected as cape in slot #4 but the firmware loading was never requested. (Compare with solution on next page). So without firmware the eMMC is not accessible by the system and therefore no backup possible.

Leave a Reply

Your email address will not be published. Required fields are marked *

Comments will be moderated! Spam deleted immediately!
Before you submit form:
Human test by Not Captcha