Flash oops! bb green wireless

125 views
Skip to first unread message

Michael B

unread,
Oct 23, 2019, 8:45:08 PM10/23/19
to BeagleBoard
Greetings all.  Thanks for any advice and this fine group.  

I flashed my bb green wireless with the latest standard image.  After flashing it powers on and looks normal for about 10 seconds and shuts down.
It isn't showing as a drive on my computer either as it used to.
I ordered a HDMI Cape so I can see what's happening.  

Does anyone have any helpful advice on what I can do while waiting for the Cape?

Thanks so much!
Michael B

Robert Nelson

unread,
Oct 23, 2019, 8:57:25 PM10/23/19
to Beagle Board, mi...@indiecraft.com
On Wed, Oct 23, 2019 at 7:45 PM Michael B <mi...@indiecraft.com> wrote:
>
> Greetings all. Thanks for any advice and this fine group.
>
> I flashed my bb green wireless with the latest standard image. After flashing it powers on and looks normal for about 10 seconds and shuts down.
> It isn't showing as a drive on my computer either as it used to.
> I ordered a HDMI Cape so I can see what's happening.

Cancel that HDMI cape order, it doesn't work past 4.4.x (no mainline driver)

>
> Does anyone have any helpful advice on what I can do while waiting for the Cape?

Get a serial cable:

https://elinux.org/Beagleboard:BeagleBone_Black_Serial

Regards,

--
Robert Nelson
https://rcn-ee.com/

Michael B

unread,
Oct 23, 2019, 9:02:40 PM10/23/19
to BeagleBoard
oh boy!

Thanks for the info.  It already shipped.  Thankfully it wasn't expensive.
I held the boot button and booted up to see if I could boot off the card - but oops again, I haven't disabled the flash to emcc yet as I can't get the drive to show up.
Ahhhhh!  It's still fun.  :)

Michael B

Michael B

unread,
Oct 23, 2019, 9:14:11 PM10/23/19
to BeagleBoard
Pardon the newbie question.  :)

Will the serial cable allow me to debug a boot up?
I don't have the drive on the bb showing on the computer.  
It only stays on for 10 seconds before shutting down.

Robert Nelson

unread,
Oct 23, 2019, 9:23:31 PM10/23/19
to Beagle Board
On Wed, Oct 23, 2019 at 8:14 PM Michael B <mi...@indiecraft.com> wrote:
>
> Pardon the newbie question. :)
>
> Will the serial cable allow me to debug a boot up?
> I don't have the drive on the bb showing on the computer.
> It only stays on for 10 seconds before shutting down.

That is correct, the serial cable will allow you to see the whole boot
process and where it's getting stuck..

Michael B

unread,
Oct 28, 2019, 5:53:19 PM10/28/19
to BeagleBoard
Some success in that I now have a serial cable connecting and can watch the flashing and booting.
I am still never getting the drive to show up as an external disk where I can change the settings to not do a flash when a card is inserted.
I am getting the error below.  I googled a bit and it was suggested to make sure you are on the latest image.
I believe I have done that and re-flashed.  Here is the error after removing the card and booting:
Thanks to all for the help.
Michael B

Error: [/dev/mmcblk1] does not exist
writing to [/dev/mmcblk1] failed...
[   10.377724] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000200
[   10.377724] 
[   10.386920] CPU: 0 PID: 1 Comm: init-eMMC-flash Not tainted 4.4.9-ti-r25 #1
[   10.393908] Hardware name: Generic AM33XX (Flattened Device Tree)
[   10.400066] [<c0015b61>] (unwind_backtrace) from [<c00123f5>] (show_stack+0x11/0x14)
[   10.407858] [<c00123f5>] (show_stack) from [<c03c9023>] (dump_stack+0x73/0x80)
[   10.415121] [<c03c9023>] (dump_stack) from [<c00f240d>] (panic+0xbd/0x1e8)
[   10.422033] [<c00f240d>] (panic) from [<c00342dd>] (do_exit+0x7d5/0x7f4)
[   10.428765] [<c00342dd>] (do_exit) from [<c0034355>] (do_group_exit+0x2d/0x8c)
[   10.436019] [<c0034355>] (do_group_exit) from [<c00343c7>] (SyS_exit_group+0x13/0x14)
[   10.443893] [<c00343c7>] (SyS_exit_group) from [<c000ec41>] (ret_fast_syscall+0x1/0x52)
[   10.451942] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000200
[   10.451942] 
[   20.141509] random: nonblocking pool is initialized

Robert Nelson

unread,
Oct 28, 2019, 7:23:56 PM10/28/19
to Beagle Board, Michael B
On Mon, Oct 28, 2019 at 4:53 PM Michael B <mi...@indiecraft.com> wrote:
>
> Some success in that I now have a serial cable connecting and can watch the flashing and booting.
> I am still never getting the drive to show up as an external disk where I can change the settings to not do a flash when a card is inserted.

We don't do that... You need to stick the microSD card into a microSD
adapter and plug into another device..

> I am getting the error below. I googled a bit and it was suggested to make sure you are on the latest image.
> I believe I have done that and re-flashed. Here is the error after removing the card and booting:
> Thanks to all for the help.
> Michael B
>
> Error: [/dev/mmcblk1] does not exist
> writing to [/dev/mmcblk1] failed...
> [ 10.377724] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000200
> [ 10.377724]
> [ 10.386920] CPU: 0 PID: 1 Comm: init-eMMC-flash Not tainted 4.4.9-ti-r25 #1
> [ 10.393908] Hardware name: Generic AM33XX (Flattened Device Tree)
> [ 10.400066] [<c0015b61>] (unwind_backtrace) from [<c00123f5>] (show_stack+0x11/0x14)
> [ 10.407858] [<c00123f5>] (show_stack) from [<c03c9023>] (dump_stack+0x73/0x80)
> [ 10.415121] [<c03c9023>] (dump_stack) from [<c00f240d>] (panic+0xbd/0x1e8)
> [ 10.422033] [<c00f240d>] (panic) from [<c00342dd>] (do_exit+0x7d5/0x7f4)
> [ 10.428765] [<c00342dd>] (do_exit) from [<c0034355>] (do_group_exit+0x2d/0x8c)
> [ 10.436019] [<c0034355>] (do_group_exit) from [<c00343c7>] (SyS_exit_group+0x13/0x14)
> [ 10.443893] [<c00343c7>] (SyS_exit_group) from [<c000ec41>] (ret_fast_syscall+0x1/0x52)
> [ 10.451942] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000200
> [ 10.451942]
> [ 20.141509] random: nonblocking pool is initialized

That looks like you flashed a "flasher" to the eMMC...

Without any microSD plugged in, can you show us the full boot log from
power on, to that issue?

Michael B

unread,
Oct 28, 2019, 7:49:04 PM10/28/19
to BeagleBoard
The boot scrolls past and I can't grab it all.  
Using osx in terminal.  

If I put the micro sd into an adapter and plug into a computer it isn't mountable as it's a flash image of the bb that I am trying to get to run as opposed to a drive I can write to.

I tried to > screen to a file and the file came back empty.

sudo screen /dev/tty.usbserial-FTAP7C79 115200 > session.txt

Any advice on how to capture the boot in screen?

Michael B

unread,
Oct 28, 2019, 7:56:55 PM10/28/19
to BeagleBoard
I flashed this version - unless I messed it up of course:

bone-debian-9.9-iot-armhf-2019-08-03-4gb.img.xz

Robert Nelson

unread,
Oct 28, 2019, 8:06:12 PM10/28/19
to Beagle Board, Michael B
On Mon, Oct 28, 2019 at 6:49 PM Michael B <mi...@indiecraft.com> wrote:
>
> The boot scrolls past and I can't grab it all.
> Using osx in terminal.
>
> If I put the micro sd into an adapter and plug into a computer it isn't mountable as it's a flash image of the bb that I am trying to get to run as opposed to a drive I can write to.
>
> I tried to > screen to a file and the file came back empty.
>
> sudo screen /dev/tty.usbserial-FTAP7C79 115200 > session.txt
>
> Any advice on how to capture the boot in screen?
>

Google mentioned a '-L' option that logs to a file..

Sorry i don't know if mac's screen supports that..

Michael B

unread,
Oct 28, 2019, 8:06:40 PM10/28/19
to BeagleBoard
I was able to grab a bit higher up than before.
It looks like it's trying to flash again even though the flash card isn't inserted.


