diff --git a/README.md b/README.md index a0b046553..5a317ecc2 100644 --- a/README.md +++ b/README.md @@ -321,6 +321,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 Rock64](pine64/rock64/) | `` | | [PINE64 RockPro64](pine64/rockpro64/) | `` | | [PINE64 STAR64](pine64/star64/) | `` | | [Protectli VP4670](protectli/vp4670/) | `` | diff --git a/flake.nix b/flake.nix index 44bedb0a0..55b85b695 100644 --- a/flake.nix +++ b/flake.nix @@ -271,6 +271,7 @@ olimex-teres_i = import ./olimex/teres_i; pcengines-apu = import ./pcengines/apu; pine64-pinebook-pro = import ./pine64/pinebook-pro; + pine64-rock64 = import ./pine64/rock64; pine64-rockpro64 = import ./pine64/rockpro64; pine64-star64 = import ./pine64/star64; protectli-vp4670 = import ./protectli/vp4670; diff --git a/pine64/rock64/default.nix b/pine64/rock64/default.nix new file mode 100644 index 000000000..6ba8f09ea --- /dev/null +++ b/pine64/rock64/default.nix @@ -0,0 +1,26 @@ +{ + boot = { + initrd.kernelModules = [ + "pcie_rockchip_host" + "phy_rockchip_pcie" + "sdhci_pci" + ]; + kernelModules = [ + "panfrost" + "rockchipdrm" + "rockchip_dfi" + "rockchip_rga" + "rockchip_isp1" + "rockchip_saradc" + "rockchip_thermal" + "rockchip_vdec" + "snd_soc_rockchip_i2s" + "rk_crypto" + "dwmac_rk" + "rk3399_dmc" + "v4l2_h264" + "v4l2_mem2mem" + "v4l2_vp9" + ]; + }; +}