On Tue, Aug 10, 2010 at 09:07, David Brownell wrote: >> On Tue, Aug 10, 2010 at 12:47:05, Mike Frysinger wrote: >> it is necessary >> > that you do these things from kernel space instead of >> standard >> > userspace. > > Hard to get userspace to do this stuff if > you're doing a network boot, and thus need > to have the MAC address working early.. it's > easy if the kernel can get the MAC address, > else not possible to boot. Right?
no, that isnt true at all. you can easily have a small initramfs to handle all of your random setup. if that's too much overhead, you can add a late initcall to your boards file that is run after the MTD devices are probed and let that read the required information. all of this is more than documented: http://www.denx.de/wiki/view/DULG/EthernetDoesNotWorkInLinux i still see these callbacks as unnecessary overhead to solve problems that can already be done multiple ways with existing code. -mike _______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
