1
1
mirror of https://github.com/NixOS/mobile-nixos.git synced 2024-12-14 18:21:41 +03:00

pine64-pinephone-braveheart: Fix for new kernel package option

This commit is contained in:
Samuel Dionne-Riel 2020-05-24 18:39:33 -04:00
parent 2ac23a7828
commit 746244f9d1

View File

@ -7,11 +7,6 @@
manufacturer = "Pine64";
};
mobile.device.info = {
# TODO : make kernel part of options.
kernel = pkgs.callPackage ./kernel { kernelPatches = pkgs.defaultKernelPatches; };
};
mobile.hardware = {
soc = "allwinner-a64";
ram = 1024 * 2;
@ -20,6 +15,10 @@
};
};
mobile.boot.stage-1 = {
kernel.package = pkgs.callPackage ./kernel { kernelPatches = pkgs.defaultKernelPatches; };
};
boot.kernelParams = [
# Serial console on ttyS0, using the serial headphone adapter.
"console=ttyS0,115200"