Its here:
http://ww1.microchip.com/downloads/en/DeviceDoc/9221.pdf

Section 3.9.1 I think

Philip

On 24 Oct 2013, at 06:44, Jason Cipriani <jason.cipriani@gmail.com> wrote:

Thanks! I will compile it and try it tomorrow. Presuming it does work, I have another question. The linked thread describes the usage of ethtool with LAN9221 like so:

# ethtool -E eth0 offset 0 value 165
# ethtool -E eth0 offset 1 value <1st byte of MAC address>
# ethtool -E eth0 offset 2 value <2nd byte of MAC address>
# ethtool -E eth0 offset 3 value <3rd byte of MAC address>
# ethtool -E eth0 offset 4 value <4th byte of MAC address>
# ethtool -E eth0 offset 5 value <5th byte of MAC address>
# ethtool -E eth0 offset 6 value <6th byte of MAC address>

How did the author figure out that 165 at offset 0 was the magic number, and that the MAC address was offsets 1-6? Should I expect all work with a Gumstix to require arcane knowledge of memory locations and magic numbers? Figuring out how to read the die ID# was just as obscure.

Jason


On Thu, Oct 24, 2013 at 12:54 AM, j <vwyodapink@gmail.com> wrote:
On 10/23/2013 09:50 PM, Jason Cipriani wrote:
I want to do it at boot (or ideally, as soon as the device is powered on). I can already set it in /etc/network/interfaces, which is essentially the same effect as using ifconfig, but for reasons too long-winded and complicated to get into here, that's not ideal. Surely setting the MAC address can't be that difficult, right? Is there a particular rationale for u-boot's "ethaddr" not being honored... ?



On Thu, Oct 24, 2013 at 12:41 AM, AKS <aungkyas@gmail.com> wrote:
ifconfig?

On 10/24/13, Jason Cipriani <jason.cipriani@gmail.com> wrote:
> Thanks. I found that before posting here. I don't have ethtool and I don't
> know where to get it. It's not present on my system and not in Linaro's
> package repositories.
>
> Jason
>
>
> On Wed, Oct 23, 2013 at 11:54 PM, Adam Reynolds
> <suicidaleggroll@gmail.com>wrote:
>
>>  This thread has instructions for setting the MAC in the EEPROM
>>
>> http://gumstix.8.x6.nabble.com/MAC-Address-td4512973.html
>>
>> -Adam
>>
>>
>> On 10/23/2013 09:42 PM, Jason Cipriani wrote:
>>
>>  I have a Gumstix Overo WaterSTORM COM, running a Linaro setup off an SD
>> card. It is using the smsc911x ethernet driver.
>>
>>  I want to set the first ethernet interface's MAC address on boot, not
>> via /etc/network/interfaces.
>>
>>  I can set u-boots ethaddr environment variable. However, when I do this,
>> I get the following message on boot:
>>
>> Net:   smc911x-0
>> Warning: smc911x-0 MAC addresses don't match:
>> Address in SROM is         00:15:c9:28:fe:08
>> Address in environment is  fa:fa:fa:11:22:11
>>
>>  Then the SROM address is used.
>>
>> I want to use the address from the environment (or have the driver read
>> the environment instead of the SROM).
>>
>>  How do I do this? How can I reprogram the EEPROM with an explicitly
>> chosen MAC address?
>>
>>  Thanks,
>>  Jason
>>
>>
>> ------------------------------------------------------------------------------
>> October Webinars: Code for Performance
>> Free Intel webinars can help you accelerate application performance.
>> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most
>> from
>> the latest Intel processors and coprocessors. See abstracts and register
>> >http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk
>>
>>
>>
>> _______________________________________________
>> gumstix-users mailing
>> listgumstix-users@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/gumstix-users
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> October Webinars: Code for Performance
>> Free Intel webinars can help you accelerate application performance.
>> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most
>> from
>> the latest Intel processors and coprocessors. See abstracts and register
>> >
>> http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk
>> _______________________________________________
>> gumstix-users mailing list
>> gumstix-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gumstix-users
>>
>>
>

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk
_______________________________________________
gumstix-users mailing list
gumstix-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gumstix-users



------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk


_______________________________________________
gumstix-users mailing list
gumstix-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gumstix-users
Why not just compile it yourself? https://www.kernel.org/pub/software/network/ethtool/ethtool-3.11.tar.gz which is the most current version. But if that is not in there repos I doubt any other tools that could help would be as well. Not familar with linario, I prefer Arch.

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk
_______________________________________________
gumstix-users mailing list
gumstix-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gumstix-users


------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk_______________________________________________
gumstix-users mailing list
gumstix-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gumstix-users