Machinekit + Debian Stretch on the BeagleBone Black

1,119 views
Skip to first unread message

Alexander Rössler

unread,
Dec 5, 2017, 3:51:57 PM12/5/17
to Machinekit
I just published a write-up on how to create a Machinekit image with
Debian Stretch for the BeagleBone Black:

https://machinekoder.com/machinekit-debian-stretch-beaglebone-black/

I hope you find it useful.

Daren Schwenke

unread,
Dec 5, 2017, 11:46:26 PM12/5/17
to Machinekit
Very nice.  I'll be referencing that...  :)
The services to disable for a faster boot is good stuff.
I only had to install dirmngr by itself as installing machinekit seemed to pull the rest in for you, but I started with a different image.

Lewis Cobb

unread,
Dec 6, 2017, 5:24:57 PM12/6/17
to Machinekit
Yes Sir !  Something a full-noob like me can understand.  Thanks very much indeed Alexander !

A small noob question here though - can you skip the step of flashing to the EMMC and just set everything up to run on the SD card ? Or will it cause a tear in the fabric of space and time ?

Cheers,
Lewis

Daren Schwenke

unread,
Dec 6, 2017, 6:57:16 PM12/6/17
to Machinekit
That will work too.  You now hat three possible locations for globally affecting files then though.
Having the SD card slot available as removable storage is kinda nice though.

Alexander Rössler

unread,
Dec 7, 2017, 2:33:15 AM12/7/17
to Lewis Cobb, Machinekit
You can, but flashing to the eMMC is more noob friendly.

Why? Because I noticed some problems with older boot loaders that cause
weird stuff to happen (kernel not loaded, capes not working, ...).

However, if you flash the image first and then use the SD-card image you
should be fine.
--
Alexander Rössler

Alexander Rössler

unread,
Dec 12, 2017, 6:11:43 PM12/12/17
to Machinekit
RCN has prepared a first BBB testing image with Debian Stretch.

Please give it a try.

https://rcn-ee.net/rootfs/bb.org/testing/2017-12-12/stretch-machinekit/

TJoseph Powderly

unread,
Dec 18, 2017, 9:50:57 AM12/18/17
to Machinekit
Hi, Ive been trying to follow the writeup and fail with
!===> Error: [/dev/mmcblk1] does not exist
at step "Flash the image to BBB eMMC"

I did edited the /boot/uENV.txt file on the cf card to uncomment last line

I booted while holding the SW2 btn untill the user leds began to flicker ( especially User0 and 1 )

In a _very_short time , all leds turned on solid
I inserted the HDMI cable to see if there was any info, and saw the failed flash and error listed above

I've repeated the fail a lot of times now ( 2 days )

I've looked at a lot of info on the web and saw RCN saying
"
So either you didn't boot a base image with the eMMC support, or didn't load the eMMC overlay..."
huh? I just ran the instructions on the webpage "https://machinekoder.com/machinekit-debian-stretch-beaglebone-black/"
I didnt see where I skipped anything or needed to choose anything

I tried 3 different cf cards, sha256sum'ed the xz file, and used
 sudo dd bs=10M status=progress if=./bone-debian-9.3-console-armhf-2017-12-10-1gb.img of=/dev/sdb

what to try?

thanks
TomP

Robert Nelson

unread,
Dec 18, 2017, 9:59:12 AM12/18/17
to TJoseph Powderly, Machinekit
On Mon, Dec 18, 2017 at 8:50 AM, TJoseph Powderly <tjt...@gmail.com> wrote:
> Hi, Ive been trying to follow the writeup and fail with
> !===> Error: [/dev/mmcblk1] does not exist
> at step "Flash the image to BBB eMMC"
>
> I did edited the /boot/uENV.txt file on the cf card to uncomment last line
>
> I booted while holding the SW2 btn untill the user leds began to flicker (
> especially User0 and 1 )
>
> In a _very_short time , all leds turned on solid
> I inserted the HDMI cable to see if there was any info, and saw the failed
> flash and error listed above
>
> I've repeated the fail a lot of times now ( 2 days )
>
> I've looked at a lot of info on the web and saw RCN saying
> "So either you didn't boot a base image with the eMMC support, or didn't
> load the eMMC overlay..."
> huh? I just ran the instructions on the webpage
> "https://machinekoder.com/machinekit-debian-stretch-beaglebone-black/"
> I didnt see where I skipped anything or needed to choose anything
>
> I tried 3 different cf cards, sha256sum'ed the xz file, and used
> sudo dd bs=10M status=progress
> if=./bone-debian-9.3-console-armhf-2017-12-10-1gb.img of=/dev/sdb
>
> what to try?

cat /boot/uEnv.txt

Regards,

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

TJoseph Powderly

unread,
Dec 18, 2017, 10:32:27 AM12/18/17
to Machinekit

Hello,
I did
'cat /boot/uEnv.txt'
and see the /boot/uEnv.txt on the BBB is NOT commented out.
I logged in via ssh to discover that.

from the web page
"To auto-flash the image when inserting the SD card into your BBB you can uncomment the last line in /boot/uEnv.txt on the rootfs."

It wasn't clear to me that operation was to be done on the running BBB system, rather than the cf card.


I will edit that and reboot now
( I think thats what you wanted me to understand from your reply )

result: same error, mmcblk1 does not exist

so maybe your message
' cat /boot/uEnv.txt'
meant I should post the listing of /boot/uEnv.txt ?

i cant list it at all now
booting is stuck in a loop with failing attempt to write to nonexisting mmcblk1

i need to re-comment that line before i can ssh back in
then post the contents of BBB's /boot/uEnv.txt
so, i have to re dd the cf again
( i dont see how to stop the attempts to flash, ^C ^D etc no effect)

i will copy the file to a thumb drive on attached usb hub, then post it here using the laptop

till later

thanks tomp


Robert Nelson

unread,
Dec 18, 2017, 10:38:24 AM12/18/17
to TJoseph Powderly, Machinekit
Yeah, that was kinda my point in my last message, if you cat the file
and show us what is has, then we could go from their..

TJoseph Powderly

