[Letux-kernel] jz4730 Ethernet - works now (unreliable and with some deficiencies)
david at boddie.org.uk
Tue Jun 22 22:24:21 CEST 2021
On Tuesday, 22 June 2021 22:03:28 CEST H. Nikolaus Schaller wrote:
> Yes it does - if U-Boot provides:
> But - somehow the kernel parameters are not properly passed/merged.
> So therefore I currently have some hack in my build script.
Unfortunately, I can't say anything about parameter passing to the Linux
However, looking at the 2.6.x kernel code, I found comments like these:
/* insmod jz-ethc.o hwaddr=00:ef:a3:c1:00:10 */
/* linux command line: ethaddr=00:ef:a3:c1:00:10 */
So I guess ethaddr is correct for the command line in general, and hwaddr is
the convention for kernel modules. Or is that just the original author's
It seems that it will also fall back on an address of 00:ef:a3:c1:00:03 if it
can't find a valid address.
> I think there is some flash/nvram inside the WiFi module and processed by
> the USB driver inside the module. It did magically work like with any WiFi
> stick you would plug in.
That's good to know. :-)
More information about the Letux-kernel