RE: [beagleboard] Configure CAN0 with buildroot

With the Cape plugged into the console version it gets to a certain point and then shuts off.

U-Boot SPL 2019.04-g10968f0 (Feb 19 2021 - 21:40:51 +0000)

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 2019.04-g10968f0 (Feb 19 2021 - 21:40:51 +0000)

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: found EEPROM at address: 0x54

BeagleBone Cape EEPROM: debug part_number field:[cape-CBB-Serial]

BeagleBone Cape EEPROM: debug part_number field HEX:[636170652d4342422d53657269616c]

BeagleBone Cape EEPROM: debug version field HEX:[7230310]

BeagleBone Cape EEPROM: 0x54: cape-CBB-Serial-r01.dtbo [0x296d72f]

BeagleBone Cape EEPROM: no EEPROM at address: 0x55

BeagleBone Cape EEPROM: no EEPROM at address: 0x56

BeagleBone Cape EEPROM: no EEPROM at address: 0x57

Net: eth0: MII MODE

cpsw, usb_ether

Press SPACE to abort autoboot in 0 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

2062 bytes read in 47 ms (42 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.19.94-ti-r42 …

10095592 bytes read in 674 ms (14.3 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.19.94-ti-r42/am335x-boneblack-uboot-univ.dtb …

162266 bytes read in 152 ms (1 MiB/s)

uboot_overlays: [fdt_buffer=0x60000] …

uboot_overlays: loading /lib/firmware/BB-ADC-00A0.dtbo …

867 bytes read in 44 ms (18.6 KiB/s)

uboot_overlays: loading /lib/firmware/cape-CBB-Serial-r01.dtbo …

2245 bytes read in 88 ms (24.4 KiB/s)

uboot_overlays: loading /lib/firmware/BB-BONE-eMMC1-01-00A0.dtbo …

1584 bytes read in 315 ms (4.9 KiB/s)

uboot_overlays: loading /lib/firmware/BB-HDMI-TDA998x-00A0.dtbo …

4915 bytes read in 338 ms (13.7 KiB/s)

uboot_overlays: loading /lib/firmware/AM335X-PRU-RPROC-4-19-TI-00A0.dtbo …

3801 bytes read in 278 ms (12.7 KiB/s)

uboot_overlays: [uboot_detected_capes=cape-CBB-Serial,] …

loading /boot/initrd.img-4.19.94-ti-r42 …

6585227 bytes read in 460 ms (13.7 MiB/s)

debug: [console=ttyO0,115200n8 bone_capemgr.uboot_capemgr_enabled=1 root=/dev/mmcblk0p1 ro rootfstype=ext4 rootwait uboot_detected_capes=cape-CBB-Serial, coherent_pool=1M net.ifnames=0 lpj=1990656 rng_core.default_quality=100 quiet] …

debug: [bootz 0x82000000 0x88080000:647b8b 88000000] …

Flattened Device Tree blob at 88000000

Booting using the fdt blob at 0x88000000

Loading Ramdisk to 8f9b8000, end 8ffffb8b … OK

Loading Device Tree to 8f92c000, end 8f9b7fff … OK

Starting kernel …

[ 0.002172] timer_probe: no matching timers found

[ 0.196489] l4_wkup_cm:clk:0010:0: failed to disable