Skip to content

ROCKPRO64 Serial Port Pins

Ungelöst Probleme?
  • I have a ROCKPro64 v2.1 board and installed with "bionic-minimal-rockpro64-0.8.0rc6-1111-armhf.img". The system boots up is fine, but both /dev/ttyS0 and /dev/ttyS2 are not working. I don't know which pins out of a total 40 pins of Pi-2 are for UART 0 (/dev/ttyS0). Am I correct that Pin 8 is /dev/ttyS2 Tx Pin and Pin 10 is /dev/ttyS2 Rx Pin? Are these UART pins are enabled by default after system boot up? Should I do something to enable these pins in order for UART (/dev/ttyS0 or /dev/ttyS2) to work?

    For a UART to work, I mean this ttyS0 or ttyS2 port is able to send out or receive characters. Currently, I am able to open and set up serial port but not able to send out or receive characters correctly. I guess those UART pins are shared with GPIO pins or multiplexed with GPIO functionality, some configurations may need to be done. Could you help me?

  • Hello @xwang2019 ,

    please read this post -> https://forum.frank-mankel.org/topic/53/serielle-konsole-uart2 (german)

    • Nr. 6 GND - schwarz
    • Nr. 8 UART2_TX - weiß
    • Nr. 10 UART2_ RX - grün

    With my adapter i must removed pin no. 10. With this connection i can't boot properly.

    This uart connection is enabled by default in all images from ayufan.

    I hope this will help you. And excuse my english isn't the best 😉

  • Hi FrankM,

    Thank you very much for your help. The objective of my task is to find a UART serial port (ttyS0 or ttyS2) to substitute ttyUSB0 port on ROCKPro64. I found out yesterday by reading through the schematics of ROCKPro64 v2.1 that UART0 (ttyS0) and UART2 (ttyS2) are NOT a general RS232 serial port on ROCKPro64. UART0 (ttyS0) is now connected with the Bluetooth device on ROCKPro64. UART2 (ttyS2) is now connected to Debug Port and used as a console serial port. I need to disconnect UART0 with Bluetooth device to get ttyS0 back.

    Xiaoming

  • I think i understood 🙂

    You can use an image before 0.7.13

    0.7.13: Enable support for RockPro64 WiFi/BT module,
    

    Is that an option for you?

    Or you edit the dts file with

    sudo dtedit
    

    Remove all entries for uart0 and copy entries from image before 0.7.13 🤔

    Last but not least, ask ayufan 🙂

  • Hi FrankM,

    Thank you very much for your help. I tried 0.7.9 image. ttyS0 doesn't work even when WiFI/BT module is disabled. Because I don't need WiFi/BT option, I am going to edit the dts file. Could you let me to know the following steps after dts file got modified? Thanks.

    Regards,

    Xiaoming

  • RockPro64: Raid fehlt nach Absturz

    Gelöst Probleme?
    23
    0 Stimmen
    23 Beiträge
    289 Aufrufe
    R

    @FrankM
    Lieber Frank!
    Vielen Dank für deine Geduld! War ein echter Segen für mich!
    Lösung war, wie du vorgeschlagen hast: Kaputte Platte raus, neustarten, alles da!
    Was für eine Erleichterung.
    Jetzt mach ich noch ne neue HDD rein, repariere das Raid; und fertig. Hoffentlich für die nächsten Jahre.

    Vielen, vielen Dank!

  • RockPro64 bootet nicht mehr von sdcard und/oder emmc

    Ungelöst Probleme?
    6
    0 Stimmen
    6 Beiträge
    221 Aufrufe
    FrankMF

    @gabs5807 Danke für das ausführliche Feedback.

    Das mit Pin 10 habe ich schon lange nicht mehr gehabt, benutze aber auch nur noch selten den SPI.

    Was wäre es doch für ein Traum, wenn man einen vernünftigen uboot hätte und man einfach ein Device anhängen könnte und die Kiste davon bootet...

    Bin aber beim ROCKPro64 auch nicht mehr auf der Höhe der Zeit, ich teste da nur noch selten.

  • RockPro64 als Backup Server

    Ungelöst Probleme?
    5
    1 Stimmen
    5 Beiträge
    308 Aufrufe
    T

    @mabs sagte in RockPro64 als Backup Server:

    Ich versteh nicht wie der PCI-E<=>NVMe Adapter im Odroid H2+ laufen soll

    Er sprach vom JMB585 im M.2-Format. 2 x SATA vom Intel-SoC plus 5 vom JMB585 macht dann 7 SATA-Anschlüsse. Der JMB585 im H2+ ist natürlich auch ausgebremst, weil Intels Gemini Lake (Refresh) auch nur PCIe Gen2 kann und so die 5 SATA-Ports des JMB585 nur hinter zwei Gen2 Lanes hängen.

  • 1 Stimmen
    7 Beiträge
    736 Aufrufe
    FrankMF

    Freut mich, das es jetzt so problemlos klappt. Das ist echt immer ein Problem mit Linux und Hardware. Es ist zwar besser geworden aber noch nicht optimal. Und auf den kleinen Platinen ist das auch noch eine ganz andere Sache.

    Ich kann die auch heute noch immer wieder empfehlen. Läuft und läuft....

    root@NASrp64:~# uptime 18:58:29 up 66 days, 2:54, 1 user, load average: 0,00, 0,00, 0,00

    Mein NAS läuft 24/7

    Viel Spaß damit!

  • bootconsole [uart8250] disabled

    Probleme?
    24
    1 Stimmen
    24 Beiträge
    1k Aufrufe
    gabs5807G

    @gabs5807 sagte in bootconsole [uart8250] disabled:

    @FrankM sagte in bootconsole [uart8250] disabled:

    Hast Du dein Image auf das eMMC Modul installiert?

    Wenn ja, das Modul beim Booten der Images bitte abschalten.
    Vielen Dank für den Hinweis. Habe gelesen aber leider vergessen 😯.
    Werde ich machen, ich das Gehäuse noch mal öffnen muss und die SSD weil ich noch austauschen muss.
    Viele Grüße

    Das flashen des SPI hat jetzt wie beschrieben funktioniert 😊. Vielen Dank.

  • 0 Stimmen
    6 Beiträge
    272 Aufrufe
    FrankMF

    Mir fällt da leider auch nicht mehr viel zu ein. Die Karte ist ja auch schon ein paar Tage alt. Vielleicht würde ein BIOS Update der Karte helfen!??

    Hast du einen Rechner, wo du die Karte mal reinstecken kannst um zu schauen, ob sie funktioniert?

  • hdparm / SATA Platten spindown und Energiemanagement

    Gelöst Probleme?
    4
    0 Stimmen
    4 Beiträge
    332 Aufrufe
    FrankMF

    Sorry, das Wissen hatte ich vorausgesetzt. Aber schön, das es funktioniert.

    Dann viel Spaß mit deinem NAS 👍

  • 0 Stimmen
    27 Beiträge
    2k Aufrufe
    FrankMF

    Danke für die Rückmeldung.

    Mein NAS läuft wie gesagt schon relativ lange sehr stabil. Und es macht auch was 🙂 Es sichert z.B. dieses Forum und viele andere Seiten regelmäßig. Ansonsten dient es als mein Datengrab. Nix besonderes..

    Wenn Du nicht so komplizierte Dinge fragst, darfst du gerne neue Threads eröffnen 🙂