Skip to main content
Graduate
September 16, 2022
Solved

Workflow improvment

  • September 16, 2022
  • 1 reply
  • 812 views

When I'm working on configuring devicetree for a new board, adding new nodes and tweaking values, I often run into a un-bootable system.

What I would like is that there is a bit more information of what goes wrong.

Like now it just quits booting if some node in the references some unitialized hardware. like if vrefbuf perihperal is not activated, and I reference a voltage from there *Crash*.

Is there any ways to make the workflow more tolerable?

    This topic has been closed for replies.
    Best answer by Olivier GALLIEN

    Hi @JOhn​ ,

    I guess that following article may give you some hints about proper way to proceed for bring-up :

    How to bring up STM32MP1

    FAQ : STM32MP1 - How to create a device tree adapted to your design with STM32CubeMx?

    Most important advise : generate DTS with CubeMX for the ST board that is closest to your design ( EV1 or DK2) and take it as reference for USER SECTION in DTS.

    Hope it help

    Olivier

    1 reply

    Technical Moderator
    September 20, 2022

    Hi @JOhn​ ,

    I guess that following article may give you some hints about proper way to proceed for bring-up :

    How to bring up STM32MP1

    FAQ : STM32MP1 - How to create a device tree adapted to your design with STM32CubeMx?

    Most important advise : generate DTS with CubeMX for the ST board that is closest to your design ( EV1 or DK2) and take it as reference for USER SECTION in DTS.

    Hope it help

    Olivier