Hi Wang,
You can generate the spmc dump file with the llvm objdump from prebuilt e.g. prebuilts/linux-x64/clang/bin/llvm-objdump -D out/reference/secure_aem_v8a_fvp_clang/hafnium.elf > out/reference/secure_aem_v8a_fvp_clang/hafnium.dump
Alternatively you can use objdump from any other gnu toolchain (aarch64-none-elf-objdump ..)
Regards, Olivier.
________________________________________ From: Hafnium hafnium-bounces@lists.trustedfirmware.org on behalf of Chenxu Wang via Hafnium hafnium@lists.trustedfirmware.org Sent: 28 December 2021 21:58 To: Chenxu Wang via Hafnium Subject: [Hafnium] How to debug with pc value?
Hi all,
When data or instruction abort happens, Hafnium provides the esr_el2, far, pc values and etc. I think this info is useful, but I want to know how to debug with the PC value.
I know TF-A provides some dump files (e.g., bl31.dump). So, when some panic or errors happen, I can locate the "bug instruction", its functions, and other useful context quickly.
Will Hafnium provides similar dump files? If not, can we create them? How?
Sincerely, Wang -- Hafnium mailing list Hafnium@lists.trustedfirmware.org https://lists.trustedfirmware.org/mailman/listinfo/hafnium