2008.01.03. 22:00:43 dátumon Harald Schiöberg <[EMAIL PROTECTED]> írta:
> Hi,
>
> with trunk(10094) on avila I have the problem, that the mac-address is
> all zeros.
>
> nslu2 has:
>
> if (mtd->read(mtd, 0x3FFB0, 6, &retlen, mac) == 0 && retlen == 6) {
> printk(KERN_INFO "nslu2 mac: %.2x:%.2x:%.2x:%.2x:%.2x:%.2x\n",
> mac[0], mac[1], mac[2], mac[3], mac[4], mac[5]);
> memcpy(nslu2_plat_eth[0].hwaddr, mac, 6);
>
> in
> build_dir/linux-ixp4xx_generic/linux-2.6.23.12/arch/arm/mach-ixp4xx/nslu2-setup.c
> which maybe somewhat related
>
> but I can't find something similar for avila.
> Is there a way of getting a proper mac-address on the avilas?
>
The old patch
(https://dev.openwrt.org/browser/trunk/target/linux/ixp4xx/patches/740-avila_loft_mac_platform.patch)
has to be ported to the new kernel, as the mac addresses are stored in the
EEPROM for the Avilas. I didn't have time to do that, yet.
Imre
_______________________________________________
openwrt-devel mailing list
[email protected]
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel