Dlink DIR-825 B1 status [updated] [status 3 - MAC addrs]
Warner Losh
imp at bsdimp.com
Thu Aug 22 06:28:39 UTC 2013
Sure would be a lot simpler if we had FDT for these platforms... Sadly we don't, but I really like the idea of the machdep code reading this early in boot...
Warner
On Aug 21, 2013, at 11:00 PM, Adrian Chadd wrote:
> 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
>>
> _______________________________________________
> freebsd-embedded at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-embedded
> To unsubscribe, send any mail to "freebsd-embedded-unsubscribe at freebsd.org"
More information about the freebsd-embedded
mailing list