I was able to install OpenBSD current on my orangepi one today.
One small issue is that the u-boot package is not in i386 snapshots. So I used u-boot and dtb packages from amd64. The big problem is that the ethernet device did not show up in OpenBSD, neither on the install nor on the built system. On linux the driver is sun8i-emac. Is there a driver for this interface on OpenBSD? U-boot seems to suggest the hardware is there: Trying to boot from MMC1 U-Boot 2017.07 (Aug 15 2017 - 07:39:48 -0600) Allwinner Technology CPU: Allwinner H3 (SUN8I 1680) Model: Xunlong Orange Pi One DRAM: 512 MiB MMC: SUNXI SD/MMC: 0 *** 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 scanning bus 0 for devices... 2 USB Device(s) found scanning usb for storage devices... 1 Storage Device(s) found Hit any key to stop autoboot: 0 Creating the mmc is detailed on the attached file, load sd card for current.txt. The OpenBSD installation log is also attached.
GET STUFF # cd orange_pi/ # rm * # wget http://ftp.openbsd.org/pub/OpenBSD/snapshots/packages/amd64/u-boot-arm-2017.07p0.tgz --2017-08-16 10:18:54-- http://ftp.openbsd.org/pub/OpenBSD/snapshots/packages/amd64/u-boot-arm-2017.07p0.tgz Resolving ftp.openbsd.org (ftp.openbsd.org)... 129.128.5.191 Connecting to ftp.openbsd.org (ftp.openbsd.org)|129.128.5.191|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 54114988 (52M) [text/plain] Saving to: 'u-boot-arm-2017.07p0.tgz' u-boot-arm-2017.07p0.tgz 100%[=====================================>] 51.61M 3.07MB/s in 17s 2017-08-16 10:19:11 (3.04 MB/s) - 'u-boot-arm-2017.07p0.tgz' saved [54114988/54114988] # wget http://ftp.openbsd.org/pub/OpenBSD/snapshots/packages/amd64/dtb-4.12.tgz --2017-08-16 10:19:39-- http://ftp.openbsd.org/pub/OpenBSD/snapshots/packages/amd64/dtb-4.12.tgz Resolving ftp.openbsd.org (ftp.openbsd.org)... 129.128.5.191 Connecting to ftp.openbsd.org (ftp.openbsd.org)|129.128.5.191|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 4991864 (4.8M) [text/plain] Saving to: 'dtb-4.12.tgz' dtb-4.12.tgz 100%[=====================================>] 4.76M 1.38MB/s in 3.6s 2017-08-16 10:19:43 (1.33 MB/s) - 'dtb-4.12.tgz' saved [4991864/4991864] # wget http://ftp.openbsd.org/pub/OpenBSD/snapshots/armv7/INSTALL.armv7 --2017-08-16 10:21:00-- http://ftp.openbsd.org/pub/OpenBSD/snapshots/armv7/INSTALL.armv7 Resolving ftp.openbsd.org (ftp.openbsd.org)... 129.128.5.191 Connecting to ftp.openbsd.org (ftp.openbsd.org)|129.128.5.191|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 36632 (36K) [text/plain] Saving to: 'INSTALL.armv7' INSTALL.armv7 100%[=====================================>] 35.77K --.-KB/s in 0.1s 2017-08-16 10:21:01 (366 KB/s) - 'INSTALL.armv7' saved [36632/36632] # wget http://ftp.openbsd.org/pub/OpenBSD/snapshots/armv7/base61.tgz --2017-08-16 10:21:32-- http://ftp.openbsd.org/pub/OpenBSD/snapshots/armv7/base61.tgz Resolving ftp.openbsd.org (ftp.openbsd.org)... 129.128.5.191 Connecting to ftp.openbsd.org (ftp.openbsd.org)|129.128.5.191|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 67972004 (65M) [text/plain] Saving to: 'base61.tgz' base61.tgz 100%[=====================================>] 64.82M 1.77MB/s in 28s 2017-08-16 10:22:00 (2.33 MB/s) - 'base61.tgz' saved [67972004/67972004] # wget http://ftp.openbsd.org/pub/OpenBSD/snapshots/armv7/bsd --2017-08-16 10:22:09-- http://ftp.openbsd.org/pub/OpenBSD/snapshots/armv7/bsd Resolving ftp.openbsd.org (ftp.openbsd.org)... 129.128.5.191 Connecting to ftp.openbsd.org (ftp.openbsd.org)|129.128.5.191|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 5103629 (4.9M) [text/plain] Saving to: 'bsd' bsd 100%[=====================================>] 4.87M 1.17MB/s in 4.5s 2017-08-16 10:22:13 (1.07 MB/s) - 'bsd' saved [5103629/5103629] # wget http://ftp.openbsd.org/pub/OpenBSD/snapshots/armv7/bsd.rd --2017-08-16 10:22:23-- http://ftp.openbsd.org/pub/OpenBSD/snapshots/armv7/bsd.rd Resolving ftp.openbsd.org (ftp.openbsd.org)... 129.128.5.191 Connecting to ftp.openbsd.org (ftp.openbsd.org)|129.128.5.191|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 10905771 (10M) [text/plain] Saving to: 'bsd.rd' bsd.rd 100%[=====================================>] 10.40M 2.36MB/s in 7.0s 2017-08-16 10:22:30 (1.49 MB/s) - 'bsd.rd' saved [10905771/10905771] # wget http://ftp.openbsd.org/pub/OpenBSD/snapshots/armv7/comp61.tgz --2017-08-16 10:22:38-- http://ftp.openbsd.org/pub/OpenBSD/snapshots/armv7/comp61.tgz Resolving ftp.openbsd.org (ftp.openbsd.org)... 129.128.5.191 Connecting to ftp.openbsd.org (ftp.openbsd.org)|129.128.5.191|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 43079801 (41M) [text/plain] Saving to: 'comp61.tgz' comp61.tgz 100%[=====================================>] 41.08M 3.11MB/s in 14s 2017-08-16 10:22:52 (3.00 MB/s) - 'comp61.tgz' saved [43079801/43079801] # wget http://ftp.openbsd.org/pub/OpenBSD/snapshots/armv7/man61.tgz --2017-08-16 10:23:06-- http://ftp.openbsd.org/pub/OpenBSD/snapshots/armv7/man61.tgz Resolving ftp.openbsd.org (ftp.openbsd.org)... 129.128.5.191 Connecting to ftp.openbsd.org (ftp.openbsd.org)|129.128.5.191|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 7325806 (7.0M) [text/plain] Saving to: 'man61.tgz' man61.tgz 100%[=====================================>] 6.99M 1.92MB/s in 4.0s 2017-08-16 10:23:10 (1.73 MB/s) - 'man61.tgz' saved [7325806/7325806] INSTALL DTB AND U-BOOT PACKAGES # pkg_delete dtb dtb-4.10: ok Read shared items: ok # pkg_delete u-boot-arm u-boot-arm-2017.03: ok Read shared items: ok # pkg_add ./dtb-4.12.tgz quirks-2.304 signed on 2017-04-04T09:09:10Z dtb-4.12: ok # pkg_add ./u-boot-arm-2017.07p0.tgz quirks-2.304 signed on 2017-04-04T09:09:10Z u-boot-arm-2017.07p0: ok # wget http://ftp.openbsd.org/pub/OpenBSD/snapshots/armv7/miniroot-cubie-61.fs --2017-08-16 11:04:04-- http://ftp.openbsd.org/pub/OpenBSD/snapshots/armv7/miniroot-cubie-61.fs Resolving ftp.openbsd.org (ftp.openbsd.org)... 129.128.5.191 Connecting to ftp.openbsd.org (ftp.openbsd.org)|129.128.5.191|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 18874368 (18M) [text/plain] Saving to: 'miniroot-cubie-61.fs' miniroot-cubie-61.fs 100%[=====================================>] 18.00M 3.12MB/s in 6.9s 2017-08-16 11:04:11 (2.63 MB/s) - 'miniroot-cubie-61.fs' saved [18874368/18874368] # ls -al total 415280 drwxr-xr-x 2 sysadmin sysadmin 512 Aug 16 11:04 . drwxr-xr-x 4 sysadmin sysadmin 1024 Aug 14 21:44 .. -rw-r--r-- 1 root sysadmin 36632 Aug 16 00:12 INSTALL.armv7 -rw-r--r-- 1 root sysadmin 67972004 Aug 15 23:37 base61.tgz -rw-r--r-- 1 root sysadmin 5103629 Aug 15 23:34 bsd -rw-r--r-- 1 root sysadmin 10905771 Aug 16 00:12 bsd.rd -rw-r--r-- 1 root sysadmin 43079801 Aug 15 23:38 comp61.tgz -rw-r--r-- 1 root sysadmin 4991864 Aug 15 21:09 dtb-4.12.tgz -rw-r--r-- 1 root sysadmin 7325806 Aug 15 23:39 man61.tgz -rw-r--r-- 1 root sysadmin 18874368 Aug 16 00:12 miniroot-cubie-61.fs -rw-r--r-- 1 root sysadmin 54114988 Aug 15 21:15 u-boot-arm-2017.07p0.tgz CREATE MINIROOT AND PUT ON MMC # cp miniroot-cubie-61.fs miniroot-orangepione-61.fs # vnconfig vnd0 miniroot-orangepione-61.fs # mkdir -p /mnt/vnd0i # mount /dev/vnd0i /mnt/vnd0i # rm -rf /mnt/vnd0i/sun7i-a20-cubieboard2.dtb # cp /usr/local/share/dtb/arm/sun8i-h3-orangepi-one.dtb /mnt/vnd0i # dd if=/usr/local/share/u-boot/orangepi_one/u-boot-sunxi-with-spl.bin \ > of=/dev/rvnd0c bs=1024 seek=8 conv=notrunc 428+1 records in 428+1 records out 438495 bytes transferred in 0.070 secs (6205001 bytes/sec) # umount /dev/vnd0i # vnconfig -u vnd0 # dd if=miniroot-orangepione-61.fs of=/dev/rsd0c 36864+0 records in 36864+0 records out 18874368 bytes transferred in 116.537 secs (161960 bytes/sec) PUT PACKAGES ON USB MEMORY STICK # mount /dev/sd1i /mnt # cd /mnt # rm *.tgz # rm bsd* # cd /home/sysadmin/orange_pi/ # cp INSTALL.armv7 /mnt # cp base61.tgz /mnt # cp comp61.tgz /mnt # cp man61.tgz /mnt # cp bsd* /mnt # ls -alt /mnt total 262980 -rw-r--r-- 1 root wheel 10905771 Aug 16 11:22 bsd.rd -rw-r--r-- 1 root wheel 5103629 Aug 16 11:22 bsd -rw-r--r-- 1 root wheel 7325806 Aug 16 11:22 man61.tgz -rw-r--r-- 1 root wheel 43079801 Aug 16 11:22 comp61.tgz -rw-r--r-- 1 root wheel 67972004 Aug 16 11:21 base61.tgz -rw-r--r-- 1 root wheel 36632 Aug 16 11:20 INSTALL.armv7 drwxr-xr-x 16 root wheel 512 Aug 15 22:11 .. drwxr-xr-x 1 root wheel 4096 Dec 31 1979 . # umount /mnt
ÿþU - B o o t S P L 2 0 1 7 . 0 7 ( A u g 1 5 2 0 1 7 - 0 7 : 3 9 : 4 8 ) D R A M : 5 1 2 M i B T r y i n g t o b o o t f r o m M M C 1 U - B o o t 2 0 1 7 . 0 7 ( A u g 1 5 2 0 1 7 - 0 7 : 3 9 : 4 8 - 0 6 0 0 ) A l l w i n n e r T e c h n o l o g y C P U : A l l w i n n e r H 3 ( S U N 8 I 1 6 8 0 ) M o d e l : X u n l o n g O r a n g e P i O n e D R A M : 5 1 2 M i B M M C : S U N X I S D / M M C : 0 * * * W a r n i n g - b a d C R C , u s i n g d e f a u l t e n v i r o n m e n t I n : s e r i a l O u t : s e r i a l E r r : s e r i a l N e t : p h y i n t e r f a c e 0 e t h 0 : e t h e r n e t @ 1 c 3 0 0 0 0 s t a r t i n g U S B . . . U S B 0 : U S B E H C I 1 . 0 0 U S B 1 : U S B O H C I 1 . 0 s c a n n i n g b u s 0 f o r d e v i c e s . . . 1 U S B D e v i c e ( s ) f o u n d s c a n n i n g u s b f o r s t o r a g e d e v i c e s . . . 0 S t o r a g e D e v i c e ( s ) f o u n d H i t a n y k e y t o s t o p a u t o b o o t : 0 s w i t c h t o p a r t i t i o n s # 0 , O K m m c 0 i s c u r r e n t d e v i c e S c a n n i n g m m c 0 : 1 . . . r e a d i n g / s u n 8 i - h 3 - o r a n g e p i - o n e . d t b 1 4 4 3 6 b y t e s r e a d i n 2 5 m s ( 5 6 3 . 5 K i B / s ) F o u n d E F I r e m o v a b l e m e d i a b i n a r y e f i / b o o t / b o o t a r m . e f i r e a d i n g e f i / b o o t / b o o t a r m . e f i 6 5 4 4 8 b y t e s r e a d i n 3 6 m s ( 1 . 7 M i B / s ) # # S t a r t i n g E F I a p p l i c a t i o n a t 4 2 0 0 0 0 0 0 . . . S c a n n i n g d i s k s o n u s b . . . S c a n n i n g d i s k s o n m m c . . . M M C D e v i c e 1 n o t f o u n d M M C D e v i c e 2 n o t f o u n d M M C D e v i c e 3 n o t f o u n d F o u n d 5 d i s k s >