BBB wireless eMMC flash problem

154 views
Skip to first unread message

Jeff Albrecht

unread,
Jun 18, 2019, 11:22:20 PM6/18/19
to BeagleBoard
Seems my BBB wireless quit booting from eMMC. I fired up bone-debian-9.5-iot-armhf-2018-10-07-4gb.img from SD card and set uEnv.txt to flash. Fail :-(

The following appears to be the offending part of the log. Here is the entire log on my pastebin as captured by TeraTerm.

Is there anything to try to initialize / format / recover for flashing the emmc?

Thanks, - Jeff



========================================
Checking for Valid bbb-eeprom header
==> Valid bbb-eeprom header found [335]
========================================


================================================================================
Checking running system
==> Copying: [/dev/mmcblk0] -> [/dev/mmcblk1]
==> lsblk:
----------------------------------------
NAME        MAJ
:MIN RM  SIZE RO TYPE MOUNTPOINT
mmcblk0    
179:0    0 14.9G  0 disk
`-mmcblk0p1 179:1    0  3.3G  0 part /
----------------------------------------
==> df -h | grep rootfs:
----------------------------------------
!==> Error: [/dev/mmcblk1] does not exist
writing to [/dev/mmcblk1] failed...
==> Stopping Cylon LEDs ...
Traceback (last called is first):
     reset_leds() in /opt/scripts/tools/eMMC/functions.sh:433
     write_failure() in /opt/scripts/tools/eMMC/functions.sh:451
     check_running_system() in /opt/scripts/tools/eMMC/functions.sh:614
     main() in /opt/scripts/tools/eMMC/init-eMMC-flasher-v3.sh:47
The command kill $CYLON_PID > /dev/null 2>&1 exited with exit code 2.
================================================================================
Tearing Down script environment
==> Unmounting /tmp
blockdev: cannot open /dev/mmcblk1: No such file or directory
==> Stopping Cylon LEDs ...
==> Setting LEDs to
[   39.381978] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000100
[   39.381978]
[   39.391183] CPU: 0 PID: 1 Comm: init-eMMC-flash Not tainted 4.14.71-ti-r80 #1
[   39.398351] Hardware name: Generic AM33XX (Flattened Device Tree)
[   39.404521] [<c0113910>] (unwind_backtrace) from [<c010debc>] (show_stack+0x20/0x24)
[   39.412310] [<c010debc>] (show_stack) from [<c0d9ca74>] (dump_stack+0x80/0x94)
[   39.419584] [<c0d9ca74>] (dump_stack) from [<c013fb20>] (panic+0x100/0x284)
[   39.426588] [<c013fb20>] (panic) from [<c0145920>] (complete_and_exit+0x0/0x2c)
[   39.433934] [<c0145920>] (complete_and_exit) from [<c01459bc>] (do_group_exit+0x50/0xd0)
[   39.442064] [<c01459bc>] (do_group_exit) from [<c0145a5c>] (__wake_up_parent+0x0/0x30)
[   39.450027] [<c0145a5c>] (__wake_up_parent) from [<c0108f00>] (ret_fast_syscall+0x0/0x54)
[   39.458267] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000100
[   39.458267]
[   51.653462] random: crng init done
[   51.656884] random: 7 urandom warning(s) missed due to ratelimiting






Jeff Albrecht

unread,
Jun 19, 2019, 11:52:50 AM6/19/19
to BeagleBoard
On Tuesday, June 18, 2019 at 8:22:20 PM UTC-7, Jeff Albrecht wrote:
Seems my BBB wireless quit booting from eMMC. I fired up bone-debian-9.5-iot-armhf-2018-10-07-4gb.img from SD card and set uEnv.txt to flash. Fail :-(

The following appears to be the offending part of the log. Here is the entire log on my pastebin as captured by TeraTerm.

Is there anything to try to initialize / format / recover for flashing the emmc?


In this thread @RobertCNelson suggests to try old image. Here is the log from that unsuccessful attempt; 

U-Boot SPL 2014.04-00014-g47880f5 (Apr 22 2014 - 13:23:54)
reading args
spl_load_image_fat_os
: error reading image args, err - -1
reading u
-boot.img
reading u
-boot.img




U
-Boot 2014.04-00014-g47880f5 (Apr 22 2014 - 13:23:54)


I2C
:   ready
DRAM
:  512 MiB
NAND
:  0 MiB
MMC
:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
*** Warning - readenv() failed, using default environment


Net:   <ethaddr> not set. Validating first E-fuse MAC
Could not get PHY for cpsw: addr 0
cpsw
, usb_ether
Hit any key to stop autoboot:  0
gpio
: pin 53 (gpio 53) value is 1
mmc0
is current device
gpio
: pin 54 (gpio 54) value is 1
SD
/MMC found on device 0
reading uEnv
.txt
1672 bytes read in 5 ms (326.2 KiB/s)
gpio
: pin 55 (gpio 55) value is 1
Loaded environment from uEnv.txt
Importing environment from mmc ...
Checking if uenvcmd is set ...
gpio
: pin 56 (gpio 56) value is 1
Running uenvcmd ...
reading zImage
4103240 bytes read in 227 ms (17.2 MiB/s)
reading initrd
.img
2957458 bytes read in 166 ms (17 MiB/s)
reading
/dtbs/am335x-boneblack.dtb
25926 bytes read in 9 ms (2.7 MiB/s)
Kernel image @ 0x82000000 [ 0x000000 - 0x3e9c48 ]
## Flattened Device Tree blob at 88000000
   
Booting using the fdt blob at 0x88000000
   
Using Device Tree in place at 88000000, end 88009545


Starting kernel ...


Uncompressing Linux... done, booting the kernel.
[    0.378382] omap2_mbox_probe: platform not supported
[    0.532986] tps65217-bl tps65217-bl: no platform data provided
[    0.596730] bone-capemgr bone_capemgr.9: slot #0: No cape found
[    0.633839] bone-capemgr bone_capemgr.9: slot #1: No cape found
[    0.670947] bone-capemgr bone_capemgr.9: slot #2: No cape found
[    0.708056] bone-capemgr bone_capemgr.9: slot #3: No cape found
[    0.722735] bone-capemgr bone_capemgr.9: slot #6: BB-BONELT-HDMIN conflict P8.45 (#5:BB-BONELT-HDMI)
[    0.732349] bone-capemgr bone_capemgr.9: slot #6: Failed verification
[    0.739097] bone-capemgr bone_capemgr.9: loader: failed to load slot-6 BB-BONELT-HDMIN:00A0 (prio 2)
[    0.756676] omap_hsmmc mmc.5: of_parse_phandle_with_args of 'reset' failed
[    0.819666] pinctrl-single 44e10800.pinmux: pin 44e10854 already requested by 44e10800.pinmux; cannot claim for gpio-leds.8
[    0.831347] pinctrl-single 44e10800.pinmux: pin-21 (gpio-leds.8) status -22
[    0.838647] pinctrl-single 44e10800.pinmux: could not request pin 21 on device pinctrl-single
[    1.042656] Unhandled fault: external abort on non-linefetch (0x1008) at 0xe089c000
[    1.050780] Internal error: : 1008 [#1] SMP THUMB2
[    1.055850] Modules linked in:
[    1.059092] CPU: 0    Not tainted  (3.8.13-bone50 #1)
[    1.064436] PC is at cpsw_probe+0x348/0x960
[    1.068858] LR is at ioremap_page_range+0x95/0xf8
[    1.073827] pc : [<c0324484>]    lr : [<c0254815>]    psr: a0000033
[    1.073827] sp : df071e18  ip : 00000000  fp : df0d3400
[    1.085950] r10: c081de48  r9 : de28d000  r8 : de28d590
[    1.091457] r7 : de28d000  r6 : de28d540  r5 : 00000000  r4 : e089c000
[    1.098334] r3 : 80000000  r2 : 00000000  r1 : e089d000  r0 : e089c000
[    1.105226] Flags: NzCv  IRQs on  FIQs on  Mode SVC_32  ISA Thumb  Segment kernel
[    1.113114] Control: 50c5387d  Table: 9e284019  DAC: 00000015
[    1.119181] Process swapper/0 (pid: 1, stack limit = 0xdf070240)
[    1.125518] Stack: (0xdf071e18 to 0xdf072000)
[    1.130118] 1e00:                                                       00000000 c00b5629
[    1.138754] 1e20: c086b9b8 c086b9b8 de28d540 de28d298 df0d3410 de5fc8c8 00000000 df071e90
[    1.147395] 1e40: df071e90 c00fdd53 22222222 22222222 00000000 c086b9b8 de5fc8c8 de5f9ec0
[    1.156038] 1e60: de5fc8c8 c00fdc8f de5fc8c8 00000000 df071e90 de5fc948 df0d5d48 c00fe507
[    1.164673] 1e80: df0494b8 c00492af 00000000 df0d3444 00000020 00000008 df0d3410 c09189ec
[    1.173305] 1ea0: df0d3410 c088aa58 00000000 c0800925 00000100 c081de48 00000000 c02c6e19
[    1.181935] 1ec0: c02c6e09 c02c62bb 00000000 df0d3410 c088aa58 df0d3444 00000000 c02c641b
[    1.190559] 1ee0: c088aa58 c02c63d1 00000000 c02c53ef df049478 df0ce600 c088aa58 c087fe90
[    1.199196] 1f00: de5f9ec0 c02c5daf c072dc7c c088aa58 c088aa58 df070000 c08ab580 00000000
[    1.207829] 1f20: c0800925 c02c671d 00000000 c080b080 df070000 c08ab580 00000000 c0800925
[    1.216463] 1f40: 00000100 c000867f 00000007 00000007 c0863b18 c080b07c c080b080 00000007
[    1.227702] 1f60: c080b060 c08ab580 c07e51c9 c081de48 00000000 c07e56a3 00000007 00000007
[    1.238911] 1f80: c07e51c9 c0d35fc0 00000000 c04c4e29 00000000 00000000 00000000 00000000
[    1.250121] 1fa0: 00000000 c04c4e2f 00000000 c000c8fd 00000000 00000000 00000000 00000000
[    1.261345] 1fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    1.272589] 1fe0: 00000000 00000000 00000000 00000000 00000013 00000000 ffffffff fffdffff
[    1.283871] [<c0324484>] (cpsw_probe+0x348/0x960) from [<c02c6e19>] (platform_drv_probe+0x11/0x14)
[    1.296039] [<c02c6e19>] (platform_drv_probe+0x11/0x14) from [<c02c62bb>] (driver_probe_device+0x53/0x168)
[    1.308936] [<c02c62bb>] (driver_probe_device+0x53/0x168) from [<c02c641b>] (__driver_attach+0x4b/0x4c)
[    1.321559] [<c02c641b>] (__driver_attach+0x4b/0x4c) from [<c02c53ef>] (bus_for_each_dev+0x27/0x48)
[    1.333885] [<c02c53ef>] (bus_for_each_dev+0x27/0x48) from [<c02c5daf>] (bus_add_driver+0xe3/0x168)
[    1.346203] [<c02c5daf>] (bus_add_driver+0xe3/0x168) from [<c02c671d>] (driver_register+0x3d/0xc4)
[    1.358437] [<c02c671d>] (driver_register+0x3d/0xc4) from [<c000867f>] (do_one_initcall+0x1f/0xf4)
[    1.370682] [<c000867f>] (do_one_initcall+0x1f/0xf4) from [<c07e56a3>] (kernel_init_freeable+0xc3/0x158)
[    1.383452] [<c07e56a3>] (kernel_init_freeable+0xc3/0x158) from [<c04c4e2f>] (kernel_init+0x7/0x98)
[    1.395767] [<c04c4e2f>] (kernel_init+0x7/0x98) from [<c000c8fd>] (ret_from_fork+0x11/0x34)
[    1.407382] Code: f000 81d2 f8c7 05c0 (6803) f44f
[    1.415235] ---[ end trace 9c753e3b5081fdde ]---
[    1.423064] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
[    1.423064]
[    1.438275] drm_kms_helper: panic occurred, switching back to text console
 

Dennis Lee Bieber

unread,
Jun 19, 2019, 12:59:07 PM6/19/19
to beagl...@googlegroups.com
On Tue, 18 Jun 2019 20:22:20 -0700 (PDT), Jeff Albrecht
<jeffrey.h...@gmail.com> declaimed the
following:


>!==> Error: [/dev/mmcblk1] does not exist
>writing to [/dev/mmcblk1] failed...

Off hand -- I'd say the eMMC is dead...


Or you are booting with a device tree that has taken control of the
eMMC signal lines or disabled the eMMC (make sure you do NOT have...
https://elinux.org/Beagleboard:BeagleBoneBlack_Debian#U-Boot_Disable_on-board_devices


--
Wulfraed Dennis Lee Bieber AF6VN
wlf...@ix.netcom.com http://wlfraed.microdiversity.freeddns.org/

Jeff Albrecht

unread,
Jun 19, 2019, 6:12:56 PM6/19/19
to BeagleBoard
On Wednesday, June 19, 2019 at 9:59:07 AM UTC-7, Dennis Lee Bieber wrote:
On Tue, 18 Jun 2019 20:22:20 -0700 (PDT), Jeff Albrecht
<jeffrey....@gmail.com> declaimed the
following:


>!==> Error: [/dev/mmcblk1] does not exist
>writing to [/dev/mmcblk1] failed...

        Off hand -- I'd say the eMMC is dead...

I wonder if I can find a through hole replacement? ;-) 

I do have a hot air rework station though...Has anyone ever successfully done a field repair of eMMC?

 - Jeff 

Robert Nelson

unread,
Jun 19, 2019, 6:20:55 PM6/19/19
to Beagle Board, Jeff Albrecht

Jeff Albrecht

unread,
Jun 20, 2019, 11:07:59 AM6/20/19
to BeagleBoard
On Wednesday, June 19, 2019 at 3:20:55 PM UTC-7, RobertCNelson wrote:
 

Before you go do that, give this latest image a shot:

https://rcn-ee.net/rootfs/bb.org/testing/2019-06-16/buster-iot/bone-eMMC-flasher-debian-buster-iot-armhf-2019-06-16-4gb.img.xz



:-( nope. Bummer. I'm willing to try any other suggestions. Pastebin of the log for this attempt with bone-eMMC-flasher-debian-buster-iot-armhf-2019-06-16-4gb.img.xz  

Looking at the board I'm assuming the Kingston chip is the eMMC. Doesn't look like anything I can replace in my lab with my tools.

 - Jeff

Reply all
Reply to author
Forward
0 new messages