oneplus-oneplus3: Fix build using new options
manufacturer = "OnePlus";
};
- mobile.device.info = rec {
- dtb = "";
- flash_offset_base = "0x80000000";
- flash_offset_kernel = "0x00008000";
- flash_offset_ramdisk = "0x01000000";
- flash_offset_second = "0x00f00000";
- flash_offset_tags = "0x00000100";
- flash_pagesize = "4096";
-
+ mobile.device.info = {
# TODO : make kernel part of options.
kernel = pkgs.callPackage ./kernel { kernelPatches = pkgs.defaultKernelPatches; };
};
};
};
+ mobile.system.android.bootimg = {
+ flash = {
+ offset_base = "0x80000000";
+ offset_kernel = "0x00008000";
+ offset_ramdisk = "0x01000000";
+ offset_second = "0x00f00000";
+ offset_tags = "0x00000100";
+ pagesize = "4096";
+ };
+ };
+
boot.kernelParams = [
"androidboot.hardware=qcom"
"user_debug=31"
