linux-exynos5-mainline: init

it builds, but is not bootable on samsung chromebook
This commit is contained in:
Colin 2024-06-09 20:35:13 +00:00
parent 95685fe91f
commit 56dfe8baa8
3 changed files with 28 additions and 1 deletions

View File

@ -82,11 +82,12 @@ in
# "sbs-manager"
boot.kernelPackages = with pkgs; linuxPackagesFor linux-exynos5-mainline;
# boot.kernelPackages = with pkgs; linuxPackagesFor (linux-postmarketos-exynos5.override {
# linux = linux_6_6;
# # linux = linux_6_8;
# # linux = linux_6_9;
# optimizeForSize = true;
# # optimizeForSize = true;
# });
# boot.kernelPackages = pkgs.linuxPackagesFor pkgs.linux-postmarketos-exynos5;
# boot.kernelPackages = pkgs.linuxPackagesFor (pkgs.linux_latest.override {

View File

@ -0,0 +1,25 @@
{ buildLinux
, fetchFromGitLab
#v nixpkgs calls `.override` on the kernel to configure additional things
, features ? {}
, randstructSeed ? ""
, ...
}:
buildLinux {
src = fetchFromGitLab {
owner = "exynos5-mainline";
repo = "linux";
rev = "20e7d0fbd9213858325dfeb9be0da1a3756744a1";
hash = "sha256-tbNYuOk4XHRH12B3EdMCgO7EUKaAs6Q7G+/r3r35ZFY=";
};
version = "6.8.0-rc2";
# modDirVersion = "6.8.0-rc2";
modDirVersion = "6.8.0-rc2-next-20240201-postmarketos-exynos5";
extraMeta.branch = "6.8";
defconfig = "exynos5_defconfig";
autoModules = false;
# preferBuiltin = false;
inherit features randstructSeed;
}

View File

@ -51,6 +51,7 @@ let
libdng = callPackage ./additional/libdng { };
libmegapixels = callPackage ./additional/libmegapixels { };
lightdm-mobile-greeter = callPackage ./additional/lightdm-mobile-greeter { };
linux-exynos5-mainline = callPackage ./additional/linux-exynos5-mainline { };
linux-firmware-megous = callPackage ./additional/linux-firmware-megous { };
# XXX: eval error: need to port past linux_6_4
# linux-manjaro = callPackage ./additional/linux-manjaro { };