Xunlong Orange Pi Zero (H2+)

Orange Pi Zero is a small form factor board H2+ based development board produced by Xunlong. More information: http://linux-sunxi.org/Xunlong_Orange_Pi_Zero

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

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

ModelVersionSoCCPU MHzFlash MBRAM MBWLAN HardwareWLAN2.4WLAN5.0100M portsGbit portsModemUSB
Orange Pi ZeroAllwinner H21200microSD256Allwinner XR819b/g/n-1--1x 2.0, 1x OTG, 1x µUSB (power)
Additional ports via pinheader
2x USB 2.0, CIR, microphone, stereo line-out, CVBS
Architecture ARM Cortex-A7
Vendor Allwinner
Bootloader U-Boot
System-On-Chip Allwinner H2+
CPU/Speed 1.2 GHz
Flash-Chip SPI
Flash size 2 MB
RAM 256MB/512MB DDR3 SDRAM(256MB version is Standard version
Wireless XR819, IEEE 802.11 b/g/n
Ethernet 10/100 Mbit/s
Switch tbd
USB 1x 2.0
Serial Yes
JTAG tbd

The UART pins are located next to Ethernet jack on the board. They are marked as TX, RX and GND on the PCB. You can use your usual serial levelshifter.

How to connect to the Serial Port of this specific device:

https://camo.githubusercontent.com/a67562ca21031ef3ede8961e6882d16bbb64c734/687474703a2f2f7777772e657370383236362d7365727665722e64652f4f72616e676550692f6461746569656e2f4f72616e67652d50692d5a65726f2d50696e6f75742e6a7067

Serial connection parameters
for Xunlong Orange Pi Zero
115200, 8N1

COPY HERE THE BOOTLOG WITH THE ORIGINAL FIRMWARE


When using https://downloads.openwrt.org/snapshots/targets/sunxi/cortexa7/openwrt-sunxi-cortexa7-sun8i-h2-plus-orangepi-r1-squashfs-sdcard.img.gz as of 2018-04-10 (note that this image is for another machine with the same SOC):

U-Boot SPL 2017.11 (Apr 08 2018 - 07:27:14) DRAM: U-Boot 2017.11 (Apr 08 2018 - 07:27:14 +0000) Allwinner Technology CPU: Allwinner H3 (SUN8I 1680) Model: Xunlong Orange Pi R1 DRAM: 256 MiB MMC: SUNXI SD/MMC: 0  1  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 15 ms (24.4 KiB/s) ## Executing script at 43100000 reading uImage 2612440 bytes read in 155 ms (16.1 MiB/s) 15325 bytes read in 24 ms (623 KiB/s) ## Booting kernel from Legacy Image at 42000000 ... Image Name: ARM OpenWrt Linux-4.14.32 Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 2612376 Bytes = 2.5 MiB Load Address: 40008000 Entry Point: 40008000 Verifying Checksum ... Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 4.14.32 (buildbot@builds) (gcc version 7.3.0 (OpenWrt GCC 7.3.0 r6646-cb7ac15)) #0 SMP PREEMPT Mon Apr 9 08:43:45 2018 [ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=30c5387d [ 0.000000] CPU: div instructions available: patching division code [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache 0] 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.000147] Console: colour dummy device 80x30 [ 0.000178] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) [ 0.000191] pid_max: default: 32768 minimum: 301 [ 0.000295] M thread -1, cpu 2, socket 0, mpidr 80000002 [ 0.340692] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003 [ 0.340764] smp: Brought up 1 node, 4 CPUs [ 0.340783] SMP: Total of 4 processors activated (192.00 BogoMIPS). [ 0.340790] CPU: All CPUmetti <giometti@linux.it> [ 0.393475] PTP clock support registered [ 0.393771] Advanced Linux Sound Architecture Driver Initialized. [ 0.394643] clocksource: Switched to clocksource arch_sys_counter [ 0.399701] NET: Registered protocol family 2 [ 0.400302] TCP established hash table entries: 2048 (order: 1, 8192 bytes) [ 0.400334] TCP bind hash table entries: 2048 (order: 2, 16384 bytes) [ 0.400369] TCP: Hash tables configured (established 2048 bind 2048) [ 0.400459] UDP hash table entries: 256 (order: 1, 8192 bytes) [ 0.400495] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes) [ 0.400757] NET: Registered protocol family 1 [ 0.401094] kvm [1]: 8-bit VMID [ 0.401599] kvm [1]: vgic interrupt IRQ16 [ 0.401694] kvm [1]: Hyp mode initialized successfully [ 0.402771] No memory allocated for crashlog [ 0.402884] workingset: timestamp_bits=30 max_order=16 bucket_order=0 [ 0.406951] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.408648] [ 1.504675] sunxi-mmc 1c0f000.mmc: base:0xd0883000 irq:23 [ 1.510702] sunxi-mmc 1c10000.mmc: allocated mmc-pwrseq [ 1.563632] mmc0: host does not support reading read-only switch, assuming write-enable [ 1.575453] mmc0: new high speed SDHC card at address aaaa [ 1.581305] mmcblk0: mmc0:aaaa SU04G 3.69 GiB [ 1.587208] mmcblk0: p1 p2 [ 2.337904] kmodloader: loading kernel modules from /etc/modules-boot.d/* [ 2.384886] kmodloader: done loading kernel modules from /etc/modules-boot.d/* [ 2.396430] init: - preinit - [ 2.756617] Generic PHY 0.1:01: attached PHY driver [Generic PHY] (mii_bus:phy_addr=0.1:01, irq=POLL) [ 2.767315] dwmac-sun8i 1c30000.ethernet eth0: No MAC Management Counters available [ 2.775023] dwmac-sun8i 1c30000.ethernet eth0: PTP not supported by HW 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.299786] F2FS-fs (loop0): Mounted with checkpoint version = 5ccce295 [ 6.307337] mount_root: switching to f2fs overlay [ 6.418402] urandom-seed: Seeding with /etc/urandom.seed [ 6.447574] procd: - early - [ 6.450527] procd: - watchdog - [ 7.157195] procd: - ubus - Please press Enter to activate this console. [ 7.370272] kmodloader: loading kernel modules from /etc/modules.d/* [ 7.379253] ip6_tables: (C) 2000-2006 Netfilter Core Team [ 7.819716] ip_tables: (C) 2000-2006 Netfilter Core Team [ 8.217347] nf_conntrack version 0.5.0 (4096 buckets, 16384 max) [ 8.439004] usbcore: registered new interface driver r8152 [ 8.454142] xt_time: kernel timezone is -0000 [ 8.647265] PPP generic driver version 2.4.2 [ 8.652504] NET: Registered protocol family 24 [ 11.563833] Generic PHY 0.1:01: attached PHY driver [Generic PHY] (mii_bus:phy_addr=0.1:01, irq=POLL) [ 11.574892] dwmac-sun8i 1c30000.ethernet eth0: No MAC Management Counters available [ 11.582572] dwmac-sun8i 1c30000.ethernet eth0: PTP not supported by HW [ 11.590208] br-lan: port 1(eth0) entered blocking state [ 11.601048] device eth0 entered promiscuous mode [ 11.607351] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready BusyBox v1.28.3 () built-in shell (ash) _______ ________ __ | |.-----.-----.-----.| | | |.----.| |_ | - || _ | -__| || | | || _|| _| |_______|| __|_____|__|__||________||__| |____| root password defined on this device! Use the "passwd" command to set up a new password in order to prevent unauthorized SSH logins. -------------------------------------------------- root@OpenWrt:/#


U-Boot SPL 2019.01 (Dec 20 2019 - 23:27:39 +0000) DRAM: 256 MiB Trying to boot from MMC1 U-Boot 2019.01 (Dec 20 2019 - 23:27:39 +0000) Allwinner Technology CPU: Allwinner H3 (SUN8I 1680) Model: Xunlong Orange Pi Zero DRAM: 256 MiB MMC: SUNXI SD/MMC: 0 Loading Environment from FAT... *** Warning - bad CRC, using default environment In: serial Out: serial Err: serial Net: phy interface0 eth0: ethernet@1c30000 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 scanning usb for storage devices... 0 Storage 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 377 bytes read in 1 ms (368.2 KiB/s) ## Executing script at 43100000 3042608 bytes read in 137 ms (21.2 MiB/s) 19557 bytes read in 2 ms (9.3 MiB/s) ## Booting kernel from Legacy Image at 42000000 ... Image Name: ARM OpenWrt Linux-4.19.88 Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 3042544 Bytes = 2.9 MiB Load Address: 40008000 Entry Point: 40008000 Verifying Checksum ... OK ## Flattened Device Tree blob at 43000000 Booting using the fdt blob at 0x43000000 EHCI failed to shut down host controller. EHCI failed to shut down host controller. Loading Kernel Image ... OK Using Device Tree in place at 43000000, end 43007c64 Starting kernel ... (...) BusyBox v1.31.1 () built-in shell (ash) _______ ________ __ | |.-----.-----.-----.| | | |.----.| |_ | - || _ | -__| || | | || _|| _| |_______|| __|_____|__|__||________||__| |____| |__| W I R E L E S S F R E E D O M ----------------------------------------------------- OpenWrt SNAPSHOT, r11740-9b02d32e34 ----------------------------------------------------- === WARNING! ===================================== There is no root password defined on this device! Use the "passwd" command to set up a new password in order to prevent unauthorized SSH logins. --------------------------------------------------


This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies
  • Last modified: 2021/04/19 17:09
  • by tmomas