Neil Horman wrote:Size, size, size. The killer in the embedded world which rules out glibc. And have you tried to link glibc statically with something that uses gethostbyname lately? It is no longer possible since the introduction of all the introduction of the dynamic name lookup crap (ok, it's not really crap, I just feel like it's crap every time I try to link a networking application statically). But that's a bit off topic since I don't need name lookups just to mount a NFS file system. uclibc also seems to have issues with networking and statically linked binaries, but I just haven't had time to figure out why yet. In my opion, having a "hwaddrs=eth0=00:de:ad:be:ef:01" would be consistent and maintainable. But opinions differ. Once again, in your opinion it is a hack, I don't consider it more a hack than assigning the IP address on the command line. And I wouldn't call the in kernel stuff useless. I know how to build initrds and initramfs. I've spent the hard time digging through the code in init/do_mounts.c trying to figure out what it is supposed to do. I have used them for multiple embedded systems, zoo.weinigel.se/trac/public, both the Acer and the DNS323 use them, but those are hobby projects where I haven't had deadlines to meet. It is a luxury I usually don't have when my boss drops an embedded system on my desk and tells me "we have to have our drivers working on this board for a demo next week". Disabling IP_PNP and NFS_ROOT saves less than 8kBytes on an ARM9 (yeah, I just checked). An initrd uses a lot more than that. Maybe with klibc, but investing klibc is something that I've had on my TODO list since hpa first talked about it years ago. I've sort of been putting it off until klibc would get into the kernel, but... Yes, and the next time I would have to fix this on an embedded board, I could probably have spent the time on figure out how to do something slightly more generic, but since it won't have a chance of getting into the kernel, I probably won't. Anyway, I've spent more time on discussing this now than it would have taken me to hack the device drivers on half a dozen platforms, so I think I'll give up. Maybe I'll take a look at some initrd+klibc+dhcp stuff when I have some free time next Christmas (that's when I usually get to play around with my hobby projects), maybe not. :-) /Christer -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
| Jon Smirl | 463 kernel developers missing! |
| Nigel Cunningham | Re: [PATCH] Remove process freezer from suspend to RAM pathway |
| Greg KH | Re: [malware-list] [RFC 0/5] [TALPA] Intro to a linux interface for on access scan... |
| Jeff Garzik | Re: Linux 2.6.23-rc9 and a heads-up for the 2.6.24 series.. |
git: | |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| Linus Torvalds | Re: [GIT]: Networking |
| Evgeniy Polyakov | Re: [BUG] New Kernel Bugs |
