User Tools

Site Tools


toh:xunlong:orangepiplus

Orange Pi Plus (H3)

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

Availability

The board is available from various vendors, including the manufacturer itself, see here for Orange Pi Plus.

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

Supported Versions

  • Basic support is available, which allows you to have a shell, MMC and USB. You're more than welcome to connect an USB-ethernet gadget.
  • No ethernet
  • No HDMI
  • No Sound

Hardware Highlights

ModelVersionSoCCPU MHzFlash MBRAM MBWLAN HardwareWLAN2.4WLAN5.0100M portsGbit portsModemUSB
Orange Pi PlusAllwinner H3160081921024Realtek RTL8189ETVb/g/n--1-4x 2.0, 1x OTG

Installation

Installation process

Please refer to soc.allwinner.sunxi. The usual SD-card image will be built.

If you're on an SVN checkout which still builds 4.1, you have to update target/linux/sunxi/Makefile KERNEL_PATCHVER to 4.4.

Hardware

Serial

You can use your usual serial levelshifter. Pinout is printed on the board, near the power connector.

Bootlog

U-Boot SPL 2016.01 (Feb 01 2016 - 13:58:43) DRAM: 1024 MiB Trying to boot from MMC U-Boot 2016.01 (Feb 01 2016 - 13:58:43 +0000) Allwinner Technology CPU: Allwinner H3 (SUN8I) DRAM: 1 GiB MMC: SUNXI SD/MMC: 0 *** Warning - bad CRC, using default environment In: serial Out: serial Err: serial Net: No ethernet found. starting USB... No controllers 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 2182168 bytes read in 2239 ms (951.2 KiB/s) reading dtb 13436 bytes read in 40 ms (327.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: 2182104 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 4300647b 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 r48610) ) #4 SMP PREEMPT Tue Feb 2 21:50:12 UTC 2016 [ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [ 0.000000] Machine model: Xunlong Orange Pi Plus [ 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 @ef7bb000 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: 1032596K/1048576K available (4332K kernel code, 205K rwdata, 1228K rodata, 268K init, 641K bss, 15980K reserved, 0K cma-reserved, 262140K 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 - 0xc057641c (5562 kB) [ 0.000000] .init : 0xc0577000 - 0xc05ba000 ( 268 kB) [ 0.000000] .data : 0xc05ba000 - 0xc05ed628 ( 206 kB) [ 0.000000] .bss : 0xc05f0000 - 0xc06906b0 ( 642 kB) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1 [ 0.000000] Preemptible hierarchical RCU implementation. [ 0.000000] RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4. [ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4 [ 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.000017] Switching to timer-based delay loop, resolution 41ns [ 0.000211] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns [ 0.000357] Console: colour dummy device 80x30 [ 0.000383] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) [ 0.000397] pid_max: default: 32768 minimum: 301 [ 0.000481] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes) [ 0.000491] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes) [ 0.000977] CPU: Testing write buffer coherency: ok [ 0.001245] /cpus/cpu@0 missing clock-frequency property [ 0.001260] /cpus/cpu@1 missing clock-frequency property [ 0.001271] /cpus/cpu@2 missing clock-frequency property [ 0.001282] /cpus/cpu@3 missing clock-frequency property [ 0.001293] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 [ 0.001349] Setting up static identity map for 0x40008280 - 0x400082d8 [ 0.080401] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001 [ 0.110419] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002 [ 0.140459] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003 [ 0.140507] Brought up 4 CPUs [ 0.140528] SMP: Total of 4 processors activated (192.00 BogoMIPS). [ 0.140535] CPU: All CPU(s) started in HYP mode. [ 0.140540] CPU: Virtualization extensions available. [ 0.143766] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5 [ 0.144239] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.144384] pinctrl core: initialized pinctrl subsystem [ 0.145510] NET: Registered protocol family 16 [ 0.145763] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.191496] reg-fixed-voltage usb1-vbus: could not find pctldev for node /soc/pinctrl@01c20800/usb1_vbus_pin@0, deferring probe [ 0.192381] reg-fixed-voltage usb3-vbus: could not find pctldev for node /soc/pinctrl@01c20800/usb3_vbus_pin@0, deferring probe [ 0.193133] SCSI subsystem initialized [ 0.193903] usbcore: registered new interface driver usbfs [ 0.194029] usbcore: registered new interface driver hub [ 0.194173] usbcore: registered new device driver usb [ 0.194585] pps_core: LinuxPPS API ver. 1 registered [ 0.194594] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 0.194669] PTP clock support registered [ 0.195311] Advanced Linux Sound Architecture Driver Initialized. [ 0.196361] clocksource: Switched to clocksource arch_sys_counter [ 0.207240] NET: Registered protocol family 2 [ 0.207966] TCP established hash table entries: 8192 (order: 3, 32768 bytes) [ 0.208040] TCP bind hash table entries: 8192 (order: 4, 65536 bytes) [ 0.208154] TCP: Hash tables configured (established 8192 bind 8192) [ 0.208216] UDP hash table entries: 512 (order: 2, 16384 bytes) [ 0.208271] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes) [ 0.208480] NET: Registered protocol family 1 [ 0.210319] futex hash table entries: 1024 (order: 4, 65536 bytes) [ 0.210466] audit: initializing netlink subsys (disabled) [ 0.210519] audit: type=2000 audit(0.190:1): initialized [ 0.219804] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.220480] bounce: pool size: 64 pages [ 0.220495] io scheduler noop registered [ 0.220506] io scheduler deadline registered [ 0.220541] io scheduler cfq registered (default) [ 0.224161] sun8i-h3-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver [ 0.294880] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled [ 0.298264] console [ttyS0] disabled [ 0.318473] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 29, base_baud = 1500000) is a U6_16550A [ 0.877552] console [ttyS0] enabled [ 0.883528] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 0.890117] ehci-platform: EHCI generic platform driver [ 0.895656] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 0.901897] ohci-platform: OHCI generic platform driver [ 0.907418] usbcore: registered new interface driver usb-storage [ 0.913848] mousedev: PS/2 mouse device common for all mice [ 0.920009] i2c /dev entries driver [ 0.924368] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0) [ 0.932991] sunxi-mmc 1c0f000.mmc: No vqmmc regulator found [ 0.938905] sunxi-mmc 1c0f000.mmc: Got CD GPIO [ 0.976393] sunxi-mmc 1c0f000.mmc: base:0xf087c000 irq:22 [ 0.983146] Initializing XFRM netlink socket [ 0.991390] NET: Registered protocol family 10 [ 1.006696] NET: Registered protocol family 17 [ 1.011189] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this. [ 1.023871] can: controller area network core (rev 20120528 abi 9) [ 1.030154] NET: Registered protocol family 29 [ 1.034627] 8021q: 802.1Q VLAN Support v1.8 [ 1.039202] cpu cpu0: failed to get cpu0 clock: -2 [ 1.044028] cpufreq-dt: probe of cpufreq-dt failed with error -2 [ 1.050164] Registering SWP/SWPB emulation handler [ 1.057337] ehci-platform 1c1b000.usb: EHCI Host Controller [ 1.060026] mmc0: host does not support reading read-only switch, assuming write-enable [ 1.062436] mmc0: new high speed SD card at address 1234 [ 1.062893] mmcblk0: mmc0:1234 SA02G 1.85 GiB [ 1.064443] mmcblk0: p1 p2 [ 1.083516] ehci-platform 1c1b000.usb: new USB bus registered, assigned bus number 1 [ 1.091390] ehci-platform 1c1b000.usb: irq 23, io mem 0x01c1b000 [ 1.116380] ehci-platform 1c1b000.usb: USB 2.0 started, EHCI 1.00 [ 1.122644] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 [ 1.129445] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.136671] usb usb1: Product: EHCI Host Controller [ 1.141543] usb usb1: Manufacturer: Linux 4.4.0 ehci_hcd [ 1.146859] usb usb1: SerialNumber: 1c1b000.usb [ 1.151922] hub 1-0:1.0: USB hub found [ 1.155702] hub 1-0:1.0: 1 port detected [ 1.160266] ehci-platform 1c1d000.usb: EHCI Host Controller [ 1.165855] ehci-platform 1c1d000.usb: new USB bus registered, assigned bus number 2 [ 1.173703] ehci-platform 1c1d000.usb: irq 24, io mem 0x01c1d000 [ 1.196378] ehci-platform 1c1d000.usb: USB 2.0 started, EHCI 1.00 [ 1.202608] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002 [ 1.209406] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.216633] usb usb2: Product: EHCI Host Controller [ 1.221505] usb usb2: Manufacturer: Linux 4.4.0 ehci_hcd [ 1.226825] usb usb2: SerialNumber: 1c1d000.usb [ 1.231856] hub 2-0:1.0: USB hub found [ 1.235630] hub 2-0:1.0: 1 port detected [ 1.239946] hctosys: unable to open rtc device (rtc0) [ 1.248151] vcc3v0: disabling [ 1.251130] vcc5v0: disabling [ 1.254164] ALSA device list: [ 1.257220] No soundcards found. [ 1.262794] EXT4-fs (mmcblk0p2): couldn't mount as ext3 due to feature incompatibilities [ 1.272174] EXT4-fs (mmcblk0p2): couldn't mount as ext2 due to feature incompatibilities [ 1.286722] EXT4-fs (mmcblk0p2): mounted filesystem without journal. Opts: (null) [ 1.294266] VFS: Mounted root (ext4 filesystem) readonly on device 179:2. [ 1.301389] Freeing unused kernel memory: 268K (c0577000 - c05ba000) [ 1.402641] init: Console is alive [ 1.406213] init: - watchdog - [ 1.476403] usb 1-1: new high-speed USB device number 2 using ehci-platform [ 1.626940] usb 1-1: New USB device found, idVendor=1a40, idProduct=0101 [ 1.633638] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0 [ 1.640786] usb 1-1: Product: USB 2.0 Hub [ 1.645554] hub 1-1:1.0: USB hub found [ 1.649441] hub 1-1:1.0: 4 ports detected [ 2.409875] init: - preinit - Detected generic // Xunlong Orange Pi Plus 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.513365] mount_root: mounting /dev/root [ 5.517832] EXT4-fs (mmcblk0p2): warning: mounting unchecked fs, running e2fsck is recommended [ 5.779628] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null) [ 5.789552] procd: - early - [ 5.792497] procd: - watchdog - [ 6.528456] procd: - ubus - [ 7.533753] random: ubusd urandom read with 16 bits of entropy available [ 8.535931] procd: - init - Please press Enter to activate this console. [ 8.902371] ip6_tables: (C) 2000-2006 Netfilter Core Team [ 8.925725] ip_tables: (C) 2000-2006 Netfilter Core Team [ 8.935474] nf_conntrack version 0.5.0 (16138 buckets, 64552 max) [ 9.063755] xt_time: kernel timezone is -0000 [ 9.075031] PPP generic driver version 2.4.2 [ 9.080362] NET: Registered protocol family 24 BusyBox v1.24.1 () built-in shell (ash) _______ ________ __ | |.-----.-----.-----.| | | |.----.| |_ | - || _ | -__| || | | || _|| _| |_______|| __|_____|__|__||________||__| |____| |__| W I R E L E S S F R E E D O M ----------------------------------------------------- DESIGNATED DRIVER (Bleeding Edge, r48617) ----------------------------------------------------- * 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 5 (v7l) BogoMIPS : 48.00 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 : 5 processor : 1 model name : ARMv7 Processor rev 5 (v7l) BogoMIPS : 48.00 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 : 5 processor : 2 model name : ARMv7 Processor rev 5 (v7l) BogoMIPS : 48.00 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 : 5 processor : 3 model name : ARMv7 Processor rev 5 (v7l) BogoMIPS : 48.00 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 : 5 Hardware : Allwinner sun8i Family Revision : 0000 Serial : 0000000000000000 root@OpenWrt:/# [ 35.541921] random: nonblocking pool is initialized root@OpenWrt:/# free total used free shared buffers cached Mem: 1032864 18124 1014740 44 392 2976 -/+ buffers/cache: 14756 1018108 Swap: 0 0 0 root@OpenWrt:/#


Tags

toh/xunlong/orangepiplus.txt · Last modified: 2018/05/01 20:12 by tmomas