dtb_overlay=/lib/firmware/BB-SPIDEV0-00A0.dtbo *Seems* to work fine as well. I've no reason to think it doesn't work, but I have not tested the SPI transmission with spidev_test, or a logic analyzer *YET*. The overlay does seem to load the drivers fine
loading /boot/dtbs/4.4.12-ti-r31/am335x-boneblack-emmc-overlay.dtb ... 60139 bytes read in 40 ms (1.4 MiB/s) debug: [dtb_overlay=/lib/firmware/BB-SPIDEV0-00A0.dtbo] ... loading /lib/firmware/BB-SPIDEV0-00A0.dtbo ... 1235 bytes read in 60 ms (19.5 KiB/s) loading /boot/initrd.img-4.4.12-ti-r31 ... And the interfaces show up in /dev/ debian@beaglebone:~$ ls /dev |grep spidev spidev1.0 spidev1.1 On Fri, Dec 30, 2016 at 5:25 PM, William Hermans <[email protected]> wrote: > So I thought about it for a few minutes when not otherwise busy, and > figured it out on my own. > > > $ cd /opt/scripts/tools/developers/ > $ git pull > $ sudo ./update_bootloader.sh > $ sudo reboot > > serial debug: > ... > [84389.038894] reboot: Restarting system > > U-Boot SPL 2017.01-rc2-00003-ga4c7d45040 (Dec 30 2016 - 11:30:57) > Trying to boot from MMC2 > > *U-Boot 2017.01-rc2-00003-ga4c7d45040 (Dec 30 2016 - 11:30:57 -0600), > Build: jenkins-github_Bootloader-Builder-497* > ... > > > *But I forgot to change /boot/uEnv.txt to allow uboot cape manager . . .* > $ sudo nano /boot/uEnv.txt > . . . > ##BeagleBone Black: HDMI (Audio/Video) disabled: > *enable_uboot_overlays=1* > dtb=am335x-boneblack-emmc-overlay.dtb > dtb_overlay=/lib/firmware/BB-W1-P8.26-00A0.dtbo > > . . . > > Serial debug now: > loading /boot/vmlinuz-4.4.12-ti-r31 ... > 7777640 bytes read in 514 ms (14.4 MiB/s) > loading /boot/dtbs/4.4.12-ti-r31/am335x-boneblack-emmc-overlay.dtb ... > 60139 bytes read in 39 ms (1.5 MiB/s) > > > *debug: [dtb_overlay=/lib/firmware/BB-W1-P8.26-00A0.dtbo] ...loading > /lib/firmware/BB-W1-P8.26-00A0.dtbo ...974 bytes read in 72 ms (12.7 KiB/s)* > > Testing 1-wire temp sensor: > debian@beaglebone:~$ cat /sys/bus/w1/devices/28-00000647ddf6/w1_slave > 1c 01 4b 46 7f ff 04 10 e8 : crc=e8 YES > 1c 01 4b 46 7f ff 04 10 e8 t=17750 > > Everything working fine. > > On Fri, Dec 30, 2016 at 2:07 PM, William Hermans <[email protected]> > wrote: > >> On Fri, Dec 30, 2016 at 11:03 AM, Robert Nelson <[email protected]> >> wrote: >> >>> Okay, time to push it out as default... >>> >>> First stable build is: >>> >>> U-Boot SPL 2017.01-rc2-00003-ga4c7d45040 (Dec 30 2016 - 11:30:57) >>> Trying to boot from MMC1 >>> >>> U-Boot 2017.01-rc2-00003-ga4c7d45040 (Dec 30 2016 - 11:30:57 -0600), >>> Build: jenkins-github_Bootloader-Builder-497 >>> >>> This includes a U-Boot overlays disabled by default, end user has to >>> enable in /boot/uEnv.txt overide.. >>> >>> Doc's: >>> >>> to enable this new feature, set enable_boot_overlays in /boot/uEnv.txt >>> >>> enable_uboot_overlays=1 >>> >>> First 4 slots are then auto-loaded >>> 5th slot, can be set by user >>> >>> dtb_overlay=/lib/firmware/*.dtbo >>> >>> Works best with a r78 based v4.4.x kernel.. >>> >> >> Hey Robert, >> >> So, a question some of us who already have existing, and working images >> may have. Is how do we update our uboot ? When updating to a new kernel, I >> suspect this will happen automatically via dpkg. But what if "we" do not >> wish to update our kernel? Things may be working perfectly etc, and maybe >> we're a bit skittish about updating to a newer kernel. Or maybe we have >> kernel reliant software ( custom kernel modules, etc ). >> >> I just did a git pull update of the scripts repo's but the only two files >> updated seem like they're unrelated. Or maybe it just seems that way to me >> . . . >> > > -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/CALHSORqFzK8E-9goF24vPNLEkcLwam7kcPyOKv0252GGhqAbFA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
