/u-boot/tools/binman/etype/ |
H A D | u_boot_spl_bss_pad.py | 13 from u_boot_pylib import tools namespace 39 fname = tools.get_input_filename('spl/u-boot-spl') 43 self.SetContents(tools.get_bytes(0, bss_size))
|
H A D | u_boot_vpl_bss_pad.py | 13 from u_boot_pylib import tools namespace 39 fname = tools.get_input_filename('vpl/u-boot-vpl') 43 self.SetContents(tools.get_bytes(0, bss_size))
|
H A D | u_boot_tpl_bss_pad.py | 13 from u_boot_pylib import tools namespace 39 fname = tools.get_input_filename('tpl/u-boot-tpl') 43 self.SetContents(tools.get_bytes(0, bss_size))
|
H A D | u_boot_elf.py | 12 from u_boot_pylib import tools namespace 30 out_fname = tools.get_output_filename('%s.stripped' % uniq) 31 tools.write_file(out_fname, tools.read_file(self._pathname)) 32 tools.run('strip', out_fname)
|
H A D | xilinx_bootgen.py | 17 from u_boot_pylib import tools namespace 143 gcc, args = tools.get_target_compile_tool('cc') 149 spl_elf = elf.DecodeElf(tools.read_file( 150 tools.get_input_filename('spl/u-boot-spl')), 0) 155 dir=tools.get_output_dir())\ 159 pad = bytearray(tools.align(len(data), 4) - len(data)) 160 tools.write_file(input_objcopy_fname, data + pad) 164 dir=tools.get_output_dir())\ 167 objcopy, args = tools.get_target_compile_tool('objcopy') 174 ld, args = tools [all...] |
H A D | encrypted.py | 10 from u_boot_pylib import tools namespace 125 iv_filename = tools.get_input_filename(self._iv_filename) 126 iv = tools.read_file(iv_filename, binary=True) 133 key_filename = tools.get_input_filename(self._key_filename) 134 key = tools.read_file(key_filename, binary=True)
|
H A D | u_boot_spl_pubkey_dtb.py | 15 from u_boot_pylib import tools namespace 87 dir=tools.get_output_dir())\ 89 tools.write_file(pubkey_tdb.name, self.GetData()) 90 keyname = tools.get_input_filename(self._key_name_hint + ".crt") 95 dtb = tools.read_file(pubkey_tdb.name)
|
H A D | text.py | 10 from u_boot_pylib import tools namespace 63 value = tools.to_bytes(value) 70 value = tools.to_bytes(value) if value is not None else value
|
H A D | u_boot_ucode.py | 10 from u_boot_pylib import tools namespace 95 self._pathname = tools.get_output_filename('u-boot-ucode.bin') 96 tools.write_file(self._pathname, fdt_entry.ucode_data)
|
H A D | gbb.py | 15 from u_boot_pylib import tools namespace 54 README.chromium for how to obtain the required keys and tools. 73 fname = tools.get_output_filename(gbb) 80 keydir = tools.get_input_filename(self.keydir) 91 bmpfv=tools.get_input_filename(self.bmpblk)) 94 self.SetContents(tools.read_file(fname)) 98 self.SetContents(tools.get_bytes(0, gbb_size))
|
H A D | vblock.py | 16 from u_boot_pylib import tools namespace 68 output_fname = tools.get_output_filename('vblock.%s' % uniq) 69 input_fname = tools.get_output_filename('input.%s' % uniq) 70 tools.write_file(input_fname, input_data) 81 data = tools.read_file(output_fname) 85 data = tools.get_bytes(0, 4096)
|
H A D | fill.py | 8 from u_boot_pylib import tools namespace 33 self.SetContents(tools.get_bytes(self.fill_value, self.size))
|
H A D | blob_ext.py | 12 from u_boot_pylib import tools namespace
|
H A D | null.py | 8 from u_boot_pylib import tools namespace
|
H A D | ti_secure_rom.py | 14 from u_boot_pylib import tools namespace 142 input_fname_sbl = tools.get_output_filename('input.%s' % uniq) 143 tools.write_file(input_fname_sbl, input_data_sbl) 145 indata_sbl = tools.read_file(input_fname_sbl) 153 input_fname_sysfw = tools.get_output_filename('input.%s' % uniq) 154 tools.write_file(input_fname_sysfw, input_data_sysfw) 156 indata_sysfw = tools.read_file(input_fname_sysfw) 164 input_fname_sysfw_data = tools.get_output_filename('input.%s' % uniq) 165 tools.write_file(input_fname_sysfw_data, input_data_sysfw_data) 167 indata_sysfw_data = tools [all...] |
H A D | intel_ifwi.py | 13 from u_boot_pylib import tools namespace 61 outname = tools.get_output_filename('ifwi.bin') 65 self.SetContents(tools.get_bytes(0, 1024)) 77 self.SetContents(tools.get_bytes(0, 1024)) 84 input_fname = tools.get_output_filename('input.%s' % uniq) 85 tools.write_file(input_fname, data) 100 tools which create precursor binaries with lots of data and settings, 110 self._pathname = tools.get_input_filename(self._filename,
|
H A D | u_boot_tpl_with_ucode_ptr.py | 14 from u_boot_pylib import tools namespace
|
/u-boot/tools/binman/btool/ |
H A D | lzma_alone.py | 40 from u_boot_pylib import tools namespace 68 dir=tools.get_output_dir()) as inf: 69 tools.write_file(inf.name, indata) 71 dir=tools.get_output_dir()) as outf: 74 return tools.read_file(outf.name) 86 dir=tools.get_output_dir()) as inf: 87 tools.write_file(inf.name, indata) 89 dir=tools.get_output_dir()) as outf: 92 return tools.read_file(outf.name, binary=True)
|
H A D | lz4.py | 63 from u_boot_pylib import tools namespace 91 dir=tools.get_output_dir()) as tmp: 92 tools.write_file(tmp.name, indata) 106 dir=tools.get_output_dir()) as inf: 107 tools.write_file(inf.name, indata)
|
H A D | bootgen.py | 18 from u_boot_pylib import tools namespace 123 bif_fname = tools.get_output_filename('bootgen-in.sign.bif') 124 tools.write_file(bif_fname, bif_template, False)
|
/u-boot/board/samsung/origen/ |
H A D | Makefile | 9 hostprogs-y := tools/mkorigenspl 16 # Fix the root cause in tools/mkorigenspl.c and delete the following work-around 17 $(obj)/tools/mkorigenspl: HOSTCFLAGS:=$(filter-out -O2,$(HOSTCFLAGS))
|
/u-boot/test/ |
H A D | run | 24 [ "$1" == "tools" ] && tools_only=y 76 # to tools build by the build. 80 TOOLS_DIR=build-sandbox_spl/tools 82 run_test "binman" ./tools/binman/binman --toolpath ${TOOLS_DIR} test 83 run_test "patman" ./tools/patman/patman test 84 run_test "u_boot_pylib" ./tools/u_boot_pylib/u_boot_pylib 86 run_test "buildman" ./tools/buildman/buildman -t ${skip} 87 run_test "fdt" ./tools/dtoc/test_fdt -t 88 run_test "dtoc" ./tools/dtoc/dtoc -t 90 # This needs you to set up Python test coverage tools [all...] |
/u-boot/board/samsung/smdkv310/ |
H A D | Makefile | 9 hostprogs-y := tools/mksmdkv310spl
|
/u-boot/arch/mips/ |
H A D | Makefile.postlink | 11 CMD_RELOCS = tools/mips-relocs
|
/u-boot/tools/env/ |
H A D | Makefile | 7 # built with cross tools. Although it may look weird, we only replace "HOSTCC" 12 HOST_EXTRACFLAGS = -I$(srctree)/tools \ 14 -idirafter $(srctree)/tools/env \
|