Skip to contentSkip to conversation

ARM: stm32: Fix OF_LIST on DHCOR

PATCH In review Tom Rini 4 participants 7 messages May 5, 2023 – Jul 11, 2023

Subsystems (2)
lore
Share & tools
lore

Tom Rini

author
#0 lore raw

PATCH 1/1 ARM: stm32: Fix OF_LIST on DHCOR

The ITS file used to build the images here lists three dtb files as being used. Today, these are built by the logic that will over-build dtb files based on SOC/etc symbols being set. To future proof this platform and be generally correct, we list all 3 of the device trees used here in OF_LIST.

Cc Marek Vasut <[email protected]>
Cc Patrick Delaunay <[email protected]>
Cc Patrice Chotard <[email protected]>
---
 configs/stm32mp15_dhcor_basic_defconfig | 1 +
 1 file changed, 1 insertion(+)
configs/stm32mp15_dhcor_basic_defconfig +1 -0
index b54ff9301461..d4786500271a 100644
@@ -92,6 +92,7 @@ CONFIG_MTDPARTS_DEFAULT="mtdparts=nor0:256k(fsbl1),256k(fsbl2),1408k(uboot),64k(
 # CONFIG_ISO_PARTITION is not set
 # CONFIG_SPL_PARTITION_UUIDS is not set
 CONFIG_OF_LIVE=y
+CONFIG_OF_LIST="stm32mp15xx-dhcor-avenger96 stm32mp15xx-dhcor-testbench stm32mp15xx-dhcor-drc-compact"
 CONFIG_OF_SPL_REMOVE_PROPS="interrupts interrupt-names interrupts-extended interrupt-controller \\\#interrupt-cells interrupt-parent dmas dma-names assigned-clocks assigned-clock-rates assigned-clock-parents hwlocks"
 CONFIG_ENV_IS_IN_SPI_FLASH=y
 CONFIG_SYS_REDUNDAND_ENVIRONMENT=y
Signature · 1 line
2.34.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 9 lines · Tom Rini

The ITS file used to build the images here lists three dtb files as being used. Today, these are built by the logic that will over-build dtb files based on SOC/etc symbols being set. To future proof this platform and be generally correct, we list all 3 of the device trees used here in OF_LIST.

Cc Marek Vasut <[email protected]>
Cc Patrick Delaunay <[email protected]>
Cc Patrice Chotard <[email protected]>

This ^ should be ...

Quoted 2 lines

---

... here , followed by one more line of ---

Quoted 8 lines
  configs/stm32mp15_dhcor_basic_defconfig | 1 +
  1 file changed, 1 insertion(+)
configs/stm32mp15_dhcor_basic_defconfig +0 -0
index b54ff9301461..d4786500271a 100644

configs/stm32mp15_dhcor_basic_defconfig CONFIG_MTDPARTS_DEFAULT="mtdparts=nor0:256k(fsbl1),256k(fsbl2),1408k(uboot),64k( · line 98

Quoted 7 lines
configs/stm32mp15_dhcor_basic_defconfig +1 -0
@@ -92,6 +92,7 @@ CONFIG_MTDPARTS_DEFAULT="mtdparts=nor0:256k(fsbl1),256k(fsbl2),1408k(uboot),64k(
  # CONFIG_ISO_PARTITION is not set
  # CONFIG_SPL_PARTITION_UUIDS is not set
  CONFIG_OF_LIVE=y
+CONFIG_OF_LIST="stm32mp15xx-dhcor-avenger96 stm32mp15xx-dhcor-testbench stm32mp15xx-dhcor-drc-compact"
  CONFIG_OF_SPL_REMOVE_PROPS="interrupts interrupt-names interrupts-extended interrupt-controller \\\#interrupt-cells interrupt-parent dmas dma-names assigned-clocks assigned-clock-rates assigned-clock-parents hwlocks"
  CONFIG_ENV_IS_IN_SPI_FLASH=y
  CONFIG_SYS_REDUNDAND_ENVIRONMENT=y
Reviewed-by on v1 1/1
#2 lore raw
In reply to Tom Rini

Hi,

Quoted 19 lines · Tom Rini

The ITS file used to build the images here lists three dtb files as being used. Today, these are built by the logic that will over-build dtb files based on SOC/etc symbols being set. To future proof this platform and be generally correct, we list all 3 of the device trees used here in OF_LIST.

Cc Marek Vasut <[email protected]>
Cc Patrick Delaunay <[email protected]>
Cc Patrice Chotard <[email protected]>
---
  configs/stm32mp15_dhcor_basic_defconfig | 1 +
  1 file changed, 1 insertion(+)
configs/stm32mp15_dhcor_basic_defconfig +0 -0
index b54ff9301461..d4786500271a 100644

