mirror of
https://github.com/NixOS/mobile-nixos.git
synced 2024-12-14 18:21:41 +03:00
motorola-addison: Fix for new kernel package option
This commit is contained in:
parent
b13079f37e
commit
1a4d5a90dc
@ -7,11 +7,6 @@
|
||||
manufacturer = "Motorola";
|
||||
};
|
||||
|
||||
mobile.device.info = {
|
||||
# TODO : make kernel part of options.
|
||||
kernel = pkgs.callPackage ./kernel { kernelPatches = pkgs.defaultKernelPatches; };
|
||||
};
|
||||
|
||||
mobile.hardware = {
|
||||
soc = "qualcomm-msm8953";
|
||||
ram = 1024 * 3;
|
||||
@ -20,8 +15,12 @@
|
||||
};
|
||||
};
|
||||
|
||||
mobile.boot.stage-1 = {
|
||||
kernel.package = pkgs.callPackage ./kernel { kernelPatches = pkgs.defaultKernelPatches; };
|
||||
};
|
||||
|
||||
mobile.system.android.bootimg = {
|
||||
dt = "${config.mobile.device.info.kernel}/dtbs/motorola-addison.img";
|
||||
dt = "${config.mobile.boot.stage-1.kernel.package}/dtbs/motorola-addison.img";
|
||||
flash = {
|
||||
offset_base = "0x80000000";
|
||||
offset_kernel = "0x00008000";
|
||||
|
Loading…
Reference in New Issue
Block a user