Searched refs:to_bytes (Results 1 – 14 of 14) sorted by relevance
| /u-boot/board/synopsys/hsdk/ |
| A D | headerize-hsdk.py | 86 file.write(arc_id.to_bytes(2, byteorder='little')) 87 file.write(uboot_img_size.to_bytes(4, byteorder='little')) 88 file.write(check_sum.to_bytes(1, byteorder='little')) 89 file.write(image_copy_adr.to_bytes(4, byteorder='little')) 90 file.write(magic1.to_bytes(5, byteorder='big')) 91 file.write(jump_address.to_bytes(4, byteorder='little')) 92 for i in range(12): file.write(0xFF.to_bytes(1, byteorder='little')) 93 for byte in magic2: file.write(byte.to_bytes(36, byteorder='big')) 95 file.write(0xFF.to_bytes(1, byteorder='little')) 96 file.write(flash_address.to_bytes(4, byteorder='little')) [all …]
|
| /u-boot/board/synopsys/axs10x/ |
| A D | headerize-axs.py | 98 jmpchk_sum = sum(jump_address.to_bytes(4, byteorder='big')) 106 file.write(arc_id.to_bytes(2, byteorder='little')) 107 file.write(uboot_img_size.to_bytes(4, byteorder='little')) 108 file.write(check_sum.to_bytes(1, byteorder='little')) 109 file.write(image_copy_adr.to_bytes(4, byteorder='little')) 110 file.write(magic1.to_bytes(5, byteorder='big')) 111 for i in range(16): file.write(0x00.to_bytes(1, byteorder='little')) 112 for byte in magic2: file.write(byte.to_bytes(36, byteorder='big')) 114 file.write(0x00.to_bytes(1, byteorder='little')) 116 file.write(jump_address.to_bytes(4, byteorder='little'))
|
| /u-boot/tools/binman/etype/ |
| A D | text.py | 63 value = tools.to_bytes(value) 70 value = tools.to_bytes(value) if value is not None else value
|
| A D | fit.py | 593 b'NAME', tools.to_bytes(fdt_fname)) 595 b'SEQ', tools.to_bytes(str(seq + 1)))
|
| /u-boot/tools/binman/ |
| A D | fmap_util.py | 76 fields[name_index] = tools.to_bytes(NameToFmap(fields[name_index]))
|
| A D | cbfs_util.py | 192 val = tools.to_bytes(instr)
|
| A D | ftest.py | 98 PRE_LOAD_VERSION = 0x11223344.to_bytes(4, 'big') 99 PRE_LOAD_HDR_SIZE = 0x00001000.to_bytes(4, 'big') 1674 expected = (tools.to_bytes(TEXT_DATA) + 1676 tools.to_bytes(TEXT_DATA2) + tools.to_bytes(TEXT_DATA3) + 4089 tools.to_bytes(TEXT_DATA) + tools.get_bytes(0, 30) +
|
| /u-boot/tools/ |
| A D | key2dtsi.py | 17 byte_array = n.to_bytes(length, 'big')
|
| A D | efivar.py | 305 …buf = name.encode('utf_16_le') + uuid.UUID(guid).bytes_le + attrs.to_bytes(4, byteorder='little') …
|
| /u-boot/tools/buildman/ |
| A D | toolchain.py | 205 env[b'CROSS_COMPILE'] = tools.to_bytes( 208 env[b'CROSS_COMPILE'] = tools.to_bytes(wrapper + self.cross) 209 env[b'PATH'] = tools.to_bytes(self.path) + b':' + env[b'PATH']
|
| /u-boot/test/py/tests/ |
| A D | test_fit_auto_signed.py | 78 0xffffffff).to_bytes(4, 'big'), "Wrong crc32 hash!"
|
| /u-boot/tools/dtoc/ |
| A D | test_fdt.py | 531 self.assertEqual(tools.to_bytes(val) + b'\0', data) 541 prop.SetData(tools.to_bytes(val)) 544 self.assertEqual(tools.to_bytes(val), data) 549 prop.SetData(tools.to_bytes(val)) 552 self.assertEqual(tools.to_bytes(val), data)
|
| A D | test_fdt | 531 self.assertEqual(tools.to_bytes(val) + b'\0', data) 541 prop.SetData(tools.to_bytes(val)) 544 self.assertEqual(tools.to_bytes(val), data) 549 prop.SetData(tools.to_bytes(val)) 552 self.assertEqual(tools.to_bytes(val), data)
|
| /u-boot/tools/u_boot_pylib/ |
| A D | tools.py | 497 def to_bytes(string): function
|
Completed in 52 milliseconds