OLIMEX A20-SOM: requires working uboot

473 views
Skip to first unread message

bruce bushby

unread,
Jun 27, 2014, 4:55:24 AM6/27/14
to linux...@googlegroups.com

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: 

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# 



Henrik Nordström

unread,
Jun 27, 2014, 5:25:33 AM6/27/14
to linux...@googlegroups.com
fre 2014-06-27 klockan 01:55 -0700 skrev bruce bushby:

> Using various board configs:
> A20-OLinuXino_MICRO
> Cubieboard2

These are both 100Mbps EMAC designs.

> Nothing works .....except for "Cubietruck", I am able to get the
> network working using an image built for "Cubietruck"

Cubietruck is 1Gbps GMAC design.

> I think the issue somehow relates to RGMII as this is a difference I
> see when comparing A20-OLinuXino_MICRO and Cubietruck "dts" files.

The difference is in which u-boot Ethernet driver is being used.

emac (100Mbps) or dwmac (1Gbps).

A20 have both in the hardware. But they differ slightly in how the PHY
is wired.

Regards
Henrik


左宝柱

unread,
Jun 27, 2014, 5:32:31 AM6/27/14
to linux...@googlegroups.com
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

bruce bushby

unread,
Jun 27, 2014, 8:23:15 AM6/27/14
to linux...@googlegroups.com
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




--
You received this message because you are subscribed to a topic in the Google Groups "linux-sunxi" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/linux-sunxi/nRXlsqemDt8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to linux-sunxi...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

bruce bushby

unread,
Jun 27, 2014, 2:53:05 PM6/27/14
to linux...@googlegroups.com

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#

bruce bushby

unread,
Jun 28, 2014, 7:49:01 AM6/28/14
to linux...@googlegroups.com


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







Henrik Nordström

unread,
Jun 28, 2014, 9:00:42 AM6/28/14
to linux...@googlegroups.com

Luc Verhaegen

unread,
Jun 28, 2014, 9:23:43 AM6/28/14
to linux...@googlegroups.com
On Sat, Jun 28, 2014 at 03:00:34PM +0200, Henrik Nordström wrote:
> Thanks!
>
> https://github.com/linux-sunxi/u-boot-sunxi/commit/299c37419e0b8c7270e145500894e49355afcdfb

And nobody mentioned http://linux-sunxi.org/New_Device_howto

Amazing. Now we have no wiki page and no fex file. Great.

Luc Verhaegen.

bruce bushby

unread,
Jun 28, 2014, 9:59:12 AM6/28/14
to linux...@googlegroups.com

I will add a page, still trying to build a kernel using the dts file I copied from a similar device. Can't promise I'll get it done this weekend though, work and family commitments etc



ditma...@gmail.com

unread,
Jun 28, 2014, 1:03:06 PM6/28/14
to linux...@googlegroups.com
One important step of the device howto is
Step 3: Retrieve crucial information from the stock OS
Have you still the original os on your board? Is there an original fex available ?

Henrik Nordström

unread,
Jun 28, 2014, 2:20:10 PM6/28/14
to linux...@googlegroups.com
What original OS?

A20-SOM do not have a flash memory, or pretty much anything besides A20
+ AXP + memory + SD slot. The rest is dependent on what you build around
it.

Regards
Henrik

bruce bushby

unread,
Jun 28, 2014, 2:41:41 PM6/28/14
to linux...@googlegroups.com

I think the original image is still in the nand ...although I've never been able to interrupt the POST to get to a uboot prompt so not sure how I could dump the FEX file?

The A20-SOM appears to be the same as the A20-OLINUXINO-MICRO-4GB ....just the network issue in the uboot was getting in the way.



At last she boots mainline   :))


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# setenv bootargs console=ttyS0,115200 root=/dev/mmcblk0p2 rootwait panic=10
sun7i# fatload mmc 0 0x46000000 uImage
reading uImage
4915088 bytes read in 247 ms (19 MiB/s)
sun7i# fatload mmc 0 0x49000000 sun7i-a20-som.dtb
reading sun7i-a20-som.dtb
22285 bytes read in 28 ms (776.4 KiB/s)
sun7i# bootm 0x46000000 - 0x49000000
## Booting kernel from Legacy Image at 46000000 ...
   Image Name:   Linux-3.16.0-rc2
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    4915024 Bytes = 4.7 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
   Loading Device Tree to 4fff7000, end 4ffff70c ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 3.16.0-rc2 (br...@core.home.local) (gcc version 4.9.0 (Buildroot 2014.08-git-00381-g27a1f09-dirty) ) #1 SMP Sat Jun 28 18:04:25 BST 2014
