Skip to content

ROCKPro64 - kein WLan-Modul möglich?

ROCKPro64
  • Als erstes muss ich mal die Überschrift erklären, es geht hier um die Version 2.0, also das "Preproduction Board".

    Ich hatte ja schon darüber berichtet, das Kamil ein Problem mit SDIO und PCIe hat.

    (23:02:15) ayufan1: OK
    (23:02:28) ayufan1: it seems that we either have sdio0 (wifi module) or pcie
    (23:02:44) ayufan1: enabling sdio0 prevents the pcie from being powered
    (23:02:59) ayufan1: so, either, either
    (23:03:04) ayufan1: annoying 🙂
    (23:03:56) fysa: that is odd
    (23:04:08) fysa: same bus but switched?
    (23:04:38) ayufan1: not sure, like removing the resistor on 2.0 board is not enough
    (23:04:42) ayufan1: it is still being pulled
    (23:10:27) ayufan1: another possibility is a mess with clocks
    (23:10:47) ayufan1: anyway, disabling sdio0 makes it work stable 🙂

    Eben dann im IRC folgendes

    (14:38:06) ayufan1: Yes. I think that PCIe problems are solved.
    (14:38:34) ayufan1: I’m slightly worried about sdio, but maybe this is problem of 2.0 design and is solved in 2.1.

    Na gut, dann schauen wir mal in die Schaltpläne.

    Schaltplan v2.0
    Schaltplan v2.1

    Interessant ist Seite 23!

    Spannungsversorgung v2.0
    0_1532266159484_a552db5a-8d19-41da-a905-c50f23b23256-grafik.png

    Spannungsversorgung v2.1
    0_1532266211864_cb4d12e4-e3f4-43c3-8088-3ac043498002-grafik.png

    Man sieht also einen deutlichen Unterschied. Ob das jetzt eine Ursache von Kamil's Problem ist, kann ich natürlich im Moment nicht sagen. Aber am Mittwoch kommen ja meinen Sachen aus China. Darunter ist auch ein WIFI-Modul. So mit kann man dann testen ob es Änderungen am Board gibt und ob auf v2.1 das WIFI-Modul auch funktioniert.

  • Es gibt eine erste Aussage, das WLan möglich ist.

    Aber auf welchem Board, ich frag mal nach..

    Update Sieht nach v2.1 aus.

  • Ich denke ich kann da ein klein wenig Entwarnung geben. Ich bin zwar zu blöd um es ans Laufen zu bekommen, aber man sieht das es wohl lebt.

    rock64@rockpro64:~$ sudo lshw -class network
    [sudo] password for rock64: 
      *-network:0 DISABLED      
           description: Wireless interface
           physical id: 7
           logical name: wlan0
           serial: ac:83:f3:e6:1f:b2
           capabilities: ethernet physical wireless
           configuration: broadcast=yes driver=wl driverversion=0 multicast=yes wireless=IEEE 802.11
      *-network:1
           description: Ethernet interface
           physical id: 8
           logical name: eth0
           serial: aa:41:29:23:dc:d1
           size: 1Gbit/s
           capacity: 1Gbit/s
           capabilities: ethernet physical tp aui bnc mii fibre 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
           configuration: autonegotiation=on broadcast=yes driver=st_gmac driverversion=March_2013 duplex=full ip=192.168.3.12 link=yes multicast=yes port=MII speed=1Gbit/s
    

    Wir werden dann mal auf ein Image mit WLan warten müssen, um das endgültig bestätigen zu können.

  • Heute, 5 Monate später, kann ich bestätigen das WLan möglich ist 🙂 Getestet auf einem ROCKPro64 v2.1 mit 2GB RAM.

    Eine Vorabversion von Recalbox machte es das erste Mal für mich möglich das WLan zu benutzen. Bericht

    Und PCIe ist abgeschaltet im dts File.

     pcie-phy {
                     compatible = "rockchip,rk3399-pcie-phy";
                     #phy-cells = <0x0>;
                     rockchip,grf = <0x15>;
                     clocks = <0x8 0x8a>;
                     clock-names = "refclk";
                     resets = <0x8 0x87>;
                     reset-names = "phy";
                     status = "disabled";
                     phandle = <0x8b>;
             };
     
             pcie@f8000000 {
                     compatible = "rockchip,rk3399-pcie";
                     #address-cells = <0x3>;
                     #size-cells = <0x2>;
                     aspm-no-l0s;
                     clocks = <0x8 0xc5 0x8 0xc4 0x8 0x147 0x8 0xa0>;
                     clock-names = "aclk", "aclk-perf", "hclk", "pm";
                     bus-range = <0x0 0x1f>;
                     max-link-speed = <0x2>;
                     linux,pci-domain = <0x0>;
                     msi-map = <0x0 0x89 0x0 0x1000>;
                     interrupts = <0x0 0x31 0x4 0x0 0x0 0x32 0x4 0x0 0x0 0x33 0x4 0x0>;
                     interrupt-names = "sys", "legacy", "client";
                     #interrupt-cells = <0x1>;
                     interrupt-map-mask = <0x0 0x0 0x0 0x7>;
                     interrupt-map = <0x0 0x0 0x0 0x1 0x8a 0x0 0x0 0x0 0x0 0x2 0x8a 0x1 0x0 0x0 0x0 0x3 0x8a 0x2 0x0 0x0 0x0 0x4 0x8a 0x3>;
                     phys = <0x8b>;
                     phy-names = "pcie-phy";
                     ranges = <0x83000000 0x0 0xfa000000 0x0 0xfa000000 0x0 0x1e00000 0x81000000 0x0 0xfbe00000 0x0 0xfbe00000 0x0 0x100000>;
                     reg = <0x0 0xf8000000 0x0 0x2000000 0x0 0xfd000000 0x0 0x1000000>;
                     reg-names = "axi-base", "apb-base";
                     resets = <0x8 0x82 0x8 0x83 0x8 0x84 0x8 0x85 0x8 0x86 0x8 0x81 0x8 0x80>;
                     reset-names = "core", "mgmt", "mgmt-sticky", "pipe", "pm", "pclk", "aclk";
                     status = "disabled";
    

    Also bleibt weiterhin ungeklärt, ob auch beides zusammen möglich ist. Also gleichzeitig das WLan-Modul und eine PCIe Karte.

  • 0 Stimmen
    1 Beiträge
    84 Aufrufe
    Niemand hat geantwortet
  • Keine Bildschirmausgabe

    ROCKPro64
    6
    1 Stimmen
    6 Beiträge
    135 Aufrufe
    W

    Hallo zusammen,
    das Image "Armbian 22.02 Jammy XFCE" funktioniert. Danke!
    Somit bin ich erstmal froh, dass die BS-Ausgabe i.O. ist.
    Auch das Booten vom USB-Stick klappt nun.
    Jetzt werde ich mal sehen, dass ich die SATA-Karte eingebunden bekomme und von SSD booten kann.
    Bis dann

  • Mainline 5.12.x

    Images
    2
    0 Stimmen
    2 Beiträge
    277 Aufrufe
    FrankMF

    5.12.0-1149-ayufan released

    ayufan: defconfig: add MT76x* drivers
  • 0 Stimmen
    13 Beiträge
    803 Aufrufe
    N

    @frankm Alles Klar!
    Wie schon erwähnt, für meine Zwecke rechts! Die Jahre über hat gute Dienste geleistet (PCI-e und HDD) und wird hoffentlich auch noch ein paar Jahre bis zum nächsten Umbau tun!
    Vielen Dank!

  • 0 Stimmen
    4 Beiträge
    360 Aufrufe
    K

    na denn, tippe ich mal so auf default konfiguriert per dhcp 🙂

  • ROCKPro64 - USB-C -> LAN

    ROCKPro64
    1
    0 Stimmen
    1 Beiträge
    277 Aufrufe
    Niemand hat geantwortet
  • IPFire auf dem ROCKPro64

    ROCKPro64
    2
    0 Stimmen
    2 Beiträge
    603 Aufrufe
    FrankMF

    Falls es jemanden da draußen interessiert, hier eine Liste der Dinge die funktionieren

    GREEN Die LAN-Schnittstelle wird einwandfrei erkannt Webserver läuft, Weboberfläche erreichbar

    Das war's dann mit den positiven Daten

    jede Menge Kernelfehler iptables Fehler Modul fehlt?? kein LAN-Adapter, WLan-Adapter wird erkannt Lizenzverbindungen lassen sich nicht bestätigen nach der Installation ist die Konsole weg usw. usf

    🙂

  • Recover Button

    Hardware
    2
    0 Stimmen
    2 Beiträge
    790 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)