User Tools

Site Tools


toh:xunlong:orangepizero

Orange Pi Zero (H2+)

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

Hardware highlights

Model Ports
Orange Pi Zero 1 USB 2.0 Host, 1 USB 2.0 OTG, 2 x USB 2.0 on pin headers, CIR on pin headers, 10/100Mbps Ethernet and XR819 Wi-Fi, microphone, stereo line-out on pin headers, CVBS (on pin headers)

Availability

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

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

Serial

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

Status

Installation process

No image is available for this system yet. But 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) runs to some extent.

https://hyphop.github.io/mizy/ has a working implementation based on OpenWrt, including network, WLAN, etc. Maybe it can be backported to the official OpenWrt.

dmesg

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:/#


Tags

toh/xunlong/orangepizero.txt · Last modified: 2018/04/10 22:06 by tmomas