DistroKit Mailinglist
 help / color / mirror / Atom feed
* [DistroKit] [PATCH 0/3] v7a: barebox: Support FIT images
@ 2024-02-15 15:05 Alexander Dahl
  2024-02-15 15:05 ` [DistroKit] [PATCH 1/3] platform: v7a: barebox: Upgrade from 2023.12.0 to 2024.01.0 Alexander Dahl
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Alexander Dahl @ 2024-02-15 15:05 UTC (permalink / raw)
  To: distrokit

Hei hei,

while working on a BSP using DistroKit as a base layer I try to support
boards supported by DistroKit already plus some more boards where the
necessary things are in my upper layer.  One task is to use a FIT image
for kernel and dts usable with both U-Boot and barebox.  This is
possible with this series and some tweaks which hit ptxdist master
lately.

One nasty problem is bootstate.dtsi referenced in barebox config option
CONFIG_EXTERNAL_DTS_FRAGMENTS as
'${PTXDIST_PLATFORMCONFIGDIR}/dts/bootstate.dtsi' currently.  When using
DistroKit as a base layer that file can not be found.  I experimented
with '$(call ptx/in-platformconfigdir, …' as adviced in docs, but that's
probably not meant for Kconfig?  Build runs successfully, but no
bootstate.dtsi is included at all then, leading to barebox not booting
anything because it can not find its state.

The only solution I could come up with is to use a symbolic link with a
relative path in the upper layer to bootstate.dtsi in the base layer,
but I don't consider that elegant.  And it would have to be done in each
layer stacked on top for everyone using DistroKit as a base layer.
If anyone can propose a better solution for that, please advice!

Otherwise I think all three patches are useful for themselves.  I could
not test on other platforms however so the two patches touching barebox
might be somewhat incomplete?

Greets
Alex

Alexander Dahl (3):
  platform: v7a: barebox: Upgrade from 2023.12.0 to 2024.01.0
  blspec-entry: Backport fix from ptxdist master
  platform: v7a: barebox: Enable FIT image support

 .../platform-v7a/barebox-am335x-mlo.config    | 10 ++++++++-
 configs/platform-v7a/barebox-am335x.config    | 19 ++++++++++++++---
 .../platform-v7a/barebox-am335x.config.diff   |  3 +--
 configs/platform-v7a/barebox-at91.config      | 19 ++++++++++++++---
 configs/platform-v7a/barebox-at91.config.diff |  3 +--
 configs/platform-v7a/barebox-mx6.config       | 20 +++++++++++++++---
 configs/platform-v7a/barebox-mx6.config.diff  |  4 ++--
 configs/platform-v7a/barebox-rpi2.config      | 20 ++++++++++++++----
 configs/platform-v7a/barebox-rpi2.config.diff |  2 +-
 configs/platform-v7a/barebox-stm32mp.config   | 21 +++++++++++++++----
 .../platform-v7a/barebox-stm32mp.config.diff  |  3 ++-
 configs/platform-v7a/barebox-vexpress.config  | 19 ++++++++++++++---
 .../platform-v7a/barebox-vexpress.config.diff |  3 +--
 configs/platform-v7a/barebox.config           | 20 ++++++++++++++----
 configs/platform-v7a/platformconfig           |  4 ++--
 rules/blspec-entry.make                       |  2 +-
 16 files changed, 134 insertions(+), 38 deletions(-)


base-commit: bc056fb67ed54f8f3fde6798ebbd07101309535f
-- 
2.39.2




^ permalink raw reply	[flat|nested] 7+ messages in thread

* [DistroKit] [PATCH 1/3] platform: v7a: barebox: Upgrade from 2023.12.0 to 2024.01.0
  2024-02-15 15:05 [DistroKit] [PATCH 0/3] v7a: barebox: Support FIT images Alexander Dahl
@ 2024-02-15 15:05 ` Alexander Dahl
  2024-02-19 12:30   ` Roland Hieber
  2024-02-15 15:05 ` [DistroKit] [PATCH 2/3] blspec-entry: Backport fix from ptxdist master Alexander Dahl
  2024-02-15 15:05 ` [DistroKit] [PATCH 3/3] platform: v7a: barebox: Enable FIT image support Alexander Dahl
  2 siblings, 1 reply; 7+ messages in thread
From: Alexander Dahl @ 2024-02-15 15:05 UTC (permalink / raw)
  To: distrokit

The latest and greatest.  Has the nice support for 'noload' sub-images
in FIT images conforming for spec.

Signed-off-by: Alexander Dahl <ada@thorsis.com>
---
 configs/platform-v7a/barebox-am335x-mlo.config    | 10 +++++++++-
 configs/platform-v7a/barebox-am335x.config        | 11 ++++++++++-
 configs/platform-v7a/barebox-am335x.config.diff   |  3 +--
 configs/platform-v7a/barebox-at91.config          | 11 ++++++++++-
 configs/platform-v7a/barebox-at91.config.diff     |  3 +--
 configs/platform-v7a/barebox-mx6.config           | 12 +++++++++++-
 configs/platform-v7a/barebox-mx6.config.diff      |  4 ++--
 configs/platform-v7a/barebox-rpi2.config          | 12 ++++++++++--
 configs/platform-v7a/barebox-rpi2.config.diff     |  2 +-
 configs/platform-v7a/barebox-stm32mp.config       | 13 +++++++++++--
 configs/platform-v7a/barebox-stm32mp.config.diff  |  3 ++-
 configs/platform-v7a/barebox-vexpress.config      | 11 ++++++++++-
 configs/platform-v7a/barebox-vexpress.config.diff |  3 +--
 configs/platform-v7a/barebox.config               | 12 ++++++++++--
 configs/platform-v7a/platformconfig               |  4 ++--
 15 files changed, 91 insertions(+), 23 deletions(-)

diff --git a/configs/platform-v7a/barebox-am335x-mlo.config b/configs/platform-v7a/barebox-am335x-mlo.config
index b652d28..12707b7 100644
--- a/configs/platform-v7a/barebox-am335x-mlo.config
+++ b/configs/platform-v7a/barebox-am335x-mlo.config
@@ -1,6 +1,6 @@
 #
 # Automatically generated file; DO NOT EDIT.
-# Barebox/arm 2023.12.0 Configuration
+# Barebox/arm 2024.01.0 Configuration
 #
 CONFIG_ARM=y
 CONFIG_ARM_USE_COMPRESSED_DTB=y
@@ -188,6 +188,7 @@ CONFIG_DEFAULT_LOGLEVEL=7
 CONFIG_DEBUG_OMAP_UART_PORT=1
 # CONFIG_DEBUG_INITCALLS is not set
 # CONFIG_DEBUG_PROBES is not set
+# CONFIG_DMA_API_DEBUG is not set
 # CONFIG_PBL_BREAK is not set
 # CONFIG_PRINTF_FULL is not set
 # CONFIG_UBSAN is not set
@@ -412,6 +413,12 @@ CONFIG_TI_SYSC=y
 #
 # CONFIG_FIRMWARE_ALTERA_SERIAL is not set
 # CONFIG_QEMU_FW_CFG is not set
+
+#
+# ARM System Control and Management Interface Protocol
+#
+# CONFIG_ARM_SCMI_PROTOCOL is not set
+# end of ARM System Control and Management Interface Protocol
 # end of Firmware Drivers
 
 #
@@ -458,6 +465,7 @@ CONFIG_TI_SYSC=y
 # CONFIG_POWER_RESET_GPIO_RESTART is not set
 # CONFIG_VIRTIO_MENU is not set
 # CONFIG_MAILBOX is not set
+# CONFIG_TEE is not set
 # end of Drivers
 
 #
diff --git a/configs/platform-v7a/barebox-am335x.config b/configs/platform-v7a/barebox-am335x.config
index 54453ae..fbcdc25 100644
--- a/configs/platform-v7a/barebox-am335x.config
+++ b/configs/platform-v7a/barebox-am335x.config
@@ -1,6 +1,6 @@
 #
 # Automatically generated file; DO NOT EDIT.
-# Barebox/arm 2023.12.0 Configuration
+# Barebox/arm 2024.01.0 Configuration
 #
 CONFIG_ARM=y
 CONFIG_ARM_LINUX=y
@@ -244,6 +244,7 @@ CONFIG_DEFAULT_LOGLEVEL=6
 CONFIG_DEBUG_OMAP_UART_PORT=1
 # CONFIG_DEBUG_INITCALLS is not set
 # CONFIG_DEBUG_PROBES is not set
+# CONFIG_DMA_API_DEBUG is not set
 # CONFIG_PBL_BREAK is not set
 # CONFIG_PRINTF_FULL is not set
 # CONFIG_UBSAN is not set
@@ -529,6 +530,7 @@ CONFIG_DRIVER_NET_CPSW=y
 # CONFIG_DAVICOM_PHY is not set
 # CONFIG_DP83867_PHY is not set
 # CONFIG_DP83TD510_PHY is not set
+# CONFIG_DP83TG720_PHY is not set
 # CONFIG_LXT_PHY is not set
 # CONFIG_MARVELL_PHY is not set
 # CONFIG_MICREL_PHY is not set
@@ -819,6 +821,12 @@ CONFIG_REGULATOR_FIXED=y
 #
 # CONFIG_FIRMWARE_ALTERA_SERIAL is not set
 # CONFIG_QEMU_FW_CFG is not set
+
+#
+# ARM System Control and Management Interface Protocol
+#
+# CONFIG_ARM_SCMI_PROTOCOL is not set
+# end of ARM System Control and Management Interface Protocol
 # end of Firmware Drivers
 
 #
@@ -866,6 +874,7 @@ CONFIG_REGULATOR_FIXED=y
 # CONFIG_POWER_RESET_GPIO_RESTART is not set
 # CONFIG_VIRTIO_MENU is not set
 # CONFIG_MAILBOX is not set
+# CONFIG_TEE is not set
 # end of Drivers
 
 #
diff --git a/configs/platform-v7a/barebox-am335x.config.diff b/configs/platform-v7a/barebox-am335x.config.diff
index 7354b58..c0c929c 100644
--- a/configs/platform-v7a/barebox-am335x.config.diff
+++ b/configs/platform-v7a/barebox-am335x.config.diff
@@ -1,4 +1,4 @@
-53d21fb44946357f79471694e33102cc
+60c98fdd624cc491e6ab694be209074e
 # CONFIG_AM33XX_NET_BOOT is not set
 CONFIG_ARCH_AM33XX=y
 # CONFIG_ARCH_BCM283X is not set
@@ -8,7 +8,6 @@ CONFIG_ARCH_OMAP_MULTI=y
 CONFIG_ARM_ASM_UNIFIED=y
 CONFIG_ARM_BOARD_APPEND_ATAG=y
 # CONFIG_ARM_BOARD_PREPEND_ATAG is not set
-# CONFIG_ARM_SCMI_PROTOCOL is undefined
 # CONFIG_ARM_SECURE_MONITOR is undefined
 # CONFIG_ARM_SMCCC is undefined
 # CONFIG_BAREBOX_UPDATE_AM33XX_EMMC is not set
diff --git a/configs/platform-v7a/barebox-at91.config b/configs/platform-v7a/barebox-at91.config
index eac5266..a8bef53 100644
--- a/configs/platform-v7a/barebox-at91.config
+++ b/configs/platform-v7a/barebox-at91.config
@@ -1,6 +1,6 @@
 #
 # Automatically generated file; DO NOT EDIT.
-# Barebox/arm 2023.12.0 Configuration
+# Barebox/arm 2024.01.0 Configuration
 #
 CONFIG_ARM=y
 CONFIG_ARM_LINUX=y
@@ -254,6 +254,7 @@ CONFIG_DEBUG_AT91_UART_BASE=0xfc069000
 # CONFIG_DEBUG_INITCALLS is not set
 # CONFIG_DEBUG_PBL is not set
 # CONFIG_DEBUG_PROBES is not set
+# CONFIG_DMA_API_DEBUG is not set
 # CONFIG_PBL_BREAK is not set
 # CONFIG_PRINTF_FULL is not set
 # CONFIG_UBSAN is not set
@@ -542,6 +543,7 @@ CONFIG_DRIVER_NET_MICREL=y
 # CONFIG_DAVICOM_PHY is not set
 # CONFIG_DP83867_PHY is not set
 # CONFIG_DP83TD510_PHY is not set
+# CONFIG_DP83TG720_PHY is not set
 # CONFIG_LXT_PHY is not set
 # CONFIG_MARVELL_PHY is not set
 # CONFIG_MICREL_PHY is not set
@@ -824,6 +826,12 @@ CONFIG_REGULATOR_FIXED=y
 #
 # CONFIG_FIRMWARE_ALTERA_SERIAL is not set
 # CONFIG_QEMU_FW_CFG is not set
+
+#
+# ARM System Control and Management Interface Protocol
+#
+# CONFIG_ARM_SCMI_PROTOCOL is not set
+# end of ARM System Control and Management Interface Protocol
 # end of Firmware Drivers
 
 #
@@ -873,6 +881,7 @@ CONFIG_ATMEL_EBI=y
 # CONFIG_POWER_RESET_GPIO_RESTART is not set
 # CONFIG_VIRTIO_MENU is not set
 # CONFIG_MAILBOX is not set
+# CONFIG_TEE is not set
 # end of Drivers
 
 #
diff --git a/configs/platform-v7a/barebox-at91.config.diff b/configs/platform-v7a/barebox-at91.config.diff
index b2e86af..34e71cb 100644
--- a/configs/platform-v7a/barebox-at91.config.diff
+++ b/configs/platform-v7a/barebox-at91.config.diff
@@ -1,4 +1,4 @@
-53d21fb44946357f79471694e33102cc
+60c98fdd624cc491e6ab694be209074e
 CONFIG_ARCH_AT91=y
 # CONFIG_ARCH_BCM283X is not set
 # CONFIG_ARCH_IMX is undefined
@@ -7,7 +7,6 @@ CONFIG_ARCH_AT91=y
 # CONFIG_ARCH_ROCKCHIP is undefined
 CONFIG_ARCH_TEXT_BASE=0x23f00000
 # CONFIG_ARM_AMBA is undefined
-# CONFIG_ARM_SCMI_PROTOCOL is undefined
 # CONFIG_ARM_SECURE_MONITOR is undefined
 # CONFIG_ARM_SMCCC is undefined
 CONFIG_AT91SAM9_SMC=y
diff --git a/configs/platform-v7a/barebox-mx6.config b/configs/platform-v7a/barebox-mx6.config
index b235585..5e2d649 100644
--- a/configs/platform-v7a/barebox-mx6.config
+++ b/configs/platform-v7a/barebox-mx6.config
@@ -1,6 +1,6 @@
 #
 # Automatically generated file; DO NOT EDIT.
-# Barebox/arm 2023.12.0 Configuration
+# Barebox/arm 2024.01.0 Configuration
 #
 CONFIG_ARM=y
 CONFIG_ARM_LINUX=y
@@ -140,6 +140,7 @@ CONFIG_MACH_UDOO_NEO=y
 # CONFIG_MACH_WARP7 is not set
 # CONFIG_MACH_FREESCALE_MX7_SABRESD is not set
 # CONFIG_MACH_PHYTEC_PHYCORE_IMX7 is not set
+# CONFIG_MACH_VARISCITE_SOM_MX7 is not set
 # CONFIG_MACH_ZII_IMX7D_DEV is not set
 # CONFIG_MACH_KAMSTRUP_MX7_CONCENTRATOR is not set
 
@@ -336,6 +337,7 @@ CONFIG_DEFAULT_LOGLEVEL=6
 CONFIG_DEBUG_IMX_UART_PORT=1
 # CONFIG_DEBUG_INITCALLS is not set
 # CONFIG_DEBUG_PROBES is not set
+# CONFIG_DMA_API_DEBUG is not set
 # CONFIG_PBL_BREAK is not set
 # CONFIG_PRINTF_FULL is not set
 # CONFIG_UBSAN is not set
@@ -631,6 +633,7 @@ CONFIG_AT803X_PHY=y
 # CONFIG_DAVICOM_PHY is not set
 # CONFIG_DP83867_PHY is not set
 # CONFIG_DP83TD510_PHY is not set
+# CONFIG_DP83TG720_PHY is not set
 # CONFIG_LXT_PHY is not set
 # CONFIG_MARVELL_PHY is not set
 CONFIG_MICREL_PHY=y
@@ -985,6 +988,12 @@ CONFIG_HW_HAS_PCI=y
 #
 # CONFIG_FIRMWARE_ALTERA_SERIAL is not set
 # CONFIG_QEMU_FW_CFG is not set
+
+#
+# ARM System Control and Management Interface Protocol
+#
+# CONFIG_ARM_SCMI_PROTOCOL is not set
+# end of ARM System Control and Management Interface Protocol
 # end of Firmware Drivers
 
 #
@@ -1036,6 +1045,7 @@ CONFIG_USB_NOP_XCEIV=y
 # CONFIG_POWER_RESET_GPIO_RESTART is not set
 # CONFIG_VIRTIO_MENU is not set
 # CONFIG_MAILBOX is not set
+# CONFIG_TEE is not set
 # end of Drivers
 
 #
diff --git a/configs/platform-v7a/barebox-mx6.config.diff b/configs/platform-v7a/barebox-mx6.config.diff
index 90a8680..dd4df80 100644
--- a/configs/platform-v7a/barebox-mx6.config.diff
+++ b/configs/platform-v7a/barebox-mx6.config.diff
@@ -1,4 +1,4 @@
-53d21fb44946357f79471694e33102cc
+60c98fdd624cc491e6ab694be209074e
 # CONFIG_ARCH_BCM283X is not set
 CONFIG_ARCH_HAS_FEC_IMX=y
 CONFIG_ARCH_HAS_IMX_GPT=y
@@ -10,7 +10,6 @@ CONFIG_ARCH_IMX_IMXIMAGE=y
 # CONFIG_ARCH_IMX_USBLOADER is not set
 # CONFIG_ARCH_TEXT_BASE is undefined
 CONFIG_ARM_ASM_UNIFIED=y
-# CONFIG_ARM_SCMI_PROTOCOL is undefined
 # CONFIG_ARM_SECURE_MONITOR is undefined
 # CONFIG_ARM_SMCCC is undefined
 # CONFIG_ARM_USE_COMPRESSED_DTB is undefined
@@ -157,6 +156,7 @@ CONFIG_MACH_SABRELITE=y
 # CONFIG_MACH_UDOO is not set
 CONFIG_MACH_UDOO_NEO=y
 # CONFIG_MACH_VARISCITE_MX6 is not set
+# CONFIG_MACH_VARISCITE_SOM_MX7 is not set
 # CONFIG_MACH_VF610_TWR is not set
 # CONFIG_MACH_WARP7 is not set
 # CONFIG_MACH_WEBASTO_CCBV2 is not set
diff --git a/configs/platform-v7a/barebox-rpi2.config b/configs/platform-v7a/barebox-rpi2.config
index 252c115..43e5ba6 100644
--- a/configs/platform-v7a/barebox-rpi2.config
+++ b/configs/platform-v7a/barebox-rpi2.config
@@ -1,6 +1,6 @@
 #
 # Automatically generated file; DO NOT EDIT.
-# Barebox/arm 2023.12.0 Configuration
+# Barebox/arm 2024.01.0 Configuration
 #
 CONFIG_ARM=y
 CONFIG_ARM_LINUX=y
@@ -236,6 +236,7 @@ CONFIG_DEFAULT_LOGLEVEL=6
 # CONFIG_DEBUG_LL is not set
 # CONFIG_DEBUG_INITCALLS is not set
 # CONFIG_DEBUG_PROBES is not set
+# CONFIG_DMA_API_DEBUG is not set
 # CONFIG_PBL_BREAK is not set
 # CONFIG_PRINTF_FULL is not set
 # CONFIG_UBSAN is not set
@@ -518,6 +519,7 @@ CONFIG_DRIVER_NET_BCMGENET=y
 # CONFIG_DAVICOM_PHY is not set
 # CONFIG_DP83867_PHY is not set
 # CONFIG_DP83TD510_PHY is not set
+# CONFIG_DP83TG720_PHY is not set
 # CONFIG_LXT_PHY is not set
 # CONFIG_MARVELL_PHY is not set
 # CONFIG_MICREL_PHY is not set
@@ -797,8 +799,13 @@ CONFIG_REGULATOR_BCM283X=y
 # Firmware Drivers
 #
 # CONFIG_FIRMWARE_ALTERA_SERIAL is not set
-# CONFIG_ARM_SCMI_PROTOCOL is not set
 # CONFIG_QEMU_FW_CFG is not set
+
+#
+# ARM System Control and Management Interface Protocol
+#
+# CONFIG_ARM_SCMI_PROTOCOL is not set
+# end of ARM System Control and Management Interface Protocol
 # end of Firmware Drivers
 
 #
@@ -848,6 +855,7 @@ CONFIG_USB_NOP_XCEIV=y
 # CONFIG_POWER_RESET_GPIO_RESTART is not set
 # CONFIG_VIRTIO_MENU is not set
 # CONFIG_MAILBOX is not set
+# CONFIG_TEE is not set
 # end of Drivers
 
 #
diff --git a/configs/platform-v7a/barebox-rpi2.config.diff b/configs/platform-v7a/barebox-rpi2.config.diff
index 9961863..692f645 100644
--- a/configs/platform-v7a/barebox-rpi2.config.diff
+++ b/configs/platform-v7a/barebox-rpi2.config.diff
@@ -1,4 +1,4 @@
-53d21fb44946357f79471694e33102cc
+60c98fdd624cc491e6ab694be209074e
 CONFIG_ARM_ASM_UNIFIED=y
 # CONFIG_CMD_NVMEM is not set
 CONFIG_DRIVER_NET_BCMGENET=y
diff --git a/configs/platform-v7a/barebox-stm32mp.config b/configs/platform-v7a/barebox-stm32mp.config
index 7bbae9c..539f0a9 100644
--- a/configs/platform-v7a/barebox-stm32mp.config
+++ b/configs/platform-v7a/barebox-stm32mp.config
@@ -1,6 +1,6 @@
 #
 # Automatically generated file; DO NOT EDIT.
-# Barebox/arm 2023.12.0 Configuration
+# Barebox/arm 2024.01.0 Configuration
 #
 CONFIG_ARM=y
 CONFIG_ARM_LINUX=y
@@ -233,6 +233,7 @@ CONFIG_DEFAULT_LOGLEVEL=7
 # CONFIG_DEBUG_INITCALLS is not set
 # CONFIG_DEBUG_PBL is not set
 # CONFIG_DEBUG_PROBES is not set
+# CONFIG_DMA_API_DEBUG is not set
 # CONFIG_PBL_BREAK is not set
 # CONFIG_PRINTF_FULL is not set
 # CONFIG_UBSAN is not set
@@ -518,6 +519,7 @@ CONFIG_AT803X_PHY=y
 # CONFIG_DAVICOM_PHY is not set
 # CONFIG_DP83867_PHY is not set
 # CONFIG_DP83TD510_PHY is not set
+# CONFIG_DP83TG720_PHY is not set
 # CONFIG_LXT_PHY is not set
 # CONFIG_MARVELL_PHY is not set
 CONFIG_MICREL_PHY=y
@@ -626,6 +628,7 @@ CONFIG_HAVE_CLK=y
 CONFIG_CLKDEV_LOOKUP=y
 CONFIG_COMMON_CLK=y
 CONFIG_COMMON_CLK_OF_PROVIDER=y
+CONFIG_COMMON_CLK_STM32MP157=y
 CONFIG_COMMON_CLK_GPIO=y
 
 #
@@ -773,8 +776,13 @@ CONFIG_RESET_SIMPLE=y
 #
 # Firmware Drivers
 #
-# CONFIG_ARM_SCMI_PROTOCOL is not set
 # CONFIG_QEMU_FW_CFG is not set
+
+#
+# ARM System Control and Management Interface Protocol
+#
+# CONFIG_ARM_SCMI_PROTOCOL is not set
+# end of ARM System Control and Management Interface Protocol
 # end of Firmware Drivers
 
 #
@@ -828,6 +836,7 @@ CONFIG_STM32_FMC2_EBI=y
 CONFIG_RESET_STM32=y
 # CONFIG_VIRTIO_MENU is not set
 # CONFIG_MAILBOX is not set
+# CONFIG_TEE is not set
 # end of Drivers
 
 #
diff --git a/configs/platform-v7a/barebox-stm32mp.config.diff b/configs/platform-v7a/barebox-stm32mp.config.diff
index 1d49550..f5b6775 100644
--- a/configs/platform-v7a/barebox-stm32mp.config.diff
+++ b/configs/platform-v7a/barebox-stm32mp.config.diff
@@ -1,4 +1,4 @@
-53d21fb44946357f79471694e33102cc
+60c98fdd624cc491e6ab694be209074e
 # CONFIG_ARCH_BCM283X is not set
 CONFIG_ARCH_HAS_RESET_CONTROLLER=y
 CONFIG_ARCH_NR_GPIO=416
@@ -30,6 +30,7 @@ CONFIG_CMD_POWEROFF=y
 # CONFIG_CMD_PWM is not set
 # CONFIG_CMD_SPI is undefined
 # CONFIG_CMD_STACKSMASH is not set
+CONFIG_COMMON_CLK_STM32MP157=y
 CONFIG_COMPILE_LOGLEVEL=6
 # CONFIG_CONSOLE_ACTIVATE_FIRST is not set
 CONFIG_CONSOLE_ACTIVATE_NONE=y
diff --git a/configs/platform-v7a/barebox-vexpress.config b/configs/platform-v7a/barebox-vexpress.config
index 3b9ab3a..4fde5e0 100644
--- a/configs/platform-v7a/barebox-vexpress.config
+++ b/configs/platform-v7a/barebox-vexpress.config
@@ -1,6 +1,6 @@
 #
 # Automatically generated file; DO NOT EDIT.
-# Barebox/arm 2023.12.0 Configuration
+# Barebox/arm 2024.01.0 Configuration
 #
 CONFIG_ARM=y
 CONFIG_ARM_LINUX=y
@@ -221,6 +221,7 @@ CONFIG_DEFAULT_LOGLEVEL=6
 # CONFIG_DEBUG_INITCALLS is not set
 # CONFIG_DEBUG_PBL is not set
 # CONFIG_DEBUG_PROBES is not set
+# CONFIG_DMA_API_DEBUG is not set
 # CONFIG_PBL_BREAK is not set
 # CONFIG_PRINTF_FULL is not set
 # CONFIG_UBSAN is not set
@@ -499,6 +500,7 @@ CONFIG_DRIVER_NET_SMC911X=y
 # CONFIG_DAVICOM_PHY is not set
 # CONFIG_DP83867_PHY is not set
 # CONFIG_DP83TD510_PHY is not set
+# CONFIG_DP83TG720_PHY is not set
 # CONFIG_LXT_PHY is not set
 # CONFIG_MARVELL_PHY is not set
 # CONFIG_MICREL_PHY is not set
@@ -743,6 +745,12 @@ CONFIG_REGULATOR=y
 # Firmware Drivers
 #
 # CONFIG_QEMU_FW_CFG is not set
+
+#
+# ARM System Control and Management Interface Protocol
+#
+# CONFIG_ARM_SCMI_PROTOCOL is not set
+# end of ARM System Control and Management Interface Protocol
 # end of Firmware Drivers
 
 #
@@ -787,6 +795,7 @@ CONFIG_REGULATOR=y
 # CONFIG_POWER_RESET_SYSCON_POWEROFF is not set
 # CONFIG_VIRTIO_MENU is not set
 # CONFIG_MAILBOX is not set
+# CONFIG_TEE is not set
 # end of Drivers
 
 #
diff --git a/configs/platform-v7a/barebox-vexpress.config.diff b/configs/platform-v7a/barebox-vexpress.config.diff
index 973db9d..2d9168e 100644
--- a/configs/platform-v7a/barebox-vexpress.config.diff
+++ b/configs/platform-v7a/barebox-vexpress.config.diff
@@ -1,8 +1,7 @@
-53d21fb44946357f79471694e33102cc
+60c98fdd624cc491e6ab694be209074e
 CONFIG_AMBA_SP804=y
 # CONFIG_ARCH_BCM283X is not set
 CONFIG_ARCH_VEXPRESS=y
-# CONFIG_ARM_SCMI_PROTOCOL is undefined
 # CONFIG_ARM_SECURE_MONITOR is undefined
 # CONFIG_ARM_SMCCC is undefined
 # CONFIG_ARM_USE_COMPRESSED_DTB is undefined
diff --git a/configs/platform-v7a/barebox.config b/configs/platform-v7a/barebox.config
index 9128860..375aa9a 100644
--- a/configs/platform-v7a/barebox.config
+++ b/configs/platform-v7a/barebox.config
@@ -1,6 +1,6 @@
 #
 # Automatically generated file; DO NOT EDIT.
-# Barebox/arm 2023.12.0 Configuration
+# Barebox/arm 2024.01.0 Configuration
 #
 CONFIG_ARM=y
 CONFIG_ARM_LINUX=y
@@ -236,6 +236,7 @@ CONFIG_DEFAULT_LOGLEVEL=6
 # CONFIG_DEBUG_LL is not set
 # CONFIG_DEBUG_INITCALLS is not set
 # CONFIG_DEBUG_PROBES is not set
+# CONFIG_DMA_API_DEBUG is not set
 # CONFIG_PBL_BREAK is not set
 # CONFIG_PRINTF_FULL is not set
 # CONFIG_UBSAN is not set
@@ -517,6 +518,7 @@ CONFIG_PHYLIB=y
 # CONFIG_DAVICOM_PHY is not set
 # CONFIG_DP83867_PHY is not set
 # CONFIG_DP83TD510_PHY is not set
+# CONFIG_DP83TG720_PHY is not set
 # CONFIG_LXT_PHY is not set
 # CONFIG_MARVELL_PHY is not set
 # CONFIG_MICREL_PHY is not set
@@ -791,8 +793,13 @@ CONFIG_REGULATOR_BCM283X=y
 # Firmware Drivers
 #
 # CONFIG_FIRMWARE_ALTERA_SERIAL is not set
-# CONFIG_ARM_SCMI_PROTOCOL is not set
 # CONFIG_QEMU_FW_CFG is not set
+
+#
+# ARM System Control and Management Interface Protocol
+#
+# CONFIG_ARM_SCMI_PROTOCOL is not set
+# end of ARM System Control and Management Interface Protocol
 # end of Firmware Drivers
 
 #
@@ -839,6 +846,7 @@ CONFIG_REGULATOR_BCM283X=y
 # CONFIG_POWER_RESET_GPIO_RESTART is not set
 # CONFIG_VIRTIO_MENU is not set
 # CONFIG_MAILBOX is not set
+# CONFIG_TEE is not set
 # end of Drivers
 
 #
diff --git a/configs/platform-v7a/platformconfig b/configs/platform-v7a/platformconfig
index 45b5477..bd3463e 100644
--- a/configs/platform-v7a/platformconfig
+++ b/configs/platform-v7a/platformconfig
@@ -186,8 +186,8 @@ PTXCONF_AT91BOOTSTRAP2_MD5="ef321a80bf428bfd6cb642c96126ef6c"
 PTXCONF_AT91BOOTSTRAP2_CONFIG="at91bootstrap-wifx-l1.config"
 PTXCONF_BAREBOX_COMMON_ARCH_STRING="arm"
 PTXCONF_BAREBOX_COMMON=y
-PTXCONF_BAREBOX_COMMON_VERSION="2023.12.0"
-PTXCONF_BAREBOX_COMMON_MD5="e1513be5a2995203b75ac45043eac6d0"
+PTXCONF_BAREBOX_COMMON_VERSION="2024.01.0"
+PTXCONF_BAREBOX_COMMON_MD5="8a94bdde5eaa1362b6c752f975f9e954"
 PTXCONF_BAREBOX_COMMON_NEEDS_HOST_LZOP=y
 PTXCONF_BAREBOX_AM335X_MLO=y
 PTXCONF_BAREBOX_AM335X=y
-- 
2.39.2




^ permalink raw reply	[flat|nested] 7+ messages in thread

* [DistroKit] [PATCH 2/3] blspec-entry: Backport fix from ptxdist master
  2024-02-15 15:05 [DistroKit] [PATCH 0/3] v7a: barebox: Support FIT images Alexander Dahl
  2024-02-15 15:05 ` [DistroKit] [PATCH 1/3] platform: v7a: barebox: Upgrade from 2023.12.0 to 2024.01.0 Alexander Dahl
