mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-11-29 11:36:16 +01:00
4435cdfec7
Signed-off-by: magic_rb <magic_rb@redalder.org>
33 lines
814 B
Nix
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";
|
|
}
|