unread,
Dec 18, 2017, 10:56:01 AM12/18/17
to Machinekit
Hello
here is result ( ssh'd in with debian:temppwd )
"""
debian@beaglebone:~$ cat /boot/uEnv.txt
#Docs: http://elinux.org/Beagleboard:U-boot_partitioning_layout_2.0

uname_r=4.9.67-ti-r82
#uuid=
#dtb=


###U-Boot Overlays###
###Documentation: http://elinux.org/Beagleboard:BeagleBoneBlack_Debian#U-Boot_Overlays
###Master Enable
enable_uboot_overlays=1
###
###Overide capes with eeprom
#uboot_overlay_addr0=/lib/firmware/<file0>.dtbo
#uboot_overlay_addr1=/lib/firmware/<file1>.dtbo
#uboot_overlay_addr2=/lib/firmware/<file2>.dtbo
#uboot_overlay_addr3=/lib/firmware/<file3>.dtbo
###
###Additional custom capes
#uboot_overlay_addr4=/lib/firmware/<file4>.dtbo
#uboot_overlay_addr5=/lib/firmware/<file5>.dtbo
#uboot_overlay_addr6=/lib/firmware/<file6>.dtbo
#uboot_overlay_addr7=/lib/firmware/<file7>.dtbo
###
###Custom Cape
#dtb_overlay=/lib/firmware/<file8>.dtbo
###
###Disable auto loading of virtual capes (emmc/video/wireless/adc)
#disable_uboot_overlay_emmc=1
#disable_uboot_overlay_video=1
#disable_uboot_overlay_audio=1
#disable_uboot_overlay_wireless=1
#disable_uboot_overlay_adc=1
###
###PRUSS OPTIONS
###pru_rproc (4.4.x-ti kernel)
#uboot_overlay_pru=/lib/firmware/AM335X-PRU-RPROC-4-4-TI-00A0.dtbo
###pru_uio (4.4.x-ti & mainline/bone kernel)
uboot_overlay_pru=/lib/firmware/AM335X-PRU-UIO-00A0.dtbo
###
###Cape Universal Enable
enable_uboot_cape_universal=1
###
###Debug: disable uboot autoload of Cape
#disable_uboot_overlay_addr0=1
#disable_uboot_overlay_addr1=1
#disable_uboot_overlay_addr2=1
#disable_uboot_overlay_addr3=1
###
###U-Boot fdt tweaks...
#uboot_fdt_buffer=0x60000
###U-Boot Overlays###

cmdline=coherent_pool=1M net.ifnames=0 quiet

#In the event of edid real failures, uncomment this next line:
#cmdline=coherent_pool=1M net.ifnames=0 quiet 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 Generic eMMC Flasher:
##make sure, these tools are installed: dosfstools rsync
#cmdline=init=/opt/scripts/tools/eMMC/init-eMMC-flasher-v3.sh

debian@beaglebone:~$
"""
thanks
tomp

Robert Nelson

unread,
Dec 18, 2017, 11:18:33 AM12/18/17
to TJoseph Powderly, Machinekit
Thanks! /boot/uEnv.txt is perfect... Do you have a usb-serial
adapter, and can you log the serial boot sequence leading up the error
in the flasher?

TJoseph Powderly

unread,
Dec 18, 2017, 11:35:37 AM12/18/17
to Machinekit
Hello
yes i have usb to serial ( db9) adapters that i use to talk to old cnc machines with newer laptops
i dont know how to use it with BBB.
I suspect you mean something else,
where can i read about it?
thanks tomp

Robert Nelson

unread,
Dec 18, 2017, 11:38:31 AM12/18/17
to TJoseph Powderly, Machinekit
Make sure it's a 3.3v one..

Plug it into J1, pinout listed here:

https://elinux.org/Beagleboard:BeagleBone_Black_Serial

fire up tio/screen/gtkterm/etc and just log the serial output from the flasher..

TJoseph Powderly

unread,
Dec 18, 2017, 11:41:51 AM12/18/17
to Machinekit
hey i found a prolific pl2303 cable in some raspi stuff
will read up and try to get you the log
thanks tomp

TJoseph Powderly

unread,
Dec 24, 2017, 5:54:07 AM12/24/17
to Machinekit

 Robert
Hello & merry Christmas,

I'm the guy who couldnt flash the BBB due to  'mmcblk1 not found'
You suggested logging the boot till the error
here's the log
sorry its quite long
and
i also booted again (with CF but no btn #2)
then hit SpaceBar to interrupt auto boot
and ran a couple commands in the shell? that may shed some light

the cf card was programmed via
'sudo dd bs=10M status=progress if=./bbb_machinekit_debian-stretch_05_12_2017.img of=/dev/sda'

dont screw up christmas for this!

-------------------begin boot log monitored by PL2303 serial cnxd to BBB J1
----------- serial connection via  'cu -l /dev/ttyUSB0 115200'----------
U-Boot SPL 2017.11-00002-g7b415acfc1 (Nov 20 2017 - 13:57:33)
Trying to boot from MMC1


U-Boot 2017.11-00002-g7b415acfc1 (Nov 20 2017 - 13:57:33 -0600), Build: jenkins-github_Bootloader-Builder-11

CPU  : AM335X-GP rev 2.0
I2C:   ready
DRAM:  512 MiB
No match for driver 'omap_hsmmc'
No match for driver 'omap_hsmmc'
Some drivers were not found
Reset Source: Power-on reset has occurred.
MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
Using default environment

Board: BeagleBone Black
<ethaddr> not set. Validating first E-fuse MAC
BeagleBone Black:
BeagleBone: cape eeprom: i2c_probe: 0x54:
BeagleBone: cape eeprom: i2c_probe: 0x55:
BeagleBone: cape eeprom: i2c_probe: 0x56:
BeagleBone: cape eeprom: i2c_probe: 0x57:
Net:   eth0: MII MODE
cpsw, usb_ether
Press SPACE to abort autoboot in 2 seconds
board_name=[A335BNLT] ...
board_rev=[0A5A] ...
switch to partitions #0, OK
mmc0 is current device
SD/MMC found on device 0
** Bad device 0:2 0x82000000 **
** Bad device 0:2 0x82000000 **
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 ...
gpio: pin 55 (gpio 55) value is 1
2106 bytes read in 25 ms (82 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.91-ti-rt-r137 ...
8962072 bytes read in 602 ms (14.2 MiB/s)
uboot_overlays: [uboot_base_dtb=am335x-boneblack-uboot.dtb] ...
uboot_overlays: Switching too: dtb=am335x-boneblack-uboot.dtb ...
loading /boot/dtbs/4.4.91-ti-rt-r137/am335x-boneblack-uboot.dtb ...
57290 bytes read in 79 ms (708 KiB/s)
uboot_overlays: [fdt_buffer=0x60000] ...
uboot_overlays: loading /lib/firmware/AM335X-20-00A0.dtbo ...
378 bytes read in 65 ms (4.9 KiB/s)
uboot_overlays: loading /lib/firmware/BB-BONE-eMMC1-01-00A0.dtbo ...
1105 bytes read in 352 ms (2.9 KiB/s)
uboot_overlays: uboot loading of [/lib/firmware/BB-HDMI-TDA998x-00A0.dtbo] disabled by /boot/uEnv.txt [disable_uboot_overlay_video=1]...
uboot_overlays: loading /lib/firmware/BB-ADC-00A0.dtbo ...
695 bytes read in 72 ms (8.8 KiB/s)
uboot_overlays: loading /lib/firmware/AM335X-PRU-UIO-00A0.dtbo ...
853 bytes read in 71 ms (11.7 KiB/s)
uboot_overlays: loading /lib/firmware/univ-bbb-Exx-00A0.dtbo ...
92641 bytes read in 228 ms (396.5 KiB/s)
loading /boot/initrd.img-4.4.91-ti-rt-r137 ...
5527321 bytes read in 382 ms (13.8 MiB/s)
debug: [console=ttyO0,115200n8 bone_capemgr.uboot_capemgr_enabled=1 root=/dev/mmcblk0p1 ro rootfstype=ext4 rootwait init=/opt/scripts/tools/eMMC/init-eMMC-flasher-v3.sh] ...
debug: [bootz 0x82000000 0x88080000:545719 88000000] ...
## Flattened Device Tree blob at 88000000
   Booting using the fdt blob at 0x88000000
   Loading Ramdisk to 8faba000, end 8ffff719 ... OK
   reserving fdt memory region: addr=88000000 size=84000
   Loading Device Tree to 8fa33000, end 8fab9fff ... 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.91-ti-rt-r137 (root@a4-imx6q-wandboard-2gb) (gcc version 6.3.0 20170516 (Debian 6.3.0-18) ) #1 SMP PREEMPT RT Tue Nov 7 03:25:55 UTC 2017
[    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine model: TI AM335x BeagleBone Black
[    0.000000] cma: Reserved 48 MiB at 0x9c800000
[    0.000000] Memory policy: Data cache writeback
[    0.000000] CPU: All CPU(s) started in SVC mode.
[    0.000000] AM335X ES2.0 (sgx neon )
[    0.000000] PERCPU: Embedded 14 pages/cpu @df8d1000 s25120 r8192 d24032 u57344
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 129408
[    0.000000] Kernel command line: console=ttyO0,115200n8 bone_capemgr.uboot_capemgr_enabled=1 root=/dev/mmcblk0p1 ro rootfstype=ext4 rootwait init=/opt/scripts/tools/eMMC/init-eMMC-flasher-v3.sh
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Memory: 442628K/522240K available (11867K kernel code, 970K rwdata, 3940K rodata, 720K init, 908K bss, 30460K reserved, 49152K 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 : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0f77fe0   (15808 kB)
[    0.000000]       .init : 0xc0f78000 - 0xc102c000   ( 720 kB)
[    0.000000]       .data : 0xc102c000 - 0xc111e9bc   ( 971 kB)
[    0.000000]        .bss : 0xc1121000 - 0xc12042c0   ( 909 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Preemptible 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.000024] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[    0.000039] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000047] OMAP clocksource: timer1 at 24000000 Hz
[    0.002343] clocksource_probe: no matching clocksources found
[    0.002664] Console: colour dummy device 80x30
[    0.002846] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
[    0.002849] This ensures that you still see kernel messages. Please
[    0.002851] update your kernel commandline.
[    0.020038] Calibrating delay loop... 995.32 BogoMIPS (lpj=1990656)
[    0.020045] pid_max: default: 32768 minimum: 301
[    0.020210] Security Framework initialized
[    0.020218] Yama: becoming mindful.
[    0.020254] AppArmor: AppArmor disabled by boot time parameter
[    0.020435] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.020442] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.021442] Initializing cgroup subsys io
[    0.021465] Initializing cgroup subsys memory
[    0.021509] Initializing cgroup subsys devices
[    0.021532] Initializing cgroup subsys freezer
[    0.021545] Initializing cgroup subsys net_cls
[    0.021557] Initializing cgroup subsys perf_event
[    0.021569] Initializing cgroup subsys net_prio
[    0.021591] Initializing cgroup subsys pids
[    0.021730] CPU: Testing write buffer coherency: ok
[    0.021739] ftrace: allocating 35898 entries in 106 pages
[    0.131518] CPU0: thread -1, cpu 0, socket -1, mpidr 0
[    0.131715] Setting up static identity map for 0x80008280 - 0x800082e0
[    0.168177] Brought up 1 CPUs
[    0.168207] SMP: Total of 1 processors activated (995.32 BogoMIPS).
[    0.168218] CPU: All CPU(s) started in SVC mode.
[    0.169961] devtmpfs: initialized
[    0.228365] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[    0.322583] omap_hwmod: debugss: _wait_target_disable failed
[    0.364584] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.364627] futex hash table entries: 256 (order: 2, 16384 bytes)
[    0.371722] xor: measuring software checksum speed
[    0.408152]    arm4regs  :  1218.000 MB/sec
[    0.448042]    8regs     :  1092.000 MB/sec
[    0.488036]    32regs    :  1089.000 MB/sec
[    0.528032]    neon      :  1665.000 MB/sec
[    0.528044] xor: using function: neon (1665.000 MB/sec)
[    0.528097] pinctrl core: initialized pinctrl subsystem
[    0.529989] NET: Registered protocol family 16
[    0.535340] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.557955] OMAP GPIO hardware version 0.1
[    0.581969] No ATAGs?
[    0.582015] hw-breakpoint: debug architecture 0x4 unsupported.
[    0.583684] omap4_sram_init:Unable to allocate sram needed to handle errata I688
[    0.583715] omap4_sram_init:Unable to get sram pool needed to handle errata I688
[    0.696193] raid6: int32x1  gen()   263 MB/s
[    0.764052] raid6: int32x1  xor()   223 MB/s
[    0.832213] raid6: int32x2  gen()   330 MB/s
[    0.900100] raid6: int32x2  xor()   283 MB/s
[    0.968099] raid6: int32x4  gen()   328 MB/s
[    1.036132] raid6: int32x4  xor()   267 MB/s
[    1.104213] raid6: int32x8  gen()   300 MB/s
[    1.172074] raid6: int32x8  xor()   231 MB/s
[    1.240052] raid6: neonx1   gen()  1440 MB/s
[    1.308039] raid6: neonx1   xor()   842 MB/s
[    1.376046] raid6: neonx2   gen()  1921 MB/s
[    1.444037] raid6: neonx2   xor()  1200 MB/s
[    1.512057] raid6: neonx4   gen()   978 MB/s
[    1.580044] raid6: neonx4   xor()   822 MB/s
[    1.648055] raid6: neonx8   gen()  1033 MB/s
[    1.716054] raid6: neonx8   xor()   753 MB/s
[    1.716065] raid6: using algorithm neonx2 gen() 1921 MB/s
[    1.716074] raid6: .... xor() 1200 MB/s, rmw enabled
[    1.716083] raid6: using intx1 recovery algorithm
[    1.730944] edma 49000000.edma: TI EDMA DMA engine driver
[    1.738577] vgaarb: loaded
[    1.739391] SCSI subsystem initialized
[    1.740771] usbcore: registered new interface driver usbfs
[    1.740868] usbcore: registered new interface driver hub
[    1.741014] usbcore: registered new device driver usb
[    1.742591] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c0_pins, deferring probe
[    1.743673] omap_i2c 4802a000.i2c: bus 1 rev0.11 at 100 kHz
[    1.745470] omap_i2c 4819c000.i2c: bus 2 rev0.11 at 100 kHz
[    1.745805] media: Linux media interface: v0.10
[    1.745892] Linux video capture interface: v2.00
[    1.746032] pps_core: LinuxPPS API ver. 1 registered
[    1.746043] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giom...@linux.it>
[    1.746080] PTP clock support registered
[    1.747586] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
[    1.753468] NetLabel: Initializing
[    1.753489] NetLabel:  domain hash size = 128
[    1.753498] NetLabel:  protocols = UNLABELED CIPSOv4
[    1.753580] NetLabel:  unlabeled traffic allowed by default
[    1.754038] clocksource: Switched to clocksource timer1
[    1.939381] NET: Registered protocol family 2
[    1.940461] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    1.940533] TCP bind hash table entries: 4096 (order: 4, 114688 bytes)
[    1.940736] TCP: Hash tables configured (established 4096 bind 4096)
[    1.940831] UDP hash table entries: 256 (order: 2, 16384 bytes)
[    1.940877] UDP-Lite hash table entries: 256 (order: 2, 16384 bytes)
[    1.941229] NET: Registered protocol family 1
[    1.946191] RPC: Registered named UNIX socket transport module.
[    1.946214] RPC: Registered udp transport module.
[    1.946223] RPC: Registered tcp transport module.
[    1.946232] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.947436] Unpacking initramfs...
[    2.387730] Freeing initrd memory: 5400K
[    2.388272] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
[    2.393107] audit: initializing netlink subsys (disabled)
[    2.393212] audit: type=2000 audit(2.320:1): initialized
[    2.411688] zbud: loaded
[    2.412643] VFS: Disk quotas dquot_6.6.0
[    2.412994] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    2.421033] NFS: Registering the id_resolver key type
[    2.421141] Key type id_resolver registered
[    2.421153] Key type id_legacy registered
[    2.421189] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    2.421652] fuse init (API version 7.23)
[    2.422645] SGI XFS with ACLs, security attributes, realtime, no debug enabled
[    2.443837] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[    2.448240] io scheduler noop registered
[    2.448268] io scheduler deadline registered
[    2.448365] io scheduler cfq registered (default)
[    2.452078] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
[    2.453557] gpio-of-helper ocp:cape-universal: Allocated GPIO id=0
[    2.453822] gpio-of-helper ocp:cape-universal: Allocated GPIO id=1
[    2.454473] gpio-of-helper ocp:cape-universal: Allocated GPIO id=2
[    2.454703] gpio-of-helper ocp:cape-universal: Allocated GPIO id=3
[    2.454924] gpio-of-helper ocp:cape-universal: Allocated GPIO id=4
[    2.455116] gpio-of-helper ocp:cape-universal: Allocated GPIO id=5
[    2.455316] gpio-of-helper ocp:cape-universal: Allocated GPIO id=6
[    2.455507] gpio-of-helper ocp:cape-universal: Allocated GPIO id=7
[    2.455697] gpio-of-helper ocp:cape-universal: Allocated GPIO id=8
[    2.455911] gpio-of-helper ocp:cape-universal: Allocated GPIO id=9
[    2.456106] gpio-of-helper ocp:cape-universal: Allocated GPIO id=10
[    2.456297] gpio-of-helper ocp:cape-universal: Allocated GPIO id=11
[    2.456546] gpio-of-helper ocp:cape-universal: Allocated GPIO id=12
[    2.456729] gpio-of-helper ocp:cape-universal: Allocated GPIO id=13
[    2.456918] gpio-of-helper ocp:cape-universal: Allocated GPIO id=14
[    2.457100] gpio-of-helper ocp:cape-universal: Allocated GPIO id=15
[    2.457278] gpio-of-helper ocp:cape-universal: Allocated GPIO id=16
[    2.457468] gpio-of-helper ocp:cape-universal: Allocated GPIO id=17
[    2.457646] gpio-of-helper ocp:cape-universal: Allocated GPIO id=18
[    2.457824] gpio-of-helper ocp:cape-universal: Allocated GPIO id=19
[    2.458432] gpio-of-helper ocp:cape-universal: Allocated GPIO id=20
[    2.458645] gpio-of-helper ocp:cape-universal: Allocated GPIO id=21
[    2.458850] gpio-of-helper ocp:cape-universal: Allocated GPIO id=22
[    2.459084] gpio-of-helper ocp:cape-universal: Allocated GPIO id=23
[    2.459266] gpio-of-helper ocp:cape-universal: Allocated GPIO id=24
[    2.459460] gpio-of-helper ocp:cape-universal: Allocated GPIO id=25
[    2.459642] gpio-of-helper ocp:cape-universal: Allocated GPIO id=26
[    2.459826] gpio-of-helper ocp:cape-universal: Allocated GPIO id=27
[    2.460025] gpio-of-helper ocp:cape-universal: Allocated GPIO id=28
[    2.460208] gpio-of-helper ocp:cape-universal: Allocated GPIO id=29
[    2.460399] gpio-of-helper ocp:cape-universal: Allocated GPIO id=30
[    2.460590] gpio-of-helper ocp:cape-universal: Allocated GPIO id=31
[    2.460773] gpio-of-helper ocp:cape-universal: Allocated GPIO id=32
[    2.460968] gpio-of-helper ocp:cape-universal: Allocated GPIO id=33
[    2.461154] gpio-of-helper ocp:cape-universal: Allocated GPIO id=34
[    2.461338] gpio-of-helper ocp:cape-universal: Allocated GPIO id=35
[    2.461539] gpio-of-helper ocp:cape-universal: Allocated GPIO id=36
[    2.461727] gpio-of-helper ocp:cape-universal: Allocated GPIO id=37
[    2.461910] gpio-of-helper ocp:cape-universal: Allocated GPIO id=38
[    2.462397] gpio-of-helper ocp:cape-universal: Allocated GPIO id=39
[    2.462617] gpio-of-helper ocp:cape-universal: Allocated GPIO id=40
[    2.462827] gpio-of-helper ocp:cape-universal: Allocated GPIO id=41
[    2.463017] gpio-of-helper ocp:cape-universal: Allocated GPIO id=42
[    2.463206] gpio-of-helper ocp:cape-universal: Allocated GPIO id=43
[    2.463412] gpio-of-helper ocp:cape-universal: Allocated GPIO id=44
[    2.463600] gpio-of-helper ocp:cape-universal: Allocated GPIO id=45
[    2.463786] gpio-of-helper ocp:cape-universal: Allocated GPIO id=46
[    2.463984] gpio-of-helper ocp:cape-universal: Allocated GPIO id=47
[    2.464196] gpio-of-helper ocp:cape-universal: Allocated GPIO id=48
[    2.464396] gpio-of-helper ocp:cape-universal: Allocated GPIO id=49
[    2.464586] gpio-of-helper ocp:cape-universal: Allocated GPIO id=50
[    2.464775] gpio-of-helper ocp:cape-universal: Allocated GPIO id=51
[    2.464987] gpio-of-helper ocp:cape-universal: Allocated GPIO id=52
[    2.465180] gpio-of-helper ocp:cape-universal: Allocated GPIO id=53
[    2.465369] gpio-of-helper ocp:cape-universal: Allocated GPIO id=54
[    2.465566] gpio-of-helper ocp:cape-universal: Allocated GPIO id=55
[    2.465757] gpio-of-helper ocp:cape-universal: Allocated GPIO id=56
[    2.465958] gpio-of-helper ocp:cape-universal: Allocated GPIO id=57
[    2.466393] gpio-of-helper ocp:cape-universal: Allocated GPIO id=58
[    2.466412] gpio-of-helper ocp:cape-universal: ready
[    2.478626] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle
[    2.482248] Serial: 8250/16550 driver, 6 ports, IRQ sharing disabled
[    2.487617] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 158, base_baud = 3000000) is a 8250
[    3.745232] console [ttyS0] enabled
[    3.750201] 48022000.serial: ttyS1 at MMIO 0x48022000 (irq = 159, base_baud = 3000000) is a 8250
[    3.760175] 48024000.serial: ttyS2 at MMIO 0x48024000 (irq = 160, base_baud = 3000000) is a 8250
[    3.770287] 481a8000.serial: ttyS4 at MMIO 0x481a8000 (irq = 161, base_baud = 3000000) is a 8250
[    3.780233] 481aa000.serial: ttyS5 at MMIO 0x481aa000 (irq = 162, base_baud = 3000000) is a 8250
[    3.793535] omap_rng 48310000.rng: OMAP Random Number Generator ver. 20
[    3.800644] [drm] Initialized drm 1.1.0 20060810
[    3.808718] at24 2-0054: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[    3.816218] at24 2-0055: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[    3.823562] at24 2-0056: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[    3.830877] at24 2-0057: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[    3.895678] CAN device driver interface
[    3.901568] c_can_platform 481cc000.can: c_can_platform device registered (regs=fa1cc000, irq=169)
[    3.911952] c_can_platform 481d0000.can: c_can_platform device registered (regs=fa1d0000, irq=170)
[    3.974080] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6
[    3.980234] davinci_mdio 4a101000.mdio: detected phy mask fffffffe
[    3.987550] davinci_mdio: dt: updated phy_id[0] from phy_mask[fffffffe]
[    4.010478] libphy: 4a101000.mdio: probed
[    4.014647] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver SMSC LAN8710/LAN8720
[    4.025123] cpsw 4a100000.ethernet: Detected MACID = c8:a0:30:af:c2:7b
[    4.032032] cpsw 4a100000.ethernet: cpts: overflow check period 2125
[    4.042532] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    4.049174] ehci-pci: EHCI PCI platform driver
[    4.053749] ehci-platform: EHCI generic platform driver
[    4.059659] ehci-omap: OMAP-EHCI Host Controller driver
[    4.066354] usbcore: registered new interface driver usb-storage
[    4.076925] 47401300.usb-phy supply vcc not found, using dummy regulator
[    4.090764] 47401b00.usb-phy supply vcc not found, using dummy regulator
[    4.101530] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[    4.107375] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 1
[    4.115586] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    4.122415] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.129675] usb usb1: Product: MUSB HDRC host driver
[    4.134667] usb usb1: Manufacturer: Linux 4.4.91-ti-rt-r137 musb-hcd
[    4.141053] usb usb1: SerialNumber: musb-hdrc.1.auto
[    4.147513] hub 1-0:1.0: USB hub found
[    4.151421] hub 1-0:1.0: 1 port detected
[    4.168677] mousedev: PS/2 mouse device common for all mice
[    4.183517] omap_rtc 44e3e000.rtc: rtc core: registered 44e3e000.rtc as rtc0
[    4.194253] i2c /dev entries driver
[    4.201876] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[    4.211708] omap_hsmmc 48060000.mmc: Got CD GPIO
[    4.282918] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
[    4.284222] mmc0: host does not support reading read-only switch, assuming write-enable
[    4.286471] mmc0: new high speed SDHC card at address 0007
[    4.298689] mmcblk0: mmc0:0007 SD32G 29.0 GiB
[    4.300615]  mmcblk0: p1
[    4.321798] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
[    4.329747] hidraw: raw HID events driver (C) Jiri Kosina
[    4.336208] usbcore: registered new interface driver usbhid
[    4.341928] usbhid: USB HID core driver
[    4.348129]  remoteproc0: wkup_m3 is available
[    4.352811]  remoteproc0: Note: remoteproc is still under development and considered experimental.
[    4.361846]  remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
[    4.376657] ti_am3359-tscadc 44e0d000.tscadc: chan 0 step_avg truncating to 16
[    4.384039] ti_am3359-tscadc 44e0d000.tscadc: chan 1 step_avg truncating to 16
[    4.391303] ti_am3359-tscadc 44e0d000.tscadc: chan 2 step_avg truncating to 16
[    4.398581] ti_am3359-tscadc 44e0d000.tscadc: chan 3 step_avg truncating to 16
[    4.405841] ti_am3359-tscadc 44e0d000.tscadc: chan 4 step_avg truncating to 16
[    4.413103] ti_am3359-tscadc 44e0d000.tscadc: chan 5 step_avg truncating to 16
[    4.420364] ti_am3359-tscadc 44e0d000.tscadc: chan 6 step_avg truncating to 16
[    4.431117] NET: Registered protocol family 10
[    4.441368] mip6: Mobile IPv6
[    4.444398] NET: Registered protocol family 17
[    4.448899] can: controller area network core (rev 20120528 abi 9)
[    4.455222] NET: Registered protocol family 29
[    4.459905] Key type dns_resolver registered
[    4.464209] mpls_gso: MPLS GSO support
[    4.468251] omap_voltage_late_init: Voltage driver support not added
[    4.476605] PM: Cannot get wkup_m3_ipc handle
[    4.481219] ThumbEE CPU extension supported.
[    4.485551] Registering SWP/SWPB emulation handler
[    4.491724] registered taskstats version 1
[    4.496092] zswap: loaded using pool lzo/zbud
[    4.509259] Btrfs loaded
[    4.549634] Key type encrypted registered
[    4.563574] input: tps65217_pwr_but as /devices/platform/ocp/44e0b000.i2c/i2c-0/0-0024/input/input0
[    4.597889] tps65217 0-0024: TPS65217 ID 0xe version 1.2
[    4.604149] at24 0-0050: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[    4.611202] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
[    4.619151]  remoteproc0: powering up wkup_m3
[    4.621817] PM: bootloader does not support rtc-only!
[    4.623648] omap_rtc 44e3e000.rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)
[    4.623673] of_cfs_init
[    4.623845] of_cfs_init: OK
[    4.658135]  remoteproc0: Booting fw image am335x-pm-firmware.elf, size 217148
[    4.667004] Freeing unused kernel memory: 720K
[    4.670420]  remoteproc0: remote processor wkup_m3 is now up
[    4.670477] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x192
Loading, please wait...
starting version 232
[    4.776213] random: systemd-udevd: uninitialized urandom read (16 bytes read, 3 bits of entropy available)
[    4.799828] random: systemd-udevd: uninitialized urandom read (16 bytes read, 3 bits of entropy available)
[    4.805474] random: udevadm: uninitialized urandom read (16 bytes read, 3 bits of entropy available)
[    4.805909] random: udevadm: uninitialized urandom read (16 bytes read, 3 bits of entropy available)
[    4.810334] random: udevadm: uninitialized urandom read (16 bytes read, 3 bits of entropy available)
================================================================================
Starting eMMC Flasher from microSD media
Version: [1.20170427: u-boot v2017.05-rc2...]
================================================================================

