Flavio Alves wrote: > Hello, > > I tried to perform the steps indicated by the README and I am still > having problems to correctly patch the linux kernel with xenomai for the > imx51 processor. > > I followed the README file from Xenomai package and the Denx > instructions > (http://www.denx.de/en/view/Software/SoftwareXenomaiProjects#Xenomai_Real_Time_Support_for_i). > > Here are the steps that I performed and I would like to know what am I > doing wrong or if I can continue that it will work correctly: > > * mkdir linux > * cd linux > * git clone git://git.denx.de/linux-2.6-denx.git > * cd linux-2.6-denx > * git checkout rel_imx_2.6.31_10.02
I do not know if it makes a differences, but when I made the port, I used the Freescale tree, as described in ksrc/arch/arm/patches/README in Xenomai sources. > * wget http://download.gna.org/xenomai/stable/ > * wget > http://www.denx.de/en/pub/Software/SoftwareXenomaiProjects/adeos-ipipe-2.6.31-arm-1.15-01-imx51.patch > * tar xjvf xenomai-2.5.3.tar.bz2 > * cd xenomai-2.5.3/ksrc/arch/arm/patches > * wget > http://www.denx.de/en/pub/Software/SoftwareXenomaiProjects/adeos-ipipe-2.6.31-arm-1.15-01.patch > * cd ../../../.. > * scripts/prepare-kernel.sh --linux=/home/linux/imx51/linux-2.6-denx > --adeos=/home/linux/imx51/xenomai-2.5.3/ksrc/arch/arm/patches/adeos-ipipe-2.6.31-arm-1.15-01.patch > --arch=arm --verbose You are advised to use the latest patch for 2.6.31, which is 1.15-02. You will get one reject when applying the adeos patch on the Freescale tree, but this one should be harmless. -- Gilles. _______________________________________________ Xenomai-help mailing list [email protected] https://mail.gna.org/listinfo/xenomai-help
