From f4ef5df944429e2ce3308bdbe69da940fffc5942 Mon Sep 17 00:00:00 2001 From: Tom Fitzhenry Date: Fri, 29 Sep 2023 22:10:49 +1000 Subject: [PATCH] pine64-rockpro64: init --- CODEOWNERS | 1 + README.md | 1 + flake.nix | 1 + pine64/rockpro64/README.md | 14 ++++++++++++++ pine64/rockpro64/default.nix | 9 +++++++++ 5 files changed, 26 insertions(+) create mode 100644 pine64/rockpro64/README.md create mode 100644 pine64/rockpro64/default.nix diff --git a/CODEOWNERS b/CODEOWNERS index 92186ff..3e4ca92 100644 --- a/CODEOWNERS +++ b/CODEOWNERS @@ -5,6 +5,7 @@ lenovo/thinkpad/x230 @makefu @yegortimoshenko lenovo/thinkpad/x250 @Mic92 pcengines/apu @yegortimoshenko pine64/pinebook-pro @tomfitzhenry +pine64/rockpro64 @tomfitzhenry pine64/star64 @fgaz purism/librem/13v3 @yegortimoshenko system76/darp6 @khumba diff --git a/README.md b/README.md index 51228fe..17bf79e 100644 --- a/README.md +++ b/README.md @@ -233,6 +233,7 @@ See code for all available configurations. | [Panasonic Let's Note CF-LX4 ](panasonic/letsnote/cf-lx4) | `` | | [PC Engines APU](pcengines/apu) | `` | | [PINE64 Pinebook Pro](pine64/pinebook-pro/) | `` | +| [PINE64 RockPro64](pine64/rockpro64/) | `` | | [PINE64 STAR64](pine64/star64/) | `` | | [Purism Librem 13v3](purism/librem/13v3) | `` | | [Purism Librem 15v3](purism/librem/13v3) | `` | diff --git a/flake.nix b/flake.nix index 1496ca1..31c1369 100644 --- a/flake.nix +++ b/flake.nix @@ -172,6 +172,7 @@ onenetbook-4 = import ./onenetbook/4; pcengines-apu = import ./pcengines/apu; pine64-pinebook-pro = import ./pine64/pinebook-pro; + pine64-rockpro64 = import ./pine64/rockpro64; pine64-star64 = import ./pine64/star64; purism-librem-13v3 = import ./purism/librem/13v3; purism-librem-15v3 = import ./purism/librem/15v3; diff --git a/pine64/rockpro64/README.md b/pine64/rockpro64/README.md new file mode 100644 index 0000000..e4695a4 --- /dev/null +++ b/pine64/rockpro64/README.md @@ -0,0 +1,14 @@ +# Pine64 RockPro64 + +## _Tow-Boot_ + +We highly suggest installing _Tow-Boot_ to the SPI Flash. + +- https://github.com/Tow-Boot/Tow-Boot + +Having the firmware installed to SPI makes the device act basically like a +normal computer. No need for weird incantations to setup the platform boot +firmware. + +Alternatively, starting from the _Tow-Boot_ disk image on eMMC is easier to +deal with and understand than having to deal with _U-Boot_ manually. diff --git a/pine64/rockpro64/default.nix b/pine64/rockpro64/default.nix new file mode 100644 index 0000000..03f6001 --- /dev/null +++ b/pine64/rockpro64/default.nix @@ -0,0 +1,9 @@ +{ pkgs, lib, ... }: +{ + boot.initrd.kernelModules = [ + # PCIe/NVMe + "nvme" + "pcie_rockchip_host" + "phy_rockchip_pcie" + ]; +}