3.8.13 - Cannot flash Beaglebone Black

Hello, Many years ago, we have created our own flaser image for the Beaglebone Black. When the engineer is going to program it in the factory we never have a problem, until a few weeks ago. Now I have four Beaglebones on my desk witch I cannot program. Of course, I push the user button when power up and I tried different CD cards to be sure the SD card is not broken. After a few seconds, the Beaglebone stops responding (terminal freezes) and user LED D4 burns, the rest is off (except power LED D1).
Here is the debug log of a (non working) Beaglebone.

U-Boot 2013.04-dirty (Oct 09 2017 - 06:41:40)
I2C: ready
DRAM: 512 MiB
WARNING: Caches not enabled
NAND: No NAND device found!!!
0 MiB
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
*** Warning - readenv() failed, using default environment
musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, HB-ISO Rx, HB-ISO Tx, SoftConn)
musb-hdrc: MHDRC RTL version 2.0
musb-hdrc: setup fifo_mode 4
musb-hdrc: 28/31 max ep, 16384/16384 memory
USB Peripheral mode controller at 47401000 using PIO, IRQ 0
musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, HB-ISO Rx, HB-ISO Tx, SoftConn)
musb-hdrc: MHDRC RTL version 2.0
musb-hdrc: setup fifo_mode 4
musb-hdrc: 28/31 max ep, 16384/16384 memory
USB Host mode controller at 47401800 using PIO, IRQ 0
Net: not set. Validating first E-fuse MAC
cpsw, usb_ether
Hit any key to stop autoboot: 0
gpio: pin 53 (gpio 53) value is 1
mmc0 is current device
micro SD card found
mmc0 is current device
gpio: pin 54 (gpio 54) value is 1
SD/MMC found on device 0
reading uEnv.txt
** Unable to read file uEnv.txt **
gpio: pin 55 (gpio 55) value is 1
4391432 bytes read in 602 ms (7 MiB/s)
gpio: pin 56 (gpio 56) value is 1
24884 bytes read in 27 ms (899.4 KiB/s)
Booting from mmc …
Booting kernel from Legacy Image at 80007fc0 …
Image Name: Angstrom/3.8.13/beaglebone
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 4391368 Bytes = 4.2 MiB
Load Address: 80008000
Entry Point: 80008000
Verifying Checksum … OK
Flattened Device Tree blob at 80f80000
Booting using the fdt blob at 0x80f80000
XIP Kernel Image … OK
OK
Using Device Tree in place at 80f80000, end 80f89133
Starting kernel …
Uncompressing Linux… done, booting the kernel.
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Linux version 3.8.13 (yocto@6d093f821622) (gcc version 4.7.3 20130205 (prerelease) (Linaro GCC 4.7-2013.02-01) ) #1 SMP Mon Oct 9 06:49:34 UTC 2017
[ 0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=50c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] Machine: Generic AM33XX (Flattened Device Tree), model: TI AM335x BeagleBone
[ 0.000000] Memory policy: ECC disabled, Data cache writeback
[ 0.000000] AM335X ES1.0 (neon )
[ 0.000000] PERCPU: Embedded 8 pages/cpu @c0b32000 s9408 r8192 d15168 u32768
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 129792
[ 0.000000] Kernel command line: console=ttyO0,115200n8 root=/dev/mmcblk0p2 ro rootfstype=ext4 rootwait
[ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] __ex_table already sorted, skipping sort
[ 0.000000] allocated 1048576 bytes of page_cgroup
[ 0.000000] please try ‘cgroup_disable=memory’ option if you don’t want memory cgroups
[ 0.000000] Memory: 511MB = 511MB total
[ 0.000000] Memory: 510304k/510304k available, 13984k reserved, 0K highmem
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
[ 0.000000] vmalloc : 0xe0800000 - 0xff000000 ( 488 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xe0000000 ( 512 MB)
[ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
[ 0.000000] modules : 0xbf800000 - 0xbfe00000 ( 6 MB)
[ 0.000000] .text : 0xc0008000 - 0xc060ec18 (6172 kB)
[ 0.000000] .init : 0xc060f000 - 0xc06514c0 ( 266 kB)
[ 0.000000] .data : 0xc0652000 - 0xc06c79a0 ( 471 kB)
[ 0.000000] .bss : 0xc06c79a0 - 0xc072173c ( 360 kB)
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=1.
[ 0.000000] NR_IRQS:16 nr_irqs:16 16
[ 0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
[ 0.000000] Total of 128 interrupts on 1 active controller
[ 0.000000] OMAP clockevent source: GPTIMER1 at 24000000 Hz
[ 0.000000] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms
[ 0.000000] OMAP clocksource: GPTIMER2 at 24000000 Hz
[ 0.000000] Console: colour dummy device 80x30
[ 0.000356] Calibrating delay loop… 545.07 BogoMIPS (lpj=531968)
[ 0.015421] pid_max: default: 32768 minimum: 301
[ 0.015658] Security Framework initialized
[ 0.015751] Mount-cache hash table entries: 512
[ 0.026234] Initializing cgroup subsys cpuacct
[ 0.026267] Initializing cgroup subsys memory
[ 0.026332] Initializing cgroup subsys blkio
[ 0.026472] CPU: Testing write buffer coherency: ok
[ 0.027006] CPU0: thread -1, cpu 0, socket -1, mpidr 0
[ 0.027083] Setting up static identity map for 0x8038a5a0 - 0x8038a5ec
[ 0.028452] Brought up 1 CPUs
[ 0.028477] SMP: Total of 1 processors activated (545.07 BogoMIPS).
[ 0.029770] devtmpfs: initialized
[ 0.094410] pinctrl core: initialized pinctrl subsystem
[ 0.094620] rstctl core: initialized rstctl subsystem
[ 0.095119] regulator-dummy: no parameters
[ 0.095694] NET: Registered protocol family 16
[ 0.096507] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.106572] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
[ 0.107385] platform 49000000.edma: alias fck already exists
[ 0.107418] platform 49000000.edma: alias fck already exists
[ 0.107445] platform 49000000.edma: alias fck already exists
[ 0.108768] OMAP GPIO hardware version 0.1
[ 0.113458] gpio-rctrl rstctl.4: loaded OK
[ 0.119027] hw-breakpoint: debug architecture 0x4 unsupported.
[ 0.121161] cpsw.0: No hwaddr in dt. Using 18:2c:65:2a:a5:c5 from efuse
[ 0.121194] cpsw.1: No hwaddr in dt. Using 18:2c:65:2a:a5:c7 from efuse
[ 0.136563] bio: create slab at 0
[ 0.148620] edma-dma-engine edma-dma-engine.0: TI EDMA DMA engine driver
[ 0.149063] vmmcsd_fixed: 3300 mV
[ 0.151837] SCSI subsystem initialized
[ 0.152312] usbcore: registered new interface driver usbfs
[ 0.152424] usbcore: registered new interface driver hub
[ 0.152693] usbcore: registered new device driver usb
[ 0.154751] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
[ 0.156283] input: tps65217_pwr_but as /devices/ocp.3/44e0b000.i2c/i2c-0/0-0024/input/input0
[ 0.158495] DCDC1: at 1500 mV
[ 0.159645] vdd_mpu: 925 ↔ 1325 mV at 1100 mV
[ 0.160828] vdd_core: 925 ↔ 1150 mV at 1100 mV
[ 0.161972] LDO1: at 1800 mV
[ 0.163065] LDO2: at 3300 mV
[ 0.164996] LDO3: 1800 mV
[ 0.166140] LDO4: at 3300 mV
[ 0.167145] tps65217 0-0024: TPS65217 ID 0xe version 1.2
[ 0.167906] omap_i2c 44e0b000.i2c: unable to select pin group
[ 0.168637] omap_i2c 4819c000.i2c: bus 1 rev0.11 at 100 kHz
[ 0.170962] omap_i2c 4819c000.i2c: unable to select pin group
[ 0.171182] media: Linux media interface: v0.10
[ 0.171285] Linux video capture interface: v2.00
[ 0.171427] pps_core: LinuxPPS API ver. 1 registered
[ 0.171445] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti giometti@linux.it
[ 0.172249] Advanced Linux Sound Architecture Driver Initialized.
[ 0.173487] Switching to clocksource gp_timer
[ 0.191588] NET: Registered protocol family 2
[ 0.192580] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.192725] TCP bind hash table entries: 4096 (order: 4, 81920 bytes)
[ 0.192887] TCP: Hash tables configured (established 4096 bind 4096)
[ 0.192978] TCP: reno registered
[ 0.193006] UDP hash table entries: 256 (order: 1, 12288 bytes)
[ 0.193052] UDP-Lite hash table entries: 256 (order: 1, 12288 bytes)
[ 0.193537] NET: Registered protocol family 1
[ 0.194081] RPC: Registered named UNIX socket transport module.
[ 0.194101] RPC: Registered udp transport module.
[ 0.194115] RPC: Registered tcp transport module.
[ 0.194129] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.194851] hw perfevents: enabled with ARMv7 Cortex-A8 PMU driver, 5 counters available
[ 0.195393] CPU PMU: attempt to register multiple PMU devices!
[ 0.195434] arm-pmu: probe of arm-pmu failed with error -28
[ 0.195821] omap2_mbox_probe: platform not supported
[ 0.199669] VFS: Disk quotas dquot_6.5.2
[ 0.199899] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.201282] NFS: Registering the id_resolver key type
[ 0.201374] Key type id_resolver registered
[ 0.201391] Key type id_legacy registered
[ 0.201456] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc.
[ 0.201897] msgmni has been set to 996
[ 0.204722] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[ 0.204749] io scheduler noop registered
[ 0.204765] io scheduler deadline registered
[ 0.204878] io scheduler cfq registered (default)
[ 0.206530] tps65217-bl tps65217-bl: no platform data provided
[ 0.206571] tps65217-bl: probe of tps65217-bl failed with error -22
[ 0.207555] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 0.210099] omap_uart 44e09000.serial: did not get pins for uart0 error: -19
[ 0.210381] 44e09000.serial: ttyO0 at MMIO 0x44e09000 (irq = 88) is a OMAP UART0
[ 0.924486] console [ttyO0] enabled
[ 0.929375] [drm] Initialized drm 1.1.0 20060810
[ 0.947930] brd: module loaded
[ 0.958114] loop: module loaded
[ 0.961567] at24 0-0050: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[ 0.968854] at24 1-0054: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[ 0.976130] at24 1-0055: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[ 0.983405] at24 1-0056: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[ 0.990676] at24 1-0057: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[ 1.004974] bone-capemgr bone_capemgr.9: Baseboard: ‘A335BNLT,00C0,2336SBB09277’
[ 1.012768] bone-capemgr bone_capemgr.9: compatible-baseboard=ti,beaglebone-black
[ 1.050570] bone-capemgr bone_capemgr.9: slot #0: No cape found
[ 1.087672] bone-capemgr bone_capemgr.9: slot #1: No cape found
[ 1.124781] bone-capemgr bone_capemgr.9: slot #2: No cape found
[ 1.161890] bone-capemgr bone_capemgr.9: slot #3: No cape found
[ 1.168149] bone-capemgr bone_capemgr.9: slot #4: specific override
[ 1.174755] bone-capemgr bone_capemgr.9: bone: Using override eeprom data at slot 4
[ 1.182794] bone-capemgr bone_capemgr.9: slot #4: ‘Bone-LT-eMMC-2G,00A0,Texas Instrument,BB-BONE-EMMC-2G’
[ 1.192956] bone-capemgr bone_capemgr.9: slot #5: specific override
[ 1.199556] bone-capemgr bone_capemgr.9: bone: Using override eeprom data at slot 5
[ 1.207592] bone-capemgr bone_capemgr.9: slot #5: ‘Bone-Black-HDMI,00A0,Texas Instrument,BB-BONELT-HDMI’
[ 1.217645] bone-capemgr bone_capemgr.9: slot #6: specific override
[ 1.224242] bone-capemgr bone_capemgr.9: bone: Using override eeprom data at slot 6
[ 1.232280] bone-capemgr bone_capemgr.9: slot #6: ‘Bone-Black-HDMIN,00A0,Texas Instrument,BB-BONELT-HDMIN’
[ 1.242993] bone-capemgr bone_capemgr.9: initialized OK.
[ 1.248639] bone-capemgr bone_capemgr.9: slot #4: Requesting firmware ‘cape-bone-2g-emmc1.dtbo’ for board-name ‘Bone-LT-eMMC-2G’, version ‘00A0’
[ 1.262229] bone-capemgr bone_capemgr.9: slot #5: Requesting firmware ‘cape-boneblack-hdmi-00A0.dtbo’ for board-name ‘Bone-Black-HDMI’, version ‘00A0’
[ 1.278337] OneNAND driver initializing
[ 1.283961] usbcore: registered new interface driver asix
[ 1.289675] bone-capemgr bone_capemgr.9: slot #4: dtbo ‘cape-bone-2g-emmc1.dtbo’ loaded; converting to live tree
[ 1.300382] bone-capemgr bone_capemgr.9: slot #5: dtbo ‘cape-boneblack-hdmi-00A0.dtbo’ loaded; converting to live tree
[ 1.311754] usbcore: registered new interface driver cdc_ether
[ 1.318224] bone-capemgr bone_capemgr.9: slot #4: #2 overlays
[ 1.324391] usbcore: registered new interface driver smsc95xx
[ 1.331373] bone-capemgr bone_capemgr.9: slot #5: #4 overlays
[ 1.338323] bone-capemgr bone_capemgr.9: slot #4: Applied #2 overlays.
[ 1.345365] usbcore: registered new interface driver net1080
[ 1.353531] platform 4830e000.fb: alias fck already exists
[ 1.359476] usbcore: registered new interface driver cdc_subset
[ 1.367573] bone-capemgr bone_capemgr.9: slot #5: Applied #4 overlays.
[ 1.374534] bone-capemgr bone_capemgr.9: slot #6: Requesting firmware ‘cape-boneblack-hdmin-00A0.dtbo’ for board-name ‘Bone-Black-HDMIN’, version ‘00A0’
[ 1.388967] usbcore: registered new interface driver zaurus
[ 1.395024] usbcore: registered new interface driver cdc_ncm
[ 1.401112] bone-capemgr bone_capemgr.9: slot #6: dtbo ‘cape-boneblack-hdmin-00A0.dtbo’ loaded; converting to live tree
[ 1.413362] usbcore: registered new interface driver cdc_acm
[ 1.419351] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[ 1.427738] Initializing USB Mass Storage driver…
[ 1.433006] usbcore: registered new interface driver usb-storage
[ 1.439333] USB Mass Storage support registered.
[ 1.444533] bone-capemgr bone_capemgr.9: slot #6: BB-BONELT-HDMIN conflict P8.45 (#5:BB-BONELT-HDMI)
[ 1.454131] bone-capemgr bone_capemgr.9: slot #6: Failed verification
[ 1.460906] bone-capemgr bone_capemgr.9: loader: retrying slot-6 BB-BONELT-HDMIN:00A0 (prio 2)
[ 1.470173] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)
[ 1.476908] musb-hdrc musb-hdrc.0.auto: pdev->id = 0
[ 1.482189] musb-hdrc musb-hdrc.0.auto: drivers/usb/musb/musb_dsps.c:468 dsps_musb_init: OK
[ 1.490964] bone-capemgr bone_capemgr.9: loader: failed to load slot-6 BB-BONELT-HDMIN:00A0 (prio 2)
[ 1.500784] musb-hdrc musb-hdrc.0.auto: *** mode=3
[ 1.505835] musb-hdrc musb-hdrc.0.auto: *** power=250
[ 1.512118] musb-hdrc musb-hdrc.1.auto: pdev->id = 1
[ 1.517385] musb-hdrc musb-hdrc.1.auto: drivers/usb/musb/musb_dsps.c:468 dsps_musb_init: OK
[ 1.526371] musb-hdrc musb-hdrc.1.auto: *** mode=1
[ 1.531441] musb-hdrc musb-hdrc.1.auto: *** power=250
[ 1.536767] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[ 1.543194] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 1
[ 1.551667] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 1.558808] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.566386] usb usb1: Product: MUSB HDRC host driver
[ 1.571605] usb usb1: Manufacturer: Linux 3.8.13 musb-hcd
[ 1.577276] usb usb1: SerialNumber: musb-hdrc.1.auto
[ 1.583546] hub 1-0:1.0: USB hub found
[ 1.587585] hub 1-0:1.0: 1 port detected
[ 1.593040] mousedev: PS/2 mouse device common for all mice
[ 1.601446] omap_rtc 44e3e000.rtc: rtc core: registered 44e3e000.rtc as rtc0
[ 1.609259] i2c /dev entries driver
[ 1.614666] pps_ldisc: PPS line discipline registered
[ 1.620163] Driver for 1-wire Dallas network protocol.
[ 1.627451] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[ 1.635034] cpuidle: using governor ladder
[ 1.639358] cpuidle: using governor menu
[ 1.643969] omap_hsmmc mmc.5: of_parse_phandle_with_args of ‘reset’ failed
[ 1.651208] omap_hsmmc mmc.5: Failed to get rstctl; not using any
[ 1.658058] edma-dma-engine edma-dma-engine.0: allocated channel for 0:25
[ 1.665264] edma-dma-engine edma-dma-engine.0: allocated channel for 0:24
[ 1.672617] mmc.5 supply vmmc_aux not found, using dummy regulator
[ 1.679584] omap_hsmmc mmc.5: pins are not configured from the driver
[ 1.713007] gpio-rctrl rstctl.4: gpio_rctrl_request eMMC_RSTn
[ 1.719173] omap_hsmmc mmc.11: Got rstctl (gpio:#0 name eMMC_RSTn) label:eMMC_RSTn
[ 1.727124] gpio-rctrl rstctl.4: gpio_rctrl_deassert eMMC_RSTn
[ 1.733578] edma-dma-engine edma-dma-engine.0: allocated channel for 0:3
[ 1.740699] edma-dma-engine edma-dma-engine.0: allocated channel for 0:2
[ 1.748207] mmc.11 supply vmmc_aux not found, using dummy regulator
[ 1.754912] omap_hsmmc mmc.11: pins are not configured from the driver
[ 1.789384] pinctrl-single 44e10800.pinmux: pin 44e10854 already requested by 44e10800.pinmux; cannot claim for gpio-leds.8
[ 1.801115] pinctrl-single 44e10800.pinmux: pin-21 (gpio-leds.8) status -22
[ 1.808420] pinctrl-single 44e10800.pinmux: could not request pin 21 on device pinctrl-single
[ 1.817407] leds-gpio gpio-leds.8: pins are not configured from the driver
[ 1.826090] ledtrig-cpu: registered to indicate activity on CPUs
[ 1.832906] edma-dma-engine edma-dma-engine.0: allocated channel for 0:36
[ 1.840153] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
[ 1.848607] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
[ 1.854929] edma-dma-engine edma-dma-engine.0: allocated channel for 0:5
[ 1.862184] edma-dma-engine edma-dma-engine.0: allocated channel for 0:6
[ 1.874919] usbcore: registered new interface driver usbhid
[ 1.880830] usbhid: USB HID core driver
[ 1.888939] davinci_evm sound.14: nxp-hdmi-hifi ↔ 48038000.mcasp mapping ok
[ 1.900471] TCP: cubic registered
[ 1.904011] Initializing XFRM netlink socket
[ 1.908555] NET: Registered protocol family 17
[ 1.913294] NET: Registered protocol family 15
[ 1.918093] Key type dns_resolver registered
[ 1.922845] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[ 1.930987] ThumbEE CPU extension supported.
[ 1.935534] Registering SWP/SWPB emulation handler
[ 1.941734] registered taskstats version 1
[ 1.947499] pinctrl-single 44e10800.pinmux: pin 44e109b0 already requested by mmc.11; cannot claim for hdmi.13
[ 1.958006] pinctrl-single 44e10800.pinmux: pin-108 (hdmi.13) status -22
[ 1.965099] pinctrl-single 44e10800.pinmux: could not request pin 108 on device pinctrl-single
[ 1.974129] slave hdmi.13: Failed to select default state
[ 1.979824] mmc1: BKOPS_EN bit is not set
[ 1.984145] slave: probe of hdmi.13 failed with error -22
[ 1.991460] tilcdc 4830e000.fb: No power control GPIO
[ 2.003471] mmc1: new high speed MMC card at address 0001
[ 2.010086] mmcblk0: mmc1:0001 MK2704 3.53 GiB
[ 2.015235] mmcblk0boot0: mmc1:0001 MK2704 partition 1 2.00 MiB
[ 2.021799] mmcblk0boot1: mmc1:0001 MK2704 partition 2 2.00 MiB
[ 2.029784] mmcblk0: p1
[ 2.035665] mmcblk0boot1: unknown partition table
[ 2.043463] mmcblk0boot0: unknown partition table
[ 2.106360] tilcdc 4830e000.fb: found TDA19988
[ 2.111814] [drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
[ 2.118759] [drm] No driver support for vblank timestamp query.
[ 2.125354] tilcdc 4830e000.fb: No connectors reported connected with modes
[ 2.132673] [drm] Cannot find any crtc or sizes - going 1024x768
[ 2.156400] Console: switching to colour frame buffer device 128x48
[ 2.177763] tilcdc 4830e000.fb: fb0: frame buffer device
[ 2.183440] tilcdc 4830e000.fb: registered panic notifier
[ 2.189226] [drm] Initialized tilcdc 1.0.0 20121205 on minor 0
[ 2.245915] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6
[ 2.252331] davinci_mdio 4a101000.mdio: detected phy mask fffffffe
[ 2.259891] libphy: 4a101000.mdio: probed
[ 2.264153] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver SMSC LAN8710/LAN8720
[ 2.273998] Detected MACID = 18:2c:65:2a:a5:c5
[ 2.278659] cpsw 4a100000.ethernet: NAPI disabled
[ 2.285381] omap_rtc 44e3e000.rtc: setting system clock to 2000-01-01 00:00:01 UTC (946684801)
[ 2.301675] ALSA device list:
[ 2.304829] #0: TI BeagleBone Black
[ 2.309490] VFS: Cannot open root device “mmcblk0p2” or unknown-block(179,2): error -6
[ 2.317816] Please append a correct “root=” boot option; here are the available partitions:
[ 2.326575] b300 3702784 mmcblk0 driver: mmcblk
[ 2.332160] b301 3698688 mmcblk0p1 a8021243-01
[ 2.337742] b310 2048 mmcblk0boot1 (driver?)
[ 2.343318] b308 2048 mmcblk0boot0 (driver?)
[ 2.348885] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,2)
[ 2.357734] [] (unwind_backtrace+0x1/0x8c) from [] (panic+0x55/0x14c)
[ 2.366282] [] (panic+0x55/0x14c) from [] (mount_block_root+0x13b/0x178)
[ 2.375096] [] (mount_block_root+0x13b/0x178) from [] (mount_root+0x8b/0xa8)
[ 2.384266] [] (mount_root+0x8b/0xa8) from [] (prepare_namespace+0xc5/0x118)
[ 2.393433] [] (prepare_namespace+0xc5/0x118) from [] (kernel_init+0x7/0x90)
[ 2.402612] [] (kernel_init+0x7/0x90) from [] (ret_from_fork+0x11/0x34)
[ 2.411317] drm_kms_helper: panic occurred, switching back to text console

For anyone who is interested, here is a log of a working Beaglebone:

U-Boot 2013.04-dirty (Oct 09 2017 - 06:41:40)
I2C: ready
DRAM: 512 MiB
WARNING: Caches not enabled
NAND: No NAND device found!!!
0 MiB
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
*** Warning - readenv() failed, using default environment
musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, HB-ISO Rx, HB-ISO Tx, SoftConn)
musb-hdrc: MHDRC RTL version 2.0
musb-hdrc: setup fifo_mode 4
musb-hdrc: 28/31 max ep, 16384/16384 memory
USB Peripheral mode controller at 47401000 using PIO, IRQ 0
musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, HB-ISO Rx, HB-ISO Tx, SoftConn)
musb-hdrc: MHDRC RTL version 2.0
musb-hdrc: setup fifo_mode 4
musb-hdrc: 28/31 max ep, 16384/16384 memory
USB Host mode controller at 47401800 using PIO, IRQ 0
Net: not set. Validating first E-fuse MAC
cpsw, usb_ether
Hit any key to stop autoboot: 0
gpio: pin 53 (gpio 53) value is 1
mmc0 is current device
micro SD card found
mmc0 is current device
gpio: pin 54 (gpio 54) value is 1
SD/MMC found on device 0
reading uEnv.txt
** Unable to read file uEnv.txt **
gpio: pin 55 (gpio 55) value is 1
4391432 bytes read in 602 ms (7 MiB/s)
gpio: pin 56 (gpio 56) value is 1
24884 bytes read in 28 ms (867.2 KiB/s)
Booting from mmc …
Booting kernel from Legacy Image at 80007fc0 …
Image Name: Angstrom/3.8.13/beaglebone
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 4391368 Bytes = 4.2 MiB
Load Address: 80008000
Entry Point: 80008000
Verifying Checksum … OK
Flattened Device Tree blob at 80f80000
Booting using the fdt blob at 0x80f80000
XIP Kernel Image … OK
OK
Using Device Tree in place at 80f80000, end 80f89133
Starting kernel …
Uncompressing Linux… done, booting the kernel.
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Linux version 3.8.13 (yocto@6d093f821622) (gcc version 4.7.3 20130205 (prerelease) (Linaro GCC 4.7-2013.02-01) ) #1 SMP Mon Oct 9 06:49:34 UTC 2017
[ 0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=50c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] Machine: Generic AM33XX (Flattened Device Tree), model: TI AM335x BeagleBone
[ 0.000000] Memory policy: ECC disabled, Data cache writeback
[ 0.000000] AM335X ES1.0 (neon )
[ 0.000000] PERCPU: Embedded 8 pages/cpu @c0b32000 s9408 r8192 d15168 u32768
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 129792
[ 0.000000] Kernel command line: console=ttyO0,115200n8 root=/dev/mmcblk0p2 ro rootfstype=ext4 rootwait
[ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] __ex_table already sorted, skipping sort
[ 0.000000] allocated 1048576 bytes of page_cgroup
[ 0.000000] please try ‘cgroup_disable=memory’ option if you don’t want memory cgroups
[ 0.000000] Memory: 511MB = 511MB total
[ 0.000000] Memory: 510304k/510304k available, 13984k reserved, 0K highmem
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
[ 0.000000] vmalloc : 0xe0800000 - 0xff000000 ( 488 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xe0000000 ( 512 MB)
[ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
[ 0.000000] modules : 0xbf800000 - 0xbfe00000 ( 6 MB)
[ 0.000000] .text : 0xc0008000 - 0xc060ec18 (6172 kB)
[ 0.000000] .init : 0xc060f000 - 0xc06514c0 ( 266 kB)
[ 0.000000] .data : 0xc0652000 - 0xc06c79a0 ( 471 kB)
[ 0.000000] .bss : 0xc06c79a0 - 0xc072173c ( 360 kB)
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=1.
[ 0.000000] NR_IRQS:16 nr_irqs:16 16
[ 0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
[ 0.000000] Total of 128 interrupts on 1 active controller
[ 0.000000] OMAP clockevent source: GPTIMER1 at 24000000 Hz
[ 0.000000] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms
[ 0.000000] OMAP clocksource: GPTIMER2 at 24000000 Hz
[ 0.000000] Console: colour dummy device 80x30
[ 0.000356] Calibrating delay loop… 545.07 BogoMIPS (lpj=531968)
[ 0.015425] pid_max: default: 32768 minimum: 301
[ 0.015661] Security Framework initialized
[ 0.015754] Mount-cache hash table entries: 512
[ 0.026244] Initializing cgroup subsys cpuacct
[ 0.026277] Initializing cgroup subsys memory
[ 0.026342] Initializing cgroup subsys blkio
[ 0.026482] CPU: Testing write buffer coherency: ok
[ 0.027021] CPU0: thread -1, cpu 0, socket -1, mpidr 0
[ 0.027097] Setting up static identity map for 0x8038a5a0 - 0x8038a5ec
[ 0.028473] Brought up 1 CPUs
[ 0.028499] SMP: Total of 1 processors activated (545.07 BogoMIPS).
[ 0.029788] devtmpfs: initialized
[ 0.094373] pinctrl core: initialized pinctrl subsystem
[ 0.094586] rstctl core: initialized rstctl subsystem
[ 0.095084] regulator-dummy: no parameters
[ 0.095647] NET: Registered protocol family 16
[ 0.096461] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.106502] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
[ 0.107315] platform 49000000.edma: alias fck already exists
[ 0.107348] platform 49000000.edma: alias fck already exists
[ 0.107375] platform 49000000.edma: alias fck already exists
[ 0.108696] OMAP GPIO hardware version 0.1
[ 0.113353] gpio-rctrl rstctl.4: loaded OK
[ 0.118867] hw-breakpoint: debug architecture 0x4 unsupported.
[ 0.121045] cpsw.0: No hwaddr in dt. Using 54:45:38:01:0e:24 from efuse
[ 0.121077] cpsw.1: No hwaddr in dt. Using 54:45:38:01:0e:26 from efuse
[ 0.136384] bio: create slab at 0
[ 0.148499] edma-dma-engine edma-dma-engine.0: TI EDMA DMA engine driver
[ 0.148943] vmmcsd_fixed: 3300 mV
[ 0.151718] SCSI subsystem initialized
[ 0.152191] usbcore: registered new interface driver usbfs
[ 0.152307] usbcore: registered new interface driver hub
[ 0.152585] usbcore: registered new device driver usb
[ 0.154645] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
[ 0.156170] input: tps65217_pwr_but as /devices/ocp.3/44e0b000.i2c/i2c-0/0-0024/input/input0
[ 0.158384] DCDC1: at 1500 mV
[ 0.159543] vdd_mpu: 925 ↔ 1325 mV at 1100 mV
[ 0.160724] vdd_core: 925 ↔ 1150 mV at 1100 mV
[ 0.161820] LDO1: at 1800 mV
[ 0.162950] LDO2: at 3300 mV
[ 0.164881] LDO3: 1800 mV
[ 0.166024] LDO4: at 3300 mV
[ 0.167029] tps65217 0-0024: TPS65217 ID 0xe version 1.2
[ 0.167736] omap_i2c 44e0b000.i2c: unable to select pin group
[ 0.168519] omap_i2c 4819c000.i2c: bus 1 rev0.11 at 100 kHz
[ 0.170834] omap_i2c 4819c000.i2c: unable to select pin group
[ 0.171054] media: Linux media interface: v0.10
[ 0.171156] Linux video capture interface: v2.00
[ 0.171300] pps_core: LinuxPPS API ver. 1 registered
[ 0.171316] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti giometti@linux.it
[ 0.172156] Advanced Linux Sound Architecture Driver Initialized.
[ 0.173394] Switching to clocksource gp_timer
[ 0.191482] NET: Registered protocol family 2
[ 0.192468] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.192611] TCP bind hash table entries: 4096 (order: 4, 81920 bytes)
[ 0.192773] TCP: Hash tables configured (established 4096 bind 4096)
[ 0.192867] TCP: reno registered
[ 0.192895] UDP hash table entries: 256 (order: 1, 12288 bytes)
[ 0.192942] UDP-Lite hash table entries: 256 (order: 1, 12288 bytes)
[ 0.193432] NET: Registered protocol family 1
[ 0.193977] RPC: Registered named UNIX socket transport module.
[ 0.193997] RPC: Registered udp transport module.
[ 0.194011] RPC: Registered tcp transport module.
[ 0.194025] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.194747] hw perfevents: enabled with ARMv7 Cortex-A8 PMU driver, 5 counters available
[ 0.195286] CPU PMU: attempt to register multiple PMU devices!
[ 0.195329] arm-pmu: probe of arm-pmu failed with error -28
[ 0.195720] omap2_mbox_probe: platform not supported
[ 0.199577] VFS: Disk quotas dquot_6.5.2
[ 0.199810] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.201179] NFS: Registering the id_resolver key type
[ 0.201272] Key type id_resolver registered
[ 0.201288] Key type id_legacy registered
[ 0.201353] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc.
[ 0.201792] msgmni has been set to 996
[ 0.204621] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[ 0.204647] io scheduler noop registered
[ 0.204663] io scheduler deadline registered
[ 0.204703] io scheduler cfq registered (default)
[ 0.206441] tps65217-bl tps65217-bl: no platform data provided
[ 0.206483] tps65217-bl: probe of tps65217-bl failed with error -22
[ 0.207464] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 0.210004] omap_uart 44e09000.serial: did not get pins for uart0 error: -19
[ 0.210283] 44e09000.serial: ttyO0 at MMIO 0x44e09000 (irq = 88) is a OMAP UART0
[ 0.924362] console [ttyO0] enabled
[ 0.929257] [drm] Initialized drm 1.1.0 20060810
[ 0.947801] brd: module loaded
[ 0.957966] loop: module loaded
[ 0.961417] at24 0-0050: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[ 0.968707] at24 1-0054: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[ 0.975981] at24 1-0055: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[ 0.983253] at24 1-0056: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[ 0.990526] at24 1-0057: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[ 1.005046] bone-capemgr bone_capemgr.9: Baseboard: ‘A335BNLT,00C0,2309SBB16650’
[ 1.012841] bone-capemgr bone_capemgr.9: compatible-baseboard=ti,beaglebone-black
[ 1.050472] bone-capemgr bone_capemgr.9: slot #0: No cape found
[ 1.087577] bone-capemgr bone_capemgr.9: slot #1: No cape found
[ 1.124686] bone-capemgr bone_capemgr.9: slot #2: No cape found
[ 1.161796] bone-capemgr bone_capemgr.9: slot #3: No cape found
[ 1.168052] bone-capemgr bone_capemgr.9: slot #4: specific override
[ 1.174657] bone-capemgr bone_capemgr.9: bone: Using override eeprom data at slot 4
[ 1.182696] bone-capemgr bone_capemgr.9: slot #4: ‘Bone-LT-eMMC-2G,00A0,Texas Instrument,BB-BONE-EMMC-2G’
[ 1.192856] bone-capemgr bone_capemgr.9: slot #5: specific override
[ 1.199456] bone-capemgr bone_capemgr.9: bone: Using override eeprom data at slot 5
[ 1.207493] bone-capemgr bone_capemgr.9: slot #5: ‘Bone-Black-HDMI,00A0,Texas Instrument,BB-BONELT-HDMI’
[ 1.217543] bone-capemgr bone_capemgr.9: slot #6: specific override
[ 1.224141] bone-capemgr bone_capemgr.9: bone: Using override eeprom data at slot 6
[ 1.232178] bone-capemgr bone_capemgr.9: slot #6: ‘Bone-Black-HDMIN,00A0,Texas Instrument,BB-BONELT-HDMIN’
[ 1.242895] bone-capemgr bone_capemgr.9: initialized OK.
[ 1.248538] bone-capemgr bone_capemgr.9: slot #4: Requesting firmware ‘cape-bone-2g-emmc1.dtbo’ for board-name ‘Bone-LT-eMMC-2G’, version ‘00A0’
[ 1.262130] bone-capemgr bone_capemgr.9: slot #5: Requesting firmware ‘cape-boneblack-hdmi-00A0.dtbo’ for board-name ‘Bone-Black-HDMI’, version ‘00A0’
[ 1.278236] OneNAND driver initializing
[ 1.283867] usbcore: registered new interface driver asix
[ 1.289583] bone-capemgr bone_capemgr.9: slot #4: dtbo ‘cape-bone-2g-emmc1.dtbo’ loaded; converting to live tree
[ 1.300289] bone-capemgr bone_capemgr.9: slot #5: dtbo ‘cape-boneblack-hdmi-00A0.dtbo’ loaded; converting to live tree
[ 1.311666] usbcore: registered new interface driver cdc_ether
[ 1.318130] bone-capemgr bone_capemgr.9: slot #4: #2 overlays
[ 1.324298] usbcore: registered new interface driver smsc95xx
[ 1.331281] bone-capemgr bone_capemgr.9: slot #5: #4 overlays
[ 1.338233] bone-capemgr bone_capemgr.9: slot #4: Applied #2 overlays.
[ 1.345273] usbcore: registered new interface driver net1080
[ 1.353435] platform 4830e000.fb: alias fck already exists
[ 1.359374] usbcore: registered new interface driver cdc_subset
[ 1.367423] bone-capemgr bone_capemgr.9: slot #5: Applied #4 overlays.
[ 1.374381] bone-capemgr bone_capemgr.9: slot #6: Requesting firmware ‘cape-boneblack-hdmin-00A0.dtbo’ for board-name ‘Bone-Black-HDMIN’, version ‘00A0’
[ 1.388810] usbcore: registered new interface driver zaurus
[ 1.394863] usbcore: registered new interface driver cdc_ncm
[ 1.400957] bone-capemgr bone_capemgr.9: slot #6: dtbo ‘cape-boneblack-hdmin-00A0.dtbo’ loaded; converting to live tree
[ 1.413202] usbcore: registered new interface driver cdc_acm
[ 1.419191] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[ 1.427580] Initializing USB Mass Storage driver…
[ 1.432844] usbcore: registered new interface driver usb-storage
[ 1.439170] USB Mass Storage support registered.
[ 1.444368] bone-capemgr bone_capemgr.9: slot #6: BB-BONELT-HDMIN conflict P8.45 (#5:BB-BONELT-HDMI)
[ 1.453963] bone-capemgr bone_capemgr.9: slot #6: Failed verification
[ 1.460738] bone-capemgr bone_capemgr.9: loader: retrying slot-6 BB-BONELT-HDMIN:00A0 (prio 2)
[ 1.469995] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)
[ 1.476728] musb-hdrc musb-hdrc.0.auto: pdev->id = 0
[ 1.481982] musb-hdrc musb-hdrc.0.auto: drivers/usb/musb/musb_dsps.c:468 dsps_musb_init: OK
[ 1.490756] bone-capemgr bone_capemgr.9: loader: failed to load slot-6 BB-BONELT-HDMIN:00A0 (prio 2)
[ 1.500574] musb-hdrc musb-hdrc.0.auto: *** mode=3
[ 1.505622] musb-hdrc musb-hdrc.0.auto: *** power=250
[ 1.511905] musb-hdrc musb-hdrc.1.auto: pdev->id = 1
[ 1.517166] musb-hdrc musb-hdrc.1.auto: drivers/usb/musb/musb_dsps.c:468 dsps_musb_init: OK
[ 1.526153] musb-hdrc musb-hdrc.1.auto: *** mode=1
[ 1.531226] musb-hdrc musb-hdrc.1.auto: *** power=250
[ 1.536555] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[ 1.543002] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 1
[ 1.551462] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 1.558603] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.566182] usb usb1: Product: MUSB HDRC host driver
[ 1.571400] usb usb1: Manufacturer: Linux 3.8.13 musb-hcd
[ 1.577071] usb usb1: SerialNumber: musb-hdrc.1.auto
[ 1.583338] hub 1-0:1.0: USB hub found
[ 1.587375] hub 1-0:1.0: 1 port detected
[ 1.592834] mousedev: PS/2 mouse device common for all mice
[ 1.601165] omap_rtc 44e3e000.rtc: rtc core: registered 44e3e000.rtc as rtc0
[ 1.608967] i2c /dev entries driver
[ 1.614392] pps_ldisc: PPS line discipline registered
[ 1.619882] Driver for 1-wire Dallas network protocol.
[ 1.627137] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[ 1.634748] cpuidle: using governor ladder
[ 1.639073] cpuidle: using governor menu
[ 1.643685] omap_hsmmc mmc.5: of_parse_phandle_with_args of ‘reset’ failed
[ 1.650924] omap_hsmmc mmc.5: Failed to get rstctl; not using any
[ 1.657730] edma-dma-engine edma-dma-engine.0: allocated channel for 0:25
[ 1.664948] edma-dma-engine edma-dma-engine.0: allocated channel for 0:24
[ 1.672302] mmc.5 supply vmmc_aux not found, using dummy regulator
[ 1.679239] omap_hsmmc mmc.5: pins are not configured from the driver
[ 1.712919] gpio-rctrl rstctl.4: gpio_rctrl_request eMMC_RSTn
[ 1.719121] omap_hsmmc mmc.11: Got rstctl (gpio:#0 name eMMC_RSTn) label:eMMC_RSTn
[ 1.727115] gpio-rctrl rstctl.4: gpio_rctrl_deassert eMMC_RSTn
[ 1.733595] edma-dma-engine edma-dma-engine.0: allocated channel for 0:3
[ 1.740752] edma-dma-engine edma-dma-engine.0: allocated channel for 0:2
[ 1.748265] mmc.11 supply vmmc_aux not found, using dummy regulator
[ 1.755010] omap_hsmmc mmc.11: pins are not configured from the driver
[ 1.789290] pinctrl-single 44e10800.pinmux: pin 44e10854 already requested by 44e10800.pinmux; cannot claim for gpio-leds.8
[ 1.800992] pinctrl-single 44e10800.pinmux: pin-21 (gpio-leds.8) status -22
[ 1.808299] pinctrl-single 44e10800.pinmux: could not request pin 21 on device pinctrl-single
[ 1.817271] leds-gpio gpio-leds.8: pins are not configured from the driver
[ 1.825890] ledtrig-cpu: registered to indicate activity on CPUs
[ 1.832718] edma-dma-engine edma-dma-engine.0: allocated channel for 0:36
[ 1.839962] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
[ 1.848375] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
[ 1.854744] edma-dma-engine edma-dma-engine.0: allocated channel for 0:5
[ 1.861924] mmc0: host does not support reading read-only switch. assuming write-enable.
[ 1.870529] edma-dma-engine edma-dma-engine.0: allocated channel for 0:6
[ 1.879761] mmc0: new high speed SDHC card at address 1234
[ 1.889023] usbcore: registered new interface driver usbhid
[ 1.894915] usbhid: USB HID core driver
[ 1.899735] mmcblk0: mmc0:1234 SA04G 3.63 GiB
[ 1.908088] mmcblk0: p1 p2
[ 1.914324] davinci_evm sound.14: nxp-hdmi-hifi ↔ 48038000.mcasp mapping ok
[ 1.925726] TCP: cubic registered
[ 1.929259] Initializing XFRM netlink socket
[ 1.933798] NET: Registered protocol family 17
[ 1.938584] NET: Registered protocol family 15
[ 1.943420] Key type dns_resolver registered
[ 1.948209] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[ 1.956373] ThumbEE CPU extension supported.
[ 1.960913] Registering SWP/SWPB emulation handler
[ 1.967101] registered taskstats version 1
[ 1.973099] pinctrl-single 44e10800.pinmux: pin 44e109b0 already requested by mmc.11; cannot claim for hdmi.13
[ 1.983642] pinctrl-single 44e10800.pinmux: pin-108 (hdmi.13) status -22
[ 1.990679] pinctrl-single 44e10800.pinmux: could not request pin 108 on device pinctrl-single
[ 1.999705] slave hdmi.13: Failed to select default state
[ 2.005488] slave: probe of hdmi.13 failed with error -22
[ 2.012877] tilcdc 4830e000.fb: No power control GPIO
[ 2.054865] mmc1: BKOPS_EN bit is not set
[ 2.064831] mmc1: new high speed MMC card at address 0001
[ 2.071246] mmcblk1: mmc1:0001 MK2704 3.53 GiB
[ 2.076646] mmcblk1boot0: mmc1:0001 MK2704 partition 1 2.00 MiB
[ 2.083212] mmcblk1boot1: mmc1:0001 MK2704 partition 2 2.00 MiB
[ 2.091176] mmcblk1: p1 p2 p3
[ 2.098179] mmcblk1boot1: unknown partition table
[ 2.105972] mmcblk1boot0: unknown partition table
[ 2.131661] tilcdc 4830e000.fb: found TDA19988
[ 2.137112] [drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
[ 2.144068] [drm] No driver support for vblank timestamp query.
[ 2.150667] tilcdc 4830e000.fb: No connectors reported connected with modes
[ 2.158064] [drm] Cannot find any crtc or sizes - going 1024x768
[ 2.181726] Console: switching to colour frame buffer device 128x48
[ 2.202958] tilcdc 4830e000.fb: fb0: frame buffer device
[ 2.208647] tilcdc 4830e000.fb: registered panic notifier
[ 2.214449] [drm] Initialized tilcdc 1.0.0 20121205 on minor 0
[ 2.271208] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6
[ 2.277633] davinci_mdio 4a101000.mdio: detected phy mask fffffffe
[ 2.285203] libphy: 4a101000.mdio: probed
[ 2.289468] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver SMSC LAN8710/LAN8720
[ 2.299308] Detected MACID = 54:45:38:01:0e:24
[ 2.303967] cpsw 4a100000.ethernet: NAPI disabled
[ 2.310723] omap_rtc 44e3e000.rtc: setting system clock to 2000-01-01 00:00:01 UTC (946684801)
[ 2.327004] ALSA device list:
[ 2.330161] #0: TI BeagleBone Black
[ 2.340776] EXT4-fs (mmcblk0p2): mounted filesystem without journal. Opts: (null)
[ 2.348792] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[ 2.360031] devtmpfs: mounted
[ 2.363519] Freeing init memory: 264K
[ 2.756886] systemd[1]: systemd 196 running in system mode. (+PAM -LIBWRAP -AUDIT -SELINUX +IMA +SYSVINIT -LIBCRYPTSETUP +GCRYPT +ACL +XZ; angstrom)
Welcome to The Ångström Distribution v2012.12!

If you compare them, you will notice a difference between those two. On a working Beaglebone, the following lines occur in the log:

[ 1.861924] mmc0: host does not support reading read-only switch. assuming write-enable.
[ 1.879761] mmc0: new high speed SDHC card at address 1234
[ 1.899735] mmcblk0: mmc0:1234 SA04G 3.63 GiB
[ 1.908088] mmcblk0: p1 p2

From this, I conclude, the non working Beaglebone doesn’t see the SD card properly, resuling in this log line:

[ 2.348885] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,2)

If I jump into the UBOOT cli, (by removing the SD card on time) and comparing the printenv list, I am not seeing any differences (excep MAC address)

I also tried an official Beaglebone black image. On a working Beaglebone, there is no problem programming it. On a non working Beaglebone, the same problem occurs with our own image.
I also checked the hardware on missing resistors and checking their values. I didn’t find any difference with a working Beaglebone.
Should I send them RMA, or does anyone have an idea? Please advice.

Best Regards,
Kees

I see in your logs that failed BBB was unable to initialize mmc0 card at all, and eventually did panic and die.
compare this lines:
Working BBB have following:

[ 1.861924] mmc0: host does not support reading read-only switch. assuming write-enable.
[ 1.879761] mmc0: new high speed SDHC card at address 1234
[ 1.899735] mmcblk0: mmc0:1234 SA04G 3.63 GiB
[ 1.908088] mmcblk0: p1 p2
[ 2.054865] mmc1: BKOPS_EN bit is not set
[ 2.064831] mmc1: new high speed MMC card at address 0001
[ 2.071246] mmcblk1: mmc1:0001 MK2704 3.53 GiB
[ 2.076646] mmcblk1boot0: mmc1:0001 MK2704 partition 1 2.00 MiB
[ 2.083212] mmcblk1boot1: mmc1:0001 MK2704 partition 2 2.00 MiB
[ 2.091176] mmcblk1: p1 p2 p3
[ 2.098179] mmcblk1boot1: unknown partition table
[ 2.105972] mmcblk1boot0: unknown partition table

Non working have only this:

[ 1.979824] mmc1: BKOPS_EN bit is not set
[ 1.984145] slave: probe of hdmi.13 failed with error -22
[ 1.991460] tilcdc 4830e000.fb: No power control GPIO
[ 2.003471] mmc1: new high speed MMC card at address 0001
[ 2.010086] mmcblk0: mmc1:0001 MK2704 3.53 GiB**
[ 2.015235] mmcblk0boot0: mmc1:0001 MK2704 partition 1 2.00 MiB
[ 2.021799] mmcblk0boot1: mmc1:0001 MK2704 partition 2 2.00 MiB
[ 2.029784] mmcblk0: p1
[ 2.035665] mmcblk0boot1: unknown partition table
[ 2.043463] mmcblk0boot0: unknown partition table

also don’t confuse yourself with mmcblk0
on working BBB mmcblk0 is represented by mmc0:1234 SA04G 3.63 GiB
on non working BBB mmcblk0 is represented by mmc1:0001 MK2704 3.53 GiB**

Why you can’t boot from uSD card at all (probably): Your kernel is trying to load filesystem from /dev/mmcblk0p2
When mmc0 is fine - that device represent partition #2 of uSD card and it’s known to kernel
when mmc0 is missing /dev/mmcblk0p2 is representing your mmc1, partition #2 - which don’t exist at all.

Both BBB boards have same hardware revision?
Did you compare uSD connectors and their revisions ?
If i remember correctly BBB RevC3 did some changes related to mmc0 …
If they are different maybe it did change some pins and you need to change device-tree.

Only GND pins and EMI fixes… hardware wise shouldn’t stop the old 3.8.13 based kernel from booting.

Both mmc1:0001 MK2704 3.53 GiB in those logs is the eMMC…

So what’s randomly not showing up is the microSD…

But it’s 3.8.13.

Regards,

Yea, i did understand that eventually and already fixed my statements.
Thanks.

it’s part of the fun of 3.8.13… as long as everything works, it works… but in the sdhci driver, it’s a big race between microSD/eMMC to who loads first to get /dev/mmcblk0. :wink:

I believe we are encountering a similar issue with version 3.8.13. The SD card does not show up. We attempted to address the mentioned racing condition by strapping the eMMC to reset, but unfortunately, we were unsuccessful.

Thanks for all replies

They have the same hardware revision but the production date is different. All ‘Wrong’ BBB’s starting with BBBCV202308. But there are BBB’s with same leading number that do working fine.

I did compare both uSD connectors and they look the same. Also checked with an Ohm meter the resistance of the uSD card pins to the rest of the board and no differences detected.

But I honestly think, the uSD holder is fine because without uSD card, the BBB is as dead as it could be when I power it up and pressing the S2 button. Also when I only remove the MLO from the boot partition and power the BBB up with the S2 button pressed, the BBB does nothing. But for some reason, the other partitions are not showing up.

Yes, the kernel version is very (very) old. But when I’m using this image on a good BBB, it will flash its EMMC. On a non-working BBB, nothing happens. It seems the BBB just normally starts up from its factory EMMC. (Sorry, in my first post, its not written not correcly). See the startup log:

U-Boot SPL 2022.04-ge0d31da5 (Aug 04 2023 - 18:48:26 +0000)
Trying to boot from MMC1

U-Boot 2022.04-ge0d31da5 (Aug 04 2023 - 18:48:26 +0000)
CPU  : AM335X-GP rev 2.1
Model: TI AM335x BeagleBone Black
DRAM:  512 MiB
Reset Source: Power-on reset has occurred.
RTC 32KCLK Source: External.
Core:  150 devices, 14 uclasses, devicetree: separate
WDT:   Started wdt@44e35000 with servicing (60s timeout)
MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
Loading Environment from EXT4... Board: BeagleBone Black
<ethaddr> not set. Validating first E-fuse MAC
BeagleBone Black:
BeagleBone Cape EEPROM: no EEPROM at address: 0x54
BeagleBone Cape EEPROM: no EEPROM at address: 0x55
BeagleBone Cape EEPROM: no EEPROM at address: 0x56
BeagleBone Cape EEPROM: no EEPROM at address: 0x57
Net:   eth2: ethernet@4a100000, eth3: usb_ether
Press SPACE to abort autoboot in 0 seconds
board_name=[A335BNLT] ...
board_rev=[00C0] ...
gpio: pin 56 (gpio 56) value is 0
gpio: pin 55 (gpio 55) value is 0
gpio: pin 54 (gpio 54) value is 0
gpio: pin 53 (gpio 53) value is 1
switch to partitions #0, OK
mmc1(part 0) is current device
Scanning mmc 1:1...
Scanning disk mmc@48060000.blk...
Disk mmc@48060000.blk not ready
Scanning disk mmc@481d8000.blk...
Found 2 disks
No EFI system partition
fdt_find_or_add_subnode: memory: FDT_ERR_BADSTRUCTURE
ERROR: arch-specific fdt fixup failed
 - must RESET the board to recover.

ERROR: failed to process device tree
gpio: pin 56 (gpio 56) value is 0
gpio: pin 55 (gpio 55) value is 0
gpio: pin 54 (gpio 54) value is 0
gpio: pin 53 (gpio 53) value is 1
switch to partitions #0, OK
mmc1(part 0) is current device
gpio: pin 54 (gpio 54) value is 1
Checking for: /uEnv.txt ...
Checking for: /boot/uEnv.txt ...
gpio: pin 55 (gpio 55) value is 1
2005 bytes read in 3 ms (652.3 KiB/s)
Loaded environment from /boot/uEnv.txt
Checking if uname_r is set in /boot/uEnv.txt...
gpio: pin 56 (gpio 56) value is 1
Running uname_boot ...
loading /boot/vmlinuz-4.19.94-ti-r42 ...
10095592 bytes read in 637 ms (15.1 MiB/s)
debug: [enable_uboot_overlays=1] ...
debug: [enable_uboot_cape_universal=1] ...
debug: [uboot_base_dtb_univ=am335x-boneblack-uboot-univ.dtb] ...
uboot_overlays: [uboot_base_dtb=am335x-boneblack-uboot-univ.dtb] ...
uboot_overlays: Switching too: dtb=am335x-boneblack-uboot-univ.dtb ...
loading /boot/dtbs/4.19.94-ti-r42/am335x-boneblack-uboot-univ.dtb ...
162266 bytes read in 14 ms (11.1 MiB/s)
Found 0 extension board(s).
uboot_overlays: [fdt_buffer=0x60000] ...
uboot_overlays: loading /lib/firmware/BB-ADC-00A0.dtbo ...
867 bytes read in 8 ms (105.5 KiB/s)
uboot_overlays: loading /lib/firmware/BB-BONE-eMMC1-01-00A0.dtbo ...
1584 bytes read in 4 ms (386.7 KiB/s)
uboot_overlays: loading /lib/firmware/BB-HDMI-TDA998x-00A0.dtbo ...
4915 bytes read in 10 ms (479.5 KiB/s)
uboot_overlays: loading /lib/firmware/AM335X-PRU-RPROC-4-19-TI-00A0.dtbo ...
3801 bytes read in 6 ms (618.2 KiB/s)
loading /boot/initrd.img-4.19.94-ti-r42 ...
6589689 bytes read in 421 ms (14.9 MiB/s)
debug: [console=ttyS0,115200n8 bone_capemgr.uboot_capemgr_enabled=1 root=/dev/mmcblk1p1 ro rootfstype=ext4 rootwait coherent_pool=1M net.ifnames=0 lpj=1990656 rng_core.default_quality=100 quiet] ...
debug: [bootz 0x82000000 0x88080000:648cf9 88000000] ...
Kernel image @ 0x82000000 [ 0x000000 - 0x9a0be8 ]
## Flattened Device Tree blob at 88000000
   Booting using the fdt blob at 0x88000000
   Loading Ramdisk to 8f9b7000, end 8ffffcf9 ... OK
   Loading Device Tree to 8f92b000, end 8f9b6fff ... OK

Starting kernel ...

[    0.002171] timer_probe: no matching timers found
[    0.195848] l4_wkup_cm:clk:0010:0: failed to disable
[    1.415196] omap_voltage_late_init: Voltage driver support not added

Debian GNU/Linux 10 beaglebone ttyS0

BeagleBoard.org Debian Buster IoT Image 2020-04-06

Support: http://elinux.org/Beagleboard:BeagleBoneBlack_Debian

default username:password is [debian:temppwd]

beaglebone login:

Is giving you this information some new insights?

Thanks again.

First of all you didn’t specify from which BBB last log was, it’s from nonWorking ?

I still think issue is related to uSD - but we can investigate further.

Next, boot - up sequences is not a simple stuff…, there are 3 different stages on which system (BBB) can decide change it’s route based on environment which it detects, additionally as @RobertCNelson mention 3.8.13 have it’s own quirks.

To get further we need to establish a base line, so please config each from following statements so I did understand everything right:

  1. After you give power to NonWorking BBB without uSD card - it’s not loading, you don’t see anything in console (including SPL U-boot is missing)
  2. After you give power to NonWorking BBB with uSD - 3.1.8 image - it’s not loading, you don’t see anything in console (including SPL U-boot is missing)
  3. After you give power to NonWorking BBB with uSD - 3.1.8 image and was holding user button - you see SPL U-Boot and Kernel try to load but in end it will die.
  4. After you give power to NonWorking BBB with uSD - Debian 10 image and was holding user button - you see SPL U-Boot and Kernel is loading and you get Login prompt.
  5. If you use Working BBB and do same tests 1-4 - System (BBB) is always booted to Login prompt.

Additionally you can collect additional information from NonWorking BBB,
use 3.8.13 image and start booting, but interrupt U-Boot, then execute following commands in u-boot environment and collect output. Also if you wish you can compare it with working BBB.

env print -a
mmc rescan
mmc list
mmc dev 0 
mmc rescan
mmcinfo
mmc part
mmc dev 1
mmc rescan
mmcinfo
mmc part
fatls mmc 0:1
fatls mmc 0:2

I did look at your case - yes, it look like same issue.
mmc0 is missing, kernel don’t see mmc0 and mapping /dev/mmcblk0 to mmc1
then trying to load filesystem from /dev/mmcblk0p2 - but internal mmc (mmc1) don’t have “p2” partition at all and kernel die.

As I understand In general that uSD image by design is not good,
it’s correct if you are loading from internal emmc, but it’s wrong for uSD
because if mmc0 is there and allive, then kernel will load filesystem from internal emmc:p2 but should use uSD:p2, if emmc:p2 is missing because of some reasons - uSD will fail to load.
Also most probably if emmc:p2 is there but contain unknown partition table for Kernel 3.8.13 - it will also fail

So back in the 3.8.13 era we did uuid magic to pass the specific microSD/eMMC partition table we wanted to mount… This also requires a initrd…

On mainline, a solution for this problem was finally committed around 5.5.x time frame… So for many years we lived with uuid/initrd names…

But even with the uuid helpers, if the microSD fails to even load, it’ll fail…

If it’s just an race issue then most probably they can workaround it.
If emmc will have that old image with all required partition - it should work fine without uSD Card.

I would suggest just to boot in Debian 10 (or other working uSD image), get shell and manually push required images to emmc and that’s all.
If they will want to upgrade it in future to post 5.5 - it would work without issues.
@RobertCNelson do you agree with this approach ?

As your goal is just to update the eMMC, you can really boot any microSD image and then dd your golden eMMC image…

BTW, it might be easier to boot and recover a working eMMC image this way…

Also depending on u-boot version, you can actually mount the eMMC as a usb-flash device and access the eMMC directly over usb.

Sorry it’s been awhile since i’ve done that…

But boot into u-boot, and run something like

mmcdev 0
ums 0 mmc 0

Regards,

That’s what i did .
I boot into u-boot and deployed the image with ums and now it’s fine . Currently i am looking for an automated way to deploy since doing this for 15 devices(this time) is not very viable .Thanks for the support

Update:

Both options worked for me:
Option 1:
mount the emmc from uboot with ums and copy the image to the emmc.
(ums 0 mmc 1)

Option 2:
I used a new kernel in order to boot from the sd card.I had a copy of the old image on the sd card as .img and I pushed my old image to the emmc with dd.

1 Like

Thanx all for your replies and thoughts.

With using ums commands I could update the BBB with an official image. Now I have to figure out how to use our own custom image.

Thanks again and have a nice weekend!