Flash oops! bb green wireless

https://www.maketecheasier.com/mount-access-ext4-partition-mac/

  If you've written a NON-flasher image on the SD card, and it still
tries to run the flasher, you've got a strange eMMC configuration. Try
holding down the boot-select button to force the card to load u-Boot from
SD card (I believe for some years now u-Boot on eMMC is configured to
detect an SD card and then transfer to it to complete booting, but that
implies it is not using the SD card u-Boot)

  If the boot-select with a non-flasher image works, you should be able
to mount the eMMC and explore it for incorrect configuration files. Or zero
it out so it can't boot from eMMC (and maybe eventually reflash it with a
known working image -- convert the working SD card to flasher).

Thanks Dennie.
I think that is getting me closer. I can now mount the SD on my Mac.
FYI to anyone reading this for similar help: If the Mac doesn’t see the ext4 partition a VirtualBox VM will not work as it doesn’t connect to the VM at all.

I can now see and edit the uEnv.txt file.
I’m not up and running yet but that gives me some more to play with.

You just need to assign the USB device to the Virtual Box VM; the native OS does not need to be able to read the filesystem. Also, you could use ext4fuse on you Mac to mount a ext filesystem. Or just Bootcamp your Mac with Linux. However, all of this is why I no longer use Mac systems.

I know about that. It doesn’t work.
Not mine for sure at least with this version of OSX and the latest VirtualBox.

Thanks again all for help.

You could always get a Rasberry Pi to read the BB uSD.

As it stands now I can read the SD and the env file etc.

The bbgw won’t boot so it does not show the board as a drive on a computer.

It just wants to keep flashing from the sd. Remove the sd and power up and it throws an error that the device to copy from doesn’t exist.

Using boot button does not seem to help.

I’m afraid I’m back to trying to get at the board drive in u-boot. I can’t find any examples of how to specify the interface and device.

Have you ensured the ‘cmdline=’ entry at the bottom of the uEnv.txt file is commented out? If not it will try to reflash the board.

Jon

It is rem’ed out on the SD card. I can’t get at any drive on the board itself since it won’t boot.
Using FTDI I can get to the board somewhat but don’t know how to LS into it when it says I am not specifying a proper interface.
All the googling about u-boot is either a generic Help dump that I can see in the terminal or talks about creating your own u-boot.

Thanks for the help.

Interesting... I don't have a Mac system, but do have Debian Buster
running in Oracle VirtualBox on a Win10 system.

  Win10 will not see any Linux partitions when inserting the SD card
but... (and any attempt to access the card from Windows results in "do you
want to format?")

  From VBox if I go to "Devices/USB" and select the "Generic Mass Storage
Device", I get icon(s) for the partition(s) [I'd gotten confused and
thought this was an R-Pi forum, so tried the R-Pi SD card first -- it pops
up 5 assorted partitions <G>; only one for BBB card]. The partition is not
initially mounted, I have to do that first by <right-click> the icon.

Would also need to buy a USB<>SD-card adapter, since R-Pi's don't have
an on-board (eMMC) so has to boot from its native SD card slot.

That implies a very corrupted eMMC to me -- since a normal SD card
flasher does not turn the eMMC into a "flash" mode.

  We're out of my diagnostic experience -- I'd probably try using a
standard images from http://beagleboard.org/latest-images, editing the
u-Boot script to define it as a flasher (may not matter if your eMMC is
already trying to copy from the SD card), and flashing with that image.
Since normally the "flasher mode" text does not get copied to the eMMC (or
is post-flash modified).

  If that didn't work -- I'd have see if JTAG is capable of erasing the
eMMC, and purchase a JTAG unit.

Could you post the complete FTDI serial output of the board booting from the SD card and using the Boot button?

Jon

As of now, it looks like when I power on with the Boot button pressed, literally nothing happens.
Here is what it looks like with no SD card and I boot the board.

  • no boot button pressed
  • no sd card inserted

U-Boot SPL 2016.03-00001-g148e520 (Jun 06 2016 - 11:27:44)
Trying to boot from MMC
bad magic

U-Boot 2016.03-00001-g148e520 (Jun 06 2016 - 11:27:44 -0500), Build: jenkins-github_Bootloader-Builder-395