[    0.000000] CPU: ARMv7 Processor [410fc074] revision 4 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine model: Olimex A20-SOM
[    0.000000] cma: CMA: reserved 64 MiB at 6b800000
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: Using PSCI v0.1 Function IDs from DT
[    0.000000] PERCPU: Embedded 8 pages/cpu @eafb2000 s8448 r8192 d16128 u32768
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 260624
[    0.000000] Kernel command line: console=ttyS0,115200 root=/dev/mmcblk0p2 rootwait panic=10
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Memory: 962836K/1048576K available (6459K kernel code, 890K rwdata, 2564K rodata, 656K init, 304K bss, 85740K reserved, 270336K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xffe00000   (2048 kB)
[    0.000000]     vmalloc : 0xf0000000 - 0xff000000   ( 240 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xef800000   ( 760 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0208000 - 0xc0ad81d0   (9025 kB)
[    0.000000]       .init : 0xc0ad9000 - 0xc0b7d100   ( 657 kB)
[    0.000000]       .data : 0xc0b7e000 - 0xc0c5cb80   ( 891 kB)
[    0.000000]        .bss : 0xc0c5cb88 - 0xc0ca8bc8   ( 305 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000]  RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=2.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] Architected cp15 timer(s) running at 24.00MHz (phys).
[    0.000008] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 2863311519744ns
[    0.000017] Switching to timer-based delay loop
[    0.001042] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956969942ns
[    0.001420] sched_clock: 32 bits at 160MHz, resolution 6ns, wraps every 26843545593ns
[    0.001680] Console: colour dummy device 80x30
[    0.001711] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=120000)
[    0.001725] pid_max: default: 32768 minimum: 301
[    0.001874] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.001887] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.002475] CPU: Testing write buffer coherency: ok
[    0.002770] /cpus/cpu@0 missing clock-frequency property
[    0.002786] /cpus/cpu@1 missing clock-frequency property
[    0.002798] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.002857] Setting up static identity map for 0x40820028 - 0x408200c0
[    0.004963] CPU1: Booted secondary processor
[    0.005009] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.005082] Brought up 2 CPUs
[    0.005101] SMP: Total of 2 processors activated.
[    0.005107] CPU: All CPU(s) started in HYP mode.
[    0.005112] CPU: Virtualization extensions available.
[    0.005797] devtmpfs: initialized
[    0.009462] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 4
[    0.009879] pinctrl core: initialized pinctrl subsystem
[    0.010413] regulator-dummy: no parameters
[    0.018014] NET: Registered protocol family 16
[    0.019730] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.021359] cpuidle: using governor ladder
[    0.021379] cpuidle: using governor menu
[    0.027364] No ATAGs?
[    0.027409] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.027421] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.027574] EXYNOS: PMU not supported
[    0.029195] Serial: AMBA PL011 UART driver
[    0.053105] edma-dma-engine edma-dma-engine.0: Can't allocate PaRAM dummy slot
[    0.053140] edma-dma-engine: probe of edma-dma-engine.0 failed with error -5
[    0.053466] reg-fixed-voltage ahci-5v: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/ahci_pwr_pin@0, deferring probe
[    0.053484] platform ahci-5v: Driver reg-fixed-voltage requests probe deferral
[    0.053506] reg-fixed-voltage usb1-vbus: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/usb1_vbus_pin@0, deferring probe
[    0.053518] platform usb1-vbus: Driver reg-fixed-voltage requests probe deferral
[    0.053538] reg-fixed-voltage usb2-vbus: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/usb2_vbus_pin@0, deferring probe
[    0.053551] platform usb2-vbus: Driver reg-fixed-voltage requests probe deferral
[    0.053732] vcc3v0: 3000 mV 
[    0.053950] vcc3v3: 3300 mV 
[    0.054180] axp-ipsout: 5000 mV 
[    0.055944] vgaarb: loaded
[    0.056598] SCSI subsystem initialized
[    0.057214] usbcore: registered new interface driver usbfs
[    0.057282] usbcore: registered new interface driver hub
[    0.057419] usbcore: registered new device driver usb
[    0.058085] Linux video capture interface: v2.00
[    0.058150] pps_core: LinuxPPS API ver. 1 registered
[    0.058157] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giom...@linux.it>
[    0.058187] PTP clock support registered
[    0.058265] EDAC MC: Ver: 3.0.0
[    0.059095] Advanced Linux Sound Architecture Driver Initialized.
[    0.060225] Switched to clocksource arch_sys_counter
[    0.069967] NET: Registered protocol family 2
[    0.070714] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.070805] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    0.070927] TCP: Hash tables configured (established 8192 bind 8192)
[    0.070996] TCP: reno registered
[    0.071011] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    0.071070] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    0.071308] NET: Registered protocol family 1
[    0.071714] RPC: Registered named UNIX socket transport module.
[    0.071728] RPC: Registered udp transport module.
[    0.071734] RPC: Registered tcp transport module.
[    0.071740] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.072528] hw perfevents: enabled with ARMv7 Cortex-A7 PMU driver, 5 counters available
[    0.073990] futex hash table entries: 512 (order: 3, 32768 bytes)
[    0.085636] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.086381] NFS: Registering the id_resolver key type
[    0.086462] Key type id_resolver registered
[    0.086470] Key type id_legacy registered
[    0.086533] msgmni has been set to 1480
[    0.087023] bounce: pool size: 64 pages
[    0.087269] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    0.087289] io scheduler noop registered
[    0.087302] io scheduler deadline registered
[    0.087477] io scheduler cfq registered (default)
[    0.088276] platform 1c13400.phy: Driver sun4i-usb-phy requests probe deferral
[    0.091987] sun7i-a20-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.149961] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    0.152467] console [ttyS0] disabled
[    0.172636] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 33, base_baud = 1500000) is a U6_16550A
[    0.861108] console [ttyS0] enabled
[    0.885848] 1c29800.serial: ttyS1 at MMIO 0x1c29800 (irq = 51, base_baud = 1500000) is a U6_16550A
[    0.915986] 1c29c00.serial: ttyS2 at MMIO 0x1c29c00 (irq = 52, base_baud = 1500000) is a U6_16550A
[    0.925619] Serial: IMX driver
[    0.928929] msm_serial: driver initialized
[    0.933427] STMicroelectronics ASC driver initialized
[    0.939090] serial: Freescale lpuart driver
[    0.943491] [drm] Initialized drm 1.1.0 20060810
[    0.952977] loop: module loaded
[    0.957702] platform 1c18000.sata: Driver ahci-sunxi requests probe deferral
[    0.968388] CAN device driver interface
[    0.973826] stmmaceth 1c50000.ethernet: no regulator found
[    0.979410] stmmaceth 1c50000.ethernet: no reset control found
[    0.985254]  Ring mode enabled
[    0.988306]  No HW DMA feature register supported
[    0.992838]  Normal descriptors
[    0.996166]  TX Checksum insertion supported
[    1.004430] libphy: stmmac: probed
[    1.007865] eth0: PHY ID 001cc912 at 1 IRQ POLL (stmmac-0:01) active
[    1.014690] pegasus: v0.9.3 (2013/04/25), Pegasus/Pegasus II USB Ethernet driver
[    1.022187] usbcore: registered new interface driver pegasus
[    1.027964] usbcore: registered new interface driver asix
[    1.033432] usbcore: registered new interface driver ax88179_178a
[    1.039587] usbcore: registered new interface driver cdc_ether
[    1.045500] usbcore: registered new interface driver smsc75xx
[    1.051322] usbcore: registered new interface driver smsc95xx
[    1.057126] usbcore: registered new interface driver net1080
[    1.062842] usbcore: registered new interface driver cdc_subset
[    1.068824] usbcore: registered new interface driver zaurus
[    1.074528] usbcore: registered new interface driver cdc_ncm
[    1.080230] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.086761] ehci-pci: EHCI PCI platform driver
[    1.091270] ehci-platform: EHCI generic platform driver
[    1.096701] platform 1c14000.usb: Driver ehci-platform requests probe deferral
[    1.104005] platform 1c1c000.usb: Driver ehci-platform requests probe deferral
[    1.111333] ehci-omap: OMAP-EHCI Host Controller driver
[    1.116678] ehci-orion: EHCI orion driver
[    1.120795] SPEAr-ehci: EHCI SPEAr driver
[    1.124891] tegra-ehci: Tegra EHCI driver
[    1.129012] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.135234] ohci-pci: OHCI PCI platform driver
[    1.139745] ohci-platform: OHCI generic platform driver
[    1.145108] platform 1c14400.usb: Driver ohci-platform requests probe deferral
[    1.152420] platform 1c1c400.usb: Driver ohci-platform requests probe deferral
[    1.159712] ohci-omap3: OHCI OMAP3 driver
[    1.163839] SPEAr-ohci: OHCI SPEAr driver
[    1.168501] usbcore: registered new interface driver usb-storage
[    1.175962] mousedev: PS/2 mouse device common for all mice
[    1.183511] sunxi-rtc 1c20d00.rtc: rtc core: registered rtc-sunxi as rtc0
[    1.190330] sunxi-rtc 1c20d00.rtc: RTC enabled
[    1.195390] i2c /dev entries driver
[    1.202381] usbcore: registered new interface driver uvcvideo
[    1.208178] USB Video Class driver (1.1.1)
[    1.212322] gspca_main: v2.14.0 registered
[    1.220585] sunxi-wdt 1c20c90.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[    1.229393] sdhci: Secure Digital Host Controller Interface driver
[    1.235591] sdhci: Copyright(c) Pierre Ossman
[    1.240591] Synopsys Designware Multimedia Card Interface Driver
[    1.247394] sunxi-mmc 1c0f000.mmc: No vqmmc regulator found
[    1.253675] sunxi-mmc 1c0f000.mmc: Got CD GPIO #225.
[    1.285263] sunxi-mmc 1c0f000.mmc: base:0xf0074000 irq:64
[    1.291191] sunxi-mmc 1c12000.mmc: No vqmmc regulator found
[    1.297440] sunxi-mmc 1c12000.mmc: Got CD GPIO #235.
[    1.330239] sunxi-mmc 1c12000.mmc: base:0xf0076000 irq:67
[    1.335830] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.342459] usbcore: registered new interface driver usbhid
[    1.348059] usbhid: USB HID core driver
[    1.356171] TCP: cubic registered
[    1.359506] NET: Registered protocol family 17
[    1.364006] mmc0: host does not support reading read-only switch. assuming write-enable.
[    1.364009] can: controller area network core (rev 20120528 abi 9)
[    1.364102] NET: Registered protocol family 29
[    1.364115] can: raw protocol (rev 20120528)
[    1.364124] can: broadcast manager protocol (rev 20120528 t)
[    1.364138] can: netlink gateway (rev 20130117) max_hops=1
[    1.364607] Key type dns_resolver registered
[    1.364722] ThumbEE CPU extension supported.
[    1.364744] Registering SWP/SWPB emulation handler
[    1.366374] ahci-5v: 5000 mV 
[    1.366855] usb1-vbus: 5000 mV 
[    1.367268] usb2-vbus: 5000 mV 
[    1.405274] ahci-sunxi 1c18000.sata: controller can't do PMP, turning off CAP_PMP
[    1.405284] ahci-sunxi 1c18000.sata: forcing PORTS_IMPL to 0x1
[    1.405346] ahci-sunxi 1c18000.sata: AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl platform mode
[    1.405358] ahci-sunxi 1c18000.sata: flags: ncq sntf pm led clo only pio slum part ccc 
[    1.406377] scsi0 : ahci_platform
[    1.406739] ata1: SATA max UDMA/133 mmio [mem 0x01c18000-0x01c18fff] port 0x100 irq 88
[    1.407512] ehci-platform 1c14000.usb: EHCI Host Controller
[    1.407551] ehci-platform 1c14000.usb: new USB bus registered, assigned bus number 1
[    1.407730] ehci-platform 1c14000.usb: irq 71, io mem 0x01c14000
[    1.415245] ehci-platform 1c14000.usb: USB 2.0 started, EHCI 1.00
[    1.416173] hub 1-0:1.0: USB hub found
[    1.416215] hub 1-0:1.0: 1 port detected
[    1.417425] ehci-platform 1c1c000.usb: EHCI Host Controller
[    1.417460] ehci-platform 1c1c000.usb: new USB bus registered, assigned bus number 2
[    1.417643] ehci-platform 1c1c000.usb: irq 72, io mem 0x01c1c000
[    1.425241] ehci-platform 1c1c000.usb: USB 2.0 started, EHCI 1.00
[    1.426158] hub 2-0:1.0: USB hub found
[    1.426199] hub 2-0:1.0: 1 port detected
[    1.427260] ohci-platform 1c14400.usb: Generic Platform OHCI controller
[    1.427310] ohci-platform 1c14400.usb: new USB bus registered, assigned bus number 3
[    1.427411] ohci-platform 1c14400.usb: irq 96, io mem 0x01c14400
[    1.485133] hub 3-0:1.0: USB hub found
[    1.485176] hub 3-0:1.0: 1 port detected
[    1.486312] ohci-platform 1c1c400.usb: Generic Platform OHCI controller
[    1.486350] ohci-platform 1c1c400.usb: new USB bus registered, assigned bus number 4
[    1.486486] ohci-platform 1c1c400.usb: irq 97, io mem 0x01c1c400
[    1.545123] hub 4-0:1.0: USB hub found
[    1.545176] hub 4-0:1.0: 1 port detected
[    1.548647] sunxi-rtc 1c20d00.rtc: setting system clock to 1970-01-03 11:18:21 UTC (213501)
[    1.552359] vcc3v0: disabling
[    1.552477] ALSA device list:
[    1.552480]   No soundcards found.
[    1.605528] mmc0: new high speed SDHC card at address 0007
[    1.611554] mmcblk0: mmc0:0007 SD08G 7.42 GiB 
[    1.617501]  mmcblk0: p1 p2
[    1.730250] ata1: SATA link down (SStatus 0 SControl 300)
[    1.737393] EXT4-fs (mmcblk0p2): mounting ext3 file system using the ext4 subsystem
[    1.757378] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    1.765543] VFS: Mounted root (ext3 filesystem) readonly on device 179:2.
[    1.776474] devtmpfs: mounted
[    1.780137] Freeing unused kernel memory: 656K (c0ad9000 - c0b7d000)
[    2.353385] EXT4-fs (mmcblk0p2): re-mounted. Opts: data=ordered
Starting logging: OK
Initializing random number generator... [    2.435003] random: dd urandom read with 40 bits of entropy available
done.
Starting network...

