All of lore.kernel.org
 help / color / mirror / Atom feed
From: Wolfgang Grandegger <wg@domain.hid>
To: Philippe Gerum <rpm@xenomai.org>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-core] v2.1 status
Date: Sat, 19 Nov 2005 18:35:47 +0100	[thread overview]
Message-ID: <437F6273.1050601@domain.hid> (raw)
In-Reply-To: <437CB8BA.8040902@domain.hid>

[-- Attachment #1: Type: text/plain, Size: 2637 bytes --]

Philippe Gerum wrote:
> 
> Here is an update regarding the way things progress on the v2.1 branch:
> 
> o The build system has been deeply revamped, so that we now fully leave 
> the burden of building Xenomai's kernel support to Linux. To this end, 
> the code tree has been reorganized in two major sections, the first one 
> contains the kernel-related sources (ksrc/), the other is hosting the 
> user-space support (src/). Since the user-space portion does not need to 
> know about the kernel sources anymore, several issues have been solved 
> in the same move. All in all, things are way simpler than before, which 
> seems to indicate that we are heading to the right direction. The 
> documentation for the installation process needs to be updated though.

I like it a lot.

> o Also as a matter of build system (and a bit more), v2.1 has been 
> backported to Linux 2.4, starting with the ppc32 support. We rely on 
> Denx's 2_4-devel tree as our 2.4 kernel of reference for this port [1]. 
> A second backport to 2.4/x86 will happen when this combo is I-pipe 
> ready. We are ahead of schedule regarding this backport, since it was 
> initially planned for Q12006, but since we are going to add more 
> supported architectures in the next months, it's better to have a stable 
> build system for that.

Just tested Xenomai with adeos-ipipe-2.4.25-ppc-denx-0.9-02.patch on a 
recent DENX kernel tree. MPC 8xx support was missing. I have attached
the patch to fix it. Furthermore I have not found the "Machine" options 
(here from 2.6):

  #
  # Machine
  #
  # CONFIG_XENO_HW_FPU is not set
  CONFIG_XENO_HW_PERIODIC_TIMER=y
  CONFIG_XENO_HW_TIMER_LATENCY=1
  CONFIG_XENO_HW_SCHED_LATENCY=1
 

The latency figures on my TQM860L board with Xenomai 2.1 and Liunx 2.4 
are close to the one I measured with Xenomail 2.0 with Linux 2.6:

LATENCY with load on TQM860L:

Linux   |-----lat min|-----lat avg|-----latmax|-overrun|---test-time
2.6.13  |       60480|      120960|     224320|       0|    00:09:46
2.4.25  |       64080|       95120|     225040|       0|    00:10:00


> o PowerPC-wise (again), we should be close to ready for 2.6.15, since 
> Heikki merged both the 32 and 64-bit trees in a single one.
> 
> All other tasks planned are undergoing. For my part, I'm going to fiddle 
> now with ADI's Blackfin for which we already have the required Adeos 
> support, and create the Xenomai port for it. Since this one is uClinux 
> based, we should be able to check that the new build system is ok to 
> host any kind of port sanely.
> 
> [1] http://www.denx.de/en/Software/CVS/

Thanks.

Have a nice weekend.

Wolfgang.



[-- Attachment #2: adeos-ipipe-2.4.25-ppc-denx-0.9-02-8xx.patch --]
[-- Type: text/x-patch, Size: 998 bytes --]

+ diff -u linuxppc_2_4_devel-2005-11-19_1437-ipipe/arch/ppc/kernel/head_8xx.S.IPIPE2 linuxppc_2_4_devel-2005-11-19_1437-ipipe/arch/ppc/kernel/head_8xx.S
--- linuxppc_2_4_devel-2005-11-19_1437-ipipe/arch/ppc/kernel/head_8xx.S.IPIPE2	2005-02-13 21:04:14.000000000 +0100
+++ linuxppc_2_4_devel-2005-11-19_1437-ipipe/arch/ppc/kernel/head_8xx.S	2005-11-19 14:51:27.000000000 +0100
@@ -231,7 +231,11 @@
 	bl	transfer_to_handler
 	.globl	do_IRQ_intercept
 do_IRQ_intercept:
-	.long	do_IRQ;
+#ifdef CONFIG_IPIPE
+	.long   __ipipe_grab_irq
+#else /* !CONFIG_IPIPE */
+	.long	do_IRQ
+#endif /* CONFIG_IPIPE */
 	.long	ret_from_intercept
 
 /* Alignment exception */
@@ -268,7 +272,11 @@
 	bl	transfer_to_handler
 	.globl	timer_interrupt_intercept
 timer_interrupt_intercept:
-	.long	timer_interrupt
+#ifdef CONFIG_IPIPE
+	.long   __ipipe_grab_timer
+#else /* !CONFIG_IPIPE */
+	.long   timer_interrupt
+#endif /* CONFIG_IPIPE */
 	.long	ret_from_intercept
 
 	STD_EXCEPTION(0xa00, Trap_0a, UnknownException)

  parent reply	other threads:[~2005-11-19 17:35 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-17 17:07 [Xenomai-core] v2.1 status Philippe Gerum
2005-11-18 13:01 ` Jan Kiszka
2005-11-18 14:41   ` Philippe Gerum
2005-11-18 16:38     ` Ignacio García Pérez
2005-11-19 17:56       ` Philippe Gerum
2005-11-19 17:35 ` Wolfgang Grandegger [this message]
2005-11-19 18:28   ` Philippe Gerum

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=437F6273.1050601@domain.hid \
    --to=wg@domain.hid \
    --cc=rpm@xenomai.org \
    --cc=xenomai@xenomai.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.