-----------------------------
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/mmcblk0] -> [/dev/mmcblk1]
lsblk:
NAME         MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
mmcblk0boot0 179:8    0    2M  1 disk 
mmcblk0boot1 179:16   0    2M  1 disk 
mmcblk0      179:0    0  3.7G  0 disk 
`-mmcblk0p1  179:1    0  3.7G  0 part /
-----------------------------
df -h | grep rootfs:
-----------------------------
Error: [/dev/mmcblk1] does not exist
writing to [/dev/mmcblk1] failed...
[   10.593743] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000200
[   10.593743] 
[   10.602937] CPU: 0 PID: 1 Comm: init-eMMC-flash Not tainted 4.4.9-ti-r25 #1
[   10.609926] Hardware name: Generic AM33XX (Flattened Device Tree)
[   10.616083] [<c0015b61>] (unwind_backtrace) from [<c00123f5>] (show_stack+0x11/0x14)
[   10.623875] [<c00123f5>] (show_stack) from [<c03c9023>] (dump_stack+0x73/0x80)
[   10.631138] [<c03c9023>] (dump_stack) from [<c00f240d>] (panic+0xbd/0x1e8)
[   10.638050] [<c00f240d>] (panic) from [<c00342dd>] (do_exit+0x7d5/0x7f4)
[   10.644782] [<c00342dd>] (do_exit) from [<c0034355>] (do_group_exit+0x2d/0x8c)
[   10.652036] [<c0034355>] (do_group_exit) from [<c00343c7>] (SyS_exit_group+0x13/0x14)
[   10.659910] [<c00343c7>] (SyS_exit_group) from [<c000ec41>] (ret_fast_syscall+0x1/0x52)
[   10.667960] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000200
[   10.667960] 
[   20.097528] random: nonblocking pool is initialized




Michael B

unread,
Oct 28, 2019, 8:35:03 PM10/28/19
to BeagleBoard
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:   <ethaddr> 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.000042] OMAP clocksource: timer1 at 24000000 Hz
[    0.000228] Console: colour dummy device 80x30
[    0.000253] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
[    0.000260] This ensures that you still see kernel messages. Please
[    0.000266] update your kernel commandline.
[    0.000284] Calibrating delay loop... 995.32 BogoMIPS (lpj=1990656)
[    0.046922] pid_max: default: 32768 minimum: 301
[    0.047058] Security Framework initialized
[    0.047072] Yama: becoming mindful.
[    0.047104] AppArmor: AppArmor disabled by boot time parameter
[    0.047260] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.047271] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.048046] Initializing cgroup subsys io
[    0.048074] Initializing cgroup subsys memory
[    0.048113] Initializing cgroup subsys devices
[    0.048130] Initializing cgroup subsys freezer
[    0.048145] Initializing cgroup subsys net_cls
[    0.048158] Initializing cgroup subsys perf_event
[    0.048172] Initializing cgroup subsys net_prio
[    0.048187] Initializing cgroup subsys pids
[    0.048246] CPU: Testing write buffer coherency: ok
[    0.048298] ftrace: allocating 34073 entries in 67 pages
[    0.133351] CPU0: thread -1, cpu 0, socket -1, mpidr 0
[    0.133473] Setting up static identity map for 0x80008240 - 0x8000828c
[    0.136873] Brought up 1 CPUs
[    0.136892] SMP: Total of 1 processors activated (995.32 BogoMIPS).
[    0.136900] CPU: All CPU(s) started in SVC mode.
[    0.138317] devtmpfs: initialized
[    0.157090] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[    0.175151] omap_hwmod: debugss: _wait_target_disable failed
[    0.228861] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.231050] xor: measuring software checksum speed
[    0.270922]    arm4regs  :  1221.000 MB/sec
[    0.310922]    8regs     :  1094.000 MB/sec
[    0.350919]    32regs    :  1093.000 MB/sec
[    0.390920]    neon      :  1754.000 MB/sec
[    0.390927] xor: using function: neon (1754.000 MB/sec)
[    0.391022] pinctrl core: initialized pinctrl subsystem
[    0.392980] NET: Registered protocol family 16
[    0.395630] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.396823] cpuidle: using governor ladder
[    0.396843] cpuidle: using governor menu
[    0.401785] OMAP GPIO hardware version 0.1
[    0.413353] No ATAGs?
[    0.413382] hw-breakpoint: debug architecture 0x4 unsupported.
[    0.413931] omap4_sram_init:Unable to allocate sram needed to handle errata I688
[    0.413945] omap4_sram_init:Unable to get sram pool needed to handle errata I688
[    0.491048] raid6: int32x1  gen()   269 MB/s
[    0.559022] raid6: int32x1  xor()   236 MB/s
[    0.627027] raid6: int32x2  gen()   356 MB/s
[    0.694961] raid6: int32x2  xor()   269 MB/s
[    0.763016] raid6: int32x4  gen()   405 MB/s
[    0.831016] raid6: int32x4  xor()   259 MB/s
[    0.899068] raid6: int32x8  gen()   359 MB/s
[    0.966927] raid6: int32x8  xor()   231 MB/s
[    1.034945] raid6: neonx1   gen()  1458 MB/s
[    1.102924] raid6: neonx1   xor()   846 MB/s
[    1.170923] raid6: neonx2   gen()  1880 MB/s
[    1.238940] raid6: neonx2   xor()  1168 MB/s
[    1.306918] raid6: neonx4   gen()  1974 MB/s
[    1.374935] raid6: neonx4   xor()  1204 MB/s
[    1.442940] raid6: neonx8   gen()  1211 MB/s
[    1.510919] raid6: neonx8   xor()   671 MB/s
[    1.510926] raid6: using algorithm neonx4 gen() 1974 MB/s
[    1.510932] raid6: .... xor() 1204 MB/s, rmw enabled
[    1.510939] raid6: using intx1 recovery algorithm
[    1.520007] edma 49000000.edma: TI EDMA DMA engine driver
[    1.525057] SCSI subsystem initialized
[    1.525781] usbcore: registered new interface driver usbfs
[    1.525848] usbcore: registered new interface driver hub
[    1.525940] usbcore: registered new device driver usb
[    1.526508] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c0_pins, deferring probe
[    1.526552] omap_i2c 4819c000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c2_pins, deferring probe
[    1.526665] media: Linux media interface: v0.10
[    1.526729] Linux video capture interface: v2.00
[    1.526821] pps_core: LinuxPPS API ver. 1 registered
[    1.526829] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giom...@linux.it>
[    1.526855] PTP clock support registered
[    1.527767] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
[    1.529052] NetLabel: Initializing
[    1.529063] NetLabel:  domain hash size = 128
[    1.529069] NetLabel:  protocols = UNLABELED CIPSOv4
[    1.529124] NetLabel:  unlabeled traffic allowed by default
[    1.529454] clocksource: Switched to clocksource timer1
[    1.635348] NET: Registered protocol family 2
[    1.636090] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    1.636138] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[    1.636197] TCP: Hash tables configured (established 4096 bind 4096)
[    1.636261] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    1.636282] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    1.636569] NET: Registered protocol family 1
[    1.637117] RPC: Registered named UNIX socket transport module.
[    1.637128] RPC: Registered udp transport module.
[    1.637135] RPC: Registered tcp transport module.
[    1.637141] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.637795] Unpacking initramfs...
[    1.975797] Freeing initrd memory: 4716K (cfb65000 - d0000000)
[    1.976312] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
[    1.979046] futex hash table entries: 256 (order: 2, 16384 bytes)
[    1.979157] audit: initializing netlink subsys (disabled)
[    1.979231] audit: type=2000 audit(1.916:1): initialized
[    1.989275] zbud: loaded
[    1.989989] VFS: Disk quotas dquot_6.6.0
[    1.990243] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    1.992878] NFS: Registering the id_resolver key type
[    1.992947] Key type id_resolver registered
[    1.992955] Key type id_legacy registered
[    1.992981] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    1.993313] fuse init (API version 7.23)
[    1.994026] SGI XFS with ACLs, security attributes, realtime, no debug enabled
[    2.001734] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    2.001957] io scheduler noop registered
[    2.001971] io scheduler deadline registered
[    2.002030] io scheduler cfq registered (default)
[    2.003343] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
[    2.004778] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle
[    2.006219] Serial: 8250/16550 driver, 6 ports, IRQ sharing disabled
[    2.009072] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 158, base_baud = 3000000) is a 8250
[    2.892603] console [ttyS0] enabled
[    2.897009] 481a6000.serial: ttyS3 at MMIO 0x481a6000 (irq = 159, base_baud = 3000000) is a 8250
[    2.907327] [drm] Initialized drm 1.1.0 20060810
[    2.916473] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.923139] ehci-platform: EHCI generic platform driver
[    2.928587] ehci-omap: OMAP-EHCI Host Controller driver
[    2.934252] usbcore: registered new interface driver usb-storage
[    2.941960] 47401300.usb-phy supply vcc not found, using dummy regulator
[    2.952075] 47401b00.usb-phy supply vcc not found, using dummy regulator
[    2.961030] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[    2.966884] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 1
[    2.975006] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    2.981858] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.989127] usb usb1: Product: MUSB HDRC host driver
[    2.994128] usb usb1: Manufacturer: Linux 4.4.9-ti-r25 musb-hcd
[    3.000087] usb usb1: SerialNumber: musb-hdrc.1.auto
[    3.005914] hub 1-0:1.0: USB hub found
[    3.009820] hub 1-0:1.0: 1 port detected
[    3.022914] mousedev: PS/2 mouse device common for all mice
[    3.031048] omap_rtc 44e3e000.rtc: rtc core: registered 44e3e000.rtc as rtc0
[    3.039008] i2c /dev entries driver
[    3.044082] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[    3.051787] omap_hsmmc 48060000.mmc: Got CD GPIO
[    3.150989] hidraw: raw HID events driver (C) Jiri Kosina
[    3.157169] usbcore: registered new interface driver usbhid
[    3.162859] usbhid: USB HID core driver
[    3.166886] mmc1: MAN_BKOPS_EN bit is not set
[    3.171603] ashmem: initialized
[    3.175720]  remoteproc0: wkup_m3 is available
[    3.180255]  remoteproc0: Note: remoteproc is still under development and considered experimental.
[    3.189309]  remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
[    3.201848] mmc1: new high speed MMC card at address 0001
[    3.209205] NET: Registered protocol family 10
[    3.214601] mmcblk0: mmc1:0001 Q2J54A 3.64 GiB 
[    3.220577] mip6: Mobile IPv6
[    3.223998] NET: Registered protocol family 17
[    3.228547] mmcblk0boot0: mmc1:0001 Q2J54A partition 1 2.00 MiB
[    3.234800] Key type dns_resolver registered
[    3.239434] mmcblk0boot1: mmc1:0001 Q2J54A partition 2 2.00 MiB
[    3.245453] mpls_gso: MPLS GSO support
[    3.249480] omap_voltage_late_init: Voltage driver support not added
[    3.257508]  mmcblk0: p1
[    3.261353] PM: Cannot get wkup_m3_ipc handle
[    3.267171] ThumbEE CPU extension supported.
[    3.271612] Registering SWP/SWPB emulation handler
[    3.277666] registered taskstats version 1
[    3.282008] zswap: loaded using pool lzo/zbud
[    3.292857] omap_hsmmc 47810000.mmc: card claims to support voltages below defined range
[    3.301085] Btrfs loaded
[    3.328350] Key type encrypted registered
[    3.335535] input: tps65217_pwr_but as /devices/platform/ocp/44e0b000.i2c/i2c-0/0-0024/input/input0
[    3.367249] tps65217 0-0024: TPS65217 ID 0xe version 1.2
[    3.373261] at24 0-0050: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[    3.380301] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
[    3.387769] at24 2-0054: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[    3.395306] at24 2-0055: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[    3.402682] at24 2-0056: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[    3.410087] at24 2-0057: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[    3.417074] usb 1-1: new high-speed USB device number 2 using musb-hdrc
[    3.423791] omap_i2c 4819c000.i2c: bus 2 rev0.11 at 100 kHz
[    3.430821]  remoteproc0: powering up wkup_m3
[    3.435332]  remoteproc0: Booting fw image am335x-pm-firmware.elf, size 219735
[    3.442931]  remoteproc0: remote processor wkup_m3 is now up
[    3.448625] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x191
[    3.460119] bone_capemgr bone_capemgr: Baseboard: 'A335BNLT,GW1A,BBGW16063625'
[    3.467509] bone_capemgr bone_capemgr: compatible-baseboard=ti,beaglebone-black - #slots=4
[    3.513458] bone_capemgr bone_capemgr: slot #0: No cape found
[    3.534986] mmc2: queuing unknown CIS tuple 0x91 (3 bytes)
[    3.557455] bone_capemgr bone_capemgr: slot #1: No cape found
[    3.564685] usb 1-1: New USB device found, idVendor=05e3, idProduct=0610
[    3.571460] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    3.578643] usb 1-1: Product: USB2.0 Hub
[    3.583835] hub 1-1:1.0: USB hub found
[    3.587980] hub 1-1:1.0: 4 ports detected
[    3.597469] bone_capemgr bone_capemgr: slot #2: No cape found
[    3.635923] mmc2: new high speed SDIO card at address 0001
[    3.641475] bone_capemgr bone_capemgr: slot #3: No cape found
[    3.648774] bone_capemgr bone_capemgr: initialized OK.
[    3.655600] PM: bootloader does not support rtc-only!
[    3.661299] omap_rtc 44e3e000.rtc: setting system clock to 2000-01-01 00:00:01 UTC (946684801)
[    3.670324] of_cfs_init
[    3.672896] of_cfs_init: OK
[    3.682134] Freeing unused kernel memory: 604K (c0ad3000 - c0b6a000)
Loading, please wait...
[    3.885112] systemd-udevd[104]: starting version 215
[    3.895834] random: systemd-udevd urandom read with 44 bits of entropy available
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
Begin: Will now check root file system ... fsck from util-linux 2.25.2
[/sbin/fsck.ext4 (1) -- /dev/mmcblk0p1] fsck.ext4 -a -C0 /dev/mmcblk0p1 
BOOT: clean, 114871/238560 files, 574810/954112 blocks
done.
[    4.988357] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: (null)
done.
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/mmcblk0] -> [/dev/mmcblk1]
lsblk:
NAME         MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
mmcblk0boot0 179:8    0    2M  1 disk 
mmcblk0boot1 179:16   0    2M  1 disk 
mmcblk0      179:0    0  3.7G  0 disk 
`-mmcblk0p1  179:1    0  3.7G  0 part /
-----------------------------
df -h | grep rootfs:
-----------------------------
Error: [/dev/mmcblk1] does not exist
writing to [/dev/mmcblk1] failed...
[   10.657680] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000200
[   10.657680] 
[   10.666872] CPU: 0 PID: 1 Comm: init-eMMC-flash Not tainted 4.4.9-ti-r25 #1
[   10.673860] Hardware name: Generic AM33XX (Flattened Device Tree)
[   10.680018] [<c0015b61>] (unwind_backtrace) from [<c00123f5>] (show_stack+0x11/0x14)
[   10.687810] [<c00123f5>] (show_stack) from [<c03c9023>] (dump_stack+0x73/0x80)
[   10.695073] [<c03c9023>] (dump_stack) from [<c00f240d>] (panic+0xbd/0x1e8)
[   10.701986] [<c00f240d>] (panic) from [<c00342dd>] (do_exit+0x7d5/0x7f4)
[   10.708719] [<c00342dd>] (do_exit) from [<c0034355>] (do_group_exit+0x2d/0x8c)
[   10.715973] [<c0034355>] (do_group_exit) from [<c00343c7>] (SyS_exit_group+0x13/0x14)
[   10.723846] [<c00343c7>] (SyS_exit_group) from [<c000ec41>] (ret_fast_syscall+0x1/0x52)
[   10.731895] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000200
[   10.731895] 
[   20.417469] random: nonblocking pool is initialized

