Thanks!

https://github.com/linux-sunxi/u-boot-sunxi/commit/299c37419e0b8c7270e145500894e49355afcdfb


lör 2014-06-28 klockan 12:48 +0100 skrev bruce bushby:
> 
> 
> 
> 
> Fixed.
> 
> 
> 
> 
> U-Boot SPL 2014.04 (Jun 28 2014 - 12:19:24)
> 
> Board: A20-SOM
> DRAM: 1024 MiB
> CPU: 960000000Hz, AXI/AHB/APB: 3/2/2
> spl: not an uImage at 1600
> 
> 
> 
> 
> U-Boot 2014.04 (Jun 28 2014 - 12:19:24) Allwinner Technology
> 
> 
> CPU:   Allwinner A20 (SUN7I)
> Board: A20-SOM
> 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# 
> sun7i# ping 192.100.1.10
> Speed: 100, full duplex
> Using dwmac.1c50000 device
> host 192.100.1.10 is alive
> sun7i# 
> 
> 
> 
> 
> 
> 
> 
> 
> --- ./boards.cfg 2014-06-28 11:20:49.695132898 +0100
> +++ ./boards.cfg 2014-06-28 11:23:27.311513187 +0100
> @@ -383,6 +383,7 @@ Active  arm         armv7          sunxi
>  Active  arm         armv7          sunxi       -               sunxi
> A13_MID                              sun5i:A13_MID,SPL,CONS_INDEX=2
> 
>                            -
>  Active  arm         armv7          sunxi       -               sunxi
> A20-OLinuXino_MICRO
>  sun7i:A20_OLINUXINO_M,CONS_INDEX=1,STATUSLED=226,SPL,SUNXI_EMAC
> -
>  Active  arm         armv7          sunxi       -               sunxi
> A20-OLinuXino_MICRO_FEL
>  sun7i:A20_OLINUXINO_M,CONS_INDEX=1,STATUSLED=226,SPL_FEL,SUNXI_EMAC
> -
> +Active  arm         armv7          sunxi       -               sunxi
> A20-SOM
>  sun7i:A20_SOM,SPL,SUNXI_GMAC,RGMII,STATUSLED1=245,FAST_MBUS
> -
>  Active  arm         armv7          sunxi       -               sunxi
> Auxtek-T003
>  sun5i:AUXTEK_T003,SPL,AXP152_POWER,STATUSLED=34
> -
>  Active  arm         armv7          sunxi       -               sunxi
> Auxtek-T004
>  sun5i:AUXTEK_T004,SPL,AXP152_POWER,STATUSLED=34
> -
>  Active  arm         armv7          sunxi       -               sunxi
> ba10_tv_box                          sun4i:BA10_TV_BOX,SPL,SUNXI_EMAC
> 
>                            -
> 
> 
> --- ./board/sunxi/Makefile 2014-06-28 12:14:20.554482957 +0100
> +++ ./board/sunxi/Makefile 2014-06-28 12:16:38.838088151 +0100
> @@ -17,6 +17,7 @@ obj-$(CONFIG_A13_OLINUXINO) += dram_a13_
>  obj-$(CONFIG_A13_OLINUXINOM) += dram_a13_oli_micro.o
>  obj-$(CONFIG_A13_MID) += dram_a13_mid.o
>  obj-$(CONFIG_A20_OLINUXINO_M) += dram_sun7i_384_1024_iow16.o
> +obj-$(CONFIG_A20_SOM) += dram_sun7i_384_1024_iow16.o
>  obj-$(CONFIG_AUXTEK_T003) += dram_auxtek_t003.o
>  # This is not a typo, uses the same mem settings as the
> a10s-olinuxino-m
>  obj-$(CONFIG_AUXTEK_T004) += dram_a10s_olinuxino_m.o
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> On Fri, Jun 27, 2014 at 7:52 PM, bruce bushby <[email protected]>
> wrote:
>         
>         sadly the a20-som and pcduino3 are sufficiently different that
>         the Linksprit_pcDuino3 uboot image doesn't work :(
>         
>         
>         U-Boot 2014.04 (Jun 27 2014 - 12:49:04) Allwinner Technology
>         
>         
>         CPU:   Allwinner A20 (SUN7I)
>         Board: Linksprite_pcDuino3
>         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# 
>         sun7i# ping 192.100.1.10
>         ping failed; host 192.100.1.10 is not alive
>         sun7i#
>         
>         
>         
>         
>         
>         
>         
>         
>         
>         
>         
>         
>         On Fri, Jun 27, 2014 at 1:23 PM, bruce bushby
>         <[email protected]> wrote:
>                 Hi Pillar 
>                 
>                 
>                 I was only testing from uboot, I used ping and tftp.
>                 
>                 
>                 I can't thank you enough for your response, I'm going
>                 to try pcDuino3 uboot and uImage as soon as I get home
>                 and will post the results. I'm hoping your use of GMAC
>                 resolves my issue.
>                 
>                 
>                 
>                 
>                 Bruce
>                 
>                 
>                 
>                 
>                 
>                 
>                 On Fri, Jun 27, 2014 at 10:32 AM, 左宝柱
>                 <[email protected]> wrote:
>                         pcDuinov3 uboot (running on A20-SOM) ethernet
>                         else working.
>                         U-Boot 2014.04-01537-g257ae94 (Jun 26 2014 -
>                         11:12:14) Allwinner Technology
>                         
>                         
>                         CPU:   Allwinner A20 (SUN7I)
>                         Board: Linksprite_pcDuino3
>                         I2C:   ready
>                         DRAM:  1 GiB
>                         MMC:   SUNXI SD/MMC: 0
>                         *** Warning - bad CRC, using default
>                         environment
>                         
>                         
>                         In:    serial
>                         Out:   serial
>                         Err:   serial
>                         Net:   dwmac.1c50000
>                         Hit any key to stop autoboot:  0 
>                         reading uEnv.txt
>                         322 bytes read in 16 ms (19.5 KiB/s)
>                         Loaded environment from uEnv.txt
>                         Running uenvcmd ...
>                         Speed: 100, full duplex
>                         BOOTP broadcast 1
>                         DHCP client bound to address 192.168.1.119
>                         Speed: 100, full duplex
>                         Using dwmac.1c50000 device
>                         TFTP from server 192.168.1.100; our IP address
>                         is 192.168.1.119
>                         Filename 'arch/arm/boot/uImage'.
>                         Load address: 0x46000000
>                         Loading:
>                         
> #################################################################
>                         
> #################################################################
>                         
> #################################################################
>                         
> #################################################################
>                         
> #################################################################
>                         
> #################################################################
>                         
> #################################################################
>                         
> #################################################################
>                         #################################################
>                         340.8 KiB/s
>                         done
>                         Bytes transferred = 8351104 (7f6d80 hex)
>                         Speed: 100, full duplex
>                         Using dwmac.1c50000 device
>                         TFTP from server 192.168.1.100; our IP address
>                         is 192.168.1.119
>                         Filename
>                         'arch/arm/boot/dts/sun7i-a20-pcduino3.dtb'.
>                         Load address: 0x49000000
>                         Loading: ##
>                         294.9 KiB/s
>                         done
>                         Bytes transferred = 21183 (52bf hex)
>                         ## Booting kernel from Legacy Image at
>                         46000000 ...
>                            Image Name:
>                         Linux-3.15.0-rc6-01550-g119918d-
>                            Image Type:   ARM Linux Kernel Image
>                         (uncompressed)
>                            Data Size:    8351040 Bytes = 8 MiB
>                            Load Address: 40008000
>                            Entry Point:  40008000
>                            Verifying Checksum ... OK
>                         ## Flattened Device Tree blob at 49000000
>                            Booting using the fdt blob at 0x49000000
>                            Loading Kernel Image ... OK
>                            Using Device Tree in place at 49000000, end
>                         490082be
>                         
>                         
>                         Starting kernel ...
>                         
>                         
>                         [    0.000000] Booting Linux on physical CPU
>                         0x0
>                         
>                         
>                         
>                         
>                         Do you test ethernet  other way?
>                         
>                         
>                         
>                         
>                         Pillar
>                         
>                 
>                 

-- 
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.

Reply via email to