User Tools

Site Tools


toh:olimex:a20-olinuxino

Olimex A20-OLinuXino-MICRO board

For further Allwinner-based boards, please refer to soc.allwinner.sunxi

Hardware highlights

Model Ports
A20-MICRO 2x USB, MMC, 4GB NAND, UEXT, HDMI, sound

Serial

You can use your usual serial levelshifter. Pinout is:

           [ LCD  ] [UEXT]



[USB]                  TX RX GND
                    o  o  o  o 
[ethernet] [ GPIO ] [UEXT]

Status

Installation process

Please refer to soc.allwinner.sunxi.

dmesg

U-Boot SPL 2016.01 (Jan 22 2016 - 23:18:53) DRAM: 1024 MiB CPU: 912000000Hz, AXI/AHB/APB: 3/2/2 Trying to boot from MMC U-Boot 2016.01 (Jan 22 2016 - 23:18:53 +0100) Allwinner Technology CPU: Allwinner A20 (SUN7I) I2C: ready DRAM: 1 GiB MMC: SUNXI SD/MMC: 0, SUNXI SD/MMC: 1 *** Warning - bad CRC, using default environment Setting up a 1024x768 vga console (overscan 0x0) In: serial Out: vga Err: vga SCSI: SUNXI SCSI INIT SATA link 0 timeout. AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl SATA mode flags: ncq stag pm led clo only pmp pio slum part ccc apst Net: Error: ethernet@01c50000 address not set. No ethernet found. starting USB... USB0: USB EHCI 1.00 USB1: USB OHCI 1.0 USB2: USB EHCI 1.00 USB3: USB OHCI 1.0 scanning bus 0 for devices... 1 USB Device(s) found scanning bus 2 for devices... 1 USB Device(s) found Hit any key to stop autoboot: 0 switch to partitions #0, OK mmc0 is current device Scanning mmc 0:1... Found U-Boot script /boot.scr reading /boot.scr 377 bytes read in 17 ms (21.5 KiB/s) ## Executing script at 43100000 reading uImage 2185296 bytes read in 260 ms (8 MiB/s) reading dtb 30655 bytes read in 30 ms (997.1 KiB/s) ## Booting kernel from Legacy Image at 42000000 ... Image Name: ARM OpenWrt Linux-4.4 Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 2185232 Bytes = 2.1 MiB Load Address: 40008000 Entry Point: 40008000 Verifying Checksum ... OK ## Flattened Device Tree blob at 43000000 Booting using the fdt blob at 0x43000000 Loading Kernel Image ... OK Using Device Tree in place at 43000000, end 4300a7be Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 4.4.0 (wigyori@trabant) (gcc version 5.2.0 (OpenWrt GCC 5.2.0 r47791) ) #6 SMP PREEMPT Fri Jan 22 23:19:45 CET 2016 [ 0.000000] CPU: ARMv7 Processor [410fc074] revision 4 (ARMv7), cr=10c5387d [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instructio n cache [ 0.000000] Machine model: Olimex A20-Olinuxino Micro [ 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 12 pages/cpu @ef7c5000 s17984 r8192 d22976 u49152 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 259840 [ 0.000000] Kernel command line: console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p2 rootwait [ 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: 1029548K/1045504K available (4340K kernel code, 205K rwdata, 1228K rodata, 268K init, 641K bss, 15956K reserved, 0K cma-reserved, 259072K highmem) [ 0.000000] Virtual kernel memory layout: [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB) [ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB) [ 0.000000] vmalloc : 0xf0800000 - 0xff800000 ( 240 MB) [ 0.000000] lowmem : 0xc0000000 - 0xf0000000 ( 768 MB) [ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB) [ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB) [ 0.000000] .text : 0xc0008000 - 0xc05784ac (5570 kB) [ 0.000000] .init : 0xc0579000 - 0xc05bc000 ( 268 kB) [ 0.000000] .data : 0xc05bc000 - 0xc05ef6a8 ( 206 kB) [ 0.000000] .bss : 0xc05f2000 - 0xc06926b0 ( 642 kB) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1 [ 0.000000] Preemptible 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.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns [ 0.000007] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns [ 0.000020] Switching to timer-based delay loop, resolution 41ns [ 0.000469] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns [ 0.000693] clocksource: hstimer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 12741736309 ns [ 0.000858] Console: colour dummy device 80x30 [ 0.000893] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) [ 0.000909] pid_max: default: 32768 minimum: 301 [ 0.001015] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes) [ 0.001028] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes) [ 0.001646] CPU: Testing write buffer coherency: ok [ 0.002032] /cpus/cpu@0 missing clock-frequency property [ 0.002052] /cpus/cpu@1 missing clock-frequency property [ 0.002066] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 [ 0.002144] Setting up static identity map for 0x40008280 - 0x400082d8 [ 0.080416] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001 [ 0.080500] Brought up 2 CPUs [ 0.080524] SMP: Total of 2 processors activated (96.00 BogoMIPS). [ 0.080531] CPU: All CPU(s) started in HYP mode. [ 0.080537] CPU: Virtualization extensions available. [ 0.089216] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 4 [ 0.090096] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.090267] pinctrl core: initialized pinctrl subsystem [ 0.092008] NET: Registered protocol family 16 [ 0.092384] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.152185] reg-fixed-voltage ahci-5v: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/ahci_pwr_pin@0, deferring probe [ 0.152250] reg-fixed-voltage usb0-vbus: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/usb0_vbus_pin@0, deferring probe [ 0.152286] reg-fixed-voltage usb1-vbus: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/usb1_vbus_pin@0, deferring probe [ 0.152320] reg-fixed-voltage usb2-vbus: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/usb2_vbus_pin@0, deferring probe [ 0.154668] SCSI subsystem initialized [ 0.155749] usbcore: registered new interface driver usbfs [ 0.155905] usbcore: registered new interface driver hub [ 0.156088] usbcore: registered new device driver usb [ 0.156650] pps_core: LinuxPPS API ver. 1 registered [ 0.156665] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 0.156763] PTP clock support registered [ 0.157623] Advanced Linux Sound Architecture Driver Initialized. [ 0.159086] clocksource: Switched to clocksource arch_sys_counter [ 0.160640] simple-framebuffer 7fd00000.framebuffer: framebuffer at 0x7fd00000, 0x300000 bytes, mapped to 0xf0900000 [ 0.160666] simple-framebuffer 7fd00000.framebuffer: format=x8r8g8b8, mode=1024x768x32, linelength=4096 [ 0.175449] Console: switching to colour frame buffer device 128x48 [ 0.188422] simple-framebuffer 7fd00000.framebuffer: fb0: simplefb registered! [ 0.202105] NET: Registered protocol family 2 [ 0.202905] TCP established hash table entries: 8192 (order: 3, 32768 bytes) [ 0.202993] TCP bind hash table entries: 8192 (order: 4, 65536 bytes) [ 0.203122] TCP: Hash tables configured (established 8192 bind 8192) [ 0.203220] UDP hash table entries: 512 (order: 2, 16384 bytes) [ 0.203289] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes) [ 0.203570] NET: Registered protocol family 1 [ 0.205899] futex hash table entries: 512 (order: 3, 32768 bytes) [ 0.206026] audit: initializing netlink subsys (disabled) [ 0.206129] audit: type=2000 audit(0.190:1): initialized [ 0.218002] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.218979] bounce: pool size: 64 pages [ 0.219005] io scheduler noop registered [ 0.219018] io scheduler deadline registered [ 0.219201] io scheduler cfq registered (default) [ 0.220178] sun4i-usb-phy 1c13400.phy: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/usb0_id_detect_pin@0, deferring probe [ 0.224383] sun7i-a20-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver [ 0.327021] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled [ 0.331324] console [ttyS0] disabled [ 0.351634] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 45, base_baud = 1500000) is a U6_16550A [ 0.970427] console [ttyS0] enabled [ 0.997924] 1c29800.serial: ttyS1 at MMIO 0x1c29800 (irq = 46, base_baud = 1500000) is a U6_16550A [ 1.030663] 1c29c00.serial: ttyS2 at MMIO 0x1c29c00 (irq = 47, base_baud = 1500000) is a U6_16550A [ 1.045592] sun7i-dwmac 1c50000.ethernet: no regulator found [ 1.051501] sun7i-dwmac 1c50000.ethernet: no reset control found [ 1.057510] Ring mode enabled [ 1.060607] No HW DMA feature register supported [ 1.065138] Normal descriptors [ 1.068459] TX Checksum insertion supported [ 1.077189] libphy: stmmac: probed [ 1.080651] eth0: PHY ID 00008201 at 1 IRQ POLL (stmmac-0:01) active [ 1.087925] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 1.094503] ehci-platform: EHCI generic platform driver [ 1.100353] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 1.106569] ohci-platform: OHCI generic platform driver [ 1.112542] usbcore: registered new interface driver usb-storage [ 1.119296] mousedev: PS/2 mouse device common for all mice [ 1.125754] input: 1c22800.lradc as /devices/platform/soc@01c00000/1c22800.lradc/input/input0 [ 1.136028] i2c /dev entries driver [ 1.141070] axp20x 0-0034: AXP20x variant AXP209 found [ 1.160044] input: axp20x-pek as /devices/platform/soc@01c00000/1c2ac00.i2c/i2c-0/0-0034/axp20x-pek/input/input1 [ 1.170532] axp20x-regulator axp20x-regulator: regulators node not found [ 1.181241] axp20x 0-0034: AXP20X driver loaded [ 1.188487] sunxi-wdt 1c20c90.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0) [ 1.197473] sunxi-mmc 1c0f000.mmc: No vqmmc regulator found [ 1.203599] sunxi-mmc 1c0f000.mmc: Got CD GPIO [ 1.239338] sunxi-mmc 1c0f000.mmc: base:0xf08d2000 irq:27 [ 1.245401] sunxi-mmc 1c12000.mmc: No vqmmc regulator found [ 1.251633] sunxi-mmc 1c12000.mmc: Got CD GPIO [ 1.286332] mmc0: host does not support reading read-only switch, assuming write-enable [ 1.289349] sunxi-mmc 1c12000.mmc: base:0xf08d6000 irq:28 [ 1.291835] Initializing XFRM netlink socket [ 1.292748] NET: Registered protocol family 10 [ 1.304760] NET: Registered protocol family 17 [ 1.304828] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this. [ 1.304837] can: controller area network core (rev 20120528 abi 9) [ 1.304916] NET: Registered protocol family 29 [ 1.304931] 8021q: 802.1Q VLAN Support v1.8 [ 1.315958] Registering SWP/SWPB emulation handler [ 1.330907] ehci-platform 1c14000.usb: EHCI Host Controller [ 1.330945] ehci-platform 1c14000.usb: new USB bus registered, assigned bus number 1 [ 1.331129] ehci-platform 1c14000.usb: irq 30, io mem 0x01c14000 [ 1.349154] ehci-platform 1c14000.usb: USB 2.0 started, EHCI 1.00 [ 1.349425] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 [ 1.349432] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.349438] usb usb1: Product: EHCI Host Controller [ 1.349443] usb usb1: Manufacturer: Linux 4.4.0 ehci_hcd [ 1.349449] usb usb1: SerialNumber: 1c14000.usb [ 1.350222] hub 1-0:1.0: USB hub found [ 1.350329] hub 1-0:1.0: 1 port detected [ 1.351168] ehci-platform 1c1c000.usb: EHCI Host Controller [ 1.351208] ehci-platform 1c1c000.usb: new USB bus registered, assigned bus number 2 [ 1.351378] ehci-platform 1c1c000.usb: irq 35, io mem 0x01c1c000 [ 1.379115] ehci-platform 1c1c000.usb: USB 2.0 started, EHCI 1.00 [ 1.379440] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002 [ 1.379448] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.379454] usb usb2: Product: EHCI Host Controller [ 1.379459] usb usb2: Manufacturer: Linux 4.4.0 ehci_hcd [ 1.379464] usb usb2: SerialNumber: 1c1c000.usb [ 1.380253] hub 2-0:1.0: USB hub found [ 1.380364] hub 2-0:1.0: 1 port detected [ 1.381191] ohci-platform 1c14400.usb: Generic Platform OHCI controller [ 1.381228] ohci-platform 1c14400.usb: new USB bus registered, assigned bus number 3 [ 1.381425] ohci-platform 1c14400.usb: irq 31, io mem 0x01c14400 [ 1.443277] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001 [ 1.443287] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.443293] usb usb3: Product: Generic Platform OHCI controller [ 1.443298] usb usb3: Manufacturer: Linux 4.4.0 ohci_hcd [ 1.443303] usb usb3: SerialNumber: 1c14400.usb [ 1.444173] hub 3-0:1.0: USB hub found [ 1.444221] hub 3-0:1.0: 1 port detected [ 1.444998] ohci-platform 1c1c400.usb: Generic Platform OHCI controller [ 1.445038] ohci-platform 1c1c400.usb: new USB bus registered, assigned bus number 4 [ 1.445212] ohci-platform 1c1c400.usb: irq 36, io mem 0x01c1c400 [ 1.513257] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001 [ 1.513266] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.513272] usb usb4: Product: Generic Platform OHCI controller [ 1.513277] usb usb4: Manufacturer: Linux 4.4.0 ohci_hcd [ 1.513282] usb usb4: SerialNumber: 1c1c400.usb [ 1.514154] hub 4-0:1.0: USB hub found [ 1.514203] hub 4-0:1.0: 1 port detected [ 1.514658] hctosys: unable to open rtc device (rtc0) [ 1.520798] vcc5v0: disabling [ 1.520814] ahci-5v: disabling [ 1.520822] usb0-vbus: disabling [ 1.520994] ALSA device list: [ 1.520996] No soundcards found. [ 1.606178] Waiting for root device /dev/mmcblk0p2... [ 1.612005] mmc0: new high speed SDHC card at address 0007 [ 1.628317] mmcblk0: mmc0:0007 SD4GB 3.70 GiB [ 1.634236] mmcblk0: p1 p2 [ 1.720530] EXT4-fs (mmcblk0p2): couldn't mount as ext3 due to feature incompatibilities [ 1.729828] EXT4-fs (mmcblk0p2): couldn't mount as ext2 due to feature incompatibilities [ 1.751958] EXT4-fs (mmcblk0p2): mounted filesystem without journal. Opts: (null) [ 1.759775] VFS: Mounted root (ext4 filesystem) readonly on device 179:2. [ 1.766939] Freeing unused kernel memory: 268K (c0579000 - c05bc000) [ 1.888781] init: Console is alive [ 1.892651] init: - watchdog - [ 2.059151] ahci-sunxi 1c18000.sata: controller can't do PMP, turning off CAP_PMP [ 2.066648] ahci-sunxi 1c18000.sata: forcing PORTS_IMPL to 0x1 [ 2.072573] ahci-sunxi 1c18000.sata: AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl platform mode [ 2.081554] ahci-sunxi 1c18000.sata: flags: ncq sntf pm led clo only pio slum part ccc [ 2.090600] scsi host0: ahci-sunxi [ 2.094390] ata1: SATA max UDMA/133 mmio [mem 0x01c18000-0x01c18fff] port 0x100 irq 34 [ 2.449101] ata1: SATA link down (SStatus 0 SControl 300) [ 2.896541] init: - preinit - Detected olinuxino-a20-micro // Olimex A20-Olinuxino Micro Press the [f] key and hit [enter] to enter failsafe mode Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level [ 6.021169] mount_root: mounting /dev/root [ 6.283550] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null) [ 6.295106] procd: - early - [ 6.298099] procd: - watchdog - [ 7.198089] procd: - ubus - [ 8.203311] random: ubusd urandom read with 24 bits of entropy available [ 9.203667] procd: - init - Please press Enter to activate this console. [ 9.685623] ip6_tables: (C) 2000-2006 Netfilter Core Team [ 9.700487] sunxi-rtc 1c20d00.rtc: rtc core: registered rtc-sunxi as rtc0 [ 9.707317] sunxi-rtc 1c20d00.rtc: RTC enabled [ 9.724010] ip_tables: (C) 2000-2006 Netfilter Core Team [ 9.741190] nf_conntrack version 0.5.0 (16090 buckets, 64360 max) [ 9.861940] xt_time: kernel timezone is -0000 [ 9.873994] PPP generic driver version 2.4.2 [ 9.879932] NET: Registered protocol family 24 [ 12.268789] eth0: device MAC address 4a:09:c4:9f:ec:c4 [ 12.293925] RX IPC Checksum Offload disabled [ 12.298312] No MAC Management Counters available [ 12.308817] device eth0 entered promiscuous mode [ 12.330653] br-lan: port 1(eth0) entered forwarding state [ 12.336131] br-lan: port 1(eth0) entered forwarding state [ 14.279344] sun7i-dwmac 1c50000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx [ 14.329070] br-lan: port 1(eth0) entered forwarding state BusyBox v1.24.1 (2016-01-22 22:50:34 CET) built-in shell (ash) _______ ________ __ | |.-----.-----.-----.| | | |.----.| |_ | - || _ | -__| || | | || _|| _| |_______|| __|_____|__|__||________||__| |____| |__| W I R E L E S S F R E E D O M ----------------------------------------------------- DESIGNATED DRIVER (Bleeding Edge, r48455) ----------------------------------------------------- * 2 oz. Orange Juice Combine all juices in a * 2 oz. Pineapple Juice tall glass filled with * 2 oz. Grapefruit Juice ice, stir well. * 2 oz. Cranberry Juice ----------------------------------------------------- root@OpenWrt:/# cat /proc/cpuinfo processor : 0 model name : ARMv7 Processor rev 4 (v7l) BogoMIPS : 50.52 Features : half thumb fastmult vfp edsp 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) BogoMIPS : 50.52 Features : half thumb fastmult vfp edsp 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 root@OpenWrt:/#


Tags

toh/olimex/a20-olinuxino.txt · Last modified: 2016/01/23 08:02 by tmomas