================================================================================
Prepare environment for flashing
Starting at Sat Jan  1 00:00:06 UTC 2000
----------------------------------------
==> Giving system time to stablize...
5 4 3 2 1
==> Preparing /tmp
==> Preparing sysctl
==> sysctl: vm.min_free_kbytes=[2661]
==> sysctl: setting: [sysctl -w vm.min_free_kbytes=16384]
vm.min_free_kbytes = 16384
----------------------------------------
==> Determining root drive
==> console=ttyO0,115200n8 bone_capemgr.uboot_capemgr_enabled=1 root=/dev/mmcblk0p1 ro rootfstype=ext4 rootwait init=/opt/scripts/tools/eMMC/init-eMMC-flasher-v3.sh
----------------------------------------
==> root_drive=[/dev/mmcblk0p1]
====> Root drive identified at [/dev/mmcblk0p1]
==> Boot Drive [/dev/mmcblk0p1]
==> Figuring out Source and Destination devices
====> Source identified: [/dev/mmcblk0]
====> Destination identified: [/dev/mmcblk1]
==> Figuring out machine
====> Machine is TI_AM335x_BeagleBone_Black
====> Machine is compatible with BeagleBone Black
================================================================================
5 4 3 2 1

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

================================================================================
Checking running system
==> Copying: [/dev/mmcblk0] -> [/dev/mmcblk1]
==> lsblk:
----------------------------------------
NAME        MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
mmcblk0     179:0    0   29G  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...
==> Stopping Cylon LEDs ...
Traceback (last called is first):
     reset_leds() in /opt/scripts/tools/eMMC/functions.sh:427
     write_failure() in /opt/scripts/tools/eMMC/functions.sh:445
     check_running_system() in /opt/scripts/tools/eMMC/functions.sh:608
     main() in /opt/scripts/tools/eMMC/init-eMMC-flasher-v3.sh:47
