On Sat, 12 Oct 2013, Patrick Wildt wrote:
Am 11.10.2013 um 22:46 schrieb Artturi Alm artturi@gmail.com:
On 10/11/13 20:39, Markus Hennecke wrote:
About ethaddr, have you tried pinging another host from u-boot?
Does your u-boot support emac? the one i initially downloaded for
cubieboard2 did not iirc., if you can boot the bsd.umg over network,
and still get 00:00:00:00:00:00, i will power up my cb2 to fix awe,
as it's so far untested on A20 afaik.
Maybe Allwinner stores the mac address in some magic register? i.MX6
does that. u-boot might be able to push the ethaddr env using the FDT.
I took the u-boot from a linux sd-card image, it supports emac:
U-Boot 2013.07-07795-g645e901-dirty (Aug 18 2013 - 16:15:54) Allwinner
Technology
CPU: Allwinner A20 (SUN7I)
Board: Cubieboard2
I2C: ready
DRAM: 1 GiB
MMC: SUNXI SD/MMC: 0
*** Warning - bad CRC, using default environment
In:serial
Out: serial
Err: serial
Net: emac
Hit any key to stop autoboot: 0
It will set the mac address as soon as I do network stuff from within
u-boot, not if only booting the bsd.umg. So looks like it works within the
limited options we have right now.
Kind regards
Markus