手機 - PINE64 PinePhone - Build Tow-boot



參考資料:
https://wiki.pine64.org/index.php/PinePhone
https://github.com/Tow-Boot/Tow-Boot/releases
https://nixos.wiki/wiki/Nix_Installation_Guide

步驟如下:

$ cd
$ curl -L https://nixos.org/nix/install | sh
$ source $HOME/.nix-profile/etc/profile.d/nix.sh

$ git clone https://github.com/Tow-Boot/Tow-Boot
$ cd Tow-Boot
$ nix-build -A pine64-pinephoneA64
$ ls result
    binaries  config  mmcboot.installer.img  shared.disk-image.img  source

P.S. 需要下載NixOS(10GB)後,才會開始編譯Tow-Boot