All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@domain.hid>
To: roland Tollenaar <rolandtollenaar@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] hello xenomai world?
Date: Thu, 22 Feb 2007 16:12:27 +0100	[thread overview]
Message-ID: <45DDB2DB.4010104@domain.hid> (raw)
In-Reply-To: <bc4264770702220641me28831ahd9e10cf1b689510c@domain.hid>

[-- Attachment #1: Type: text/plain, Size: 3313 bytes --]

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=<path-to-kernel-src>" 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


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 250 bytes --]

      reply	other threads:[~2007-02-22 15:12 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-22 11:11 [Xenomai-help] hello xenomai world? roland Tollenaar
2007-02-22 11:26 ` Jan Kiszka
2007-02-22 12:56   ` roland Tollenaar
2007-02-22 13:25     ` Jan Kiszka
2007-02-22 14:41       ` roland Tollenaar
2007-02-22 15:12         ` Jan Kiszka [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=45DDB2DB.4010104@domain.hid \
    --to=jan.kiszka@domain.hid \
    --cc=rolandtollenaar@domain.hid \
    --cc=xenomai@xenomai.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.