The command kill $CYLON_PID > /dev/null 2>&1 exited with exit code 2.
================================================================================
Tearing Down script environment
==> Unmounting /tmp
blockdev: cannot open /dev/mmcblk1: No such file or directory
==> Stopping Cylon LEDs ...
==> Setting LEDs to
[   21.680075] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000100
[   21.680075]
[   21.680088] CPU: 0 PID: 1 Comm: init-eMMC-flash Not tainted 4.4.91-ti-rt-r137 #1
[   21.680092] Hardware name: Generic AM33XX (Flattened Device Tree)
[   21.680146] [<c001c250>] (unwind_backtrace) from [<c0015be4>] (show_stack+0x20/0x24)
[   21.680165] [<c0015be4>] (show_stack) from [<c05ddb8c>] (dump_stack+0x80/0x94)
[   21.680185] [<c05ddb8c>] (dump_stack) from [<c016a654>] (panic+0xfc/0x280)
[   21.680203] [<c016a654>] (panic) from [<c0048d6c>] (complete_and_exit+0x0/0x2c)
[   21.680214] [<c0048d6c>] (complete_and_exit) from [<c0048e08>] (do_group_exit+0x50/0xcc)
[   21.680224] [<c0048e08>] (do_group_exit) from [<c0048ea4>] (__wake_up_parent+0x0/0x30)
[   21.680240] [<c0048ea4>] (__wake_up_parent) from [<c0010ec0>] (ret_fast_syscall+0x0/0x44)

