Home
last modified time | relevance | path

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

/u-boot/board/synopsys/hsdk/
A Dheaderize-hsdk.py86 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 Dheaderize-axs.py98 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 Dtext.py63 value = tools.to_bytes(value)
70 value = tools.to_bytes(value) if value is not None else value
A Dfit.py593 b'NAME', tools.to_bytes(fdt_fname))
595 b'SEQ', tools.to_bytes(str(seq + 1)))
/u-boot/tools/binman/
A Dfmap_util.py76 fields[name_index] = tools.to_bytes(NameToFmap(fields[name_index]))
A Dcbfs_util.py192 val = tools.to_bytes(instr)
A Dftest.py98 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 Dkey2dtsi.py17 byte_array = n.to_bytes(length, 'big')
A Defivar.py305 …buf = name.encode('utf_16_le') + uuid.UUID(guid).bytes_le + attrs.to_bytes(4, byteorder='little') …
/u-boot/tools/buildman/
A Dtoolchain.py205 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 Dtest_fit_auto_signed.py78 0xffffffff).to_bytes(4, 'big'), "Wrong crc32 hash!"
/u-boot/tools/dtoc/
A Dtest_fdt.py531 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 Dtest_fdt531 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 Dtools.py497 def to_bytes(string): function

Completed in 52 milliseconds