Dear Forum,
I have been testing various overlays, some loads without problems, other won't load but can be manually loaded after boot. I can even rename an overlay that loads and it stops loading even if the content is identical.
I have tested the suggested solutions from:
http://elinux.org/BeagleBone_Black_Enable_SPIDEV
The .dtbo files does not load at boot, but can be loaded manually later.
The boot log gives no hints of the problem.
Please advice
Best regards
Terje Froysa
Boot log showing BB-SPI1-SWP-01 not loading:
root@beaglebone:/home/debian# dmesg |grep SPI
[ 0.000000] Kernel command line: console=tty0 console=ttyO0,115200n8 capemgr.disable_partno=BB-BONELT-HDMI,BB-BONELT-HDMIN capemgr.enable_partno=BB-SPI1-SWP-01,BB-I2C1 root=UUID=5a42a22f-1771-4c44-93ef-8879c38b63d9 ro rootfstype=ext4 rootwait fixrtc quiet init=/lib/systemd/systemd
[ 0.714604] bone-capemgr bone_capemgr.9: enabled_partno part_number 'BB-SPI1-SWP-01', version 'N/A', prio '0'
[ 0.714647] bone-capemgr bone_capemgr.9: slot #7: 'Override Board Name,00A0,Override Manuf,BB-SPI1-SWP-01'
[ 0.715220] bone-capemgr bone_capemgr.9: loader: before slot-7 BB-SPI1-SWP-01:00A0 (prio 0)
[ 0.715233] bone-capemgr bone_capemgr.9: loader: check slot-7 BB-SPI1-SWP-01:00A0 (prio 0)
[ 0.718433] bone-capemgr bone_capemgr.9: loader: after slot-7 BB-SPI1-SWP-01:00A0 (prio 0)
[ 0.718452] bone-capemgr bone_capemgr.9: slot #7: Requesting part number/version based 'BB-SPI1-SWP-01-00A0.dtbo
[ 0.718468] bone-capemgr bone_capemgr.9: slot #7: Requesting firmware 'BB-SPI1-SWP-01-00A0.dtbo' for board-name 'Override Board Name', version '00A0'
[ 1.089805] bone-capemgr bone_capemgr.9: failed to load firmware 'BB-SPI1-SWP-01-00A0.dtbo'
[ 1.098618] bone-capemgr bone_capemgr.9: loader: failed to load slot-7 BB-SPI1-SWP-01:00A0 (prio 0)
Verify overlay not loaded:
root@beaglebone:/home/debian# cat $SLOTS
0: 54:PF---
1: 55:PF---
2: 56:PF---
3: 57:PF---
4: ff:P-O-L Bone-LT-eMMC-2G,00A0,Texas Instrument,BB-BONE-EMMC-2G
5: ff:P-O-- Bone-Black-HDMI,00A0,Texas Instrument,BB-BONELT-HDMI
6: ff:P-O-- Bone-Black-HDMIN,00A0,Texas Instrument,BB-BONELT-HDMIN
8: ff:P-O-L Override Board Name,00A0,Override Manuf,BB-I2C1
Manually loading same overlay:
root@beaglebone:/home/debian# echo BB-SPI1-SWP-01 > $SLOTS
root@beaglebone:/home/debian# cat $SLOTS
0: 54:PF---
1: 55:PF---
2: 56:PF---
3: 57:PF---
4: ff:P-O-L Bone-LT-eMMC-2G,00A0,Texas Instrument,BB-BONE-EMMC-2G
5: ff:P-O-- Bone-Black-HDMI,00A0,Texas Instrument,BB-BONELT-HDMI
6: ff:P-O-- Bone-Black-HDMIN,00A0,Texas Instrument,BB-BONELT-HDMIN
8: ff:P-O-L Override Board Name,00A0,Override Manuf,BB-I2C1
9: ff:P-O-L Override Board Name,00A0,Override Manuf,BB-SPI1-SWP-01
root@beaglebone:/home/debian# ls /dev |grep spi
spidev1.0