-----------
all 4 leds were on solid
i rebooted ( power off/power on) and used space bar to interrupt autoboot...
---------- log of reboot and results of mmc commands------------------------
U-Boot 2017.11-00002-g7b415acfc1 (Nov 20 2017 - 13:57:33 -0600), Build: jenkins-github_Bootloader-Builder-11

CPU  : AM335X-GP rev 2.0
I2C:   ready
DRAM:  512 MiB
No match for driver 'omap_hsmmc'
No match for driver 'omap_hsmmc'
Some drivers were not found
Reset Source: Power-on reset has occurred.
MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
Using default environment

Board: BeagleBone Black
<ethaddr> not set. Validating first E-fuse MAC
BeagleBone Black:
BeagleBone: cape eeprom: i2c_probe: 0x54:
BeagleBone: cape eeprom: i2c_probe: 0x55:
BeagleBone: cape eeprom: i2c_probe: 0x56:
BeagleBone: cape eeprom: i2c_probe: 0x57:
Net:   eth0: MII MODE
cpsw, usb_ether
Press SPACE to abort autoboot in 2 seconds

=> mmc list
OMAP SD/MMC: 0
OMAP SD/MMC: 1

=> mmc info
Device: OMAP SD/MMC
Manufacturer ID: 27
OEM: 5048
Name: SD32G
Tran Speed: 50000000
Rd Block Len: 512
SD version 3.0
High Capacity: Yes
Capacity: 29 GiB
Bus Width: 4-bit
Erase Group Size: 512 Bytes
------------------end of reboot and interruption of autoboot and subsequent mmc commands

thanks Robert

TJoseph Powderly

