Cape Manager for U-Boot

Correct by default it was only 4k, defaulted to 0x60000

seems to have fixed the big overlays...

https://github.com/RobertCNelson/Bootloader-Builder/commit/6f3929a577056d10a7994252aa521835bf3f3984

Regards,

The error I noticed on my end was: libfdt fdt_check_header(): FDT_ERR_BADMAGIC Which did not really make sense to me as the overlays seems to work just fine. I did not check everythign with my overlays, but I did check gpio45, and according to the direciton, and value files it’s configured correctly. But I was getting some odd boot log error message about the capemgr back peddling a non existent pin conflict. From where it came, I have no idea.

beaglebone login: [ 19.548440] omap-sham 53100000.sham: initialization failed.
[ 19.880445] pinctrl-single 44e10800.pinmux: pin 44e10834.0 already requested by ocp:P8_11_pinmux; cannot claim for onewire
[ 19.921657] pinctrl-single 44e10800.pinmux: pin-13 (onewire) status -22
[ 20.000724] pinctrl-single 44e10800.pinmux: could not request pin 13 (44e10834.0) from group pinmux_P8_11_default_pin on device pinctrl-single
[ 20.093995] w1-gpio onewire: Error applying setting, reverse things back

That’s another error message I’ve been noticing lately. omap_sham initialization failing. But when I take a look at the output of lsmod . . .
root@beaglebone:~# lsmod |grep omap
omap_aes 13637 0
omap_rng 4572 0
omap_sham 21458 0
rng_core 7390 1 omap_rng

It seems to have loaded fine ? So I’m guessing omap_sham is related to SHA somehow, and thus probably important. Not sure why this error message though :confused:

I’m also assuming it’s fine since it’s already loaded, but . . .I’m not 100% positive.

Just for informational purposes here is that one pin in my custom overlay:

