Hi Robert,
Thank you for taking the time to respond and clarifying things
I’ve obtained serial boot logs via the J1 connector for both the cases where I am able to successfully boot with 3.14.77-ti-r90, as well as the case where I am unable to boot after installing the 3.8.13-bone84 kernel. Note that we have a custom cape, which I can see is spitting out some lines related to gpio’s in these logs. It was not connected when obtaining these boot logs; also both logs were obtained using a newer Beaglebone Black with the newer Kingston EMMC04G-M627 eMMC and were booted off a micro SD
3.14.77-ti-r90 boot log:
`
U-Boot SPL 2018.09-00002-g0b54a51eee (Sep 10 2018 - 19:41:39 -0500)
Trying to boot from MMC2
Loading Environment from EXT4… ** File not found /boot/uboot.env **
** Unable to read “/boot/uboot.env” from mmc0:1 **
U-Boot 2018.09-00002-g0b54a51eee (Sep 10 2018 - 19:41:39 -0500), Build: jenkins-github_Bootloader-Builder-65
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
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=[00C0] …
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
533 bytes read in 21 ms (24.4 KiB/s)
Loaded environment from /boot/uEnv.txt
debug: [dtb=am335x-boneblack-ttyO1.dtb] …
Using: dtb=am335x-boneblack-ttyO1.dtb …
Checking if uname_r is set in /boot/uEnv.txt…
gpio: pin 56 (gpio 56) value is 1
Running uname_boot …
loading /boot/vmlinuz-3.14.77-ti-r90 …
7283472 bytes read in 501 ms (13.9 MiB/s)
debug: [enable_uboot_overlays=] …
loading /boot/dtbs/3.14.77-ti-r90/am335x-boneblack-ttyO1.dtb …
87061 bytes read in 78 ms (1.1 MiB/s)
uboot_overlays: add [enable_uboot_overlays=1] to /boot/uEnv.txt to enable…
loading /boot/initrd.img-3.14.77-ti-r90 …
3245971 bytes read in 265 ms (11.7 MiB/s)
debug: [console=ttyO0,115200n8 root=UUID=d75e0393-0c50-4660-9179-ad56095af7ec ro rootfstype=ext4 rootwait quiet init=/lib/systemd/systemd] …
debug: [bootz 0x82000000 0x88080000:318793 0x88000000] …
Flattened Device Tree blob at 88000000
Booting using the fdt blob at 0x88000000
Loading Ramdisk to 8fce7000, end 8ffff793 … OK
Loading Device Tree to 8fcce000, end 8fce6414 … OK
Starting kernel …
[ 0.000424] WARNING: Your ‘console=ttyO0’ has been replaced by ‘ttyS0’
[ 0.000432] This ensures that you still see kernel messages. Please
[ 0.000439] update your kernel commandline.
[ 2.776040] musb-hdrc musb-hdrc.0.auto: Failed to request rx1.
[ 2.782003] musb-hdrc musb-hdrc.0.auto: musb_init_controller failed with status -517
[ 2.855839] musb-hdrc musb-hdrc.1.auto: Failed to request rx1.
[ 2.861793] musb-hdrc musb-hdrc.1.auto: musb_init_controller failed with status -517
[ 2.990197] omap-sham 53100000.sham: initialization failed.
[ 3.020045] cpu cpu0: cpu0 clock notifier not ready, retry
[ 3.030058] Error: Driver ‘tfp410’ is already registered, aborting…
[ 3.037945] slave hdmi: could not get i2c
[ 3.042126] mmc1: unrecognised EXT_CSD revision 8
[ 3.048371] mmc1: error -22 whilst initialising MMC card
[ 3.383383] musb-hdrc musb-hdrc.1.auto: otg: usb_otg_kick_fsm: invalid host/gadget device
Loading, please wait…
[ 4.215341] usb 1-1.4: device vffff p5678 is not supported
[ 4.419728] usb 1-1.3.4: device v0461 p4e04 is not supported
[ 5.238724] sd 0:0:0:0: [sda] No Caching mode page found
[ 5.263419] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 5.277783] sd 0:0:0:0: [sda] No Caching mode page found
[ 5.291565] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 5.310942] sd 0:0:0:0: [sda] No Caching mode page found
[ 5.326574] sd 0:0:0:0: [sda] Assuming drive cache: write through
systemd-fsck[241]: BOOT: clean, 72281/117360 files, 450853/468736 blocks
[ 20.944418] libphy: PHY 4a101000.mdio:01 not found
[ 20.949245] net eth0: phy 4a101000.mdio:01 not found on slave 1
Debian GNU/Linux 7 SMARCO-0479B7D302B2 ttyS0
rcn-ee.net console Debian Image 2015-02-19
Support/FAQ: BeagleBoardDebian - eLinux.org
The IP Address for eth0 is: 192.168.94.127
The IP Address for usb0 is: 192.168.7.2
SMARCO-0479B7D302B2 login: [ 40.602190] musb-hdrc musb-hdrc.0.auto: otg: usb_otg_register_gadget: device not registered to otg core
`
3.8.13-bone84 log that “fails” to boot:
`
U-Boot SPL 2018.09-00002-g0b54a51eee (Sep 10 2018 - 19:41:39 -0500)
Trying to boot from MMC2
Loading Environment from EXT4… ** File not found /boot/uboot.env **
** Unable to read “/boot/uboot.env” from mmc0:1 **
U-Boot 2018.09-00002-g0b54a51eee (Sep 10 2018 - 19:41:39 -0500), Build: jenkins-github_Bootloader-Builder-65
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
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=[00C0] …
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
532 bytes read in 23 ms (22.5 KiB/s)
Loaded environment from /boot/uEnv.txt
debug: [dtb=am335x-boneblack-ttyO1.dtb] …
Using: dtb=am335x-boneblack-ttyO1.dtb …
Checking if uname_r is set in /boot/uEnv.txt…
gpio: pin 56 (gpio 56) value is 1
Running uname_boot …
loading /boot/vmlinuz-3.8.13-bone84 …
5231056 bytes read in 385 ms (13 MiB/s)
debug: [enable_uboot_overlays=] …
unable to find [dtb=am335x-boneblack-ttyO1.dtb] did you name it correctly? …
FAILSAFE: U-Boot UMS (USB Mass Storage) enabled, media now available over the usb slave port …
Unknown command ‘ums’ - try ‘help’
uboot_overlays: add [enable_uboot_overlays=1] to /boot/uEnv.txt to enable…
loading /boot/initrd.img-3.8.13-bone84 …
2617501 bytes read in 223 ms (11.2 MiB/s)
debug: [console=ttyO0,115200n8 root=UUID=d75e0393-0c50-4660-9179-ad56095af7ec ro rootfstype=ext4 rootwait quiet init=/lib/systemd/systemd] …
debug: [bootz 0x82000000 0x88080000:27f09d 0x88000000] …
ERROR: Did not find a cmdline Flattened Device Tree
Could not find a valid device tree
debug: [console=ttyO0,115200n8 root=/dev/mmcblk0p1 ro rootfstype=ext4 rootwait quiet init=/lib/systemd/systemd] …
debug: [bootz 0x82000000 0x88080000:27f09d 0x88000000] …
ERROR: Did not find a cmdline Flattened Device Tree
Could not find a valid device tree
** Invalid partition 2 **
** Invalid partition 3 **
** Invalid partition 4 **
** Invalid partition 5 **
** Invalid partition 6 **
** Invalid partition 7 **
switch to partitions #0, OK
mmc1(part 0) is current device
Scanning mmc 1:1…
gpio: pin 56 (gpio 56) value is 0
gpio: pin 55 (gpio 55) value is 0
gpio: pin 54 (gpio 54) value is 0
gpio: pin 53 (gpio 53) value is 1
switch to partitions #0, OK
mmc1(part 0) is current device
gpio: pin 54 (gpio 54) value is 1
Checking for: /uEnv.txt …
Checking for: /boot.scr …
Checking for: /boot/boot.scr …
Checking for: /boot/uEnv.txt …
gpio: pin 55 (gpio 55) value is 1
2041 bytes read in 7 ms (284.2 KiB/s)
Loaded environment from /boot/uEnv.txt
debug: [dtb=am335x-boneblack-ttyO1.dtb] …
Using: dtb=am335x-boneblack-ttyO1.dtb …
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.71-ti-r80 …
10416640 bytes read in 664 ms (15 MiB/s)
debug: [enable_uboot_overlays=1] …
uboot_overlays: dtb=am335x-boneblack-ttyO1.dtb is set in /boot/uEnv.txt, unable to use [am335x-boneblack-uboot-univ.dtb or am335x-boneblack-uboot.dtb] …
uboot_overlays: disabling [enable_uboot_overlays=1] as dtb=am335x-boneblack-ttyO1.dtb is set in /boot/uEnv.txt …
unable to find [dtb=am335x-boneblack-ttyO1.dtb] did you name it correctly? …
FAILSAFE: U-Boot UMS (USB Mass Storage) enabled, media now available over the usb slave port …
Unknown command ‘ums’ - try ‘help’
uboot_overlays: add [enable_uboot_overlays=1] to /boot/uEnv.txt to enable…
loading /boot/initrd.img-4.14.71-ti-r80 …
4530240 bytes read in 293 ms (14.7 MiB/s)
debug: [console=ttyO0,115200n8 root=UUID=d75e0393-0c50-4660-9179-ad56095af7ec ro rootfstype=ext4 rootwait init=/opt/scripts/tools/eMMC/init-eMMC-flasher-v3.sh] …
debug: [bootz 0x82000000 0x88080000:452040 0x88000000] …
ERROR: Did not find a cmdline Flattened Device Tree
Could not find a valid device tree
debug: [console=ttyO0,115200n8 root=/dev/mmcblk1p1 ro rootfstype=ext4 rootwait init=/opt/scripts/tools/eMMC/init-eMMC-flasher-v3.sh] …
debug: [bootz 0x82000000 0x88080000:452040 0x88000000] …
ERROR: Did not find a cmdline Flattened Device Tree
Could not find a valid device tree
** Invalid partition 2 **
** Invalid partition 3 **
** Invalid partition 4 **
** Invalid partition 5 **
** Invalid partition 6 **
** Invalid partition 7 **
starting USB…
USB0: scanning bus 0 for devices… 3 USB Device(s) found
scanning usb for storage devices… 0 Storage Device(s) found
cpsw Waiting for PHY auto negotiation to complete… TIMEOUT !
using musb-hdrc, OUT ep1out IN ep1in STATUS ep2in
MAC 04:79:b7:d3:02:b2
HOST MAC de:ad:be:af:00:00
RNDIS ready
The remote end did not respond in time.missing environment variable: pxeuuid
Retrieving file: pxelinux.cfg/01-04-79-b7-d3-02-b2
cpsw Waiting for PHY auto negotiation to complete… TIMEOUT !
using musb-hdrc, OUT ep1out IN ep1in STATUS ep2in
MAC 04:79:b7:d3:02:b2
HOST MAC de:ad:be:af:00:00
RNDIS ready
The remote end did not respond in time.Retrieving file: pxelinux.cfg/C0A80102
cpsw Waiting for PHY auto negotiation to complete… TIMEOUT !
using musb-hdrc, OUT ep1out IN ep1in STATUS ep2in
MAC 04:79:b7:d3:02:b2
HOST MAC de:ad:be:af:00:00
RNDIS ready
The remote end did not respond in time.Retrieving file: pxelinux.cfg/C0A8010
cpsw Waiting for PHY auto negotiation to complete… TIMEOUT !
using musb-hdrc, OUT ep1out IN ep1in STATUS ep2in
MAC 04:79:b7:d3:02:b2
HOST MAC de:ad:be:af:00:00
RNDIS ready
`
If you guys are stuck on v3.14.x, do you need me to write up a
procedure similar to what i did for 3.8.x users stuck on ancient
kernels too:
If you able to do a write up on the correct procedure to follow, that would be much appreciated!
Let me know if theres anything else you need from me