dotfiles/overlays/linux/bpi-r4.nix
magic_rb 4435cdfec7
Move out custom kernels and uboots into overlays
Signed-off-by: magic_rb <magic_rb@redalder.org>
2024-08-14 22:21:42 +02:00

33 lines
814 B
Nix

{
buildLinux,
pkgs,
}:
buildLinux {
version = "6.10-bpi-r4";
modDirVersion = "6.10.0-bpi-r4";
src = pkgs.fetchFromGitHub {
owner = "frank-w";
repo = "BPI-Router-Linux";
rev = "a5f209f3f88daf5bacaab883ca30d16d88ff0506";
hash = "sha256-bcgDdJrmHBWBhoy4TynODwG6BRL38tVKHAO6J8GR7IY=";
};
defconfig = "mt7988a_bpi-r4_defconfig";
# structuredExtraConfig = with pkgs.lib.kernel; {
# EXTRA_FIRMWARE = freeform "imx/sdma/sdma-imx6q.bin imx/epdc/epdc.fw";
# EXTRA_FIRMWARE_DIR = freeform ((pkgs.symlinkJoin {
# name = "embedded-extra-firmware";
# paths = [
# pkgs.linux-firmware
# epdc-fw
# ];
# })
# + "/lib/firmware");
# # RTW_SDIO_PM_KEEP_POWER = no;
# # RTW_DEBUG = no;
# };
extraMeta.branch = "6.10-main";
}