NixOS on ARM/PINE64 ROCK64: Difference between revisions
imported>Cryo28 m Set correct serial console baud rate |
imported>Cryo28 No edit summary |
||
Line 88: | Line 88: | ||
|} | |} | ||
The serial console runs at 1500000 baud in the bootloader. When using the standard NixOS aarch64 sd image, set <code>console=ttyS2,1500000n8</code> as kernel option in <code>extlinux/extlinux.conf</code> on the boot partition of the sdimage to get a serial linux console. For debugging, <code>console=uart8250,mmio32,0xff130000</code> should give you an early UART console, before the full serial console is up. | The serial console runs at 1500000 baud in the bootloader. When using the standard NixOS aarch64 sd image, set <code>console=tty1 console=ttyS2,1500000n8</code> as kernel option in <code>extlinux/extlinux.conf</code> on the boot partition of the sdimage to get a serial linux console (tty1 is for standard HDMI output and ttyS2 is for the serial, baud rate setting is optional, simple console=ttyS2 seems to be working fine too). For debugging, <code>console=uart8250,mmio32,0xff130000</code> should give you an early UART console, before the full serial console is up. | ||
From the host computer run (update /dev/ttyUSB0 with your USB-to-serial device) | |||
<code> | |||
minicom -b 1500000 -8 -D /dev/ttyUSB0 --color=on | |||
</code> | |||
== Compatibility notes == | == Compatibility notes == |