Date: Sun, 17 Apr 2016 15:20:34 +0000 From: =?utf-8?B?V2Vpw58sICBEci4gSsO8cmdlbg==?= <weiss@uni-mainz.de> To: 'Daniel Braniss' <danny@cs.huji.ac.il>, freebsd-arm <freeBSD-arm@freebsd.org> Subject: RE: Odroidc1+ ethernet(dwc0) not working Message-ID: <da68a99a7c924cee8d3dd78e7dbc3170@uni-mainz.de> In-Reply-To: <773D8BC8-EA89-42AA-A251-9DE37F7B9750@cs.huji.ac.il> References: <A0F7E1EB-3208-4DEB-8E3E-538E2D92296D@cs.huji.ac.il> <773D8BC8-EA89-42AA-A251-9DE37F7B9750@cs.huji.ac.il>
index | next in thread | previous in thread | raw e-mail
It seems the FreeBSD driver is only able to use the
mac address which is already programmed into the nic.
So if you use a command in u-boot, which needs and
initializes the network, FreeBSD uses the same mac
address as u-boot. If not it seems to be random.
Actually, this comment is from the driver:
* Try to recover a MAC address from the running hardware. If there's
* something non-zero there, assume the bootloader did the right thing
* and just use it.
*
* Otherwise, set the address to a convenient locally assigned address,
* 'bsd' + random 24 low-order bits. 'b' is 0x62, which has the locally
* assigned bit set, and the broadcast/multicast bit clear.
*/
Regards
Juergen
> -----Original Message-----
> From: owner-freebsd-arm@freebsd.org [mailto:owner-freebsd-arm@freebsd.org] On Behalf Of
> Daniel Braniss
> Sent: Saturday, April 16, 2016 4:40 PM
> To: freebsd-arm
> Subject: Re: Odroidc1+ ethernet(dwc0) not working
>
>
> > On 15 Apr 2016, at 10:29 AM, Daniel Braniss <danny@cs.huji.ac.il> wrote:
> >
> > Hi,
> > after cleaning my act, I now have a working current, but
> > the dwc ethernet is not. I can netboot, so the hardware/link is ok,
> > any hints? BTW, kenv is also empty ...
>
> very strange,
> 1- doing a netboot (bootp the go …) loads the kernel, starts up but the dwc, is
> not working
> 2- booting from the sd ,the dwc works, but has a different mac (ethernet address)
>
> go figure,
>
> danny
>
> _______________________________________________
> freebsd-arm@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-arm
> To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org"
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?da68a99a7c924cee8d3dd78e7dbc3170>
