diff options
author | Robin Peng <robinpeng@google.com> | 2021-06-28 22:21:36 +0800 |
---|---|---|
committer | Robin Peng <robinpeng@google.com> | 2021-06-28 22:21:36 +0800 |
commit | 8f884f0db7f1034c8278f3f4b0a2621bc365d54e (patch) | |
tree | 7a2b4196f00bf3d03703967808581134c12e49af /BoardConfig-common.mk | |
parent | 65cc9fae12380016a67e4dbaa2bf8ea99b719039 (diff) | |
download | gs201-8f884f0db7f1034c8278f3f4b0a2621bc365d54e.tar.gz |
gs201: migrate to bootimg header v4 (second attempt)
We migrate to bootimg header v4 and build the following two vendor
ramdisk fragments.
Type: Platform, Name: "", Contents: Everything but kernel modules
Type: DLKM, Name: "dlkm", Contents: Kernel modules (incl. modules.load etc.)
Bug: 192240132
Change-Id: I59d0d5ec89953428e163b54d2fc3e3c3e9da7188
Diffstat (limited to 'BoardConfig-common.mk')
-rw-r--r-- | BoardConfig-common.mk | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/BoardConfig-common.mk b/BoardConfig-common.mk index 2e776ce..ce9d9f7 100644 --- a/BoardConfig-common.mk +++ b/BoardConfig-common.mk @@ -43,8 +43,8 @@ endif BOARD_KERNEL_CMDLINE += dyndbg=\"func alloc_contig_dump_pages +p\" BOARD_KERNEL_CMDLINE += earlycon=exynos4210,0x10A00000 console=ttySAC0,115200 androidboot.console=ttySAC0 printk.devkmsg=on -BOARD_KERNEL_CMDLINE += androidboot.boot_devices=14700000.ufs BOARD_KERNEL_CMDLINE += cma_sysfs.experimental=Y +BOARD_BOOTCONFIG += androidboot.boot_devices=14700000.ufs TARGET_NO_BOOTLOADER := true TARGET_NO_KERNEL := false @@ -355,9 +355,12 @@ BOARD_RAMDISK_USE_LZ4 := true #BOARD_KERNEL_PAGESIZE := 2048 #BOARD_KERNEL_OFFSET := 0x80000 #BOARD_RAMDISK_OFFSET := 0x4000000 -BOARD_BOOT_HEADER_VERSION := 3 +BOARD_BOOT_HEADER_VERSION := 4 BOARD_MKBOOTIMG_ARGS += --header_version $(BOARD_BOOT_HEADER_VERSION) +BOARD_VENDOR_RAMDISK_FRAGMENTS := dlkm +BOARD_VENDOR_RAMDISK_FRAGMENT.dlkm.KERNEL_MODULE_DIRS := top + # Enable AVB2.0 BOARD_AVB_ENABLE := true BOARD_BOOTIMAGE_PARTITION_SIZE := 0x04000000 |