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 😉

  • [V] RockPro64 V2.1

    Frank's Resterampe
    1
    1
    0 Stimmen
    1 Beiträge
    121 Aufrufe
    Niemand hat geantwortet
  • ROCKPro64 - Debian Bullseye Teil 3

    ROCKPro64
    1
    0 Stimmen
    1 Beiträge
    335 Aufrufe
    Niemand hat geantwortet
  • ROCKPro64 - Kernel 5.3.0-rc4-1117 angetestet!

    ROCKPro64
    1
    0 Stimmen
    1 Beiträge
    391 Aufrufe
    Niemand hat geantwortet
  • Mainline 5.3.x

    Images
    3
    0 Stimmen
    3 Beiträge
    427 Aufrufe
    FrankMF
    5.3.0-1119-ayufan released ayufan: defconfig: enable DRM_PANFROST/DRM_LIMA
  • ROCKPro64 (2GB) - Probleme mit der PCIe SATA-Karte??

    ROCKPro64
    1
    3
    0 Stimmen
    1 Beiträge
    494 Aufrufe
    Niemand hat geantwortet
  • Kernel 4.4.x

    Angeheftet Images
    45
    0 Stimmen
    45 Beiträge
    4k Aufrufe
    FrankMF
    4.4.202-1237-rockchip-ayufan released PATCH: kernel 4.4.201-202
  • Recover Button

    Hardware
    2
    2
    0 Stimmen
    2 Beiträge
    854 Aufrufe
    FrankMF
    Ich hab das mal ausprobiert. Den Recover Button so lange drücken, bis folgendes erscheint. In: serial@ff1a0000 Out: serial@ff1a0000 Err: serial@ff1a0000 Model: Pine64 RockPro64 rockchip_dnl_mode = 1 mode rockchip_dnl_mode = 2 mode rockchip_dnl_mode = 3 mode rockchip_dnl_mode = 4 mode entering maskrom mode... RKFlashTool clonen root@thinkpad:/home/frank/test# git clone https://github.com/rockchip-linux/rkflashtool Klone nach 'rkflashtool' ... remote: Counting objects: 663, done. remote: Total 663 (delta 0), reused 0 (delta 0), pack-reused 663 Empfange Objekte: 100% (663/663), 114.94 KiB | 0 bytes/s, Fertig. Löse Unterschiede auf: 100% (367/367), Fertig. In das Verzeichnis wechseln root@thinkpad:/home/frank/test# cd rkflashtool/ Inhalt root@thinkpad:/home/frank/test/rkflashtool# ls doc Makefile rkcrc.h rkflashtool.h rkparametersblock examples README rkflashall rkmisc rkunpack.c fixversion.sh release.sh rkflashloader rkpad rkunsign flashuboot rkcrc.c rkflashtool.c rkparameters version.h RKFlashtool bauen root@thinkpad:/home/frank/test/rkflashtool# make gcc -O2 -W -Wall -I/usr/include/libusb-1.0 rkflashtool.c -o rkflashtool -lusb-1.0 gcc -O2 -W -Wall -I/usr/include/libusb-1.0 rkcrc.c -o rkcrc -lusb-1.0 gcc -O2 -W -Wall -I/usr/include/libusb-1.0 rkunpack.c -o rkunpack -lusb-1.0 Ich habe ein USB-A to USB-A Kabel vom USB-C Port des ROCKPro64 zu meinem Notebook hergestellt. root@thinkpad:/home/frank/test/rkflashtool# sudo ./rkflashtool v rkflashtool: info: rkflashtool v5.2 rkflashtool: info: Detected RK3399... rkflashtool: info: interface claimed rkflashtool: info: MASK ROM MODE rkflashtool: info: chip version: -..- Ok, Verbindung steht. Eine Übersicht der Befehle root@thinkpad:/home/frank/test/rkflashtool# sudo ./rkflashtool rkflashtool: info: rkflashtool v5.2 rkflashtool: fatal: usage: rkflashtool b [flag] reboot device rkflashtool l <file load DDR init (MASK ROM MODE) rkflashtool L <file load USB loader (MASK ROM MODE) rkflashtool v read chip version rkflashtool n read NAND flash info rkflashtool i offset nsectors >outfile read IDBlocks rkflashtool j offset nsectors <infile write IDBlocks rkflashtool m offset nbytes >outfile read SDRAM rkflashtool M offset nbytes <infile write SDRAM rkflashtool B krnl_addr parm_addr exec SDRAM rkflashtool r partname >outfile read flash partition rkflashtool w partname <infile write flash partition rkflashtool r offset nsectors >outfile read flash rkflashtool w offset nsectors <infile write flash rkflashtool p >file fetch parameters rkflashtool P <file write parameters rkflashtool e partname erase flash (fill with 0xff) rkflashtool e offset nsectors erase flash (fill with 0xff)
  • ROCKPro64 - Schaltplan v2.1 veröffentlicht

    ROCKPro64
    1
    0 Stimmen
    1 Beiträge
    866 Aufrufe
    Niemand hat geantwortet