GPIO access on Custom BBB

Hello -

We’re debugging a new design based on the BBB RevC where we’ve eliminated the eMMC. I assigned several GPIOs that would have been allocated to the eMMC data lines and I cannot manipulate them. On a BBB, I can disable the eMMC overlay in /boot/uEnv.txt and I get access to my gpios and they respond. On my custom board (designed with no eMMC) I am unable to do this. When I disable the eMMC overlay in /boot/uEnv.txt the board suddenly will not boot. I’ve been unsuccessful in using the pin mux to change the pin modes to GPIO and I will admit up front I’m probably not be doing the right way but the config-pin commands worked for UART1.

I am using the latest debian stretch IoT image

      debian@beaglebone:~$ uname
      Linux beaglebone 4.14.67-ti-r73 #1 SMP PREEMPT Thu Aug 30 00:08:52 UTC 2018 armv7l GNU/Linux

I need to control gpio32, gpio34, gpio35 and gpio36 (P8_25, P8_05, P8_06, P8_23 respectively.) These are all MMC1_DATx pins.

Again - if I disable the eMMC overlay in /boot/uEnv.txt on a BBB with the same kernel I can at least manipulate gpio32 (I haven’t bothered to try the others). However, if I stick that same uSD card into my custom board, suddenly it won’t boot and the only change has been to disable the eMMC overlay.

Thanks in advance for your help and suggestions

Here is my uEnv.txt file:

debian@beaglebone:~$ cat /boot/uEnv.txt
#Docs: http://elinux.org/Beagleboard:U-boot_partitioning_layout_2.0

uname_r=4.14.67-ti-r73
#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/BB-SPIDEV0-00A0.dtbo
uboot_overlay_addr5=/lib/firmware/BB-SPIDEV1-00A0.dtbo
#uboot_overlay_addr6=/lib/firmware/BB-UART1-00A0.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_rproc (4.14.x-ti kernel)
uboot_overlay_pru=/lib/firmware/AM335X-PRU-RPROC-4-14-TI-00A0.dtbo
###pru_uio (4.4.x-ti, 4.14.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... (60000 = 384KB)
#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

#Use an overlayfs on top of a read-only root filesystem:
#cmdline=coherent_pool=1M net.ifnames=0 quiet overlayroot=tmpfs

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

@AdamG,

Can you plug-in a usb-serial adapter and share U-Boot bootup log on your custom pcb?

Regards,

Thanks for the prompt response. This appears to be one of those very fun moments in engineering when you get a little egg on your face!

Through the serial debug port I rebooted to capture the full boot log, then I modified my /boot/uEnv.txt file to uncomment the emmc overlay disable, saved it and rebooted. It boots all the way now. I’m baffled. This must be the 5th or 6th time I’ve done this simple test and I can’t explain why it works now. Regardless… Here is the resulting boot log. If you have a moment I would really appreciate it if you could review the boot log and let me know if you see anything I need to be concerned about. I have already validated gpio32 and gpio34 - they both respond to unix commands now.

THIS BOOT LOG FROM CUSTOM BOARD WITH EMMC OVERLAY ENABLED

