Home
last modified time | relevance | path

Searched refs:boot_img (Results 1 – 14 of 14) sorted by relevance

/OK3568_Linux_fs/kernel/scripts/
H A Dunpack_bootimg184 def unpack_boot_image(boot_img, output_dir): argument
187 info.boot_magic = unpack('8s', boot_img.read(8))[0].decode()
189 kernel_ramdisk_second_info = unpack('9I', boot_img.read(9 * 4))
202 os_version_patch_level = unpack('I', boot_img.read(1 * 4))[0]
215 boot_img.read(16))[0].decode())
216 info.cmdline = cstr(unpack('512s', boot_img.read(512))[0].decode())
217 boot_img.read(32) # ignore SHA
219 boot_img.read(1024))[0].decode())
222 boot_img.read(1536))[0].decode())
225 info.recovery_dtbo_size = unpack('I', boot_img.read(1 * 4))[0]
[all …]
H A Drepack-bootimg8 usage: $0 [-h] [-z] --boot_img BOOT_IMG [--out OUT] [--kernel KERNEL] [--ramdisk RAMDISK] [--second…
13 --boot_img BOOT_IMG path to the original boot image
29 --boot_img)
30 boot_img=$2
83 if [ "$boot_img" == "" -o ! -e "$boot_img" ]; then
119 $srctree/scripts/unpack_bootimg --boot_img $boot_img --out $out > $log
H A Dmkimg99 --boot_img ${BOOT_IMG} --out ${OUT} \
106 --boot_img ${BOOT_IMG} --out ${OUT} \
/OK3568_Linux_fs/u-boot/scripts/
H A Dunpack_bootimg181 info.boot_magic = unpack('8s', args.boot_img.read(8))[0].decode()
183 kernel_ramdisk_second_info = unpack('9I', args.boot_img.read(9 * 4))
196 os_version_patch_level = unpack('I', args.boot_img.read(1 * 4))[0]
209 args.boot_img.read(16))[0].decode())
210 info.cmdline = cstr(unpack('512s', args.boot_img.read(512))[0].decode())
211 args.boot_img.read(32) # ignore SHA
213 args.boot_img.read(1024))[0].decode())
216 args.boot_img.read(1536))[0].decode())
219 info.recovery_dtbo_size = unpack('I', args.boot_img.read(1 * 4))[0]
220 info.recovery_dtbo_offset = unpack('Q', args.boot_img.read(8))[0]
[all …]
H A Drepack-bootimg8 usage: $0 [-h] [-z] --boot_img BOOT_IMG [--out OUT] [--kernel KERNEL] [--ramdisk RAMDISK] [--second…
13 --boot_img BOOT_IMG path to the original boot image
29 --boot_img)
30 boot_img=$2
83 if [ "$boot_img" == "" -o ! -e "$boot_img" ]; then
119 $srctree/scripts/unpack_bootimg --boot_img $boot_img --out $out > $log
H A Dpack_resource.sh71 ./scripts/unpack_bootimg --boot_img ${BOOT_OLD} --out ${TMP_DIR2}/
74 ./scripts/repack-bootimg --boot_img ${BOOT_OLD} --second ${RSCE_NEW} -o ${BOOT_NEW}
H A DREADME.rockchip25 ./scripts/unpack_bootimg --boot_img boot.img --out out/
28 ./scripts/repack-bootimg --boot_img boot.img --kernel zImage -o boot_repack.img
H A Dandroid2fit.sh58 ./scripts/unpack_bootimg --boot_img ${BOOT_IMG} --out ${OUT}/
H A Dandroid2distro.sh53 ./scripts/unpack_bootimg --boot_img ${BOOT_IMG} --out distro/
H A Dfit-core.sh134 …-rollback-index-boot|--rollback-index-recovery|--rollback-index-uboot|--boot_img|--recovery_img|--…
157 --boot_img) # boot.img
/OK3568_Linux_fs/u-boot/tools/
H A Dmksunxiboot.c61 struct boot_img { struct
70 struct boot_img img; in main() argument
/OK3568_Linux_fs/u-boot/common/
H A Dimage-android.c1030 const disk_partition_t *boot_img) in extract_boot_image_v012_header() argument
1041 blks_read = blk_dread(dev_desc, boot_img->start, blk_cnt, hdr); in extract_boot_image_v012_header()
1063 const disk_partition_t *boot_img) in extract_boot_image_v34_header() argument
1075 blks_read = blk_dread(dev_desc, boot_img->start, blk_cnt, boot_hdr); in extract_boot_image_v34_header()
/OK3568_Linux_fs/kernel/drivers/scsi/esas2r/
H A Desas2r_flash.c630 static u8 chk_boot(u8 *boot_img, u32 length) in chk_boot() argument
632 struct esas2r_boot_image *bi = (struct esas2r_boot_image *)boot_img; in chk_boot()
/OK3568_Linux_fs/kernel/drivers/net/wireless/intel/ipw2x00/
H A Dipw2200.c3482 u8 *boot_img, *ucode_img, *fw_img; in ipw_load() local
3516 boot_img = &fw->data[0]; in ipw_load()
3551 rc = ipw_load_firmware(priv, boot_img, le32_to_cpu(fw->boot_size)); in ipw_load()