Michael B

unread,
Oct 28, 2019, 8:41:57 PM10/28/19
to BeagleBoard
It looks like it is trying to flash again.
So I guess I'm back to my question of how to change the auto flash setting when I can't get access to the setting?.

Michael B

unread,
Oct 28, 2019, 9:39:49 PM10/28/19
to BeagleBoard
Reading this article to create a uboot on a card.  
Does this seem like it's the right path?
Thanks a ton for the advice.



Michael B

unread,
Oct 28, 2019, 9:41:06 PM10/28/19
to BeagleBoard
Another potential path is booting from u-boot to tftp or nfs.   hmmmm...


Stuart Longland

unread,
Oct 29, 2019, 1:00:55 AM10/29/19
to beagl...@googlegroups.com
On 29/10/19 11:41 am, Michael B wrote:
> Another potential path is booting from u-boot to tftp or nfs. hmmmm...

Setting up a TFTP server and an NFS server is not rocket science.
Network booting is a trick that has proven itself very handy time and
time again.
--
Stuart Longland (aka Redhatter, VK4MSL)

I haven't lost my mind...
...it's backed up on a tape somewhere.

jonnymo

unread,
Oct 29, 2019, 2:19:23 AM10/29/19
to Beagle Board
If you are booting from a uSD card, then you can stop the auto flash by commenting out the 'cmdline'entry in the uEnv.txt file.  You can do this from a PC and place it back into the BBW.

Ex:
##enable x15: eMMC Flasher:
##make sure, these tools are installed: dosfstools rsync
#cmdline=init=/opt/scripts/tools/eMMC/init-eMMC-flasher-v3-no-eeprom.sh

However, can't you burn the proper image on a uSD card and then uncomment the "cmdline" entry to reflash the eMMC?

Also, is there a bootable USB drive connected to the board?
           [   2.975006] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    2.981858] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.989127] usb usb1: Product: MUSB HDRC host driver
[    2.994128] usb usb1: Manufacturer: Linux 4.4.9-ti-r25 musb-hcd
[    3.000087] usb usb1: SerialNumber: musb-hdrc.1.auto
[    3.005914] hub 1-0:1.0: USB hub found
[    3.009820] hub 1-0:1.0: 1 port detected

I'm just curious where the Linux 4.4.9-ti-r25 came from and if it is the proper image for this board?

Cheer,

Jon

On Mon, Oct 28, 2019 at 5:42 PM Michael B <mi...@indiecraft.com> wrote:
It looks like it is trying to flash again.
So I guess I'm back to my question of how to change the auto flash setting when I can't get access to the setting?.

--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/c197da0c-c8c2-4f23-9a74-55139ffb985e%40googlegroups.com.

Michael B

unread,
Oct 29, 2019, 7:05:01 AM10/29/19
to BeagleBoard
Great questions.  Thanks so much for helping here.  :)

---
TL:DR:
- I cannot read or write to the SD card on my computer after transferring the image to the SD card.  It's in a format the computer does not like (osx catalina).  Therefore, I do not know how to turn off the flash option in /boot/... to stop it from trying to reflash.
- I am not having luck figuring out how to access the image in u-boot over FTDI cable.
- I am using the current image from the download page.  I have also tried others, including the one called Flasher.  I could be messing this up somehow and under the delusion that it's working when it's not.
---

Longer explanation:

I am using the images found on the Getting Started page -> Download the latest ...

On my mac (running Catalina) I use the following command to write the image to an sd card.
sudo gdd bs=1M if=bone-debian-9.9-lxqt-armhf-2019-08-03-4gb.img of=/dev/rdisk2s1 status=progress

I then eject the card place it in the BBGW and boot it.  It flashes over.

I remove the card and start the BBGW.  Watching the boot through the FTDI, I see it is trying to flash again.

I know about the setting in /boot//uEnv.txt

However, I cannot read the SD card on my computer once it's written the image from the gdd process above.  It gives me a warning when I plug it into my mac that asks me if I want to initialize, ignore or eject.  I have of course tried all 3.  In Disk Utility it doesn't even show up as a drive.  It doesn't show up using "df -h" and most importantly, it isn't showing as a drive where I can edit the uEnv.txt file and rem out the flash property.

Through the terminal I can hit space when I boot the board and go into u-boot.  I can view the environment variables but I can't figure out the commands to even see if the /boot dir is accessible.  I can't seem to find how to enumerate the "interfaces" in u-boot.  

I am going to bring the SD card to work and see if I can read the card there.  Also, I wonder if I should go a different route (different computer) to create the SD card to begin with.  I have seen some tutorials showing the manual formatting of the partitions, coping the image and making it bootable.  The suggested tool for the Mac has been not working for a couple of years and the developer isn't updating it.  So on my Mac, the (g)dd command is the only way.  

I will be trying to get my hands on a Windows PC tonight and see if I have better luck with the SD card there.

Thanks all for the help.  I know it's going to end up being one simple thing that I am missing.  At least the tinkering is fun.  :)

Michael B




Robert Nelson

unread,
Oct 29, 2019, 9:50:49 AM10/29/19
to Beagle Board, Michael B
On Startup, hold the "boot" button.. Sadly what you've done is
enabled the "flasher" script from the eMMC rootfs, so on every bootup,
it tries to "flash" the microSD from the eMMC..

So what you need to do, is hold the "boot" button, apply power, and
let it actually boot from the microSD, then nuke the eMMC via dd, so
it won't keep tring to flash the microSD on bootup..

jonnymo

unread,
Oct 29, 2019, 10:18:55 AM10/29/19
to Beagle Board
You could install something like VirtualBox or VMWare Fusion on your Mac and create a Linux VM where you should be able to read the flash card. 

if you are questioning the burn to uSD, then you could download and install Etcher to create the bootable uSD card.

Jon

--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.

Dennis Lee Bieber

unread,
Oct 29, 2019, 12:00:32 PM10/29/19
to Beagleboard
On Tue, 29 Oct 2019 04:05:01 -0700 (PDT), in
gmane.comp.hardware.beagleboard.user Michael B
<mike-NEI+xi/g6JCWd6...@public.gmane.org> wrote:


>- I cannot read or write to the SD card on my computer after transferring
>the image to the SD card. It's in a format the computer does not like (osx
>catalina). Therefore, I do not know how to turn off the flash option in
>/boot/... to stop it from trying to reflash.

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).

--
Dennis L Bieber

Michael B

unread,
Oct 31, 2019, 5:13:43 PM10/31/19
to BeagleBoard
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.

jonnymo

unread,
Oct 31, 2019, 5:35:20 PM10/31/19
to beagl...@googlegroups.com
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.
--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/3337ab28-8663-4fac-8640-df3b1991b1b6%40googlegroups.com.

Michael B

unread,
Oct 31, 2019, 5:55:22 PM10/31/19
to BeagleBoard
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.  
To unsubscribe from this group and stop receiving emails from it, send an email to beagl...@googlegroups.com.

jonnymo

unread,
Oct 31, 2019, 6:52:39 PM10/31/19
to beagl...@googlegroups.com
You could always get a Rasberry Pi to read the BB uSD.

To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/12ecdfd4-71aa-4c5b-985c-3bfc13f813cb%40googlegroups.com.

Michael B

unread,
Oct 31, 2019, 7:02:45 PM10/31/19
to BeagleBoard
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.

jonnymo

unread,
Oct 31, 2019, 7:54:11 PM10/31/19
to beagl...@googlegroups.com
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
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/500179b4-4a2d-474f-9426-3cc3b3894bc6%40googlegroups.com.

Michael B

unread,
Oct 31, 2019, 8:16:53 PM10/31/19
to BeagleBoard
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.

Dennis Lee Bieber

unread,
Oct 31, 2019, 10:37:35 PM10/31/19
to Beagleboard
On Thu, 31 Oct 2019 14:13:43 -0700 (PDT), in
gmane.comp.hardware.beagleboard.user Michael B
<mike-NEI+xi/g6JCWd6...@public.gmane.org> wrote:

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

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.
--
Dennis L Bieber

Dennis Lee Bieber

unread,
Oct 31, 2019, 10:39:43 PM10/31/19
to Beagleboard
On Thu, 31 Oct 2019 15:52:20 -0700, in gmane.comp.hardware.beagleboard.user
jonnymo <jonnymovo-Re5JQE...@public.gmane.org> wrote:

>You could always get a Rasberry Pi to read the BB uSD.
>
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.
--
Dennis L Bieber

Dennis Lee Bieber

unread,
Oct 31, 2019, 10:48:09 PM10/31/19
to Beagleboard
On Thu, 31 Oct 2019 16:02:45 -0700 (PDT), in
gmane.comp.hardware.beagleboard.user Michael B
<mike-NEI+xi/g6JCWd6...@public.gmane.org> wrote:


>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.
>
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.
--
Dennis L Bieber

