Skip to content

ROCKPro64 - DKMS im Release RC12 möglich

ROCKPro64
  • Mit dem Image 0.8.0rc12 hat Kamil ein paar Infos veröffentlicht.

    # DKMS
    
    The DKMS (Dynamic Kernel Module Support) is convinient method for installing additional drivers
    that are outside of kernel tree.
    
    There's awesome documentation about [DKMS](https://wiki.archlinux.org/index.php/Dynamic_Kernel_Module_Support)
    on ArchWiki, get familiar with it to understand what and how to use it in general.
    
    To use DKMS you need to have `linux-headers` installed.
    This is by default if you use images generated by this repository.
    
    ## Install DKMS (arm64)
    
    The first step is to install and configure DKMS:
    
    ```bash
    sudo apt-get update -y
    sudo apt-get install dkms git-core
    ```
    
    ## Install DKMS (armhf)
    
    **This currently does not work due to missing `gcc-aarch64-linux-gnu`.**
    
    ## Wireguard
    
    Installing Wireguard is very simple with DKMS and makes Wireguard to be auto-updated
    after kernel change.
    
    Following the documentation from https://www.wireguard.com/install/:
    
    ```bash
    sudo add-apt-repository ppa:wireguard/wireguard
    sudo apt-get install python wireguard
    ```
    
    ## RTL 8812AU (WiFi USB adapter)
    
    The Realtek 8812AU is very popular chipset for USB dongles. The 8812AU is being sold by Pine64, Inc.
    as well.
    
    ```bash
    sudo git clone https://github.com/greearb/rtl8812AU_8821AU_linux.git /usr/src/rtl8812au-4.3.14
    sudo dkms build rtl8812au/4.3.14
    ```
    
    ## tn40xx driver (10Gbps PCIe adapter)
    
    ```bash
    sudo git clone https://github.com/ayufan-rock64/tn40xx-driver /usr/src/tn40xx-001
    sudo dkms build tn40xx/001
    ```
    
    ## exfat-nofuse
    
    ExFat is by default available in Debian/Ubuntu repositories, but this uses FUSE (Filesystem in Userspace).
    There's a very good linux kernel driver available:
    
    ```bash
    sudo git clone https://github.com/barrybingo/exfat-nofuse /usr/src/exfat-1.2.8
    sudo dkms build exfat/1.2.8
    ```
    

    Quelle: https://gitlab.com/ayufan-repos/rock64/linux-build/commit/c6ebc51ab5c2e347897f98cab474016d7dce354f

    Da wären

    • DKMS für arm64
    • Wireguard
    • RTL 8812AU (WiFi USB adapter)
    • tn40xx driver (10Gbps PCIe adapter)
    • exfat-nofuse

    DKMS Erklärung gibt es hier. Ich versuche das mal zu erklären.

    DKMS ist ein Programm was es ermöglicht Kernel Module außerhalb des Kernels zu ermöglichen. Diese Kernelmodule werden nach der Installation eines neuen Kernels aber automatisch neu gebaut.

    Das habe ich mit Wireguard ja schon erfolgreich ausprobiert, hier nachzulesen.

    DKMS Status

    Hier sieht man, das wireguard installiert ist.

    root@rockpro64:~# dkms status
        wireguard, 0.0.20190406, 4.4.167-1189-rockchip-ayufan-gea9ef7a80268, aarch64: installed
    

    Mehr Infos zu DKMS findet man hier.

    Damit kann man nun z.B. diesen USB WiFi Adapter von pine64.org benutzen.

    Außerdem 10Gbps PCIe Netzwerkkarten. Schnelle Datenübertragungen für zu Hause? Nun kein Problem mehr, aber noch ein recht teurer Spaß 🙂

    exFAT ist ein Dateisystem von Microsoft, was speziell für Flash-Wechselspeicher entwickelt wurde.

    Dann viel Spaß beim Ausprobieren 😉

  • ROCKPro64 - Release 0.10.6 Was geht?

    Angeheftet ROCKPro64
    1
    0 Stimmen
    1 Beiträge
    384 Aufrufe
    Niemand hat geantwortet
  • Wireguard

    Verschoben Wireguard
    4
    0 Stimmen
    4 Beiträge
    787 Aufrufe
    FrankMF

    Etwas schnellerer Weg den Tunnel aufzubauen, Voraussetzung

    wireguard modul installiert Keys erzeugt

    Danach dann einfach

    ip link add wg0 type wireguard wg setconf wg0 /etc/wireguard/wg0.conf Datei /etc/wireguard/wg0.conf [Interface] PrivateKey = <Private Key> ListenPort = 60563 [Peer] PublicKey = <Public Key Ziel> Endpoint = <IPv4 Adresse Zielrechner>:58380 AllowedIPs = 10.10.0.1/32

    Die Rechte der Dateien von wireguard müssen eingeschränkt werden.

    sudo chmod 0600 /etc/wireguard/wg0.conf

    Das ganze per rc.local beim Booten laden. Datei /root/wireguard_start.sh

    ############################################################################################### # Autor: Frank Mankel # Startup-Script # Wireguard # Kontakt: frank.mankel@gmail.com # ############################################################################################### ip link add wg0 type wireguard ip address add dev wg0 10.10.0.1/8 wg setconf wg0 /etc/wireguard/wg0.conf ip link set up dev wg0

    Danach Datei ausführbar machen

    chmod +x /root/wireguard_start.sh

    In rc.local

    /root/wireguard_start.sh

    eintragen - Fertig!

  • Ayufan Release 0.7.13 (WiFi)

    ROCKPro64
    6
    0 Stimmen
    6 Beiträge
    461 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
  • ROCKPro WLan Modul

    Verschoben ROCKPro64
    1
    0 Stimmen
    1 Beiträge
    689 Aufrufe
    Niemand hat geantwortet
  • Benchmark Script

    ROCKPro64
    2
    0 Stimmen
    2 Beiträge
    578 Aufrufe
    FrankMF
    Mainline

    Mein gekürztes Ergebnis auf einem ROCKPro64 v2.0 mit 4GB RAM und 4.18er Kernel, dieser ROCK benutzt eine SD-Karte!

    Gekürzt

    Distributor ID: Ubuntu Description: Ubuntu 18.04.1 LTS Release: 18.04 Codename: bionic Architecture: arm64 Uptime: 16:14:56 up 4 min, 1 user, load average: 0.08, 0.02, 0.01 Linux 4.18.0-rc5-1048-ayufan-g69e417fe38cf (rockpro64) 07/27/18 _aarch64_ (6 CPU) avg-cpu: %user %nice %system %iowait %steal %idle 0.54 0.00 0.74 0.39 0.00 98.33 Device tps kB_read/s kB_wrtn/s kB_read kB_wrtn mmcblk0 20.63 634.58 48.26 168380 12804 nvme0n1 0.14 4.01 0.00 1064 0 total used free shared buff/cache available Mem: 3.8G 241M 3.4G 19M 201M 3.5G Swap: 0B 0B 0B ##########################################################################

    Komplett -> http://ix.io/1ix7

  • Image 0.7.8 - Latest release

    ROCKPro64
    1
    0 Stimmen
    1 Beiträge
    536 Aufrufe
    Niemand hat geantwortet
  • Release Empfehlung für Einsteiger

    Verschoben Archiv
    2
    0 Stimmen
    2 Beiträge
    1k Aufrufe
    FrankMF

    Sieht so aus, als wenn wir ein neues Traumpaar haben. 🙂

    0.7.7

    und

    rock64@rockpro64:/mnt$ uname -a Linux rockpro64 4.18.0-rc3-1046-ayufan-ge76778b6aa4b #1 SMP PREEMPT Thu Jul 19 14:10:17 UTC 2018 aarch64 aarch64 aarch64 GNU/Linux
  • ROCKPro64 - PCIe x4

    Verschoben Hardware
    13
    0 Stimmen
    13 Beiträge
    5k Aufrufe
    FrankMF

    @Northstar Hallo, laut meinen Info's nicht, hat irgendwas mit der Speicheradressierung zu tuen. Und Grafikkarten benötigen wohl zu viel. Das ist das, was ich bei den vielen Diskussionen im IRC so aufgeschnappt habe.

    Ich habe es auch schon mal genauso probiert - natürlich ohne Erfolg.