Flavio Alves wrote:
> Hello,
>
> I would like to build a linux kernel with Xenomai to run on a iMX51
> board (iMX51EVK).
>
> I am currently using the last version of the BSP from Freescale website
> (LTIB). If I apply the BSP's patches before the Xenomai's patches, the
> patches are not applied. So, I first apply Xenomai's patches and then
> BSP's patches.
>
> The problem in this approach is that I have compilation errors, even if
> I have all the patches successfully applied.
>
> I saw at Denx homepage that there is a specific patch for Xenomai for
> iMX51. But the patch provided by the website must be used into the
> "rel_imx_2.6.31_10.02.00" tag in in Freescale's LTIB source tree. I
> believe the release version of LTIB that I am using is 10.04.00 (and not
> 10.02.00) and maybe that's the reason why it is not compiling. How do I
> get that release of LTIB?
>
> I saw that the patch provided in the website
> (adeos-ipipe-2.6.31-arm-1.15-01.patch) is different from the Xenomai
> 2.5.3 package (adeos-ipipe-2.6.31-arm-1.15-02.patch). Does it mean that
> this topic was solved?
No. There is no way this topic can be "solved". The Adeos I-pipe patches
are meant to be applied to the mainline kernel. When you try to apply it
to some other tree, you get some issues.
The patch adeos-ipipe-2.6.31-arm-1.15-01-imx51.patch (which adds support
for IMX51) is meant to be applied to the rel_imx_2.6.31_10.02.00 relase.
It was not tested with any other release, so, yes, chances are that you
will get issues if you try and apply it to something else. If you want
to checkout the previous release, use git.
More information on this topic may be found in
ksrc/arch/arm/patches/README in Xenomai souces.
--
Gilles.
_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help