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:
parent
92910bbba6
commit
7bb1e7f1ca
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user