usbnet - MAC and sequential interfaces

Werner Almesberger werner at openmoko.org
Tue Feb 3 01:51:18 CET 2009


Mike (mwester) wrote:
> Cool.  Combining this with the initramfs/kexec stuff that's been
> discussed on the kernel list (cc'd here): the kexec kernel could very
> easily do the magic to read that address as you've described here, and
> pass it in on the kernel command line for the real kernel boot.

Yup. The idea was to use it when the kernel sets up the usb0 interface.
The missing link is of course something that can actually retrieve this
kind of data. u-boot isn't good at such things, but it would be trivial
for a kexec-based system.

> The point, of course, being to make the network manager on the host
> side of the USB connection happier...

If it's just the network manager, it might as well (and IMHO should)
read the file directly. You only need to go via the boot parameter
line if passing kernel parameters.

- Werner



More information about the devel mailing list