2026-02-07 9:05 AM
I got a panic message from drivers/st/clk/clk-stm32-core.c at Trusted Firmware.
My question is: What is clock ID 5? Is that MSI clock or LSE clock?
Is there any information I could read about this ID?
int clk_stm32_enable_call_ops(struct stm32_clk_priv *priv, uint16_t id)
{
const struct stm32_clk_ops *ops = _clk_get_ops(priv, id);
if ((ops->is_enabled != NULL) && ops->is_enabled(priv, id)) {
return 0;
}
if (ops->enable != NULL) {
ops->enable(priv, id);
}
if ((ops->is_enabled != NULL) && !ops->is_enabled(priv, id)) {
ERROR("failed to enable clock id: %u\n", id);
panic();
}
return 0;
}
The output is
NOTICE: Early console setup
ERROR: failed to enable clock id: 5
BACKTRACE: START: clk_stm32_enable_call_ops
0: EL3: 0xe017bac
1: EL3: 0xe01be2c
2: EL3: 0xe01beb0
3: EL3: 0xe01bf54
4: EL3: 0xe01c240
5: EL3: 0xe01db28
6: EL3: 0xe029a2c
7: EL3: 0xe0170dc
BACKTRACE: END: clk_stm32_enable_call_ops
PANIC at PC : 0x000000000e01be34