Watchdog enabled

I2C: ready

DRAM: 512 MiB

Reset Source: Power-on reset has occurred.

MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1

Using default environment

Net: not set. Validating first E-fuse MAC

Could not get PHY for cpsw: addr 0

cpsw, usb_ether

Press SPACE to abort autoboot in 2 seconds

Card did not respond to voltage select!

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

Card did not respond to voltage select!

Card did not respond to voltage select!

switch to partitions #0, OK

mmc1(part 0) is current device

Scanning mmc 1:1…

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.scr …

Checking for: /boot/boot.scr …

Checking for: /boot/uEnv.txt …

gpio: pin 55 (gpio 55) value is 1

1263 bytes read in 16 ms (76.2 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.4.9-ti-r25 …

7833256 bytes read in 446 ms (16.7 MiB/s)

loading /boot/dtbs/4.4.9-ti-r25/am335x-bonegreen-wireless.dtb …

61860 bytes read in 47 ms (1.3 MiB/s)

loading /boot/initrd.img-4.4.9-ti-r25 …

4828115 bytes read in 281 ms (16.4 MiB/s)

debug: [console=ttyO0,115200n8 root=UUID=2b96442f-bc55-493c-8e3d-4c599d12fbad ro rootfstype=ext4 rootwait init=/opt/scripts/tools/eMMC/init-eMMC-flasher-v3-bbgw.sh] …

debug: [bootz 0x82000000 0x88080000:49abd3 0x88000000] …

Kernel image @ 0x82000000 [ 0x000000 - 0x7786a8 ]

Flattened Device Tree blob at 88000000

Booting using the fdt blob at 0x88000000

Loading Ramdisk to 8fb65000, end 8ffffbd3 … OK

Loading Device Tree to 8fb52000, end 8fb641a3 … OK

Starting kernel …

[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 4.4.9-ti-r25 (root@b3-jetson-tk1-2gb) (gcc version 4.9.2 (Debian 4.9.2-10) ) #1 SMP Thu May 5 23:08:13 UTC 2016
[ 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 model: TI AM335x BeagleBone Green Wireless
[ 0.000000] cma: Reserved 24 MiB at 0x9e000000
[ 0.000000] Memory policy: Data cache writeback
[ 0.000000] CPU: All CPU(s) started in SVC mode.
[ 0.000000] AM335X ES2.1 (sgx neon )
[ 0.000000] PERCPU: Embedded 13 pages/cpu @df923000 s24320 r8192 d20736 u53248
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 129408
[ 0.000000] Kernel command line: console=ttyO0,115200n8 root=UUID=2b96442f-bc55-493c-8e3d-4c599d12fbad ro rootfstype=ext4 rootwait init=/opt/scripts/tools/eMMC/init-eMMC-flasher-v3-bbgw.sh
[ 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] Memory: 474012K/522240K available (7344K kernel code, 914K rwdata, 3704K rodata, 604K init, 907K bss, 23652K reserved, 24576K cma-reserved, 0K highmem)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
[ 0.000000] vmalloc : 0xe0800000 - 0xff800000 ( 496 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 - 0xc0ad2480 (11050 kB)
[ 0.000000] .init : 0xc0ad3000 - 0xc0b6a000 ( 604 kB)
[ 0.000000] .data : 0xc0b6a000 - 0xc0c4e818 ( 915 kB)
[ 0.000000] .bss : 0xc0c51000 - 0xc0d33de8 ( 908 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] Build-time adjustment of leaf fanout to 32.
[ 0.000000] RCU restricting CPUs from NR_CPUS=2 to nr_cpu_ids=1.
[ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=32, 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] OMAP clockevent source: timer2 at 24000000 Hz
[ 0.000012] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[ 0.000031] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[ 0.000043] OMAP clocksource: timer1 at 24000000 Hz
[ 0.000224] Console: colour dummy device 80x30
[ 0.000249] WARNING: Your ‘console=ttyO0’ has been replaced by ‘ttyS0’
[ 0.000256] This ensures that you still see kernel messages. Please
[ 0.000262] update your kernel commandline.
[ 0.000280] Calibrating delay loop… 995.32 BogoMIPS (lpj=1990656)
[ 0.046933] pid_max: default: 32768 minimum: 301
[ 0.047066] Security Framework initialized
[ 0.047079] Yama: becoming mindful.
[ 0.047110] AppArmor: AppArmor disabled by boot time parameter
[ 0.047266] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.047278] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.048051] Initializing cgroup subsys io
[ 0.048080] Initializing cgroup subsys memory
[ 0.048118] Initializing cgroup subsys devices
[ 0.048135] Initializing cgroup subsys freezer
[ 0.048151] Initializing cgroup subsys net_cls
[ 0.048164] Initializing cgroup subsys perf_event
[ 0.048179] Initializing cgroup subsys net_prio
[ 0.048194] Initializing cgroup subsys pids
[ 0.048251] CPU: Testing write buffer coherency: ok
[ 0.048303] ftrace: allocating 34073 entries in 67 pages
[ 0.133384] CPU0: thread -1, cpu 0, socket -1, mpidr 0
[ 0.133505] Setting up static identity map for 0x80008240 - 0x8000828c
[ 0.136885] Brought up 1 CPUs
[ 0.136906] SMP: Total of 1 processors activated (995.32 BogoMIPS).
[ 0.136914] CPU: All CPU(s) started in SVC mode.
[ 0.138332] devtmpfs: initialized
[ 0.157106] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[ 0.175175] omap_hwmod: debugss: _wait_target_disable failed
[ 0.229116] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.231307] xor: measuring software checksum speed
[ 0.270932] arm4regs : 1221.000 MB/sec
[ 0.310933] 8regs : 1094.000 MB/sec
[ 0.350930] 32regs : 1093.000 MB/sec
[ 0.390931] neon : 1754.000 MB/sec
[ 0.390938] xor: using function: neon (1754.000 MB/sec)
[ 0.391028] pinctrl core: initialized pinctrl subsystem
[ 0.392981] NET: Registered protocol family 16
[ 0.395656] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.396861] cpuidle: using governor ladder
[ 0.396881] cpuidle: using governor menu
[ 0.401826] OMAP GPIO hardware version 0.1
[ 0.413401] No ATAGs?
[ 0.413431] hw-breakpoint: debug architecture 0x4 unsupported.
[ 0.413969] omap4_sram_init:Unable to allocate sram needed to handle errata I688
[ 0.413982] omap4_sram_init:Unable to get sram pool needed to handle errata I688
[ 0.491105] raid6: int32x1 gen() 269 MB/s
[ 0.559025] raid6: int32x1 xor() 236 MB/s
[ 0.627044] raid6: int32x2 gen() 356 MB/s
[ 0.694976] raid6: int32x2 xor() 269 MB/s
[ 0.763015] raid6: int32x4 gen() 405 MB/s
[ 0.831032] raid6: int32x4 xor() 259 MB/s
[ 0.899082] raid6: int32x8 gen() 359 MB/s
[ 0.966933] raid6: int32x8 xor() 231 MB/s
[ 1.034956] raid6: neonx1 gen() 1461 MB/s
[ 1.102952] raid6: neonx1 xor() 846 MB/s
[ 1.170960] raid6: neonx2 gen() 1883 MB/s
[ 1.238942] raid6: neonx2 xor() 1171 MB/s
[ 1.306943] raid6: neonx4 gen() 1975 MB/s
[ 1.374947] raid6: neonx4 xor() 1204 MB/s
[ 1.442955] raid6: neonx8 gen() 1211 MB/s
[ 1.510937] raid6: neonx8 xor() 671 MB/s
[ 1.510944] raid6: using algorithm neonx4 gen() 1975 MB/s
[ 1.510951] raid6: … xor() 1204 MB/s, rmw enabled
[ 1.510957] raid6: using intx1 recovery algorithm
[ 1.520011] edma 49000000.edma: TI EDMA DMA engine driver
[ 1.525079] SCSI subsystem initialized
[ 1.525796] usbcore: registered new interface driver usbfs
[ 1.525863] usbcore: registered new interface driver hub
[ 1.525957] usbcore: registered new device driver usb
[ 1.526534] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c0_pins, deferring probe
[ 1.526579] omap_i2c 4819c000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c2_pins, deferring probe
[ 1.526693] media: Linux media interface: v0.10
[ 1.526753] Linux video capture interface: v2.00
[ 1.526844] pps_core: LinuxPPS API ver. 1 registered

