Dlink DIR-825 B1 status [updated] [status 3 - MAC addrs]

Adrian Chadd adrian at freebsd.org
Thu Aug 22 05:00:59 UTC 2013


Hi,

Right. Well, what I'd like to see in the short term is the .hints hack to
pull the MAC address(es) out - if_arge.c has some hack to do this. It's
terrible but it works.

In the longer term I'd like to see there be some generic way in the machdep
code to read in things like macaddresses from EEPROM early on, then
populate kenv entries with the relevant info. We can then modify if_arge,
if_ath to look at the relevant kenv/hints for "overrides".



-adrian



On 21 August 2013 10:16, Sean Bruno <sean_bruno at yahoo.com> wrote:

> On Sun, 2013-08-18 at 12:21 -0700, Adrian Chadd wrote:
> > you won't; it's a hacked up uboot. Sigh.
> >
> > Anyway - Just look at the board config file (a .c file) in openwrt for
> > the ap96.
> >
> >
> >
> > -adrian
> >
> >
>
> Huh ... it looks like the caldata and the mac addrs are at "special"
> locations as the openwrt folks have special functions to read them in
> their "mach-dir-825-b1.c"
>
> I suspect that with this as a road map I can "do something" to try and
> pull in their specific methods to do stuff tonight.  Is this the right
> path to go down?
>
> Sean
>
> p.s. current dmesg with USB attach working
> http://people.freebsd.org/~sbruno/dir_825_dmesg.txt
>


More information about the freebsd-embedded mailing list