BeagleBone Debug Console Stuff

Console access:

Use https://github.com/tio/tio/releases/download/v1.32/tio-1.32.tar.xz to download tio

Copy it into a random directory ( I used ~makeitlabs/code/c ).

Then:

  • tar x tio-1.32.tar.xz

  • cd tio-1.32/

  • ./configure

  • make

  • ./src/tio -b 115200 /dev/ttyUSB0

When done, use crtrl-t q to quit.

Console output;

U-Boot SPL 2016.03-00002-g30051ac (Jun 06 2016 - 11:28:30)

Trying to boot from MMC

bad magic

U-Boot 2016.03-00002-g30051ac (Jun 06 2016 - 11:28:30 -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

1177 bytes read in 19 ms (59.6 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 441 ms (16.9 MiB/s)

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

61860 bytes read in 69 ms (875 KiB/s)

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

4766032 bytes read in 276 ms (16.5 MiB/s)

debug: [console=ttyO0,115200n8 root=UUID=3b35d211-8feb-4efb-96e4-a2e18824a0a4 ro rootfstype=ext4 rootwait coherent_pool=1M quiet cape_universal=enable] ...

debug: [bootz 0x82000000 0x88080000:48b950 0x88000000] ...

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

## Flattened Device Tree blob at 88000000

Booting using the fdt blob at 0x88000000

Loading Ramdisk to 8fb74000, end 8ffff950 ... OK

Loading Device Tree to 8fb61000, end 8fb731a3 ... OK

Starting kernel ...

[ 2.001887] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle

[ 2.145504] omap_voltage_late_init: Voltage driver support not added

[ 2.153031] PM: Cannot get wkup_m3_ipc handle

[ 2.273538] bone_capemgr bone_capemgr: slot #0: No cape found

[ 2.317547] bone_capemgr bone_capemgr: slot #1: No cape found

[ 2.361617] bone_capemgr bone_capemgr: slot #2: No cape found

[ 2.405543] bone_capemgr bone_capemgr: slot #3: No cape found

Loading, please wait...

rootfs: clean, 112969/241920 files, 502722/954112 blocks

[ 10.879800] remoteproc1: failed to load am335x-pru0-fw

[ 10.895567] remoteproc1: request_firmware failed: -2

[ 10.900775] pru-rproc 4a334000.pru0: rproc_boot failed

[ 11.413044] remoteproc1: failed to load am335x-pru1-fw

[ 11.447955] remoteproc1: request_firmware failed: -2

[ 11.453180] pru-rproc 4a338000.pru1: rproc_boot failed

Debian GNU/Linux 8 beaglebone ttyS0

BeagleBoard.org Debian Image 2016-06-14

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

Dmesg output;

[ 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] On node 0 totalpages: 130560

[ 0.000000] free_area_init_node: node 0, pgdat c0c37b80, node_mem_map df96d000

[ 0.000000] Normal zone: 1152 pages used for memmap

[ 0.000000] Normal zone: 0 pages reserved

[ 0.000000] Normal zone: 130560 pages, LIFO batch:31

[ 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] pcpu-alloc: s24320 r8192 d20736 u53248 alloc=13*4096

[ 0.000000] pcpu-alloc: [0] 0

[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 129408

[ 0.000000] Kernel command line: console=ttyO0,115200n8 root=UUID=3b35d211-8feb-4efb-96e4-a2e18824a0a4 ro rootfstype=ext4 rootwait coherent_pool=1M quiet cape_universal=enable

[ 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: 474072K/522240K available (7344K kernel code, 914K rwdata, 3704K rodata, 604K init, 907K bss, 23592K reserved, 24576K cma-reserved, 0K highmem)

[ 0.000000] Virtual kernel memory layout:

vector : 0xffff0000 - 0xffff1000 ( 4 kB)

fixmap : 0xffc00000 - 0xfff00000 (3072 kB)

vmalloc : 0xe0800000 - 0xff800000 ( 496 MB)

lowmem : 0xc0000000 - 0xe0000000 ( 512 MB)

pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)

modules : 0xbf800000 - 0xbfe00000 ( 6 MB)

.text : 0xc0008000 - 0xc0ad2480 (11050 kB)

.init : 0xc0ad3000 - 0xc0b6a000 ( 604 kB)

.data : 0xc0b6a000 - 0xc0c4e818 ( 915 kB)

.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.000014] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns

[ 0.000032] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns

[ 0.000045] OMAP clocksource: timer1 at 24000000 Hz

[ 0.000228] Console: colour dummy device 80x30

[ 0.000252] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'

[ 0.000259] This ensures that you still see kernel messages. Please

[ 0.000265] update your kernel commandline.

[ 0.000284] Calibrating delay loop... 995.32 BogoMIPS (lpj=1990656)

[ 0.046920] pid_max: default: 32768 minimum: 301

[ 0.047055] Security Framework initialized

[ 0.047069] Yama: becoming mindful.

[ 0.047100] 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.048043] Initializing cgroup subsys io

[ 0.048070] Initializing cgroup subsys memory

[ 0.048110] Initializing cgroup subsys devices

[ 0.048126] Initializing cgroup subsys freezer

[ 0.048141] Initializing cgroup subsys net_cls

[ 0.048155] Initializing cgroup subsys perf_event

[ 0.048169] Initializing cgroup subsys net_prio

[ 0.048184] Initializing cgroup subsys pids

[ 0.048238] CPU: Testing write buffer coherency: ok

[ 0.048289] ftrace: allocating 34073 entries in 67 pages

[ 0.133362] CPU0: thread -1, cpu 0, socket -1, mpidr 0

[ 0.133484] Setting up static identity map for 0x80008240 - 0x8000828c

[ 0.136888] Brought up 1 CPUs

[ 0.136908] SMP: Total of 1 processors activated (995.32 BogoMIPS).

[ 0.136917] CPU: All CPU(s) started in SVC mode.

[ 0.138332] devtmpfs: initialized

[ 0.157192] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3

[ 0.175238] omap_hwmod: debugss: _wait_target_disable failed

[ 0.228944] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns

[ 0.231114] xor: measuring software checksum speed

[ 0.270919] arm4regs : 1221.000 MB/sec

[ 0.310921] 8regs : 1094.000 MB/sec

[ 0.350917] 32regs : 1093.000 MB/sec

[ 0.390918] neon : 1754.000 MB/sec

[ 0.390925] xor: using function: neon (1754.000 MB/sec)

[ 0.391014] pinctrl core: initialized pinctrl subsystem

[ 0.392956] NET: Registered protocol family 16

[ 0.396456] DMA: preallocated 1024 KiB pool for atomic coherent allocations

[ 0.397649] cpuidle: using governor ladder

[ 0.397671] cpuidle: using governor menu

[ 0.402649] OMAP GPIO hardware version 0.1

[ 0.414250] No ATAGs?

[ 0.414282] hw-breakpoint: debug architecture 0x4 unsupported.

[ 0.414832] omap4_sram_init:Unable to allocate sram needed to handle errata I688

[ 0.414844] omap4_sram_init:Unable to get sram pool needed to handle errata I688

[ 0.491101] raid6: int32x1 gen() 269 MB/s

[ 0.558973] raid6: int32x1 xor() 236 MB/s

[ 0.627025] raid6: int32x2 gen() 356 MB/s

[ 0.694951] raid6: int32x2 xor() 269 MB/s

[ 0.763004] raid6: int32x4 gen() 405 MB/s

[ 0.831018] raid6: int32x4 xor() 259 MB/s

[ 0.899065] raid6: int32x8 gen() 359 MB/s

[ 0.966923] raid6: int32x8 xor() 231 MB/s

[ 1.034935] raid6: neonx1 gen() 1458 MB/s

[ 1.102922] raid6: neonx1 xor() 846 MB/s

[ 1.170936] raid6: neonx2 gen() 1881 MB/s

[ 1.238934] raid6: neonx2 xor() 1173 MB/s

[ 1.306945] raid6: neonx4 gen() 1975 MB/s

[ 1.374919] raid6: neonx4 xor() 1203 MB/s

[ 1.442946] raid6: neonx8 gen() 1211 MB/s

[ 1.510923] raid6: neonx8 xor() 671 MB/s

[ 1.510930] raid6: using algorithm neonx4 gen() 1975 MB/s

[ 1.510937] raid6: .... xor() 1203 MB/s, rmw enabled

[ 1.510943] raid6: using intx1 recovery algorithm

[ 1.520007] edma 49000000.edma: TI EDMA DMA engine driver

[ 1.525071] SCSI subsystem initialized

[ 1.525465] libata version 3.00 loaded.

[ 1.525792] usbcore: registered new interface driver usbfs

[ 1.525857] usbcore: registered new interface driver hub

[ 1.525951] usbcore: registered new device driver usb

[ 1.526520] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c0_pins, deferring probe

[ 1.526566] 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.526829] pps_core: LinuxPPS API ver. 1 registered