U-Boot SPL 2018.09-rc2-dirty (Sep 07 2018 - 09:13:58 -0400)
Trying to boot from MMC1
Loading Environment from EXT4... ** File not found /boot/uboot.env **
** Unable to read &quot;/boot/uboot.env&quot; from mmc0:1 **
U-Boot 2018.09-rc2-dirty (Sep 07 2018 - 09:13:58 -0400)
CPU : AM335X-GP rev 2.1
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.
RTC 32KCLK Source: External.
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
Loading Environment from EXT4... ** File not found /boot/uboot.env **
** Unable to read &quot;/boot/uboot.env&quot; from mmc0:1 **
Board: BeagleBone Black
&lt;ethaddr&gt; 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=[] ...
switch to partitions #0, OK
mmc0 is current device
SD/MMC found on device 0
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
2117 bytes read in 26 ms (79.1 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.67-ti-r73 ...
10379776 bytes read in 674 ms (14.7 MiB/s)
debug: [enable_uboot_overlays=1] ...
debug: [enable_uboot_cape_universal=1] ...
debug: [uboot_base_dtb_univ=am335x-boneblack-uboot-univ.dtb] ...
uboot_overlays: [uboot_base_dtb=am335x-boneblack-uboot-univ.dtb] ...
uboot_overlays: Switching too: dtb=am335x-boneblack-uboot-univ.dtb ...
loading /boot/dtbs/4.14.67-ti-r73/am335x-boneblack-uboot-univ.dtb ...
161723 bytes read in 66 ms (2.3 MiB/s)
uboot_overlays: [fdt_buffer=0x60000] ...
uboot_overlays: loading /lib/firmware/BB-SPIDEV0-00A0.dtbo ...
1523 bytes read in 586 ms (2 KiB/s)
uboot_overlays: loading /lib/firmware/BB-SPIDEV1-00A0.dtbo ...
1523 bytes read in 186 ms (7.8 KiB/s)
uboot_overlays: loading /lib/firmware/BB-BONE-eMMC1-01-00A0.dtbo ...
1440 bytes read in 176 ms (7.8 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 ...
711 bytes read in 222 ms (2.9 KiB/s)
uboot_overlays: loading /lib/firmware/AM335X-PRU-RPROC-4-14-TI-00A0.dtbo ...
3513 bytes read in 698 ms (4.9 KiB/s)
loading /boot/initrd.img-4.14.67-ti-r73 ...
4791746 bytes read in 325 ms (14.1 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:491dc2 88000000] ...
## Flattened Device Tree blob at 88000000
Booting using the fdt blob at 0x88000000
Loading Ramdisk to 8fb6e000, end 8ffffdc2 ... OK
reserving fdt memory region: addr=88000000 size=88000
Loading Device Tree to 8fae3000, end 8fb6dfff ... OK
Starting kernel ...
[ 0.002087] timer_probe: no matching timers found
[ 0.617969] dmi: Firmware registration failed.
[ 1.145529] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle
[ 1.437041] dmi-sysfs: dmi entry is absent.
[ 1.470788] omap_voltage_late_init: Voltage driver support not added
[ 1.943307] musb-hdrc musb-hdrc.1: VBUS_ERROR in a_wait_vrise (80, &lt;SessEnd), retry #3, port1 0008010c
rootfs: recovering journal
rootfs: clean, 87184/217728 files, 551197/869376 blocks
Debian GNU/Linux 9 beaglebone ttyS0
BeagleBoard,org Debian Image 2018-08-30
Support/FAQ: http;//elinux,org/Beagleboard:BeagleBoneBlack_Debian
default username:password is [debian:temppwd]
beaglebone login: debian
Password:
Last login: Thu Oct 4 15:48:02 UTC 2018 from 192.168.0.129 on pts/0
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
debian@beaglebone:~$ sudo nano /boot/uEnv.txt
[sudo] password for debian:
GNU nano 2.7.4 New Buffer
debian@beaglebone:~$ cd /boot
debian@beaglebone:/boot$ sudo nano uEnv.txt
GNU nano 2.7.4 File: uEnv.txt
###
###Overide capes with eeprom
#uboot_overlay_addr0=/lib/firmware/&lt;file0&gt;.dtbo
#uboot_overlay_addr1=/lib/firmware/&lt;file1&gt;.dtbo
#uboot_overlay_addr2=/lib/firmware/&lt;file2&gt;.dtbo
#uboot_overlay_addr3=/lib/firmware/&lt;file3&gt;.dtbo
###
###Additional custom capes
uboot_overlay_addr4=/lib/firmware/BB-SPIDEV0-00A0.dtbo
uboot_overlay_addr5=/lib/firmware/BB-SPIDEV1-00A0.dtbo
#uboot_overlay_addr6=/lib/firmware/BB-UART1-00A0.dtbo
#uboot_overlay_addr7=/lib/firmware/&lt;file7&gt;.dtbo
###
###Custom Cape
#dtb_overlay=/lib/firmware/&lt;file8&gt;.dtbo
###
###Disable auto loading of virtual capes (emmc/video/wireless/adc)
disable_uboot_overlay_emmc=1
disable_uboot_overlay_video=1
**debian@beaglebone:/boot$ sudo reboot**
[ 117.526584] watchdog: watchdog0: watchdog did not stop!
[ 117.782262] reboot: Restarting system

THIS BOOT LOG FROM CUSTOM BOARD WITH EMMC OVERLAY DISABLED

U-Boot SPL 2018.09-rc2-dirty (Sep 07 2018 - 09:13:58 -0400)
Trying to boot from MMC1
Loading Environment from EXT4... ** File not found /boot/uboot.env **
** Unable to read &quot;/boot/uboot.env&quot; from mmc0:1 **
U-Boot 2018.09-rc2-dirty (Sep 07 2018 - 09:13:58 -0400)
CPU : AM335X-GP rev 2.1
I2C: ready
DRAM: 512 MiB
No match for driver 'omap_hsmmc'
No match for driver 'omap_hsmmc'
Some drivers were not found
Reset Source: Global warm SW reset has occurred.
Reset Source: Power-on reset has occurred.
RTC 32KCLK Source: External.
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
Loading Environment from EXT4... ** File not found /boot/uboot.env **
** Unable to read &quot;/boot/uboot.env&quot; from mmc0:1 **
Board: BeagleBone Black
&lt;ethaddr&gt; 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=[] ...
switch to partitions #0, OK
mmc0 is current device
SD/MMC found on device 0
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
2116 bytes read in 24 ms (85.9 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.67-ti-r73 ...
10379776 bytes read in 674 ms (14.7 MiB/s)
debug: [enable_uboot_overlays=1] ...
debug: [enable_uboot_cape_universal=1] ...
debug: [uboot_base_dtb_univ=am335x-boneblack-uboot-univ.dtb] ...
uboot_overlays: [uboot_base_dtb=am335x-boneblack-uboot-univ.dtb] ...
uboot_overlays: Switching too: dtb=am335x-boneblack-uboot-univ.dtb ...
loading /boot/dtbs/4.14.67-ti-r73/am335x-boneblack-uboot-univ.dtb ...
161723 bytes read in 69 ms (2.2 MiB/s)
uboot_overlays: [fdt_buffer=0x60000] ...
uboot_overlays: loading /lib/firmware/BB-SPIDEV0-00A0.dtbo ...
1523 bytes read in 584 ms (2 KiB/s)
uboot_overlays: loading /lib/firmware/BB-SPIDEV1-00A0.dtbo ...
1523 bytes read in 186 ms (7.8 KiB/s)
uboot_overlays: uboot loading of [/lib/firmware/BB-BONE-eMMC1-01-00A0.dtbo] disabled by /boot/uEnv.txt [disable_uboot_overlay_emmc=1]...
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 ...
711 bytes read in 222 ms (2.9 KiB/s)
uboot_overlays: loading /lib/firmware/AM335X-PRU-RPROC-4-14-TI-00A0.dtbo ...
3513 bytes read in 700 ms (4.9 KiB/s)
loading /boot/initrd.img-4.14.67-ti-r73 ...
4791746 bytes read in 325 ms (14.1 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:491dc2 88000000] ...
## Flattened Device Tree blob at 88000000
Booting using the fdt blob at 0x88000000
Loading Ramdisk to 8fb6e000, end 8ffffdc2 ... OK
reserving fdt memory region: addr=88000000 size=88000
Loading Device Tree to 8fae3000, end 8fb6dfff ... OK
Starting kernel ...
[ 0.002079] timer_probe: no matching timers found
[ 0.618063] dmi: Firmware registration failed.
[ 1.147334] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle
[ 1.416987] dmi-sysfs: dmi entry is absent.
[ 1.449272] omap_voltage_late_init: Voltage driver support not added
[ 1.956094] musb-hdrc musb-hdrc.1: VBUS_ERROR in a_wait_vrise (80, &lt;SessEnd), retry #3, port1 0008010c
rootfs: clean, 87182/217728 files, 551235/869376 blocks
Debian GNU/Linux 9 beaglebone ttyS0
BeagleBoard,org Debian Image 2018-08-30
Support/FAQ: http;//elinux,org/Beagleboard:BeagleBoneBlack_Debian
default username:password is [debian:temppwd]
beaglebone login: debian
Password:
Last login: Fri Oct 5 18:32:48 UTC 2018 on ttyS0
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
debian@beaglebone:~$ cd /sys/class/gpio
debian@beaglebone:/sys/class/gpio$ ls
export gpio117 gpio27 gpio38 gpio50 gpio69 gpio78 gpiochip0
gpio10 gpio12 gpio3 gpio39 gpio51 gpio7 gpio79 gpiochip32
gpio11 gpio13 gpio30 gpio4 gpio60 gpio70 gpio8 gpiochip64
gpio110 gpio14 gpio31 gpio44 gpio61 gpio71 gpio80 gpiochip96
gpio111 gpio15 gpio32 gpio45 gpio62 gpio72 gpio81 unexport
gpio112 gpio2 gpio33 gpio46 gpio63 gpio73 gpio86
gpio113 gpio20 gpio34 gpio47 gpio65 gpio74 gpio87
gpio114 gpio22 gpio35 gpio48 gpio66 gpio75 gpio88
gpio115 gpio23 gpio36 gpio49 gpio67 gpio76 gpio89
gpio116 gpio26 gpio37 gpio5 gpio68 gpio77 gpio9
debian@beaglebone:/sys/class/gpio$ cd gpio34
debian@beaglebone:/sys/class/gpio/gpio34$ cat direction
in
debian@beaglebone:/sys/class/gpio/gpio34$ echo out &gt; direction
debian@beaglebone:/sys/class/gpio/gpio34$ cat direction
out
debian@beaglebone:/sys/class/gpio/gpio34$ cat value
0
debian@beaglebone:/sys/class/gpio/gpio34$ echo 1 &gt; value
debian@beaglebone:/sys/class/gpio/gpio34$ echo 0 &gt; value
debian@beaglebone:/sys/class/gpio/gpio34$ echo 1 &gt; value
debian@beaglebone:/sys/class/gpio/gpio34$
**gpio32 and gpio34 both working now and the OS boots with emmc overlay disabled.**

I see you have correctly set the eeprom…

board_name=[A335BNLT] ...
board_rev=[] ...

Which was my initial theory of why it “wasn’t” working… But it’s set correctly. Normally that’s the cause of boot issues.

If it does fail again, let’s grab the serial boot log, that’s the best indicator of what went wrong…

Regards,

Robert,

I would like to attach a couple boot logs for you to review - are you able to elevate my user privileges so I can upload a file?

Since I can’t upload the comparison file I made you, I pasted two boot logs below. These are from two different custom boards. Board 03-003 boots, board 03-007 does not. They use the same uSD card and after failing on 03-007 I move the uSD card back to 03-003 where it boots AOK. I’m hoping you might take a look at them and advise any next steps for debug. You will notice that when the boot fails, it does so with no specific message and happens a few seconds after the text “Starting kernel …” If you look at the logs side by side, the board that fails boot is missing a large section of the boot log which occurs before starting the kernel on the good board.

Thank you,
Adam

BOARD 03-003 - BOOTS

U-Boot SPL 2018.09-rc2-dirty (Sep 07 2018 - 09:13:58 -0400)
Trying to boot from MMC1
Loading Environment from EXT4... ** File not found /boot/uboot.env **

** Unable to read "/boot/uboot.env" from mmc0:1 **


U-Boot 2018.09-rc2-dirty (Sep 07 2018 - 09:13:58 -0400)

CPU  : AM335X-GP rev 2.1
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.
RTC 32KCLK Source: External.
MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
Loading Environment from EXT4... ** File not found /boot/uboot.env **

** Unable to read "/boot/uboot.env" from mmc0:1 **
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=[] ...
switch to partitions #0, OK
mmc0 is current device
SD/MMC found on device 0
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
2116 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.14.67-ti-r73 ...

U-Boot SPL 2018.09-rc2-dirty (Sep 07 2018 - 09:13:58 -0400)
Trying to boot from MMC1
Loading Environment from EXT4... ** File not found /boot/uboot.env **

** Unable to read "/boot/uboot.env" from mmc0:1 **


U-Boot 2018.09-rc2-dirty (Sep 07 2018 - 09:13:58 -0400)

CPU  : AM335X-GP rev 2.1
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.
RTC 32KCLK Source: External.
MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
Loading Environment from EXT4... ** File not found /boot/uboot.env **

** Unable to read "/boot/uboot.env" from mmc0:1 **
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=[] ...
switch to partitions #0, OK
mmc0 is current device
SD/MMC found on device 0
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
2116 bytes read in 24 ms (85.9 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.67-ti-r73 ...
10379776 bytes read in 674 ms (14.7 MiB/s)
debug: [enable_uboot_overlays=1] ...
debug: [enable_uboot_cape_universal=1] ...
debug: [uboot_base_dtb_univ=am335x-boneblack-uboot-univ.dtb] ...
uboot_overlays: [uboot_base_dtb=am335x-boneblack-uboot-univ.dtb] ...
uboot_overlays: Switching too: dtb=am335x-boneblack-uboot-univ.dtb ...
loading /boot/dtbs/4.14.67-ti-r73/am335x-boneblack-uboot-univ.dtb ...
161723 bytes read in 65 ms (2.4 MiB/s)
uboot_overlays: [fdt_buffer=0x60000] ...
uboot_overlays: loading /lib/firmware/BB-SPIDEV0-00A0.dtbo ...
1523 bytes read in 658 ms (2 KiB/s)
uboot_overlays: loading /lib/firmware/BB-SPIDEV1-00A0.dtbo ...
1523 bytes read in 208 ms (6.8 KiB/s)
uboot_overlays: uboot loading of [/lib/firmware/BB-BONE-eMMC1-01-00A0.dtbo] disabled by /boot/uEnv.txt [disable_uboot_overlay_emmc=1]...
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 ...
711 bytes read in 249 ms (2 KiB/s)
uboot_overlays: loading /lib/firmware/AM335X-PRU-RPROC-4-14-TI-00A0.dtbo ...
3513 bytes read in 782 ms (3.9 KiB/s)
loading /boot/initrd.img-4.14.67-ti-r73 ...
4791746 bytes read in 325 ms (14.1 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:491dc2 88000000] ...
## Flattened Device Tree blob at 88000000
   Booting using the fdt blob at 0x88000000
   Loading Ramdisk to 8fb6e000, end 8ffffdc2 ... OK
   reserving fdt memory region: addr=88000000 size=88000
   Loading Device Tree to 8fae3000, end 8fb6dfff ... OK

Starting kernel ...

[    0.002078] timer_probe: no matching timers found
[    0.618047] dmi: Firmware registration failed.
[    1.146208] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle
[    1.416959] dmi-sysfs: dmi entry is absent.
[    1.449200] omap_voltage_late_init: Voltage driver support not added
[    1.956064] musb-hdrc musb-hdrc.1: VBUS_ERROR in a_wait_vrise (80, <SessEnd), retry #3, port1 0008010c
rootfs: clean, 87211/217728 files, 551290/869376 blocks
2
Debian GNU/Linux 9 beaglebone ttyS0

BeagleBoard.org Debian Image 2018-08-30

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

default username:password is [debian:temppwd]

beaglebone login: debian
Password:
Last login: Thu Oct 11 12:04:30 UTC 2018 on ttyS0

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
debian@beaglebone:~$

BOARD 03-007 - WILL NOT BOOT

U-Boot SPL 2018.09-rc2-dirty (Sep 07 2018 - 09:13:58 -0400)
Trying to boot from MMC1
Loading Environment from EXT4... ** File not found /boot/uboot.env **

** Unable to read "/boot/uboot.env" from mmc0:1 **


U-Boot 2018.09-rc2-dirty (Sep 07 2018 - 09:13:58 -0400)

CPU  : AM335X-GP rev 2.1
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.
RTC 32KCLK Source: External.
MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
Loading Environment from EXT4... ** File not found /boot/uboot.env **

** Unable to read "/boot/uboot.env" from mmc0:1 **
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=[] ...
switch to partitions #0, OK
mmc0 is current device
SD/MMC found on device 0
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
2116 bytes read in 24 ms (85.9 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.67-ti-r73 ...
10379776 bytes read in 674 ms (14.7 MiB/s)
debug: [enable_uboot_overlays=1] ...
debug: [enable_uboot_cape_universal=1] ...
debug: [uboot_base_dtb_univ=am335x-boneblack-uboot-univ.dtb] ...
uboot_overlays: [uboot_base_dtb=am335x-boneblack-uboot-univ.dtb] ...
uboot_overlays: Switching too: dtb=am335x-boneblack-uboot-univ.dtb ...
loading /boot/dtbs/4.14.67-ti-r73/am335x-boneblack-uboot-univ.dtb ...
161723 bytes read in 66 ms (2.3 MiB/s)
uboot_overlays: [fdt_buffer=0x60000] ...
uboot_overlays: loading /lib/firmware/BB-SPIDEV0-00A0.dtbo ...
1523 bytes read in 583 ms (2 KiB/s)
uboot_overlays: loading /lib/firmware/BB-SPIDEV1-00A0.dtbo ...
1523 bytes read in 186 ms (7.8 KiB/s)
uboot_overlays: uboot loading of [/lib/firmware/BB-BONE-eMMC1-01-00A0.dtbo] disabled by /boot/uEnv.txt [disable_uboot_overlay_emmc=1]...
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 ...
711 bytes read in 221 ms (2.9 KiB/s)
uboot_overlays: loading /lib/firmware/AM335X-PRU-RPROC-4-14-TI-00A0.dtbo ...
3513 bytes read in 697 ms (4.9 KiB/s)
loading /boot/initrd.img-4.14.67-ti-r73 ...
4791746 bytes read in 325 ms (14.1 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:491dc2 88000000] ...
## Flattened Device Tree blob at 88000000
   Booting using the fdt blob at 0x88000000
   Loading Ramdisk to 8fb6e000, end 8ffffdc2 ... OK
   reserving fdt memory region: addr=88000000 size=88000
   Loading Device Tree to 8fae3000, end 8fb6dfff ... OK

Starting kernel ...

¦

@AdamG, am i reading your log right? While BOARD 03-003 did finally “boot” it actually reset after loading the vmlinuz:

Running uname_boot ...
loading /boot/vmlinuz-4.14.67-ti-r73 ...

U-Boot SPL 2018.09-rc2-dirty (Sep 07 2018 - 09:13:58 -0400)
Trying to boot from MMC1
Loading Environment from EXT4... ** File not found /boot/uboot.env **

Did you use the Octavo SIP in your design (with built-in memory)? Or did you use TI’s AM335x and someone else’s ddr3 memory? Which memory?

PS, in “/boot/uEnv.txt”, remove “quiet” let’s see if actually got farther then “Starting kernel …”…

Regards,

@RobertCNelson

Thank you for your prompt and helpful reply I really appreciate it.

Regarding the boot that restarted…
Yes, it looks like you’re reading that right. I have an issue with the PMIC circuit that I haven’t tried to debug yet - when you shut down the board through any method it immediately powers back up. I can’t say for sure, but that may be why it automatically re-entered boot after failing on vmlinuz. I will also note - this is the first time I’ve observed this behavior. I’ve since "reboot"ed the board 3 times and “shutdown” the board three times, just to see if it happened again with either command. So far it has not. I suspect that when it failed on vmlinuz, it shouldn’t have restarted right away but our changes to the PMIC circuit may have caused that. I think that problem is simply too much capacitance or power sequencing because I need to drop 12V to 5V before powering the PMIC.

Anyway…

I used Ti’s AM335x. At one point I was working with a BBB wireless, but I don’t remember making any changes to get it to boot. We have Kingston DDR3, part no: D2516EC4BXGGB-U on these boards.

Thanks for the tip regarding “quiet”. New interesting behavior… sometimes when I shut it down, it stays off. This seems to support the timing and/or too much capacitance theory. Also - I moved the board to a larger power supply and now it boots. Apparently the 12V, 1A power supply I was using was allowing too much of a V drop or was current limiting the board. That power supply is back on the shelf now… where it will stay.

The reboot issue after vmlinuz is not related to the power supply; this occurred on the better supply which boots both boards.

Here is the boot log after removing “quiet”.

debian@beaglebone:/boot$ sudo reboot
[ 1107.414687] watchdog: watchdog0: watchdog did not stop!
[ 1107.676861] reboot: Restarting system

U-Boot SPL 2018.09-rc2-dirty (Sep 07 2018 - 09:13:58 -0400)
Trying to boot from MMC1
Loading Environment from EXT4... ** File not found /boot/uboot.env **

** Unable to read "/boot/uboot.env" from mmc0:1 **


U-Boot 2018.09-rc2-dirty (Sep 07 2018 - 09:13:58 -0400)

CPU  : AM335X-GP rev 2.1
I2C:   ready
DRAM:  512 MiB
No match for driver 'omap_hsmmc'
No match for driver 'omap_hsmmc'
Some drivers were not found
Reset Source: Global warm SW reset has occurred.
Reset Source: Power-on reset has occurred.
RTC 32KCLK Source: External.
MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
Loading Environment from EXT4... ** File not found /boot/uboot.env **

** Unable to read "/boot/uboot.env" from mmc0:1 **
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=[] ...
switch to partitions #0, OK
mmc0 is current device
SD/MMC found on device 0
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
2214 bytes read in 25 ms (85.9 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.67-ti-r73 ...
10379776 bytes read in 673 ms (14.7 MiB/s)
debug: [enable_uboot_overlays=1] ...
debug: [enable_uboot_cape_universal=1] ...
debug: [uboot_base_dtb_univ=am335x-boneblack-uboot-univ.dtb] ...
uboot_overlays: [uboot_base_dtb=am335x-boneblack-uboot-univ.dtb] ...
uboot_overlays: Switching too: dtb=am335x-boneblack-uboot-univ.dtb ...
loading /boot/dtbs/4.14.67-ti-r73/am335x-boneblack-uboot-univ.dtb ...
161723 bytes read in 65 ms (2.4 MiB/s)
uboot_overlays: [fdt_buffer=0x60000] ...
uboot_overlays: loading /lib/firmware/BB-SPIDEV0-00A0.dtbo ...
1523 bytes read in 646 ms (2 KiB/s)
uboot_overlays: loading /lib/firmware/BB-SPIDEV1-00A0.dtbo ...
1523 bytes read in 203 ms (6.8 KiB/s)
uboot_overlays: uboot loading of [/lib/firmware/BB-BONE-eMMC1-01-00A0.dtbo] disabled by /boot/uEnv.txt [disable_uboot_overlay_emmc=1]...
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 ...
711 bytes read in 244 ms (2 KiB/s)
uboot_overlays: loading /lib/firmware/AM335X-PRU-RPROC-4-14-TI-00A0.dtbo ...
3513 bytes read in 770 ms (3.9 KiB/s)
loading /boot/initrd.img-4.14.67-ti-r73 ...
4791746 bytes read in 325 ms (14.1 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] ...
debug: [bootz 0x82000000 0x88080000:491dc2 88000000] ...
## Flattened Device Tree blob at 88000000
   Booting using the fdt blob at 0x88000000
   Loading Ramdisk to 8fb6e000, end 8ffffdc2 ... OK
   reserving fdt memory region: addr=88000000 size=88000
   Loading Device Tree to 8fae3000, end 8fb6dfff ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.14.67-ti-r73 (root@b2-am57xx-beagle-x15-2gb) (gcc version 6.3.0 20170516 (Debian 6.3.0-18+deb9u1)) #1 SMP PREEMPT Thu Aug 30 00:08:52 UTC 2018
[    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.1 (sgx neon)
[    0.000000] random: get_random_bytes called from start_kernel+0xac/0x458 with crng_init=0
[    0.000000] percpu: Embedded 18 pages/cpu @df8e8000 s41548 r8192 d23988 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 coherent_pool=1M net.ifnames=0
[    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: 440016K/522240K available (13312K kernel code, 1165K rwdata, 4344K rodata, 1024K init, 377K bss, 33072K 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 - 0xc1623430   (1166 kB)
[    0.000000]        .bss : 0xc162db68 - 0xc168c05c   ( 378 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] ftrace: allocating 42569 entries in 125 pages
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  RCU restricting CPUs from NR_CPUS=2 to nr_cpu_ids=1.
[    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.000024] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[    0.000049] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000063] OMAP clocksource: timer1 at 24000000 Hz
[    0.002081] timer_probe: no matching timers found
[    0.002425] Console: colour dummy device 80x30
[    0.002460] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
[    0.002468] This ensures that you still see kernel messages. Please
[    0.002476] update your kernel commandline.
[    0.002503] Calibrating delay loop... 995.32 BogoMIPS (lpj=1990656)
[    0.021125] pid_max: default: 32768 minimum: 301
[    0.021398] Security Framework initialized
[    0.021420] Yama: becoming mindful.
[    0.021462] AppArmor: AppArmor disabled by boot time parameter
[    0.021542] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.021558] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.022574] CPU: Testing write buffer coherency: ok
[    0.023104] CPU0: thread -1, cpu 0, socket -1, mpidr 0
[    0.037208] Setting up static identity map for 0x80100000 - 0x80100060
[    0.045123] Hierarchical SRCU implementation.
[    0.056237] EFI services will not be available.
[    0.061128] smp: Bringing up secondary CPUs ...
[    0.061148] smp: Brought up 1 node, 1 CPU
[    0.061160] SMP: Total of 1 processors activated (995.32 BogoMIPS).
[    0.061169] CPU: All CPU(s) started in SVC mode.
[    0.062752] devtmpfs: initialized
[    0.101417] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[    0.101897] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.101930] futex hash table entries: 256 (order: 2, 16384 bytes)
[    0.105858] xor: measuring software checksum speed
[    0.145140]    arm4regs  :  1200.000 MB/sec
[    0.185099]    8regs     :  1075.000 MB/sec
[    0.225097]    32regs    :   988.000 MB/sec
[    0.265098]    neon      :  1621.000 MB/sec
[    0.265108] xor: using function: neon (1621.000 MB/sec)
[    0.265127] pinctrl core: initialized pinctrl subsystem
[    0.265930] DMI not present or invalid.
[    0.266384] NET: Registered protocol family 16
[    0.270210] DMA: preallocated 1024 KiB pool for atomic coherent allocations
[    0.358258] omap_hwmod: debugss: _wait_target_disable failed
[    0.399001] cpuidle: using governor menu
[    0.405069] OMAP GPIO hardware version 0.1
[    0.432874] No ATAGs?
[    0.432895] hw-breakpoint: debug architecture 0x4 unsupported.
[    0.434455] omap4_sram_init:Unable to allocate sram needed to handle errata I688
[    0.434483] omap4_sram_init:Unable to get sram pool needed to handle errata I688
[    0.529162] raid6: neonx2   gen()  1883 MB/s
[    0.597124] raid6: neonx2   xor()  1497 MB/s
[    0.597135] raid6: using algorithm neonx2 gen() 1883 MB/s
[    0.597144] raid6: .... xor() 1497 MB/s, rmw enabled
[    0.597154] raid6: using neon recovery algorithm
[    0.604992] edma 49000000.edma: TI EDMA DMA engine driver
[    0.612028] SCSI subsystem initialized
[    0.613611] usbcore: registered new interface driver usbfs
[    0.613675] usbcore: registered new interface driver hub
[    0.613801] usbcore: registered new device driver usb
[    0.614796] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c0_pins, deferring probe
[    0.615772] omap_i2c 4802a000.i2c: bus 1 rev0.11 at 100 kHz
[    0.617082] omap_i2c 4819c000.i2c: bus 2 rev0.11 at 100 kHz
[    0.617696] media: Linux media interface: v0.10
[    0.617778] Linux video capture interface: v2.00
[    0.617952] pps_core: LinuxPPS API ver. 1 registered
[    0.617962] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti 
[    0.617986] PTP clock support registered
[    0.618118] dmi: Firmware registration failed.
[    0.618638] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
[    0.621432] FPGA manager framework
[    0.621528] Advanced Linux Sound Architecture Driver Initialized.
[    0.622227] NetLabel: Initializing
[    0.622243] NetLabel:  domain hash size = 128
[    0.622251] NetLabel:  protocols = UNLABELED CIPSOv4 CALIPSO
[    0.622348] NetLabel:  unlabeled traffic allowed by default
[    0.625596] clocksource: Switched to clocksource timer1
[    0.790741] VFS: Disk quotas dquot_6.6.0
[    0.790879] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.803668] NET: Registered protocol family 2
[    0.804620] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    0.804675] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[    0.804735] TCP: Hash tables configured (established 4096 bind 4096)
[    0.804858] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.804884] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.805107] NET: Registered protocol family 1
[    0.814108] RPC: Registered named UNIX socket transport module.
[    0.814128] RPC: Registered udp transport module.
[    0.814136] RPC: Registered tcp transport module.
[    0.814144] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.815024] Unpacking initramfs...
[    1.017667] random: fast init done
[    1.076779] Freeing initrd memory: 4680K
[    1.077389] hw perfevents: no interrupt-affinity property for /pmu, guessing.
[    1.077830] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
[    1.080055] audit: initializing netlink subsys (disabled)
[    1.081308] audit: type=2000 audit(1.080:1): state=initialized audit_enabled=0 res=1
[    1.081450] workingset: timestamp_bits=14 max_order=17 bucket_order=3
[    1.087522] zbud: loaded
[    1.095167] NFS: Registering the id_resolver key type
[    1.095220] Key type id_resolver registered
[    1.095230] Key type id_legacy registered
[    1.095251] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    1.095601] fuse init (API version 7.26)
[    1.096229] SGI XFS with ACLs, security attributes, realtime, no debug enabled
[    1.115326] Key type asymmetric registered
[    1.115351] Asymmetric key parser 'x509' registered
[    1.115483] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
[    1.119826] io scheduler noop registered
[    1.119845] io scheduler deadline registered
[    1.120237] io scheduler cfq registered (default)
[    1.120252] io scheduler mq-deadline registered
[    1.123136] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
[    1.135183] gpio-of-helper ocp:cape-universal: ready
[    1.146348] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle
[    1.148890] Serial: 8250/16550 driver, 6 ports, IRQ sharing disabled
[    1.152683] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 30, base_baud = 3000000) is a 8250
[    2.014453] console [ttyS0] enabled
[    2.019208] 48022000.serial: ttyS1 at MMIO 0x48022000 (irq = 31, base_baud = 3000000) is a 8250
[    2.029146] 48024000.serial: ttyS2 at MMIO 0x48024000 (irq = 32, base_baud = 3000000) is a 8250
[    2.039015] 481a6000.serial: ttyS3 at MMIO 0x481a6000 (irq = 33, base_baud = 3000000) is a 8250
[    2.048919] 481a8000.serial: ttyS4 at MMIO 0x481a8000 (irq = 34, base_baud = 3000000) is a 8250
[    2.058802] 481aa000.serial: ttyS5 at MMIO 0x481aa000 (irq = 35, base_baud = 3000000) is a 8250
[    2.071312] omap_rng 48310000.rng: Random Number Generator ver. 20
[    2.079030] [drm] Initialized vgem 1.0.0 20120112 for virtual device on minor 0
[    2.086644] usbcore: registered new interface driver udl
[    2.100619] at24 2-0054: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[    2.107932] at24 2-0055: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[    2.115156] at24 2-0056: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[    2.122323] at24 2-0057: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[    2.129955] eqep 48300180.eqep: ver. 1.0
[    2.134145] eqep 48300180.eqep: count_mode:0
[    2.138485] eqep 48300180.eqep: invert_qa:1
[    2.142713] eqep 48300180.eqep: invert_qb:1
[    2.146940] eqep 48300180.eqep: invert_qi:0
[    2.151166] eqep 48300180.eqep: invert_qs:0
[    2.155391] eqep 48300180.eqep: swap_inputs:0
[    2.159790] eqep 48300180.eqep: QDECCTL:0x0180
[    2.164277] eqep 48300180.eqep: QPOSINIT:0x00000000
[    2.169200] eqep 48300180.eqep: QPOSMAX:0xffffffff
[    2.174035] eqep 48300180.eqep: QPOSCNT:0x00000000
[    2.178872] eqep 48300180.eqep: omit_interrupt:0
[    2.183532] eqep 48300180.eqep: QEINT:0x0800
[    2.187844] eqep 48300180.eqep: QUPRD:0x05f5e100
[    2.192504] eqep 48300180.eqep: QEPCTL:0x009e write
[    2.197426] eqep 48300180.eqep: QEPCTL:0x009e read
[    2.202279] eqep 48300180.eqep: irq:131, clk_rate:100000000
[    2.208139] eqep 48302180.eqep: ver. 1.0
[    2.212270] eqep 48302180.eqep: count_mode:0
[    2.216602] eqep 48302180.eqep: invert_qa:1
[    2.220828] eqep 48302180.eqep: invert_qb:1
[    2.225054] eqep 48302180.eqep: invert_qi:0
[    2.229279] eqep 48302180.eqep: invert_qs:0
[    2.233504] eqep 48302180.eqep: swap_inputs:0
[    2.237903] eqep 48302180.eqep: QDECCTL:0x0180
[    2.242390] eqep 48302180.eqep: QPOSINIT:0x00000000
[    2.247311] eqep 48302180.eqep: QPOSMAX:0xffffffff
[    2.252144] eqep 48302180.eqep: QPOSCNT:0x00000000
[    2.256980] eqep 48302180.eqep: omit_interrupt:0
[    2.261640] eqep 48302180.eqep: QEINT:0x0800
[    2.265950] eqep 48302180.eqep: QUPRD:0x05f5e100
[    2.270610] eqep 48302180.eqep: QEPCTL:0x009e write
[    2.275532] eqep 48302180.eqep: QEPCTL:0x009e read
[    2.280379] eqep 48302180.eqep: irq:133, clk_rate:100000000
[    2.286191] eqep 48304180.eqep: ver. 1.0
[    2.290280] eqep 48304180.eqep: count_mode:0
[    2.294609] eqep 48304180.eqep: invert_qa:1
[    2.298838] eqep 48304180.eqep: invert_qb:1
[    2.303063] eqep 48304180.eqep: invert_qi:0
[    2.307288] eqep 48304180.eqep: invert_qs:0
[    2.311513] eqep 48304180.eqep: swap_inputs:0
[    2.315911] eqep 48304180.eqep: QDECCTL:0x0180
[    2.320397] eqep 48304180.eqep: QPOSINIT:0x00000000
[    2.325319] eqep 48304180.eqep: QPOSMAX:0xffffffff
[    2.330153] eqep 48304180.eqep: QPOSCNT:0x00000000
[    2.334988] eqep 48304180.eqep: omit_interrupt:0
[    2.339647] eqep 48304180.eqep: QEINT:0x0800
[    2.343958] eqep 48304180.eqep: QUPRD:0x05f5e100
[    2.348616] eqep 48304180.eqep: QEPCTL:0x009e write
[    2.353538] eqep 48304180.eqep: QEPCTL:0x009e read
[    2.358386] eqep 48304180.eqep: irq:135, clk_rate:100000000
[    2.423689] libphy: Fixed MDIO Bus: probed
[    2.428834] CAN device driver interface
[    2.434199] c_can_platform 481cc000.can: c_can_platform device registered (regs=fa1cc000, irq=41)
[    2.444235] c_can_platform 481d0000.can: c_can_platform device registered (regs=fa1d0000, irq=42)
[    2.509706] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6, bus freq 1000000
[    2.517461] davinci_mdio 4a101000.mdio: detected phy mask fffffffe
[    2.524699] MDIO: davinci_mdio: dt: updated phy_id[0] from phy_mask[fffffffe]
[    2.546678] libphy: 4a101000.mdio: probed
[    2.551019] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver SMSC LAN8710/LAN8720
[    2.561545] cpsw 4a100000.ethernet: Detected MACID = 40:bd:32:ce:21:22
[    2.568398] cpsw 4a100000.ethernet: initialized cpsw ale version 1.4
[    2.574880] cpsw 4a100000.ethernet: ALE Table size 1024
[    2.580225] cpsw 4a100000.ethernet: cpts: overflow check period 1250 (jiffies)
[    2.591370] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.598057] ehci-platform: EHCI generic platform driver
[    2.603775] ehci-omap: OMAP-EHCI Host Controller driver
[    2.610184] usbcore: registered new interface driver usb-storage
[    2.619628] am335x-phy-driver 47401300.usb-phy: 47401300.usb-phy supply vcc not found, using dummy regulator
[    2.633011] am335x-phy-driver 47401b00.usb-phy: 47401b00.usb-phy supply vcc not found, using dummy regulator
[    2.647619] musb-hdrc musb-hdrc.1: MUSB HDRC host driver
[    2.653066] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 1
[    2.660869] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    2.667737] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.675018] usb usb1: Product: MUSB HDRC host driver
[    2.680029] usb usb1: Manufacturer: Linux 4.14.67-ti-r73 musb-hcd
[    2.686172] usb usb1: SerialNumber: musb-hdrc.1
[    2.691770] hub 1-0:1.0: USB hub found
[    2.695770] hub 1-0:1.0: 1 port detected
[    2.711501] omap_rtc 44e3e000.rtc: already running
[    2.717201] omap_rtc 44e3e000.rtc: registered as rtc0
[    2.723937] i2c /dev entries driver
[    2.728782] Driver for 1-wire Dallas network protocol.
[    2.737753] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[    2.745401] softdog: initialized. soft_noboot=0 soft_margin=60 sec soft_panic=0 (nowayout=0)
[    2.755654] cpuidle: enable-method property 'ti,am3352' found operations
[    2.763454] sdhci: Secure Digital Host Controller Interface driver
[    2.769745] sdhci: Copyright(c) Pierre Ossman
[    2.775240] omap_hsmmc 48060000.mmc: Got CD GPIO
[    2.820148] sdhci-pltfm: SDHCI platform and OF driver helper
[    2.834251] ledtrig-cpu: registered to indicate activity on CPUs
[    2.840402] dmi-sysfs: dmi entry is absent.
[    2.845196] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
[    2.851476] omap-aes 53500000.aes: will run requests pump with realtime priority
[    2.861967] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
[    2.871877] hidraw: raw HID events driver (C) Jiri Kosina
[    2.878471] usbcore: registered new interface driver usbhid
[    2.884213] usbhid: USB HID core driver
[    2.888755] remoteproc remoteproc0: wkup_m3 is available
[    2.902898] wireguard: WireGuard 0.0.20180809 loaded. See  for information.
[    2.911584] mmc0: host does not support reading read-only switch, assuming write-enable
[    2.919971] mmc0: new high speed SDHC card at address aaaa
[    2.926677] mmcblk0: mmc0:aaaa SA08G 7.40 GiB
[    2.932332]  mmcblk0: p1
[    2.935978] wireguard: Copyright (C) 2015-2018 Jason A. Donenfeld . All Rights Reserved.
[    2.946480] NET: Registered protocol family 10
[    2.956895] Segment Routing with IPv6
[    2.960786] mip6: Mobile IPv6
[    2.963836] NET: Registered protocol family 17
[    2.968343] can: controller area network core (rev 20170425 abi 9)
[    2.974669] NET: Registered protocol family 29
[    2.979304] Key type dns_resolver registered
[    2.983629] mpls_gso: MPLS GSO support
[    2.987683] omap_voltage_late_init: Voltage driver support not added
[    2.994475] ThumbEE CPU extension supported.
[    2.998846] Registering SWP/SWPB emulation handler
[    3.004645] registered taskstats version 1
[    3.009068] zswap: loaded using pool lzo/zbud
[    3.015875] Btrfs loaded, crc32c=crc32c-generic
[    3.020610] ima: No TPM chip found, activating TPM-bypass! (rc=-19)
[    3.027041] ima: Allocated hash algorithm: sha256
[    3.079786] input: tps65217_pwr_but as /devices/platform/ocp/44e0b000.i2c/i2c-0/0-0024/tps65217-pwrbutton/input/input0
[    3.091228] tps65217 0-0024: TPS65217 ID 0xe version 1.2
[    3.097105] at24 0-0050: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[    3.104188] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
[    3.111475] remoteproc remoteproc0: powering up wkup_m3
[    3.121042] remoteproc remoteproc0: Booting fw image am335x-pm-firmware.elf, size 217168
[    3.132028] omap_rtc 44e3e000.rtc: setting system clock to 2018-10-17 18:12:45 UTC (1539799965)
[    3.141173] remoteproc remoteproc0: remote processor wkup_m3 is now up
[    3.141193] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x193
[    3.155066] of_cfs_init
[    3.157851] of_cfs_init: OK
[    3.162205] ALSA device list:
[    3.165208]   No soundcards found.
[    3.173338] Freeing unused kernel memory: 1024K
Loading, please wait...
[    3.309819] musb-hdrc musb-hdrc.1: VBUS_ERROR in a_wait_vrise (80, <SessEnd), retry #3, port1 0008010c
starting version 232
[    3.645512] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[    3.662845] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[    3.672040] random: udevadm: uninitialized urandom read (16 bytes read)
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... Scanning for Btrfs filesystems
done.
Begin: Will now check root file system ... fsck from util-linux 2.29.2
[/sbin/fsck.ext4 (1) -- /dev/mmcblk0p1] fsck.ext4 -a -C0 /dev/mmcblk0p1
rootfs: clean, 87219/217728 files, 551455/869376 blocks
done.
[   30.741944] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: (null)
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
[   31.449407] ip_tables: (C) 2000-2006 Netfilter Core Team
[   31.500885] systemd[1]: systemd 232 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN)
[   31.519908] systemd[1]: Detected architecture arm.

