/u-boot/tools/binman/ |
H A D | elf_test.py | 5 # Test for the elf module 14 from binman import elf namespace 39 This has the minimum feature set needed to support testing elf functions. 85 cls._indir = tempfile.mkdtemp(prefix='elf.') 101 syms = elf.GetSymbols(fname, []) 107 syms = elf.GetSymbols(fname, ['ucode']) 109 syms = elf.GetSymbols(fname, ['missing']) 111 syms = elf.GetSymbols(fname, ['missing', 'ucode']) 119 elf.LookupAndWriteSymbols('missing-file', entry, section) 125 if not elf [all...] |
H A D | elf.py | 22 from elftools.elf.elffile import ELFFile 23 from elftools.elf.elffile import ELFError 24 from elftools.elf.sections import SymbolTableSection 91 def _GetFileOffset(elf, addr): 95 elf (ELFFile): ELF file to check 101 for seg in elf.iter_segments(): 120 elf = ELFFile(fd) 121 return _GetFileOffset(elf, addr) 136 elf = ELFFile(fd) 159 elf [all...] |
/u-boot/tools/binman/etype/ |
H A D | u_boot_spl_bss_pad.py | 10 from binman import elf namespace 40 bss_size = elf.GetSymbolAddress(fname, '__bss_size')
|
H A D | u_boot_vpl_bss_pad.py | 10 from binman import elf namespace 40 bss_size = elf.GetSymbolAddress(fname, '__bss_size')
|
H A D | u_boot_tpl_bss_pad.py | 10 from binman import elf namespace 40 bss_size = elf.GetSymbolAddress(fname, '__bss_size')
|
H A D | tee_os.py | 10 from binman import elf namespace 17 called tee.bin or tee.elf 73 if elf.is_valid(self.data):
|
H A D | u_boot_with_ucode_ptr.py | 10 from binman import elf namespace 42 sym = elf.GetSymbolAddress(fname, '_dt_ucode_base_size')
|
H A D | xilinx_bootgen.py | 12 from binman import elf namespace 28 - pmufw-filename: Filename of PMU firmware. Default: pmu-firmware.elf 149 spl_elf = elf.DecodeElf(tools.read_file( 161 # Final output elf file which contains a valid start address 162 with tempfile.NamedTemporaryFile(prefix="u-boot-spl-pubkey-elf-", 202 spl_elf_fname = tools.get_output_filename('u-boot-spl-pubkey.dtb.elf')
|
H A D | nxp_imx8mimage.py | 15 from binman import elf namespace
|
/u-boot/scripts/ |
H A D | event_dump.py | 17 from binman import elf namespace 35 sym (elf.Symbol): Symbol to show 55 func_name = elf.GetSymbolFromAddress(fname, func_addr) 66 id_ofs = elf.GetFileOffset(fname, id_addr) 93 syms = elf.GetSymbolFileOffset(fname, [PREFIX_FULL, PREFIX_SIMPLE]) 112 parser.add_argument('elf', type=str, help='ELF file to decode') 116 show_event_spy_list(args.elf, args.endian)
|
/u-boot/tools/ |
H A D | mips-relocs.c | 9 #include <elf.h> 209 void *elf; local 225 elf = mmap(NULL, st.st_size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0); 226 if (elf == MAP_FAILED) { 232 ehdr32 = elf; 233 ehdr64 = elf; 286 shdr32 = elf + ehdr_field(e_shoff); 287 shdr64 = elf + ehdr_field(e_shoff); 288 shstrtab = elf + shdr_field(ehdr_field(e_shstrndx), sh_offset); 370 err = parse_fn(elf [all...] |
H A D | zynqmpbif.c | 10 #include <elf.h> 546 /* Add elf file */ 547 static char *elf2flat64(char *elf, size_t *flat_size, size_t *load_addr) argument 555 ehdr = (void *)elf; 556 shdr = (void *)(elf + le64_to_cpu(ehdr->e_shoff)); 579 shdr = (void *)(elf + le64_to_cpu(ehdr->e_shoff)); 582 char *src = elf + le64_to_cpu(shdr->sh_offset); 595 static char *elf2flat32(char *elf, size_t *flat_size, size_t *load_addr) argument 603 ehdr = (void *)elf; 604 shdr = (void *)(elf 647 char *elf; local [all...] |
H A D | prelink-riscv.c | 18 #include <elf.h>
|
/u-boot/drivers/remoteproc/ |
H A D | Makefile | 7 obj-$(CONFIG_$(SPL_)REMOTEPROC) += rproc-uclass.o rproc-elf-loader.o
|
/u-boot/arch/arm/lib/ |
H A D | reloc_aarch64_efi.c | 39 #include <elf.h>
|
H A D | reloc_arm_efi.c | 15 #include <elf.h>
|
H A D | relocate_64.S | 12 #include <elf.h>
|
H A D | relocate.S | 11 #include <elf.h>
|
/u-boot/arch/x86/lib/ |
H A D | reloc_x86_64_efi.c | 14 #include <elf.h>
|
H A D | reloc_ia32_efi.c | 12 #include <elf.h>
|
/u-boot/arch/riscv/lib/ |
H A D | reloc_riscv_efi.c | 41 #include <elf.h>
|
/u-boot/arch/arc/lib/ |
H A D | relocate.c | 6 #include <elf.h>
|
/u-boot/arch/microblaze/cpu/ |
H A D | relocate.c | 7 #include <elf.h> 31 * Return in case u-boot.elf is used directly.
|
/u-boot/include/net/pfe_eth/pfe/ |
H A D | pfe_hw.h | 10 #include <elf.h>
|
/u-boot/board/synopsys/axs10x/ |
H A D | headerize-axs.py | 5 from elftools.elf.elffile import ELFFile 12 " --header-type v1 --arc-id 0x434 --spi-flash-offset 0x0 --image u-boot.bin --elf u-boot") 15 " --header-type v2 --arc-id 0x53 --spi-flash-offset 0x200000 --image u-boot.bin --elf u-boot") 38 print("uboot elf file not exists: " + uboot_elf_filename) 51 ["help", "header-type=", "arc-id=", "spi-flash-offset=", "image=", "elf="]) 85 if opt in ('-e', "--elf"): uboot_elf_filename = arg
|