WIP: Add builder for A64 OLinuXino
When built with unstable distribution, Ethernet devices does not show up. So, I have tested this with kernel and u-boot from 'experimental' by installing the packages after booting. I could not use the eMMC disk on the board. Test data follows:
Boot Log
U-Boot SPL 2019.01+dfsg-7 (May 14 2019 - 02:07:44 +0000)
DRAM: 1024 MiB
Trying to boot from MMC1
NOTICE: BL31: v2.0(debug):
NOTICE: BL31: Built : 23:33:29, Nov 27 2018
NOTICE: BL31: Detected Allwinner A64/H64/R18 SoC (1689)
NOTICE: BL31: Found U-Boot DTB at 0x407fac0, model: Olimex A64-Olinuxino
INFO: ARM GICv2 driver initialized
INFO: Configuring SPC Controller
NOTICE: BL31: PMIC: Detected AXP803 on RSB.
INFO: PMIC: AXP803: Enabling DRIVEVBUS
INFO: PMIC: AXP803: dcdc1 voltage: 3.300V
INFO: PMIC: AXP803: dcdc5 voltage: 1.360V
INFO: PMIC: AXP803: dcdc6 voltage: 1.100V
INFO: PMIC: AXP803: dldo1 voltage: 3.300V
INFO: BL31: Platform setup done
INFO: BL31: Initializing runtime services
INFO: BL31: cortex_a53: CPU workaround for 843419 was applied
INFO: BL31: cortex_a53: CPU workaround for 855873 was applied
INFO: BL31: Preparing for EL3 exit to normal world
INFO: Entry point address = 0x4a000000
INFO: SPSR = 0x3c9
U-Boot 2019.01+dfsg-7 (May 14 2019 - 02:07:44 +0000) Allwinner Technology
CPU: Allwinner A64 (SUN50I)
Model: Olimex A64-Olinuxino
DRAM: 1 GiB
MMC: SUNXI SD/MMC: 0, SUNXI SD/MMC: 1
Loading Environment from FAT... Unable to use mmc 1:1... In: serial
Out: serial
Err: serial
Net: phy interface7
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
2229 bytes read in 7 ms (310.5 KiB/s)
## Executing script at 4fc00000
18739056 bytes read in 867 ms (20.6 MiB/s)
22141 bytes read in 13 ms (1.6 MiB/s)
25219403 bytes read in 1199 ms (20.1 MiB/s)
Booting Debian 5.0.0-trunk-arm64 from mmc 0:1...
## Flattened Device Tree blob at 4fa00000
Booting using the fdt blob at 0x4fa00000
EHCI failed to shut down host controller.
EHCI failed to shut down host controller.
Loading Ramdisk to 487f2000, end 49fff14b ... OK
Loading Device Tree to 00000000487e9000, end 00000000487f167c ... OK
Starting kernel ...
[ 2.894045] sun50i-de2-bus 1000000.de2: Error couldn't map SRAM to device
[ 3.552583] sun4i-usb-phy 1c19400.phy: Couldn't get regulator usb0_vbus... Deferring probe
[ 3.612991] sun4i-usb-phy 1c19400.phy: Couldn't get regulator usb0_vbus... Deferring probe
[ 3.654455] sun4i-usb-phy 1c19400.phy: Couldn't get regulator usb0_vbus... Deferring probe
[ 3.690501] sun4i-usb-phy 1c19400.phy: Couldn't get regulator usb0_vbus... Deferring probe
[ 3.768655] vcc-pl: voltage operation not allowed
[ 17.857533] rtl8723bs mmc1:0001:1: firmware: failed to load rtlwifi/rtl8723bs_nic.bin (-2)
[ 17.865867] firmware_class: See https://wiki.debian.org/Firmware for information about missing firmware
[ 17.875297] Request firmware failed with error 0xfffffffe
[ 17.957607] rtl8723bs mmc1:0001:1: firmware: failed to load rtlwifi/rtl8723bs_nic.bin (-2)
[ 17.967754] Request firmware failed with error 0xfffffffe
[ 17.980505] rtl8723bs mmc1:0001:1: firmware: failed to load rtlwifi/rtl8723bs_nic.bin (-2)
[ 17.990281] Request firmware failed with error 0xfffffffe
Debian GNU/Linux 10 freedombox ttyS0
CPU
root@freedombox:~# cat /proc/cpuinfo
processor : 0
BogoMIPS : 48.00
Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part : 0xd03
CPU revision : 4
processor : 1
BogoMIPS : 48.00
Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part : 0xd03
CPU revision : 4
processor : 2
BogoMIPS : 48.00
Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part : 0xd03
CPU revision : 4
processor : 3
BogoMIPS : 48.00
Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part : 0xd03
CPU revision : 4
Model
root@freedombox:~# cat /sys/firmware/devicetree/base/model
Olimex A64-Olinuxinoroot@freedombox:~#
RAM
root@freedombox:~# free -m
total used free shared buff/cache available
Mem: 991 315 127 7 548 586
Swap: 0 0 0
Ethernet
root@freedombox:~# iperf3 -c 10.42.1.1
Connecting to host 10.42.1.1, port 5201
[ 5] local 10.42.1.80 port 38236 connected to 10.42.1.1 port 5201
[ ID] Interval Transfer Bitrate Retr Cwnd
[ 5] 0.00-1.00 sec 112 MBytes 940 Mbits/sec 0 404 KBytes
[ 5] 1.00-2.00 sec 110 MBytes 924 Mbits/sec 0 421 KBytes
[ 5] 2.00-3.00 sec 111 MBytes 928 Mbits/sec 0 421 KBytes
[ 5] 3.00-4.00 sec 110 MBytes 924 Mbits/sec 0 510 KBytes
[ 5] 4.00-5.00 sec 111 MBytes 929 Mbits/sec 0 510 KBytes
[ 5] 5.00-6.00 sec 110 MBytes 926 Mbits/sec 0 564 KBytes
[ 5] 6.00-7.00 sec 111 MBytes 931 Mbits/sec 0 628 KBytes
[ 5] 7.00-8.00 sec 110 MBytes 923 Mbits/sec 0 628 KBytes
[ 5] 8.00-9.00 sec 110 MBytes 923 Mbits/sec 0 628 KBytes
[ 5] 9.00-10.00 sec 111 MBytes 933 Mbits/sec 0 628 KBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bitrate Retr
[ 5] 0.00-10.00 sec 1.08 GBytes 928 Mbits/sec 0 sender
[ 5] 0.00-10.04 sec 1.08 GBytes 922 Mbits/sec receiver
iperf Done.
root@freedombox:~# iperf3 -c 10.42.1.1 -R
Connecting to host 10.42.1.1, port 5201
Reverse mode, remote host 10.42.1.1 is sending
[ 5] local 10.42.1.80 port 38240 connected to 10.42.1.1 port 5201
[ ID] Interval Transfer Bitrate
[ 5] 0.00-1.00 sec 90.2 MBytes 757 Mbits/sec
[ 5] 1.00-2.00 sec 88.8 MBytes 745 Mbits/sec
[ 5] 2.00-3.00 sec 87.9 MBytes 738 Mbits/sec
[ 5] 3.00-4.00 sec 89.7 MBytes 752 Mbits/sec
[ 5] 4.00-5.00 sec 88.5 MBytes 743 Mbits/sec
[ 5] 5.00-6.00 sec 93.3 MBytes 782 Mbits/sec
[ 5] 6.00-7.00 sec 88.9 MBytes 746 Mbits/sec
[ 5] 7.00-8.00 sec 88.2 MBytes 740 Mbits/sec
[ 5] 8.00-9.00 sec 88.8 MBytes 745 Mbits/sec
[ 5] 9.00-10.00 sec 90.9 MBytes 763 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bitrate Retr
[ 5] 0.00-10.03 sec 897 MBytes 750 Mbits/sec 0 sender
[ 5] 0.00-10.00 sec 895 MBytes 751 Mbits/sec receiver
iperf Done.
Disk
root@freedombox:~# hdparm -t -T /dev/mmcblk0
/dev/mmcblk0:
Timing cached reads: 1270 MB in 2.00 seconds = 634.45 MB/sec
HDIO_DRIVE_CMD(identify) failed: Invalid argument
Timing buffered disk reads: 68 MB in 3.05 seconds = 22.31 MB/sec
Edited by Sunil Mohan Adapa