NixOS on ARM/PINE64 ROCKPro64: Difference between revisions
imported>Kreyren Added more info on the connection using serial console |
imported>Mic92 fix markup |
||
| Line 75: | Line 75: | ||
The serial console runs at 1500000 baud in the bootloader. | The serial console runs at 1500000 baud in the bootloader. | ||
To connect check your | To connect check your <code>dmesg</code> for an identifier of the serial console: | ||
<syntaxHighlight> | |||
[78635.965459] usb 2-1: new full-speed USB device number 8 using xhci_hcd | [78635.965459] usb 2-1: new full-speed USB device number 8 using xhci_hcd | ||
[78636.119008] usb 2-1: New USB device found, idVendor=1a86, idProduct=7523, bcdDevice= 2.63 | [78636.119008] usb 2-1: New USB device found, idVendor=1a86, idProduct=7523, bcdDevice= 2.63 | ||
| Line 84: | Line 84: | ||
[78636.127103] ch341 2-1:1.0: ch341-uart converter detected | [78636.127103] ch341 2-1:1.0: ch341-uart converter detected | ||
[78636.142043] usb 2-1: ch341-uart converter now attached to ttyUSB0 | [78636.142043] usb 2-1: ch341-uart converter now attached to ttyUSB0 | ||
</syntaxHighlight> | |||
In our example that coresponds to the | In our example that coresponds to the <code>ttyUSB0</code> which makes a new device available at <code>/dev/ttyUSB0</code> to which you can connect using for (example) <code>picocom</code>: | ||
<syntaxHighlight lang=console> | |||
# Connect to /dev/ttyUSB0 at baud 1500000 | # Connect to /dev/ttyUSB0 at baud 1500000 | ||
picocom -b 1500000 /dev/ttyUSB0 | $ picocom -b 1500000 /dev/ttyUSB0 | ||
</syntaxHighlight> | |||
See https://wiki.pine64.org/wiki/ROCKPro64#Setup_a_Serial_Console_.28UART.29 for more information on setting up the serial console | See https://wiki.pine64.org/wiki/ROCKPro64#Setup_a_Serial_Console_.28UART.29 for more information on setting up the serial console | ||