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
    85 Aufrufe
    Niemand hat geantwortet
  • 0 Stimmen
    1 Beiträge
    293 Aufrufe
    Niemand hat geantwortet
  • ROCKPro64 - Secondary IP entfernen

    ROCKPro64
    5
    0 Stimmen
    5 Beiträge
    608 Aufrufe
    FrankMF

    Hallo @mabs,

    es ging bei meinem Post gar nicht um den dhcpd, also den Daemon der die Adressen verteilt. Hintergrund, ich versuche gerade mal wieder einen Router auf Basis eines ROCKPro64 zu bauen. Dabei bin ich in Kamils Debian Minimal über die zweite IP-Adresse gestolpert.

    Danke aber für deine Anregungen.

    Es gibt da aber wohl mit dem Debian Minimal irgendwelche Probleme mit dem Forwarding, so das ich das jetzt auf einem Bionic mache, dort klappt das einwandfrei. Aber dazu später ausführlich in einem anderen Thread.

  • 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
  • [HOWTO]ROCKPro64 - NAS bauen Teil 1

    Angeheftet ROCKPro64
    5
    0 Stimmen
    5 Beiträge
    2k Aufrufe
    FrankMF

    Die Pinne für den Adapter liegen ja nur parallel zum Eingang des Steckers vom Netzteil. Also, solange da nichts abfackelt kann man da eine Menge Strom drüber jagen 🙂

    Wenn es funktioniert ist ja alles gut.

  • 0 Stimmen
    1 Beiträge
    790 Aufrufe
    Niemand hat geantwortet
  • Recover Button

    Hardware
    2
    0 Stimmen
    2 Beiträge
    791 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)
  • ROCKPro WLan Modul

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