Here is the output when:

  • SD inserted
  • Boot/User button pressed (It looks like it is being ignored)

U-Boot SPL 2016.03-00001-g148e520 (Jun 06 2016 - 11:27:44)
Trying to boot from MMC
bad magic

U-Boot 2016.03-00001-g148e520 (Jun 06 2016 - 11:27:44 -0500), Build: jenkins-github_Bootloader-Builder-395

Watchdog enabled

I2C: ready

DRAM: 512 MiB

Reset Source: Power-on reset has occurred.

MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1

Using default environment

Net: not set. Validating first E-fuse MAC

Could not get PHY for cpsw: addr 0

cpsw, usb_ether

Press SPACE to abort autoboot in 2 seconds

switch to partitions #0, OK

mmc0 is current device

Scanning mmc 0:1…

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

mmc0 is current device

gpio: pin 54 (gpio 54) value is 1

Checking for: /uEnv.txt …

Checking for: /boot.scr …

Checking for: /boot/boot.scr …

Checking for: /boot/uEnv.txt …

** Invalid partition 2 **

** Invalid partition 3 **

** Invalid partition 4 **

** Invalid partition 5 **

** Invalid partition 6 **

** Invalid partition 7 **

switch to partitions #0, OK

mmc1(part 0) is current device

Scanning mmc 1:1…

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.scr …

