diff options
author | Devin Moore <devinmoore@google.com> | 2022-01-14 22:21:43 +0000 |
---|---|---|
committer | Devin Moore <devinmoore@google.com> | 2022-02-24 23:32:46 +0000 |
commit | 2b15c10b02ba08d77b4ccff2d277a9d03a4e0dc8 (patch) | |
tree | 37debd7245e9450ea86f4d07b3998fc8ff765491 /conf | |
parent | 5443c7ec011c9dd573550c38cee90804fdaa80be (diff) | |
download | gs201-2b15c10b02ba08d77b4ccff2d277a9d03a4e0dc8.tar.gz |
Build init_boot for new devices
Builds a new init_boot.img with the ramdisk that was previously in
boot.img.
Removes the ramdisk from boot.img.
Change fstab to make sure the /dev/block/by-name/init_boot_* entries are
created in first stage init for Verified Boot.
Add init_boot.img to the list of OTA images so it is picked up for OTA
updates.
Test: unpack_bootimg --boot_img=boot.img
Test: unpack_bootimg --boot_img=init_boot.img
Test: Build and boot new device with required bootloader changes
Bug: 211823573
Merged-In: Idbd700b17d862f48ea568d1274a6550b965763ea
Change-Id: Idbd700b17d862f48ea568d1274a6550b965763ea
Diffstat (limited to 'conf')
-rw-r--r-- | conf/fstab.gs201.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/conf/fstab.gs201.in b/conf/fstab.gs201.in index 8d7ee91..82e637c 100644 --- a/conf/fstab.gs201.in +++ b/conf/fstab.gs201.in @@ -10,6 +10,7 @@ product /product vendor /vendor erofs ro wait,slotselect,avb=vbmeta_vendor,logical,first_stage_mount,readahead_size_kb=128 vendor_dlkm /vendor_dlkm erofs ro wait,slotselect,avb=vbmeta,logical,first_stage_mount /dev/block/platform/14700000.ufs/by-name/boot /boot emmc defaults slotselect,avb=boot,first_stage_mount +/dev/block/platform/14700000.ufs/by-name/init_boot /init_boot emmc defaults slotselect,avb=init_boot,first_stage_mount /dev/block/platform/14700000.ufs/by-name/efs /mnt/vendor/efs f2fs noatime,sync wait,check,formattable /dev/block/platform/14700000.ufs/by-name/efs_backup /mnt/vendor/efs_backup f2fs noatime,sync wait,check,formattable /dev/block/platform/14700000.ufs/by-name/modem_userdata /mnt/vendor/modem_userdata f2fs noatime,sync wait,check,formattable |