mirror of
https://github.com/samueldr/wip-pinebook-pro.git
synced 2024-11-27 13:29:43 +01:00
Updates README
This commit is contained in:
parent
0d216d0bed
commit
6c1d69fef3
1 changed files with 18 additions and 1 deletions
19
README.md
19
README.md
|
@ -23,4 +23,21 @@ $ ./build.sh
|
||||||
$ lsblk /dev/mmcblk0 && sudo dd if=$(echo result/sd-image/*.img) of=/dev/mmcblk0 bs=8M oflag=direct status=progress
|
$ lsblk /dev/mmcblk0 && sudo dd if=$(echo result/sd-image/*.img) of=/dev/mmcblk0 bs=8M oflag=direct status=progress
|
||||||
```
|
```
|
||||||
|
|
||||||
The `build.sh` script transmits parameters to `nix-build`, so e.g. `-j0` can be used.
|
The `build.sh` script transmits parameters to `nix-build`, so e.g. `-j0` can
|
||||||
|
be used.
|
||||||
|
|
||||||
|
Once built, this image is self-sufficient, meaning that it should already be
|
||||||
|
booting, no need burn u-boot to it.
|
||||||
|
|
||||||
|
Though, the current setup will dump the output to the serial console by
|
||||||
|
default. This means that without serial output (or editing `nixos/sd-image-aarch64.nix`)
|
||||||
|
only a flashing caret will be shown on the display during boot, and this may
|
||||||
|
stay there for a while during the filesystem expansion process.
|
||||||
|
|
||||||
|
## Note about cross-compilation
|
||||||
|
|
||||||
|
This will automatically detect the need for cross-compiling or not.
|
||||||
|
|
||||||
|
When cross-compiled, all caveats apply. Here this mainly means that the kernel
|
||||||
|
will need to be re-compiled on the device on the first nixos-rebuild switch,
|
||||||
|
while most other packages can be fetched from the cache.
|
||||||
|
|
Loading…
Reference in a new issue