@ 2024-02-15 15:05 ` Alexander Dahl
  2024-02-19 12:28   ` [DistroKit] [PATCH 2/3] squash! " Roland Hieber
  2024-02-15 15:05 ` [DistroKit] [PATCH 3/3] platform: v7a: barebox: Enable FIT image support Alexander Dahl
  2 siblings, 1 reply; 7+ messages in thread
From: Alexander Dahl @ 2024-02-15 15:05 UTC (permalink / raw)
  To: distrokit

Otherwise barebox fails when trying to boot a FIT image like this:

    ERROR: could not open /mnt/mmc0.1//boot//boot/linux.fit: No such file or directory
    ERROR: blspec: Booting failed

Signed-off-by: Alexander Dahl <ada@thorsis.com>
---
 rules/blspec-entry.make | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rules/blspec-entry.make b/rules/blspec-entry.make
index 7523009..4421594 100644
--- a/rules/blspec-entry.make
+++ b/rules/blspec-entry.make
@@ -30,7 +30,7 @@ endif
 BLSPEC_ENTRY_LICENSE	= ignore
 
 ifdef PTXCONF_KERNEL_FIT
-BLSPEC_KERNEL_IMAGE	= /boot/linux.fit
+BLSPEC_KERNEL_IMAGE	= linux.fit
 else
 BLSPEC_KERNEL_IMAGE	= $(KERNEL_IMAGE)
 endif
-- 
2.39.2




^ permalink raw reply	[flat|nested] 7+ messages in thread

* [DistroKit] [PATCH 3/3] platform: v7a: barebox: Enable FIT image support
  2024-02-15 15:05 [DistroKit] [PATCH 0/3] v7a: barebox: Support FIT images Alexander Dahl
  2024-02-15 15:05 ` [DistroKit] [PATCH 1/3] platform: v7a: barebox: Upgrade from 2023.12.0 to 2024.01.0 Alexander Dahl
  2024-02-15 15:05 ` [DistroKit] [PATCH 2/3] blspec-entry: Backport fix from ptxdist master Alexander Dahl
@ 2024-02-15 15:05 ` Alexander Dahl
  2 siblings, 0 replies; 7+ messages in thread