[ 1.526837] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>

[ 1.526864] PTP clock support registered

[ 1.527790] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400

[ 1.529087] NetLabel: Initializing

[ 1.529098] NetLabel: domain hash size = 128

[ 1.529104] NetLabel: protocols = UNLABELED CIPSOv4

[ 1.529158] NetLabel: unlabeled traffic allowed by default

[ 1.529536] clocksource: Switched to clocksource timer1

[ 1.635469] NET: Registered protocol family 2

[ 1.636221] TCP established hash table entries: 4096 (order: 2, 16384 bytes)

[ 1.636270] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)

[ 1.636328] TCP: Hash tables configured (established 4096 bind 4096)

[ 1.636397] UDP hash table entries: 256 (order: 1, 8192 bytes)

[ 1.636418] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)

[ 1.636707] NET: Registered protocol family 1

[ 1.637254] RPC: Registered named UNIX socket transport module.

[ 1.637266] RPC: Registered udp transport module.

[ 1.637272] RPC: Registered tcp transport module.

[ 1.637278] RPC: Registered tcp NFSv4.1 backchannel transport module.

[ 1.637939] Unpacking initramfs...

[ 1.972803] Freeing initrd memory: 4656K (cfb74000 - d0000000)

[ 1.973374] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available

[ 1.976001] futex hash table entries: 256 (order: 2, 16384 bytes)

