Home
last modified time | relevance | path

Searched refs:cbfs_offset (Results 1 – 3 of 3) sorted by relevance

/u-boot/tools/binman/
A Dcbfs_util.py226 self.cbfs_offset = cbfs_offset
272 def raw(cls, name, data, cbfs_offset, compress): argument
313 if self.cbfs_offset is None:
315 return self.cbfs_offset - self.get_header_len()
379 if self.cbfs_offset is not None:
537 def add_file_raw(self, name, data, cbfs_offset=None, argument
648 self.cbfs_offset = None
664 fd.seek(self.cbfs_offset)
740 cbfs_offset = file_pos + offset
741 fd.seek(cbfs_offset, io.SEEK_SET)
[all …]
A Dcbfs_util_test.py101 self.assertEqual(offset, cbfs.cbfs_offset)
106 data=U_BOOT_DATA, cbfs_offset=None): argument
123 if cbfs_offset is not None:
124 self.assertEqual(cbfs_offset, cfile.cbfs_offset)
132 cbfs_offset=None): argument
145 if cbfs_offset is not None:
146 self.assertEqual(cbfs_offset, cfile.cbfs_offset)
579 cbfs_offset=0x40)
580 self._check_dtb(cbfs, offset=0x40, cbfs_offset=0x140)
618 self.assertEqual(0x38, cbfs.files['u-boot'].cbfs_offset)
[all …]
A Dftest.py2268 self.assertEqual(0x40, cfile.cbfs_offset)
2273 self.assertEqual(0x140, cfile2.cbfs_offset)

Completed in 13 milliseconds