From: Alexander Dahl @ 2024-02-15 15:05 UTC (permalink / raw)
  To: distrokit

Already enabled for v8a.  Tested on Beaglebone Black and RIoTboard.

Signed-off-by: Alexander Dahl <ada@thorsis.com>
---
 configs/platform-v7a/barebox-am335x.config        | 8 ++++++--
 configs/platform-v7a/barebox-am335x.config.diff   | 2 +-
 configs/platform-v7a/barebox-at91.config          | 8 ++++++--
 configs/platform-v7a/barebox-at91.config.diff     | 2 +-
 configs/platform-v7a/barebox-mx6.config           | 8 ++++++--
 configs/platform-v7a/barebox-mx6.config.diff      | 2 +-
 configs/platform-v7a/barebox-rpi2.config          | 8 ++++++--
 configs/platform-v7a/barebox-rpi2.config.diff     | 2 +-
 configs/platform-v7a/barebox-stm32mp.config       | 8 ++++++--
 configs/platform-v7a/barebox-stm32mp.config.diff  | 2 +-
 configs/platform-v7a/barebox-vexpress.config      | 8 ++++++--
 configs/platform-v7a/barebox-vexpress.config.diff | 2 +-
 configs/platform-v7a/barebox.config               | 8 ++++++--
 13 files changed, 48 insertions(+), 20 deletions(-)

