Skip to contentSkip to conversation

Xenomai on ARM integrator platform

Xenomai-help Gildas Bayard 2 participants 3 messages May 21, 2009 – May 23, 2009

lore
Share & tools
lore
#0 lore raw

Hello,

I've got problems compiling a xenomai kernel for the arm integrator platform.
I've tried linux 2.6.26, 2.6.27 and 2.6.28. The kernel patches are applied smoothly but compilation gives me undefined references kind of errors.

For the 2.6.28 it says:
arch/arm/kernel/built-in.o: In function `__ipipe_grab_irq':
io.c:(.text+0x5840): undefined reference to __ipipe_mach_demux_irq' arch/arm/kernel/built-in.o: In function ipipe_get_sysinfo':
io.c:(.text+0x5b14): undefined reference to __ipipe_mach_ticks_per_jiffy' arch/arm/mach-integrator/built-in.o: In function __ipipe_mach_release_timer':
pci.c:(.text+0x580): undefined reference to __ipipe_mach_ticks_per_jiffy' arch/arm/xenomai/built-in.o: In function rthal_timer_release':
hal.c:(.text+0x46c): undefined reference to __ipipe_mach_ticks_per_jiffy' arch/arm/xenomai/built-in.o: In function rthal_timer_request':
hal.c:(.text+0x534): undefined reference to `__ipipe_mach_ticks_per_jiffy'

Searching on the net I've found someone with a similar problem and the answer for him was that it's board was not supported. But it seemed to me that ARM integrator was advertised as fully supported.
Could someone give me versions for xenomai/linux that compile well for the integrator board?

Sincerely,
Gildas

#1 lore raw
Quoted 19 lines · Gildas Bayard

Hello,

I've got problems compiling a xenomai kernel for the arm integrator platform. I've tried linux 2.6.26, 2.6.27 and 2.6.28. The kernel patches are applied smoothly but compilation gives me undefined references kind of errors.

For the 2.6.28 it says:
arch/arm/kernel/built-in.o: In function `__ipipe_grab_irq':
io.c:(.text+0x5840): undefined reference to __ipipe_mach_demux_irq' arch/arm/kernel/built-in.o: In function ipipe_get_sysinfo':
io.c:(.text+0x5b14): undefined reference to __ipipe_mach_ticks_per_jiffy' arch/arm/mach-integrator/built-in.o: In function __ipipe_mach_release_timer':
pci.c:(.text+0x580): undefined reference to __ipipe_mach_ticks_per_jiffy' arch/arm/xenomai/built-in.o: In function rthal_timer_release':
hal.c:(.text+0x46c): undefined reference to __ipipe_mach_ticks_per_jiffy' arch/arm/xenomai/built-in.o: In function rthal_timer_request':
hal.c:(.text+0x534): undefined reference to `__ipipe_mach_ticks_per_jiffy'

Quoted 5 lines

Searching on the net I've found someone with a similar problem and the answer for him was that it's board was not supported.
But it seemed to me that ARM integrator was advertised as fully supported. Could someone give me versions for xenomai/linux that compile well for the integrator board?

Only integrator cp is supported, are you sure you are not trying to select integrator ap ?

Signature · 1 line
					    Gilles.
#2 lore raw

Oops! My fault, I was using integrator ap which is the default in the kernel

Thank you
Gildas

Gilles Chanteperdrix <[email protected]> a écrit :

Quoted 32 lines
Quoted 19 lines · Gildas Bayard

Hello,

I've got problems compiling a xenomai kernel for the arm integrator platform. I've tried linux 2.6.26, 2.6.27 and 2.6.28. The kernel patches are applied smoothly but compilation gives me undefined references kind of errors.

For the 2.6.28 it says:
arch/arm/kernel/built-in.o: In function `__ipipe_grab_irq':
io.c:(.text+0x5840): undefined reference to __ipipe_mach_demux_irq' arch/arm/kernel/built-in.o: In function ipipe_get_sysinfo':
io.c:(.text+0x5b14): undefined reference to __ipipe_mach_ticks_per_jiffy' arch/arm/mach-integrator/built-in.o: In function __ipipe_mach_release_timer':
pci.c:(.text+0x580): undefined reference to __ipipe_mach_ticks_per_jiffy' arch/arm/xenomai/built-in.o: In function rthal_timer_release':
hal.c:(.text+0x46c): undefined reference to __ipipe_mach_ticks_per_jiffy' arch/arm/xenomai/built-in.o: In function rthal_timer_request':
hal.c:(.text+0x534): undefined reference to `__ipipe_mach_ticks_per_jiffy'

Quoted 5 lines

Searching on the net I've found someone with a similar problem and the answer for him was that it's board was not supported.
But it seemed to me that ARM integrator was advertised as fully supported. Could someone give me versions for xenomai/linux that compile well for the integrator board?

Only integrator cp is supported, are you sure you are not trying to select integrator ap ?

--
Gilles.