Skip to contentSkip to conversation

xenomai on blackfin/uclinux does not compile

Xenomai-help Kai Timmer 2 participants 2 messages Jan 8, 2007

lore
Share & tools
lore

Kai Timmer

author
#0 lore raw

Hello,
it tried to compile xenomai 2.3.0 with the uClinux 2006R1 RC2 Release for a Blackfin (BF537). The kernel patch i used was the adeos-ipipe-R06R1RC2-bf53x-1.4-03.patch file. It applied fine to the source tree.
But now if i´going to compile the uClinux distribution i always get this error:

/------------------------------------------------------------------------ kernel/built-in.o: In function `xntimer_do_tick_aperiodic':
kernel/xenomai/nucleus/timer.c:(.text+0x24244): undefined reference to bfin_write_TCOUNT' kernel/xenomai/nucleus/timer.c:(.text+0x2424c): undefined reference to bfin_write_TCNTL'
kernel/built-in.o: In function `xntimer_do_start_aperiodic':
kernel/xenomai/nucleus/timer.c:(.text+0x24a42): undefined reference to bfin_write_TCOUNT' kernel/xenomai/nucleus/timer.c:(.text+0x24a4a): undefined reference to bfin_write_TCNTL'
kernel/built-in.o: In function `xntimer_do_stop_aperiodic':
kernel/xenomai/nucleus/timer.c:(.text+0x24dde): undefined reference to bfin_write_TCOUNT' kernel/xenomai/nucleus/timer.c:(.text+0x24de6): undefined reference to bfin_write_TCNTL'
arch/blackfin/xenomai/built-in.o: In function `rthal_timer_release':
(.text+0x2b4): undefined reference to bfin_write_TCNTL' arch/blackfin/xenomai/built-in.o: In function rthal_timer_request':
(.text+0x2ee): undefined reference to bfin_write_TCNTL' arch/blackfin/xenomai/built-in.o: In function rthal_timer_request':
(.text+0x2f6): undefined reference to `bfin_write_TSCALE' make[1]: *** [.tmp_vmlinux1] Error 1
make[1]: Leaving directory `/home/kai/workspace/studium/praktika/dspschool/uClinux-dist/linux-2.6.x'
make: *** [linux] Error 1 /------------------------------------------------------------------------

I also tried to apply the xenomai patches to uClinux 2006R2 RC2. But all of the included patchfiles failed to apply.

I would be very pleased if someone can tell me whats going wrong.

Greets,

Signature · 4 lines
Kai Timmer             | Jabber-ID: [email protected]
PGP-Key ID: 0x8295374E | Blog: http://www.kaitimmer.de
------------------------------------------------------
   http://chemnitzer.linux-tage.de (3.-4. März 2007)
#1 lore raw
Quoted 7 lines · Kai Timmer

Hello,
it tried to compile xenomai 2.3.0 with the uClinux 2006R1 RC2 Release for a Blackfin (BF537). The kernel patch i used was the adeos-ipipe-R06R1RC2-bf53x-1.4-03.patch file. It applied fine to the source tree.
But now if i´going to compile the uClinux distribution i always get this error:

We are still tracking a moving target on Blackfin, and 2.3 has been ported to the project's CVS head which defines the missing symbols. Please use ksrc/arch/blackfin/ipipe-bf53x-CVS-20061215-1.6-00 over a kernel extracted from the Blackfin CVS/SVN as of this date instead. Actually, 1.4-03 should have been removed from the patch series.

Quoted 39 lines

/------------------------------------------------------------------------ kernel/built-in.o: In function `xntimer_do_tick_aperiodic':
kernel/xenomai/nucleus/timer.c:(.text+0x24244): undefined reference to bfin_write_TCOUNT' kernel/xenomai/nucleus/timer.c:(.text+0x2424c): undefined reference to bfin_write_TCNTL'
kernel/built-in.o: In function `xntimer_do_start_aperiodic':
kernel/xenomai/nucleus/timer.c:(.text+0x24a42): undefined reference to bfin_write_TCOUNT' kernel/xenomai/nucleus/timer.c:(.text+0x24a4a): undefined reference to bfin_write_TCNTL'
kernel/built-in.o: In function `xntimer_do_stop_aperiodic':
kernel/xenomai/nucleus/timer.c:(.text+0x24dde): undefined reference to bfin_write_TCOUNT' kernel/xenomai/nucleus/timer.c:(.text+0x24de6): undefined reference to bfin_write_TCNTL'
arch/blackfin/xenomai/built-in.o: In function `rthal_timer_release':
(.text+0x2b4): undefined reference to bfin_write_TCNTL' arch/blackfin/xenomai/built-in.o: In function rthal_timer_request':
(.text+0x2ee): undefined reference to bfin_write_TCNTL' arch/blackfin/xenomai/built-in.o: In function rthal_timer_request':
(.text+0x2f6): undefined reference to `bfin_write_TSCALE' make[1]: *** [.tmp_vmlinux1] Error 1
make[1]: Leaving directory `/home/kai/workspace/studium/praktika/dspschool/uClinux-dist/linux-2.6.x'
make: *** [linux] Error 1 /------------------------------------------------------------------------

I also tried to apply the xenomai patches to uClinux 2006R2 RC2. But all of the included patchfiles failed to apply.

I would be very pleased if someone can tell me whats going wrong.

Greets,
_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help

Signature · 1 line
Philippe.