Hi all,
I want to find the loading address for an elf64 file from uboot. I am able to get patch for elf64 format in uboot, but board resets with exception. The file is about 90 MB. Below are some details about elf64 file.
ELF Header: Magic: 7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00 Class: ELF64 Data: 2's complement, little endian Version: 1 (current) OS/ABI: UNIX - System V ABI Version: 0 Type: EXEC (Executable file) Machine: Intel 80386 Version: 0x1 Entry point address: 0xffffffc000093b80 Start of program headers: 64 (bytes into file) Start of section headers: 292348 (bytes into file) Flags: 0x0 Size of this header: 64 (bytes) Size of program headers: 56 (bytes) Number of program headers: 5219 Size of section headers: 64 (bytes) Number of section headers: 3 Section header string table index: 2
DRAM info:
=> bdinfo arch_number = 0x00000000 boot_params = 0x00000000 DRAM bank = 0x00000000 -> start = 0x00000000 -> size = 0x05E00000 DRAM bank = 0x00000001 -> start = 0x05F00000 -> size = 0x00001000 DRAM bank = 0x00000002 -> start = 0x05F02000 -> size = 0x00EFD000 DRAM bank = 0x00000003 -> start = 0x06E00000 -> size = 0x0060F000 DRAM bank = 0x00000004 -> start = 0x07410000 -> size = 0x1AAF0000 DRAM bank = 0x00000005 -> start = 0x22000000 -> size = 0x1C000000
I find the entry point address of the elf file strange since its so large. What might be causing it? Is there any way to correct it?