The recent flurry of activity on the armv7 port prompted me to buy a
Wandboard Quad so I could try a new hardware platform.

As you'd expect with OpenBSD, installation was dead simple and
trouble-free. I grabbed the latest snapshot miniroot-wandboard-60.fs file
from my local mirror, dd'ed it to an SD card, stuck the card in the top
slot on the Wandboard (there are 2 slots, but reportedly only the upper
slot is bootable), plugged in a null modem cable for a serial console, and
connected the power. The board booted into bsd.rd and installed as usual.

I have not done any extensive testing yet, but I'm including the results
of 'openssl speed' and 'md5 -t' as a crude benchmark of CPU performance.
According to the specs this board is supposed to run at 1 GHz, but mine
seems to boot up at 792 MHz instead. This is probably configurable
somewhere, maybe within U-Boot, but I have not explored that yet.

The only oddity I've noticed so far is that the dmesg lists a third sdmmc
device when there are only two physical slots. I have not tried using a
second SD card in the lower slot, but I expect it will work fine.

Following are the 'openssl speed' and 'md5 -t' results, as well as a
'sysctl hw' and dmesg. Thanks to the developers who have been working so
hard on this platform!

-----

LibreSSL 2.5.0
built on: date not available
options:bn(64,32) rc4(ptr,int) des(idx,cisc,16,long) aes(partial)
idea(int) blowfish(idx)
compiler: information not available
The 'numbers' are in 1000s of bytes per second processed.
type             16 bytes     64 bytes    256 bytes   1024 bytes   8192 bytes
md2                  0.00         0.00         0.00         0.00         0.00
md4               5540.83k    19327.23k    54267.22k    98484.31k
130551.44k
md5               3898.23k    13996.04k    39344.72k    70417.97k
92032.51k
hmac(md5)         5377.17k    17490.31k    45299.67k    75457.88k
93493.12k
sha1              4189.54k    13547.88k    31824.09k    47186.54k
54307.03k
rmd160            3442.88k    10034.65k    20882.65k    28884.62k
32726.90k
rc4              36176.50k    39058.88k    41778.77k    42090.15k
42149.34k
des cbc          10151.93k    10928.95k    11112.44k    11247.22k
11167.70k
des ede3          3902.13k     3980.65k     4026.57k     4035.98k
4063.23k
idea cbc          9638.86k    10107.32k    10328.62k    10367.06k
10341.03k
seed cbc             0.00         0.00         0.00         0.00         0.00
rc2 cbc           8145.03k     8492.99k     8667.56k     8636.19k
8686.25k
rc5-32/12 cbc        0.00         0.00         0.00         0.00         0.00
blowfish cbc     19748.39k    21868.33k    22328.32k    22642.08k
22533.46k
cast cbc         16150.69k    17645.76k    17825.76k    17988.95k
17978.85k
aes-128 cbc      22743.94k    25601.49k    26023.59k    26640.15k
26514.77k
aes-192 cbc      20264.96k    21907.75k    22725.95k    22938.63k
22964.91k
aes-256 cbc      18069.54k    19826.97k    20212.04k    20643.84k
20665.69k
camellia-128 cbc    15796.13k    17206.26k    17443.81k    17585.24k
17547.70k
camellia-192 cbc    12598.56k    13344.47k    13663.91k    13637.51k
13711.39k
camellia-256 cbc    12589.03k    13301.57k    13394.74k    13732.18k
13811.33k
sha256            6371.41k    14286.47k    24558.90k    29677.75k
32049.83k
sha512            1830.57k     7313.82k    10421.41k    14217.95k
15816.24k
whirlpool          652.76k     1310.27k     2135.72k     2523.48k
2627.37k
aes-128 ige      21055.95k    24409.04k    25611.40k    26153.44k
26313.36k
aes-192 ige      18235.72k    20863.64k    21903.22k    22177.25k
22287.14k
aes-256 ige      16439.16k    18527.72k    19414.61k    19495.67k
19528.32k
ghash            24031.10k    27179.35k    28220.35k    28742.31k
29040.37k
aes-128 gcm       4901.14k     9394.71k    12110.58k    13078.04k
13660.57k
aes-256 gcm       4411.09k     8215.83k    10625.54k    11448.94k
11909.91k
chacha20 poly1305     1767.92k     6481.10k    11053.23k    13396.59k
14307.42k
                  sign    verify    sign/s verify/s