[ 1.976111] audit: initializing netlink subsys (disabled)

[ 1.976187] audit: type=2000 audit(1.912:1): initialized

[ 1.986317] zbud: loaded

[ 1.986946] VFS: Disk quotas dquot_6.6.0

[ 1.987198] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)

[ 1.989901] NFS: Registering the id_resolver key type

[ 1.989961] Key type id_resolver registered

[ 1.989968] Key type id_legacy registered

[ 1.989994] nfs4filelayout_init: NFSv4 File Layout Driver Registering...

[ 1.990328] fuse init (API version 7.23)

[ 1.990955] SGI XFS with ACLs, security attributes, realtime, no debug enabled

[ 1.998652] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)

[ 1.998877] io scheduler noop registered

[ 1.998890] io scheduler deadline registered

[ 1.998951] io scheduler cfq registered (default)

[ 2.000265] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568

[ 2.001887] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle

[ 2.003133] Serial: 8250/16550 driver, 6 ports, IRQ sharing disabled

[ 2.006278] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 158, base_baud = 3000000) is a 8250

[ 2.013644] console [ttyS0] enabled

[ 2.014535] 481a6000.serial: ttyS3 at MMIO 0x481a6000 (irq = 159, base_baud = 3000000) is a 8250

[ 2.015895] [drm] Initialized drm 1.1.0 20060810

[ 2.020330] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver

[ 2.020379] ehci-platform: EHCI generic platform driver

[ 2.020545] ehci-omap: OMAP-EHCI Host Controller driver

[ 2.020928] usbcore: registered new interface driver usb-storage

[ 2.022717] 47401300.usb-phy supply vcc not found, using dummy regulator

[ 2.024847] musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)

[ 2.024863] musb-hdrc: MHDRC RTL version 2.0

[ 2.024871] musb-hdrc: setup fifo_mode 4

[ 2.024888] musb-hdrc: 28/31 max ep, 16384/16384 memory

[ 2.026128] 47401b00.usb-phy supply vcc not found, using dummy regulator

[ 2.028102] musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)

[ 2.028115] musb-hdrc: MHDRC RTL version 2.0

[ 2.028122] musb-hdrc: setup fifo_mode 4

[ 2.028134] musb-hdrc: 28/31 max ep, 16384/16384 memory

[ 2.028266] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver

[ 2.028298] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 1

[ 2.028554] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002

[ 2.028567] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1

[ 2.028576] usb usb1: Product: MUSB HDRC host driver

[ 2.028584] usb usb1: Manufacturer: Linux 4.4.9-ti-r25 musb-hcd

[ 2.028593] usb usb1: SerialNumber: musb-hdrc.1.auto

[ 2.029393] hub 1-0:1.0: USB hub found

[ 2.029441] hub 1-0:1.0: 1 port detected

[ 2.038992] mousedev: PS/2 mouse device common for all mice

[ 2.041278] omap_rtc 44e3e000.rtc: rtc core: registered 44e3e000.rtc as rtc0

[ 2.042227] i2c /dev entries driver

[ 2.043759] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec

[ 2.044504] omap_hsmmc 48060000.mmc: Got CD GPIO

[ 2.138988] hidraw: raw HID events driver (C) Jiri Kosina

