All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-core] Compile-time bug, and problem with PPC440 ethernet
@ 2008-06-16 18:57 Steven A. Falco
  2008-06-16 21:56 ` Steven A. Falco
  2008-06-17  7:30 ` Philippe Gerum
  0 siblings, 2 replies; 9+ messages in thread
From: Steven A. Falco @ 2008-06-16 18:57 UTC (permalink / raw)
  To: xenomai

I am building kernel 2.6.25.4 from DENX with Xenomai 2.4.4 for PPC440EPx
(sequoia development board).

The kernel tries to use DHCP to obtain network settings.  With IPIPE
disabled, this works perfectly.  However, when I enable IPIPE, the board
sends packets ok, but does not receive packets - I can see the DHCP with
a sniffer, but the development board does not receive them.

Also, in order to disable IPIPE, I had to patch
kernel/time/tick-common.c around line 168.  It is missing an ifdef:

diff --git a/kernel/time/tick-common.c b/kernel/time/tick-common.c
index 58bfacf..3a735b8 100644
--- a/kernel/time/tick-common.c
+++ b/kernel/time/tick-common.c
@@ -163,9 +163,11 @@ static void tick_setup_device(struct tick_device *td,

        td->evtdev = newdev;

+#ifdef CONFIG_IPIPE
        /* I-pipe: derive global tick IRQ from CPU 0 */
        if (cpu == 0)
                ipipe_update_tick_evtdev(newdev);
+#endif

        /*
         * When the device is not per cpu, pin the interrupt to the

Signed-off-by: Steve Falco <sfalco@domain.hid>

If anyone has suggestions as to why IPIPE is blocking received ethernet
packets, I'd appreciate it.

    Steve



^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2008-06-26 13:07 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-16 18:57 [Xenomai-core] Compile-time bug, and problem with PPC440 ethernet Steven A. Falco
2008-06-16 21:56 ` Steven A. Falco
2008-06-17  7:30 ` Philippe Gerum
2008-06-17 13:27   ` Steven A. Falco
2008-06-18 16:17     ` Philippe Gerum
     [not found]       ` <48594232.5020505@domain.hid>
2008-06-18 17:20         ` Philippe Gerum
     [not found]           ` <48594CC9.4030408@domain.hid>
2008-06-19  8:16             ` Philippe Gerum
2008-06-26 12:57               ` Steven A. Falco
2008-06-26 13:07                 ` Philippe Gerum

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.