Debug in Uboot crashes T30

Hi,

in order to debug some GPIO functionality in a T30 V2.7 Uboot, I wrote a #define DEBUG in common.h. After I update it in the board, debug messages start to appear but it gets stuck at:

halt_avp_entry

443-selection-075.png

I’ve compiled and flashed Uboot several times without any issue, but whenever I try to activate debug it just doesn’t boot. I have to use the recovery mode and start Uboot (without debug) through USB.

Any help? Thanks.

Can you try by selectively enabling debug only for the GPIO driver?. It is expected that u-boot might fail in same way when debug is enabled on a much wider basis.