Question
How to Enable or Disable Debug Console Logs at Runtime Across the Entire Boot Chain
Hi ST Support,
I would like to know whether there is a supported mechanism to enable or disable debug console output at runtime across the entire boot chain, including the following components:
- TF-A (Trusted Firmware-A)
- OP-TEE
- U-Boot
- Linux Kernel
- Root File System (user space)
Use case:
- I connect to the target board through the serial console to monitor boot logs.
- After the system has booted, I access the board over USB SSH.
- From the Linux shell, I would like to execute a command that enables or disables debug messages on the serial console.
My goal is to control the debug console output without rebuilding or reflashing any of the bootloader or firmware components.
Could you please let me know:
- Is there a supported way to enable or disable debug console output for all boot stages at runtime?
- If this is not possible, what is the recommended approach to achieve similar functionality?
- Does ST provide any framework or utility to control console logging across TF-A, OP-TEE, U-Boot, the Linux kernel, and user space?
Thank you for your support.
