This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: BOOTP problem


Ð ÐÑÐ, 08/02/2008 Ð 08:39 -0800, Jay Foster ÐÐÑÐÑ:
> If you use the latest sources from CVS, you should enable the
> CYGOPT_NET_FREEBSD_STACK_ACCEPT_UNICAST option to define BOOTP_COMPAT.  This
> will permit BOOTP to work.  This assumes that you are using the Free BSD
> network stack.
> 
> Jay

Hi,

It works! Thanks Jay!

I think this dependence should be declared in cdl script. What do
network stack gurus think about adding new option to
CYGHWR_NET_DRIVER_ETH0_BOOTP (and of course to eth1) component?

cdl_option CYGHWR_NET_DRIVER_ETH0_FREEBSD_BOOTP_COMPAT {
    display "Enable FreeBSD stack option for bootp compatibility."
    flavor  none
    no_define
    
    active_if   CYGPKG_NET_FREEBSD_STACK
    active_if   !CYGHWR_NET_DRIVER_ETH0_DHCP
    
    requires  	CYGOPT_NET_FREEBSD_STACK_ACCEPT_UNICAST
}

If it's proper i will send a patch.

Best regards
Alexey Shusharin

> -----Original Message-----
> From: Alexey Shusharin [mailto:mrfinch@mail.ru]
> Sent: Friday, February 08, 2008 2:30 AM
> To: ecos-discuss@ecos.sourceware.org
> Subject: [ECOS] BOOTP problem
> 
> 
> Hello,
> 
> I'm trying to use BOOTP to gather configuration from server. RedBoot
> BOOTP support works fine, but eCos application doesn't receive BOOTREPLY
> message, although server sends it.
> 
> If i edit bootp_support.c and add broadcast flag to BOOTREQUEST (and so
> server sends BOOTREPLY as broadcast) client receives information. But as
> i understand it's not best decision.
> 
> DHCP works fine with RedBoot and eCos application.
> 
> There is the problem?
> Does anybody use BOOTP (not DHCP) in eCos application?
> 
> I use lpc2xxx hal, Cirrus Logic CS8900A ethernet controller and freebsd
> stack ecos port.
> 
> Thanks
> Best regards
> Alexey Shusharin
> 
> 
> 
> -- 
> Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
> and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
> 


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]