Commit graph

3 commits

Author SHA1 Message Date
Pawan Wagh
8ecee7602b Use BOARD_16K_OTA_USE_INCREMENTAL for shusky
Bug: 340987520
Bug: 295035851
Test: Boot and test dev options with incremental OTAs
Test: boot shiba and check size difference in boot_ota_16k.zip
boot_ota_4k.zip
Without incremental OTA -> Total size 32 MiB
out/target/product/shiba$ ls -l --block-size=M | grep boot_ota
-rw-r--r--  1 waghpawan primarygroup   16M May 20 17:11 boot_ota_16k.zip
-rw-r--r--  1 waghpawan primarygroup   16M May 20 17:11 boot_ota_4k.zip

With incremental OTA -> Total size 12 MiB
 ls -l --block-size=M | grep boot_ota
-rw-r--r--  1 waghpawan primarygroup    6M May 20 16:14 boot_ota_16k.zip
-rw-r--r--  1 waghpawan primarygroup    6M May 20 16:14 boot_ota_4k.zip


Change-Id: I52e07fdc7f781f0c59ac6957e34af1967a3efb92
2024-05-20 17:15:06 +00:00
Pawan Wagh
f9d38daaae Use TARGET_KERNEL_DIR in Dev options config
Shiba and husky may use different kernel versions moving
forward.

Test: m
Bug: 295035851
Change-Id: I148d17ef6f85ae96488aef1f9b40fb3fedb35c69
2024-05-17 22:08:13 +00:00
Pawan Wagh
443b449e02 16kb: Setup 16k OTA config for [husky|shiba] targets
Enabling developer option based on trunk stable flags
- RELEASE_GOOGLE_HUSKY_16K_DEVELOPER_OPTION
- RELEASE_GOOGLE_SHIBA_16K_DEVELOPER_OPTION

This change includes
- conditional config for 16kb developer option in [husky|shiba] targets.
- Path setup required for OTA generation for 16kB developer options.

Test: $ source build/envsetup.sh
      $ lunch husky-trunk_staging-userdebug
      $ get_build_var TARGET_KERNEL_DIR_16K
      device/google/shusky-kernels/5.15/trunk-11828503/16kb
      $ get_build_var RELEASE_KERNEL_HUSKY_DIR
      device/google/shusky-kernels/5.15/trunk-11828503
      $ m

Bug: 295035851
Change-Id: Ie88f22b9cd2fb8ba233683650fcdb4e79810e564
2024-05-16 00:06:45 +00:00