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 😉

  • 0 Votes
    1 Posts
    95 Views
    No one has replied
  • 0 Votes
    6 Posts
    461 Views
    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
    3
    0 Votes
    3 Posts
    395 Views
    FrankMF

    Dafür andere Probleme 🙂

    Link Preview Image 0.7.12_with_pcie_nvme_ssd - Pastebin.com

    Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.

    favicon

    Pastebin (pastebin.com)

    Aktuell nicht zu empfehlen!

  • ROCKPro64 - Das erste Mal

    Pinned Moved Hardware
    5
    1 Votes
    5 Posts
    817 Views
    FrankMF

    Ich kann heute die Fragen aller Fragen beantworten 🙂

    Damit ist leider die Frage immer noch unbeantwortet ob WLan und PCIe zusammen nutzbar ist!! Es geht!!

    Ich habe von MrFixit ein Testimage der RecalBox, benutzt das selbe Debian wie oben. Die Tage konnte man im IRC verfolgen, wie man dem Grundproblem näher kam und wohl einen Fix gebastelt hat, damit beides zusammen funktioniert. Mr.Fixit hat das in RecalBox eingebaut und ich durfte testen.

    # ip a 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue qlen 1 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP8000> mtu 1500 qdisc pfifo_fast qlen 1000 link/ether 62:03:b0:d6:dc:b3 brd ff:ff:ff:ff:ff:ff 3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP8000> mtu 1500 qdisc pfifo_fast qlen 1000 link/ether ac:83:f3:e6:1f:b2 brd ff:ff:ff:ff:ff:ff inet 192.168.178.27/24 brd 192.168.178.255 scope global wlan0 valid_lft forever preferred_lft forever inet6 2a02:908:1262:4680:ae83:f3ff:fee6:1fb2/64 scope global dynamic valid_lft 7145sec preferred_lft 3545sec inet6 fe80::ae83:f3ff:fee6:1fb2/64 scope link valid_lft forever preferred_lft forever # ls /mnt bin etc media recalbox sd.img test2.img boot home mnt root selinux tmp crypthome lib opt run srv usr dev lost+found proc sbin sys var # fdisk BusyBox v1.27.2 (2019-02-01 22:43:19 EST) multi-call binary. Usage: fdisk [-ul] [-C CYLINDERS] [-H HEADS] [-S SECTORS] [-b SSZ] DISK Change partition table -u Start and End are in sectors (instead of cylinders) -l Show partition table for each DISK, then exit -b 2048 (for certain MO disks) use 2048-byte sectors -C CYLINDERS Set number of cylinders/heads/sectors -H HEADS Typically 255 -S SECTORS Typically 63 # fdisk -l Disk /dev/mmcblk0: 15 GB, 15931539456 bytes, 31116288 sectors 486192 cylinders, 4 heads, 16 sectors/track Units: cylinders of 64 * 512 = 32768 bytes Device Boot StartCHS EndCHS StartLBA EndLBA Sectors Size Id Type /dev/mmcblk0p1 * 2,10,9 10,50,40 32768 163839 131072 64.0M c Win95 FAT32 (LBA) Partition 1 does not end on cylinder boundary /dev/mmcblk0p2 * 16,81,2 277,102,17 262144 4456447 4194304 2048M 83 Linux Partition 2 does not end on cylinder boundary /dev/mmcblk0p3 277,102,18 1023,254,63 4456448 31115263 26658816 12.7G 83 Linux Partition 3 does not end on cylinder boundary Disk /dev/nvme0n1: 233 GB, 250059350016 bytes, 488397168 sectors 2543735 cylinders, 12 heads, 16 sectors/track Units: cylinders of 192 * 512 = 98304 bytes Device Boot StartCHS EndCHS StartLBA EndLBA Sectors Size Id Type /dev/nvme0n1p1 1,0,1 907,11,16 2048 488397167 488395120 232G 83 Linux #

    Oben sieht man eine funktionierende WLan-Verbindung, das LAN-Kabel war entfernt. Unten sieht man die PCIe NVMe SSD, gemountet nach /mnt und Inhaltsausgabe.

    Das sollte beweisen, das der Ansatz der Lösung funktioniert. Leider kann ich nicht sagen, das es zum jetzigen Zeitpunkt stabil läuft. Ich habe einfach so Reboots, kann den Fehler aktuell aber nicht fangen. Mal sehen ob ich noch was finde.

    Aber, es ist ein Anfang!

  • 0 Votes
    1 Posts
    502 Views
    No one has replied
  • 0 Votes
    1 Posts
    867 Views
    No one has replied
  • 0 Votes
    1 Posts
    536 Views
    No one has replied
  • Mainline Kernel 4.20.x

    Moved Images
    26
    0 Votes
    26 Posts
    4k Views
    FrankMF

    4.20.0-1090-ayufan released

    Änderungen -> https://gitlab.com/ayufan-repos/rock64/linux-mainline-kernel/commits/master