[ECOS] Notes on static configuration of an eCos network inte
Grant Edwards
grante@visi.com
Mon Jul 17 09:40:00 GMT 2000
> Time to chip my two pence worth in.
>
> 1) I think having the ability to statically defined IP
> addresses inside the binary is a bad idea.
I guess I wasn't clear. My IP addresses aren't hard-wired in
the source code. They're retrieved from flash. The change I'm
thinking of making is instead of taking those addresses and
building a bootp frame to pass to init_net(), I'll just make
the ioctl() calls. That eliminates the need for the routines
to build/parse bootp records, and the network initialization
happens where it's obvious what's going on.
> In my case i get them from flash, so they are board specific, not
> binary specific.
Same here.
> As i said in my last message, it not so easy to get
> it right, especially when init_all_network... keeps changing with
> every release. Thats why i asked for a review off all this when DHCP
> is added. init_all_network... should be
> init_all_unintializes_network...
--
Grant Edwards
grante@visi.com
More information about the Ecos-discuss
mailing list