google-marlin: Fix build using new options
manufacturer = "Google";
};
- mobile.device.info = rec {
+ mobile.device.info = {
# TODO : make kernel part of options.
kernel = pkgs.callPackage ./kernel { kernelPatches = pkgs.defaultKernelPatches; };
- dtb = "";
-
- bootimg_qcdt = false;
- flash_offset_base = "0x80000000";
- flash_offset_kernel = "0x00008000";
- flash_offset_ramdisk = "0x01000000";
- flash_offset_second = "0x00f00000";
- flash_offset_tags = "0x00000100";
- flash_pagesize = "4096";
-
- # This device adds skip_initramfs to cmdline for normal boots
- boot_as_recovery = true;
-
- ab_partitions = true;
- vendor_partition = "/dev/disk/by-partlabel/vendor_a";
};
mobile.hardware = {
};
};
+ mobile.system.android = {
+ # This device has an A/B partition scheme
+ ab_partitions = true;
+
+ bootimg.flash = {
+ offset_base = "0x80000000";
+ offset_kernel = "0x00008000";
+ offset_ramdisk = "0x01000000";
+ offset_second = "0x00f00000";
+ offset_tags = "0x00000100";
+ pagesize = "4096";
+ };
+ };
+
+ mobile.system.vendor.partition = "/dev/disk/by-partlabel/vendor_a";
+
boot.kernelParams = [
"console=ttyHSL0,115200,n8"
"androidboot.console=ttyHSL0"
