[Arm-netbook] eoma68-a20 ethernet testing

luke.leighton luke.leighton at gmail.com
Thu Sep 5 20:21:12 BST 2013


On Thu, Sep 5, 2013 at 7:52 PM, joem <joem at martindale-electric.co.uk> wrote:
>
>
>>> ethaddr.  henrik typed the command from memory.  setenv ethaddr.
>>>
>>
>>
>>> > Hit any key to stop autoboot:  0       (pressed a key to stop the count down here)
>>> > sun7i#
>>> > sun7i# setenv macaddr 00:00:00:00:00:01
>>> > sun7i# setenv ipaddr 172.16.1.25
>>> > sun7i# setenv netmask 255.255.255.128
>>> > sun7i# ping 172.16.1.1
>>> > ENET Speed is 100 Mbps - FULL duplex connection
>>> > *** ERROR: `ethaddr' not set
>>> > ping failed; host 172.16.1.1 is not alive
>>> > sun7i#
>>
>>
>> Checked uboot documentation and their notes agrees with suggestion.
>> I do it this evening.
>
> : awesome
>
> ethaddr instead of macaddr seems to work 100%:
>
>
> CPU:   Allwinner A20 (SUN7I)
> Board: EOMA68_A20_FEL
> I2C:   ready
> DRAM:  1 GiB
> MMC:   SUNXI SD/MMC: 0
> Card did not respond to voltage select!
> MMC init failed
> Using default environment
>
> In:    serial
> Out:   serial
> Err:   serial
> Net:   emac
> Hit any key to stop autoboot:  0     (pressed a key to stop the count down here)
> sun7i# setenv ethaddr 00:00:00:00:00:01
> sun7i# setenv ipaddr 172.16.1.25
> sun7i# setenv netmask 255.255.255.128
> sun7i# ping 172.16.1.1
> ENET Speed is 100 Mbps - FULL duplex connection
> Using emac device
> host 172.16.1.1 is alive
> sun7i#

 f****n-A!  so that's.... w00t!   i think 9 out of 9 tested.  i think
we can safely say that ethernet's working.

> --
> Next the sd/mmc

that's easy.  put in an sd/mmc card and do "mmc rescan".   then... i
think you can do tricks like "fatls mmc 0".  do "help fatls" and it
should show you the syntax.  assuming you've got a FAT-formatted sd
card you should see a complete top-level directory listing.

you're pretty much there, joe, for booting your own kernel and OS.

l.



More information about the arm-netbook mailing list