[PATCH] led: Configure LED default-state on boot
Sean Anderson
seanga2 at gmail.com
Fri Apr 22 02:06:43 CEST 2022
On 4/21/22 11:26 AM, Patrice CHOTARD wrote:
>
>
> On 4/21/22 17:18, Marek Vasut wrote:
>> On 4/21/22 17:09, Patrice CHOTARD wrote:
>>> Hi Marek
>>
>> Hi,
>>
>>> I tested the current U-Boot master branch (22bfaa1f673ab5442dfb9778eea4c9a18dee42d0)
>>> This patch is breaking the boot sequence on stm32mp157c-dk2.
>>
>> Breaking it ... how ? What happens, hang ?
>
> Here is the boot log :
>
> U-Boot SPL 2022.04-00827-g22bfaa1f67 (Apr 21 2022 - 17:22:47 +0200)
> RAM: DDR3-DDR3L 16bits 533000kHz
> WDT: Started watchdog at 5a002000 with servicing (32s timeout)
>
>
> U-Boot 2022.04-00827-g22bfaa1f67 (Apr 21 2022 - 17:22:47 +0200)
>
> CPU: STM32MP157CAC Rev.B
> Model: STMicroelectronics STM32MP157C-DK2 Discovery Board
> Board: stm32mp1 in basic mode (st,stm32mp157c-dk2)
> Board: MB1272 Var2.0 Rev.C-01
> DRAM: 512 MiB
> Clocks:
> - MPU : 0 MHz
> - MCU : 0 MHz
> - AXI : 0 MHz
> - PER : 0 MHz
> - DDR : 0 MHz
> clock rate is 0
> clock rate is 0
> clock rate is 0
> clock rate is 0
> clock rate is 0
> cloc
>
> What worried me is that all clocks are set to 0 (MPU/MCU/AXI ....)...no direct link with the led-uclass update.
> For information, if i comment the device_probe(dev) in led_post_bind(), it avoid the hang.
Can you try applying the LED patch on top of 2022.04?
I made some clock changes recently, so it could be an interaction with that.
--Sean
More information about the U-Boot
mailing list