So, if you think "ah this is confusing . . ." it does get worse. The new future way( I suspect) to load overlays at boot will likely be through uboot. Robert has recently added this functionality into uboot, I've tested it, and it does seem to work great. But I think this is for 4.1.x kernels and above only. However, this pretty much renders the need to inject your overlays into the initramfs moot. It may also be a little faster, but I can not see it being hugely faster. It has been said however it will make other issues with various devices at boot - Better.
You can read about it some here: https://groups.google.com/forum/#!searchin/beagleboard/HERE$20THERE$20BE%7Csort:relevance/beagleboard/W0QPDee5u2s/c1cbhzN4FAAJ On Sun, Jan 1, 2017 at 4:04 PM, William Hermans <[email protected]> wrote: > I meant to say I've not used SPI on any embedded Linux platform. I do have > plenty of experience with SPI on bare metal MCU's. > > On Sun, Jan 1, 2017 at 3:35 PM, Greg <[email protected]> wrote: > >> Nice! I will add this as a reference to my project documentation. >> >> Regarding the fact that you have to run config-pin after each boot, you >> can add a section that the config-pin commands can be added >> to whatever start-up configuration is most appropriate. >> >> The way I am doing this currently is to simply list the commands in a >> text file like: >> >> config-pin P8.30 pruout >> config-pin P9.31 pruout >> etc. >> >> Then add this to the .bashrc file in the home directory: >> >> source (path to the above file) >> >> Then the configuration is done automatically! >> Check this discussion for some other interesting info on Device Tree: >> >> https://groups.google.com/forum/#!category-topic/beagleboard/1iFM1ywGQX4 >> >> The impression I have gotten, and I could be wrong, is that adding or >> subtracting overlays at the command >> line is a not guaranteed to work operation. The overlays should be >> reliably controlled via uEnv.txt and the eeprom. >> >> On Sunday, January 1, 2017 at 4:49:57 PM UTC-5, Clayton Gulick wrote: >>> >>> Ok, here's the first draft: https://github.com/clay >>> tongulick/beagle_bone_black_spi/blob/master/README.md >>> >>> Corrections and additions are welcome! >>> >> -- >> 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/ms >> gid/beagleboard/daacf5b9-572f-4fcb-b609-0d598dd2f0e7%40googlegroups.com >> <https://groups.google.com/d/msgid/beagleboard/daacf5b9-572f-4fcb-b609-0d598dd2f0e7%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> >> For more options, visit https://groups.google.com/d/optout. >> > > -- 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/CALHSORq9rv0AXQYU2NctR02gQAK7ZF8FZApyabkCnx0L2xy%3D4Q%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