diff --git a/configs/platform-v7a/barebox-am335x.config b/configs/platform-v7a/barebox-am335x.config
index fbcdc25..c1ed474 100644
--- a/configs/platform-v7a/barebox-am335x.config
+++ b/configs/platform-v7a/barebox-am335x.config
@@ -101,6 +101,7 @@ CONFIG_BLOCK_WRITE=y
 CONFIG_FILETYPE=y
 CONFIG_BINFMT=y
 CONFIG_UIMAGE=y
+CONFIG_FITIMAGE=y
 CONFIG_LOGBUF=y
 CONFIG_STDDEV=y
 CONFIG_MENUTREE=y
@@ -179,7 +180,8 @@ CONFIG_BOOTM_OFTREE=y
 CONFIG_BOOTM_OFTREE_UIMAGE=y
 # CONFIG_BOOTM_AIMAGE is not set
 # CONFIG_BOOTM_ELF is not set
-# CONFIG_BOOTM_FITIMAGE is not set
+CONFIG_BOOTM_FITIMAGE=y
+# CONFIG_BOOTM_FITIMAGE_SIGNATURE is not set
 CONFIG_BLSPEC=y
 CONFIG_FLEXIBLE_BOOTARGS=y
 CONFIG_MMCBLKDEV_ROOTARG=y
@@ -987,6 +989,8 @@ CONFIG_CRC32=y
 CONFIG_DIGEST=y
 CONFIG_HAVE_DIGEST_MD5=y
 CONFIG_HAVE_DIGEST_SHA1=y
+CONFIG_HAVE_DIGEST_SHA224=y
+CONFIG_HAVE_DIGEST_SHA256=y
 CONFIG_HAVE_DIGEST_HMAC=y
 # CONFIG_DIGEST_CRC32_GENERIC is not set
 CONFIG_DIGEST_MD5_GENERIC=y
@@ -997,7 +1001,7 @@ CONFIG_DIGEST_SHA1_GENERIC=y
 # CONFIG_DIGEST_SHA512_GENERIC is not set
 CONFIG_DIGEST_HMAC_GENERIC=y
 # CONFIG_DIGEST_SHA1_ARM is not set
-# CONFIG_DIGEST_SHA256_ARM is not set
+CONFIG_DIGEST_SHA256_ARM=y
 CONFIG_CRYPTO_KEYSTORE=y
 # end of Crypto support
 
diff --git a/configs/platform-v7a/barebox-am335x.config.diff b/configs/platform-v7a/barebox-am335x.config.diff
index c0c929c..08263f1 100644
--- a/configs/platform-v7a/barebox-am335x.config.diff
+++ b/configs/platform-v7a/barebox-am335x.config.diff
@@ -1,4 +1,4 @@
-60c98fdd624cc491e6ab694be209074e
+d3e92d2ec90d9be624961ebc5d6342c0
 # CONFIG_AM33XX_NET_BOOT is not set
 CONFIG_ARCH_AM33XX=y
 # CONFIG_ARCH_BCM283X is not set
diff --git a/configs/platform-v7a/barebox-at91.config b/configs/platform-v7a/barebox-at91.config
index a8bef53..e72af94 100644
--- a/configs/platform-v7a/barebox-at91.config
+++ b/configs/platform-v7a/barebox-at91.config
@@ -109,6 +109,7 @@ CONFIG_BLOCK_WRITE=y
 CONFIG_FILETYPE=y
 CONFIG_BINFMT=y
 CONFIG_UIMAGE=y
+CONFIG_FITIMAGE=y
 CONFIG_LOGBUF=y
 CONFIG_STDDEV=y
 CONFIG_MENUTREE=y
@@ -187,7 +188,8 @@ CONFIG_BOOTM_OFTREE=y
 CONFIG_BOOTM_OFTREE_UIMAGE=y
 # CONFIG_BOOTM_AIMAGE is not set
 # CONFIG_BOOTM_ELF is not set
-# CONFIG_BOOTM_FITIMAGE is not set
+CONFIG_BOOTM_FITIMAGE=y
+# CONFIG_BOOTM_FITIMAGE_SIGNATURE is not set
 CONFIG_BLSPEC=y
 CONFIG_FLEXIBLE_BOOTARGS=y
 CONFIG_MMCBLKDEV_ROOTARG=y
@@ -994,6 +996,8 @@ CONFIG_CRC32=y
 CONFIG_DIGEST=y
 CONFIG_HAVE_DIGEST_MD5=y
 CONFIG_HAVE_DIGEST_SHA1=y
+CONFIG_HAVE_DIGEST_SHA224=y
+CONFIG_HAVE_DIGEST_SHA256=y
 # CONFIG_DIGEST_CRC32_GENERIC is not set
 CONFIG_DIGEST_MD5_GENERIC=y
 CONFIG_DIGEST_SHA1_GENERIC=y
@@ -1003,7 +1007,7 @@ CONFIG_DIGEST_SHA1_GENERIC=y
 # CONFIG_DIGEST_SHA512_GENERIC is not set
 # CONFIG_DIGEST_HMAC_GENERIC is not set
 # CONFIG_DIGEST_SHA1_ARM is not set
-# CONFIG_DIGEST_SHA256_ARM is not set
+CONFIG_DIGEST_SHA256_ARM=y
 # CONFIG_CRYPTO_KEYSTORE is not set
 # end of Crypto support
 
diff --git a/configs/platform-v7a/barebox-at91.config.diff b/configs/platform-v7a/barebox-at91.config.diff
index 34e71cb..b79f60e 100644
--- a/configs/platform-v7a/barebox-at91.config.diff
+++ b/configs/platform-v7a/barebox-at91.config.diff
@@ -1,4 +1,4 @@
-60c98fdd624cc491e6ab694be209074e
+d3e92d2ec90d9be624961ebc5d6342c0
 CONFIG_ARCH_AT91=y
 # CONFIG_ARCH_BCM283X is not set
 # CONFIG_ARCH_IMX is undefined
diff --git a/configs/platform-v7a/barebox-mx6.config b/configs/platform-v7a/barebox-mx6.config
index 5e2d649..42d90a5 100644
--- a/configs/platform-v7a/barebox-mx6.config
+++ b/configs/platform-v7a/barebox-mx6.config
@@ -192,6 +192,7 @@ CONFIG_BLOCK_WRITE=y
 CONFIG_FILETYPE=y
 CONFIG_BINFMT=y
 CONFIG_UIMAGE=y
+CONFIG_FITIMAGE=y
 CONFIG_LOGBUF=y
 CONFIG_STDDEV=y
 CONFIG_MENUTREE=y
@@ -271,7 +272,8 @@ CONFIG_BOOTM_OFTREE=y
 CONFIG_BOOTM_OFTREE_UIMAGE=y
 # CONFIG_BOOTM_AIMAGE is not set
 # CONFIG_BOOTM_ELF is not set
-# CONFIG_BOOTM_FITIMAGE is not set
+CONFIG_BOOTM_FITIMAGE=y
+# CONFIG_BOOTM_FITIMAGE_SIGNATURE is not set
 CONFIG_BLSPEC=y
 CONFIG_FLEXIBLE_BOOTARGS=y
 CONFIG_MMCBLKDEV_ROOTARG=y
@@ -1174,6 +1176,8 @@ CONFIG_CRC32=y
 CONFIG_DIGEST=y
 CONFIG_HAVE_DIGEST_MD5=y
 CONFIG_HAVE_DIGEST_SHA1=y
+CONFIG_HAVE_DIGEST_SHA224=y
+CONFIG_HAVE_DIGEST_SHA256=y
 CONFIG_HAVE_DIGEST_HMAC=y
 # CONFIG_DIGEST_CRC32_GENERIC is not set
 CONFIG_DIGEST_MD5_GENERIC=y
@@ -1184,7 +1188,7 @@ CONFIG_DIGEST_SHA1_GENERIC=y
 # CONFIG_DIGEST_SHA512_GENERIC is not set
 CONFIG_DIGEST_HMAC_GENERIC=y
 # CONFIG_DIGEST_SHA1_ARM is not set
-# CONFIG_DIGEST_SHA256_ARM is not set
+CONFIG_DIGEST_SHA256_ARM=y
 CONFIG_CRYPTO_KEYSTORE=y
 # end of Crypto support
 
diff --git a/configs/platform-v7a/barebox-mx6.config.diff b/configs/platform-v7a/barebox-mx6.config.diff
index dd4df80..80ca60d 100644
--- a/configs/platform-v7a/barebox-mx6.config.diff
+++ b/configs/platform-v7a/barebox-mx6.config.diff
@@ -1,4 +1,4 @@
-60c98fdd624cc491e6ab694be209074e
+d3e92d2ec90d9be624961ebc5d6342c0
 # CONFIG_ARCH_BCM283X is not set
 CONFIG_ARCH_HAS_FEC_IMX=y
 CONFIG_ARCH_HAS_IMX_GPT=y
diff --git a/configs/platform-v7a/barebox-rpi2.config b/configs/platform-v7a/barebox-rpi2.config
index 43e5ba6..6ed3036 100644
--- a/configs/platform-v7a/barebox-rpi2.config
+++ b/configs/platform-v7a/barebox-rpi2.config
@@ -94,6 +94,7 @@ CONFIG_BLOCK_WRITE=y
 CONFIG_FILETYPE=y
 CONFIG_BINFMT=y
 CONFIG_UIMAGE=y
+CONFIG_FITIMAGE=y
 CONFIG_LOGBUF=y
 CONFIG_STDDEV=y
 CONFIG_MENUTREE=y
@@ -172,7 +173,8 @@ CONFIG_BOOTM_OFTREE=y
 # CONFIG_BOOTM_OFTREE_UIMAGE is not set
 # CONFIG_BOOTM_AIMAGE is not set
 # CONFIG_BOOTM_ELF is not set
-# CONFIG_BOOTM_FITIMAGE is not set
+CONFIG_BOOTM_FITIMAGE=y
+# CONFIG_BOOTM_FITIMAGE_SIGNATURE is not set
 CONFIG_BLSPEC=y
 CONFIG_FLEXIBLE_BOOTARGS=y
 CONFIG_MMCBLKDEV_ROOTARG=y
