Searched refs:elf (Results 1 - 25 of 53) sorted by relevance

123

/u-boot/tools/binman/
H A Delf_test.py5 # 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 Delf.py22 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 Du_boot_spl_bss_pad.py10 from binman import elf namespace
40 bss_size = elf.GetSymbolAddress(fname, '__bss_size')
H A Du_boot_vpl_bss_pad.py10 from binman import elf namespace
40 bss_size = elf.GetSymbolAddress(fname, '__bss_size')
H A Du_boot_tpl_bss_pad.py10 from binman import elf namespace
40 bss_size = elf.GetSymbolAddress(fname, '__bss_size')
H A Dtee_os.py10 from binman import elf namespace
17 called tee.bin or tee.elf
73 if elf.is_valid(self.data):
H A Du_boot_with_ucode_ptr.py10 from binman import elf namespace
42 sym = elf.GetSymbolAddress(fname, '_dt_ucode_base_size')
H A Dxilinx_bootgen.py12 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 Dnxp_imx8mimage.py15 from binman import elf namespace
/u-boot/scripts/
H A Devent_dump.py17 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 Dmips-relocs.c9 #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 Dzynqmpbif.c10 #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 Dprelink-riscv.c18 #include <elf.h>
/u-boot/drivers/remoteproc/
H A DMakefile7 obj-$(CONFIG_$(SPL_)REMOTEPROC) += rproc-uclass.o rproc-elf-loader.o
/u-boot/arch/arm/lib/
H A Dreloc_aarch64_efi.c39 #include <elf.h>
H A Dreloc_arm_efi.c15 #include <elf.h>
H A Drelocate_64.S12 #include <elf.h>
H A Drelocate.S11 #include <elf.h>
/u-boot/arch/x86/lib/
H A Dreloc_x86_64_efi.c14 #include <elf.h>
H A Dreloc_ia32_efi.c12 #include <elf.h>
/u-boot/arch/riscv/lib/
H A Dreloc_riscv_efi.c41 #include <elf.h>
/u-boot/arch/arc/lib/
H A Drelocate.c6 #include <elf.h>
/u-boot/arch/microblaze/cpu/
H A Drelocate.c7 #include <elf.h>
31 * Return in case u-boot.elf is used directly.
/u-boot/include/net/pfe_eth/pfe/
H A Dpfe_hw.h10 #include <elf.h>
/u-boot/board/synopsys/axs10x/
H A Dheaderize-axs.py5 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

Completed in 220 milliseconds

123