NixOS on ARM/PINE64 ROCKPro64: Difference between revisions
imported>Kreyren Moved the note up as i was stuck for 4 days figuring out why is it not booting |
m →Serial console: Dark mode support |
||
(4 intermediate revisions by 4 users not shown) | |||
Line 29: | Line 29: | ||
U-Boot for this board is packaged in nixpkgs, and Hydra builds can be found here: https://hydra.nixos.org/job/nixpkgs/trunk/ubootRockPro64.aarch64-linux | U-Boot for this board is packaged in nixpkgs, and Hydra builds can be found here: https://hydra.nixos.org/job/nixpkgs/trunk/ubootRockPro64.aarch64-linux | ||
It can also be [[NixOS on ARM#Compiling through binfmt QEMU | cross compiled]] with | |||
<syntaxhighlight lang="bash"> | |||
nix-build '<nixpkgs>' --argstr system aarch64-linux -A ubootRockPro64 --out-link ubootRockPro64 | |||
</syntaxhighlight> | |||
== Board-specific installation notes == | == Board-specific installation notes == | ||
Line 58: | Line 63: | ||
{| class="table" | {| class="table" | ||
|- | |- | ||
!colspan="2" style="background: | !colspan="2" style="background: var(--color-inverted)"| Pi-2 Bus | ||
|- | |- | ||
! Pin | ! Pin | ||
Line 92: | Line 97: | ||
<syntaxHighlight lang=console> | <syntaxHighlight lang=console> | ||
# Connect to /dev/ttyUSB0 at baud 1500000 | # Connect to /dev/ttyUSB0 at baud 1500000 | ||
$ picocom - | $ nix-shell -p picocom --run "picocom /dev/ttyUSB0 -b 1500000" | ||
</syntaxHighlight> | </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 | ||
== Resources == | == Resources == | ||
* [https://www.pine64.org/rockpro64/ Official product page] | * [https://www.pine64.org/rockpro64/ Official product page] |