cancel
Showing results for 
Search instead for 
Did you mean: 

Failed to init the clock at STM32MP257: What is clock ID 5?

DMårt
Lead

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

 

STM32MP151AAC3 custom board with STM32-OS as operating system: https://github.com/DanielMartensson/STM32-Computer

STM32MP257FAK3 custom board with STM64-OS as operating system: https://github.com/DanielMartensson/STM64-Computer
0 REPLIES 0