Hello I wanted to reach out to other users of A20-SOM and ask if they have tested their uboot ethernet? So far I have found it doesn't work.
I tried building uboot from both repos: https://github.com/linux-sunxi/u-boot-sunxi https://github.com/jwrdegoede/u-boot-sunxi Using various board configs: A20-OLinuXino_MICRO Cubieboard2 and then I tried the uboot from an official image: a20-SOM-debian34_79_video_accel_release_1.7z Nothing works .....except for "Cubietruck", I am able to get the network working using an image built for "Cubietruck" I think the issue somehow relates to RGMII as this is a difference I see when comparing A20-OLinuXino_MICRO and Cubietruck "dts" files. Cubietruck uboot (running on A20-SOM) ethernet working: U-Boot 2014.04 (Jun 24 2014 - 23:03:23) Allwinner Technology CPU: Allwinner A20 (SUN7I) Board: Cubietruck I2C: ready DRAM: 1 GiB MMC: SUNXI SD/MMC: 0 In: serial Out: serial Err: serial Net: dwmac.1c50000 Hit any key to stop autoboot: 0 sun7i# tftp 0x46000000 uImage Speed: 100, full duplex Using dwmac.1c50000 device TFTP from server 192.100.1.10; our IP address is 192.100.1.19 Filename 'uImage'. Load address: 0x46000000 Loading: ################################################################# ################################################################# ################################################ 3.7 MiB/s done Bytes transferred = 2607919 (27cb2f hex) sun7i# tftp 0x49000000 sun7i-a20-cubietruck.dtb Speed: 100, full duplex Using dwmac.1c50000 device TFTP from server 192.100.1.10; our IP address is 192.100.1.19 Filename 'sun7i-a20-cubietruck.dtb'. Load address: 0x49000000 Loading: ## 2.9 MiB/s done Bytes transferred = 21639 (5487 hex) sun7i# Official A20-SOM uboot from (a20-SOM-debian34_79_video_accel_release_1.7z) : U-Boot SPL 2014.04-10653-g3f5ff92 (May 12 2014 - 11:31:13) Board: A20-OLinuXino_MICRO DRAM: 1024 MiB CPU: 960000000Hz, AXI/AHB/APB: 3/2/2 spl: not an uImage at 1600 U-Boot 2014.04-10653-g3f5ff92 (May 12 2014 - 11:31:13) Allwinner Technology CPU: Allwinner A20 (SUN7I) Board: A20-OLinuXino_MICRO I2C: ready DRAM: 1 GiB MMC: SUNXI SD/MMC: 0 In: serial Out: serial Err: serial Net: emac Hit any key to stop autoboot: 0 sun7i# printenv autoboot=run loadkernel && run setargs && true && bootm 0x48000000 baudrate=115200 boot_ram=saved_stdout=$stdout;setenv stdout nc;if iminfo 0x41000000; then true; setenv stdout $saved_stdout; source 0x41000000;else setenv stdout $saved_stdout;fi bootcmd=if run loadbootenv; then echo Loaded environment from ${bootenv};env import -t ${scriptaddr} ${filesize};fi;if test -n "${uenvcmd}"; then echo Running uenvcmd ...;run uenvcmd;fi;if run loadbootscr; then ec; bootdelay=2 bootenv=uEnv.txt bootm_size=0x10000000 bootscr=boot.scr console=ttyS0,115200 device=mmc ethact=emac ethaddr=12:34:56:78:99:aa ipaddr=192.100.1.19 kernel=uImage loadbootenv=fatload $device $partition $scriptaddr ${bootenv} || ext2load $device $partition $scriptaddr boot/${bootenv} || ext2load $device $partition $scriptaddr ${bootenv} loadbootscr=fatload $device $partition $scriptaddr ${bootscr} || ext2load $device $partition $scriptaddr boot/${bootscr} ||ext2load $device $partition $scriptaddr ${bootscr} loadkernel=if bootpath=/boot/ && ext2load $device $partition 0x43000000 ${bootpath}${script} && ext2load $device $partition 0x48000000 ${bootpath}${kernel};then true; elif bootpath=/ && fatload $device $partition i loglevel=8 panicarg=panic=10 partition=0:1 script=script.bin scriptaddr=0x44000000 setargs=if test -z \\"$root\\"; then if test \\"$bootpath\\" = "/boot/"; then root="/dev/mmcblk0p1 rootwait"; else root="/dev/mmcblk0p2 rootwait"; fi; fi; setenv bootargs console=${console} root=${root} loglevel=$} stderr=serial stdin=serial stdout=serial Environment size: 1932/131068 bytes sun7i# ping 192.100.1.10 ENET Speed is 100 Mbps - FULL duplex connection Using emac device ping failed; host 192.100.1.10 is not alive sun7i# -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
