1
1
mirror of https://github.com/NixOS/mobile-nixos.git synced 2024-09-17 14:57:22 +03:00

Pinephone docs for native AArch64 compilation

This commit is contained in:
Philip Lykke Carlsen 2023-04-25 01:03:35 +02:00
parent 92910bbba6
commit 7bb1e7f1ca
No known key found for this signature in database
GPG Key ID: 39DD3862416DF8FF

View File

@ -94,6 +94,17 @@ NixOS boot partition.
$ dd if=result/mobile-nixos-boot.img of=/dev/mmcblkXpY bs=8M oflag=sync,direct status=progress
```
Enabling native AArch64 compilation can be achieved by setting in
`/etc/nixos/configuration.nix`:
```
{
boot.binfmt.emulatedSystems = [ "aarch64-linux" ];
}
```
and adding `--argstr system aarch64-linux` to the build command.
=== Building U-Boot
Mobile NixOS is not managing platform firmware builds anymore.