I'm using ubuntu, because it's the recommended platform for ros. Apart from that, I managed to mostly solve the ubuntu 16.04 issues in the meantime. I noticed, that almost all of my startup error messages were related to pins P8_03, P8_04, P8_05 and P8_18. So I made a modified version of univ-all-00A0.dts with all entries regarding those pins removed. I also took out the can related entries, to not interfere with my separate can dts. After compiling those dts files and loading the modified univ-all cape in uEnv.txt I'm finally able to access all required GPIOs. The problem of configuring and activating the GPIOs and setting up the can bus automatically at boot time required a different approach. I am using an init.d script to do these things at startup. At first, it did only work, if I added a dependency to the script to start after $network. Otherwise the configuration is done too early in the bootup process and has no effect at all. This however required a working network cable to be plugged in at startup, which is not possible, as the network router on my robot can only be powered on using some GPIO signals. As I was unable to figure out a way, to make $network not dependent of link-up on the lan port, I removed the dependency from the script and added a 10 second sleep call at the beginning of the script(determined the delay by examining the timings in syslog). This way the GPIOs and can bus are automatically set up after the required modules got loaded and powers on my router, without having to wait for link-up. It is not a beautiful solution, but it seems to be reliable.
Am Mittwoch, 20. Juli 2016 03:11:51 UTC+2 schrieb William Hermans: > > denis, > > But the point I'm trying to make here is that Ubuntu mate is new, so give > it some time, and these issues which may, or may not be kernel related. To > settle down. So if you have to use Ubuntu, in your shoes. I'd stick with > 14.04. But honestly I'd never use Ubuntu on this specific hardware anyhow . > . . an odroid XU4 sure, but not a beaglebone. > -- 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/15df0d7d-cfba-4db1-bc96-cb13953b97ee%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
