Searched refs:dest_fd (Results 1 – 2 of 2) sorted by relevance
/optee_os-3.20.0/core/arch/arm/plat-stm32mp1/scripts/ |
A D | stm32image.py | 30 dest_fd.seek(header_size, 0) 33 csum += ord(dest_fd.read(1)) 39 sizedest = get_size(dest_fd) 43 dest_fd.seek(0, 0) 49 dest_fd.write(b'\x00' * 64) 68 dest_fd.write(b'\x00' * 64) 71 dest_fd.write(b'\x00' * 83) 73 dest_fd.close() 77 dest_fd = open(dest, 'w+b') 85 dest_fd.write(mmsrc[:sizesrc]) [all …]
|
/optee_os-3.20.0/core/arch/arm/plat-amlogic/scripts/ |
A D | aml_bin2img.py | 24 def aml_set_header(dest_fd, entry, res_mem_start, res_mem_size, sec_mem_start, argument 26 dest_fd.seek(0, 0) 28 dest_fd.write(struct.pack('<IIQQQQQ', 38 dest_fd.write(b'\x00' * 464) 39 dest_fd.close() 44 dest_fd = open(dest, 'w+b') 47 dest_fd.write(b'\x00' * header_size) 52 dest_fd.write(mmsrc[:sizesrc]) 57 aml_set_header(dest_fd, entry, res_mem_start, res_mem_size, sec_mem_start, 60 dest_fd.close()
|
Completed in 2 milliseconds