Lines Matching refs:output
72 args.output.write(pack('8s', BOOT_MAGIC))
75 args.output.write(pack('10I',
86 args.output.write(pack('16s', args.board.encode())) # asciiz product name
87 args.output.write(pack('512s', args.cmdline[:512].encode()))
101 args.output.write(img_id)
102 args.output.write(pack('1024s', args.cmdline[512:].encode()))
105 args.output.write(pack('I', filesize(args.recovery_dtbo))) # size in bytes
107 args.output.write(pack('Q', get_recovery_dtbo_offset(args))) # recovery dtbo offset
109 args.output.write(pack('Q', 0)) # Will be set to 0 for devices without a recovery dtbo
113 args.output.write(pack('I', BOOT_IMAGE_HEADER_V1_SIZE))
115 args.output.write(pack('I', BOOT_IMAGE_HEADER_V2_SIZE))
118 args.output.write(pack('I', filesize(args.dtb))) # size in bytes
119 args.output.write(pack('Q', args.base + args.dtb_offset)) # dtb physical load address
120 pad_file(args.output, args.pagesize)
214 write_padded_file(args.output, args.kernel, args.pagesize)
215 write_padded_file(args.output, args.ramdisk, args.pagesize)
216 write_padded_file(args.output, args.second, args.pagesize)
219 write_padded_file(args.output, args.recovery_dtbo, args.pagesize)
221 write_padded_file(args.output, args.dtb, args.pagesize)