Welcome to Debian GNU/Linux 9 (stretch)!

[   31.548152] systemd[1]: Set hostname to <beaglebone>.
[   32.218957] systemd[1]: Reached target Swap.
[  OK  ] Reached target Swap.
[   32.234473] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[  OK  ] Started Dispatch Password Requests to Console Directory Watch.
[   32.258627] systemd[1]: Listening on Journal Audit Socket.
[  OK  ] Listening on Journal Audit Socket.
[   32.275434] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[  OK  ] Set up automount Arbitrary Executab…rmats File System Automount Point.
[   32.302388] systemd[1]: Listening on udev Control Socket.
[  OK  ] Listening on udev Control Socket.
[   32.318252] systemd[1]: Listening on Syslog Socket.
[  OK  ] Listening on Syslog Socket.
[   32.335226] systemd[1]: Created slice User and Session Slice.
[  OK  ] Created slice User and Session Slice.
[  OK  ] Created slice System Slice.
         Mounting POSIX Message Queue File System...
[  OK  ] Created slice system-getty.slice.
[  OK  ] Listening on Journal Socket.
         Starting Load Kernel Modules...
         Starting Set the console keyboard layout...
[  OK  ] Listening on udev Kernel Socket.
[  OK  ] Reached target Remote File Systems.
[  OK  ] Started Forward Password Requests to Wall Directory Watch.
[  OK  ] Reached target Paths.
[  OK  ] Listening on Journal Socket (/dev/log).
         Starting Journal Service...
         Starting Create list of required st…ce nodes for the current kernel...
