This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: DHCP/BOOTP doesn't work with FreeBSD on PowerPC Platform
- From: Gary Thomas <gary at mlbassoc dot com>
- To: Stefan Rosinger <a_jedi_night4u at gmx dot at>
- Cc: "ecos-discuss at sources dot redhat dot com" <ecos-discuss at sources dot redhat dot com>
- Date: Thu, 20 Jan 2005 08:20:52 -0700
- Subject: Re: [ECOS] DHCP/BOOTP doesn't work with FreeBSD on PowerPC Platform
- Organization: MLB Associates
- References: <opskwp1vyg8kxu5e@mail.gmx.at>
On Thu, 2005-01-20 at 16:16 +0100, Stefan Rosinger wrote:
> Hi!
>
> As described in the subject the DHCP service doesn't work with my eCos
> application.
>
> I use the FreeBSD stack on a PowerPC 405 platform with a Davicom DM9000
> ethernet controller.
>
> With redboot it works fine...(for sure polled mode)
>
> Ping tests with my application are ok. So my interrupt eth driver should
> work correctly.
>
> I sniffed the packages with ethereal.
>
> Here they are:
>
>
> No. Time Source Destination Protocol
> Info
> 2 1.839188 0.0.0.0 255.255.255.255 DHCP
> DHCP Discover - Transaction ID 0x270107
> 3 1.851694 192.168.0.1 Broadcast ARP
> Who has 192.168.0.17? Tell 192.168.0.1
> 4 1.971873 192.168.0.1 255.255.255.255 DHCP
> DHCP Offer - Transaction ID 0x270107
> 5 2.201723 0.0.0.0 255.255.255.255 DHCP
> DHCP Discover - Transaction ID 0x270107
> 6 2.210369 192.168.0.1 Broadcast ARP
> Who has 192.168.0.17? Tell 192.168.0.1
> 7 2.371141 192.168.0.1 255.255.255.255 DHCP
> DHCP Offer - Transaction ID 0x270107
>
> Any ideas?
Have you tried putting some debug messages in the driver? Can you
see that it gets to the interrupt handler?
My guess (as was Andrew's) is that you are not getting any interrupts.
RedBoot polls the device and thus works, but eCos relies on them.
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss