Skip to content

ROCKPro64 - USB-OTG funktioniert!

ROCKPro64
1 1 575
  • Mit Kernel 4.4.154-1109-rockchip-ayufan funktioniert jetzt USB-OTG, schreibt Kamil 😉 Ok, dann testen wir das mal.

    Das schreibt Kamil dazu

    (12:14:29) ayufan: use this script: https://github.com/ayufan-rock64/linux-package/blob/master/root-rockpro64/usr/local/sbin/rockpro64_enable_otg.sh
    (12:14:45) ayufan: configure ip on usb0: ifconfig usb0 169.169.222.222
    (12:14:55) ayufan: and run iperf, you should likely see about 200-300MB/s

    Gut, mal eine SD-Karte vorbereitet. Das Script unter /usr/local/sbin angelegt und ausgeführt.

    Der usb0 Schnittstelle die IP 192.168.3.155 zugewiesen. So richtig habe ich da nicht durchgeblickt, aber am Ende konnte ich eine Verbindung aufbauen. Auf dem ROCKPro64

    iperf3 -s
    

    eingegeben. Auf dem Haupt-PC

    iperf3 -c 192.168.3.155
    

    eingegeben. Folgendes Ergebnis habe ich bekommen.

    frank@frank-MS-7A34:~$ iperf3 -c 192.168.3.155
    Connecting to host 192.168.3.155, port 5201
    [  4] local 192.168.3.156 port 33528 connected to 192.168.3.155 port 5201
    [ ID] Interval           Transfer     Bandwidth       Retr  Cwnd
    [  4]   0.00-1.00   sec  59.8 MBytes   502 Mbits/sec    0    143 KBytes       
    [  4]   1.00-2.00   sec  72.4 MBytes   607 Mbits/sec    0    150 KBytes       
    [  4]   2.00-3.00   sec  62.8 MBytes   527 Mbits/sec    0    239 KBytes       
    [  4]   3.00-4.00   sec  78.3 MBytes   657 Mbits/sec    3    341 KBytes       
    [  4]   4.00-5.00   sec  89.1 MBytes   747 Mbits/sec    0    433 KBytes       
    [  4]   5.00-6.00   sec  71.4 MBytes   599 Mbits/sec  213    156 KBytes       
    [  4]   6.00-7.00   sec  74.6 MBytes   626 Mbits/sec  299    126 KBytes       
    [  4]   7.00-8.00   sec  72.4 MBytes   607 Mbits/sec   75    148 KBytes       
    [  4]   8.00-9.00   sec  93.3 MBytes   783 Mbits/sec  120    158 KBytes       
    [  4]   9.00-10.00  sec  87.5 MBytes   734 Mbits/sec   41    189 KBytes       
    - - - - - - - - - - - - - - - - - - - - - - - - -
    [ ID] Interval           Transfer     Bandwidth       Retr
    [  4]   0.00-10.00  sec   761 MBytes   639 Mbits/sec  751             sender
    [  4]   0.00-10.00  sec   761 MBytes   638 Mbits/sec                  receiver
    
    iperf Done.
    

    Angeschlossen hatte ich am USB-C Anschluss des ROCKPro64 und an einer USB3-Schnittstelle meines Haupt-PCs. Die USB3-Schnittstelle ist an einem SD-Karten Gerät dran. Es könnte das Ergebnis ein wenig verfälschen, mein Kabel war aber nicht länger 🙂 Soll ja auch nur zeigen das es klappt.

    Was ihr jetzt damit anfangt, weiß ich nicht, ich habe da nicht so direkt eine Idee zu. Viel Spaß beim Testen!

  • ROCKPro64 - Samsung Portable SSD T5 500GB

    Hardware rockpro64
    1
    0 Stimmen
    1 Beiträge
    322 Aufrufe
    Niemand hat geantwortet
  • ROCKPro64 - Kernel 5.6 und Wireguard 1.0

    ROCKPro64 linux rockpro64 wireguard
    1
    0 Stimmen
    1 Beiträge
    343 Aufrufe
    Niemand hat geantwortet
  • SATA - Booten jetzt möglich

    ROCKPro64 rockpro64
    1
    0 Stimmen
    1 Beiträge
    290 Aufrufe
    Niemand hat geantwortet
  • Ayufan Release 0.7.13 (WiFi)

    ROCKPro64 rockpro64
    6
    0 Stimmen
    6 Beiträge
    616 Aufrufe
    FrankMF
    Für Bluetooth scheint noch was zu fehlen root@rockpro64:/mnt/home/rock64# service bluetooth status ● bluetooth.service - Bluetooth service Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled) Active: active (running) since Sat 2019-04-06 17:36:54 UTC; 2min 11s ago Docs: man:bluetoothd(8) Main PID: 2421 (bluetoothd) Status: "Running" Tasks: 1 (limit: 2380) CGroup: /system.slice/bluetooth.service └─2421 /usr/lib/bluetooth/bluetoothd Apr 06 17:36:54 rockpro64 systemd[1]: Starting Bluetooth service... Apr 06 17:36:54 rockpro64 bluetoothd[2421]: Bluetooth daemon 5.48 Apr 06 17:36:54 rockpro64 systemd[1]: Started Bluetooth service. Apr 06 17:36:54 rockpro64 bluetoothd[2421]: Starting SDP server Apr 06 17:36:54 rockpro64 bluetoothd[2421]: kernel lacks bnep-protocol support Apr 06 17:36:54 rockpro64 bluetoothd[2421]: System does not support network plugin Apr 06 17:36:54 rockpro64 bluetoothd[2421]: Bluetooth management interface 1.10 initialized
  • Ayufan Release 0.7.12

    ROCKPro64 rockpro64
    3
    0 Stimmen
    3 Beiträge
    464 Aufrufe
    FrankMF
    Dafür andere Probleme https://pastebin.com/VGGKm1vR Aktuell nicht zu empfehlen!
  • ROCKPro64 - Armbian - NAS umgezogen

    Armbian armbian rockpro64
    2
    0 Stimmen
    2 Beiträge
    677 Aufrufe
    FrankMF
    Das NAS mit den drei 2,5 Zoll HDD Platten läuft an einem 3A Netzteil - ohne Probleme. Hat heute Nacht die Jobs einwandfrei erledigt https://www.pine64.org/?product=rockpro64-12v-3a-eu-power-supply
  • bionic-minimal-rockpro64

    Verschoben Linux rockpro64
    4
    0 Stimmen
    4 Beiträge
    1k Aufrufe
    FrankMF
    Neue Version 0.7.3 Soll gefixt sein. USB2/3 PCIe LED's LED's Weiße LED starten nach dem Booten dauerhaft OK PCIe Treiber soll drin sein, aber die 3,3V werden nicht zur Karte durchgeschaltet. Somit funktioniert PCIe nicht. Nicht OK USB2 USB-Funkadapter wird erkannt Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 002: ID 1113:3163 Medion AG Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Funktastur getestet OK USB3 Angeschlossene SSD wird erkannt OK Kurzer Speed-Test. Bitte dran denken, wir haben hier noch kein optimiertes Release, sondern einen ersten Gehversuch. Da sind noch ganz viele Dinge anzupassen, was sicherlich noch Wochen, wenn nicht Monate dauert! Also, die Messergebnisse mit der nötigen Vorsicht genießen. Und dran denken, wenn @tkaiser das Ding richtig untersucht, dann haben wir auch ordentliche Meßergebnisse! Haupt-PC 2,5Zoll am USB3-Port sudo dd if=/dev/zero of=sd.img bs=1M count=4096 conv=fdatasync [sudo] Passwort für frank: 4096+0 Datensätze ein 4096+0 Datensätze aus 4294967296 bytes (4,3 GB, 4,0 GiB) copied, 38,171 s, **113 MB/s** ROCKPro64 Ich benutze eine SAN Disk 240GB SSD an einem Inateck USB 3.0 2,5 Zoll Adapter. Info zum USB-Adapter lsusb Bus 004 Device 002: ID 174c:55aa ASMedia Technology Inc. ASM1051E SATA 6Gb/s bridge, ASM1053E SATA 6Gb/s bridge, ASM1153 SATA 3Gb/s bridge 2,5 Zoll SSD am USB2-Port sudo dd if=/dev/zero of=sd.img bs=1M count=4096 conv=fdatasync 4096+0 records in 4096+0 records out 4294967296 bytes (4.3 GB, 4.0 GiB) copied, 160.058 s, **26.8 MB/s** 2,5 Zoll SSD am USB3 Port sudo dd if=/dev/zero of=sd.img bs=1M count=4096 conv=fdatasync 4096+0 records in 4096+0 records out 4294967296 bytes (4.3 GB, 4.0 GiB) copied, 36.2588 s, **118 MB/s** Der @tkaiser erreicht deutlich höhere Geschwindigkeiten. Bis zu 400 MB/s. Hier nachzulesen. Wenn ich so einen iozone Test mache wie der Thomas, dann erreiche ich ähnliche Werte sudo iozone -a -g 1000m -s 1000m -i 0 -i 1 -r 16384K Iozone: Performance Test of File I/O Version $Revision: 3.429 $ Compiled for 64 bit mode. Build: linux Contributors:William Norcott, Don Capps, Isom Crawford, Kirby Collins Al Slater, Scott Rhine, Mike Wisner, Ken Goss Steve Landherr, Brad Smith, Mark Kelly, Dr. Alain CYR, Randy Dunlap, Mark Montague, Dan Million, Gavin Brebner, Jean-Marc Zucconi, Jeff Blomberg, Benny Halevy, Dave Boone, Erik Habbinga, Kris Strecker, Walter Wong, Joshua Root, Fabrice Bacchella, Zhenghua Xue, Qin Li, Darren Sawyer, Vangel Bojaxhi, Ben England, Vikentsi Lapa. Run began: Sat May 26 05:16:40 2018 Auto Mode Using maximum file size of 1024000 kilobytes. File size set to 1024000 kB Record Size 16384 kB Command line used: iozone -a -g 1000m -s 1000m -i 0 -i 1 -r 16384K Output is in kBytes/sec Time Resolution = 0.000001 seconds. Processor cache size set to 1024 kBytes. Processor cache line size set to 32 bytes. File stride size set to 17 * record size. random random bkwd record stride kB reclen write rewrite read reread read write read rewrite read fwrite frewrite fread freread 1024000 16384 383912 348782 1515506 1659394 Da muss ich den Thomas nochmal was zu fragen. ?? UART2 Und zum Schluss ist mir noch aufgefallen, das die UART2 Schnittstelle jetzt funktioniert Ok, den Adapter, der morgen kommt, habe ich dann umsonst bestellt. LOL OK
  • Wiki zum ROCKPro64 veröffentlicht!

    Verschoben ROCKPro64 rockpro64
    1
    1
    0 Stimmen
    1 Beiträge
    1k Aufrufe
    Niemand hat geantwortet