[ 2.139663] usbcore: registered new interface driver usbhid

[ 2.139674] usbhid: USB HID core driver

[ 2.139940] ashmem: initialized

[ 2.140664] remoteproc0: wkup_m3 is available

[ 2.140675] remoteproc0: Note: remoteproc is still under development and considered experimental.

[ 2.140684] remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.

[ 2.143825] NET: Registered protocol family 10

[ 2.145056] mip6: Mobile IPv6

[ 2.145081] NET: Registered protocol family 17

[ 2.145224] Key type dns_resolver registered

[ 2.145239] mpls_gso: MPLS GSO support

[ 2.145504] omap_voltage_late_init: Voltage driver support not added

[ 2.152101] mmc1: MAN_BKOPS_EN bit is not set

[ 2.153031] PM: Cannot get wkup_m3_ipc handle

[ 2.157615] ThumbEE CPU extension supported.

[ 2.157645] Registering SWP/SWPB emulation handler

[ 2.158813] registered taskstats version 1

[ 2.158987] zswap: loaded using pool lzo/zbud

[ 2.159904] mmc1: new high speed MMC card at address 0001

[ 2.163237] Btrfs loaded

[ 2.163602] mmcblk0: mmc1:0001 Q2J54A 3.64 GiB

[ 2.169974] mmcblk0boot0: mmc1:0001 Q2J54A partition 1 2.00 MiB

[ 2.173818] mmcblk0boot1: mmc1:0001 Q2J54A partition 2 2.00 MiB

[ 2.175448] mmcblk0: p1

[ 2.186109] omap_hsmmc 47810000.mmc: card claims to support voltages below defined range

[ 2.194721] Key type encrypted registered

[ 2.197497] input: tps65217_pwr_but as /devices/platform/ocp/44e0b000.i2c/i2c-0/0-0024/input/input0

[ 2.223222] tps65217 0-0024: TPS65217 ID 0xe version 1.2

[ 2.223868] at24 0-0050: 32768 byte 24c256 EEPROM, writable, 1 bytes/write

[ 2.223916] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz

[ 2.225768] at24 2-0054: 32768 byte 24c256 EEPROM, writable, 1 bytes/write

[ 2.226288] at24 2-0055: 32768 byte 24c256 EEPROM, writable, 1 bytes/write

[ 2.226742] at24 2-0056: 32768 byte 24c256 EEPROM, writable, 1 bytes/write

[ 2.227181] at24 2-0057: 32768 byte 24c256 EEPROM, writable, 1 bytes/write

[ 2.227219] omap_i2c 4819c000.i2c: bus 2 rev0.11 at 100 kHz

[ 2.228350] remoteproc0: powering up wkup_m3

[ 2.228435] remoteproc0: Booting fw image am335x-pm-firmware.elf, size 219735

[ 2.228714] remoteproc0: remote processor wkup_m3 is now up

[ 2.228735] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x191

[ 2.234422] bone_capemgr bone_capemgr: Baseboard: 'A335BNLT,GW1A,BBGW18032068'

[ 2.234462] bone_capemgr bone_capemgr: compatible-baseboard=ti,beaglebone-black - #slots=4

[ 2.273538] bone_capemgr bone_capemgr: slot #0: No cape found

[ 2.301769] mmc2: queuing unknown CIS tuple 0x91 (3 bytes)

[ 2.317547] bone_capemgr bone_capemgr: slot #1: No cape found

[ 2.361617] bone_capemgr bone_capemgr: slot #2: No cape found

[ 2.370973] mmc2: new high speed SDIO card at address 0001

[ 2.405543] bone_capemgr bone_capemgr: slot #3: No cape found

[ 2.411415] bone_capemgr bone_capemgr: initialized OK.

[ 2.413019] PM: bootloader does not support rtc-only!

[ 2.413514] omap_rtc 44e3e000.rtc: setting system clock to 2000-01-01 00:00:01 UTC (946684801)

[ 2.413615] of_cfs_init

[ 2.413729] of_cfs_init: OK

[ 2.417733] usb 1-1: new high-speed USB device number 2 using musb-hdrc

[ 2.419173] PM: Hibernation image not present or could not be loaded.

[ 2.419217] wlan-en-regulator: disabling

[ 2.420389] Freeing unused kernel memory: 604K (c0ad3000 - c0b6a000)

[ 2.547113] usb 1-1: New USB device found, idVendor=05e3, idProduct=0610

[ 2.547134] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0

[ 2.547143] usb 1-1: Product: USB2.0 Hub