unread,
Dec 25, 2017, 11:56:58 AM12/25/17
to Machinekit
Robert
sorry prev post used MachineKoder's image not yours,
(i have too many cf's here attempting to get the job done, my bad)
i will make clean images from your latest https://rcn-ee.net/rootfs/bb.org/testing/2017-12-24/stretch-machinekit/bone-debian-9.3-machinekit-armhf-2017-12-24-4gb.img.xz
and report back
thanks tomp

ok that (above) image did not goto flash, it went to login despite btn2 held till after 'starting kernel'
actually till after "[    2.072217] hdmi-audio-codec hdmi-audio-codec.0.auto: ASoC: Failed to add route Playback -> direct -> TX"
here's log
"""

U-Boot SPL 2018.01-rc2-00002-g23388d96ac (Dec 19 2017 - 13:20:06)

Trying to boot from MMC1


U-Boot 2018.01-rc2-00002-g23388d96ac (Dec 19 2017 - 13:20:06 -0600), Build: jenkins-github_Bootloader-Builder-19
2047 bytes read in 67 ms (29.3 KiB/s)

Loaded environment from /boot/uEnv.txt
Checking if uname_r is set in /boot/uEnv.txt...
gpio: pin 56 (gpio 56) value is 1
Running uname_boot ...
loading /boot/vmlinuz-4.14.8-ti-rt-r19 ...
10240512 bytes read in 701 ms (13.9 MiB/s)

uboot_overlays: [uboot_base_dtb=am335x-boneblack-uboot.dtb] ...
uboot_overlays: Switching too: dtb=am335x-boneblack-uboot.dtb ...
loading /boot/dtbs/4.14.8-ti-rt-r19/am335x-boneblack-uboot.dtb ...
54075 bytes read in 171 ms (308.6 KiB/s)

uboot_overlays: [fdt_buffer=0x60000] ...
uboot_overlays: loading /lib/firmware/AM335X-20-00A0.dtbo ...
378 bytes read in 246 ms (1000 Bytes/s)
uboot_overlays: loading /lib/firmware/BB-BONE-eMMC1-01-00A0.dtbo ...
1105 bytes read in 128 ms (7.8 KiB/s)
uboot_overlays: loading /lib/firmware/BB-HDMI-TDA998x-00A0.dtbo ...
4169 bytes read in 547 ms (6.8 KiB/s)
uboot_overlays: loading /lib/firmware/BB-ADC-00A0.dtbo ...
695 bytes read in 541 ms (1000 Bytes/s)
uboot_overlays: loading /lib/firmware/AM335X-PRU-UIO-00A0.dtbo ...
853 bytes read in 592 ms (1000 Bytes/s)
uboot_overlays: loading /lib/firmware/univ-bbb-EVA-00A0.dtbo ...
54817 bytes read in 135 ms (396.5 KiB/s)
loading /boot/initrd.img-4.14.8-ti-rt-r19 ...
4011290 bytes read in 307 ms (12.5 MiB/s)
debug: [console=ttyO0,115200n8 bone_capemgr.uboot_capemgr_enabled=1 root=/dev/mmcblk0p1 ro rootfstype=ext4 rootwait coherent_pool=1M net.ifnames=0 quiet] ...
debug: [bootz 0x82000000 0x88080000:3d351a 88000000] ...

## Flattened Device Tree blob at 88000000
   Booting using the fdt blob at 0x88000000
   Loading Ramdisk to 8fc2c000, end 8ffff51a ... OK
   reserving fdt memory region: addr=88000000 size=7a000
   Loading Device Tree to 8fbaf000, end 8fc2bfff ... OK

Starting kernel ...

[    0.001439] timer_probe: no matching timers found
[    0.636831] dmi: Firmware registration failed.
[    1.457828] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle
[    1.827735] omap_voltage_late_init: Voltage driver support not added
[    2.054098] cpu cpu0: _opp_add_static_v2: opp-hz not found
[    2.063369] hdmi-audio-codec hdmi-audio-codec.0.auto: ASoC: no source widget found for Playback
[    2.072184] hdmi-audio-codec hdmi-audio-codec.0.auto: ASoC: Failed to add route Playback -> direct -> TX
[FAILED] Failed to start Load Kernel Modules.
See 'systemctl status systemd-modules-load.service' for details.
[  OK  ] Started Create list of required stab&vice nodes for the current kernel.
[  OK  ] Started File System Check Daemon to report status.
         Starting Create Static Device Nodes in /dev...
         Mounting Configuration File System...
         Mounting FUSE Control File System...
         Starting Apply Kernel Variables...
[  OK  ] Mounted Configuration File System.
[  OK  ] Mounted FUSE Control File System.
[  OK  ] Started File System Check on Root Device.
[  OK  ] Started Create Static Device Nodes in /dev.
[  OK  ] Started Apply Kernel Variables.
         Starting udev Kernel Device Manager...
         Starting Remount Root and Kernel File Systems...
[  OK  ] Started Journal Service.
[  OK  ] Started Remount Root and Kernel File Systems.
         Starting Flush Journal to Persistent Storage...
[  OK  ] Reached target Local File Systems (Pre).
         Starting Load/Save Random Seed...
         Starting udev Coldplug all Devices...
[  OK  ] Reached target Local File Systems.
         Starting Raise network interfaces...
[  OK  ] Started udev Kernel Device Manager.
[  OK  ] Started Load/Save Random Seed.
[  OK  ] Started Flush Journal to Persistent Storage.
         Starting Create Volatile Files and Directories...
[  OK  ] Started Create Volatile Files and Directories.
[  OK  ] Started Entropy daemon using the HAVEGE algorithm.
         Starting Update UTMP about System Boot/Shutdown...
         Starting Network Time Synchronization...
[  OK  ] Started Update UTMP about System Boot/Shutdown.
[  OK  ] Started Network Time Synchronization.
[  OK  ] Reached target System Time Synchronized.
[  OK  ] Started Raise network interfaces.
[  OK  ] Started udev Coldplug all Devices.
[  OK  ] Reached target System Initialization.
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Started Daily apt download activities.
[  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Reached target Sockets.
[  OK  ] Reached target Basic System.
         Starting Login Service...
         Starting BB WL18xx wlan0 Service...
         Starting System Logging Service...
         Starting Restore /etc/resolv.conf ib&fore the ppp link was shut down...
         Starting Generic Board Startup...
         Starting Save/Restore Sound Card State...
         Starting LSB: Load kernel modules needed to enable cpufreq scaling...
[  OK  ] Started D-Bus System Message Bus.
         Starting Connection service...
         Starting Avahi mDNS/DNS-SD Stack...
[  OK  ] Started Regular background program processing daemon.
[  OK  ] Started Daily apt upgrade and clean activities.
[  OK  ] Reached target Timers.
[  OK  ] Started Deferred execution scheduler.
         Starting LSB: Start busybox udhcpd at boot time...
[  OK  ] Started System Logging Service.
[  OK  ] Started BB WL18xx wlan0 Service.
[  OK  ] Started Restore /etc/resolv.conf ifb&before the ppp link was shut down.
[  OK  ] Started Save/Restore Sound Card State.
[  OK  ] Found device /dev/ttyS0.
[  OK  ] Started LSB: Start busybox udhcpd at boot time.
[  OK  ] Started Avahi mDNS/DNS-SD Stack.
[  OK  ] Started Connection service.
[  OK  ] Started Login Service.
[  OK  ] Reached target Network.
[  OK  ] Reached target Network is Online.
         Starting LSB: Advanced IEEE 802.11 management daemon...
         Starting Permit User Sessions...
[  OK  ] Started LSB: Advanced IEEE 802.11 management daemon.
[  OK  ] Started LSB: Load kernel modules needed to enable cpufreq scaling.
         Starting LSB: set CPUFreq kernel parameters...
[  OK  ] Started LSB: set CPUFreq kernel parameters.
[  OK  ] Started Permit User Sessions.
[  OK  ] Started Getty on tty1.
[  OK  ] Started Serial Getty on ttyS0.
[  OK  ] Reached target Login Prompts.

Debian GNU/Linux 9 beaglebone ttyS0

Machinekit Debian Image 2017-12-24

Support/FAQ: http://www.machinekit.io/

default username:password is [machinekit:machinekit]

beaglebone login:

"""
i reboot without btn and get same result

i edit the cf card uENV.txt (uncomment last line) and reboot (same with & without btn2) and get to flasher (and error) with this log
"""

U-Boot SPL 2018.01-rc2-00002-g23388d96ac (Dec 19 2017 - 13:20:06)

Trying to boot from MMC1


U-Boot 2018.01-rc2-00002-g23388d96ac (Dec 19 2017 - 13:20:06 -0600), Build: jenkins-github_Bootloader-Builder-19
2046 bytes read in 71 ms (27.3 KiB/s)

Loaded environment from /boot/uEnv.txt
Checking if uname_r is set in /boot/uEnv.txt...
gpio: pin 56 (gpio 56) value is 1
Running uname_boot ...
loading /boot/vmlinuz-4.14.8-ti-rt-r19 ...
10240512 bytes read in 704 ms (13.9 MiB/s)

uboot_overlays: [uboot_base_dtb=am335x-boneblack-uboot.dtb] ...
uboot_overlays: Switching too: dtb=am335x-boneblack-uboot.dtb ...
loading /boot/dtbs/4.14.8-ti-rt-r19/am335x-boneblack-uboot.dtb ...
54075 bytes read in 185 ms (285.2 KiB/s)

uboot_overlays: [fdt_buffer=0x60000] ...
uboot_overlays: loading /lib/firmware/AM335X-20-00A0.dtbo ...
378 bytes read in 264 ms (1000 Bytes/s)
uboot_overlays: loading /lib/firmware/BB-BONE-eMMC1-01-00A0.dtbo ...
1105 bytes read in 135 ms (7.8 KiB/s)
uboot_overlays: loading /lib/firmware/BB-HDMI-TDA998x-00A0.dtbo ...
4169 bytes read in 590 ms (6.8 KiB/s)
uboot_overlays: loading /lib/firmware/BB-ADC-00A0.dtbo ...
695 bytes read in 582 ms (1000 Bytes/s)
uboot_overlays: loading /lib/firmware/AM335X-PRU-UIO-00A0.dtbo ...
853 bytes read in 638 ms (1000 Bytes/s)
uboot_overlays: loading /lib/firmware/univ-bbb-EVA-00A0.dtbo ...
54817 bytes read in 144 ms (371.1 KiB/s)
loading /boot/initrd.img-4.14.8-ti-rt-r19 ...
4011290 bytes read in 308 ms (12.4 MiB/s)

debug: [console=ttyO0,115200n8 bone_capemgr.uboot_capemgr_enabled=1 root=/dev/mmcblk0p1 ro rootfstype=ext4 rootwait init=/opt/scripts/tools/eMMC/init-eMMC-flasher-v3.sh] ...
debug: [bootz 0x82000000 0x88080000:3d351a 88000000] ...

## Flattened Device Tree blob at 88000000
   Booting using the fdt blob at 0x88000000
   Loading Ramdisk to 8fc2c000, end 8ffff51a ... OK
   reserving fdt memory region: addr=88000000 size=7a000
   Loading Device Tree to 8fbaf000, end 8fc2bfff ... OK


Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.14.8-ti-rt-r19 (root@a1-imx6q-wandboard-2gb) (gcc version 6.3.0 20170516 (Debian 6.3.0-18)) #1 SMP PREEMPT RT Fri Dec 22 10:40:46 UTC 2017

[    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: TI AM335x BeagleBone Black

[    0.000000] Memory policy: Data cache writeback
[    0.000000] efi: Getting EFI parameters from FDT:
[    0.000000] efi: UEFI not found.

[    0.000000] cma: Reserved 48 MiB at 0x9c800000
[    0.000000] CPU: All CPU(s) started in SVC mode.
[    0.000000] AM335X ES2.0 (sgx neon)
[    0.000000] percpu: Embedded 18 pages/cpu @df909000 s42528 r8192 d23008 u73728
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 129412

[    0.000000] Kernel command line: console=ttyO0,115200n8 bone_capemgr.uboot_capemgr_enabled=1 root=/dev/mmcblk0p1 ro rootfstype=ext4 rootwait init=/opt/scripts/tools/eMMC/init-eMMC-flasher-v3.sh
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Memory: 440500K/522240K available (13312K kernel code, 1078K rwdata, 4280K rodata, 1024K init, 731K bss, 32588K reserved, 49152K 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 : 0xe0000000 - 0xff800000   ( 504 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xdfe00000   ( 510 MB)

[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0e00000   (14304 kB)
[    0.000000]       .init : 0xc1400000 - 0xc1500000   (1024 kB)
[    0.000000]       .data : 0xc1500000 - 0xc160db08   (1079 kB)
[    0.000000]        .bss : 0xc1617ad8 - 0xc16ce8d4   ( 732 kB)

[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] ftrace: allocating 41879 entries in 123 pages

[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]     RCU restricting CPUs from NR_CPUS=2 to nr_cpu_ids=1.
[    0.000000]     No expedited grace period (rcu_normal_after_boot).
[    0.000000]     Tasks RCU enabled.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 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.000021] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[    0.000034] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000042] OMAP clocksource: timer1 at 24000000 Hz
[    0.001425] timer_probe: no matching timers found
[    0.001673] Console: colour dummy device 80x30
[    0.001818] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
[    0.001821] This ensures that you still see kernel messages. Please
[    0.001823] update your kernel commandline.
[    0.001944] Calibrating delay loop... 995.32 BogoMIPS (lpj=1990656)
[    0.025871] pid_max: default: 32768 minimum: 301
[    0.026175] Security Framework initialized
[    0.026187] Yama: becoming mindful.
[    0.026225] AppArmor: AppArmor disabled by boot time parameter
[    0.026427] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.026436] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.027569] CPU: Testing write buffer coherency: ok
[    0.028118] CPU0: thread -1, cpu 0, socket -1, mpidr 0
[    0.042016] Setting up static identity map for 0x80100000 - 0x80100060
[    0.057878] Hierarchical SRCU implementation.
[    0.085171] EFI services will not be available.
[    0.089911] smp: Bringing up secondary CPUs ...
[    0.089933] smp: Brought up 1 node, 1 CPU
[    0.089945] SMP: Total of 1 processors activated (995.32 BogoMIPS).
[    0.089955] CPU: All CPU(s) started in SVC mode.
[    0.091879] devtmpfs: initialized
[    0.138224] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[    0.138895] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.138933] futex hash table entries: 256 (order: 2, 16384 bytes)
[    0.143038] xor: measuring software checksum speed
[    0.181931]    arm4regs  :  1211.000 MB/sec
[    0.221874]    8regs     :  1091.000 MB/sec
[    0.261870]    32regs    :  1088.000 MB/sec
[    0.261881] xor: using function: arm4regs (1211.000 MB/sec)
[    0.261908] pinctrl core: initialized pinctrl subsystem
[    0.263240] DMI not present or invalid.
[    0.264007] NET: Registered protocol family 16
[    0.271970] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.328811] omap_hwmod: debugss: _wait_target_disable failed
[    0.388520] OMAP GPIO hardware version 0.1
[    0.415190] No ATAGs?
[    0.415212] hw-breakpoint: debug architecture 0x4 unsupported.
[    0.416052] omap4_sram_init:Unable to allocate sram needed to handle errata I688
[    0.416073] omap4_sram_init:Unable to get sram pool needed to handle errata I688
[    0.518090] raid6: int32x4  gen()   324 MB/s
[    0.585956] raid6: int32x4  xor()   263 MB/s
[    0.585969] raid6: using algorithm int32x4 gen() 324 MB/s
[    0.585978] raid6: .... xor() 263 MB/s, rmw enabled
[    0.585987] raid6: using intx1 recovery algorithm
[    0.601303] edma 49000000.edma: TI EDMA DMA engine driver
[    0.608092] SCSI subsystem initialized
[    0.610595] usbcore: registered new interface driver usbfs
[    0.610723] usbcore: registered new interface driver hub
[    0.610882] usbcore: registered new device driver usb
[    0.612558] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c0_pins, deferring probe
[    0.614023] omap_i2c 4802a000.i2c: bus 1 rev0.11 at 100 kHz
[    0.616032] omap_i2c 4819c000.i2c: bus 2 rev0.11 at 100 kHz
[    0.616434] media: Linux media interface: v0.10
[    0.616514] Linux video capture interface: v2.00
[    0.616650] pps_core: LinuxPPS API ver. 1 registered
[    0.616660] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giom...@linux.it>
[    0.616693] PTP clock support registered
[    0.616889] dmi: Firmware registration failed.
[    0.618002] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
[    0.622427] Advanced Linux Sound Architecture Driver Initialized.
[    0.623612] NetLabel: Initializing
[    0.623630] NetLabel:  domain hash size = 128
[    0.623638] NetLabel:  protocols = UNLABELED CIPSOv4 CALIPSO
[    0.623755] NetLabel:  unlabeled traffic allowed by default
[    0.626393] clocksource: Switched to clocksource timer1
[    0.979391] VFS: Disk quotas dquot_6.6.0
[    0.979569] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    1.000936] NET: Registered protocol family 2
[    1.002251] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    1.002328] TCP bind hash table entries: 4096 (order: 4, 114688 bytes)
[    1.002702] TCP: Hash tables configured (established 4096 bind 4096)
[    1.002927] UDP hash table entries: 256 (order: 2, 16384 bytes)
[    1.002975] UDP-Lite hash table entries: 256 (order: 2, 16384 bytes)
[    1.003430] NET: Registered protocol family 1
[    1.012712] RPC: Registered named UNIX socket transport module.
[    1.012737] RPC: Registered udp transport module.
[    1.012748] RPC: Registered tcp transport module.
[    1.012759] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.014001] Unpacking initramfs...
[    1.342279] Freeing initrd memory: 3920K
[    1.343103] hw perfevents: no interrupt-affinity property for /pmu, guessing.
[    1.343619] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
[    1.349078] audit: initializing netlink subsys (disabled)
[    1.351190] audit: type=2000 audit(1.348:1): state=initialized audit_enabled=0 res=1
[    1.351463] workingset: timestamp_bits=14 max_order=17 bucket_order=3
[    1.363499] zbud: loaded
[    1.372803] NFS: Registering the id_resolver key type
[    1.372870] Key type id_resolver registered
[    1.372883] Key type id_legacy registered
[    1.372912] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    1.373389] fuse init (API version 7.26)
[    1.375129] orangefs_debugfs_init: called with debug mask: :none: :0:
[    1.375534] orangefs_init: module version upstream loaded
[    1.375547] SGI XFS with ACLs, security attributes, realtime, no debug enabled
[    1.398205] Key type asymmetric registered
[    1.398233] Asymmetric key parser 'x509' registered
[    1.398626] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
[    1.403071] io scheduler noop registered
[    1.403091] io scheduler deadline registered
[    1.403685] io scheduler cfq registered (default)
[    1.403702] io scheduler mq-deadline registered
[    1.408062] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
[    1.420678] gpio-of-helper ocp:cape-universal: ready
[    1.438098] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle
[    1.442182] Serial: 8250/16550 driver, 6 ports, IRQ sharing disabled
[    1.449277] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 30, base_baud = 3000000) is a 8250
[    2.305573] console [ttyS0] enabled
[    2.311103] 48022000.serial: ttyS1 at MMIO 0x48022000 (irq = 31, base_baud = 3000000) is a 8250
[    2.321653] 48024000.serial: ttyS2 at MMIO 0x48024000 (irq = 32, base_baud = 3000000) is a 8250
[    2.332262] 481a8000.serial: ttyS4 at MMIO 0x481a8000 (irq = 33, base_baud = 3000000) is a 8250
[    2.346253] omap_rng 48310000.rng: Random Number Generator ver. 20
[    2.354235] [drm] Initialized vgem 1.0.0 20120112 for virtual device on minor 0
[    2.361804] usbcore: registered new interface driver udl
[    2.380059] at24 2-0054: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[    2.387425] at24 2-0055: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[    2.394771] at24 2-0056: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[    2.402029] at24 2-0057: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[    2.409851] eqep 48300180.eqep: ver. 1.0
[    2.414602] eqep 48300180.eqep: count_mode:0
[    2.418913] eqep 48300180.eqep: invert_qa:1
[    2.423121] eqep 48300180.eqep: invert_qb:1
[    2.427329] eqep 48300180.eqep: invert_qi:0
[    2.431537] eqep 48300180.eqep: invert_qs:0
[    2.435747] eqep 48300180.eqep: swap_inputs:0
[    2.440129] eqep 48300180.eqep: QDECCTL:0x0180
[    2.444598] eqep 48300180.eqep: QPOSINIT:0x00000000
[    2.449502] eqep 48300180.eqep: QPOSMAX:0xffffffff
[    2.454321] eqep 48300180.eqep: QPOSCNT:0x00000000
[    2.459142] eqep 48300180.eqep: omit_interrupt:0
[    2.463785] eqep 48300180.eqep: QEINT:0x0800
[    2.468080] eqep 48300180.eqep: QUPRD:0x05f5e100
[    2.472723] eqep 48300180.eqep: QEPCTL:0x009e write
[    2.477629] eqep 48300180.eqep: QEPCTL:0x009e read
[    2.482488] eqep 48300180.eqep: irq:107, clk_rate:100000000
[    2.488413] eqep 48302180.eqep: ver. 1.0
[    2.492920] eqep 48302180.eqep: count_mode:0
[    2.497223] eqep 48302180.eqep: invert_qa:1
[    2.501433] eqep 48302180.eqep: invert_qb:1
[    2.505641] eqep 48302180.eqep: invert_qi:0
[    2.509849] eqep 48302180.eqep: invert_qs:0
[    2.514057] eqep 48302180.eqep: swap_inputs:0
[    2.518440] eqep 48302180.eqep: QDECCTL:0x0180
[    2.522911] eqep 48302180.eqep: QPOSINIT:0x00000000
[    2.527816] eqep 48302180.eqep: QPOSMAX:0xffffffff
[    2.532634] eqep 48302180.eqep: QPOSCNT:0x00000000
[    2.537454] eqep 48302180.eqep: omit_interrupt:0
[    2.542097] eqep 48302180.eqep: QEINT:0x0800
[    2.546411] eqep 48302180.eqep: QUPRD:0x05f5e100
[    2.551055] eqep 48302180.eqep: QEPCTL:0x009e write
[    2.555960] eqep 48302180.eqep: QEPCTL:0x009e read
[    2.560813] eqep 48302180.eqep: irq:108, clk_rate:100000000
[    2.566711] eqep 48304180.eqep: ver. 1.0
[    2.571164] eqep 48304180.eqep: count_mode:0
[    2.575469] eqep 48304180.eqep: invert_qa:1
[    2.579680] eqep 48304180.eqep: invert_qb:1
[    2.583888] eqep 48304180.eqep: invert_qi:0
[    2.588095] eqep 48304180.eqep: invert_qs:0
[    2.592303] eqep 48304180.eqep: swap_inputs:0
[    2.596686] eqep 48304180.eqep: QDECCTL:0x0180
[    2.601155] eqep 48304180.eqep: QPOSINIT:0x00000000
[    2.606059] eqep 48304180.eqep: QPOSMAX:0xffffffff
[    2.610877] eqep 48304180.eqep: QPOSCNT:0x00000000
[    2.615697] eqep 48304180.eqep: omit_interrupt:0
[    2.620341] eqep 48304180.eqep: QEINT:0x0800
[    2.624635] eqep 48304180.eqep: QUPRD:0x05f5e100
[    2.629278] eqep 48304180.eqep: QEPCTL:0x009e write
[    2.634183] eqep 48304180.eqep: QEPCTL:0x009e read
[    2.639036] eqep 48304180.eqep: irq:110, clk_rate:100000000
[    2.680167] libphy: Fixed MDIO Bus: probed
[    2.685930] CAN device driver interface
[    2.691974] c_can_platform 481cc000.can: c_can_platform device registered (regs=fa1cc000, irq=40)
[    2.702336] c_can_platform 481d0000.can: c_can_platform device registered (regs=fa1d0000, irq=41)
[    2.766566] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6, bus freq 1000000
[    2.774286] davinci_mdio 4a101000.mdio: detected phy mask fffffffe
[    2.781323] davinci_mdio: dt: updated phy_id[0] from phy_mask[fffffffe]
[    2.805597] libphy: 4a101000.mdio: probed
[    2.809821] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver SMSC LAN8710/LAN8720
[    2.820748] cpsw 4a100000.ethernet: Detected MACID = c8:a0:30:af:c2:7b
[    2.827709] cpsw 4a100000.ethernet: cpts: overflow check period 1250 (jiffies)
[    2.841824] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.848515] ehci-platform: EHCI generic platform driver
[    2.854588] ehci-omap: OMAP-EHCI Host Controller driver
[    2.861454] usbcore: registered new interface driver usb-storage
[    2.872317] am335x-phy-driver 47401300.usb-phy: 47401300.usb-phy supply vcc not found, using dummy regulator
[    2.886760] am335x-phy-driver 47401b00.usb-phy: 47401b00.usb-phy supply vcc not found, using dummy regulator
[    2.923810] omap_rtc 44e3e000.rtc: registered as rtc0
[    2.931702] i2c /dev entries driver
[    2.942908] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[    2.950805] softdog: initialized. soft_noboot=0 soft_margin=60 sec soft_panic=0 (nowayout=1)
[    2.964469] omap_hsmmc 48060000.mmc: Got CD GPIO
[    3.050104] mmc0: host does not support reading read-only switch, assuming write-enable
[    3.058364] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
[    3.062789] omap-aes 53500000.aes: will run requests pump with realtime priority
[    3.074973] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
[    3.092394] mmc0: new high speed SDHC card at address 0007
[    3.095405] hidraw: raw HID events driver (C) Jiri Kosina
[    3.096300] usbcore: registered new interface driver usbhid
[    3.096305] usbhid: USB HID core driver
[    3.097144] remoteproc remoteproc0: wkup_m3 is available
[    3.106272] ti_am3359-tscadc 44e0d000.tscadc: chan 0 step_avg truncating to 16
[    3.106283] ti_am3359-tscadc 44e0d000.tscadc: chan 1 step_avg truncating to 16
[    3.106289] ti_am3359-tscadc 44e0d000.tscadc: chan 2 step_avg truncating to 16
[    3.106295] ti_am3359-tscadc 44e0d000.tscadc: chan 3 step_avg truncating to 16
[    3.106301] ti_am3359-tscadc 44e0d000.tscadc: chan 4 step_avg truncating to 16
[    3.106306] ti_am3359-tscadc 44e0d000.tscadc: chan 5 step_avg truncating to 16
[    3.106312] ti_am3359-tscadc 44e0d000.tscadc: chan 6 step_avg truncating to 16
[    3.126208] NET: Registered protocol family 10
[    3.139492] Segment Routing with IPv6
[    3.139610] mip6: Mobile IPv6
[    3.139629] NET: Registered protocol family 17
[    3.139659] can: controller area network core (rev 20170425 abi 9)
[    3.139887] NET: Registered protocol family 29
[    3.140140] Key type dns_resolver registered
[    3.140146] mpls_gso: MPLS GSO support
[    3.140385] omap_voltage_late_init: Voltage driver support not added
[    3.141070] ThumbEE CPU extension supported.
[    3.141105] Registering SWP/SWPB emulation handler
[    3.142875] registered taskstats version 1
[    3.143056] zswap: loaded using pool lzo/zbud
[    3.150489] Btrfs loaded, crc32c=crc32c-generic
[    3.150649] ima: No TPM chip found, activating TPM-bypass! (rc=-19)
[    3.291830] mmcblk0: mmc0:0007 SD32G 29.0 GiB
[    3.298705]  mmcblk0: p1
[    3.437441] tda998x 0-0070: found TDA19988
[    3.443612] tilcdc 4830e000.lcdc: bound 0-0070 (ops tda998x_ops)
[    3.449683] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    3.456334] [drm] No driver support for vblank timestamp query.
[    3.463205] [drm] Cannot find any crtc or sizes
[    3.468874] [drm] Initialized tilcdc 1.0.0 20121205 for 4830e000.lcdc on minor 1
[    3.494151] input: tps65217_pwr_but as /devices/platform/ocp/44e0b000.i2c/i2c-0/0-0024/tps65217-pwrbutton/input/input0
[    3.505574] tps65217 0-0024: TPS65217 ID 0xe version 1.2
[    3.511669] at24 0-0050: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[    3.518794] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
[    3.527241] remoteproc remoteproc0: powering up wkup_m3
[    3.537832] remoteproc remoteproc0: Booting fw image am335x-pm-firmware.elf, size 217148
[    3.550802] musb-hdrc musb-hdrc.1: MUSB HDRC host driver
[    3.550847] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 1
[    3.551291] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    3.551299] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.551306] usb usb1: Product: MUSB HDRC host driver
[    3.551312] usb usb1: Manufacturer: Linux 4.14.8-ti-rt-r19 musb-hcd
[    3.551317] usb usb1: SerialNumber: musb-hdrc.1
[    3.552753] hub 1-0:1.0: USB hub found
[    3.552846] hub 1-0:1.0: 1 port detected
[    3.560160] cpu cpu0: _opp_add_static_v2: opp-hz not found
[    3.567615] hdmi-audio-codec hdmi-audio-codec.0.auto: ASoC: no source widget found for Playback
[    3.567626] hdmi-audio-codec hdmi-audio-codec.0.auto: ASoC: Failed to add route Playback -> direct -> TX
[    3.568519] asoc-simple-card sound: i2s-hifi <-> 48038000.mcasp mapping ok
[    3.568559] asoc-simple-card sound: ASoC: no DMI vendor name!
[    3.576382] omap_rtc 44e3e000.rtc: setting system clock to 2000-01-01 00:00:01 UTC (946684801)
[    3.576397] of_cfs_init
[    3.576636] of_cfs_init: OK

================================================================================
Starting eMMC Flasher from microSD media
Version: [1.20171220: btrfs...]

================================================================================

================================================================================
Prepare environment for flashing
Starting at Sat Jan  1 00:01:12 UTC 2000

----------------------------------------
==> Giving system time to stablize...
5 4 3 2 1
==> Preparing /tmp
==> Preparing sysctl
==> sysctl: vm.min_free_kbytes=[2654]
`-mmcblk0p1 179:1    0  3.3G  0 part /

----------------------------------------
==> df -h | grep rootfs:
----------------------------------------
!==> Error: [/dev/mmcblk1] does not exist
writing to [/dev/mmcblk1] failed...
==> Stopping Cylon LEDs ...
Traceback (last called is first):
     reset_leds() in /opt/scripts/tools/eMMC/functions.sh:431
     write_failure() in /opt/scripts/tools/eMMC/functions.sh:449
     check_running_system() in /opt/scripts/tools/eMMC/functions.sh:612

     main() in /opt/scripts/tools/eMMC/init-eMMC-flasher-v3.sh:47
The command kill $CYLON_PID > /dev/null 2>&1 exited with exit code 2.
================================================================================
Tearing Down script environment
==> Unmounting /tmp
blockdev: cannot open /dev/mmcblk1: No such file or directory
==> Stopping Cylon LEDs ...
==> Setting LEDs to
[   85.770023] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000100
[   85.770023]
[   85.770038] CPU: 0 PID: 1 Comm: init-eMMC-flash Not tainted 4.14.8-ti-rt-r19 #1
[   85.770042] Hardware name: Generic AM33XX (Flattened Device Tree)
[   85.770097] [<c0113d0c>] (unwind_backtrace) from [<c010decc>] (show_stack+0x20/0x24)
[   85.770121] [<c010decc>] (show_stack) from [<c0d77860>] (dump_stack+0x80/0x94)
[   85.770136] [<c0d77860>] (dump_stack) from [<c0141818>] (panic+0x100/0x28c)
[   85.770152] [<c0141818>] (panic) from [<c01479a8>] (complete_and_exit+0x0/0x2c)
[   85.770162] [<c01479a8>] (complete_and_exit) from [<c0147a44>] (do_group_exit+0x50/0xd0)
[   85.770172] [<c0147a44>] (do_group_exit) from [<c0147ae4>] (__wake_up_parent+0x0/0x30)
[   85.770188] [<c0147ae4>] (__wake_up_parent) from [<c0108ea0>] (ret_fast_syscall+0x0/0x5c)

"""
so i rebooted and interrupted the autoboot with SpaceBar and ran these 2 commands FYI

"""
Press SPACE to abort autoboot in 2 seconds
=> mmc list
OMAP SD/MMC: 0
OMAP SD/MMC: 1
=> mmc info
Device: OMAP SD/MMC
Manufacturer ID: 27
OEM: 5048
Name: SD32G
Tran Speed: 50000000
Rd Block Len: 512
SD version 3.0
High Capacity: Yes
Capacity: 29 GiB
Bus Width: 4-bit
Erase Group Size: 512 Bytes
=>
"""
thanks tomp


Robert Nelson

unread,
Dec 27, 2017, 9:52:19 AM12/27/17
to TJoseph Powderly, Machinekit
On Mon, Dec 25, 2017 at 10:56 AM, TJoseph Powderly <tjt...@gmail.com> wrote:
> Robert
> sorry prev post used MachineKoder's image not yours,
> (i have too many cf's here attempting to get the job done, my bad)
> i will make clean images from your latest
> https://rcn-ee.net/rootfs/bb.org/testing/2017-12-24/stretch-machinekit/bone-debian-9.3-machinekit-armhf-2017-12-24-4gb.img.xz
> and report back
> thanks tomp


Yeah no eMMC is showing up..

Either your eMMC has completely failed, or you have a cape plugged
into the pins used to communicate with the eMMC..

You have nothing plugged into P8/P9 right?

TJoseph Powderly

unread,
Dec 27, 2017, 2:54:41 PM12/27/17
to Robert Nelson, Machinekit
No, I don't. Nothing connected.  So board is bad? 
Reply all
Reply to author
Forward
0 new messages