A20-SOM - HELLO WORLD!
A20-SOM login: 
A20-SOM - HELLO WORLD!
A20-SOM login: root
# cat /proc/cpuinfo 
processor       : 0
model name      : ARMv7 Processor rev 4 (v7l)
Features        : swp half thumb fastmult vfp edsp thumbee neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm 
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x0
CPU part        : 0xc07
CPU revision    : 4

processor       : 1
model name      : ARMv7 Processor rev 4 (v7l)
Features        : swp half thumb fastmult vfp edsp thumbee neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm 
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x0
CPU part        : 0xc07
CPU revision    : 4

Hardware        : Allwinner sun7i (A20) Family
Revision        : 0000
Serial          : 0000000000000000
# uname [   24.547291] random: nonblocking pool is initialized
-a
Linux A20-SOM 3.16.0-rc2 #1 SMP Sat Jun 28 18:04:25 BST 2014 armv7l GNU/Linux
# ifconfig -a
eth0      Link encap:Ethernet  HWaddr 12:34:56:78:99:AA  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:117 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

# ifconfig eth0 192.100.1.19 netmask 255.255.255.0 up
[   54.041368]  No MAC Management Counters available
# ping [   58.030557] stmmaceth 1c50000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx

# ping 192.100.1.1
PING 192.100.1.1 (192.100.1.1): 56 data bytes
64 bytes from 192.100.1.1: seq=0 ttl=64 time=0.781 ms
64 bytes from 192.100.1.1: seq=1 ttl=64 time=0.338 ms
64 bytes from 192.100.1.1: seq=2 ttl=64 time=0.324 ms
--- 192.100.1.1 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.324/0.481/0.781 ms






Reply all
Reply to author
Forward
0 new messages