cancel
Showing results for 
Search instead for 
Did you mean: 

Why does Linux disable the Buck/LDO at startup?

DMårt
Lead

Hi!

I having some issues with Linux at startup. It seems that it disabling the Bucks/LDOs at startup.

vddio2: disabling
vddio3: disabling
vddio4: disabling
vddcore: disabling
v1v8: disabling
v3v3: disabling

Why does this occur?

Here is the complete output as attached file. As you can see, I have set up my own outputs for error handling. 

The device three can be found here:

https://github.com/DanielMartensson/Watermelon-Wine-1A/tree/linux-testing/watermelon-wine-os%2Fcubemx%2FCA35%2FDeviceTree%2Ffirmware

Good to know:

  • clk_get_index = 143 is USART6.
  • I have activated the RNG for TF-A only. It seems not to wake up. It's the same default configuration as DK.

 

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
2 REPLIES 2
PatrickF
ST Employee

Hi @DMårt 
also appear with Starter Package. I agree it is quite confusing (for me as well as I'm more HW expert).

[   32.085289] vddio3: disabling
[   32.085371] vddio4: disabling
[   32.085653] vddcore: disabling
[   32.088709] v1v8: disabling

I guess it is related on the usage of a particular supplies in the probed peripheral  (e.g. some of the 1v8 'request' could says 'disabled' if ADC is not used).
I guess it does not directly mean HW will disable them (if even possible) as STPMIC control is managed by Op-Tee which has also its own view of required supplies.
That might be cleaned by more accurately describing the HW in the DTS (if possible).

It does not hurt to ignore those messages.

Regards.

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
Tip of the day: Try Sidekick STM32 AI agent, see here

@PatrickF 

Hi!

If you see in the end of the text file output. You can see that RCC clk ID 2 is not started. It gives and error code -17.

Do you know what clock is ID 2?

 

NOTICE:  clk_get_index: Found at 143
F/TC:? 1 invoke_command:63 rng.pta command 0 ptypes 0x7
[    6.539643] stm32mp25_rcc 44200000.clock-controller: Can't register clk 2: -17
[    6.546024] stm32 clock failed to initialize
[    6.550305] stm32mp25_rcc: probe of 44200000.clock-controller failed with error -17
F/TC:1 1 read_available:236 RNG not ready
*F/TC:? 0 pta_scmi_ocall:207 Posting MSG message on channel 0
F/TC:? 0 pta_scmi_ocall:207 Posting MSG message on channel 0
F/TC:? 0 pta_scmi_ocall:207 Posting MSG message on channel 0
F/TC:? 0 pta_scmi_ocall:207 Posting MSG message on channel 0

 

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