On 13/05/19 2:09 pm, Vagrant Cascadian wrote: > On 2019-05-13, Sunil Mohan Adapa wrote: >> Source: u-boot >> Version: 2019.07-rc1+dfsg-4 > ... >> It would be nice to have support for the Pine64 LTS board which is different >> from Pine64+ board that is already supported. Upstream u-boot, flash-kernel >> and >> Debian kernel already have support for the board. > > Thanks! Committed to git. > > Would you consider testing against u-boot 2019.01+dfsg-* packages in > Debian too, so support could be added for buster?
Thank your for merging the patch. I have tested the patch on branch
debian/2019.01+dfsg-6 with the following results. Everything looks good.
Boot Log
--------
U-Boot SPL 2019.01+dfsg-6 (May 12 2019 - 01:20:19 +0000)
DRAM: 2048 MiB
Trying to boot from MMC1
NOTICE: BL3-1: Running on A64/H64 (1689) in SRAM A2 (@0x44000)
NOTICE: Configuring SPC Controller
NOTICE: BL3-1: v1.0(debug):
NOTICE: BL3-1: Built : 12:32:39, Apr 11 2018
NOTICE: DT: sun50i-a64-pine64-lts
INFO: Configuring AXP PMIC
INFO: PMIC: DRAM voltage: 1.24V
INFO: PMIC: setup successful
NOTICE: SCPI: dummy stub handler, implementation level: 000000
INFO: BL3-1: Initializing runtime services
INFO: BL3-1: Preparing for EL3 exit to normal world
INFO: BL3-1: Next image address: 0x4a000000, SPSR: 0x3c9
U-Boot 2019.01+dfsg-6 (May 12 2019 - 01:20:19 +0000) Allwinner Technology
CPU: Allwinner A64 (SUN50I)
Model: Pine64 LTS
DRAM: 2 GiB
MMC: SUNXI SD/MMC: 0, SUNXI SD/MMC: 1
Loading Environment from FAT... Card did not respond to voltage select!
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
2226 bytes read in 7 ms (310.5 KiB/s)
## Executing script at 4fc00000
18560880 bytes read in 927 ms (19.1 MiB/s)
16053 bytes read in 12 ms (1.3 MiB/s)
25179720 bytes read in 1261 ms (19 MiB/s)
Booting Debian 4.19.0-5-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 487fc000, end 49fff648 ... OK
Loading Device Tree to 00000000487f5000, end 00000000487fbeb4 ... OK
Starting kernel ...
[ 2.670794] sun50i-de2-bus 1000000.de2: Error couldn't map SRAM to device
Debian GNU/Linux 10 freedombox ttyS0
freedombox login:
Board Model
-----------
root@freedombox:~# cat /sys/firmware/devicetree/base/model
Pine64 LTSroot@freedombox:~#
Package Versions
----------------
root@freedombox:~# uname -a
Linux freedombox 4.19.0-5-arm64 #1 SMP Debian 4.19.37-1 (2019-05-05)
aarch64 GNU/Linux
root@freedombox:~# dpkg -l u-boot-sunxi
Desired=Unknown/Install/Remove/Purge/Hold
|
Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==================-==============-============-=================================
ii u-boot-sunxi:arm64 2019.01+dfsg-6 arm64 A boot loader for
sunxi systems
root@freedombox:~# dpkg -l flash-kernel
Desired=Unknown/Install/Remove/Purge/Hold
|
Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==============-============-============-=================================================
ii flash-kernel 3.98 arm64 utility to make certain
embedded devices bootable
RAM
---
root@freedombox:~# free -m
total used free shared buff/cache
available
Mem: 2001 249 1515 8 236
1667
Swap: 0 0 0
Ethernet Performance
--------------------
root@freedombox:~# iperf3 -c 10.42.1.1
Connecting to host 10.42.1.1, port 5201
[ 5] local 10.42.1.210 port 46178 connected to 10.42.1.1 port 5201
[ ID] Interval Transfer Bitrate Retr Cwnd
[ 5] 0.00-1.00 sec 108 MBytes 909 Mbits/sec 0 369 KBytes
[ 5] 1.00-2.00 sec 108 MBytes 903 Mbits/sec 0 385 KBytes
[ 5] 2.00-3.00 sec 107 MBytes 896 Mbits/sec 0 385 KBytes
[ 5] 3.00-4.00 sec 107 MBytes 897 Mbits/sec 0 420 KBytes
[ 5] 4.00-5.00 sec 107 MBytes 896 Mbits/sec 0 438 KBytes
[ 5] 5.00-6.00 sec 106 MBytes 893 Mbits/sec 0 438 KBytes
[ 5] 6.00-7.00 sec 107 MBytes 899 Mbits/sec 0 563 KBytes
[ 5] 7.00-8.00 sec 107 MBytes 899 Mbits/sec 0 619 KBytes
[ 5] 8.00-9.00 sec 108 MBytes 902 Mbits/sec 0 619 KBytes
[ 5] 9.00-10.00 sec 108 MBytes 901 Mbits/sec 0 619 KBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bitrate Retr
[ 5] 0.00-10.00 sec 1.05 GBytes 899 Mbits/sec 0 sender
[ 5] 0.00-10.04 sec 1.04 GBytes 893 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.210 port 46182 connected to 10.42.1.1 port 5201
[ ID] Interval Transfer Bitrate
[ 5] 0.00-1.00 sec 90.3 MBytes 757 Mbits/sec
[ 5] 1.00-2.00 sec 90.4 MBytes 758 Mbits/sec
[ 5] 2.00-3.00 sec 89.7 MBytes 752 Mbits/sec
[ 5] 3.00-4.00 sec 90.5 MBytes 759 Mbits/sec
[ 5] 4.00-5.00 sec 91.6 MBytes 769 Mbits/sec
[ 5] 5.00-6.00 sec 92.8 MBytes 778 Mbits/sec
[ 5] 6.00-7.00 sec 90.6 MBytes 760 Mbits/sec
[ 5] 7.00-8.00 sec 92.7 MBytes 777 Mbits/sec
[ 5] 8.00-9.00 sec 91.3 MBytes 766 Mbits/sec
[ 5] 9.00-10.00 sec 90.5 MBytes 759 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bitrate Retr
[ 5] 0.00-10.04 sec 913 MBytes 763 Mbits/sec 0 sender
[ 5] 0.00-10.00 sec 910 MBytes 764 Mbits/sec
receiver
iperf Done.
--
Sunil
signature.asc
Description: OpenPGP digital signature