jonnymo

unread,
Oct 31, 2019, 11:35:44 PM10/31/19
to Beagle Board
Could you post the complete FTDI serial output of the board booting from the SD card and using the Boot button?


Jon

To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/67401c62-69e2-467f-a08c-504aded453da%40googlegroups.com.

Michael B

unread,
Nov 1, 2019, 9:17:24 AM11/1/19
to BeagleBoard
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

[    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
[    1.526852] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giom...@linux.it>
[    1.526878] PTP clock support registered
[    1.527797] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
[    1.529086] NetLabel: Initializing
[    1.529098] NetLabel:  domain hash size = 128
[    1.529104] NetLabel:  protocols = UNLABELED CIPSOv4
[    1.529160] NetLabel:  unlabeled traffic allowed by default
[    1.529492] clocksource: Switched to clocksource timer1
[    1.635426] NET: Registered protocol family 2
[    1.636168] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    1.636217] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[    1.636276] TCP: Hash tables configured (established 4096 bind 4096)
[    1.636342] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    1.636363] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    1.636648] NET: Registered protocol family 1
[    1.637194] RPC: Registered named UNIX socket transport module.
[    1.637207] RPC: Registered udp transport module.
[    1.637213] RPC: Registered tcp transport module.
[    1.637219] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.637884] Unpacking initramfs...
[    1.976014] Freeing initrd memory: 4716K (cfb65000 - d0000000)
[    1.976527] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
[    1.979269] futex hash table entries: 256 (order: 2, 16384 bytes)
[    1.979383] audit: initializing netlink subsys (disabled)
[    1.979455] audit: type=2000 audit(1.916:1): initialized
[    1.989438] zbud: loaded
[    1.990207] VFS: Disk quotas dquot_6.6.0
[    1.990467] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    1.993084] NFS: Registering the id_resolver key type
[    1.993144] Key type id_resolver registered
[    1.993152] Key type id_legacy registered
[    1.993177] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    1.993582] fuse init (API version 7.23)
[    1.994215] SGI XFS with ACLs, security attributes, realtime, no debug enabled
[    2.001882] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    2.002105] io scheduler noop registered
[    2.002120] io scheduler deadline registered
[    2.002179] io scheduler cfq registered (default)
[    2.003499] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
[    2.004938] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle
[    2.006356] Serial: 8250/16550 driver, 6 ports, IRQ sharing disabled
[    2.009203] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 158, base_baud = 3000000) is a 8250
[    2.892737] console [ttyS0] enabled
[    2.897153] 481a6000.serial: ttyS3 at MMIO 0x481a6000 (irq = 159, base_baud = 3000000) is a 8250
[    2.907474] [drm] Initialized drm 1.1.0 20060810
[    2.916638] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.923309] ehci-platform: EHCI generic platform driver
[    2.928762] ehci-omap: OMAP-EHCI Host Controller driver
[    2.934432] usbcore: registered new interface driver usb-storage
[    2.942150] 47401300.usb-phy supply vcc not found, using dummy regulator
[    2.952260] 47401b00.usb-phy supply vcc not found, using dummy regulator
[    2.961208] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[    2.967061] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 1
[    2.975187] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    2.982037] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.989304] usb usb1: Product: MUSB HDRC host driver
[    2.994305] usb usb1: Manufacturer: Linux 4.4.9-ti-r25 musb-hcd
[    3.000263] usb usb1: SerialNumber: musb-hdrc.1.auto
[    3.006077] hub 1-0:1.0: USB hub found
[    3.009980] hub 1-0:1.0: 1 port detected
[    3.023107] mousedev: PS/2 mouse device common for all mice
[    3.031240] omap_rtc 44e3e000.rtc: rtc core: registered 44e3e000.rtc as rtc0
[    3.039200] i2c /dev entries driver
[    3.044307] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[    3.052014] omap_hsmmc 48060000.mmc: Got CD GPIO
[    3.151034] hidraw: raw HID events driver (C) Jiri Kosina
[    3.157204] usbcore: registered new interface driver usbhid
[    3.162891] usbhid: USB HID core driver
[    3.166919] mmc1: MAN_BKOPS_EN bit is not set
[    3.171627] ashmem: initialized
[    3.175742]  remoteproc0: wkup_m3 is available
[    3.180274]  remoteproc0: Note: remoteproc is still under development and considered experimental.
[    3.189327]  remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
[    3.201874] mmc1: new high speed MMC card at address 0001
[    3.209229] NET: Registered protocol family 10
[    3.214623] mmcblk0: mmc1:0001 Q2J54A 3.64 GiB 
[    3.220572] mip6: Mobile IPv6
[    3.223991] NET: Registered protocol family 17
[    3.228536] mmcblk0boot0: mmc1:0001 Q2J54A partition 1 2.00 MiB
[    3.234764] Key type dns_resolver registered
[    3.239394] mmcblk0boot1: mmc1:0001 Q2J54A partition 2 2.00 MiB
[    3.245391] mpls_gso: MPLS GSO support
[    3.250288] omap_voltage_late_init: Voltage driver support not added
[    3.256859]  mmcblk0: p1
[    3.261230] PM: Cannot get wkup_m3_ipc handle
[    3.267067] ThumbEE CPU extension supported.
[    3.271513] Registering SWP/SWPB emulation handler
[    3.277556] registered taskstats version 1
[    3.281901] zswap: loaded using pool lzo/zbud
[    3.292755] omap_hsmmc 47810000.mmc: card claims to support voltages below defined range
[    3.300986] Btrfs loaded
[    3.328207] Key type encrypted registered
[    3.335372] input: tps65217_pwr_but as /devices/platform/ocp/44e0b000.i2c/i2c-0/0-0024/input/input0
[    3.367264] tps65217 0-0024: TPS65217 ID 0xe version 1.2
[    3.373302] at24 0-0050: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[    3.380310] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
[    3.387842] at24 2-0054: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[    3.395332] at24 2-0055: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[    3.402735] at24 2-0056: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[    3.410147] at24 2-0057: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[    3.417123] usb 1-1: new high-speed USB device number 2 using musb-hdrc
[    3.423875] omap_i2c 4819c000.i2c: bus 2 rev0.11 at 100 kHz
[    3.430880]  remoteproc0: powering up wkup_m3
[    3.435388]  remoteproc0: Booting fw image am335x-pm-firmware.elf, size 219735
[    3.442982]  remoteproc0: remote processor wkup_m3 is now up
[    3.448678] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x191
[    3.460168] bone_capemgr bone_capemgr: Baseboard: 'A335BNLT,GW1A,BBGW16063625'
[    3.467531] bone_capemgr bone_capemgr: compatible-baseboard=ti,beaglebone-black - #slots=4
[    3.513497] bone_capemgr bone_capemgr: slot #0: No cape found
[    3.534366] mmc2: queuing unknown CIS tuple 0x91 (3 bytes)
[    3.557496] bone_capemgr bone_capemgr: slot #1: No cape found
[    3.564725] usb 1-1: New USB device found, idVendor=05e3, idProduct=0610
[    3.571497] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    3.578680] usb 1-1: Product: USB2.0 Hub
[    3.583807] hub 1-1:1.0: USB hub found
[    3.587941] hub 1-1:1.0: 4 ports detected
[    3.597511] bone_capemgr bone_capemgr: slot #2: No cape found
[    3.635436] mmc2: new high speed SDIO card at address 0001
[    3.642284] bone_capemgr bone_capemgr: slot #3: No cape found
[    3.648320] bone_capemgr bone_capemgr: initialized OK.
[    3.655131] PM: bootloader does not support rtc-only!
[    3.660832] omap_rtc 44e3e000.rtc: setting system clock to 2000-01-01 00:00:01 UTC (946684801)
[    3.669860] of_cfs_init
[    3.672431] of_cfs_init: OK
[    3.681702] Freeing unused kernel memory: 604K (c0ad3000 - c0b6a000)
Loading, please wait...
[    3.884915] systemd-udevd[104]: starting version 215
[    3.895832] random: systemd-udevd urandom read with 44 bits of entropy available
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
Begin: Will now check root file system ... fsck from util-linux 2.25.2
[/sbin/fsck.ext4 (1) -- /dev/mmcblk0p1] fsck.ext4 -a -C0 /dev/mmcblk0p1 
BOOT: clean, 114871/238560 files, 574945/954112 blocks
done.
[    4.948553] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: (null)
done.
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/mmcblk0] -> [/dev/mmcblk1]
lsblk:
NAME         MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
mmcblk0boot0 179:8    0    2M  1 disk 
mmcblk0boot1 179:16   0    2M  1 disk 
mmcblk0      179:0    0  3.7G  0 disk 
`-mmcblk0p1  179:1    0  3.7G  0 part /
-----------------------------
df -h | grep rootfs:
-----------------------------
Error: [/dev/mmcblk1] does not exist
writing to [/dev/mmcblk1] failed...
[   10.621725] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000200
[   10.621725] 
[   10.630917] CPU: 0 PID: 1 Comm: init-eMMC-flash Not tainted 4.4.9-ti-r25 #1
[   10.637905] Hardware name: Generic AM33XX (Flattened Device Tree)
[   10.644062] [<c0015b61>] (unwind_backtrace) from [<c00123f5>] (show_stack+0x11/0x14)
[   10.651854] [<c00123f5>] (show_stack) from [<c03c9023>] (dump_stack+0x73/0x80)
[   10.659116] [<c03c9023>] (dump_stack) from [<c00f240d>] (panic+0xbd/0x1e8)
[   10.666029] [<c00f240d>] (panic) from [<c00342dd>] (do_exit+0x7d5/0x7f4)
[   10.672762] [<c00342dd>] (do_exit) from [<c0034355>] (do_group_exit+0x2d/0x8c)
[   10.680017] [<c0034355>] (do_group_exit) from [<c00343c7>] (SyS_exit_group+0x13/0x14)
[   10.687889] [<c00343c7>] (SyS_exit_group) from [<c000ec41>] (ret_fast_syscall+0x1/0x52)
[   10.695937] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000200
[   10.695937] 
[   20.381507] random: nonblocking pool is initialized

Michael B

unread,
Nov 1, 2019, 10:12:23 AM11/1/19
to BeagleBoard
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:   <ethaddr> 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 **
[    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
[    1.526838] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giom...@linux.it>
[    1.526865] PTP clock support registered
[    1.527773] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
[    1.529062] NetLabel: Initializing
[    1.529072] NetLabel:  domain hash size = 128
[    1.529078] NetLabel:  protocols = UNLABELED CIPSOv4
[    1.529134] NetLabel:  unlabeled traffic allowed by default
[    1.529462] clocksource: Switched to clocksource timer1
[    1.635340] NET: Registered protocol family 2
[    1.636093] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    1.636140] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[    1.636199] TCP: Hash tables configured (established 4096 bind 4096)
[    1.636264] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    1.636286] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    1.636576] NET: Registered protocol family 1
[    1.637116] RPC: Registered named UNIX socket transport module.
[    1.637129] RPC: Registered udp transport module.
[    1.637136] RPC: Registered tcp transport module.
[    1.637142] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.637800] Unpacking initramfs...
[    1.975724] Freeing initrd memory: 4716K (cfb65000 - d0000000)
[    1.976236] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
[    1.978972] futex hash table entries: 256 (order: 2, 16384 bytes)
[    1.979085] audit: initializing netlink subsys (disabled)
[    1.979159] audit: type=2000 audit(1.916:1): initialized
[    1.989222] zbud: loaded
[    1.989939] VFS: Disk quotas dquot_6.6.0
[    1.990197] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    1.992828] NFS: Registering the id_resolver key type
[    1.992889] Key type id_resolver registered
[    1.992897] Key type id_legacy registered
[    1.992921] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    1.993252] fuse init (API version 7.23)
[    1.993966] SGI XFS with ACLs, security attributes, realtime, no debug enabled
[    2.001618] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    2.001883] io scheduler noop registered
[    2.001897] io scheduler deadline registered
[    2.001959] io scheduler cfq registered (default)
[    2.003276] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
[    2.004720] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle
[    2.006128] Serial: 8250/16550 driver, 6 ports, IRQ sharing disabled
[    2.009000] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 158, base_baud = 3000000) is a 8250
[    2.892513] console [ttyS0] enabled
[    2.896921] 481a6000.serial: ttyS3 at MMIO 0x481a6000 (irq = 159, base_baud = 3000000) is a 8250
[    2.907224] [drm] Initialized drm 1.1.0 20060810
[    2.916364] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.923036] ehci-platform: EHCI generic platform driver
[    2.928489] ehci-omap: OMAP-EHCI Host Controller driver
[    2.934157] usbcore: registered new interface driver usb-storage
[    2.941883] 47401300.usb-phy supply vcc not found, using dummy regulator
[    2.952006] 47401b00.usb-phy supply vcc not found, using dummy regulator
[    2.960945] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[    2.966797] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 1
[    2.974922] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    2.981769] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.989039] usb usb1: Product: MUSB HDRC host driver
[    2.994040] usb usb1: Manufacturer: Linux 4.4.9-ti-r25 musb-hcd
[    2.999997] usb usb1: SerialNumber: musb-hdrc.1.auto
[    3.005885] hub 1-0:1.0: USB hub found
[    3.009768] hub 1-0:1.0: 1 port detected
[    3.022788] mousedev: PS/2 mouse device common for all mice
[    3.030914] omap_rtc 44e3e000.rtc: rtc core: registered 44e3e000.rtc as rtc0
[    3.038872] i2c /dev entries driver
[    3.043977] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[    3.051685] omap_hsmmc 48060000.mmc: Got CD GPIO
[    3.137721] mmc0: host does not support reading read-only switch, assuming write-enable
[    3.148850] mmc0: new high speed SDHC card at address 8fe4
[    3.155834] hidraw: raw HID events driver (C) Jiri Kosina
[    3.162420] mmcblk0: mmc0:8fe4 SU08G 7.40 GiB 
[    3.167581] usbcore: registered new interface driver usbhid
[    3.173225] usbhid: USB HID core driver
[    3.178069] ashmem: initialized
[    3.181360]  mmcblk0: p1
[    3.185712]  remoteproc0: wkup_m3 is available
[    3.190260]  remoteproc0: Note: remoteproc is still under development and considered experimental.
[    3.199280]  remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
[    3.214990] NET: Registered protocol family 10
[    3.223009] mip6: Mobile IPv6
[    3.226148] NET: Registered protocol family 17
[    3.230817] Key type dns_resolver registered
[    3.235199] mpls_gso: MPLS GSO support
[    3.239260] omap_voltage_late_init: Voltage driver support not added
[    3.249776] PM: Cannot get wkup_m3_ipc handle
[    3.254380] ThumbEE CPU extension supported.
[    3.258719] Registering SWP/SWPB emulation handler
[    3.264520] registered taskstats version 1
[    3.268858] zswap: loaded using pool lzo/zbud
[    3.276800] Btrfs loaded
[    3.287332] mmc1: MAN_BKOPS_EN bit is not set
[    3.298266] mmc1: new high speed MMC card at address 0001
[    3.309703] mmcblk1: mmc1:0001 Q2J54A 3.64 GiB 
[    3.318379] Key type encrypted registered
[    3.322659] mmcblk1boot0: mmc1:0001 Q2J54A partition 1 2.00 MiB
[    3.331473] input: tps65217_pwr_but as /devices/platform/ocp/44e0b000.i2c/i2c-0/0-0024/input/input0
[    3.341141] mmcblk1boot1: mmc1:0001 Q2J54A partition 2 2.00 MiB
[    3.348635]  mmcblk1: p1
[    3.360162] omap_hsmmc 47810000.mmc: card claims to support voltages below defined range
[    3.378091] tps65217 0-0024: TPS65217 ID 0xe version 1.2
[    3.384104] at24 0-0050: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[    3.391110] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
[    3.398640] at24 2-0054: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[    3.406077] at24 2-0055: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[    3.413530] at24 2-0056: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[    3.420903] at24 2-0057: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[    3.427906] usb 1-1: new high-speed USB device number 2 using musb-hdrc
[    3.434702] omap_i2c 4819c000.i2c: bus 2 rev0.11 at 100 kHz
[    3.441666]  remoteproc0: powering up wkup_m3
[    3.446153]  remoteproc0: Booting fw image am335x-pm-firmware.elf, size 219735
[    3.453811]  remoteproc0: remote processor wkup_m3 is now up
[    3.459504] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x191
[    3.470281] bone_capemgr bone_capemgr: Baseboard: 'A335BNLT,GW1A,BBGW16063625'
[    3.477635] bone_capemgr bone_capemgr: compatible-baseboard=ti,beaglebone-black - #slots=4
[    3.525467] bone_capemgr bone_capemgr: slot #0: No cape found
[    3.566804] usb 1-1: New USB device found, idVendor=05e3, idProduct=0610
[    3.573571] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    3.580755] usb 1-1: Product: USB2.0 Hub
[    3.584737] bone_capemgr bone_capemgr: slot #1: No cape found
[    3.591795] hub 1-1:1.0: USB hub found
[    3.595961] hub 1-1:1.0: 4 ports detected
[    3.608405] mmc2: queuing unknown CIS tuple 0x91 (3 bytes)
[    3.629471] bone_capemgr bone_capemgr: slot #2: No cape found
[    3.673462] bone_capemgr bone_capemgr: slot #3: No cape found
[    3.679345] bone_capemgr bone_capemgr: initialized OK.
[    3.686583] PM: bootloader does not support rtc-only!
[    3.692276] omap_rtc 44e3e000.rtc: setting system clock to 2000-01-01 00:00:01 UTC (946684801)
[    3.701077] of_cfs_init
[    3.703763] of_cfs_init: OK
[    3.708579] mmc2: new high speed SDIO card at address 0001
[    3.723255] Freeing unused kernel memory: 604K (c0ad3000 - c0b6a000)
Loading, please wait...
[    4.026331] systemd-udevd[106]: starting version 215
[    4.039948] random: systemd-udevd urandom read with 51 bits of entropy available
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
Begin: Will now check root file system ... fsck from util-linux 2.25.2
[/sbin/fsck.ext4 (1) -- /dev/mmcblk1p1] fsck.ext4 -a -C0 /dev/mmcblk1p1 
BOOT: clean, 114871/238560 files, 574945/954112 blocks
done.
[    5.157287] EXT4-fs (mmcblk1p1): mounted filesystem with ordered data mode. Opts: (null)
done.
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]
lsblk:
NAME         MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
mmcblk1boot0 179:16   0    2M  1 disk 
mmcblk1boot1 179:24   0    2M  1 disk 
mmcblk0      179:0    0  7.4G  0 disk 
`-mmcblk0p1  179:1    0  7.4G  0 part 
mmcblk1      179:8    0  3.7G  0 disk 
`-mmcblk1p1  179:9    0  3.7G  0 part /
-----------------------------
df -h | grep rootfs:
-----------------------------
Erasing: /dev/mmcblk0
108+0 records in
108+0 records out
113246208 bytes (113 MB) copied, 9.71981 s, 11.7 MB/s
[   20.645095] random: nonblocking pool is initialized
108+0 records in
108+0 records out
113246208 bytes (113 MB) copied, 5.45552 s, 20.8 MB/s
Erasing: /dev/mmcblk0 complete
-----------------------------
Writing bootloader to [/dev/mmcblk0]
dd if=/opt/backup/uboot/MLO of=/dev/mmcblk0 count=1 seek=1 conv=notrunc bs=128k
-----------------------------
0+1 records in
0+1 records out
65764 bytes (66 kB) copied, 0.0113357 s, 5.8 MB/s
-----------------------------
dd if=/opt/backup/uboot/u-boot.img of=/dev/mmcblk0 count=2 seek=1 conv=notrunc bs=384k
-----------------------------
0+1 records in
0+1 records out
350196 bytes (350 kB) copied, 0.0682698 s, 5.1 MB/s
-----------------------------
Formatting: /dev/mmcblk0
sfdisk: [sfdisk from util-linux 2.25.2]
sfdisk: [sfdisk --force --Linux --in-order --unit M /dev/mmcblk0]
sfdisk: [1,,L,*]
sfdisk: Checking that no-one is using this disk right now ...
sfdisk: OK

Disk /dev/mmcblk0: 242560 cylinders, 4 heads, 16 sectors/track
sfdisk:  /dev/mmcblk0: unrecognized partition tabl[   26.238302]  mmcblk0: p1
e type
Old situation:
sfdisk: No partitions found
New situation:
Units: 1MiB = 1024*1024 bytes, blocks of 1024 bytes, counting from 0

   Device Boot Start   End    MiB    #blocks   Id  System
/dev/mmcblk0p1   *     1   7579   7579    7760896   83  Linux
/dev/mmcblk0p2         0      -      0          0    0  Empty
/dev/mmcblk0p3         0      -      0          0    0  Empty
/dev/mmcblk0p4         0      -      0          0    0  Empty
Successfully wrote the new partition table

Re-reading the partition table ...

sfdisk: If you created or changed a DOS partition, /dev/foo7, say, then use dd(1)
to zero the first 512 bytes:  dd if=/dev/zero of=/dev/foo7 bs=512 count=1
(See fdisk(8).)
mkfs.ext4 /dev/mmcblk0p1 -L BOOT
-----------------------------
mke2fs 1.43 (17-May-2016)
Discarding device blocks:    4096/1940224 528384/1940224 1052672/1940224 1576960/1940224               done                            
Creating filesystem with 1940224 4k blocks and 485760 inodes
Filesystem UUID: d5999751-931a-416f-9aaa-7f507927b188
Superblock backups stored on blocks: 
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632

Allocating group tables:  0/60     done                            
Writing inode tables:  0/60     done                            
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information:  0/60     done

-----------------------------
Formatting: /dev/mmcblk0 complete
-----------------------------
Copying: /dev/mmcblk1p1 -> /dev/mmcblk0p1
[   53.013428] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: (null)
rsync: / -> /tmp/rootfs/
Copying: Kernel modules
rsync: /lib/modules/4.4.9-ti-r25/ -> /tmp/rootfs/lib/modules/4.4.9-ti-r25/
Copying: /dev/mmcblk1p1 -> /dev/mmcblk0p1 complete
-----------------------------
Final System Tweaks:
UUID=d5999751-931a-416f-9aaa-7f507927b188
Generating: /etc/fstab
# /etc/fstab: static file system information.
#
UUID=d5999751-931a-416f-9aaa-7f507927b188  /  ext4  noatime,errors=remount-ro  0  1
debugfs  /sys/kernel/debug  debugfs  defaults  0  0
/boot/uEnv.txt: disabling eMMC flasher script

uname_r=4.4.9-ti-r25
###uuid=3b35d211-8feb-4efb-96e4-a2e18824a0a4
#dtb=

##BeagleBone Black/Green dtb's for v4.1.x (BeagleBone White just works..)

##BeagleBone Black: HDMI (Audio/Video) disabled:
#dtb=am335x-boneblack-emmc-overlay.dtb

##BeagleBone Black: eMMC disabled:
#dtb=am335x-boneblack-hdmi-overlay.dtb

##BeagleBone Black: HDMI Audio/eMMC disabled:
#dtb=am335x-boneblack-nhdmi-overlay.dtb

##BeagleBone Black: HDMI (Audio/Video)/eMMC disabled:
#dtb=am335x-boneblack-overlay.dtb

##BeagleBone Black: wl1835
#dtb=am335x-boneblack-wl1835mod.dtb

##BeagleBone Green: eMMC disabled
#dtb=am335x-bonegreen-overlay.dtb

cmdline=coherent_pool=1M quiet cape_universal=enable

#In the event of edid real failures, uncomment this next line:
#cmdline=coherent_pool=1M quiet cape_universal=enable video=HDMI-A-1:1024x768@60e

##Example v3.8.x
#cape_disable=capemgr.disable_partno=
#cape_enable=capemgr.enable_partno=

##Example v4.1.x
#cape_disable=bone_capemgr.disable_partno=
#cape_enable=bone_capemgr.enable_partno=

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

##uuid=f78a2c6d-7772-4c3d-8cd9-a438dedb3e8c
#uuid=2b96442f-bc55-493c-8e3d-4c599d12fbad
uuid=d5999751-931a-416f-9aaa-7f507927b188
-----------------------------
running: chroot /tmp/rootfs/ /usr/bin/bb-wl18xx-wlan0
-----------------------------
lsmod
Module                  Size  Used by
wl18xx                 86482  0 
wlcore                189892  1 wl18xx
mac80211              486884  2 wl18xx,wlcore
cfg80211              418909  3 mac80211,wl18xx,wlcore
rfkill                 18276  1 cfg80211
-----------------------------
eeprom=[2C:F7:F1:06:5A:D2]
/lib/firmware/ti-connectivity/wl1271-nvs.bin=[2C:F7:F1:06:5A:D2]
-----------------------------
initrd: -rw-r--r-- 1 root root 4.7M May  7  2017 /tmp/rootfs/boot/initrd.img-4.4.9-ti-r25
-----------------------------
Syncing: /dev/mmcblk0
/opt/scripts/tools/eMMC/init-eMMC-flasher-v3-bbgw.sh: line 350:   167 Terminated              cylon_leds
100000+0 records in
100000+0 records out
51200000 bytes (51 MB) copied, 2.41636 s, 21.2 MB/s
Syncing: /dev/mmcblk0 complete
-----------------------------
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,relatime,size=10240k,nr_inodes=59251,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,relatime,size=100784k,mode=755)
/dev/mmcblk1p1 on / type ext4 (ro,relatime,data=ordered)
eMMC has been flashed: please wait for device to power down.
-----------------------------
[  527.219222] systemd[1]: System time before build time, advancing clock.
[  527.228425] systemd[1]: Failed to insert module 'kdbus': Function not implemented
[  527.269875] systemd[1]: systemd 230 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ -LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN)
[  527.288686] systemd[1]: Detected architecture arm.

Welcome to [1mDebian GNU/Linux 8 (jessie) [0m!

[  527.302551] systemd[1]: Set hostname to <beaglebone>.
[  527.835972] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[ [0;32m  OK   [0m] Started Forward Password Requests to Wall Directory Watch.
[  527.858032] systemd[1]: Listening on Syslog Socket.
[ [0;32m  OK   [0m] Listening on Syslog Socket.
[  527.869991] systemd[1]: Listening on Journal Socket.
[ [0;32m  OK   [0m] Listening on Journal Socket.
[  527.881749] systemd[1]: Reached target Encrypted Volumes.
[ [0;32m  OK   [0m] Reached target Encrypted Volumes.
[  527.893679] systemd[1]: Reached target Swap.
[ [0;32m  OK   [0m] Reached target Swap.
[  527.906441] systemd[1]: Created slice User and Session Slice.
[ [0;32m  OK   [0m] Created slice User and Session Slice.
[  527.926364] systemd[1]: Listening on Journal Audit Socket.
[ [0;32m  OK   [0m] Listening on Journal Audit Socket.
[  527.939131] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[ [0;32m  OK   [0m] Set up automount Arbitrary Executab...ats File System Automount Point.
[  527.961925] systemd[1]: Listening on fsck to fsckd communication Socket.
[ [0;32m  OK   [0m] Listening on fsck to fsckd communication Socket.
[  527.982388] systemd[1]: Created slice System Slice.
[ [0;32m  OK   [0m] Created slice System Slice.
[  527.994964] systemd[1]: Created slice system-getty.slice.
[ [0;32m  OK   [0m] Created slice system-getty.slice.
[  528.013800] systemd[1]: Reached target Slices.
[ [0;32m  OK   [0m] Reached target Slices.
[  528.031247] systemd[1]: Mounting /sys/kernel/debug...
         Mounting /sys/kernel/debug...
[  528.057326] systemd[1]: Starting LSB: Setup /var/run/katana directory...
         Starting LSB: Setup /var/run/katana directory...
[  528.144447] systemd[1]: Starting Remount Root and Kernel File Systems...
         Starting Remount Root and Kernel File Systems...
[  528.210033] systemd[1]: Mounting POSIX Message Queue File System...
         Mounting POSIX Message Queue File System...
[  528.298345] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[ [0;32m  OK   [0m] Listening on /dev/initctl Compatibility Named Pipe.
[  528.322494] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[  528.331822] EXT4-fs (mmcblk1p1): re-mounted. Opts: errors=remount-ro
[ [0;32m  OK   [0m] Started Dispatch Password Requests to Console Directory Watch.
[  528.354053] systemd[1]: Reached target Paths.
[ [0;32m  OK   [0m] Reached target Paths.
[  528.386367] systemd[1]: Starting Create list of required static device nodes for the current kernel...
         Starting Create list of required st... nodes for the current kernel...
[  528.430319] systemd[1]: Listening on Journal Socket (/dev/log).
[ [0;32m  OK   [0m] Listening on Journal Socket (/dev/log).
[  528.453979] systemd[1]: Starting Journal Service...
         Starting Journal Service...
[  528.474969] systemd[1]: Created slice system-serial\x2dgetty.slice.
[ [0;32m  OK   [0m] Created slice system-serial\x2dgetty.slice.
[  528.506100] systemd[1]: Reached target Remote File Systems (Pre).
[ [0;32m  OK   [0m] Reached target Remote File Systems (Pre).
[  528.525919] systemd[1]: Reached target Remote File Systems.
[ [0;32m  OK   [0m] Reached target Remote File Systems.
[  528.546138] systemd[1]: Listening on udev Kernel Socket.
[ [0;32m  OK   [0m] Listening on udev Kernel Socket.
[  528.572767] systemd[1]: Starting Load Kernel Modules...
         Starting Load Kernel Modules...
[  528.606287] systemd[1]: Listening on udev Control Socket.
[ [0;32m  OK   [0m] Listening on udev Control Socket.
[  528.675255] systemd[1]: Mounted POSIX Message Queue File System.
[ [0;32m  OK   [0m] Mounted POSIX Message Queue File System.
[  528.718045] systemd[1]: Mounted /sys/kernel/debug.
[ [0;32m  OK   [0m] Mounted /sys/kernel/debug.
[  528.738650] systemd[1]: Started Journal Service.
[ [0;32m  OK   [0m] Started Journal Service.
[ [0;32m  OK   [0m] Started Remount Root and Kernel File Systems.
[ [0;32m  OK   [0m] Started Create list of required sta...ce nodes for the current kernel.
[ [0;32m  OK   [0m] Started Load Kernel Modules.
         Mounting Configuration File System...
         Starting Apply Kernel Variables...
         Mounting FUSE Control File System...
         Starting Create Static Device Nodes in /dev...
         Starting Load/Save Random Seed...
         Starting udev Coldplug all Devices...
         Starting Flush Journal to Persistent Storage...
[ [0;32m  OK   [0m] Mounted Configuration File System.
[ [0;32m  OK   [0m] Mounted FUSE Control File System.
[ [0;32m  OK   [0m] Started LSB: Setup /var/run/katana directory.
[ [0;32m  OK   [0m] Started Apply Kernel Variables.
[ [0;32m  OK   [0m] Started Create Static Device Nodes in /dev.
[ [0;32m  OK   [0m] Started Load/Save Random Seed.
[  529.438105] systemd-journald[4725]: Received request to flush runtime journal from PID 1
[ [0;32m  OK   [0m] Reached target Local File Systems (Pre).
[ [0;32m  OK   [0m] Reached target Local File Systems.
         Starting udev Kernel Device Manager...
[ [0;32m  OK   [0m] Started Flush Journal to Persistent Storage.
         Starting Create Volatile Files and Directories...
[ [0;32m  OK   [0m] Started udev Kernel Device Manager.
         Starting LSB: Tune IDE hard disks...
[ [0;32m  OK   [0m] Started Create Volatile Files and Directories.
         Starting Network Time Synchronization...
         Starting Update UTMP about System Boot/Shutdown...
[ [0;32m  OK   [0m] Started Update UTMP about System Boot/Shutdown.
[ [0;32m  OK   [0m] Started Network Time Synchronization.
[ [0;32m  OK   [0m] Reached target System Time Synchronized.
[ [0;32m  OK   [0m] Started LSB: Tune IDE hard disks.
[ [0;32m  OK   [0m] Started udev Coldplug all Devices.
[ [0;32m  OK   [0m] Reached target System Initialization.
         Starting Restore Sound Card State...
[ [0;32m  OK   [0m] Started Daily Cleanup of Temporary Directories.
[ [0;32m  OK   [0m] Reached target Timers.
[ [0;32m  OK   [0m] Listening on D-Bus System Message Bus Socket.
[ [0;32m  OK   [0m] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
[ [0;32m  OK   [0m] Listening on node-red.socket.
[ [0;32m  OK   [0m] Listening on cloud9.socket.
[ [0;32m  OK   [0m] Reached target Sockets.
[ [0;32m  OK   [0m] Reached target Basic System.
         Starting Avahi mDNS/DNS-SD Stack...
[ [0;32m  OK   [0m] Started D-Bus System Message Bus.
[ [0;32m  OK   [0m] Started Avahi mDNS/DNS-SD Stack.
         Starting Connection service...
         Starting Restore /etc/resolv.conf i...e the ppp link was shut down....
[ [0;32m  OK   [0m] Started wifidog gateway Service.
[ [0;32m  OK   [0m] Started Regular background program processing daemon.
         Starting Login Service...
[ [0;32m  OK   [0m] Started Deferred execution scheduler.
         Starting Cape Manager Service...
         Starting Generic Board Startup...
 [ [0;32m  OK   [0m] Started Entropy daemon using the HAVEGE algorithm.
         Starting LSB: Load kernel modules needed to enable cpufreq scaling...
[ [0;32m  OK   [0m] Started Pulse Audio.
         Starting LSB: Start busybox udhcpd at boot time...
         Starting dnsmasq - A lightweight DHCP and caching DNS server...
         Starting System Logging Service...
[ [0;32m  OK   [0m] Started Restore Sound Card State.
[ [0;32m  OK   [0m] Started Restore /etc/resolv.conf if...ore the ppp link was shut down..
[ [0;32m  OK   [0m] Started Cape Manager Service.
[ [0;32m  OK   [0m] Started System Logging Service.
[ [0;32m  OK   [0m] Started LSB: Start busybox udhcpd at boot time.
[ [0;32m  OK   [0m] Started Connection service.
[ [0;32m  OK   [0m] Started Login Service.
[ [0;32m  OK   [0m] Stopped Generic Board Startup.
[ [0;32m  OK   [0m] Stopped target Timers.
[ [0;32m  OK   [0m] Reached target Unmount All Filesystems.
         Starting Store Sound Card State...
[ [0;32m  OK   [0m] Stopped Daily Cleanup of Temporary Directories.
         Stopping Entropy daemon using the HAVEGE algorithm...
         Stopping Login Service...
         Stopping Regular background program processing daemon...
         Stopping Deferred execution scheduler...
         Stopping LSB: Start busybox udhcpd at boot time...
[ [0;32m  OK   [0m] Stopped wifidog gateway Service.
[ [0;32m  OK   [0m] Stopped target System Time Synchronized.
         Stopping Avahi mDNS/DNS-SD Stack...
         Stopping System Logging Service...
         Stopping Pulse Audio...
[ [0;32m  OK   [0m] Removed slice system-serial\x2dgetty.slice.
         Stopping Connection service...
[ [0;32m  OK   [0m] Removed slice system-getty.slice.
[ [0;32m  OK   [0m] Stopped Avahi mDNS/DNS-SD Stack.
[ [0;32m  OK   [0m] Stopped Regular background program processing daemon.
[ [0;32m  OK   [0m] Stopped Login Service.
[ [0;32m  OK   [0m] Stopped Connection service.
[ [0;32m  OK   [0m] Stopped Deferred execution scheduler.
[ [0;32m  OK   [0m] Stopped Entropy daemon using the HAVEGE algorithm.
[ [0;32m  OK   [0m] Stopped LSB: Load kernel modules needed to enable cpufreq scaling.
[ [0;32m  OK   [0m] Stopped Pulse Audio.
[ [0;32m  OK   [0m] Stopped System Logging Service.
[ [0;32m  OK   [0m] Stopped dnsmasq - A lightweight DHCP and caching DNS server.
[ [0;1;31mFAILED [0m] Failed to start Store Sound Card State.
See 'systemctl status alsa-store.service' for details.
[ [0;32m  OK   [0m] Stopped LSB: Start busybox udhcpd at boot time.
[ [0;32m  OK   [0m] Stopped target Remote File Systems.
[ [0;32m  OK   [0m] Stopped target Remote File Systems (Pre).
         Stopping D-Bus System Message Bus...
[ [0;32m  OK   [0m] Stopped D-Bus System Message Bus.
[ [0;32m  OK   [0m] Stopped target Basic System.
[ [0;32m  OK   [0m] Stopped target Paths.
[ [0;32m  OK   [0m] Stopped Forward Password Requests to Wall Directory Watch.
[ [0;32m  OK   [0m] Stopped Dispatch Password Requests to Console Directory Watch.
[ [0;32m  OK   [0m] Stopped target Sockets.
[ [0;32m  OK   [0m] Closed Syslog Socket.
[ [0;32m  OK   [0m] Closed cloud9.socket.
[ [0;32m  OK   [0m] Closed node-red.socket.
[ [0;32m  OK   [0m] Closed Avahi mDNS/DNS-SD Stack Activation Socket.
[ [0;32m  OK   [0m] Stopped target Slices.
[ [0;32m  OK   [0m] Removed slice User and Session Slice.
[ [0;32m  OK   [0m] Closed D-Bus System Message Bus Socket.
[ [0;32m  OK   [0m] Stopped target System Initialization.
         Stopping Network Time Synchronization...
[ [0;32m  OK   [0m] Stopped target Encrypted Volumes.
[ [0;32m  OK   [0m] Stopped Apply Kernel Variables.
[ [0;32m  OK   [0m] Stopped Load Kernel Modules.
         Stopping Load/Save Random Seed...
[ [0;32m  OK   [0m] Stopped target Swap.
[ [0;32m  OK   [0m] Stopped Network Time Synchronization.
[ [0;32m  OK   [0m] Stopped Create Volatile Files and Directories.
[ [0;32m  OK   [0m] Stopped target Local File Systems.
[ [0;32m  OK   [0m] Stopped target Local File Systems (Pre).
[ [0;32m  OK   [0m] Stopped Create Static Device Nodes in /dev.
[ [0;32m  OK   [0m] Stopped Load/Save Random Seed.
[ [0;32m  OK   [0m] Stopped Remount Root and Kernel File Systems.
[ [0;32m  OK   [0m] Reached target Shutdown.
[ [0;32m  OK   [0m] Reached target Final Step.
         Starting Power-Off...
[  535.520513] systemd-shutdown[1]: Sending SIGTERM to remaining processes...
[  535.563341] systemd-journald[4725]: Received SIGTERM from PID 1 (systemd-shutdow).
[  535.591039] systemd-udevd[4772]: Process '/bin/readlink /etc/udev/rules.d/80-net-setup-link.rules' terminated by signal TERM.
[  535.603691] systemd-udevd[4776]: Process '/bin/readlink /etc/udev/rules.d/80-net-setup-link.rules' terminated by signal TERM.
[  535.618414] systemd-udevd[4769]: Process '/bin/readlink /etc/udev/rules.d/80-net-setup-link.rules' terminated by signal TERM.
[  535.630530] systemd-udevd[4803]: Process '/bin/readlink /etc/udev/rules.d/80-net-setup-link.rules' terminated by signal TERM.
[  535.644475] systemd-udevd[4766]: Process '/bin/readlink /etc/udev/rules.d/80-net-setup-link.rules' terminated by signal TERM.
[  535.656310] systemd-udevd[4801]: Process '/bin/readlink /etc/udev/rules.d/80-net-setup-link.rules' terminated by signal TERM.
[  535.685811] systemd-shutdown[1]: Sending SIGKILL to remaining processes...
[  535.710015] systemd-shutdown[1]: Unmounting file systems.
[  535.716802] systemd-shutdown[1]: Remounting '/' read-only with options 'errors=remount-ro,data=ordered'.
[  535.764903] EXT4-fs (mmcblk1p1): re-mounted. Opts: errors=remount-ro,data=ordered
[  535.879852] systemd-shutdown[1]: Remounting '/' read-only with options 'errors=remount-ro,data=ordered'.
[  535.890508] EXT4-fs (mmcblk1p1): re-mounted. Opts: errors=remount-ro,data=ordered
[  535.898177] systemd-shutdown[1]: All filesystems unmounted.
[  535.903865] systemd-shutdown[1]: Deactivating swaps.
[  535.909251] systemd-shutdown[1]: All swaps deactivated.
[  535.914635] systemd-shutdown[1]: Detaching loop devices.
[  535.922789] systemd-shutdown[1]: All loop devices detached.
[  535.928563] systemd-shutdown[1]: Detaching DM devices.
[  535.934398] systemd-shutdown[1]: All DM devices detached.
[  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

Michael B

unread,
Nov 1, 2019, 10:15:53 AM11/1/19
to BeagleBoard
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:   <ethaddr> 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
=> 

jonnymo

unread,
Nov 1, 2019, 12:07:51 PM11/1/19
to Beagle Board
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 
 

--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.

Dennis Lee Bieber

unread,
Nov 1, 2019, 12:51:45 PM11/1/19
to Beagleboard
On Fri, 1 Nov 2019 09:07:22 -0700, in gmane.comp.hardware.beagleboard.user
jonnymo <jonnymovo-Re5JQE...@public.gmane.org> wrote:


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

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

jonnymo

unread,
Nov 1, 2019, 1:10:39 PM11/1/19
to Beagle Board
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.


--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.

Robert Nelson

unread,
Nov 1, 2019, 1:28:20 PM11/1/19
to Beagle Board, Michael B
On Fri, Nov 1, 2019 at 8:17 AM Michael B <mi...@indiecraft.com> wrote:
>
> 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

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

Dennis Lee Bieber

unread,
Nov 1, 2019, 2:12:17 PM11/1/19
to Beagleboard
On Fri, 1 Nov 2019 07:12:23 -0700 (PDT), in
gmane.comp.hardware.beagleboard.user Michael B
<mike-NEI+xi/g6JCWd6...@public.gmane.org> wrote:

>Here is the output when:
>- SD inserted
>- Boot/User button pressed (It looks like it is being ignored)
>

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
***************
*** 35,41 ****

Press SPACE to abort autoboot in 2 seconds

! Card did not respond to voltage select!

-=-=-=-
Newer u-Boot is configuted to test for an SD card without needing the
boot-select held -- "newer" being anything later than early Debian Wheezy
releases).
No card, so no response
-=-=-=-

gpio: pin 56 (gpio 56) value is 0

--- 33,43 ----

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

***************
*** 45,53 ****

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

--- 47,77 ----

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

-=-=-=-
Card was found, scan for boot scripts
Not sure where the additional partitions are being found
-=-=-=-
!
! ** Invalid partition 2 **
!
! ** Invalid partition 3 **
!
! ** Invalid partition 4 **
!
! ** Invalid partition 5 **
!
! ** Invalid partition 6 **
!
! ** Invalid partition 7 **

switch to partitions #0, OK

-=-=-=-
Somehow I get the feeling the SD card file system isn't matching what
is expected since the next line for both boots is:

mmc1(part 0) is current device

and that is the eMMC -- SD card should be mmc0

debian@beaglebone:~$ sudo fdisk -l
Disk /dev/mmcblk0: 7.4 GiB, 7948206080 bytes, 15523840 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xff75101f

Device Boot Start End Sectors Size Id Type
/dev/mmcblk0p1 * 8192 15523839 15515648 7.4G 83 Linux

***** note that there is only one partition on the SD card

Disk /dev/mmcblk1: 3.7 GiB, 3925868544 bytes, 7667712 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xcbee9899

Device Boot Start End Sectors Size Id Type
/dev/mmcblk1p1 * 8192 7667711 7659520 3.7G 83 Linux




Disk /dev/mmcblk1boot1: 1 MiB, 1048576 bytes, 2048 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/mmcblk1boot0: 1 MiB, 1048576 bytes, 2048 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
debian@beaglebone:~$
-=-=-=-

***************
*** 171,422 ****
[ 0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128
interrupts
[ 0.000000] OMAP clockevent source: timer2 at 24000000 Hz

-=-=-=-
Unfortunately, the time stamps result in all of these being flagged as
different. I'll have to view a side-by-side diff to see actual changes and
flags (*** and ---) won't have line number ranges.
-=-=-=-

<SNIP>

***
! [ 3.052014] omap_hsmmc 48060000.mmc: Got CD GPIO
! [ 3.151034] hidraw: raw HID events driver (C) Jiri Kosina
---

! [ 3.051685] omap_hsmmc 48060000.mmc: Got CD GPIO
! [ 3.137721] mmc0: host does not support reading read-only switch,
! assuming write-enable
! [ 3.148850] mmc0: new high speed SDHC card at address 8fe4
! [ 3.155834] hidraw: raw HID events driver (C) Jiri Kosina

-=-=-=-
SD card boot knows there is an SD card inserted
-=-=-=-

***
! [ 3.201874] mmc1: new high speed MMC card at address 0001
! [ 3.209229] NET: Registered protocol family 10
! [ 3.214623] mmcblk0: mmc1:0001 Q2J54A 3.64 GiB

-=-=-=-
This is confusing... It looks like the NoSD card boot is mapping eMMC
(mmc1) to the mmcblk0 device, which is normally the SD card.

I have vague memories that there was period of time when the boot
sequence tried to map the boot device as mmc0 and the other device as mmc1;
perhaps your u-Boot is from that period.
-=-=-=-

---
! [ 3.162420] mmcblk0: mmc0:8fe4 SU08G 7.40 GiB

***
! [ 3.220572] mip6: Mobile IPv6
! [ 3.223991] NET: Registered protocol family 17
! [ 3.228536] mmcblk0boot0: mmc1:0001 Q2J54A partition 1 2.00 MiB
! [ 3.234764] Key type dns_resolver registered
! [ 3.239394] mmcblk0boot1: mmc1:0001 Q2J54A partition 2 2.00 MiB

-=-=-=-
Along with mapping the eMMC boot partitions as mmcblk0 devices
-=-=-=-

---
! [ 3.298266] mmc1: new high speed MMC card at address 0001
! [ 3.309703] mmcblk1: mmc1:0001 Q2J54A 3.64 GiB
! [ 3.318379] Key type encrypted registered
! [ 3.322659] mmcblk1boot0: mmc1:0001 Q2J54A partition 1 2.00 MiB
! [ 3.331473] input: tps65217_pwr_but as
! /devices/platform/ocp/44e0b000.i2c/i2c-0/0-0024/input/input0
! [ 3.341141] mmcblk1boot1: mmc1:0001 Q2J54A partition 2 2.00 MiB



***************
*** 439,483 ****
Checking for Valid bbgw-eeprom header
Valid bbgw-eeprom header found [335]
-----------------------------
! copying: [/dev/mmcblk0] -> [/dev/mmcblk1]
lsblk:
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
! mmcblk0boot0 179:8 0 2M 1 disk
! mmcblk0boot1 179:16 0 2M 1 disk
! mmcblk0 179:0 0 3.7G 0 disk
! `-mmcblk0p1 179:1 0 3.7G 0 part /