[ 2.548319] hub 1-1:1.0: USB hub found

[ 2.548653] hub 1-1:1.0: 4 ports detected

[ 2.602693] systemd-udevd[104]: starting version 215

[ 2.604835] random: systemd-udevd urandom read with 37 bits of entropy available

[ 3.412558] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: (null)

[ 4.035532] systemd[1]: Cannot add dependency job for unit display-manager.service, ignoring: Unit display-manager.service failed to load: No such file or directory.

[ 4.273706] EXT4-fs (mmcblk0p1): re-mounted. Opts: errors=remount-ro

[ 5.053782] systemd-udevd[196]: starting version 215

[ 5.716712] systemd-journald[191]: Received request to flush runtime journal from PID 1

[ 6.771526] random: nonblocking pool is initialized

[ 9.336405] using random self ethernet address

[ 9.336430] using random host ethernet address

[ 9.336449] using host ethernet address: F4:84:4C:28:C4:14

[ 9.336458] using self ethernet address: F4:84:4C:28:C4:10

[ 9.376308] Mass Storage Function, version: 2009/09/11

[ 9.376334] LUN: removable file: (no medium)

[ 9.376527] LUN: removable read only file: /var/cache/doc-seeed-bbgw-getting-started/beaglebone-getting-started-2016-05-11.img

[ 9.376539] Number of LUNs=1

[ 9.384438] usb0: HOST MAC f4:84:4c:28:c4:14

[ 9.385122] usb0: MAC f4:84:4c:28:c4:10

[ 9.392098] g_multi gadget: Multifunction Composite Gadget

[ 9.392125] g_multi gadget: g_multi ready

[ 9.930240] g_multi gadget: high-speed config #1: Multifunction with RNDIS

[ 9.980168] omap_rng 48310000.rng: OMAP Random Number Generator ver. 20

[ 10.635706] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2

[ 10.775418] ti-pruss 4a300000.pruss: creating PRU cores and other child platform devices

[ 10.842068] omap-sham 53100000.sham: hw accel on OMAP rev 4.3

[ 10.876200] remoteproc1: 4a334000.pru0 is available

[ 10.876224] remoteproc1: Note: remoteproc is still under development and considered experimental.

[ 10.876233] remoteproc1: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.

[ 10.879770] remoteproc1: Direct firmware load for am335x-pru0-fw failed with error -2

[ 10.879800] remoteproc1: failed to load am335x-pru0-fw

[ 10.889501] pru-rproc 4a334000.pru0: booting the PRU core manually

[ 10.895463] remoteproc1: powering up 4a334000.pru0

[ 10.895554] remoteproc1: Direct firmware load for am335x-pru0-fw failed with error -2

[ 10.895567] remoteproc1: request_firmware failed: -2

[ 10.900775] pru-rproc 4a334000.pru0: rproc_boot failed

[ 11.405273] remoteproc1: releasing 4a334000.pru0

[ 11.405439] pru-rproc: probe of 4a334000.pru0 failed with error -2

[ 11.412738] remoteproc1: 4a338000.pru1 is available

[ 11.412762] remoteproc1: Note: remoteproc is still under development and considered experimental.

[ 11.412771] remoteproc1: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.

[ 11.413028] remoteproc1: Direct firmware load for am335x-pru1-fw failed with error -2

[ 11.413044] remoteproc1: failed to load am335x-pru1-fw

[ 11.447835] pru-rproc 4a338000.pru1: booting the PRU core manually

[ 11.447865] remoteproc1: powering up 4a338000.pru1

[ 11.447941] remoteproc1: Direct firmware load for am335x-pru1-fw failed with error -2

[ 11.447955] remoteproc1: request_firmware failed: -2

[ 11.453180] pru-rproc 4a338000.pru1: rproc_boot failed

[ 11.601180] Bluetooth: Core ver 2.21

[ 11.601313] NET: Registered protocol family 31

[ 11.601323] Bluetooth: HCI device and connection manager initialized

[ 11.601352] Bluetooth: HCI socket layer initialized

[ 11.601369] Bluetooth: L2CAP socket layer initialized

[ 11.601410] Bluetooth: SCO socket layer initialized

[ 11.671101] Bluetooth: BNEP (Ethernet Emulation) ver 1.3

[ 11.671121] Bluetooth: BNEP filters: protocol multicast

[ 11.671147] Bluetooth: BNEP socket layer initialized

[ 11.685023] davinci_evm sound: wilink8_bt-hifi <-> 48038000.mcasp mapping ok

[ 11.868923] remoteproc1: releasing 4a338000.pru1

