roland Tollenaar wrote: > Hi Jan, > >> See, you seem to manage choosing the complicated, non-standard way of >> doing things first. Now try to solve your issues one by one, not in >> arbitrary order. > :) Its not quite as arbitrary as it may seem. > >> 1. Make your kernel boot fine, including all desired modules, without >> having it issue any kind of error messages. Bootlogs are under /var/log, >> just look into those files. > All sorted out! Remember that the kernel was fine. I could only > realized that something was missing when I tried rtcanconfig and I > could not find the /rtcan0 and /rtcan1. For someone entirely new to > both xenomai and rt-can its not surprising this take place. I stuck as > closely as possible to the default suggestion in the kernel config. > AFAIK the virtual device was not selected. > Feel free to write down some "first steps with CAN under Xenomai" once you are through (=>wiki)! The virtual devices are not explicitly documented yet. But making them default on the other hand is overkill, because they are special to most users (with real hardware). > >> 2. Check where you have installed the user space part. Default is >> /usr/xenomai, and for a first run it's probably wise to keep this. > Sorted! Absolutely, this is where I have had it installed all the > time. It seems to be in perfect shape. > >> 3. Check if you can build the examples repository. If you installed the >> user space part to default location, it must work with only providing >> the "make KSRC=" as described in the Makefile. >> Inside examples/native, you even just need to type "make". > Well this is not quite the case. I install to the correct places > actually I have from the start used the directories exactly as they > are suggested int he documentation. I have jsut reinstalled and the > make procedure seems fine. My install directory works and the programs > therein are now all functioning. Even rtcongi rtcansend and rtcanrecv. > Running make in /examples/native says > > Invoke make like this: make /path to xeno-config/. Which is why I was > going on about the config variables. I wil now try and find > xeno-config if it exists and see how that works. On the other hand I > don;t doubt that the application will compile. I need to find out what > libraries to include for this particular one for the next steps. See > later. Ack, my bad. The example makefiles do not assume /usr/xenomai (or, alternatively, /usr/xenomai/bin/xeno-config) as default for XENO. Will fix. Meanwhile try "make XENO=/usr/xenomai". > > The point being that 1, 2 and 3 have been completed in that order. To > lay out the structure of what is planned next: > > 4-Get a task ala trivial-task compiled into a qt C++ project. (for > which I need to know what libraries are required) > > 5-Write this task to read CAN messages ever 1 ms and write them to console. > > 6-Get multiple tasks into the project running at different times > > I do understand your consternation, I have been very verbose on this > list today. Your feedback is appreciated and helps improving things. Just a certain part of your verbosity might have been avoidable by digging a bit deeper and checking twice, no? :) Jan