Skip to content

board: stm32mp2: fix fwu_mdata node updating#5

Open
passgat wants to merge 7 commits intoSTMicroelectronics:v2023.10-stm32mpfrom
passgat:fix-fwu_mdata-node-updating
Open

board: stm32mp2: fix fwu_mdata node updating#5
passgat wants to merge 7 commits intoSTMicroelectronics:v2023.10-stm32mpfrom
passgat:fix-fwu_mdata-node-updating

Conversation

@passgat
Copy link

@passgat passgat commented Jan 4, 2026

Comparing the SD card boot with the eMMC one, the DTS differs as follows:

  •   fwu-mdata-store = <0x00000085>;
    
  •   fwu-mdata-store = "/soc@0/bus@42080000/mmc@48230000";
    

In both cases, the U-Boot DTS loaded by tf-a-stm32mp at address 0x84400000 was obtained with the following commands:

STM32MP> fdt addr 0x84400000
Working FDT set to 84400000
STM32MP> fdt print

As shown in the diff, the working case (SD card) uses a numeric value, i.e. the phandle of the sdmmc1 node, while the eMMC case uses a path. This patch updates the fwu-mdata-store property to use the phandle instead of the path.

Please do not submit a Pull Request via github. Our project makes use of
mailing lists for patch submission and review. For more details please
see https://u-boot.readthedocs.io/en/latest/develop/sending_patches.html

The only exception to this is in order to trigger a CI loop on Azure prior
to posting of patches.

Patrice Chotard and others added 7 commits May 21, 2025 09:44
Synchronize DT with kernel v6.6-stm32mp-r2-rc6-preint5

Signed-off-by: Patrice Chotard <[email protected]>
Change-Id: I2c8ee8eaf1bd6094447a5f03b6e607155002c6a6
When this property is set, internal RCC clock is used for the RGMII
125MHz clock selection.

Signed-off-by: Gatien Chevallier <[email protected]>
Change-Id: Ibb48a3403696f17c1331ab4c119e78aa07b1ceb1
Reviewed-on: https://gerrit.st.com/c/mpu/oe/st/u-boot/+/460024
Reviewed-by: Christophe ROULLIER <[email protected]>
ACI: CIBUILD <[email protected]>
Reviewed-by: Gatien CHEVALLIER <[email protected]>
ACI: CITOOLS <[email protected]>
Tested-by: Gatien CHEVALLIER <[email protected]>
Reviewed-by: Patrice CHOTARD <[email protected]>
Tested-by: Christophe ROULLIER <[email protected]>
Domain-Review: Christophe ROULLIER <[email protected]>
Some configs were missing in the stm32mp23_defconfig, preventing the
platform to boot on M33TDCID flavor, mainly due to the missing mailbox
configs.

Change-Id: Ia82e839078bb1a04643085fc30f9bd5a738c7df2
Signed-off-by: Yann Gautier <[email protected]>
Reviewed-on: https://gerrit.st.com/c/mpu/oe/st/u-boot/+/462648
ACI: CIBUILD <[email protected]>
ACI: CITOOLS <[email protected]>
Domain-Review: Patrice CHOTARD <[email protected]>
Reviewed-by: Patrice CHOTARD <[email protected]>
Add the BOOT alias1 section for internal memories for STM32MP23.

Change-Id: I75f4545b5ea56fa3a8b7ca39fa0c4f98b97ba28c
Signed-off-by: Yann Gautier <[email protected]>
Reviewed-on: https://gerrit.st.com/c/mpu/oe/st/u-boot/+/462649
Reviewed-by: Patrice CHOTARD <[email protected]>
ACI: CIBUILD <[email protected]>
Domain-Review: Patrice CHOTARD <[email protected]>
Add the display of STM32MP23 SoC revision Y or X.

Change-Id: I0c6985bac72a13a9024c4de9bcb11ec4bf391c5f
Signed-off-by: Yann Gautier <[email protected]>
Reviewed-on: https://gerrit.st.com/c/mpu/oe/st/u-boot/+/462914
ACI: CITOOLS <[email protected]>
Reviewed-by: Patrice CHOTARD <[email protected]>
Domain-Review: Patrice CHOTARD <[email protected]>
ACI: CIBUILD <[email protected]>
Update version in Makefile to prepare the label v2023.10-stm32mp-r2
for OpenSTLinux V6.1.0

Signed-off-by: Patrice Chotard <[email protected]>
Change-Id: I475ea11aee2b76580a415bd703f09af0d52767e3
Comparing the SD card boot with the eMMC one, the DTS differs as follows:

-       fwu-mdata-store = <0x00000085>;
+       fwu-mdata-store = "/soc@0/bus@42080000/mmc@48230000";

In both cases, the U-Boot DTS loaded by tf-a-stm32mp at address 0x84400000
was obtained with the following commands:

STM32MP> fdt addr 0x84400000
Working FDT set to 84400000
STM32MP> fdt print

As shown in the diff, the working case (SD card) uses a numeric value,
i.e. the phandle of the sdmmc1 node, while the eMMC case uses a path.
This patch updates the fwu-mdata-store property to use the phandle
instead of the path.

Signed-off-by: Dario Binacchi <[email protected]>
@pchotard
Copy link
Collaborator

pchotard commented Feb 4, 2026

Hi Dario,

Your issue has been entered in our internal bug database. It will be part of our next release v6.2.1 which will be released in june.

Thanks for your patch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants