Am 06.02.2013 um 16:15 schrieb Eric H. Johnson:

> 
> Well after considerable delay, I now have two working A13-Olinuxino-wifi
> boards. I was sent two replacement boards direct from Bulgaria confirming
> that there was something wrong with the SD ports on the two I received from
> a local supplier.
> 
> I have now managed to successfully compile a very slightly customized kernel
> (only enables the GPIO on the Olinuxino), install on an SD with a Debian
> Wheezy image, and boot from the SD.
> 
> I am now looking to patch the kernel for Xenomai. I have the
> arm-linux-gnueabi cross compile tool chain installed on an X86 ubuntu 12.04
> machine, although I expect the Olinuxino has sufficient horse power to
> compile in situ as well. I see some basic instructions on doing this with
> Michael's prebuilt kernel  for the Beaglebone here:
> http://wiki.linuxcnc.org/cgi-bin/wiki.pl?Debian_Wheezy_Linux-Rt_Compile_Linu
> xCNC
> 
> In searching around I found some generic notes which I think I can work with
> here:
> http://wiki.micromint.com/index.php/Electrum_Xenomai_Notes
> 
> I know Michael previously mentioned something about needing a high res
> timer.
> 
> At any rate, I seem to be at the point in the road where it would be
> beneficial to choose my rut wisely. Any pointers or other references for
> getting started would be appreciated.

Assuming you dont find anybody having done the Xenomai footwork for your 
platform:

the first set operation is:

- the current base kernel version options for Xenomai kernel patches for ARM 
are here: 
http://git.xenomai.org/?p=xenomai-2.6.git;a=tree;f=ksrc/arch/arm/patches;h=cd2972e19edb7432cef243cbc028ec3ef1201380;hb=d4f8b82905930ceba4d4399d1b2e52ff98860e2a

  not sure about the adeos- file in there, assume not, so we have 3.2.21, 
3.4.6, 3.5.7

- find a suitable base (non-Xenomai) version for your board close to one of the 
above

Assume you have a reasonable match, and the base kernel patching succeeds with 
the corresponding ipipe patch - step2:

Xenomai hardware support (includes timer; note I am just Joe User on this - I 
have no applicable experience of doing, or modifying the following):

find the Xenomai-specific code from other ARM boards, and take inspiration from 
there; it'd be worth searching the Xenomai mailing list archives. Also, 
subscribe to the mailing list, things are moving very fast.

candidates (probably there are others, but I didnt look for any): 

- the Raspberry Xenomai support code 
(http://www.blaess.fr/christophe/2012/08/27/xenomai-sur-raspberry-pi/)
- the Henri Roosen beagleboard code )https://github.com/roosen/linux)
- Stephan Kappertz' work: recorded here: 
http://git.mah.priv.at/gitweb?p=linuxcnc-kernel.git;a=shortlog;h=refs/heads/beaglebone-3.2.21-2.6.2-kappertz
- Sheng-Chao Wong's work: 
https://github.com/shengchao/beaglebone-angstrom-xenomai

we currently are using the Henri Roosen patch; the Kappertz patch seems to work 
too.

good luck,

- Michael


> 
> Thanks,
> Eric
> 
> 
> 
> 
> ------------------------------------------------------------------------------
> Free Next-Gen Firewall Hardware Offer
> Buy your Sophos next-gen firewall before the end March 2013 
> and get the hardware for free! Learn more.
> http://p.sf.net/sfu/sophos-d2d-feb
> _______________________________________________
> Emc-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/emc-developers


------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to