User Tools

Site Tools


toh:pcduino:pcduino3

pcDuino v3

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

Hardware highlights

Model Ports
pcDuino3 1x USB, 1x RTL8188EUS, 1x 10/100 ethernet, MMC, SATA, 4GB NAND, UEXT, HDMI, sound, Arduino-compatible headers

Availability

The board is available from various vendors, including the manufacturer itself, see here for pcDuino v3.

Further details on the board: http://linux-sunxi.org/LinkSprite_pcDuino_V3

Serial

You can use your usual serial levelshifter. Pinout is:

{WLAN}
       TX  GND  RX
        o   o   o
     {arduino headers}
      {CPU}

Status

Installation process

Please refer to soc.allwinner.sunxi.

dmesg

U-Boot SPL 2016.01 (Jan 22 2016 - 23:28:29) DRAM: 1024 MiB CPU: 912000000Hz, AXI/AHB/APB: 3/2/2 Trying to boot from MMC U-Boot 2016.01 (Jan 22 2016 - 23:28:29 +0100) Allwinner Technology CPU: Allwinner A20 (SUN7I) I2C: ready DRAM: 1 GiB MMC: SUNXI SD/MMC: 0 *** Warning - bad CRC, using default environment In: serial Out: serial Err: serial 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: eth0: ethernet@01c50000 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... 2 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 2184848 bytes read in 260 ms (8 MiB/s) reading dtb 29968 bytes read in 29 ms (1008.8 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: 2184784 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 4300a50f 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) ) #7 SMP PREEMPT Fri Jan 22 23:29:22 CET 2016 [ 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: LinkSprite pcDuino3 [ 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 @ef7c6000 s17984 r8192 d22976 u49152 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 260608 [ 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: 1032624K/1048576K available (4340K kernel code, 205K rwdata, 1228K rodata, 268K init, 641K bss, 15952K reserved, 0K cma-reserved, 262144K 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.000006] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns [ 0.000019] Switching to timer-based delay loop, resolution 41ns [ 0.000458] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns [ 0.000673] clocksource: hstimer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 12741736309 ns [ 0.000835] Console: colour dummy device 80x30 [ 0.000866] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) [ 0.000882] pid_max: default: 32768 minimum: 301 [ 0.000983] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes) [ 0.000996] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes) [ 0.001575] CPU: Testing write buffer coherency: ok [ 0.001915] /cpus/cpu@0 missing clock-frequency property [ 0.001936] /cpus/cpu@1 missing clock-frequency property [ 0.001949] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 [ 0.002018] Setting up static identity map for 0x40008280 - 0x400082d8 [ 0.080371] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001 [ 0.080446] Brought up 2 CPUs [ 0.080468] SMP: Total of 2 processors activated (96.00 BogoMIPS). [ 0.080475] CPU: All CPU(s) started in HYP mode. [ 0.080481] CPU: Virtualization extensions available. [ 0.088822] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 4 [ 0.089586] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.089743] pinctrl core: initialized pinctrl subsystem [ 0.091444] NET: Registered protocol family 16 [ 0.091792] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.142515] reg-fixed-voltage ahci-5v: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/ahci_pwr_pin@0, deferring probe [ 0.142576] reg-fixed-voltage usb1-vbus: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/usb1_vbus_pin@0, deferring probe [ 0.142610] reg-fixed-voltage usb2-vbus: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/usb2_vbus_pin@0, deferring probe [ 0.144749] SCSI subsystem initialized [ 0.145772] usbcore: registered new interface driver usbfs [ 0.145920] usbcore: registered new interface driver hub [ 0.146095] usbcore: registered new device driver usb [ 0.146632] pps_core: LinuxPPS API ver. 1 registered [ 0.146645] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 0.146740] PTP clock support registered [ 0.147593] Advanced Linux Sound Architecture Driver Initialized. [ 0.148929] clocksource: Switched to clocksource arch_sys_counter [ 0.162790] NET: Registered protocol family 2 [ 0.163701] TCP established hash table entries: 8192 (order: 3, 32768 bytes) [ 0.163789] TCP bind hash table entries: 8192 (order: 4, 65536 bytes) [ 0.163916] TCP: Hash tables configured (established 8192 bind 8192) [ 0.164002] UDP hash table entries: 512 (order: 2, 16384 bytes) [ 0.164062] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes) [ 0.164333] NET: Registered protocol family 1 [ 0.166481] futex hash table entries: 512 (order: 3, 32768 bytes) [ 0.166598] audit: initializing netlink subsys (disabled) [ 0.166678] audit: type=2000 audit(0.140:1): initialized [ 0.178328] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.179398] bounce: pool size: 64 pages [ 0.179421] io scheduler noop registered [ 0.179434] io scheduler deadline registered [ 0.179489] io scheduler cfq registered (default) [ 0.180228] sun4i-usb-phy 1c13400.phy: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/usb0_id_detect_pin@0, deferring probe [ 0.184114] sun7i-a20-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver [ 0.282737] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled [ 0.286550] console [ttyS0] disabled [ 0.306854] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 43, base_baud = 1500000) is a U6_16550A [ 0.879312] console [ttyS0] enabled [ 0.886427] sun7i-dwmac 1c50000.ethernet: no regulator found [ 0.892266] sun7i-dwmac 1c50000.ethernet: no reset control found [ 0.898272] Ring mode enabled [ 0.901351] No HW DMA feature register supported [ 0.905877] Normal descriptors [ 0.909222] TX Checksum insertion supported [ 0.917935] libphy: stmmac: probed [ 0.921394] eth0: PHY ID 02430c54 at 1 IRQ POLL (stmmac-0:01) active [ 0.928550] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 0.935125] ehci-platform: EHCI generic platform driver [ 0.940901] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 0.947114] ohci-platform: OHCI generic platform driver [ 0.953023] usbcore: registered new interface driver usb-storage [ 0.959722] mousedev: PS/2 mouse device common for all mice [ 0.966842] i2c /dev entries driver [ 0.971793] axp20x 0-0034: AXP20x variant AXP209 found [ 0.990801] input: axp20x-pek as /devices/platform/soc@01c00000/1c2ac00.i2c/i2c-0/0-0034/axp20x-pek/input/input0 [ 1.007185] axp20x 0-0034: AXP20X driver loaded [ 1.013160] sunxi-wdt 1c20c90.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0) [ 1.022277] sunxi-mmc 1c0f000.mmc: No vqmmc regulator found [ 1.028322] sunxi-mmc 1c0f000.mmc: Got CD GPIO [ 1.069150] sunxi-mmc 1c0f000.mmc: base:0xf08b2000 irq:26 [ 1.076933] Initializing XFRM netlink socket [ 1.082176] NET: Registered protocol family 10 [ 1.097867] NET: Registered protocol family 17 [ 1.102442] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this. [ 1.115114] can: controller area network core (rev 20120528 abi 9) [ 1.121395] NET: Registered protocol family 29 [ 1.125863] 8021q: 802.1Q VLAN Support v1.8 [ 1.141207] Registering SWP/SWPB emulation handler [ 1.149837] ehci-platform 1c14000.usb: EHCI Host Controller [ 1.150985] mmc0: host does not support reading read-only switch, assuming write-enable [ 1.153438] mmc0: new high speed SDHC card at address 0007 [ 1.164154] mmcblk0: mmc0:0007 SD4GB 3.70 GiB [ 1.165630] mmcblk0: p1 p2 [ 1.176312] ehci-platform 1c14000.usb: new USB bus registered, assigned bus number 1 [ 1.184238] ehci-platform 1c14000.usb: irq 28, io mem 0x01c14000 [ 1.208939] ehci-platform 1c14000.usb: USB 2.0 started, EHCI 1.00 [ 1.215240] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 [ 1.222057] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.229294] usb usb1: Product: EHCI Host Controller [ 1.234170] usb usb1: Manufacturer: Linux 4.4.0 ehci_hcd [ 1.239496] usb usb1: SerialNumber: 1c14000.usb [ 1.244717] hub 1-0:1.0: USB hub found [ 1.248517] hub 1-0:1.0: 1 port detected [ 1.253236] ehci-platform 1c1c000.usb: EHCI Host Controller [ 1.258840] ehci-platform 1c1c000.usb: new USB bus registered, assigned bus number 2 [ 1.266772] ehci-platform 1c1c000.usb: irq 32, io mem 0x01c1c000 [ 1.288946] ehci-platform 1c1c000.usb: USB 2.0 started, EHCI 1.00 [ 1.295248] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002 [ 1.302058] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.309285] usb usb2: Product: EHCI Host Controller [ 1.314159] usb usb2: Manufacturer: Linux 4.4.0 ehci_hcd [ 1.319480] usb usb2: SerialNumber: 1c1c000.usb [ 1.324598] hub 2-0:1.0: USB hub found [ 1.328397] hub 2-0:1.0: 1 port detected [ 1.333079] ohci-platform 1c14400.usb: Generic Platform OHCI controller [ 1.339760] ohci-platform 1c14400.usb: new USB bus registered, assigned bus number 3 [ 1.347649] ohci-platform 1c14400.usb: irq 29, io mem 0x01c14400 [ 1.413111] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001 [ 1.419925] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.427141] usb usb3: Product: Generic Platform OHCI controller [ 1.433837] usb usb3: Manufacturer: Linux 4.4.0 ohci_hcd [ 1.439170] usb usb3: SerialNumber: 1c14400.usb [ 1.444313] hub 3-0:1.0: USB hub found [ 1.448112] hub 3-0:1.0: 1 port detected [ 1.453012] ohci-platform 1c1c400.usb: Generic Platform OHCI controller [ 1.459736] ohci-platform 1c1c400.usb: new USB bus registered, assigned bus number 4 [ 1.467636] ohci-platform 1c1c400.usb: irq 33, io mem 0x01c1c400 [ 1.533112] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001 [ 1.539927] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.547141] usb usb4: Product: Generic Platform OHCI controller [ 1.553189] usb usb4: Manufacturer: Linux 4.4.0 ohci_hcd [ 1.558498] usb usb4: SerialNumber: 1c1c400.usb [ 1.563687] hub 4-0:1.0: USB hub found [ 1.567487] hub 4-0:1.0: 1 port detected [ 1.571466] usb 1-1: new high-speed USB device number 2 using ehci-platform [ 1.578896] hctosys: unable to open rtc device (rtc0) [ 1.589900] vcc3v0: disabling [ 1.592895] vcc5v0: disabling [ 1.596352] ahci-5v: disabling [ 1.599625] ALSA device list: [ 1.602606] No soundcards found. [ 1.608342] EXT4-fs (mmcblk0p2): couldn't mount as ext3 due to feature incompatibilities [ 1.617668] EXT4-fs (mmcblk0p2): couldn't mount as ext2 due to feature incompatibilities [ 1.642034] EXT4-fs (mmcblk0p2): mounted filesystem without journal. Opts: (null) [ 1.649693] VFS: Mounted root (ext4 filesystem) readonly on device 179:2. [ 1.656777] Freeing unused kernel memory: 268K (c0579000 - c05bc000) [ 1.719852] usb 1-1: New USB device found, idVendor=0bda, idProduct=8179 [ 1.726564] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 1.733807] usb 1-1: Product: 802.11n NIC [ 1.737840] usb 1-1: Manufacturer: Realtek [ 1.742032] usb 1-1: SerialNumber: 00E04C0001 [ 1.777712] init: Console is alive [ 1.781408] init: - watchdog - [ 1.938987] ahci-sunxi 1c18000.sata: controller can't do PMP, turning off CAP_PMP [ 1.946483] ahci-sunxi 1c18000.sata: forcing PORTS_IMPL to 0x1 [ 1.952408] ahci-sunxi 1c18000.sata: AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl platform mode [ 1.961381] ahci-sunxi 1c18000.sata: flags: ncq sntf pm led clo only pio slum part ccc [ 1.970401] scsi host0: ahci-sunxi [ 1.974214] ata1: SATA max UDMA/133 mmio [mem 0x01c18000-0x01c18fff] port 0x100 irq 31 [ 2.328944] ata1: SATA link down (SStatus 0 SControl 300) [ 2.785206] init: - preinit - Detected pcduino3 // LinkSprite pcDuino3 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 [ 5.905596] mount_root: mounting /dev/root [ 6.167736] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null) [ 6.179179] procd: - early - [ 6.182160] procd: - watchdog - [ 7.040598] procd: - ubus - [ 8.045340] random: ubusd urandom read with 24 bits of entropy available [ 9.044957] procd: - init - Please press Enter to activate this console. [ 9.538413] ip6_tables: (C) 2000-2006 Netfilter Core Team [ 9.555650] sunxi-rtc 1c20d00.rtc: rtc core: registered rtc-sunxi as rtc0 [ 9.563221] sunxi-rtc 1c20d00.rtc: RTC enabled [ 9.580271] ip_tables: (C) 2000-2006 Netfilter Core Team [ 9.591664] nf_conntrack version 0.5.0 (16138 buckets, 64552 max) [ 9.739448] xt_time: kernel timezone is -0000 [ 9.751281] PPP generic driver version 2.4.2 [ 9.756991] NET: Registered protocol family 24 [ 12.470500] RX IPC Checksum Offload disabled [ 12.474883] No MAC Management Counters available [ 12.487863] device eth0 entered promiscuous mode [ 12.496433] br-lan: port 1(eth0) entered forwarding state [ 12.501975] br-lan: port 1(eth0) entered forwarding state [ 14.459345] br-lan: port 1(eth0) entered disabled state [ 15.459323] sun7i-dwmac 1c50000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx [ 15.467883] br-lan: port 1(eth0) entered forwarding state [ 15.473353] br-lan: port 1(eth0) entered forwarding state [ 17.468927] br-lan: port 1(eth0) entered forwarding state [ 35.922540] random: nonblocking pool is initialized 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 : 165166cf098154cf root@OpenWrt:/#


Tags

toh/pcduino/pcduino3.txt · Last modified: 2016/01/23 08:03 by tmomas