configs/stm32mp15_dhcor_basic_defconfig CONFIG_MTDPARTS_DEFAULT="mtdparts=nor0:256k(fsbl1),256k(fsbl2),1408k(uboot),64k( · line 98

Quoted 7 lines
configs/stm32mp15_dhcor_basic_defconfig +1 -0
@@ -92,6 +92,7 @@ CONFIG_MTDPARTS_DEFAULT="mtdparts=nor0:256k(fsbl1),256k(fsbl2),1408k(uboot),64k(
  # CONFIG_ISO_PARTITION is not set
  # CONFIG_SPL_PARTITION_UUIDS is not set
  CONFIG_OF_LIVE=y
+CONFIG_OF_LIST="stm32mp15xx-dhcor-avenger96 stm32mp15xx-dhcor-testbench stm32mp15xx-dhcor-drc-compact"
  CONFIG_OF_SPL_REMOVE_PROPS="interrupts interrupt-names interrupts-extended interrupt-controller \\\#interrupt-cells interrupt-parent dmas dma-names assigned-clocks assigned-clock-rates assigned-clock-parents hwlocks"
  CONFIG_ENV_IS_IN_SPI_FLASH=y
  CONFIG_SYS_REDUNDAND_ENVIRONMENT=y

Thanks
Patrick

#3 lore raw
Quoted 33 lines · Patrick DELAUNAY

Hi,

Quoted 21 lines · Tom Rini

The ITS file used to build the images here lists three dtb files as being used. Today, these are built by the logic that will over-build dtb files based on SOC/etc symbols being set. To future proof this platform and be generally correct, we list all 3 of the device trees used here in OF_LIST.

Cc Marek Vasut <[email protected]>
Cc Patrick Delaunay <[email protected]>
Cc Patrice Chotard <[email protected]>

---
  configs/stm32mp15_dhcor_basic_defconfig | 1 +

  1 file changed, 1 insertion(+)
configs/stm32mp15_dhcor_basic_defconfig +0 -0
index b54ff9301461..d4786500271a 100644
@@ -92,6 +92,7 @@ CONFIG_MTDPARTS_DEFAULT="mtdparts=nor0:256k(fsbl1),256k(fsbl2),1408k(uboot),64k(
   # CONFIG_ISO_PARTITION is not set
   # CONFIG_SPL_PARTITION_UUIDS is not set
Quoted 5 lines

  CONFIG_OF_LIVE=y
+CONFIG_OF_LIST="stm32mp15xx-dhcor-avenger96 stm32mp15xx-dhcor-testbench stm32mp15xx-dhcor-drc-compact"
  CONFIG_OF_SPL_REMOVE_PROPS="interrupts interrupt-names interrupts-extended interrupt-controller \\\#interrupt-cells interrupt-parent dmas dma-names assigned-clocks assigned-clock-rates assigned-clock-parents hwlocks" CONFIG_ENV_IS_IN_SPI_FLASH=y
  CONFIG_SYS_REDUNDAND_ENVIRONMENT=y

Quoted 3 lines

Thanks
Patrick

Applied to u-boot-stm/next

Thanks
Patrice

#4 lore raw
Quoted 36 lines · Patrice CHOTARD
Quoted 33 lines · Patrick DELAUNAY

Hi,

Quoted 19 lines · Tom Rini

The ITS file used to build the images here lists three dtb files as being used. Today, these are built by the logic that will over-build dtb files based on SOC/etc symbols being set. To future proof this platform and be generally correct, we list all 3 of the device trees used here in OF_LIST.

Cc Marek Vasut <[email protected]>
Cc Patrick Delaunay <[email protected]>
Cc Patrice Chotard <[email protected]>
---
   configs/stm32mp15_dhcor_basic_defconfig | 1 +
   1 file changed, 1 insertion(+)
configs/stm32mp15_dhcor_basic_defconfig +0 -0
index b54ff9301461..d4786500271a 100644

configs/stm32mp15_dhcor_basic_defconfig CONFIG_MTDPARTS_DEFAULT="mtdparts=nor0:256k(fsbl1),256k(fsbl2),1408k(uboot),64k( · line 98

Quoted 7 lines
configs/stm32mp15_dhcor_basic_defconfig +1 -0
@@ -92,6 +92,7 @@ CONFIG_MTDPARTS_DEFAULT="mtdparts=nor0:256k(fsbl1),256k(fsbl2),1408k(uboot),64k(
   # CONFIG_ISO_PARTITION is not set
   # CONFIG_SPL_PARTITION_UUIDS is not set
   CONFIG_OF_LIVE=y
+CONFIG_OF_LIST="stm32mp15xx-dhcor-avenger96 stm32mp15xx-dhcor-testbench stm32mp15xx-dhcor-drc-compact"
   CONFIG_OF_SPL_REMOVE_PROPS="interrupts interrupt-names interrupts-extended interrupt-controller \\\#interrupt-cells interrupt-parent dmas dma-names assigned-clocks assigned-clock-rates assigned-clock-parents hwlocks"
   CONFIG_ENV_IS_IN_SPI_FLASH=y
   CONFIG_SYS_REDUNDAND_ENVIRONMENT=y
