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" + ]; + }; +}