@@ -968,6 +970,8 @@ CONFIG_CRC32=y
 CONFIG_DIGEST=y
 CONFIG_HAVE_DIGEST_MD5=y
 CONFIG_HAVE_DIGEST_SHA1=y
+CONFIG_HAVE_DIGEST_SHA224=y
+CONFIG_HAVE_DIGEST_SHA256=y
 # CONFIG_DIGEST_CRC32_GENERIC is not set
 CONFIG_DIGEST_MD5_GENERIC=y
 CONFIG_DIGEST_SHA1_GENERIC=y
@@ -977,7 +981,7 @@ CONFIG_DIGEST_SHA1_GENERIC=y
 # CONFIG_DIGEST_SHA512_GENERIC is not set
 # CONFIG_DIGEST_HMAC_GENERIC is not set
 # CONFIG_DIGEST_SHA1_ARM is not set
-# CONFIG_DIGEST_SHA256_ARM is not set
+CONFIG_DIGEST_SHA256_ARM=y
 # CONFIG_CRYPTO_KEYSTORE is not set
 # end of Crypto support
 
diff --git a/configs/platform-v7a/barebox-rpi2.config.diff b/configs/platform-v7a/barebox-rpi2.config.diff
index 692f645..9b287d4 100644
--- a/configs/platform-v7a/barebox-rpi2.config.diff
+++ b/configs/platform-v7a/barebox-rpi2.config.diff
@@ -1,4 +1,4 @@
-60c98fdd624cc491e6ab694be209074e
+d3e92d2ec90d9be624961ebc5d6342c0
 CONFIG_ARM_ASM_UNIFIED=y
 # CONFIG_CMD_NVMEM is not set
 CONFIG_DRIVER_NET_BCMGENET=y
diff --git a/configs/platform-v7a/barebox-stm32mp.config b/configs/platform-v7a/barebox-stm32mp.config
index 539f0a9..69fd198 100644
--- a/configs/platform-v7a/barebox-stm32mp.config
+++ b/configs/platform-v7a/barebox-stm32mp.config
@@ -91,6 +91,7 @@ CONFIG_BLOCK_WRITE=y
 CONFIG_FILETYPE=y
 CONFIG_BINFMT=y
 CONFIG_UIMAGE=y
+CONFIG_FITIMAGE=y
 CONFIG_LOGBUF=y
 CONFIG_STDDEV=y
 CONFIG_MENUTREE=y
@@ -168,7 +169,8 @@ CONFIG_BOOTM_OFTREE=y
 CONFIG_BOOTM_OFTREE_UIMAGE=y
 # CONFIG_BOOTM_AIMAGE is not set
 # CONFIG_BOOTM_ELF is not set
-# CONFIG_BOOTM_FITIMAGE is not set
+CONFIG_BOOTM_FITIMAGE=y
+# CONFIG_BOOTM_FITIMAGE_SIGNATURE is not set
 CONFIG_BLSPEC=y
 CONFIG_FLEXIBLE_BOOTARGS=y
 # CONFIG_MMCBLKDEV_ROOTARG is not set
@@ -941,6 +943,8 @@ CONFIG_CRC32=y
 CONFIG_DIGEST=y
 CONFIG_HAVE_DIGEST_MD5=y
 CONFIG_HAVE_DIGEST_SHA1=y
+CONFIG_HAVE_DIGEST_SHA224=y
+CONFIG_HAVE_DIGEST_SHA256=y
 # CONFIG_DIGEST_CRC32_GENERIC is not set
 CONFIG_DIGEST_MD5_GENERIC=y
 CONFIG_DIGEST_SHA1_GENERIC=y
@@ -950,7 +954,7 @@ CONFIG_DIGEST_SHA1_GENERIC=y
 # CONFIG_DIGEST_SHA512_GENERIC is not set
 # CONFIG_DIGEST_HMAC_GENERIC is not set
 # CONFIG_DIGEST_SHA1_ARM is not set
-# CONFIG_DIGEST_SHA256_ARM is not set
+CONFIG_DIGEST_SHA256_ARM=y
 # CONFIG_CRYPTO_KEYSTORE is not set
 # end of Crypto support
 
diff --git a/configs/platform-v7a/barebox-stm32mp.config.diff b/configs/platform-v7a/barebox-stm32mp.config.diff
index f5b6775..3536924 100644
--- a/configs/platform-v7a/barebox-stm32mp.config.diff
+++ b/configs/platform-v7a/barebox-stm32mp.config.diff
@@ -1,4 +1,4 @@
-60c98fdd624cc491e6ab694be209074e
+d3e92d2ec90d9be624961ebc5d6342c0
 # CONFIG_ARCH_BCM283X is not set
 CONFIG_ARCH_HAS_RESET_CONTROLLER=y
 CONFIG_ARCH_NR_GPIO=416
diff --git a/configs/platform-v7a/barebox-vexpress.config b/configs/platform-v7a/barebox-vexpress.config
index 4fde5e0..06b9ee6 100644
--- a/configs/platform-v7a/barebox-vexpress.config
+++ b/configs/platform-v7a/barebox-vexpress.config
@@ -78,6 +78,7 @@ CONFIG_BLOCK_WRITE=y
 CONFIG_FILETYPE=y
 CONFIG_BINFMT=y
 CONFIG_UIMAGE=y
+CONFIG_FITIMAGE=y
 CONFIG_LOGBUF=y
 CONFIG_STDDEV=y
 CONFIG_MENUTREE=y
@@ -155,7 +156,8 @@ CONFIG_BOOTM_OFTREE=y
 # CONFIG_BOOTM_OFTREE_UIMAGE is not set
 # CONFIG_BOOTM_AIMAGE is not set
 # CONFIG_BOOTM_ELF is not set
-# CONFIG_BOOTM_FITIMAGE is not set
+CONFIG_BOOTM_FITIMAGE=y
+# CONFIG_BOOTM_FITIMAGE_SIGNATURE is not set
 CONFIG_BLSPEC=y
 CONFIG_FLEXIBLE_BOOTARGS=y
 CONFIG_MMCBLKDEV_ROOTARG=y
@@ -908,6 +910,8 @@ CONFIG_CRC32=y
 CONFIG_DIGEST=y
 CONFIG_HAVE_DIGEST_MD5=y
 CONFIG_HAVE_DIGEST_SHA1=y
+CONFIG_HAVE_DIGEST_SHA224=y
+CONFIG_HAVE_DIGEST_SHA256=y
 # CONFIG_DIGEST_CRC32_GENERIC is not set
 CONFIG_DIGEST_MD5_GENERIC=y
 CONFIG_DIGEST_SHA1_GENERIC=y
@@ -917,7 +921,7 @@ CONFIG_DIGEST_SHA1_GENERIC=y
 # CONFIG_DIGEST_SHA512_GENERIC is not set
 # CONFIG_DIGEST_HMAC_GENERIC is not set
 # CONFIG_DIGEST_SHA1_ARM is not set
-# CONFIG_DIGEST_SHA256_ARM is not set
+CONFIG_DIGEST_SHA256_ARM=y
 # CONFIG_CRYPTO_KEYSTORE is not set
 # end of Crypto support
 
diff --git a/configs/platform-v7a/barebox-vexpress.config.diff b/configs/platform-v7a/barebox-vexpress.config.diff
index 2d9168e..9ed9b5a 100644
--- a/configs/platform-v7a/barebox-vexpress.config.diff
+++ b/configs/platform-v7a/barebox-vexpress.config.diff
@@ -1,4 +1,4 @@
-60c98fdd624cc491e6ab694be209074e
+d3e92d2ec90d9be624961ebc5d6342c0
 CONFIG_AMBA_SP804=y
 # CONFIG_ARCH_BCM283X is not set
 CONFIG_ARCH_VEXPRESS=y
diff --git a/configs/platform-v7a/barebox.config b/configs/platform-v7a/barebox.config
index 375aa9a..a4ee3a1 100644
--- a/configs/platform-v7a/barebox.config
+++ b/configs/platform-v7a/barebox.config
@@ -93,6 +93,7 @@ CONFIG_BLOCK_WRITE=y
 CONFIG_FILETYPE=y
 CONFIG_BINFMT=y
 CONFIG_UIMAGE=y
+CONFIG_FITIMAGE=y
 CONFIG_LOGBUF=y
 CONFIG_STDDEV=y
 CONFIG_MENUTREE=y
@@ -171,7 +172,8 @@ CONFIG_BOOTM_OFTREE=y
 # CONFIG_BOOTM_OFTREE_UIMAGE is not set
 # CONFIG_BOOTM_AIMAGE is not set
 # CONFIG_BOOTM_ELF is not set
-# CONFIG_BOOTM_FITIMAGE is not set
+CONFIG_BOOTM_FITIMAGE=y
+# CONFIG_BOOTM_FITIMAGE_SIGNATURE is not set
 CONFIG_BLSPEC=y
 CONFIG_FLEXIBLE_BOOTARGS=y
 CONFIG_MMCBLKDEV_ROOTARG=y
@@ -959,6 +961,8 @@ CONFIG_CRC32=y
 CONFIG_DIGEST=y
 CONFIG_HAVE_DIGEST_MD5=y
 CONFIG_HAVE_DIGEST_SHA1=y
+CONFIG_HAVE_DIGEST_SHA224=y
+CONFIG_HAVE_DIGEST_SHA256=y
 # CONFIG_DIGEST_CRC32_GENERIC is not set
 CONFIG_DIGEST_MD5_GENERIC=y
 CONFIG_DIGEST_SHA1_GENERIC=y
@@ -968,7 +972,7 @@ CONFIG_DIGEST_SHA1_GENERIC=y
 # CONFIG_DIGEST_SHA512_GENERIC is not set
 # CONFIG_DIGEST_HMAC_GENERIC is not set
 # CONFIG_DIGEST_SHA1_ARM is not set
-# CONFIG_DIGEST_SHA256_ARM is not set
+CONFIG_DIGEST_SHA256_ARM=y
 # CONFIG_CRYPTO_KEYSTORE is not set
 # end of Crypto support
 
-- 
2.39.2




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [DistroKit] [PATCH 2/3] squash! blspec-entry: Backport fix from ptxdist master
  2024-02-15 15:05 ` [DistroKit] [PATCH 2/3] blspec-entry: Backport fix from ptxdist master Alexander Dahl
@ 2024-02-19 12:28   ` Roland Hieber
  0 siblings, 0 replies; 7+ messages in thread
From: Roland Hieber @ 2024-02-19 12:28 UTC (permalink / raw)
  To: Alexander Dahl; +Cc: distrokit

Backport PTXdist commit 0d360df876bc26f709cf (2024-02-02, Alexander
Dahl: "blspec-entry: Fix kernel entry for FIT image")

