Hi there,
I have an ELF file of the u-boot bootloader, that I'd like to debug.
Code
aarch64-poky-linux-readelf -h u-boot
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: AArch64
Version: 0x1
Entry point address: 0x40200000
Start of program headers: 64 (bytes into file)
Start of section headers: 5552136 (bytes into file)
Flags: 0x0
Size of this header: 64 (bytes)
Size of program headers: 56 (bytes)
Number of program headers: 2
Size of section headers: 64 (bytes)
Number of section headers: 27
Section header string table index: 26
Display More
Compiled by aarch64-poky-linux-gcc (GCC) 11.2.0.
When I open it with the Ozone, it prints the following in the console, no errors are seen there, but shows content of the file as an editor that opened a binary file, not the source code expected:
Code
Disabled output of control characters
SEGGER Ozone - The J-Link Debugger V3.38d
J-Link software found at: /opt/SEGGER/Ozone_V338d/Lib/libjlinkarm.so
File.NewProject();
File.NewProject();
File.NewProjectWizard();
Target core support plugin loaded.: /opt/SEGGER/Ozone_V338d/Plugins/Core/CorePluginARM.so
Project.SetDevice ("MIMX8MQ5_A53_0");
Project.SetHostIF ("USB", "");
Project.SetTargetIF ("JTAG");
Project.SetTIFSpeed ("4 MHz");
Project.AddSvdFile ("$(InstallDir)/Config/CPU/Cortex-A53_AArch64.svd");
File path resolved: "$(InstallDir)/Config/CPU/Cortex-A53_AArch64.svd" was found at "/opt/SEGGER/Ozone_V338d/Config/CPU/Cortex-A53_AArch64.svd"
File.Open ("/tmp/u-boot");
Display More
Thank you for your help
Cheers,
Andy