[  OK  ] Created slice system-serial\x2dgetty.slice.
[  OK  ] Listening on fsck to fsckd communication Socket.
         Starting Remount Root and Kernel File Systems...
[  OK  ] Reached target Slices.
         Mounting /sys/kernel/debug...
[  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
[  OK  ] Reached target Encrypted Volumes.
[   32.897413] EXT4-fs (mmcblk0p1): re-mounted. Opts: errors=remount-ro
[  OK  ] Mounted POSIX Message Queue File System.
[  OK  ] Mounted /sys/kernel/debug.
[  OK  ] Started Load Kernel Modules.
[  OK  ] Started Create list of required sta…vice nodes for the current kernel.
[  OK  ] Started Remount Root and Kernel File Systems.
         Starting Load/Save Random Seed...
         Starting udev Coldplug all Devices...
         Starting Create Static Device Nodes in /dev...
         Mounting Configuration File System...
         Mounting FUSE Control File System...
         Starting Apply Kernel Variables...
[  OK  ] Mounted FUSE Control File System.
[  OK  ] Mounted Configuration File System.
[  OK  ] Started Load/Save Random Seed.
[  OK  ] Started Create Static Device Nodes in /dev.
[  OK  ] Started Apply Kernel Variables.
         Starting udev Kernel Device Manager...
[  OK  ] Started Journal Service.
         Starting Flush Journal to Persistent Storage...
[   34.067380] systemd-journald[869]: Received request to flush runtime journal from PID 1
[  OK  ] Started Flush Journal to Persistent Storage.
[  OK  ] Started udev Kernel Device Manager.
[  OK  ] Started Set the console keyboard layout.
[  OK  ] Reached target Local File Systems (Pre).
[  OK  ] Reached target Local File Systems.
         Starting Raise network interfaces...
         Starting Set console font and keymap...
         Starting Create Volatile Files and Directories...
[  OK  ] Started Set console font and keymap.
[  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 udev Coldplug all Devices.
[  OK  ] Reached target System Initialization.
[  OK  ] Listening on bonescript.socket.
[  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
[  OK  ] Started Daily apt download activities.
[   36.776900] random: crng init done
[   36.780348] random: 7 urandom warning(s) missed due to ratelimiting
[  OK  ] Started Daily apt upgrade and clean activities.
[  OK  ] Listening on node-red.socket.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Listening on cloud9.socket.
[  OK  ] Reached target Sockets.
[  OK  ] Reached target Basic System.
         Starting LSB: Start busybox udhcpd at boot time...
[  OK  ] Started Bonescript autorun.
         Starting rc_battery_monitor...
         Starting LSB: Start daemon at boot time...
         Starting Restore /etc/resolv.conf i…fore the ppp link was shut down...
         Starting Login Service...
         Starting LSB: Load kernel modules needed to enable cpufreq scaling...
[  OK  ] Started Regular background program processing daemon.
         Starting System Logging Service...
[  OK  ] Started Deferred execution scheduler.
         Starting Generic Board Startup...
         Starting Avahi mDNS/DNS-SD Stack...
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Reached target Timers.
[  OK  ] Started D-Bus System Message Bus.
[  OK  ] Started Avahi mDNS/DNS-SD Stack.
         Starting Connection service...
         Starting BB WL18xx wlan0 Service...
         Starting robotcontrol...
[  OK  ] Started System Logging Service.
[  OK  ] Started Raise network interfaces.
[  OK  ] Started rc_battery_monitor.
[  OK  ] Started Restore /etc/resolv.conf if…before the ppp link was shut down.
[  OK  ] Started BB WL18xx wlan0 Service.
[  OK  ] Started robotcontrol.
[  OK  ] Started LSB: Start busybox udhcpd at boot time.
[  OK  ] Started LSB: Start daemon at boot time.
[   40.603336] nf_conntrack version 0.5.0 (8192 buckets, 32768 max)
[  OK  ] Started Connection service.
[  OK  ] Started Login Service.
[  OK  ] Reached target Network.
         Starting OpenBSD Secure Shell server...
         Starting Permit User Sessions...
[  OK  ] Reached target Network is Online.
         Starting LSB: Advanced IEEE 802.11 management daemon...
         Starting Daily apt download activities...
         Starting The Apache HTTP Server...
[  OK  ] Started Permit User Sessions.
[  OK  ] Started LSB: Advanced IEEE 802.11 management daemon.
[  OK  ] Started Getty on tty1.
[   42.158025] net eth0: initializing cpsw version 1.12 (0)
[   42.331089] SMSC LAN8710/LAN8720 4a101000.mdio:00: attached PHY driver [SMSC LAN8710/LAN8720] (mii_bus:phy_addr=4a101000.mdio:00, irq=POLL)
[   42.495874] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
         Starting Hostname Service...
         Starting WPA supplicant...
[   42.691646] using random self ethernet address
[   42.712707] using random host ethernet address
[  OK  ] Started LSB: Load kernel modules needed to enable cpufreq scaling.
         Starting LSB: set CPUFreq kernel parameters...
[  OK  ] Started OpenBSD Secure Shell server.
[   43.077878] using random self ethernet address
[   43.093777] using random host ethernet address
[  OK  ] Started WPA supplicant.
[  OK  ] Started Hostname Service.
[   43.702453] Mass Storage Function, version: 2009/09/11
[   43.726421] LUN: removable file: (no medium)
[  OK  ] Started LSB: set CPUFreq kernel parameters.
[   44.114386] usb0: HOST MAC 40:bd:32:ce:21:23
[   44.156314] usb0: MAC 40:bd:32:ce:21:24
[   44.194044] usb1: HOST MAC 40:bd:32:ce:21:26
[   44.236734] usb1: MAC 40:bd:32:ce:21:27
[   44.479033] cpsw 4a100000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
[   44.522465] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[  OK  ] Started The Apache HTTP Server.
[   44.887686] 8021q: 802.1Q VLAN Support v1.8
[   44.925959] 8021q: adding VLAN 0 to HW filter on device eth0
[   45.277964] IPv6: ADDRCONF(NETDEV_UP): usb0: link is not ready
[   45.551165] IPv6: ADDRCONF(NETDEV_UP): usb1: link is not ready
         Stopping LSB: Start busybox udhcpd at boot time...
[  OK  ] Stopped LSB: Start busybox udhcpd at boot time.
         Starting dnsmasq - A lightweight DHCP and caching DNS server...
[  OK  ] Found device /dev/ttyS0.
[  OK  ] Started Serial Getty on ttyS0.

Debian GNU/Linux 9 beaglebone ttyS0

/BeagleBoard.org Debian Image 2018-08-30

Support/FAQ: 

default username:password is [debian:temppwd]

beaglebone login: debian
Password:
Last login: Wed Oct 17 17:54:07 UTC 2018 on ttyS0

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
debian@beaglebone:~$

@AdamG, awesome it works now. Yes power issues can be fun to debug, our only good clue in u-boot

Reset Source: Power-on reset has occurred.

also happens if you hit the reset switch…

So in u-boot, we do setup the core in performance mode (1Ghz operation) and jump into the kernel, where “r73” had a very bad missed config: (AMX3_PM, and TI_EMIF_SRAM where both disabled…)

Here is the r74 defconfig change: https://github.com/RobertCNelson/ti-linux-kernel-dev/commit/3d7e520b06d9b03ad408c1658c5d2b2bd8a37d3d

So that bad power-supply, might actually work with ‘r74’…

BTW, which rev of the pcb did you clone? The very early BeagleBone Black (Ax models) had a split v3.3 rail, where newer versions had them tied together… In our kernel (and mainline) we assume the newer pcb’s… Here is the kernel device tree section with that issue:

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/arch/arm/boot/dts/am335x-bone-common.dtsi?h=v4.19-rc8#n305

and a nice write-up by Matthijs

https://elinux.org/BeagleBone_Power_Management

That also might explain your not fully power off…

Regards,