Home
last modified time | relevance | path

Searched refs:vendor_boot (Results 1 – 6 of 6) sorted by relevance

/system/tools/mkbootimg/
Dmkbootimg.py144 args.vendor_boot.write(pack(f'{VENDOR_BOOT_MAGIC_SIZE}s',
147 args.vendor_boot.write(pack('I', args.header_version))
149 args.vendor_boot.write(pack('I', args.pagesize))
151 args.vendor_boot.write(pack('I', args.base + args.kernel_offset))
153 args.vendor_boot.write(pack('I', args.base + args.ramdisk_offset))
155 args.vendor_boot.write(pack('I', vendor_ramdisk_size))
156 args.vendor_boot.write(pack(f'{VENDOR_BOOT_ARGS_SIZE}s',
159 args.vendor_boot.write(pack('I', args.base + args.tags_offset))
161 args.vendor_boot.write(pack(f'{VENDOR_BOOT_NAME_SIZE}s', args.board))
164 args.vendor_boot.write(pack('I', vendor_boot_header_size))
[all …]
/system/core/fastboot/
Dvendor_boot_img_utils.cpp207 [[nodiscard]] Result<std::string> replace_default_vendor_ramdisk(const std::string& vendor_boot, in replace_default_vendor_ramdisk() argument
209 if (auto res = check_vendor_boot_hdr(vendor_boot, 3); !res.ok()) return res.error(); in replace_default_vendor_ramdisk()
210 auto hdr = reinterpret_cast<const vendor_boot_img_hdr_v3*>(vendor_boot.data()); in replace_default_vendor_ramdisk()
218 DataUpdater updater(vendor_boot); in replace_default_vendor_ramdisk()
301 const std::string& vendor_boot, in replace_vendor_ramdisk_fragment() argument
303 if (auto res = check_vendor_boot_hdr(vendor_boot, 4); !res.ok()) return res.error(); in replace_vendor_ramdisk_fragment()
304 auto hdr = reinterpret_cast<const vendor_boot_img_hdr_v4*>(vendor_boot.data()); in replace_vendor_ramdisk_fragment()
320 reinterpret_cast<const vendor_ramdisk_table_entry_v4*>(vendor_boot.data() + o + p + q); in replace_vendor_ramdisk_fragment()
328 DataUpdater updater(vendor_boot); in replace_vendor_ramdisk_fragment()
337 vendor_boot.data() + o + p + q); in replace_vendor_ramdisk_fragment()
[all …]
Dfastboot.cpp1342 unique_fd vendor_boot(make_temporary_fd("vendor boot repack")); in repack_ramdisk() local
1343 uint64_t vendor_boot_size = fetch_partition(partition, vendor_boot); in repack_ramdisk()
1344 auto repack_res = replace_vendor_ramdisk(vendor_boot, vendor_boot_size, ramdisk, buf->fd, in repack_ramdisk()
1350 buf->fd = std::move(vendor_boot); in repack_ramdisk()
/system/core/fastboot/testdata/
DAndroid.bp78 "--partition_name vendor_boot --partition_size $$(( 1 * 1024 * 1024 ))"
100 "--vendor_boot $(out) && " +
117 "--vendor_boot $(out) && " +
138 "--vendor_boot $(out) && " +
/system/sepolicy/prebuilts/api/31.0/public/
Dfastbootd.te100 # Fetch vendor_boot partition
/system/sepolicy/public/
Dfastbootd.te100 # Fetch vendor_boot partition