-- 
Roland Hieber, Pengutronix e.K.          | r.hieber@pengutronix.de     |
Steuerwalder Str. 21                     | https://www.pengutronix.de/ |
31137 Hildesheim, Germany                | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686         | Fax:   +49-5121-206917-5555 |



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [DistroKit] [PATCH 1/3] platform: v7a: barebox: Upgrade from 2023.12.0 to 2024.01.0
  2024-02-15 15:05 ` [DistroKit] [PATCH 1/3] platform: v7a: barebox: Upgrade from 2023.12.0 to 2024.01.0 Alexander Dahl
@ 2024-02-19 12:30   ` Roland Hieber
  2024-02-19 19:20     ` Roland Hieber
  0 siblings, 1 reply; 7+ messages in thread
From: Roland Hieber @ 2024-02-19 12:30 UTC (permalink / raw)
  To: Alexander Dahl; +Cc: distrokit

On Thu, Feb 15, 2024 at 04:05:30PM +0100, Alexander Dahl wrote:
> The latest and greatest.  Has the nice support for 'noload' sub-images
> in FIT images conforming for spec.
> 
> Signed-off-by: Alexander Dahl <ada@thorsis.com>
> ---
>  configs/platform-v7a/barebox-am335x-mlo.config    | 10 +++++++++-
>  configs/platform-v7a/barebox-am335x.config        | 11 ++++++++++-
>  configs/platform-v7a/barebox-am335x.config.diff   |  3 +--
>  configs/platform-v7a/barebox-at91.config          | 11 ++++++++++-
>  configs/platform-v7a/barebox-at91.config.diff     |  3 +--
>  configs/platform-v7a/barebox-mx6.config           | 12 +++++++++++-
>  configs/platform-v7a/barebox-mx6.config.diff      |  4 ++--
>  configs/platform-v7a/barebox-rpi2.config          | 12 ++++++++++--
>  configs/platform-v7a/barebox-rpi2.config.diff     |  2 +-

This makes barebox on rpi3b error on startup:

    mci0: registered disk0
    state: New state registered 'state'
    state state.of: Fresh state detected, continuing with defaults
    malloc space: 0x1d87f620 -> 0x3b0fec3f (size 472.5 MiB)
    WARNING: no property 'serial-number' found in vc fdt's '' node
    no '/system' node found in vc fdt
    no '/axi' node found in vc fdt
    no '/hat' node found in vc fdt
    no '/chosen/bootloader' node found in vc fdt
    WARNING: no property 'bootargs' found in vc fdt's '/chosen' node
    WARNING: no property 'overlay_prefix' found in vc fdt's '/chosen' node
    WARNING: no property 'os_prefix' found in vc fdt's '/chosen' node
    WARNING: 'pm_rsts' value not found in vc fdt
    ERROR: Won't delete root device node

I haven't look further into this yet.

 - Roland

>  configs/platform-v7a/barebox-stm32mp.config       | 13 +++++++++++--
>  configs/platform-v7a/barebox-stm32mp.config.diff  |  3 ++-
>  configs/platform-v7a/barebox-vexpress.config      | 11 ++++++++++-
>  configs/platform-v7a/barebox-vexpress.config.diff |  3 +--
>  configs/platform-v7a/barebox.config               | 12 ++++++++++--
>  configs/platform-v7a/platformconfig               |  4 ++--
>  15 files changed, 91 insertions(+), 23 deletions(-)
> 
> diff --git a/configs/platform-v7a/barebox-am335x-mlo.config b/configs/platform-v7a/barebox-am335x-mlo.config
> index b652d28..12707b7 100644
> --- a/configs/platform-v7a/barebox-am335x-mlo.config
> +++ b/configs/platform-v7a/barebox-am335x-mlo.config
> @@ -1,6 +1,6 @@
>  #
>  # Automatically generated file; DO NOT EDIT.
> -# Barebox/arm 2023.12.0 Configuration
> +# Barebox/arm 2024.01.0 Configuration
>  #
>  CONFIG_ARM=y
>  CONFIG_ARM_USE_COMPRESSED_DTB=y
> @@ -188,6 +188,7 @@ CONFIG_DEFAULT_LOGLEVEL=7
>  CONFIG_DEBUG_OMAP_UART_PORT=1
>  # CONFIG_DEBUG_INITCALLS is not set
>  # CONFIG_DEBUG_PROBES is not set
> +# CONFIG_DMA_API_DEBUG is not set
>  # CONFIG_PBL_BREAK is not set
>  # CONFIG_PRINTF_FULL is not set
>  # CONFIG_UBSAN is not set
> @@ -412,6 +413,12 @@ CONFIG_TI_SYSC=y
>  #
>  # CONFIG_FIRMWARE_ALTERA_SERIAL is not set
>  # CONFIG_QEMU_FW_CFG is not set
> +
> +#
> +# ARM System Control and Management Interface Protocol
> +#
> +# CONFIG_ARM_SCMI_PROTOCOL is not set
> +# end of ARM System Control and Management Interface Protocol
>  # end of Firmware Drivers
>  
>  #
> @@ -458,6 +465,7 @@ CONFIG_TI_SYSC=y
>  # CONFIG_POWER_RESET_GPIO_RESTART is not set
>  # CONFIG_VIRTIO_MENU is not set
>  # CONFIG_MAILBOX is not set
> +# CONFIG_TEE is not set
>  # end of Drivers
>  
>  #
> diff --git a/configs/platform-v7a/barebox-am335x.config b/configs/platform-v7a/barebox-am335x.config
> index 54453ae..fbcdc25 100644
> --- a/configs/platform-v7a/barebox-am335x.config
> +++ b/configs/platform-v7a/barebox-am335x.config
> @@ -1,6 +1,6 @@
>  #
>  # Automatically generated file; DO NOT EDIT.
> -# Barebox/arm 2023.12.0 Configuration
> +# Barebox/arm 2024.01.0 Configuration
>  #
>  CONFIG_ARM=y
>  CONFIG_ARM_LINUX=y
> @@ -244,6 +244,7 @@ CONFIG_DEFAULT_LOGLEVEL=6
>  CONFIG_DEBUG_OMAP_UART_PORT=1
>  # CONFIG_DEBUG_INITCALLS is not set
>  # CONFIG_DEBUG_PROBES is not set
> +# CONFIG_DMA_API_DEBUG is not set
>  # CONFIG_PBL_BREAK is not set
>  # CONFIG_PRINTF_FULL is not set
>  # CONFIG_UBSAN is not set
> @@ -529,6 +530,7 @@ CONFIG_DRIVER_NET_CPSW=y
>  # CONFIG_DAVICOM_PHY is not set
>  # CONFIG_DP83867_PHY is not set
>  # CONFIG_DP83TD510_PHY is not set
> +# CONFIG_DP83TG720_PHY is not set
>  # CONFIG_LXT_PHY is not set
>  # CONFIG_MARVELL_PHY is not set
>  # CONFIG_MICREL_PHY is not set
> @@ -819,6 +821,12 @@ CONFIG_REGULATOR_FIXED=y
>  #
>  # CONFIG_FIRMWARE_ALTERA_SERIAL is not set
>  # CONFIG_QEMU_FW_CFG is not set
> +
> +#
> +# ARM System Control and Management Interface Protocol
> +#
> +# CONFIG_ARM_SCMI_PROTOCOL is not set
> +# end of ARM System Control and Management Interface Protocol
>  # end of Firmware Drivers
>  
>  #
> @@ -866,6 +874,7 @@ CONFIG_REGULATOR_FIXED=y
>  # CONFIG_POWER_RESET_GPIO_RESTART is not set
>  # CONFIG_VIRTIO_MENU is not set
>  # CONFIG_MAILBOX is not set
> +# CONFIG_TEE is not set
>  # end of Drivers
>  
>  #
> diff --git a/configs/platform-v7a/barebox-am335x.config.diff b/configs/platform-v7a/barebox-am335x.config.diff
> index 7354b58..c0c929c 100644
> --- a/configs/platform-v7a/barebox-am335x.config.diff
> +++ b/configs/platform-v7a/barebox-am335x.config.diff
> @@ -1,4 +1,4 @@
> -53d21fb44946357f79471694e33102cc
> +60c98fdd624cc491e6ab694be209074e
>  # CONFIG_AM33XX_NET_BOOT is not set
>  CONFIG_ARCH_AM33XX=y
>  # CONFIG_ARCH_BCM283X is not set
> @@ -8,7 +8,6 @@ CONFIG_ARCH_OMAP_MULTI=y
>  CONFIG_ARM_ASM_UNIFIED=y
>  CONFIG_ARM_BOARD_APPEND_ATAG=y
>  # CONFIG_ARM_BOARD_PREPEND_ATAG is not set
> -# CONFIG_ARM_SCMI_PROTOCOL is undefined
>  # CONFIG_ARM_SECURE_MONITOR is undefined
>  # CONFIG_ARM_SMCCC is undefined
>  # CONFIG_BAREBOX_UPDATE_AM33XX_EMMC is not set
> diff --git a/configs/platform-v7a/barebox-at91.config b/configs/platform-v7a/barebox-at91.config
> index eac5266..a8bef53 100644
> --- a/configs/platform-v7a/barebox-at91.config
> +++ b/configs/platform-v7a/barebox-at91.config
> @@ -1,6 +1,6 @@
>  #
>  # Automatically generated file; DO NOT EDIT.
> -# Barebox/arm 2023.12.0 Configuration
> +# Barebox/arm 2024.01.0 Configuration
>  #
>  CONFIG_ARM=y
>  CONFIG_ARM_LINUX=y
> @@ -254,6 +254,7 @@ CONFIG_DEBUG_AT91_UART_BASE=0xfc069000
>  # CONFIG_DEBUG_INITCALLS is not set
>  # CONFIG_DEBUG_PBL is not set
>  # CONFIG_DEBUG_PROBES is not set
> +# CONFIG_DMA_API_DEBUG is not set
>  # CONFIG_PBL_BREAK is not set
>  # CONFIG_PRINTF_FULL is not set
>  # CONFIG_UBSAN is not set
> @@ -542,6 +543,7 @@ CONFIG_DRIVER_NET_MICREL=y
>  # CONFIG_DAVICOM_PHY is not set
>  # CONFIG_DP83867_PHY is not set
>  # CONFIG_DP83TD510_PHY is not set
> +# CONFIG_DP83TG720_PHY is not set
>  # CONFIG_LXT_PHY is not set
>  # CONFIG_MARVELL_PHY is not set
>  # CONFIG_MICREL_PHY is not set
> @@ -824,6 +826,12 @@ CONFIG_REGULATOR_FIXED=y
>  #
>  # CONFIG_FIRMWARE_ALTERA_SERIAL is not set
>  # CONFIG_QEMU_FW_CFG is not set
> +
> +#
> +# ARM System Control and Management Interface Protocol
> +#
> +# CONFIG_ARM_SCMI_PROTOCOL is not set
> +# end of ARM System Control and Management Interface Protocol
>  # end of Firmware Drivers
>  
>  #
> @@ -873,6 +881,7 @@ CONFIG_ATMEL_EBI=y
>  # CONFIG_POWER_RESET_GPIO_RESTART is not set
>  # CONFIG_VIRTIO_MENU is not set
>  # CONFIG_MAILBOX is not set
> +# CONFIG_TEE is not set
>  # end of Drivers
>  
>  #
> diff --git a/configs/platform-v7a/barebox-at91.config.diff b/configs/platform-v7a/barebox-at91.config.diff
> index b2e86af..34e71cb 100644
> --- a/configs/platform-v7a/barebox-at91.config.diff
> +++ b/configs/platform-v7a/barebox-at91.config.diff
> @@ -1,4 +1,4 @@
> -53d21fb44946357f79471694e33102cc
> +60c98fdd624cc491e6ab694be209074e
>  CONFIG_ARCH_AT91=y
>  # CONFIG_ARCH_BCM283X is not set
>  # CONFIG_ARCH_IMX is undefined
> @@ -7,7 +7,6 @@ CONFIG_ARCH_AT91=y
>  # CONFIG_ARCH_ROCKCHIP is undefined
>  CONFIG_ARCH_TEXT_BASE=0x23f00000
>  # CONFIG_ARM_AMBA is undefined
> -# CONFIG_ARM_SCMI_PROTOCOL is undefined
>  # CONFIG_ARM_SECURE_MONITOR is undefined
>  # CONFIG_ARM_SMCCC is undefined
>  CONFIG_AT91SAM9_SMC=y
> diff --git a/configs/platform-v7a/barebox-mx6.config b/configs/platform-v7a/barebox-mx6.config
> index b235585..5e2d649 100644
> --- a/configs/platform-v7a/barebox-mx6.config
> +++ b/configs/platform-v7a/barebox-mx6.config
> @@ -1,6 +1,6 @@
>  #
>  # Automatically generated file; DO NOT EDIT.
> -# Barebox/arm 2023.12.0 Configuration
> +# Barebox/arm 2024.01.0 Configuration
>  #
>  CONFIG_ARM=y
>  CONFIG_ARM_LINUX=y
> @@ -140,6 +140,7 @@ CONFIG_MACH_UDOO_NEO=y
>  # CONFIG_MACH_WARP7 is not set
>  # CONFIG_MACH_FREESCALE_MX7_SABRESD is not set
>  # CONFIG_MACH_PHYTEC_PHYCORE_IMX7 is not set
> +# CONFIG_MACH_VARISCITE_SOM_MX7 is not set
>  # CONFIG_MACH_ZII_IMX7D_DEV is not set
>  # CONFIG_MACH_KAMSTRUP_MX7_CONCENTRATOR is not set
>  
> @@ -336,6 +337,7 @@ CONFIG_DEFAULT_LOGLEVEL=6
>  CONFIG_DEBUG_IMX_UART_PORT=1
>  # CONFIG_DEBUG_INITCALLS is not set
>  # CONFIG_DEBUG_PROBES is not set
> +# CONFIG_DMA_API_DEBUG is not set
>  # CONFIG_PBL_BREAK is not set
>  # CONFIG_PRINTF_FULL is not set
>  # CONFIG_UBSAN is not set
> @@ -631,6 +633,7 @@ CONFIG_AT803X_PHY=y
>  # CONFIG_DAVICOM_PHY is not set
>  # CONFIG_DP83867_PHY is not set
>  # CONFIG_DP83TD510_PHY is not set
> +# CONFIG_DP83TG720_PHY is not set
>  # CONFIG_LXT_PHY is not set
>  # CONFIG_MARVELL_PHY is not set
>  CONFIG_MICREL_PHY=y
> @@ -985,6 +988,12 @@ CONFIG_HW_HAS_PCI=y
>  #
>  # CONFIG_FIRMWARE_ALTERA_SERIAL is not set
>  # CONFIG_QEMU_FW_CFG is not set
> +
> +#
> +# ARM System Control and Management Interface Protocol
> +#
> +# CONFIG_ARM_SCMI_PROTOCOL is not set
> +# end of ARM System Control and Management Interface Protocol
>  # end of Firmware Drivers
>  
>  #
> @@ -1036,6 +1045,7 @@ CONFIG_USB_NOP_XCEIV=y
>  # CONFIG_POWER_RESET_GPIO_RESTART is not set
>  # CONFIG_VIRTIO_MENU is not set
>  # CONFIG_MAILBOX is not set
> +# CONFIG_TEE is not set
>  # end of Drivers
>  
>  #
> diff --git a/configs/platform-v7a/barebox-mx6.config.diff b/configs/platform-v7a/barebox-mx6.config.diff
> index 90a8680..dd4df80 100644
> --- a/configs/platform-v7a/barebox-mx6.config.diff
> +++ b/configs/platform-v7a/barebox-mx6.config.diff
> @@ -1,4 +1,4 @@
> -53d21fb44946357f79471694e33102cc
> +60c98fdd624cc491e6ab694be209074e
>  # CONFIG_ARCH_BCM283X is not set
>  CONFIG_ARCH_HAS_FEC_IMX=y
>  CONFIG_ARCH_HAS_IMX_GPT=y
> @@ -10,7 +10,6 @@ CONFIG_ARCH_IMX_IMXIMAGE=y
>  # CONFIG_ARCH_IMX_USBLOADER is not set
>  # CONFIG_ARCH_TEXT_BASE is undefined
>  CONFIG_ARM_ASM_UNIFIED=y
> -# CONFIG_ARM_SCMI_PROTOCOL is undefined
>  # CONFIG_ARM_SECURE_MONITOR is undefined
>  # CONFIG_ARM_SMCCC is undefined
>  # CONFIG_ARM_USE_COMPRESSED_DTB is undefined
> @@ -157,6 +156,7 @@ CONFIG_MACH_SABRELITE=y
>  # CONFIG_MACH_UDOO is not set
>  CONFIG_MACH_UDOO_NEO=y
>  # CONFIG_MACH_VARISCITE_MX6 is not set
> +# CONFIG_MACH_VARISCITE_SOM_MX7 is not set
>  # CONFIG_MACH_VF610_TWR is not set
>  # CONFIG_MACH_WARP7 is not set
>  # CONFIG_MACH_WEBASTO_CCBV2 is not set
> diff --git a/configs/platform-v7a/barebox-rpi2.config b/configs/platform-v7a/barebox-rpi2.config
> index 252c115..43e5ba6 100644
> --- a/configs/platform-v7a/barebox-rpi2.config
> +++ b/configs/platform-v7a/barebox-rpi2.config
> @@ -1,6 +1,6 @@
>  #
>  # Automatically generated file; DO NOT EDIT.
> -# Barebox/arm 2023.12.0 Configuration
> +# Barebox/arm 2024.01.0 Configuration
>  #
>  CONFIG_ARM=y
>  CONFIG_ARM_LINUX=y
> @@ -236,6 +236,7 @@ CONFIG_DEFAULT_LOGLEVEL=6
>  # CONFIG_DEBUG_LL is not set
>  # CONFIG_DEBUG_INITCALLS is not set
>  # CONFIG_DEBUG_PROBES is not set
> +# CONFIG_DMA_API_DEBUG is not set
>  # CONFIG_PBL_BREAK is not set
>  # CONFIG_PRINTF_FULL is not set
>  # CONFIG_UBSAN is not set
> @@ -518,6 +519,7 @@ CONFIG_DRIVER_NET_BCMGENET=y
>  # CONFIG_DAVICOM_PHY is not set
>  # CONFIG_DP83867_PHY is not set
>  # CONFIG_DP83TD510_PHY is not set
> +# CONFIG_DP83TG720_PHY is not set
>  # CONFIG_LXT_PHY is not set
>  # CONFIG_MARVELL_PHY is not set
>  # CONFIG_MICREL_PHY is not set
> @@ -797,8 +799,13 @@ CONFIG_REGULATOR_BCM283X=y
>  # Firmware Drivers
>  #
>  # CONFIG_FIRMWARE_ALTERA_SERIAL is not set
> -# CONFIG_ARM_SCMI_PROTOCOL is not set
>  # CONFIG_QEMU_FW_CFG is not set
> +
> +#
> +# ARM System Control and Management Interface Protocol
> +#
> +# CONFIG_ARM_SCMI_PROTOCOL is not set
> +# end of ARM System Control and Management Interface Protocol
>  # end of Firmware Drivers
>  
>  #
> @@ -848,6 +855,7 @@ CONFIG_USB_NOP_XCEIV=y
>  # CONFIG_POWER_RESET_GPIO_RESTART is not set
>  # CONFIG_VIRTIO_MENU is not set
>  # CONFIG_MAILBOX is not set
> +# CONFIG_TEE is not set
>  # end of Drivers
>  
>  #
> diff --git a/configs/platform-v7a/barebox-rpi2.config.diff b/configs/platform-v7a/barebox-rpi2.config.diff
> index 9961863..692f645 100644
> --- a/configs/platform-v7a/barebox-rpi2.config.diff
> +++ b/configs/platform-v7a/barebox-rpi2.config.diff
> @@ -1,4 +1,4 @@
> -53d21fb44946357f79471694e33102cc
> +60c98fdd624cc491e6ab694be209074e
>  CONFIG_ARM_ASM_UNIFIED=y
>  # CONFIG_CMD_NVMEM is not set
>  CONFIG_DRIVER_NET_BCMGENET=y
> diff --git a/configs/platform-v7a/barebox-stm32mp.config b/configs/platform-v7a/barebox-stm32mp.config
> index 7bbae9c..539f0a9 100644
> --- a/configs/platform-v7a/barebox-stm32mp.config
> +++ b/configs/platform-v7a/barebox-stm32mp.config
> @@ -1,6 +1,6 @@
>  #
>  # Automatically generated file; DO NOT EDIT.
> -# Barebox/arm 2023.12.0 Configuration
> +# Barebox/arm 2024.01.0 Configuration
>  #
>  CONFIG_ARM=y
>  CONFIG_ARM_LINUX=y
> @@ -233,6 +233,7 @@ CONFIG_DEFAULT_LOGLEVEL=7
>  # CONFIG_DEBUG_INITCALLS is not set
>  # CONFIG_DEBUG_PBL is not set
>  # CONFIG_DEBUG_PROBES is not set
> +# CONFIG_DMA_API_DEBUG is not set
>  # CONFIG_PBL_BREAK is not set
>  # CONFIG_PRINTF_FULL is not set
>  # CONFIG_UBSAN is not set
> @@ -518,6 +519,7 @@ CONFIG_AT803X_PHY=y
>  # CONFIG_DAVICOM_PHY is not set
>  # CONFIG_DP83867_PHY is not set
>  # CONFIG_DP83TD510_PHY is not set
> +# CONFIG_DP83TG720_PHY is not set
>  # CONFIG_LXT_PHY is not set
>  # CONFIG_MARVELL_PHY is not set
>  CONFIG_MICREL_PHY=y
> @@ -626,6 +628,7 @@ CONFIG_HAVE_CLK=y
>  CONFIG_CLKDEV_LOOKUP=y
>  CONFIG_COMMON_CLK=y
>  CONFIG_COMMON_CLK_OF_PROVIDER=y
> +CONFIG_COMMON_CLK_STM32MP157=y
>  CONFIG_COMMON_CLK_GPIO=y
>  
>  #
> @@ -773,8 +776,13 @@ CONFIG_RESET_SIMPLE=y
>  #
>  # Firmware Drivers
>  #
> -# CONFIG_ARM_SCMI_PROTOCOL is not set
>  # CONFIG_QEMU_FW_CFG is not set
> +
> +#
> +# ARM System Control and Management Interface Protocol
> +#
> +# CONFIG_ARM_SCMI_PROTOCOL is not set
> +# end of ARM System Control and Management Interface Protocol
>  # end of Firmware Drivers
>  
>  #
> @@ -828,6 +836,7 @@ CONFIG_STM32_FMC2_EBI=y
>  CONFIG_RESET_STM32=y
>  # CONFIG_VIRTIO_MENU is not set
>  # CONFIG_MAILBOX is not set
> +# CONFIG_TEE is not set
>  # end of Drivers
>  
>  #
> diff --git a/configs/platform-v7a/barebox-stm32mp.config.diff b/configs/platform-v7a/barebox-stm32mp.config.diff
> index 1d49550..f5b6775 100644
> --- a/configs/platform-v7a/barebox-stm32mp.config.diff
> +++ b/configs/platform-v7a/barebox-stm32mp.config.diff
> @@ -1,4 +1,4 @@
> -53d21fb44946357f79471694e33102cc
> +60c98fdd624cc491e6ab694be209074e
>  # CONFIG_ARCH_BCM283X is not set
>  CONFIG_ARCH_HAS_RESET_CONTROLLER=y
>  CONFIG_ARCH_NR_GPIO=416
> @@ -30,6 +30,7 @@ CONFIG_CMD_POWEROFF=y
>  # CONFIG_CMD_PWM is not set
>  # CONFIG_CMD_SPI is undefined
>  # CONFIG_CMD_STACKSMASH is not set
> +CONFIG_COMMON_CLK_STM32MP157=y
>  CONFIG_COMPILE_LOGLEVEL=6
>  # CONFIG_CONSOLE_ACTIVATE_FIRST is not set
>  CONFIG_CONSOLE_ACTIVATE_NONE=y
> diff --git a/configs/platform-v7a/barebox-vexpress.config b/configs/platform-v7a/barebox-vexpress.config
> index 3b9ab3a..4fde5e0 100644
> --- a/configs/platform-v7a/barebox-vexpress.config
> +++ b/configs/platform-v7a/barebox-vexpress.config
> @@ -1,6 +1,6 @@
>  #
>  # Automatically generated file; DO NOT EDIT.
> -# Barebox/arm 2023.12.0 Configuration
> +# Barebox/arm 2024.01.0 Configuration
>  #
>  CONFIG_ARM=y
>  CONFIG_ARM_LINUX=y
> @@ -221,6 +221,7 @@ CONFIG_DEFAULT_LOGLEVEL=6
>  # CONFIG_DEBUG_INITCALLS is not set
>  # CONFIG_DEBUG_PBL is not set
>  # CONFIG_DEBUG_PROBES is not set
> +# CONFIG_DMA_API_DEBUG is not set
>  # CONFIG_PBL_BREAK is not set
>  # CONFIG_PRINTF_FULL is not set
>  # CONFIG_UBSAN is not set
> @@ -499,6 +500,7 @@ CONFIG_DRIVER_NET_SMC911X=y
>  # CONFIG_DAVICOM_PHY is not set
>  # CONFIG_DP83867_PHY is not set
>  # CONFIG_DP83TD510_PHY is not set
> +# CONFIG_DP83TG720_PHY is not set
>  # CONFIG_LXT_PHY is not set
>  # CONFIG_MARVELL_PHY is not set
>  # CONFIG_MICREL_PHY is not set
> @@ -743,6 +745,12 @@ CONFIG_REGULATOR=y
>  # Firmware Drivers
>  #
>  # CONFIG_QEMU_FW_CFG is not set
> +
> +#
> +# ARM System Control and Management Interface Protocol
> +#
> +# CONFIG_ARM_SCMI_PROTOCOL is not set
> +# end of ARM System Control and Management Interface Protocol
>  # end of Firmware Drivers
>  
>  #
> @@ -787,6 +795,7 @@ CONFIG_REGULATOR=y
>  # CONFIG_POWER_RESET_SYSCON_POWEROFF is not set
>  # CONFIG_VIRTIO_MENU is not set
>  # CONFIG_MAILBOX is not set
> +# CONFIG_TEE is not set
>  # end of Drivers
>  
>  #
> diff --git a/configs/platform-v7a/barebox-vexpress.config.diff b/configs/platform-v7a/barebox-vexpress.config.diff
> index 973db9d..2d9168e 100644
> --- a/configs/platform-v7a/barebox-vexpress.config.diff
> +++ b/configs/platform-v7a/barebox-vexpress.config.diff
> @@ -1,8 +1,7 @@
> -53d21fb44946357f79471694e33102cc
> +60c98fdd624cc491e6ab694be209074e
>  CONFIG_AMBA_SP804=y
>  # CONFIG_ARCH_BCM283X is not set
>  CONFIG_ARCH_VEXPRESS=y
> -# CONFIG_ARM_SCMI_PROTOCOL is undefined
>  # CONFIG_ARM_SECURE_MONITOR is undefined
>  # CONFIG_ARM_SMCCC is undefined
>  # CONFIG_ARM_USE_COMPRESSED_DTB is undefined
> diff --git a/configs/platform-v7a/barebox.config b/configs/platform-v7a/barebox.config
> index 9128860..375aa9a 100644
> --- a/configs/platform-v7a/barebox.config
> +++ b/configs/platform-v7a/barebox.config
> @@ -1,6 +1,6 @@
>  #
>  # Automatically generated file; DO NOT EDIT.
> -# Barebox/arm 2023.12.0 Configuration
> +# Barebox/arm 2024.01.0 Configuration
>  #
>  CONFIG_ARM=y
>  CONFIG_ARM_LINUX=y
> @@ -236,6 +236,7 @@ CONFIG_DEFAULT_LOGLEVEL=6
>  # CONFIG_DEBUG_LL is not set
>  # CONFIG_DEBUG_INITCALLS is not set
>  # CONFIG_DEBUG_PROBES is not set
> +# CONFIG_DMA_API_DEBUG is not set
>  # CONFIG_PBL_BREAK is not set
>  # CONFIG_PRINTF_FULL is not set
>  # CONFIG_UBSAN is not set
> @@ -517,6 +518,7 @@ CONFIG_PHYLIB=y
>  # CONFIG_DAVICOM_PHY is not set
>  # CONFIG_DP83867_PHY is not set
>  # CONFIG_DP83TD510_PHY is not set
> +# CONFIG_DP83TG720_PHY is not set
>  # CONFIG_LXT_PHY is not set
>  # CONFIG_MARVELL_PHY is not set
>  # CONFIG_MICREL_PHY is not set
> @@ -791,8 +793,13 @@ CONFIG_REGULATOR_BCM283X=y
>  # Firmware Drivers
>  #
>  # CONFIG_FIRMWARE_ALTERA_SERIAL is not set
> -# CONFIG_ARM_SCMI_PROTOCOL is not set
>  # CONFIG_QEMU_FW_CFG is not set
> +
> +#
> +# ARM System Control and Management Interface Protocol
> +#
> +# CONFIG_ARM_SCMI_PROTOCOL is not set
> +# end of ARM System Control and Management Interface Protocol
>  # end of Firmware Drivers
>  
>  #
> @@ -839,6 +846,7 @@ CONFIG_REGULATOR_BCM283X=y
>  # CONFIG_POWER_RESET_GPIO_RESTART is not set
>  # CONFIG_VIRTIO_MENU is not set
>  # CONFIG_MAILBOX is not set
> +# CONFIG_TEE is not set
>  # end of Drivers
>  
>  #
> diff --git a/configs/platform-v7a/platformconfig b/configs/platform-v7a/platformconfig
> index 45b5477..bd3463e 100644
> --- a/configs/platform-v7a/platformconfig
> +++ b/configs/platform-v7a/platformconfig
> @@ -186,8 +186,8 @@ PTXCONF_AT91BOOTSTRAP2_MD5="ef321a80bf428bfd6cb642c96126ef6c"
>  PTXCONF_AT91BOOTSTRAP2_CONFIG="at91bootstrap-wifx-l1.config"
>  PTXCONF_BAREBOX_COMMON_ARCH_STRING="arm"
>  PTXCONF_BAREBOX_COMMON=y
> -PTXCONF_BAREBOX_COMMON_VERSION="2023.12.0"
> -PTXCONF_BAREBOX_COMMON_MD5="e1513be5a2995203b75ac45043eac6d0"
> +PTXCONF_BAREBOX_COMMON_VERSION="2024.01.0"
> +PTXCONF_BAREBOX_COMMON_MD5="8a94bdde5eaa1362b6c752f975f9e954"
>  PTXCONF_BAREBOX_COMMON_NEEDS_HOST_LZOP=y
>  PTXCONF_BAREBOX_AM335X_MLO=y
>  PTXCONF_BAREBOX_AM335X=y
> -- 
> 2.39.2
> 
> 
> 

-- 
Roland Hieber, Pengutronix e.K.          | r.hieber@pengutronix.de     |
Steuerwalder Str. 21                     | https://www.pengutronix.de/ |
31137 Hildesheim, Germany                | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686         | Fax:   +49-5121-206917-5555 |



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [DistroKit] [PATCH 1/3] platform: v7a: barebox: Upgrade from 2023.12.0 to 2024.01.0
  2024-02-19 12:30   ` Roland Hieber
