Hello,
I'm using FRWY-LS1046A board with LSDK 20.12 release. I want to print out DDR related configurations to serial port. (teraterm or putty) So, I added below debug definitions at the top of u-boot/drivers/ddr/fsl/ctrl_regs.c file. The flex-builder and flex-installer were used for bootable SD card according to the FRWY-LS1046A BSP user guide. The SD booting is still working but it doesn't show any expected log message from many debug() macros in the c-code. Could you help me for this?
#define DEBUG
#undef CONFIG_LOGLEVEL
#define CONFIG_LOGLEVEL 8
#include <common.h>
Best Regards,
Jeff
Solved! Go to Solution.
LSDK 20.12 boot sequence in TF-A based. DDR memory initialization is performed
by TF-A code that executes before control is transferred to u-Boot. For this
reason, u-Boot DDR memory initialization routines are bypassed.
Suggestions:
1. Study LSDK User Guide Section 5.1.
2. Use a JTAG based, source level debugger to debug your code.
3. Refer to the right software package:
https://source.codeaurora.org/external/qoriq/qoriq-components/atf
Best Regards,
Platon
LSDK 20.12 boot sequence in TF-A based. DDR memory initialization is performed
by TF-A code that executes before control is transferred to u-Boot. For this
reason, u-Boot DDR memory initialization routines are bypassed.
Suggestions:
1. Study LSDK User Guide Section 5.1.
2. Use a JTAG based, source level debugger to debug your code.
3. Refer to the right software package:
https://source.codeaurora.org/external/qoriq/qoriq-components/atf
Best Regards,
Platon
Hi bpe,
Thank you for the answer. The debug print is working in TF-A code.
Best Regards,
Jeff