rsa  512 bits 0.001200s 0.000130s    833.5   7687.6
rsa 1024 bits 0.006262s 0.000380s    159.7   2629.4
rsa 2048 bits 0.041883s 0.001331s     23.9    751.1
rsa 4096 bits 0.301765s 0.005084s      3.3    196.7
                  sign    verify    sign/s verify/s
dsa  512 bits 0.001289s 0.001322s    775.9    756.4
dsa 1024 bits 0.003830s 0.004121s    261.1    242.7
dsa 2048 bits 0.013445s 0.014557s     74.4     68.7
                              sign    verify    sign/s verify/s
 160 bit ecdsa (secp160r1)   0.0009s   0.0030s   1115.9    329.7
 192 bit ecdsa (nistp192)   0.0011s   0.0041s    898.9    241.8
 224 bit ecdsa (nistp224)   0.0014s   0.0060s    691.7    166.4
 256 bit ecdsa (nistp256)   0.0017s   0.0070s    597.4    142.5
 384 bit ecdsa (nistp384)   0.0035s   0.0173s    281.8     57.6
 521 bit ecdsa (nistp521)   0.0069s   0.0371s    144.1     26.9
 163 bit ecdsa (nistk163)   0.0030s   0.0097s    330.2    102.7
 233 bit ecdsa (nistk233)   0.0064s   0.0183s    155.6     54.7
 283 bit ecdsa (nistk283)   0.0098s   0.0332s    101.8     30.1
 409 bit ecdsa (nistk409)   0.0255s   0.0733s     39.2     13.6
 571 bit ecdsa (nistk571)   0.0648s   0.1677s     15.4      6.0
 163 bit ecdsa (nistb163)   0.0030s   0.0105s    329.4     95.7
 233 bit ecdsa (nistb233)   0.0064s   0.0201s    156.5     49.8
 283 bit ecdsa (nistb283)   0.0099s   0.0366s    100.8     27.3
 409 bit ecdsa (nistb409)   0.0257s   0.0835s     39.0     12.0
 571 bit ecdsa (nistb571)   0.0647s   0.1925s     15.4      5.2
                              op      op/s
 160 bit ecdh (secp160r1)   0.0025s    392.8
 192 bit ecdh (nistp192)   0.0034s    292.5
 224 bit ecdh (nistp224)   0.0049s    205.4
 256 bit ecdh (nistp256)   0.0058s    172.9
 384 bit ecdh (nistp384)   0.0143s     70.2
 521 bit ecdh (nistp521)   0.0310s     32.2
 163 bit ecdh (nistk163)   0.0048s    207.1
 233 bit ecdh (nistk233)   0.0090s    110.8
 283 bit ecdh (nistk283)   0.0162s     61.7
 409 bit ecdh (nistk409)   0.0367s     27.2
 571 bit ecdh (nistk571)   0.0834s     12.0
 163 bit ecdh (nistb163)   0.0051s    195.1
 233 bit ecdh (nistb233)   0.0098s    102.5
 283 bit ecdh (nistb283)   0.0182s     54.8
 409 bit ecdh (nistb409)   0.0417s     24.0
 571 bit ecdh (nistb571)   0.0957s     10.4

-----

MD5 time trial.  Processing 10000 10000-byte blocks...
Digest = 52e5f9c9e6f656f3e1800dfa5579d089
Time   = 1.034702 seconds
Speed  = 96646184.118712 bytes/second

-----