Checking for: /boot/boot.scr …

Checking for: /boot/uEnv.txt …

gpio: pin 55 (gpio 55) value is 1

1263 bytes read in 16 ms (76.2 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.4.9-ti-r25 …

7833256 bytes read in 446 ms (16.7 MiB/s)

loading /boot/dtbs/4.4.9-ti-r25/am335x-bonegreen-wireless.dtb …

61860 bytes read in 47 ms (1.3 MiB/s)

loading /boot/initrd.img-4.4.9-ti-r25 …

4828115 bytes read in 281 ms (16.4 MiB/s)

debug: [console=ttyO0,115200n8 root=UUID=2b96442f-bc55-493c-8e3d-4c599d12fbad ro rootfstype=ext4 rootwait init=/opt/scripts/tools/eMMC/init-eMMC-flasher-v3-bbgw.sh] …

debug: [bootz 0x82000000 0x88080000:49abd3 0x88000000] …

Kernel image @ 0x82000000 [ 0x000000 - 0x7786a8 ]

Flattened Device Tree blob at 88000000

Booting using the fdt blob at 0x88000000

Loading Ramdisk to 8fb65000, end 8ffffbd3 … OK

Loading Device Tree to 8fb52000, end 8fb641a3 … OK

Starting kernel …

[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 4.4.9-ti-r25 (root@b3-jetson-tk1-2gb) (gcc version 4.9.2 (Debian 4.9.2-10) ) #1 SMP Thu May 5 23:08:13 UTC 2016
[ 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 model: TI AM335x BeagleBone Green Wireless
[ 0.000000] cma: Reserved 24 MiB at 0x9e000000
[ 0.000000] Memory policy: Data cache writeback
[ 0.000000] CPU: All CPU(s) started in SVC mode.
[ 0.000000] AM335X ES2.1 (sgx neon )
[ 0.000000] PERCPU: Embedded 13 pages/cpu @df923000 s24320 r8192 d20736 u53248
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 129408
[ 0.000000] Kernel command line: console=ttyO0,115200n8 root=UUID=2b96442f-bc55-493c-8e3d-4c599d12fbad ro rootfstype=ext4 rootwait init=/opt/scripts/tools/eMMC/init-eMMC-flasher-v3-bbgw.sh
[ 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] Memory: 474012K/522240K available (7344K kernel code, 914K rwdata, 3704K rodata, 604K init, 907K bss, 23652K reserved, 24576K cma-reserved, 0K highmem)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
[ 0.000000] vmalloc : 0xe0800000 - 0xff800000 ( 496 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 - 0xc0ad2480 (11050 kB)
[ 0.000000] .init : 0xc0ad3000 - 0xc0b6a000 ( 604 kB)
[ 0.000000] .data : 0xc0b6a000 - 0xc0c4e818 ( 915 kB)
[ 0.000000] .bss : 0xc0c51000 - 0xc0d33de8 ( 908 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] Build-time adjustment of leaf fanout to 32.
[ 0.000000] RCU restricting CPUs from NR_CPUS=2 to nr_cpu_ids=1.
[ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=32, 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] OMAP clockevent source: timer2 at 24000000 Hz
[ 0.000011] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[ 0.000030] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[ 0.000042] OMAP clocksource: timer1 at 24000000 Hz
[ 0.000222] Console: colour dummy device 80x30
[ 0.000248] WARNING: Your ‘console=ttyO0’ has been replaced by ‘ttyS0’
[ 0.000255] This ensures that you still see kernel messages. Please
[ 0.000261] update your kernel commandline.
[ 0.000278] Calibrating delay loop… 995.32 BogoMIPS (lpj=1990656)
[ 0.046925] pid_max: default: 32768 minimum: 301
[ 0.047056] Security Framework initialized
[ 0.047070] Yama: becoming mindful.
[ 0.047101] AppArmor: AppArmor disabled by boot time parameter
[ 0.047256] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.047268] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.048045] Initializing cgroup subsys io
[ 0.048073] Initializing cgroup subsys memory
[ 0.048111] Initializing cgroup subsys devices
[ 0.048127] Initializing cgroup subsys freezer
[ 0.048143] Initializing cgroup subsys net_cls
[ 0.048156] Initializing cgroup subsys perf_event
[ 0.048170] Initializing cgroup subsys net_prio
[ 0.048185] Initializing cgroup subsys pids
[ 0.048241] CPU: Testing write buffer coherency: ok
[ 0.048291] ftrace: allocating 34073 entries in 67 pages
[ 0.133357] CPU0: thread -1, cpu 0, socket -1, mpidr 0
[ 0.133478] Setting up static identity map for 0x80008240 - 0x8000828c
[ 0.136866] Brought up 1 CPUs
[ 0.136885] SMP: Total of 1 processors activated (995.32 BogoMIPS).
[ 0.136893] CPU: All CPU(s) started in SVC mode.
[ 0.138307] devtmpfs: initialized
[ 0.157087] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[ 0.175146] omap_hwmod: debugss: _wait_target_disable failed
[ 0.228862] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.231051] xor: measuring software checksum speed
[ 0.270925] arm4regs : 1221.000 MB/sec
[ 0.310925] 8regs : 1094.000 MB/sec
[ 0.350922] 32regs : 1093.000 MB/sec
[ 0.390922] neon : 1759.000 MB/sec
[ 0.390930] xor: using function: neon (1759.000 MB/sec)
[ 0.391023] pinctrl core: initialized pinctrl subsystem
[ 0.392980] NET: Registered protocol family 16
[ 0.395643] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.396840] cpuidle: using governor ladder
[ 0.396860] cpuidle: using governor menu
[ 0.401800] OMAP GPIO hardware version 0.1
[ 0.413402] No ATAGs?
[ 0.413432] hw-breakpoint: debug architecture 0x4 unsupported.
[ 0.413974] omap4_sram_init:Unable to allocate sram needed to handle errata I688
[ 0.413987] omap4_sram_init:Unable to get sram pool needed to handle errata I688
[ 0.491091] raid6: int32x1 gen() 269 MB/s
[ 0.558999] raid6: int32x1 xor() 236 MB/s
[ 0.627034] raid6: int32x2 gen() 356 MB/s
[ 0.694966] raid6: int32x2 xor() 269 MB/s
[ 0.763012] raid6: int32x4 gen() 405 MB/s
[ 0.831021] raid6: int32x4 xor() 259 MB/s
[ 0.899067] raid6: int32x8 gen() 359 MB/s
[ 0.966936] raid6: int32x8 xor() 231 MB/s
[ 1.034933] raid6: neonx1 gen() 1458 MB/s
[ 1.102953] raid6: neonx1 xor() 846 MB/s
[ 1.170928] raid6: neonx2 gen() 1881 MB/s
[ 1.238943] raid6: neonx2 xor() 1172 MB/s
[ 1.306935] raid6: neonx4 gen() 1975 MB/s
[ 1.374931] raid6: neonx4 xor() 1203 MB/s
[ 1.442942] raid6: neonx8 gen() 1211 MB/s
[ 1.510922] raid6: neonx8 xor() 671 MB/s
[ 1.510929] raid6: using algorithm neonx4 gen() 1975 MB/s
[ 1.510936] raid6: … xor() 1203 MB/s, rmw enabled
[ 1.510942] raid6: using intx1 recovery algorithm
[ 1.520010] edma 49000000.edma: TI EDMA DMA engine driver
[ 1.525065] SCSI subsystem initialized
[ 1.525785] usbcore: registered new interface driver usbfs
[ 1.525854] usbcore: registered new interface driver hub
[ 1.525946] usbcore: registered new device driver usb
[ 1.526524] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c0_pins, deferring probe
[ 1.526568] omap_i2c 4819c000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c2_pins, deferring probe
[ 1.526677] media: Linux media interface: v0.10
[ 1.526738] Linux video capture interface: v2.00
[ 1.526831] pps_core: LinuxPPS API ver. 1 registered