. . .
exclusive-use =
/* the pin header uses /
“P8.11”,
. . .
/
P8_11 (ZCZ ball R12) /
P8_11_default_pin: pinmux_P8_11_default_pin {
pinctrl-single,pins = <0x034 0x27>; }; /
Mode 7, Pull-Down, RxActive */
. . .
fragment@1 {
target = <&ocp>;
overlay {

P8_11_pinmux {
compatible = “bone-pinmux-helper”;
status = “okay”;
pinctrl-names = “default”;
pinctrl-0 = <&P8_11_default_pin>;
};
. . .

P8_11 {
gpio-name = “P8_11”;
gpio = <&gpio1 13 0>;
input;
dir-changeable;
};
. . .

Then the P8.26 1-wire overlay is exactly the same as the one example 1-wire overlay included with the stock image. But I changed the pin configuration to match P8.26 instead of what was it ? P9.12 was it ? No idea why I’m getting that boot message, and this is the first time I’ve ever seen it.

Yet more information I noticed, sorry for the multiple posts . . . But notice how the custom cape is attempted to load first, but the actual overlay id is dead last. It’s almost as though capemgr is trying to load them simultaneously but the ADC overlay being smaller in size won out ?

root@beaglebone:~# dmesg |grep bone_capemgr
[ 0.000000] Kernel command line: console=ttyO0,115200n8 bone_capemgr.enable_partno=controller,BB-ADC,BB-W1-P8.26 root=UUID=826386f9-a359-428a-a111-486cd84f92b5 ro rootfstype=ext4 rootwait coherent_pool=1M quiet ipv6.disable=1
[ 4.252789] bone_capemgr bone_capemgr: Baseboard: ‘A335BNLT,00C0,3214BBBK0403’
[ 4.252815] bone_capemgr bone_capemgr: compatible-baseboard=ti,beaglebone-black - #slots=4
[ 4.305592] bone_capemgr bone_capemgr: slot #0: No cape found
[ 4.365587] bone_capemgr bone_capemgr: slot #1: No cape found
[ 4.425586] bone_capemgr bone_capemgr: slot #2: No cape found
[ 4.485586] bone_capemgr bone_capemgr: slot #3: No cape found
[ 4.491376] bone_capemgr bone_capemgr: enabled_partno PARTNO ‘controller’ VER ‘N/A’ PR ‘0’
[ 4.491388] bone_capemgr bone_capemgr: slot #4: override
[ 4.491401] bone_capemgr bone_capemgr: Using override eeprom data at slot 4
[ 4.491415] bone_capemgr bone_capemgr: slot #4: ‘Override Board Name,00A0,Override Manuf,controller’
[ 4.491498] bone_capemgr bone_capemgr: enabled_partno PARTNO ‘BB-ADC’ VER ‘N/A’ PR ‘0’
[ 4.491509] bone_capemgr bone_capemgr: slot #5: override
[ 4.491520] bone_capemgr bone_capemgr: Using override eeprom data at slot 5
[ 4.491533] bone_capemgr bone_capemgr: slot #5: ‘Override Board Name,00A0,Override Manuf,BB-ADC’
[ 4.491602] bone_capemgr bone_capemgr: enabled_partno PARTNO ‘BB-W1-P8.26’ VER ‘N/A’ PR ‘0’
[ 4.491613] bone_capemgr bone_capemgr: slot #6: override
[ 4.491624] bone_capemgr bone_capemgr: Using override eeprom data at slot 6
[ 4.491637] bone_capemgr bone_capemgr: slot #6: ‘Override Board Name,00A0,Override Manuf,BB-W1-P8.26’
[ 4.492070] bone_capemgr bone_capemgr: initialized OK.
[ 4.503689] bone_capemgr bone_capemgr: slot #5: dtbo ‘BB-ADC-00A0.dtbo’ loaded; overlay id #0
[ 4.505152] bone_capemgr bone_capemgr: slot #6: dtbo ‘BB-W1-P8.26-00A0.dtbo’ loaded; overlay id #1
[ 4.540874] bone_capemgr bone_capemgr: slot #4: dtbo ‘controller-00A0.dtbo’ loaded; overlay id #2

So I stopped what I was doing and did some testing. It seems as though the current iteration of capemgr has a problem loading more than two overlays at boot, through the cmdline parameter. Both of the “custom” overlays have been injected into the initramfs via the script update_initrd.sh.

Worklog and testing output:
http://pastebin.com/YkHnZ4f2

Did this ever get sorted out? I’m working on a BBB project and trying to load 4 dtbo files in slots 4–7, and they are not affecting the hw setup as expected. I’m running:

debian:

[root@beaglebone]> uname -a
Linux beaglebone 4.4.91-ti-r133 #1 SMP Tue Oct 10 05:18:08 UTC 2017 armv7l GNU/Linux

u-boot:

[root@beaglebone]> grep -a --null-data U-Boot /dev/mmcblk0

U-Boot SPL 2018.01-00002-g9aa111a004 (Jan 20 2018 - 12:45:29)

Here’s my uEnv.txt file:

#Docs: Beagleboard:U-boot partitioning layout 2.0 - eLinux.org

uname_r=4.4.91-ti-r133
#uuid=
dtb=
dtb=am335x-boneblack-overlay.dtb

###U-Boot Overlays###
###Documentation: Beagleboard:BeagleBoneBlack Debian - eLinux.org
###Master Enable
enable_uboot_overlays=1

Did this ever get sorted out? I'm working on a BBB project and trying to
load 4 dtbo files in slots 4--7, and they are not affecting the hw setup as
expected. I'm running:

debian:
[root@beaglebone]> uname -a
Linux beaglebone 4.4.91-ti-r133 #1 SMP Tue Oct 10 05:18:08 UTC 2017 armv7l
GNU/Linux

u-boot:
[root@beaglebone]> grep -a --null-data U-Boot /dev/mmcblk0

U-Boot SPL 2018.01-00002-g9aa111a004 (Jan 20 2018 - 12:45:29)

Please show:

sudo /opt/scripts/tools/version.sh

Here's my uEnv.txt file:

#Docs: Beagleboard:U-boot partitioning layout 2.0 - eLinux.org

uname_r=4.4.91-ti-r133
#uuid=
dtb=
dtb=am335x-boneblack-overlay.dtb

^ this isn't required with u-boot overlays..

###U-Boot Overlays###
###Documentation:
Beagleboard:BeagleBoneBlack Debian - eLinux.org
###Master Enable
enable_uboot_overlays=1
###
###Overide capes with eeprom
#uboot_overlay_addr0=/lib/firmware/bone_eqep2b-00A0.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/maps_bbb_pwm-00A0.dtbo
uboot_overlay_addr5=/lib/firmware/maps_bbb_eqep-00A0.dtbo
uboot_overlay_addr6=/lib/firmware/maps_bbb_i2c-00A0.dtbo
uboot_overlay_addr7=/lib/firmware/maps_bbb_gpio-00A0.dtbo

Regards,

Thanks for responding! Sorry for the delay in my reply, I did not have access to my BBB over the weekend.

One interesting note is that not only do our dts files work individually, but they also work when combined into one giant dts, so I don’t believe there is any issue with their formatting. It’s only when we try to load them as four separate files that we run into problems.

Here is the output of the version.sh script:

[root@beaglebone]> ./version.sh
git:/opt/scripts/:[d36fe9a7be9ebfc872b10a470e904ab4c61c4516]
eeprom:[A335BNLT00C00515BBBK0825]
dogtag:[BeagleBoard.org Debian Image 2017-10-10]
bootloader:[microSD-(push-button)]:[/dev/mmcblk0]:[U-Boot 2018.01-00002-g9aa111a004]
kernel:[4.4.91-ti-r133]
nodejs:[v6.11.4]
device-tree-override:[dtb=
dtb=am335x-boneblack-overlay.dtb]
uboot_overlay_options:[enable_uboot_overlays=1]
uboot_overlay_options:[uboot_overlay_addr4=/lib/firmware/maps_bbb_pwm-00A0.dtbo]
uboot_overlay_options:[uboot_overlay_addr5=/lib/firmware/maps_bbb_eqep-00A0.dtbo]
uboot_overlay_options:[uboot_overlay_addr6=/lib/firmware/maps_bbb_i2c-00A0.dtbo]
uboot_overlay_options:[uboot_overlay_addr7=/lib/firmware/maps_bbb_gpio-00A0.dtbo]
uboot_overlay_options:[disable_uboot_overlay_emmc=1]
uboot_overlay_options:[disable_uboot_overlay_video=1]
uboot_overlay_options:[disable_uboot_overlay_audio=1]
uboot_overlay_options:[disable_uboot_overlay_wireless=1]
uboot_overlay_options:[disable_uboot_overlay_adc=1]
pkg:[bb-cape-overlays]:[4.4.20171009.0-0rcnee1~stretch+20171009]
pkg:[bb-wl18xx-firmware]:[1.20170829-0rcnee1~stretch+20170829]
pkg:[firmware-ti-connectivity]:[20170823-1rcnee0~stretch+20170830]

Any ideas? Help is very much appreciated. We’d like to keep our dtbo info in four files rather than one giant one…

Any ideas? Help is very much appreciated. We'd like to keep our dtbo info
in four files rather than one giant one...

Thanks for responding! Sorry for the delay in my reply, I did not have
access to my BBB over the weekend.

One interesting note is that not only do our dts files work individually,
but they also work when combined into one giant dts, so I don't believe
there is any issue with their formatting. It's only when we try to load
them as four separate files that we run into problems.

Here is the output of the version.sh script:

[root@beaglebone]> ./version.sh
git:/opt/scripts/:[d36fe9a7be9ebfc872b10a470e904ab4c61c4516]
eeprom:[A335BNLT00C00515BBBK0825]
dogtag:[BeagleBoard.org Debian Image 2017-10-10]
bootloader:[microSD-(push-button)]:[/dev/mmcblk0]:[U-Boot
2018.01-00002-g9aa111a004]
kernel:[4.4.91-ti-r133]
nodejs:[v6.11.4]
device-tree-override:[dtb=
dtb=am335x-boneblack-overlay.dtb]

This might have broke something..

uboot_overlay_options:[enable_uboot_overlays=1]

uboot_overlay_options:[uboot_overlay_addr4=/lib/firmware/maps_bbb_pwm-00A0.dtbo]
uboot_overlay_options:[uboot_overlay_addr5=/lib/firmware/maps_bbb_eqep-00A0.dtbo]
uboot_overlay_options:[uboot_overlay_addr6=/lib/firmware/maps_bbb_i2c-00A0.dtbo]
uboot_overlay_options:[uboot_overlay_addr7=/lib/firmware/maps_bbb_gpio-00A0.dtbo]

any chance do you have a usb serial adapter you can plug into j1, so
we can what u-boot tires to do with these 4 overlay?

Regards,

“this might have broke something” → do you mean the >> dtb=am335x-boneblack-overlay.dtb] line?

We have ordered a serial cable, I’ll get you the boot output as soon as it arrives. Thanks so much for your help and insight on this…

Here is the output from uBoot on boot:

U-Boot SPL 2017.09-00002-g0f3f1c7907 (Oct 09 2017 - 15:30:22)
Trying to boot from MMC2

U-Boot 2017.09-00002-g0f3f1c7907 (Oct 09 2017 - 15:30:22 -0500), Build: jenkins-github_Bootloader-Builder-607

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 external warm reset has occurred.
Reset Source: Global warm SW reset has occurred.
Reset Source: Power-on reset has occurred.
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
Using default environment

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
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
** Bad device 0:2 0x82000000 **
** Bad device 0:2 0x82000000 **
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1…
gpio: pin 56 (gpio 56) value is 0
gpio: pin 55 (gpio 55) value is 0
gpio: pin 54 (gpio 54) value is 0
gpio: pin 53 (gpio 53) value is 1
switch to partitions #0, OK
mmc0 is current device
gpio: pin 54 (gpio 54) value is 1
Checking for: /uEnv.txt …
2094 bytes read in 30 ms (67.4 KiB/s)
gpio: pin 55 (gpio 55) value is 1
Loaded environment from /uEnv.txt
Importing environment from mmc …
Checking if uenvcmd is set …
Checking if client_ip is set …
Checking for: /boot.scr …
Checking for: /boot/boot.scr …
Checking for: /boot/uEnv.txt …
gpio: pin 55 (gpio 55) value is 1
2249 bytes read in 26 ms (84 KiB/s)
Loaded environment from /boot/uEnv.txt
debug: [dtb=am335x-boneblack-overlay.dtb] …
Using: dtb=am335x-boneblack-overlay.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.4.91-ti-r133 …
8886912 bytes read in 579 ms (14.6 MiB/s)
uboot_overlays: dtb=am335x-boneblack-overlay.dtb in /boot/uEnv.txt, unable to use [uboot_base_dtb=am335x-boneblack-uboot.dtb] …
loading /boot/dtbs/4.4.91-ti-r133/am335x-boneblack-overlay.dtb …
54603 bytes read in 85 ms (627 KiB/s)
uboot_overlays: [fdt_buffer=0x60000] …
uboot_overlays: loading /lib/firmware/AM335X-20-00A0.dtbo …
378 bytes read in 202 ms (1000 Bytes/s)
uboot_overlays: loading /lib/firmware/maps_bbb-00A0.dtbo …
3180 bytes read in 399 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: uboot loading of [/lib/firmware/BB-ADC-00A0.dtbo] disabled by /boot/uEnv.txt [disable_uboot_overlay_adc=1]…
uboot_overlays: loading /lib/firmware/AM335X-PRU-RPROC-4-4-TI-00A0.dtbo …
2402 bytes read in 356 ms (5.9 KiB/s)
uboot_overlays: cape universal disabled, external cape enabled or detected…
loading /boot/initrd.img-4.4.91-ti-r133 …
5416133 bytes read in 361 ms (14.3 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 cape_universal=enable] …
debug: [bootz 0x82000000 0x88080000:52a4c5 88000000] …

Flattened Device Tree blob at 88000000

Booting using the fdt blob at 0x88000000
Loading Ramdisk to 8fad5000, end 8ffff4c5 … OK
reserving fdt memory region: addr=88000000 size=6e000
Loading Device Tree to 8fa64000, end 8fad4fff … OK

Starting kernel …

[ 0.000823] clocksource_probe: no matching clocksources found
[ 2.078244] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle
[ 2.250286] omap_voltage_late_init: Voltage driver support not added
[ 2.258432] PM: Cannot get wkup_m3_ipc handle
[ 2.329057] pinctrl-single 44e10800.pinmux: pin 44e10978.0 already requested by ocp:helper; cannot claim for 4819c000.i2c
[ 2.340162] pinctrl-single 44e10800.pinmux: pin-94 (4819c000.i2c) status -22
[ 2.347268] pinctrl-single 44e10800.pinmux: could not request pin 94 (44e10978.0) from group pinmux_i2c2_pins on device pinctrl-single
[ 2.359512] omap_i2c 4819c000.i2c: Error applying setting, reverse things back

Debian GNU/Linux 9 beaglebone ttyS0

BeagleBoard.org Debian Image 2017-10-10

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

Sorry, please disregard the uBoot output posted previously–that was with our workaround of loading one big dtbo file.

HERE IS THE OUTPUT FROM OUR MULTIPLE DTBOs…

U-Boot SPL 2018.01-00002-g9aa111a004 (Jan 20 2018 - 12:45:29)
Trying to boot from MMC1

U-Boot 2018.01-00002-g9aa111a004 (Jan 20 2018 - 12:45:29 -0600), Build: jenkins-github_Bootloader-Builder-32

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.
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
Using default environment

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
** Bad device 0:2 0x82000000 **
** Bad device 0:2 0x82000000 **
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1…
gpio: pin 56 (gpio 56) value is 0
gpio: pin 55 (gpio 55) value is 0
gpio: pin 54 (gpio 54) value is 0
gpio: pin 53 (gpio 53) value is 1
switch to partitions #0, OK
mmc0 is current device
gpio: pin 54 (gpio 54) value is 1
Checking for: /uEnv.txt …
2094 bytes read in 30 ms (67.4 KiB/s)
gpio: pin 55 (gpio 55) value is 1
Loaded environment from /uEnv.txt
Importing environment from mmc …
Checking if uenvcmd is set …
Checking if client_ip is set …
Checking for: /boot.scr …
Checking for: /boot/boot.scr …
Checking for: /boot/uEnv.txt …
gpio: pin 55 (gpio 55) value is 1
2246 bytes read in 28 ms (78.1 KiB/s)
Loaded environment from /boot/uEnv.txt
debug: [dtb=am335x-boneblack-overlay.dtb] …
Using: dtb=am335x-boneblack-overlay.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.4.91-ti-r133 …
8886912 bytes read in 579 ms (14.6 MiB/s)
uboot_overlays: dtb=am335x-boneblack-overlay.dtb in /boot/uEnv.txt, unable to use [uboot_base_dtb=am335x-boneblack-uboot.dtb] …
loading /boot/dtbs/4.4.91-ti-r133/am335x-boneblack-overlay.dtb …
54603 bytes read in 84 ms (634.8 KiB/s)
uboot_overlays: [fdt_buffer=0x60000] …
uboot_overlays: loading /lib/firmware/maps_bbb_gpio-00A0.dtbo …
1039 bytes read in 145 ms (6.8 KiB/s)
uboot_overlays: loading /lib/firmware/maps_bbb_pwm-00A0.dtbo …
1599 bytes read in 296 ms (4.9 KiB/s)
uboot_overlays: loading /lib/firmware/maps_bbb_i2c-00A0.dtbo …
1312 bytes read in 300 ms (3.9 KiB/s)
uboot_overlays: loading /lib/firmware/maps_bbb_eqep-00A0.dtbo …
2055 bytes read in 396 ms (4.9 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: uboot loading of [/lib/firmware/BB-ADC-00A0.dtbo] disabled by /boot/uEnv.txt [disable_uboot_overlay_adc=1]…
uboot_overlays: loading /lib/firmware/AM335X-PRU-RPROC-4-4-TI-00A0.dtbo …
2402 bytes read in 356 ms (5.9 KiB/s)
uboot_overlays: cape universal disabled, external cape enabled or detected…
loading /boot/initrd.img-4.4.91-ti-r133 …
5416133 bytes read in 361 ms (14.3 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 cape_universal=enable] …
debug: [bootz 0x82000000 0x88080000:52a4c5 88000000] …

Flattened Device Tree blob at 88000000

Booting using the fdt blob at 0x88000000
Loading Ramdisk to 8fad5000, end 8ffff4c5 … OK
reserving fdt memory region: addr=88000000 size=6e000
Loading Device Tree to 8fa64000, end 8fad4fff … OK

Starting kernel …

[ 0.000833] clocksource_probe: no matching clocksources found
[ 2.077791] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle
[ 2.249328] omap_voltage_late_init: Voltage driver support not added
[ 2.257414] PM: Cannot get wkup_m3_ipc handle

Debian GNU/Linux 9 beaglebone ttyS0

BeagleBoard.org Debian Image 2017-10-10

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

default username:password is [debian:temppwd]

beaglebone login: root
Password:
Last login: Mon Mar 26 15:39:43 PDT 2018 from 172.23.49.123 on pts/0
Linux beaglebone 4.4.91-ti-r133 #1 SMP Tue Oct 10 05:18:08 UTC 2017 armv7l

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.

Sorry, please disregard the uBoot output posted previously--that was with
our workaround of loading one big dtbo file.

HERE IS THE OUTPUT FROM OUR MULTIPLE DTBOs...

U-Boot SPL 2018.01-00002-g9aa111a004 (Jan 20 2018 - 12:45:29)
Trying to boot from MMC1

U-Boot 2018.01-00002-g9aa111a004 (Jan 20 2018 - 12:45:29 -0600), Build:
jenkins-github_Bootloader-Builder-32

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.
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
Using default environment

Board: BeagleBone Black
<ethaddr> not set. Validating first E-fuse MAC
BeagleBone Black:
BeagleBone: cape eeprom: i2c_probe: 0x54:
BeagleBone: cape eeprom: i2c_probe: 0x55:
BeagleBone: cape eeprom: i2c_probe: 0x56:
BeagleBone: cape eeprom: i2c_probe: 0x57:
Net: eth0: MII MODE
cpsw, usb_ether
Press SPACE to abort autoboot in 2 seconds
board_name=[A335BNLT] ...
board_rev=[00C0] ...
switch to partitions #0, OK
mmc0 is current device
SD/MMC found on device 0
** Bad device 0:2 0x82000000 **
** Bad device 0:2 0x82000000 **
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
gpio: pin 56 (gpio 56) value is 0
gpio: pin 55 (gpio 55) value is 0
gpio: pin 54 (gpio 54) value is 0
gpio: pin 53 (gpio 53) value is 1
switch to partitions #0, OK
mmc0 is current device
gpio: pin 54 (gpio 54) value is 1
Checking for: /uEnv.txt ...
2094 bytes read in 30 ms (67.4 KiB/s)
gpio: pin 55 (gpio 55) value is 1
Loaded environment from /uEnv.txt
Importing environment from mmc ...
Checking if uenvcmd is set ...
Checking if client_ip is set ...
Checking for: /boot.scr ...
Checking for: /boot/boot.scr ...
Checking for: /boot/uEnv.txt ...
gpio: pin 55 (gpio 55) value is 1
2246 bytes read in 28 ms (78.1 KiB/s)
Loaded environment from /boot/uEnv.txt
debug: [dtb=am335x-boneblack-overlay.dtb] ...
Using: dtb=am335x-boneblack-overlay.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.4.91-ti-r133 ...
8886912 bytes read in 579 ms (14.6 MiB/s)
uboot_overlays: dtb=am335x-boneblack-overlay.dtb in /boot/uEnv.txt, unable
to use [uboot_base_dtb=am335x-boneblack-uboot.dtb] ...
loading /boot/dtbs/4.4.91-ti-r133/am335x-boneblack-overlay.dtb ...
54603 bytes read in 84 ms (634.8 KiB/s)
uboot_overlays: [fdt_buffer=0x60000] ...
uboot_overlays: loading /lib/firmware/maps_bbb_gpio-00A0.dtbo ...
1039 bytes read in 145 ms (6.8 KiB/s)
uboot_overlays: loading /lib/firmware/maps_bbb_pwm-00A0.dtbo ...
1599 bytes read in 296 ms (4.9 KiB/s)
uboot_overlays: loading /lib/firmware/maps_bbb_i2c-00A0.dtbo ...
1312 bytes read in 300 ms (3.9 KiB/s)
uboot_overlays: loading /lib/firmware/maps_bbb_eqep-00A0.dtbo ...
2055 bytes read in 396 ms (4.9 KiB/s)

Okay these loaded fine..

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: uboot loading of [/lib/firmware/BB-ADC-00A0.dtbo] disabled
by /boot/uEnv.txt [disable_uboot_overlay_adc=1]...
uboot_overlays: loading /lib/firmware/AM335X-PRU-RPROC-4-4-TI-00A0.dtbo ...
2402 bytes read in 356 ms (5.9 KiB/s)
uboot_overlays: cape universal disabled, external cape enabled or
detected...
loading /boot/initrd.img-4.4.91-ti-r133 ...
5416133 bytes read in 361 ms (14.3 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 cape_universal=enable] ...
debug: [bootz 0x82000000 0x88080000:52a4c5 88000000] ...
## Flattened Device Tree blob at 88000000
   Booting using the fdt blob at 0x88000000
   Loading Ramdisk to 8fad5000, end 8ffff4c5 ... OK
   reserving fdt memory region: addr=88000000 size=6e000
   Loading Device Tree to 8fa64000, end 8fad4fff ... OK

Starting kernel ...

[ 0.000833] clocksource_probe: no matching clocksources found
[ 2.077791] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle
[ 2.249328] omap_voltage_late_init: Voltage driver support not added
[ 2.257414] PM: Cannot get wkup_m3_ipc handle

Debian GNU/Linux 9 beaglebone ttyS0

BeagleBoard.org Debian Image 2017-10-10

Support/FAQ: Beagleboard:BeagleBoneBlack Debian - eLinux.org

default username:password is [debian:temppwd]

beaglebone login: root
Password:
Last login: Mon Mar 26 15:39:43 PDT 2018 from 172.23.49.123 on pts/0
Linux beaglebone 4.4.91-ti-r133 #1 SMP Tue Oct 10 05:18:08 UTC 2017 armv7l

Everything looks good, if the nodes arn't showing up, can you share
the 4 overlays source?

Regards,

They are a bit large to post as source. I’ll try attaching them…

maps_bbb_eqep-00A0.dts (4.78 KB)

maps_bbb_gpio-00A0.dts (2.89 KB)

maps_bbb_i2c-00A0.dts (2.36 KB)

maps_bbb_pwm-00A0.dts (2.03 KB)

I’ve noticed that sometimes the order in which you load device files can play a factor on if they will load or not. May be worth checking out.

I attached the dts files to a reply, did you get a chance to look at them?

best,

Leo