hw.machine=armv7
hw.model=ARM Cortex A9 R2 rev 10 (ARMv7 core)
hw.ncpu=1
hw.byteorder=1234
hw.pagesize=4096
hw.disknames=sd0:3c60000fd48d06a0
hw.diskcount=1
hw.cpuspeed=792
hw.product=Wandboard i.MX6 Quad Board
hw.physmem=2147483648
hw.usermem=2147471360
hw.ncpufound=1
hw.allowpowerdown=1

-----

OpenBSD 6.0-current (GENERIC) #13: Wed Aug 10 04:58:46 MDT 2016
    dera...@armv7.openbsd.org:/usr/src/sys/arch/armv7/compile/GENERIC
real mem  = 2147483648 (2048MB)
avail mem = 2097725440 (2000MB)
mainbus0 at root: Wandboard i.MX6 Quad Board
cpu0 at mainbus0: ARM Cortex A9 R2 rev 10 (ARMv7 core)
cpu0: DC enabled IC enabled WB disabled EABT branch prediction enabled
cpu0: 32KB(32b/l,4way) I-cache, 32KB(32b/l,4way) wr-back D-cache
cortex0 at mainbus0
amptimer0 at cortex0: tick rate 396000 KHz
armliicc0 at cortex0: rtl 7 waymask: 0x0000000f
imx0 at mainbus0
imxccm0 at imx0: imx6 rev 1.5 CPU freq: 792 MHz
imxiomuxc0 at imx0
imxocotp0 at imx0
simplebus0 at mainbus0: "soc"
ampintc0 at simplebus0 nirq 160
simplebus1 at simplebus0: "aips-bus"
simplebus2 at simplebus1: "spba-bus"
imxuart0 at simplebus2: console
imxgpio0 at simplebus1
imxgpio1 at simplebus1
imxgpio2 at simplebus1
imxgpio3 at simplebus1
imxgpio4 at simplebus1
imxgpio5 at simplebus1
imxgpio6 at simplebus1
imxdog0 at simplebus1
simplebus3 at simplebus1: "anatop"
imxgpc0 at simplebus1
simplebus4 at simplebus0: "aips-bus"
imxehci0 at simplebus4
usb0 at imxehci0: USB revision 2.0
uhub0 at usb0 "i.MX6 EHCI root hub" rev 2.00/1.00 addr 1
imxehci1 at simplebus4
usb1 at imxehci1: USB revision 2.0
uhub1 at usb1 "i.MX6 EHCI root hub" rev 2.00/1.00 addr 1
fec0 at simplebus4
fec0: address 00:1f:7b:b4:22:5f
atphy0 at fec0 phy 1: AR8035 10/100/1000 PHY, rev. 4
imxesdhc0 at simplebus4
imxesdhc0: 198 MHz base clock
sdmmc0 at imxesdhc0: 4-bit, mmc high-speed, dma
imxesdhc1 at simplebus4
imxesdhc1: 198 MHz base clock
sdmmc1 at imxesdhc1: 4-bit, mmc high-speed, dma
imxesdhc2 at simplebus4
imxesdhc2: 198 MHz base clock
sdmmc2 at imxesdhc2: 4-bit, mmc high-speed, dma
imxiic0 at simplebus4
iic0 at imxiic0
imxiic1 at simplebus4
iic1 at imxiic1
"fsl,sgtl5000" at iic1 addr 0xa not configured
imxuart1 at simplebus4
imxahci0 at simplebus0: AHCI 1.3
scsibus0 at imxahci0: 32 targets
simplebus5 at mainbus0: "regulators"
scsibus1 at sdmmc2: 2 targets, initiator 0
sd0 at scsibus1 targ 1 lun 0: <SD/MMC, 00000, 0010> SCSI2 0/direct fixed
sd0: 61056MB, 512 bytes/sector, 125042688 sectors
vscsi0 at root
scsibus2 at vscsi0: 256 targets
softraid0 at root
scsibus3 at softraid0: 256 targets
boot device: sd0
root on sd0a (3c60000fd48d06a0.a) swap on sd0b dump on sd0b
WARNING: CHECK AND RESET THE DATE!


--
Joe Gidi
j...@entropicblur.com

"You cannot buy skill." -- Ross Seyfried

Reply via email to