Hello All I'm porting Xenomai 2.4.9 to the Linux Kernel 2.6.29.
Target platform is MV 88F6290 CPU: ARM926EJ-S Adeos patch: adeos-ipipe-2.6.29-arm-1.13-03.patch I do patch the kernel with xenomai and adeos: ./prepare-kernel.sh --arch=arm --linux=/.../kernel/linux-2.6.29-v02.00.29/ --adeos=/.../xenomai-2.4.9/ksrc/arch/arm/patches/adeos-ipipe-2.6.29-arm-1.13-03.patch Then I compile the Linux kernel. At the time when I start to compile the kernel I have to answer for many questions regarding configuration, it is Ok! But finally I got the compile error like: === arch/arm/kernel/ipipe.c: In function '__ipipe_grab_irq': arch/arm/kernel/ipipe.c:492: error: implicit declaration of function '__ipipe_mach_irq_mux_p' make[1]: *** [arch/arm/kernel/ipipe.o] Error 1 make: *** [arch/arm/kernel] Error 2 === the reason of this error is that there is no definition of the macro "__ipipe_mach_irq_mux_p" for the target platform as well as there are no the others CPU dependent definitions. If I refer to the file "arch/arm/mach-at91/include/mach/irqs.h" all definitions like CONFIG_ARCH_AT91SAM9* are not defined But, in the Xenomai's build questionnaire messages (build time) I found next lines: === * * System Type * ARM system type 1. Agilent AAEC-2000 based (ARCH_AAEC2000) . . . 38. Nuvoton W90X900 CPU (ARCH_W90X900) > 39. Marvell MV88F6290 (ARCH_MV88F6290) choice[1-39]: 39 === Actually I did not select any system type anyhow. And it does not allow me to select it somehow, but the default choice is correct - system type is MV88F6290! I don't know why but it is a very nice that default system type is exactly what I need :) (please give some comments on it) The questions! 1) It looks like Xenomai do support the target SoC (MV88F6290), as well as do support processor type ARM926 it has. Then why I can not find the CPU dependent definitions in the patched kernel's source code? 2) What does it takes for you to support this system and CPU if it is not supported yet? IF you do support for this system for 2.6.29 version of kernel It would be great because I can test it on my target board and give you all feed back with the results, and finally you can include it to the next patches. Looking forward to hearing from you any help regarding anything I can do to run the patched kernel on my board successfully. Sergey Didenko
_______________________________________________ Xenomai-help mailing list [email protected] https://mail.gna.org/listinfo/xenomai-help