-----------------------------
df -h | grep rootfs:
-----------------------------
! Error: [/dev/mmcblk1] does not exist
! writing to [/dev/mmcblk1] failed...

-=-=-=-
Given that it earlier assigned mmc1 to mmcblk0, and has no mmcblk1
device, no surprise the noSD version now is doing something weird...
-=-=-=-
---
Checking for Valid bbgw-eeprom header
Valid bbgw-eeprom header found [335]
-----------------------------
! copying: [/dev/mmcblk1] -> [/dev/mmcblk0]
lsblk:
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
! mmcblk1boot0 179:16 0 2M 1 disk
! mmcblk1boot1 179:24 0 2M 1 disk
! mmcblk0 179:0 0 7.4G 0 disk
! `-mmcblk0p1 179:1 0 7.4G 0 part
! mmcblk1 179:8 0 3.7G 0 disk
! `-mmcblk1p1 179:9 0 3.7G 0 part /

-=-=-=-
SD card is properly assigned as mmcblk0, eMMC is mmcblk1 -- BUT THE
COPY is going in the wrong direction!
-=-=-=-

df -h | grep rootfs:
-----------------------------
! Erasing: /dev/mmcblk0
! 108+0 records in
! 108+0 records out
! 113246208 bytes (113 MB) copied, 9.71981 s, 11.7 MB/s
! [ 20.645095] random: nonblocking pool is initialized
! 108+0 records in
! 108+0 records out
! 113246208 bytes (113 MB) copied, 5.45552 s, 20.8 MB/s
! Erasing: /dev/mmcblk0 complete
! -----------------------------
! Writing bootloader to [/dev/mmcblk0]
! dd if=/opt/backup/uboot/MLO of=/dev/mmcblk0 count=1 seek=1 conv=notrunc
! bs=128k
! -----------------------------
! 0+1 records in
! 0+1 records out
! 65764 bytes (66 kB) copied, 0.0113357 s, 5.8 MB/s
! -----------------------------
! dd if=/opt/backup/uboot/u-boot.img of=/dev/mmcblk0 count=2 seek=1
! conv=notrunc bs=384k
! -----------------------------
! 0+1 records in
! 0+1 records out
! 350196 bytes (350 kB) copied, 0.0682698 s, 5.1 MB/s
! -----------------------------
! Formatting: /dev/mmcblk0
! sfdisk: [sfdisk from util-linux 2.25.2]
! sfdisk: [sfdisk --force --Linux --in-order --unit M /dev/mmcblk0]
! sfdisk: [1,,L,*]
! sfdisk: Checking that no-one is using this disk right now ...
! sfdisk: OK
!
! Disk /dev/mmcblk0: 242560 cylinders, 4 heads, 16 sectors/track
! sfdisk: /dev/mmcblk0: unrecognized partition tabl[ 26.238302] mmcblk0:
! p1
! e type
! Old situation:
! sfdisk: No partitions found
! New situation:
! Units: 1MiB = 1024*1024 bytes, blocks of 1024 bytes, counting from 0
!
! Device Boot Start End MiB #blocks Id System
! /dev/mmcblk0p1 * 1 7579 7579 7760896 83 Linux
! /dev/mmcblk0p2 0 - 0 0 0 Empty
! /dev/mmcblk0p3 0 - 0 0 0 Empty
! /dev/mmcblk0p4 0 - 0 0 0 Empty
! Successfully wrote the new partition table
!
! Re-reading the partition table ...
!
! sfdisk: If you created or changed a DOS partition, /dev/foo7, say, then
use
! dd(1)
! to zero the first 512 bytes: dd if=/dev/zero of=/dev/foo7 bs=512 count=1
! (See fdisk(8).)
! mkfs.ext4 /dev/mmcblk0p1 -L BOOT
! -----------------------------
! mke2fs 1.43 (17-May-2016)
! Discarding device blocks: 4096/1940224
! 528384/1940224 1052672/1940224 1576960/1940224
! done
! Creating filesystem with 1940224 4k blocks and 485760 inodes
! Filesystem UUID: d5999751-931a-416f-9aaa-7f507927b188
! Superblock backups stored on blocks:
! 32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632
!
! Allocating group tables: 0/60 done !
! Writing inode tables: 0/60 done ! Creating journal (32768
blocks): done
! Writing superblocks and filesystem accounting information: 0/60 !
done
!
! -----------------------------
! Formatting: /dev/mmcblk0 complete
! -----------------------------
! Copying: /dev/mmcblk1p1 -> /dev/mmcblk0p1
! [ 53.013428] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data
! mode. Opts: (null)
! rsync: / -> /tmp/rootfs/
! Copying: Kernel modules
! rsync: /lib/modules/4.4.9-ti-r25/ ->
/tmp/rootfs/lib/modules/4.4.9-ti-r25/
! Copying: /dev/mmcblk1p1 -> /dev/mmcblk0p1 complete
! -----------------------------
! Final System Tweaks:
! UUID=d5999751-931a-416f-9aaa-7f507927b188
! Generating: /etc/fstab
! # /etc/fstab: static file system information.
! #
! UUID=d5999751-931a-416f-9aaa-7f507927b188 / ext4
! noatime,errors=remount-ro 0 1
! debugfs /sys/kernel/debug debugfs defaults 0 0
! /boot/uEnv.txt: disabling eMMC flasher script