[ 11.869077] pru-rproc: probe of 4a338000.pru1 failed with error -2

[ 14.074871] wlcore: wl18xx HW: 183x or 180x, PG 2.2 (ROM 0x11)

[ 14.231325] wlcore: loaded

[ 15.055428] wlcore: PHY firmware version: Rev 8.2.0.0.233

[ 15.375803] wlcore: firmware booted (Rev 8.9.0.1.55)

[ 15.663821] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready

[ 19.884657] IPv6: ADDRCONF(NETDEV_UP): SoftAp0: link is not ready

[ 20.060500] ip_tables: (C) 2000-2006 Netfilter Core Team

[ 20.088125] nf_conntrack version 0.5.0 (7873 buckets, 31492 max)

[ 47.180579] wlcore: down

[ 52.673294] IPv6: ADDRCONF(NETDEV_CHANGE): SoftAp0: link becomes ready

Uboot output (hit SPACE on debug console to stop in u-boot)

U-Boot 2016.03-00002-g30051ac (Jun 06 2016 - 11:28:30 -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

1177 bytes read in 19 ms (59.6 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 441 ms (16.9 MiB/s)

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

61860 bytes read in 68 ms (887.7 KiB/s)

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

4766032 bytes read in 276 ms (16.5 MiB/s)

debug: [console=ttyO0,115200n8 root=UUID=3b35d211-8feb-4efb-96e4-a2e18824a0a4 ro rootfstype=ext4 rootwait coherent_pool=1M quiet cape_universal=enable] ...

debug: [bootz 0x82000000 0x88080000:48b950 0x88000000] ...

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

## Flattened Device Tree blob at 88000000

Booting using the fdt blob at 0x88000000

Loading Ramdisk to 8fb74000, end 8ffff950 ... OK

Loading Device Tree to 8fb61000, end 8fb731a3 ... OK

Starting kernel ...

U-Boot SPL 2016.03-00002-g30051ac (Jun 06 2016 - 11:28:30)

Trying to boot from MMC

bad magic

U-Boot 2016.03-00002-g30051ac (Jun 06 2016 - 11:28:30 -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

=> help

? - alias for 'help'

askenv - get environment variables from stdin

base - print or set address offset

bdinfo - print Board Info structure

boot - boot default, i.e., run 'bootcmd'

bootd - boot default, i.e., run 'bootcmd'

bootelf - Boot from an ELF image in memory

bootm - boot application image from memory

bootp - boot image via network using BOOTP/TFTP protocol

bootvx - Boot vxWorks from an ELF image

bootz - boot Linux zImage image from memory

cmp - memory compare

coninfo - print console devices and information

cp - memory copy

crc32 - checksum calculation

dfu - Device Firmware Upgrade

dhcp - boot image via network using DHCP/TFTP protocol

dm - Driver model low level access

echo - echo args to console

editenv - edit environment variable

eeprom - EEPROM sub-system

env - environment handling commands

exit - exit script

ext2load- load binary file from a Ext2 filesystem

ext2ls - list files in a directory (default /)

ext4load- load binary file from a Ext4 filesystem

ext4ls - list files in a directory (default /)

ext4size- determine a file's size

ext4write- create a file in the root directory

false - do nothing, unsuccessfully

fastboot- use USB Fastboot protocol

fatinfo - print information about filesystem

fatload - load binary file from a dos filesystem

fatls - list files in a directory (default /)

fatsize - determine a file's size

fatwrite- write file into a dos filesystem

fdt - flattened device tree utility commands

fstype - Look up a filesystem type

go - start application at address 'addr'

gpio - query and control gpio pins

gpt - GUID Partition Table

help - print command description/usage

i2c - I2C sub-system

iminfo - print header information for application image

imxtract- extract a part of a multi-image

itest - return true/false on integer compare

load - load binary file from a filesystem

loadb - load binary file over serial line (kermit mode)

loads - load S-Record file over serial line

loadx - load binary file over serial line (xmodem mode)

loady - load binary file over serial line (ymodem mode)

loop - infinite loop on address range

ls - list files in a directory (default /)

md - memory display

mdio - MDIO utility commands

mii - MII utility commands

mm - memory modify (auto-incrementing address)

mmc - MMC sub system

mmcinfo - display MMC info

mw - memory write (fill)

nfs - boot image via network using NFS protocol

nm - memory modify (constant address)

part - disk partition related commands

ping - send ICMP ECHO_REQUEST to network host

printenv- print environment variables

pxe - commands to get and boot from pxe files

reset - Perform RESET of the CPU

run - run commands in an environment variable

save - save file to a filesystem

setenv - set environment variables

sf - SPI flash sub-system

showvar - print local hushshell variables

size - determine a file's size

sleep - delay execution for some time

source - run script from memory

spl - SPL configuration

sspi - SPI utility command

sysboot - command to get and boot from syslinux files

test - minimal test like /bin/sh

tftpboot- boot image via network using TFTP protocol

true - do nothing, successfully

usb - USB sub-system

usbboot - boot from USB device

version - print monitor, compiler and linker version

=> version

U-Boot 2016.03-00002-g30051ac (Jun 06 2016 - 11:28:30 -0500)

arm-linux-gnueabihf-gcc (Linaro GCC 5.3-2016.02) 5.3.1 20160113

GNU ld (GNU Binutils) 2.25.0 Linaro 2015_10

=> bdinfo

arch_number = 0x00000E05

boot_params = 0x80000100

DRAM bank = 0x00000000

-> start = 0x80000000

-> size = 0x20000000

eth0name = cpsw

ethaddr = f4:84:4c:28:c4:12

eth1name = usb_ether

eth1addr = f4:84:4c:28:c4:14

current eth = cpsw

ip_addr = <NULL>

baudrate = 115200 bps

TLB addr = 0x9FFF0000

relocaddr = 0x9FF59000

reloc off = 0x1F759000

irq_sp = 0x9EF38EC0

sp start = 0x9EF38EB0

=> coninfo

List of available devices:

ns16550_serial 00000003 IO stdin stdout stderr

serial 00000003 IO

=> i2c

i2c - I2C sub-system

Usage:

i2c bus [muxtype:muxaddr:muxchannel] - show I2C bus info

crc32 chip address[.0, .1, .2] count - compute CRC32 checksum

i2c dev [dev] - show or set current I2C bus

i2c loop chip address[.0, .1, .2] [# of objects] - looping read of device

i2c md chip address[.0, .1, .2] [# of objects] - read from I2C device

i2c mm chip address[.0, .1, .2] - write to I2C device (auto-incrementing)

i2c mw chip address[.0, .1, .2] value [count] - write to I2C device (fill)

i2c nm chip address[.0, .1, .2] - write to I2C device (constant address)

i2c probe [address] - test for and show device(s) on the I2C bus

i2c read chip address[.0, .1, .2] length memaddress - read to memory

i2c write memaddress chip address[.0, .1, .2] length [-s] - write memory

to I2C; the -s option selects bulk write in a single transaction

i2c reset - re-init the I2C Controller

i2c speed [speed] - show or set I2C bus speed

=> i2c bus

Bus 0: omap24_0

Bus 1: omap24_1

Bus 2: omap24_2

=> i2c dev 0

Setting bus to 0

=> i2c probe

Valid chip addresses: 24 50

=> i2c dev 1

Setting bus to 1

=> i2c probe

Valid chip addresses:Timed out in wait_for_event: status=0000

Check if pads/pull-ups of bus 1 are properly configured

Timed out in wait_for_event: status=0000

Check if pads/pull-ups of bus 1 are properly configured

Timed out in wait_for_event: status=0000

Check if pads/pull-ups of bus 1 are properly configured

Timed out in wait_for_event: status=0000

-- Reboot --

=> i2c bus 2

Bus 2: omap24_2

=> i2c probe

Valid chip addresses: 24 50

=> printenv bootcmd

bootcmd=run findfdt; run distro_bootcmd

=> printenv findfdt

findfdt=if test $board_name = A335BONE; then setenv fdtfile am335x-bone.dtb; setenv fdtbase am335x-bone; fi; if test $board_name = A335BNLT; then if test $board_rev = BLA0; then setenv fdtfile am335x-boneblue.dtb; setenv fdtbase am335x-boneblue; elif test $board_rev = BBG1; then setenv fdtfile am335x-bonegreen.dtb; setenv fdtbase am335x-bonegreen; elif test $board_rev = GW1A; then setenv fdtfile am335x-bonegreen-wireless.dtb; setenv fdtbase am335x-bonegreen-wireless; elif test $board_rev = AIA0; then setenv fdtfile am335x-abb

=> printenv board_name

board_name=A335BNLT

=> printenv distro_bootcmd

distro_bootcmd=for target in ${boot_targets}; do run bootcmd_${target}; done

=> printenv boot_targets

boot_targets=mmc0 legacy_mmc0 mmc1 legacy_mmc1 nand0 pxe dhcp

=> printenv bootcmd_mmc0

bootcmd_mmc0=setenv devnum 0; run mmc_boot

=> printenv bootcmd_legacy_mmc0

bootcmd_legacy_mmc0=gpio clear 56; gpio clear 55; gpio clear 54; gpio set 53; setenv interface mmc; setenv mmcdev 0; setenv bootpart 0:1 ; run boot

=> printenv bootcmd_mmc1

bootcmd_mmc1=setenv devnum 1; run mmc_boot

=> printenv bootcmd_legacy_mmc1

bootcmd_legacy_mmc1=gpio clear 56; gpio clear 55; gpio clear 54; gpio set 53; setenv interface mmc; setenv mmcdev 1; setenv bootpart 1:1 ; run boot

=> printenv bootcmd_nand0

## Error: "bootcmd_nand0" not defined

=> printenv bootcmd_pxe

bootcmd_pxe=dhcp; if pxe get; then pxe boot; fi

=> printenv bootcmd_dhcp

bootcmd_dhcp=if dhcp ${scriptaddr} ${boot_script_dhcp}; then source ${scriptaddr}; fi

=> setenv bootcmd_orig "$bootcmd"

=> printenv bootcmd_orig

bootcmd_orig=run findfdt; run distro_bootcmd

=> setenv dc_bootcmd 'run findfdt; for target in ${boot_targets}; do echo "--> DFC bootcmd --> run bootcmd_${target}"; run bootcmd_${target}; done'

=> saveenv

Unknown command 'saveenv' - try 'help'

=> run dc_bootcmd

--> DFC bootcmd --> run bootcmd_mmc0

Card did not respond to voltage select!

--> DFC bootcmd --> run bootcmd_legacy_mmc0

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!

--> DFC bootcmd --> run bootcmd_mmc1

switch to partitions #0, OK

mmc1(part 0) is current device

Scanning mmc 1:1...

--> DFC bootcmd --> run bootcmd_legacy_mmc1

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

1177 bytes read in 20 ms (56.6 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 442 ms (16.9 MiB/s)

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

61860 bytes read in 69 ms (875 KiB/s)

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

4766032 bytes read in 275 ms (16.5 MiB/s)

debug: [console=ttyO0,115200n8 root=UUID=3b35d211-8feb-4efb-96e4-a2e18824a0a4 ro rootfstype=ext4 rootwait coherent_pool=1M quiet cape_universal=enable] ...

debug: [bootz 0x82000000 0x88080000:48b950 0x88000000] ...

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

## Flattened Device Tree blob at 88000000

Booting using the fdt blob at 0x88000000

Loading Ramdisk to 8fb74000, end 8ffff950 ... OK

Loading Device Tree to 8fb61000, end 8fb731a3 ... OK

Starting kernel ...

[ 2.001936] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle

[ 2.145440] omap_voltage_late_init: Voltage driver support not added

[ 2.152956] PM: Cannot get wkup_m3_ipc handle

[ 2.273530] bone_capemgr bone_capemgr: slot #0: No cape found

[ 2.317495] bone_capemgr bone_capemgr: slot #1: No cape found

[ 2.362056] bone_capemgr bone_capemgr: slot #2: No cape found

[ 2.405496] bone_capemgr bone_capemgr: slot #3: No cape found

Loading, please wait...

rootfs: clean, 112969/241920 files, 502839/954112 blocks

[ 10.804722] remoteproc1: failed to load am335x-pru0-fw

[ 10.855931] remoteproc1: request_firmware failed: -2

[ 10.861144] pru-rproc 4a334000.pru0: rproc_boot failed

[ 11.234333] remoteproc1: failed to load am335x-pru1-fw

[ 11.277194] remoteproc1: request_firmware failed: -2

[ 11.282424] pru-rproc 4a338000.pru1: rproc_boot failed

Debian GNU/Linux 8 beaglebone ttyS0

BeagleBoard.org Debian Image 2016-06-14

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

default username:password is [debian:temppwd]

The IP Address for usb0 is: 192.168.7.2

beaglebone login:

Notes about saveenv:

saveenv does not exist in beaglebone's u-boot, because some models have eMMC, while others have microSD, etc.

Ref:

  • https://groups.google.com/forum/#!topic/beagleboard/H1AClyzLfUU

  • https://yocto.yoctoproject.narkive.com/mNdzpyvF/location-of-u-boot-environment-for-beaglebone-black

  • https://github.com/RobertCNelson/Bootloader-Builder/blob/master/patches/v2016.03/0001-am335x_evm-uEnv.txt-bootz-n-fixes.patch#L177