I am having almost the identical issue with SPI as pbft, except that I am running BBB's with 4.4.19-bone-rt-r13 and 4.4.38-bone-rt-r14. I assume these can be fixed as per your suggestion, but it appears that the dtb-rebuilder is for the TI kernels only. Is this the case? If so, how should I proceed? Or is there some other problem entirely? Any guidance would be appreciated.
On Thursday, December 15, 2016 at 11:20:13 AM UTC-6, Phil wrote:
I have written a device tree overlay that incorporates SPI0, SPI1 and the PRUSS, and where SPI1 uses a GPIO for a 2nd chip select. Can I load this in the same manner via the kernel parameter in /boot/uEnv.txt? If this isn't the right way, then what is?
To update the initramfs You need to:
william@beaglebone:~$ cd /opt/scripts/
william@beaglebone:/opt/scripts$ git pull /* So you need to sudo apt-get install git - If not already installed */
william@beaglebone:/opt/scripts$ cd tools/developers/
william@beaglebone:/opt/scripts/tools/developers$ sudo ./update_initrd.sh
william@beaglebone:/opt/scripts/tools/developers$ sudo reboot
Then your custom overlay will be "injected" into the initramfs, and properly load at boot.
Thanks for the info. I am not so sure about the need to update initramfs though. Just for yuks, I specified my custom overlay in uEnv.txt, and it seems to have loaded properly, which I confirmed by inspecting the output of dmesg. I am still verifying that my SPI ports work as expected (phase and polarity, mostly), but it seems to be working.
--
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 beagleboard+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/cbf34cf0-aa12-471f-afc5-375008b3e5bc%40googlegroups.com.