On 10/19/21 11:21 AM, Chan Kim wrote: > Hello, > > > > With these commands, > > make ARCH=arm CROSS_COMPILE=aarch64-none-elf- qemu_arm64_defconfig > > make ARCH=arm CROSS_COMPILE=aarch64-none-elf- > > I see only u-boot.bin. How can I make u-boot.elf with debug info? > > I found > https://protect2.fireeye.com/v1/url?k=126d5a6e-4df662a4-126cd121-0cc47a31bee8-8e6c8ef0c2793943&q=1&e=4928b69d-166a-4647-b6c5-88bc2f73a780&u=https%3A%2F%2Flists.denx.de%2Fpipermail%2Fu-boot%2F2005-May%2F010240.html > and > tried adding
It's too old patch. It's not proper to current u-boot. make ARCH=arm menucofig and check config relevant to DEBUG option. Best Regards, Jaehoon Chung > > -DDEBUG to CFLAGS_NON_EFI in arch/arm/config.mk and adding CFLAGS += -DDEBUG > in arch/arm/cpu/armv8/config.mk > > But after doing "make ARCH=arm CROSS_COMPILE=aarch64-none-elf- u-boot.elf", > when I give file command for the u-boot.elf, it says > > > > u-boot.elf: ELF 64-bit LSB executable, ARM aarch64, version 1 (SYSV), > statically linked, not stripped > > > > I think I should see "with debug_info, not stripped". With connecting gdb, I > can't see the source file. The run responds to 'continue' command though. > > Could any tell me what I can do? > > > > Thank you, > > Chan Kim > > > >