@ 2024-02-19 19:20     ` Roland Hieber
  0 siblings, 0 replies; 7+ messages in thread
From: Roland Hieber @ 2024-02-19 19:20 UTC (permalink / raw)
  To: Alexander Dahl; +Cc: distrokit

On Mon, Feb 19, 2024 at 01:30:00PM +0100, Roland Hieber wrote:
> On Thu, Feb 15, 2024 at 04:05:30PM +0100, Alexander Dahl wrote:
> > The latest and greatest.  Has the nice support for 'noload' sub-images
> > in FIT images conforming for spec.
> > 
> > Signed-off-by: Alexander Dahl <ada@thorsis.com>
> > ---
> >  configs/platform-v7a/barebox-am335x-mlo.config    | 10 +++++++++-
> >  configs/platform-v7a/barebox-am335x.config        | 11 ++++++++++-
> >  configs/platform-v7a/barebox-am335x.config.diff   |  3 +--
> >  configs/platform-v7a/barebox-at91.config          | 11 ++++++++++-
> >  configs/platform-v7a/barebox-at91.config.diff     |  3 +--
> >  configs/platform-v7a/barebox-mx6.config           | 12 +++++++++++-
> >  configs/platform-v7a/barebox-mx6.config.diff      |  4 ++--
> >  configs/platform-v7a/barebox-rpi2.config          | 12 ++++++++++--
> >  configs/platform-v7a/barebox-rpi2.config.diff     |  2 +-
> 
> This makes barebox on rpi3b error on startup:
> 
>     mci0: registered disk0
>     state: New state registered 'state'
>     state state.of: Fresh state detected, continuing with defaults
>     malloc space: 0x1d87f620 -> 0x3b0fec3f (size 472.5 MiB)
>     WARNING: no property 'serial-number' found in vc fdt's '' node
>     no '/system' node found in vc fdt
>     no '/axi' node found in vc fdt
>     no '/hat' node found in vc fdt
>     no '/chosen/bootloader' node found in vc fdt
>     WARNING: no property 'bootargs' found in vc fdt's '/chosen' node
>     WARNING: no property 'overlay_prefix' found in vc fdt's '/chosen' node
>     WARNING: no property 'os_prefix' found in vc fdt's '/chosen' node
>     WARNING: 'pm_rsts' value not found in vc fdt
>     ERROR: Won't delete root device node
> 
> I haven't look further into this yet.

This seems to be related to new functionality in the RPi bootup code in
v2023.01.0; I've asked about it on the barebox mailing list:
<https://lore.barebox.org/barebox/20240219191400.do7ib5rxy7tupv4i@pengutronix.de/>

 - Roland

-- 
Roland Hieber, Pengutronix e.K.          | r.hieber@pengutronix.de     |
Steuerwalder Str. 21                     | https://www.pengutronix.de/ |
31137 Hildesheim, Germany                | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686         | Fax:   +49-5121-206917-5555 |



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-02-19 19:21 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-15 15:05 [DistroKit] [PATCH 0/3] v7a: barebox: Support FIT images Alexander Dahl
2024-02-15 15:05 ` [DistroKit] [PATCH 1/3] platform: v7a: barebox: Upgrade from 2023.12.0 to 2024.01.0 Alexander Dahl
2024-02-19 12:30   ` Roland Hieber
2024-02-19 19:20     ` Roland Hieber
2024-02-15 15:05 ` [DistroKit] [PATCH 2/3] blspec-entry: Backport fix from ptxdist master Alexander Dahl
2024-02-19 12:28   ` [DistroKit] [PATCH 2/3] squash! " Roland Hieber
2024-02-15 15:05 ` [DistroKit] [PATCH 3/3] platform: v7a: barebox: Enable FIT image support Alexander Dahl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox