NixOS on ARM/NanoPi-R6C: Difference between revisions
imported>Jakubgs No edit summary |
m Add category |
||
| (4 intermediate revisions by 3 users not shown) | |||
| Line 2: | Line 2: | ||
<div class="infobox"> | <div class="infobox"> | ||
{|class="table" | {|class="table" | ||
!colspan="2" class="title"|NanoPi-R6C | !colspan="2" class="title"|NanoPi-R6C & NanoPi-R6S | ||
|- | |- | ||
|colspan="2"|[[File:NanoPi-R6C.jpg|frameless|256px|NanoPi-R6C SBC]] | |colspan="2"|[[File:NanoPi-R6C.jpg|frameless|256px|NanoPi-R6C SBC]] | ||
| Line 24: | Line 24: | ||
== Hardware == | == Hardware == | ||
NanoPi-R6C | NanoPi-R6C and R6S are single board computers built around the Rockchip RK3588S SoC. | ||
* '''CPU''': ARM Cortex-A76 and Cortex-A55 | * '''CPU''': ARM Cortex-A76 and Cortex-A55 | ||
| Line 56: | Line 56: | ||
In '''Boot Manager''' You can select what device to boot from this time and in '''Boot Maintenance Manager''' You can configure permanent boot order. | In '''Boot Manager''' You can select what device to boot from this time and in '''Boot Maintenance Manager''' You can configure permanent boot order. | ||
Keep in mind this example uses the image for R6C and you'll need the right UEFI image for R6S. | |||
=== Booting NixOS === | === Booting NixOS === | ||
Since [https://github.com/edk2-porting/edk2-rk3588/issues/88 EDK2 UEFI firmware does not support extlinux] an [https://hydra.nixos.org/job/nixos/trunk-combined/nixos.iso_minimal.aarch64-linux ISO <tt>aarch64</tt> image] needs to be used to successfully boot NixOS. | Since [https://github.com/edk2-porting/edk2-rk3588/issues/88 EDK2 UEFI firmware does not support extlinux] an [https://hydra.nixos.org/job/nixos/trunk-combined/nixos.iso_minimal.aarch64-linux ISO <tt>aarch64</tt> image] needs to be used to successfully boot NixOS. | ||
Currently NixOS | Currently NixOS images can see the NVMe without issues, but eMMC storage is unavailable. | ||
=== Installing NixOS === | === Installing NixOS === | ||
| Line 76: | Line 78: | ||
mkswap "${DEV}p2"; | mkswap "${DEV}p2"; | ||
mkfs.vfat "${DEV}p1"; | mkfs.vfat "${DEV}p1"; | ||
mkfs.ext4 "${DEV} | mkfs.ext4 "${DEV}p3"; | ||
} | } | ||
</syntaxhighlight> | </syntaxhighlight> | ||
| Line 85: | Line 87: | ||
swapon /dev/nvme0n1p2 | swapon /dev/nvme0n1p2 | ||
mount /dev/nvme0n1p3 /mnt | mount /dev/nvme0n1p3 /mnt | ||
mkdir /mnt/boot | |||
mount /dev/nvme0n1p1 /mnt/boot | mount /dev/nvme0n1p1 /mnt/boot | ||
</syntaxhighlight> | </syntaxhighlight> | ||
| Line 98: | Line 101: | ||
}; | }; | ||
</syntaxHighlight> | </syntaxHighlight> | ||
[[Category:NixOS on ARM]] | |||