For completeness, here is the boot hitting space to get into u-boot console.

U-Boot 2016.03-00001-g148e520 (Jun 06 2016 - 11:27:44 -0500), Build: jenkins-github_Bootloader-Builder-395

Watchdog enabled
I2C: ready
DRAM: 512 MiB
Reset Source: Power-on reset has occurred.
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
Using default environment

Net: not set. Validating first E-fuse MAC
Could not get PHY for cpsw: addr 0
cpsw, usb_ether
Press SPACE to abort autoboot in 2 seconds
=>

It looks like with the uSD card installed and pressing the BOOT Button when powering on the board is forcing running the flasher from he SD card:

Begin: Running /scripts/local-bottom … done.

Begin: Running /scripts/init-bottom … done.

[H [J-----------------------------

Starting eMMC Flasher from microSD media

Version: [1.20160606: run bb-wl18xx-wlan0 in single user mode…]

-----------------------------

Checking for Valid bbgw-eeprom header

Valid bbgw-eeprom header found [335]

-----------------------------

copying: [/dev/mmcblk1] → [/dev/mmcblk0]

When this is complete and the cylon LED pattern ends, the board should power down.

[ 535.950335] systemd-shutdown[1]: Powering off.

[ 535.980972] musb-hdrc musb-hdrc.1.auto: remove, state 4

[ 535.986308] usb usb1: USB disconnect, device number 1

[ 535.991404] usb 1-1: USB disconnect, device number 2

[ 535.998053] musb-hdrc musb-hdrc.1.auto: USB bus 1 deregistered

[ 536.004724] reboot: Power down

[ 536.007965] System will go to power_off state in approx. 1 second

After this, it should be a matter of just powering off the board and booting it again.

If you are still seeing the panic while booting the board, I would redownload the image for the board and burn it to uSD card using something like Etcher and try again. If you can remove the “cmdline” comment at the bottom of the uEnv.txt file and then boot the board, it would be interesting to see if that makes a diff. You would have to comment it out again once the flash is complete though.

Jon

Uh... Power-off, remove [flasher mode] SD card, then boot.

Uh, in the second example, that is not needed since it is already commented out and the Boot Button is used:

##enable BBG: eMMC Flasher:
#cmdline=init=/opt/scripts/tools/eMMC/init-eMMC-flasher-v3-bbgw.sh

If it were uncommented, then it would have to be commented out again before a boot. My end comment stated what was needed to use the flasher from the SD card instead of the Boot button.

2016.03?

Just grab this image:

https://rcn-ee.net/rootfs/bb.org/testing/2019-10-28/stretch-iot/bone-eMMC-flasher-debian-9.11-iot-armhf-2019-10-28-4gb.img.xz

Use etcher to install it to a microSD:

https://www.balena.io/etcher/

Place the microSD card in the Beagle.

Take your finger nail and hold the "boot select" button..

Insert power..

Wait till all 4led's light up..

Remove finger..

Watch it flash the eMMC..

Regards,

Run a difference utility on the two captures -- you'll see the
effect... (My comments will be within -=-=-=- markers)

*** NoSDboot.txt 2019-11-01T12:53:31.659110-04:00
--- SDboot.txt 2019-11-01T12:53:14.644068-04:00