Quoted 5 lines
Quoted 3 lines

Thanks
Patrick

Applied to u-boot-stm/next

Since this is a bugfix, should be for current.

#5 lore raw
Quoted 39 lines · Marek Vasut
Quoted 38 lines · Patrice CHOTARD
Quoted 35 lines · Patrick DELAUNAY

Hi,

Quoted 20 lines · Tom Rini

The ITS file used to build the images here lists three dtb files as being used. Today, these are built by the logic that will over-build dtb files based on SOC/etc symbols being set. To future proof this platform and be generally correct, we list all 3 of the device trees used here in OF_LIST.

Cc Marek Vasut <[email protected]>
Cc Patrick Delaunay <[email protected]>
Cc Patrice Chotard <[email protected]>

---
   configs/stm32mp15_dhcor_basic_defconfig | 1 +

   1 file changed, 1 insertion(+)
configs/stm32mp15_dhcor_basic_defconfig +0 -0
index b54ff9301461..d4786500271a 100644
@@ -92,6 +92,7 @@ 

CONFIG_MTDPARTS_DEFAULT="mtdparts=nor0:256k(fsbl1),256k(fsbl2),1408k(uboot),64k(

Quoted 8 lines

   # CONFIG_ISO_PARTITION is not set
   # CONFIG_SPL_PARTITION_UUIDS is not set
   CONFIG_OF_LIVE=y
+CONFIG_OF_LIST="stm32mp15xx-dhcor-avenger96
stm32mp15xx-dhcor-testbench stm32mp15xx-dhcor-drc-compact"
   CONFIG_OF_SPL_REMOVE_PROPS="interrupts interrupt-names interrupts-extended interrupt-controller \\\#interrupt-cells interrupt-parent dmas dma-names assigned-clocks assigned-clock-rates assigned-clock-parents hwlocks" CONFIG_ENV_IS_IN_SPI_FLASH=y
   CONFIG_SYS_REDUNDAND_ENVIRONMENT=y

Quoted 7 lines
Quoted 5 lines
Quoted 3 lines

Thanks
Patrick

Applied to u-boot-stm/next

Since this is a bugfix, should be for current.

I do not see this bugfix in u-boot 2023.07 release, even though ST has been notified this is a bugfix for that release a month before the release. Why ?

#6 lore raw

Hi,

Quoted 44 lines · Marek Vasut
Quoted 43 lines · Marek Vasut
Quoted 42 lines · Patrice CHOTARD
Quoted 38 lines · Patrick DELAUNAY

Hi,

Quoted 20 lines · Tom Rini

The ITS file used to build the images here lists three dtb files as being used. Today, these are built by the logic that will over-build dtb files based on SOC/etc symbols being set. To future proof this platform and be generally correct, we list all 3 of the device trees used here in OF_LIST.

Cc Marek Vasut <[email protected]>
Cc Patrick Delaunay <[email protected]>
Cc Patrice Chotard <[email protected]>

---
   configs/stm32mp15_dhcor_basic_defconfig | 1 +

   1 file changed, 1 insertion(+)
configs/stm32mp15_dhcor_basic_defconfig +0 -0
index b54ff9301461..d4786500271a 100644
@@ -92,6 +92,7 @@ 

CONFIG_MTDPARTS_DEFAULT="mtdparts=nor0:256k(fsbl1),256k(fsbl2),1408k(uboot),64k(

Quoted 8 lines

   # CONFIG_ISO_PARTITION is not set
   # CONFIG_SPL_PARTITION_UUIDS is not set
   CONFIG_OF_LIVE=y
+CONFIG_OF_LIST="stm32mp15xx-dhcor-avenger96
stm32mp15xx-dhcor-testbench stm32mp15xx-dhcor-drc-compact"
   CONFIG_OF_SPL_REMOVE_PROPS="interrupts interrupt-names interrupts-extended interrupt-controller \\\#interrupt-cells interrupt-parent dmas dma-names assigned-clocks assigned-clock-rates assigned-clock-parents hwlocks" CONFIG_ENV_IS_IN_SPI_FLASH=y
   CONFIG_SYS_REDUNDAND_ENVIRONMENT=y

Thanks
Patrick

Quoted 5 lines
Quoted 3 lines
Quoted 1 line

Applied to u-boot-stm/next

Since this is a bugfix, should be for current.

I do not see this bugfix in u-boot 2023.07 release, even though ST has been notified this is a bugfix for that release a month before the release. Why ?

Sorry, it is is a mistake.

Patrice miss your previous message

and we don't sent a new pull request for v2023.07 bugfix.

Patrick