From: Philippe Gerum <rpm@xenomai.org>
To: "Steven A. Falco" <sfalco@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-core] Compile-time bug, and problem with PPC440 ethernet
Date: Tue, 17 Jun 2008 09:30:51 +0200 [thread overview]
Message-ID: <4857682B.8060900@domain.hid> (raw)
In-Reply-To: <4856B7AE.9030805@domain.hid>
Steven A. Falco wrote:
> 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.
>
External interrupts are probably locked out by the pipeline engine; I've fixed a
similar issue in recent patches for other PICs. Which I-pipe patch release are
you using?
> 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
>
>
> _______________________________________________
> Xenomai-core mailing list
> Xenomai-core@domain.hid
> https://mail.gna.org/listinfo/xenomai-core
>
--
Philippe.
next prev parent reply other threads:[~2008-06-17 7:30 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
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
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=4857682B.8060900@domain.hid \
--to=rpm@xenomai.org \
--cc=sfalco@domain.hid \
--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.