-=-=-=-
And here it has copied the eMMC to the SD card, and turned off the
flasher line in the copy.

Somehow I think you'll have to study u-Boot command line mode to wipe
out the eMMC contents so that there is no eMMC u-Boot around to do games
with device 0 vs 1, or at the least, somehow copy a non-flasher
/boot/uEnv.txt to the eMMC.

--
Dennis L Bieber

Michael B

unread,
Nov 1, 2019, 2:18:38 PM11/1/19
to BeagleBoard
Very interesting for the last 3 responses.

I am re-downloading the image Robert pointed to.  I did try a 2016 image a week or two ago.  It looks like it is maybe copying that image from the eMMC back to the card as Dennis has mentioned.
I will look at the u-boot reference again and see if I can figure that out.  

Maybe we are getting somewhere!
Thanks all.

Michael B

unread,
Nov 1, 2019, 10:07:07 PM11/1/19
to BeagleBoard
Oh my.
It copied the image on the board over the SD card again.
Holding the button didn't prevent this.

Ah!!!   :)


Michael B

unread,
Nov 1, 2019, 10:21:56 PM11/1/19
to BeagleBoard
I just did: 
mmc dev 1
mmc erase 0 0x400

Now reloading SD card that go overwritten.  Fingers crossed.  :)


Michael B

unread,
Nov 3, 2019, 12:10:04 PM11/3/19
to BeagleBoard
Cowabunga!

I have shell on the board.    Thanks all for the advice.  It really took a community on this one.

Problem:
- I had put a flasher image onto the card at some point (Newb).
- Every time I put a SD in it wrote the flasher image to the SD

Fix:
- blow away the partition on the eMCC - I don't feel qualified to put the command for this here as you could do a lot of badness if you get this wrong. 
- went to a Windows computer and flashed the latest - several attempts with my Mac looked like they worked but the image wasn't working.  The fact that you couldn't see the card from the Mac after putting the image on the SD was a sign.
- took the # off the flasher line in the uEnv.txt file.
- put the card in. held the user button and powered it up.
- proper sd to eMCC flashing occurred.
- shell achieved.

Thanks again for all the help.  Michael B
Reply all
Reply to author
Forward
0 new messages