Amit Pundir | 4e37582 | 2019-04-18 16:46:10 +0530 | [diff] [blame] | 1 | include device/linaro/dragonboard/BoardConfigCommon.mk |
| 2 | |
| 3 | # Board Information |
| 4 | TARGET_BOOTLOADER_BOARD_NAME := db845c |
| 5 | TARGET_BOARD_PLATFORM := db845c |
| 6 | |
John Stultz | f36354e | 2020-01-14 00:10:06 +0000 | [diff] [blame] | 7 | TARGET_NO_KERNEL := false |
| 8 | BOARD_INCLUDE_DTB_IN_BOOTIMG := true |
Amit Pundir | dd5bd1b | 2020-12-22 13:46:24 +0530 | [diff] [blame] | 9 | ifeq ($(TARGET_USES_BOOT_HDR_V3), true) |
| 10 | BOARD_BOOT_HEADER_VERSION := 3 |
| 11 | BOARD_KERNEL_PAGESIZE := 4096 |
Amit Pundir | fbd3fbb | 2021-11-18 14:59:17 +0530 | [diff] [blame] | 12 | BOARD_VENDOR_BOOTIMAGE_PARTITION_SIZE := 103079215104 #96M |
Amit Pundir | dd5bd1b | 2020-12-22 13:46:24 +0530 | [diff] [blame] | 13 | else |
| 14 | BOARD_BOOT_HEADER_VERSION := 2 |
| 15 | BOARD_KERNEL_PAGESIZE := 2048 |
| 16 | endif |
John Stultz | f36354e | 2020-01-14 00:10:06 +0000 | [diff] [blame] | 17 | BOARD_MKBOOTIMG_ARGS := --header_version $(BOARD_BOOT_HEADER_VERSION) |
| 18 | BOARD_KERNEL_BASE := 0x80000000 |
John Stultz | d66daf4 | 2020-01-15 18:28:42 +0000 | [diff] [blame] | 19 | BOARD_KERNEL_CMDLINE := earlycon firmware_class.path=/vendor/firmware/ androidboot.hardware=db845c |
Yongqin Liu | f227a81 | 2020-03-27 18:31:25 +0800 | [diff] [blame] | 20 | BOARD_KERNEL_CMDLINE += init=/init androidboot.boot_devices=soc@0/1d84000.ufshc printk.devkmsg=on |
John Stultz | 64dbd9c | 2020-04-17 05:33:08 +0000 | [diff] [blame] | 21 | BOARD_KERNEL_CMDLINE += deferred_probe_timeout=30 |
Amit Pundir | c0ad894 | 2021-12-14 19:45:56 +0530 | [diff] [blame] | 22 | BOARD_KERNEL_CMDLINE += pcie_pme=nomsi #For WiFi to work on rb5 |
John Stultz | f36354e | 2020-01-14 00:10:06 +0000 | [diff] [blame] | 23 | |
Amit Pundir | 4e37582 | 2019-04-18 16:46:10 +0530 | [diff] [blame] | 24 | # Image Configuration |
Amit Pundir | fbd3fbb | 2021-11-18 14:59:17 +0530 | [diff] [blame] | 25 | BOARD_BOOTIMAGE_PARTITION_SIZE := 103079215104 #96M |
Amit Pundir | 4e37582 | 2019-04-18 16:46:10 +0530 | [diff] [blame] | 26 | BOARD_USERDATAIMAGE_PARTITION_SIZE := 21474836480 #20G |
| 27 | BOARD_FLASH_BLOCK_SIZE := 512 |
| 28 | # Super partition |
Amit Pundir | 7d3a1ac | 2020-10-07 18:26:24 +0530 | [diff] [blame] | 29 | BOARD_SUPER_PARTITION_SIZE := 12437225472 |
Tianjie | 78c2536 | 2021-03-18 12:08:46 -0700 | [diff] [blame] | 30 | BOARD_DB_DYNAMIC_PARTITIONS_SIZE := 12433031168 # Reserve 4M for DAP metadata |
Amit Pundir | 4e37582 | 2019-04-18 16:46:10 +0530 | [diff] [blame] | 31 | BOARD_SUPER_PARTITION_METADATA_DEVICE := super |
Todd Kjos | b611b16 | 2020-03-09 14:14:27 -0700 | [diff] [blame] | 32 | BOARD_SUPER_IMAGE_IN_UPDATE_PACKAGE := true |