DistroKit Mailinglist
 help / color / mirror / Atom feed
* [DistroKit] [PATCH v2 00/10] v8a: barebox: update to use upstream PTXdist rule
@ 2023-05-04 13:59 Ahmad Fatoum
  2023-05-04 13:59 ` [DistroKit] [PATCH v2 01/10] v8a: barebox: rock3a: drop no longer needed SD-Card speed quirk Ahmad Fatoum
                   ` (10 more replies)
  0 siblings, 11 replies; 13+ messages in thread
From: Ahmad Fatoum @ 2023-05-04 13:59 UTC (permalink / raw)
  To: distrokit; +Cc: bst

*** BLURB HERE ***
We already make use of the barebox multi-image support, which prefixes
the (compressed) barebox proper binary with a different prebootloader
(+ device tree) each time to support multiple boards in the same build.

So far, this was only possible within the same subarch, so while we had
one barebox rule for all of i.MX8MM/N/Q, we needed a separate barebox
rule for the Rockchip platforms.

barebox v2023.04.0 adds ARM "multiarch" support, which extends
multi-image support to work across subarches. This series enables it
for v8a and allows us to drop our barebox-imx8m and barebox-rockchip
rules in favor of the upstream PTXdist barebox rule.

The same could be done for v7a in the future too, but it would fatten
the bootloader images a bit more, because it would adds drivers for 6
unused platforms into each image (but not duplicate the DT). This is
left as future exercise.

v1 -> v2:
  - dropped v6.2->v6.3.1 kernel update in favor of upstream/next's
    v6.2->v6.3 update
  - dropped SD-Card speed quirk altogether. This has been fixed
    upstream and the new maximum of 50MHz works for us, even wit
    usbsdmux in-between.

Ahmad Fatoum (10):
  v8a: barebox: rock3a: drop no longer needed SD-Card speed quirk
  v7a: barebox: version bump v2023.02.1 → v2023.04.0
  v8a: barebox: version bump v2023.01.0 → v2023.04.0
  Revert "v8a: barebox: rockchip: disable CONFIG_MMCBLKDEV_ROOTARG"
  platforms: drop no longer needed blspec-rpi4
  v8a: rockchip: use common environment
  v8a: barebox: configure upstream barebox rule for both imx8m and
    rockchip
  v8a: barebox: switch to upstream rule
  v8a: barebox: remove left-over SoC-specific rules
  v8a: barebox: enable fastboot over UDP

 .../platform-v7a/barebox-am335x-mlo.config    |  29 +-
 configs/platform-v7a/barebox-am335x.config    |  31 +-
 .../platform-v7a/barebox-am335x.config.diff   | 106 +-
 configs/platform-v7a/barebox-at91.config      |  29 +-
 configs/platform-v7a/barebox-at91.config.diff | 106 +-
 configs/platform-v7a/barebox-mx6.config       | 155 +--
 configs/platform-v7a/barebox-mx6.config.diff  | 122 ++-
 configs/platform-v7a/barebox-rpi2.config      |  32 +-
 configs/platform-v7a/barebox-rpi2.config.diff |  95 +-
 configs/platform-v7a/barebox-stm32mp.config   |  32 +-
 .../platform-v7a/barebox-stm32mp.config.diff  | 100 +-
 configs/platform-v7a/barebox-vexpress.config  |  32 +-
 .../platform-v7a/barebox-vexpress.config.diff | 106 +-
 configs/platform-v7a/barebox.config           | 150 +--
 configs/platform-v7a/platformconfig           |   5 +-
 .../barebox-common-defaultenv/init/bootsource |  10 +-
 .../barebox-rock3a-defaultenv/init/bootsource |  14 -
 .../nv/linux.bootargs.loglevel                |   1 -
 configs/platform-v8a/barebox-rockchip.config  | 931 ------------------
 .../{barebox-imx8m.config => barebox.config}  | 253 ++---
 .../config/images/imx8mm-evk.config           |   2 +-
 .../config/images/imx8mp-evk.config           |   2 +-
 .../config/images/imx8mq-evk.config           |   2 +-
 .../platform-v8a/config/images/rock3a.config  |   6 +-
 configs/platform-v8a/platformconfig           |  29 +-
 .../platform-v8a/platforms/barebox-imx8m.in   |  10 -
 .../platforms/barebox-rockchip.in             |  14 -
 .../platforms/image-imx8mm-evk.in             |   2 +-
 .../platforms/image-imx8mp-evk.in             |   2 +-
 .../platforms/image-imx8mq-evk.in             |   2 +-
 .../platform-v8a/platforms/image-rock3a.in    |   2 +-
 configs/platform-v8a/rules/barebox-imx8m.make | 125 ---
 .../platform-v8a/rules/barebox-rockchip.make  | 163 ---
 configs/platform-v8a/rules/firmware-imx.in    |   4 +
 .../platform-v8a/rules/firmware-rockchip.in   |   4 +
 .../rules/post/barebox-fixup.make             |  16 +
 doc/hardware_v8a_rock3a.rst                   |   2 +-
 platforms/blspec-rpi4.in                      |   7 -
 rules/blspec-rpi4.make                        |  38 -
 39 files changed, 869 insertions(+), 1902 deletions(-)
 delete mode 100644 configs/platform-v8a/barebox-rock3a-defaultenv/init/bootsource
 delete mode 100644 configs/platform-v8a/barebox-rock3a-defaultenv/nv/linux.bootargs.loglevel
 delete mode 100644 configs/platform-v8a/barebox-rockchip.config
 rename configs/platform-v8a/{barebox-imx8m.config => barebox.config} (84%)
 delete mode 100644 configs/platform-v8a/platforms/barebox-imx8m.in
 delete mode 100644 configs/platform-v8a/platforms/barebox-rockchip.in
 delete mode 100644 configs/platform-v8a/rules/barebox-imx8m.make
 delete mode 100644 configs/platform-v8a/rules/barebox-rockchip.make
 create mode 100644 configs/platform-v8a/rules/post/barebox-fixup.make
 delete mode 100644 platforms/blspec-rpi4.in
 delete mode 100644 rules/blspec-rpi4.make

-- 
2.39.2




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

* [DistroKit] [PATCH v2 01/10] v8a: barebox: rock3a: drop no longer needed SD-Card speed quirk
  2023-05-04 13:59 [DistroKit] [PATCH v2 00/10] v8a: barebox: update to use upstream PTXdist rule Ahmad Fatoum
@ 2023-05-04 13:59 ` Ahmad Fatoum
  2023-05-04 13:59 ` [DistroKit] [PATCH v2 02/10] v7a: barebox: version bump v2023.02.1 → v2023.04.0 Ahmad Fatoum
                   ` (9 subsequent siblings)
  10 siblings, 0 replies; 13+ messages in thread
From: Ahmad Fatoum @ 2023-05-04 13:59 UTC (permalink / raw)
  To: distrokit; +Cc: Ahmad Fatoum, bst

SD-Card signal integrity on the Rock-3A's board doesn't allow for
reliable sd-uhs-sdr104 operation. For this reason we had a device tree
fixup that removed the property. This has been fixed upstream in the
meantime and sd-uhs-sdr104 was replaced with the slower sd-uhs-sdr50,
which works fine for us, even with a usbsdmux in-between.

Thus drop this fixup again.

Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
---
 configs/platform-v8a/barebox-rock3a-defaultenv/init/bootsource | 1 -
 1 file changed, 1 deletion(-)

diff --git a/configs/platform-v8a/barebox-rock3a-defaultenv/init/bootsource b/configs/platform-v8a/barebox-rock3a-defaultenv/init/bootsource
index 6a3bb42ba3af..fe7991dbc13c 100644
--- a/configs/platform-v8a/barebox-rock3a-defaultenv/init/bootsource
+++ b/configs/platform-v8a/barebox-rock3a-defaultenv/init/bootsource
@@ -7,7 +7,6 @@ fi
 if [ "$bootsource" = mmc ]; then
 	detect mmc$bootsource_instance
 	global.boot.default="mmc$bootsource_instance net"
-	of_property -df mmc0 sd-uhs-sdr104
 elif [ "$bootsource" = "spi-nor" ]; then
 	usbgadget -A '/dev/mmc0(sd)'
 	global.autoboot=abort
-- 
2.39.2




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

* [DistroKit] [PATCH v2 02/10] v7a: barebox: version bump v2023.02.1 → v2023.04.0
  2023-05-04 13:59 [DistroKit] [PATCH v2 00/10] v8a: barebox: update to use upstream PTXdist rule Ahmad Fatoum
  2023-05-04 13:59 ` [DistroKit] [PATCH v2 01/10] v8a: barebox: rock3a: drop no longer needed SD-Card speed quirk Ahmad Fatoum
@ 2023-05-04 13:59 ` Ahmad Fatoum
  2023-05-04 13:59 ` [DistroKit] [PATCH v2 03/10] v8a: barebox: version bump v2023.01.0 " Ahmad Fatoum
                   ` (8 subsequent siblings)
  10 siblings, 0 replies; 13+ messages in thread
From: Ahmad Fatoum @ 2023-05-04 13:59 UTC (permalink / raw)
  To: distrokit; +Cc: Ahmad Fatoum, bst

The config diff is a bit on the big side, because of CONFIG_ARCH_MULTIARCH,
but apart from that, not much changes for us with this update, besides
some bug fixes.

Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
---
 .../platform-v7a/barebox-am335x-mlo.config    |  29 ++--
 configs/platform-v7a/barebox-am335x.config    |  31 ++--
 .../platform-v7a/barebox-am335x.config.diff   | 106 ++++++++----
 configs/platform-v7a/barebox-at91.config      |  29 ++--
 configs/platform-v7a/barebox-at91.config.diff | 106 +++++++-----
 configs/platform-v7a/barebox-mx6.config       | 155 +++++++++++-------
 configs/platform-v7a/barebox-mx6.config.diff  | 122 +++++++++-----
 configs/platform-v7a/barebox-rpi2.config      |  32 ++--
 configs/platform-v7a/barebox-rpi2.config.diff |  95 ++++++++++-
 configs/platform-v7a/barebox-stm32mp.config   |  32 ++--
 .../platform-v7a/barebox-stm32mp.config.diff  | 100 +++++++----
 configs/platform-v7a/barebox-vexpress.config  |  32 ++--
 .../platform-v7a/barebox-vexpress.config.diff | 106 ++++++------
 configs/platform-v7a/barebox.config           | 150 +++--------------
 configs/platform-v7a/platformconfig           |   4 +-
 15 files changed, 662 insertions(+), 467 deletions(-)

diff --git a/configs/platform-v7a/barebox-am335x-mlo.config b/configs/platform-v7a/barebox-am335x-mlo.config
index 010b1b9d32cd..3de0bc28f21d 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.02.1 Configuration
+# Barebox/arm 2023.04.0 Configuration
 #
 CONFIG_ARM=y
 CONFIG_ARM_USE_COMPRESSED_DTB=y
@@ -9,32 +9,32 @@ CONFIG_TEXT_BASE=0x0
 #
 # System Type
 #
+CONFIG_ARCH_OMAP=y
+CONFIG_ARCH_MULTIARCH=y
 # CONFIG_ARCH_AT91 is not set
-# CONFIG_ARCH_BCM283X is not set
 # CONFIG_ARCH_CLPS711X is not set
 # CONFIG_ARCH_DAVINCI is not set
 # CONFIG_ARCH_DIGIC is not set
 # CONFIG_ARCH_EP93XX is not set
-# CONFIG_ARCH_IMX is not set
 # CONFIG_ARCH_LAYERSCAPE is not set
 # CONFIG_ARCH_MVEBU is not set
 # CONFIG_ARCH_MXS is not set
 # CONFIG_ARCH_NOMADIK is not set
-CONFIG_ARCH_OMAP=y
+# CONFIG_ARCH_OMAP_SINGLE is not set
 # CONFIG_ARCH_PXA is not set
-# CONFIG_ARCH_ROCKCHIP is not set
 # CONFIG_ARCH_SOCFPGA is not set
-# CONFIG_ARCH_S3C24xx is not set
-# CONFIG_ARCH_S5PCxx is not set
-# CONFIG_ARCH_S3C64xx is not set
-# CONFIG_ARCH_STM32MP is not set
 # CONFIG_ARCH_VERSATILE is not set
-# CONFIG_ARCH_VEXPRESS is not set
 # CONFIG_ARCH_TEGRA is not set
 # CONFIG_ARCH_UEMD is not set
 # CONFIG_ARCH_ZYNQ is not set
-# CONFIG_ARCH_ZYNQMP is not set
 # CONFIG_ARCH_ARM64_VIRT is not set
+# CONFIG_ARCH_BCM283X is not set
+# CONFIG_ARCH_IMX is not set
+CONFIG_ARCH_OMAP_MULTI=y
+# CONFIG_ARCH_ROCKCHIP is not set
+# CONFIG_ARCH_STM32MP is not set
+# CONFIG_ARCH_VEXPRESS is not set
+# CONFIG_ARCH_ZYNQMP is not set
 
 #
 # Processor Type
@@ -405,6 +405,7 @@ CONFIG_TI_SYSC=y
 # Firmware Drivers
 #
 # CONFIG_FIRMWARE_ALTERA_SERIAL is not set
+# CONFIG_QEMU_FW_CFG is not set
 # end of Firmware Drivers
 
 #
@@ -414,7 +415,11 @@ CONFIG_TI_SYSC=y
 # end of FPGA Configuration Support
 
 # CONFIG_GENERIC_PHY is not set
-# CONFIG_CRYPTO_HW is not set
+
+#
+# Hardware crypto devices
+#
+# end of Hardware crypto devices
 
 #
 # Memory controller drivers
diff --git a/configs/platform-v7a/barebox-am335x.config b/configs/platform-v7a/barebox-am335x.config
index 647d7162297c..83799f4015c5 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.02.1 Configuration
+# Barebox/arm 2023.04.0 Configuration
 #
 CONFIG_ARM=y
 CONFIG_ARM_LINUX=y
@@ -10,32 +10,32 @@ CONFIG_TEXT_BASE=0x0
 #
 # System Type
 #
+CONFIG_ARCH_OMAP=y
+CONFIG_ARCH_MULTIARCH=y
 # CONFIG_ARCH_AT91 is not set
-# CONFIG_ARCH_BCM283X is not set
 # CONFIG_ARCH_CLPS711X is not set
 # CONFIG_ARCH_DAVINCI is not set
 # CONFIG_ARCH_DIGIC is not set
 # CONFIG_ARCH_EP93XX is not set
-# CONFIG_ARCH_IMX is not set
 # CONFIG_ARCH_LAYERSCAPE is not set
 # CONFIG_ARCH_MVEBU is not set
 # CONFIG_ARCH_MXS is not set
 # CONFIG_ARCH_NOMADIK is not set
-CONFIG_ARCH_OMAP=y
+# CONFIG_ARCH_OMAP_SINGLE is not set
 # CONFIG_ARCH_PXA is not set
-# CONFIG_ARCH_ROCKCHIP is not set
 # CONFIG_ARCH_SOCFPGA is not set
-# CONFIG_ARCH_S3C24xx is not set
-# CONFIG_ARCH_S5PCxx is not set
-# CONFIG_ARCH_S3C64xx is not set
-# CONFIG_ARCH_STM32MP is not set
 # CONFIG_ARCH_VERSATILE is not set
-# CONFIG_ARCH_VEXPRESS is not set
 # CONFIG_ARCH_TEGRA is not set
 # CONFIG_ARCH_UEMD is not set
 # CONFIG_ARCH_ZYNQ is not set
-# CONFIG_ARCH_ZYNQMP is not set
 # CONFIG_ARCH_ARM64_VIRT is not set
+# CONFIG_ARCH_BCM283X is not set
+# CONFIG_ARCH_IMX is not set
+CONFIG_ARCH_OMAP_MULTI=y
+# CONFIG_ARCH_ROCKCHIP is not set
+# CONFIG_ARCH_STM32MP is not set
+# CONFIG_ARCH_VEXPRESS is not set
+# CONFIG_ARCH_ZYNQMP is not set
 
 #
 # Processor Type
@@ -627,6 +627,7 @@ CONFIG_USB_STORAGE=y
 # USB Miscellaneous drivers
 #
 # CONFIG_USB_HUB_USB251XB is not set
+# CONFIG_USB_ONBOARD_HUB is not set
 CONFIG_USB_GADGET=y
 CONFIG_USB_GADGET_AUTOSTART=y
 
@@ -693,6 +694,7 @@ CONFIG_CLOCKSOURCE_TI_DM=y
 # CONFIG_MFD_ATMEL_FLEXCOM is not set
 # CONFIG_MFD_RK808 is not set
 # CONFIG_MFD_AXP20X_I2C is not set
+# CONFIG_MFD_ROHM_BD718XX is not set
 # end of Multifunction device drivers
 
 #
@@ -799,6 +801,7 @@ CONFIG_REGULATOR_FIXED=y
 # Firmware Drivers
 #
 # CONFIG_FIRMWARE_ALTERA_SERIAL is not set
+# CONFIG_QEMU_FW_CFG is not set
 # end of Firmware Drivers
 
 #
@@ -808,7 +811,11 @@ CONFIG_REGULATOR_FIXED=y
 # end of FPGA Configuration Support
 
 # CONFIG_GENERIC_PHY is not set
-# CONFIG_CRYPTO_HW is not set
+
+#
+# Hardware crypto devices
+#
+# end of Hardware crypto devices
 
 #
 # Memory controller drivers
diff --git a/configs/platform-v7a/barebox-am335x.config.diff b/configs/platform-v7a/barebox-am335x.config.diff
index 20ab6803c846..aebe906ccd04 100644
--- a/configs/platform-v7a/barebox-am335x.config.diff
+++ b/configs/platform-v7a/barebox-am335x.config.diff
@@ -1,76 +1,106 @@
-68457081af06bd8377bc38ef02c7d415
-# CONFIG_32BIT is undefined
-# CONFIG_64BIT is undefined
+6779f231005317170237cbdb0787cba8
 # CONFIG_AM33XX_NET_BOOT is not set
 CONFIG_ARCH_AM33XX=y
-# CONFIG_ARCH_BCM283X is not set
 CONFIG_ARCH_OMAP=y
-# CONFIG_ARCH_TEXT_BASE is undefined
+CONFIG_ARCH_OMAP_MULTI=y
+CONFIG_ARM_AMBA=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_ARM_PSCI is not set
+# CONFIG_ARM_PSCI_CLIENT is not set
+CONFIG_ARM_USE_COMPRESSED_DTB=y
+CONFIG_BAREBOX_MAX_PBL_SIZE=0xffffffff
 # CONFIG_BAREBOX_UPDATE_AM33XX_EMMC is not set
 # CONFIG_BAREBOX_UPDATE_AM33XX_NAND is not set
 CONFIG_BAREBOX_UPDATE_AM33XX_SPI_NOR_MLO=y
+CONFIG_BOARD_ARM_GENERIC_DT=y
+CONFIG_BOARD_GENERIC_DT=y
 CONFIG_BOOTM_OFTREE_UIMAGE=y
 CONFIG_BUS_OMAP_GPMC=y
-# CONFIG_CLKDEV_LOOKUP is undefined
-# CONFIG_CLOCKSOURCE_BCM283X is undefined
+CONFIG_CLOCKSOURCE_ARM_ARCHITECTED_TIMER=y
 CONFIG_CLOCKSOURCE_TI_DM=y
-# CONFIG_CMD_CLK is undefined
+CONFIG_CMD_ARM_MMUINFO=y
+CONFIG_CMD_GPIO=y
 # CONFIG_CMD_KEYSTORE is not set
 CONFIG_CMD_NAND=y
 # CONFIG_CMD_NANDTEST is not set
 # CONFIG_CMD_NAND_BITFLIP is not set
 # CONFIG_CMD_NVMEM is not set
-# CONFIG_CMD_SMC is undefined
-# CONFIG_COMMON_CLK is undefined
-# CONFIG_COMMON_CLK_OF_PROVIDER is undefined
 # CONFIG_CONSOLE_ACTIVATE_FIRST is not set
 CONFIG_CONSOLE_ACTIVATE_NONE=y
-# CONFIG_CPU_SUPPORTS_32BIT_KERNEL is undefined
-# CONFIG_CPU_SUPPORTS_64BIT_KERNEL is undefined
+CONFIG_CPU_32=y
+CONFIG_CPU_32v7=y
+CONFIG_CPU_V7=y
 CONFIG_CRYPTO_KEYSTORE=y
+# CONFIG_DEBUG_LL is not set
 CONFIG_DEBUG_OMAP_UART_PORT=1
+# CONFIG_DEFAULT_COMPRESSION_BZIP2 is undefined
+# CONFIG_DEFAULT_COMPRESSION_GZIP is undefined
+# CONFIG_DEFAULT_COMPRESSION_LZO is undefined
+# CONFIG_DEFAULT_COMPRESSION_XZ is undefined
 CONFIG_DIGEST_HMAC_GENERIC=y
-# CONFIG_DRIVER_NET_ARC_EMAC is undefined
+# CONFIG_DISK_AHCI is not set
 CONFIG_DRIVER_NET_CPSW=y
+# CONFIG_DRIVER_NET_DESIGNWARE_GENERIC is not set
 CONFIG_DRIVER_SERIAL_NS16550=y
 # CONFIG_DRIVER_SPI_FSL_QUADSPI is not set
+CONFIG_DRIVER_SPI_GPIO=y
 CONFIG_DRIVER_SPI_OMAP3=y
 # CONFIG_EEPROM_93XX46 is not set
 CONFIG_EEPROM_AT24=y
+# CONFIG_FIRMWARE_ALTERA_SERIAL is not set
+CONFIG_GENERIC_GPIO=y
+CONFIG_GPIOLIB=y
+# CONFIG_GPIO_74164 is not set
+# CONFIG_GPIO_74XX_MMIO is not set
+# CONFIG_GPIO_DESIGNWARE is not set
 CONFIG_GPIO_GENERIC=y
 CONFIG_GPIO_GENERIC_PLATFORM=y
+# CONFIG_GPIO_LATCH is not set
 CONFIG_GPIO_OMAP=y
-# CONFIG_GPIO_RASPBERRYPI_EXP is undefined
+# CONFIG_GPIO_PCA953X is not set
+# CONFIG_GPIO_PCF857X is not set
+# CONFIG_GPIO_PL061 is not set
+# CONFIG_GPIO_SIFIVE is not set
+# CONFIG_GPIO_SX150X is not set
+# CONFIG_GPIO_WATCHDOG is not set
 # CONFIG_GREGORIAN_CALENDER is undefined
-# CONFIG_HAVE_CLK is undefined
+CONFIG_HAS_DEBUG_LL=y
+CONFIG_HAS_DMA=y
+CONFIG_HAS_MODULES=y
 CONFIG_HAVE_DIGEST_HMAC=y
-# CONFIG_I2C_BCM283X is undefined
-# CONFIG_I2C_MV64XXX is undefined
+CONFIG_HAVE_MOD_ARCH_SPECIFIC=y
+CONFIG_HAVE_PBL_IMAGE=y
+CONFIG_HAVE_PBL_MULTI_IMAGES=y
+CONFIG_I2C_ALGOBIT=y
+CONFIG_I2C_GPIO=y
 CONFIG_I2C_OMAP=y
+CONFIG_IMAGE_COMPRESSION=y
+# CONFIG_IMAGE_COMPRESSION_GZIP is not set
+# CONFIG_IMAGE_COMPRESSION_LZ4 is not set
+CONFIG_IMAGE_COMPRESSION_LZO=y
+# CONFIG_IMAGE_COMPRESSION_NONE is not set
+# CONFIG_IMAGE_COMPRESSION_XZKERN is not set
+# CONFIG_JTAG is not set
+# CONFIG_KEYBOARD_GPIO is not set
+# CONFIG_KEYBOARD_QT1070 is not set
+CONFIG_LED_GPIO=y
+# CONFIG_LED_GPIO_BICOLOR is not set
+CONFIG_LED_GPIO_OF=y
+# CONFIG_LED_GPIO_RGB is not set
+CONFIG_LIBFDT=y
 CONFIG_MACH_AFI_GF=y
 # CONFIG_MACH_BEAGLE is not set
 CONFIG_MACH_BEAGLEBONE=y
 # CONFIG_MACH_MYIRTECH_X335X is not set
 # CONFIG_MACH_PHYTEC_SOM_AM335X is not set
-# CONFIG_MACH_RPI2 is undefined
-# CONFIG_MACH_RPI3 is undefined
-# CONFIG_MACH_RPI4 is undefined
-# CONFIG_MACH_RPI is undefined
-# CONFIG_MACH_RPI_AARCH_32_64 is undefined
-# CONFIG_MACH_RPI_CM3 is undefined
-# CONFIG_MACH_RPI_COMMON is undefined
 # CONFIG_MACH_VSCOM_BALTOS is not set
 # CONFIG_MACH_WAGO_PFC_AM35XX is not set
-# CONFIG_MCI_BCM283X is undefined
-# CONFIG_MCI_BCM283X_SDHOST is undefined
+# CONFIG_MCI_DW is not set
 # CONFIG_MCI_MMCI is not set
 CONFIG_MCI_OMAP_HSMMC=y
+# CONFIG_MDIO_BUS_MUX_GPIO is not set
 CONFIG_MTD_M25P80=y
 # CONFIG_MTD_NAND_DENALI is not set
 # CONFIG_MTD_NAND_ECC_SOFT is not set
@@ -83,31 +113,41 @@ CONFIG_NAND=y
 # CONFIG_NAND_ALLOW_ERASE_BAD is not set
 CONFIG_NAND_ECC_HW_SYNDROME=y
 CONFIG_NAND_OMAP_GPMC=y
+# CONFIG_NLS is not set
 CONFIG_NVMEM=y
 # CONFIG_NVMEM_REBOOT_MODE is not set
 # CONFIG_NVMEM_RMEM is not set
 # CONFIG_NVMEM_SNVS_LPGPR is not set
+CONFIG_OF_GPIO=y
 # CONFIG_OMAP_BUILD_IFT is not set
 # CONFIG_OMAP_BUILD_SPI is not set
 CONFIG_OMAP_GPMC=y
 CONFIG_OMAP_IMAGE=y
 CONFIG_OMAP_MULTI_BOARDS=y
+# CONFIG_PBL_CONSOLE is not set
+CONFIG_PBL_IMAGE=y
+CONFIG_PBL_MULTI_IMAGES=y
 # CONFIG_PBL_OPTEE is undefined
-# CONFIG_PINCTRL_BCM283X is undefined
+CONFIG_PBL_RELOCATABLE=y
 CONFIG_PINCTRL_SINGLE=y
+# CONFIG_POWER_RESET_GPIO is not set
+# CONFIG_POWER_RESET_GPIO_RESTART is not set
 CONFIG_PROMPT="barebox> "
-# CONFIG_REGULATOR_BCM283X is undefined
 CONFIG_REGULATOR_FIXED=y
+# CONFIG_SERIAL_AMBA_PL011 is not set
 # CONFIG_SPI_CADENCE_QUADSPI is not set
 CONFIG_SPI_MEM=y
 CONFIG_THUMB2_BAREBOX=y
 # CONFIG_TIMESTAMP is not set
 CONFIG_TI_SYSC=y
+# CONFIG_USB_DWC3 is not set
+CONFIG_USB_EHCI=y
 CONFIG_USB_MUSB=y
 CONFIG_USB_MUSB_AM335X=y
 CONFIG_USB_MUSB_DSPS=y
 CONFIG_USB_MUSB_GADGET=y
 CONFIG_USB_MUSB_HOST=y
 CONFIG_USB_OTGDEV=y
-# CONFIG_WATCHDOG_BCM2835 is undefined
+# CONFIG_USB_XHCI is not set
+CONFIG_USE_COMPRESSED_DTB=y
 CONFIG_WATCHDOG_OMAP=y
diff --git a/configs/platform-v7a/barebox-at91.config b/configs/platform-v7a/barebox-at91.config
index b9f129a0ef5f..2fb2abde0589 100644
--- a/configs/platform-v7a/barebox-at91.config
+++ b/configs/platform-v7a/barebox-at91.config
@@ -1,42 +1,37 @@
 #
 # Automatically generated file; DO NOT EDIT.
-# Barebox/arm 2023.02.1 Configuration
+# Barebox/arm 2023.04.0 Configuration
 #
 CONFIG_ARM=y
 CONFIG_ARM_LINUX=y
-CONFIG_HAVE_MACH_ARM_HEAD=y
 CONFIG_ARM_USE_COMPRESSED_DTB=y
 CONFIG_TEXT_BASE=0x0
 
 #
 # System Type
 #
+# CONFIG_ARCH_MULTIARCH is not set
 CONFIG_ARCH_AT91=y
-# CONFIG_ARCH_BCM283X is not set
 # CONFIG_ARCH_CLPS711X is not set
 # CONFIG_ARCH_DAVINCI is not set
 # CONFIG_ARCH_DIGIC is not set
 # CONFIG_ARCH_EP93XX is not set
-# CONFIG_ARCH_IMX is not set
 # CONFIG_ARCH_LAYERSCAPE is not set
 # CONFIG_ARCH_MVEBU is not set
 # CONFIG_ARCH_MXS is not set
 # CONFIG_ARCH_NOMADIK is not set
-# CONFIG_ARCH_OMAP is not set
+# CONFIG_ARCH_OMAP_SINGLE is not set
 # CONFIG_ARCH_PXA is not set
-# CONFIG_ARCH_ROCKCHIP is not set
 # CONFIG_ARCH_SOCFPGA is not set
-# CONFIG_ARCH_S3C24xx is not set
-# CONFIG_ARCH_S5PCxx is not set
-# CONFIG_ARCH_S3C64xx is not set
-# CONFIG_ARCH_STM32MP is not set
 # CONFIG_ARCH_VERSATILE is not set
-# CONFIG_ARCH_VEXPRESS is not set
 # CONFIG_ARCH_TEGRA is not set
 # CONFIG_ARCH_UEMD is not set
 # CONFIG_ARCH_ZYNQ is not set
-# CONFIG_ARCH_ZYNQMP is not set
 # CONFIG_ARCH_ARM64_VIRT is not set
+# CONFIG_ARCH_BCM283X is not set
+# CONFIG_ARCH_STM32MP is not set
+# CONFIG_ARCH_VEXPRESS is not set
+# CONFIG_ARCH_ZYNQMP is not set
 
 #
 # Processor Type
@@ -681,6 +676,7 @@ CONFIG_MFD_SYSCON=y
 CONFIG_MFD_ATMEL_FLEXCOM=y
 # CONFIG_MFD_RK808 is not set
 # CONFIG_MFD_AXP20X_I2C is not set
+# CONFIG_MFD_ROHM_BD718XX is not set
 CONFIG_MFD_ATMEL_SMC=y
 # end of Multifunction device drivers
 
@@ -785,6 +781,7 @@ CONFIG_REGULATOR_FIXED=y
 # Firmware Drivers
 #
 # CONFIG_FIRMWARE_ALTERA_SERIAL is not set
+# CONFIG_QEMU_FW_CFG is not set
 # end of Firmware Drivers
 
 #
@@ -794,7 +791,11 @@ CONFIG_REGULATOR_FIXED=y
 # end of FPGA Configuration Support
 
 # CONFIG_GENERIC_PHY is not set
-# CONFIG_CRYPTO_HW is not set
+
+#
+# Hardware crypto devices
+#
+# end of Hardware crypto devices
 
 #
 # Memory controller drivers
@@ -914,7 +915,7 @@ CONFIG_LIBUBIGEN=y
 #
 # end of Library gui routines
 
-# CONFIG_NLS is not set
+CONFIG_NLS=y
 # CONFIG_BLOBGEN is not set
 CONFIG_ARCH_HAS_STACK_DUMP=y
 CONFIG_ARCH_HAS_DATA_ABORT_MASK=y
diff --git a/configs/platform-v7a/barebox-at91.config.diff b/configs/platform-v7a/barebox-at91.config.diff
index 2b7b71b6879b..ed3831b6bfbc 100644
--- a/configs/platform-v7a/barebox-at91.config.diff
+++ b/configs/platform-v7a/barebox-at91.config.diff
@@ -1,43 +1,55 @@
-68457081af06bd8377bc38ef02c7d415
-# CONFIG_32BIT is undefined
-# CONFIG_64BIT is undefined
+6779f231005317170237cbdb0787cba8
 CONFIG_ARCH_AT91=y
-# CONFIG_ARCH_BCM283X is not set
+# CONFIG_ARCH_IMX is undefined
+# CONFIG_ARCH_MULTIARCH is not set
+# CONFIG_ARCH_OMAP_MULTI is undefined
+# 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_ARM_PSCI is not set
+# CONFIG_ARM_PSCI_CLIENT is not set
+CONFIG_ARM_USE_COMPRESSED_DTB=y
 CONFIG_AT91SAM9_SMC=y
 CONFIG_AT91_MCI_PBL=y
 CONFIG_AT91_MULTI_BOARDS=y
 CONFIG_ATMEL_EBI=y
+CONFIG_BAREBOX_MAX_PBL_SIZE=0xffffffff
 # CONFIG_BOARD_ARM_GENERIC_DT is not set
-# CONFIG_BOARD_GENERIC_DT is undefined
 CONFIG_BOOTM_OFTREE_UIMAGE=y
+CONFIG_CLKDEV_LOOKUP=y
+CONFIG_CLOCKSOURCE_ARM_ARCHITECTED_TIMER=y
 CONFIG_CLOCKSOURCE_ATMEL_PIT=y
-# CONFIG_CLOCKSOURCE_BCM283X is undefined
+CONFIG_CMD_ARM_MMUINFO=y
 CONFIG_CMD_AT91CLK=y
 CONFIG_CMD_AT91_BOOT_TEST=y
+CONFIG_CMD_CLK=y
+CONFIG_CMD_GPIO=y
 CONFIG_CMD_MENU_MANAGEMENT=y
 # CONFIG_CMD_MMC is not set
 CONFIG_CMD_NAND=y
 # CONFIG_CMD_NANDTEST is not set
 # CONFIG_CMD_NAND_BITFLIP is not set
 # CONFIG_CMD_NVMEM is not set
-# CONFIG_CMD_SMC is undefined
 CONFIG_CMD_UBI=y
 CONFIG_CMD_UBIFORMAT=y
 # CONFIG_CMD_USB is undefined
 # CONFIG_CMD_USBGADGET is undefined
+CONFIG_COMMON_CLK=y
 CONFIG_COMMON_CLK_AT91=y
+CONFIG_COMMON_CLK_OF_PROVIDER=y
 CONFIG_COMPILE_LOGLEVEL=6
-# CONFIG_CPU_SUPPORTS_32BIT_KERNEL is undefined
-# CONFIG_CPU_SUPPORTS_64BIT_KERNEL is undefined
+CONFIG_CPU_32=y
+CONFIG_CPU_32v7=y
+CONFIG_CPU_V7=y
 CONFIG_DEBUG_AT91_UART_BASE=0xfc069000
+# CONFIG_DEBUG_LL is not set
 # CONFIG_DEBUG_PBL is not set
+# CONFIG_DEFAULT_COMPRESSION_BZIP2 is undefined
+# CONFIG_DEFAULT_COMPRESSION_GZIP is undefined
+# CONFIG_DEFAULT_COMPRESSION_LZO is undefined
+# CONFIG_DEFAULT_COMPRESSION_XZ is undefined
 CONFIG_DEFAULT_LOGLEVEL=7
-# CONFIG_DRIVER_NET_ARC_EMAC is undefined
+# CONFIG_DISK_AHCI is not set
+# CONFIG_DRIVER_NET_DESIGNWARE_GENERIC is not set
 CONFIG_DRIVER_NET_MACB=y
 CONFIG_DRIVER_NET_MICREL=y
 CONFIG_DRIVER_SERIAL_ATMEL=y
@@ -49,14 +61,28 @@ CONFIG_EEPROM_AT24=y
 # CONFIG_FASTBOOT_BASE is undefined
 # CONFIG_FASTBOOT_CMD_OEM is undefined
 # CONFIG_FASTBOOT_SPARSE is undefined
+# CONFIG_FIRMWARE_ALTERA_SERIAL is not set
 CONFIG_FS_UBIFS=y
 # CONFIG_FS_UBIFS_COMPRESSION_LZO is not set
 # CONFIG_FS_UBIFS_COMPRESSION_ZLIB is not set
 CONFIG_FS_UBIFS_COMPRESSION_ZSTD=y
 CONFIG_GENERIC_ALLOCATOR=y
-# CONFIG_GPIO_PL061 is undefined
-# CONFIG_GPIO_RASPBERRYPI_EXP is undefined
+CONFIG_GENERIC_GPIO=y
+CONFIG_GPIOLIB=y
+# CONFIG_GPIO_74164 is not set
+# CONFIG_GPIO_74XX_MMIO is not set
+# CONFIG_GPIO_DESIGNWARE is not set
+# CONFIG_GPIO_GENERIC_PLATFORM is not set
+# CONFIG_GPIO_LATCH is not set
+# CONFIG_GPIO_PCA953X is not set
+# CONFIG_GPIO_PCF857X is not set
+# CONFIG_GPIO_SIFIVE is not set
+# CONFIG_GPIO_SX150X is not set
+# CONFIG_GPIO_WATCHDOG is not set
+CONFIG_HAS_DEBUG_LL=y
+CONFIG_HAS_DMA=y
 CONFIG_HAS_MACB=y
+CONFIG_HAS_MODULES=y
 CONFIG_HAVE_AT91SAM9_RST=y
 CONFIG_HAVE_AT91_AUDIO_PLL=y
 CONFIG_HAVE_AT91_DDRAMC=y
@@ -66,30 +92,35 @@ CONFIG_HAVE_AT91_I2S_MUX_CLK=y
 CONFIG_HAVE_AT91_SMD=y
 CONFIG_HAVE_AT91_USB_CLK=y
 CONFIG_HAVE_AT91_UTMI=y
-CONFIG_HAVE_MACH_ARM_HEAD=y
+CONFIG_HAVE_CLK=y
+CONFIG_HAVE_MOD_ARCH_SPECIFIC=y
+CONFIG_HAVE_PBL_IMAGE=y
+CONFIG_HAVE_PBL_MULTI_IMAGES=y
 # CONFIG_HWRNG is not set
-# CONFIG_I2C_ALGOBIT is undefined
 CONFIG_I2C_AT91=y
-# CONFIG_I2C_BCM283X is undefined
 # CONFIG_I2C_GPIO is not set
+# CONFIG_I2C_MV64XXX is not set
+CONFIG_IMAGE_COMPRESSION=y
+# CONFIG_IMAGE_COMPRESSION_GZIP is not set
+# CONFIG_IMAGE_COMPRESSION_LZ4 is not set
 # CONFIG_IMAGE_COMPRESSION_LZO is not set
 CONFIG_IMAGE_COMPRESSION_NONE=y
+# CONFIG_IMAGE_COMPRESSION_XZKERN is not set
 # CONFIG_IMAGE_SPARSE is undefined
 CONFIG_IMD_TARGET=y
+# CONFIG_JTAG is not set
+# CONFIG_KEYBOARD_GPIO is not set
+# CONFIG_KEYBOARD_QT1070 is not set
 # CONFIG_KEYBOARD_USB is undefined
-# CONFIG_LIBFDT is undefined
+CONFIG_LED_GPIO=y
+# CONFIG_LED_GPIO_BICOLOR is not set
+CONFIG_LED_GPIO_OF=y
+# CONFIG_LED_GPIO_RGB is not set
 CONFIG_LIBSCAN=y
 CONFIG_LIBUBIGEN=y
 # CONFIG_MACH_AT91SAM9263EK is not set
 # CONFIG_MACH_AT91SAM9X5EK is not set
 # CONFIG_MACH_MICROCHIP_KSZ9477_EVB is not set
-# CONFIG_MACH_RPI2 is undefined
-# CONFIG_MACH_RPI3 is undefined
-# CONFIG_MACH_RPI4 is undefined
-# CONFIG_MACH_RPI is undefined
-# CONFIG_MACH_RPI_AARCH_32_64 is undefined
-# CONFIG_MACH_RPI_CM3 is undefined
-# CONFIG_MACH_RPI_COMMON is undefined
 CONFIG_MACH_SAMA5D27_GIANTBOARD=y
 CONFIG_MACH_SAMA5D27_SOM1=y
 # CONFIG_MACH_SAMA5D3_XPLAINED is not set
@@ -98,12 +129,11 @@ CONFIG_MACH_SAMA5D4_WIFX=y
 CONFIG_MCI_ATMEL=y
 CONFIG_MCI_ATMEL_SDHCI=y
 CONFIG_MCI_ATMEL_SDHCI_PBL=y
-# CONFIG_MCI_BCM283X is undefined
-# CONFIG_MCI_BCM283X_SDHOST is undefined
-# CONFIG_MCI_MMCI is undefined
+# CONFIG_MCI_DW is not set
 CONFIG_MCI_MMC_BOOT_PARTITIONS=y
 CONFIG_MCI_SDHCI=y
 # CONFIG_MCI_STARTUP is not set
+# CONFIG_MDIO_BUS_MUX_GPIO is not set
 CONFIG_MFD_ATMEL_FLEXCOM=y
 CONFIG_MFD_ATMEL_SMC=y
 CONFIG_MFD_SYSCON=y
@@ -132,15 +162,18 @@ CONFIG_NVMEM=y
 # CONFIG_NVMEM_RMEM is not set
 # CONFIG_NVMEM_SNVS_LPGPR is not set
 CONFIG_OF_BAREBOX_ENV_IN_FS=y
+CONFIG_OF_GPIO=y
 CONFIG_PBL_CONSOLE=y
+CONFIG_PBL_IMAGE=y
+CONFIG_PBL_MULTI_IMAGES=y
+CONFIG_PBL_RELOCATABLE=y
 CONFIG_PINCTRL_AT91=y
 CONFIG_PINCTRL_AT91PIO4=y
-# CONFIG_PINCTRL_BCM283X is undefined
+# CONFIG_POWER_RESET_GPIO is not set
+# CONFIG_POWER_RESET_GPIO_RESTART is not set
 CONFIG_PROMPT="barebox:"
 # CONFIG_REGULATOR_ANATOP is not set
-# CONFIG_REGULATOR_BCM283X is undefined
 CONFIG_REGULATOR_FIXED=y
-# CONFIG_SERIAL_AMBA_PL011 is undefined
 CONFIG_SOC_SAMA5=y
 CONFIG_SOC_SAMA5D2=y
 CONFIG_SOC_SAMA5D4=y
@@ -150,14 +183,11 @@ CONFIG_SPI_ATMEL_QUADSPI=y
 CONFIG_SPI_MEM=y
 CONFIG_SRAM=y
 # CONFIG_SYSCON_REBOOT_MODE is not set
-# CONFIG_THUMB2_BAREBOX is undefined
 CONFIG_UBIFORMAT=y
 # CONFIG_USB is undefined
 # CONFIG_USBGADGET_START is undefined
 # CONFIG_USB_DWC2_GADGET is undefined
 # CONFIG_USB_DWC2_HOST is undefined
-# CONFIG_USB_DWC3 is undefined
-# CONFIG_USB_EHCI is undefined
 # CONFIG_USB_GADGET is not set
 # CONFIG_USB_GADGET_AUTOSTART is undefined
 # CONFIG_USB_GADGET_DFU is undefined
@@ -167,11 +197,11 @@ CONFIG_UBIFORMAT=y
 # CONFIG_USB_HOST is not set
 # CONFIG_USB_HUB_USB251XB is undefined
 # CONFIG_USB_NET_AX88179_178A is undefined
+# CONFIG_USB_ONBOARD_HUB is undefined
 # CONFIG_USB_STORAGE is undefined
 # CONFIG_USB_ULPI is undefined
-# CONFIG_USB_XHCI is undefined
+CONFIG_USE_COMPRESSED_DTB=y
 CONFIG_WATCHDOG_AT91SAM9=y
-# CONFIG_WATCHDOG_BCM2835 is undefined
 CONFIG_XXHASH=y
 # CONFIG_XZ_DECOMPRESS is not set
 # CONFIG_XZ_DEC_ARM is undefined
diff --git a/configs/platform-v7a/barebox-mx6.config b/configs/platform-v7a/barebox-mx6.config
index f6a1003d1570..57f57f907495 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.02.1 Configuration
+# Barebox/arm 2023.04.0 Configuration
 #
 CONFIG_ARM=y
 CONFIG_ARM_LINUX=y
@@ -9,32 +9,31 @@ CONFIG_TEXT_BASE=0x0
 #
 # System Type
 #
+CONFIG_ARCH_MULTIARCH=y
 # CONFIG_ARCH_AT91 is not set
-# CONFIG_ARCH_BCM283X is not set
 # CONFIG_ARCH_CLPS711X is not set
 # CONFIG_ARCH_DAVINCI is not set
 # CONFIG_ARCH_DIGIC is not set
 # CONFIG_ARCH_EP93XX is not set
-CONFIG_ARCH_IMX=y
 # CONFIG_ARCH_LAYERSCAPE is not set
 # CONFIG_ARCH_MVEBU is not set
 # CONFIG_ARCH_MXS is not set
 # CONFIG_ARCH_NOMADIK is not set
-# CONFIG_ARCH_OMAP is not set
+# CONFIG_ARCH_OMAP_SINGLE is not set
 # CONFIG_ARCH_PXA is not set
-# CONFIG_ARCH_ROCKCHIP is not set
 # CONFIG_ARCH_SOCFPGA is not set
-# CONFIG_ARCH_S3C24xx is not set
-# CONFIG_ARCH_S5PCxx is not set
-# CONFIG_ARCH_S3C64xx is not set
-# CONFIG_ARCH_STM32MP is not set
 # CONFIG_ARCH_VERSATILE is not set
-# CONFIG_ARCH_VEXPRESS is not set
 # CONFIG_ARCH_TEGRA is not set
 # CONFIG_ARCH_UEMD is not set
 # CONFIG_ARCH_ZYNQ is not set
-# CONFIG_ARCH_ZYNQMP is not set
 # CONFIG_ARCH_ARM64_VIRT is not set
+# CONFIG_ARCH_BCM283X is not set
+CONFIG_ARCH_IMX=y
+# CONFIG_ARCH_OMAP_MULTI is not set
+# CONFIG_ARCH_ROCKCHIP is not set
+# CONFIG_ARCH_STM32MP is not set
+# CONFIG_ARCH_VEXPRESS is not set
+# CONFIG_ARCH_ZYNQMP is not set
 
 #
 # Processor Type
@@ -49,88 +48,111 @@ CONFIG_CPU_32v7=y
 # CONFIG_BOOT_ENDIANNESS_SWITCH is not set
 CONFIG_ARCH_HAS_L2X0=y
 # CONFIG_CACHE_L2X0 is not set
-CONFIG_ARCH_TEXT_BASE=0x4fc00000
+CONFIG_CPU_SUPPORTS_32BIT_KERNEL=y
+CONFIG_CPU_SUPPORTS_64BIT_KERNEL=y
 CONFIG_ARCH_IMX_IMXIMAGE=y
 CONFIG_RESET_IMX_SRC=y
 
 #
-# Freescale i.MX System-on-Chip
+# i.MX boards
 #
 CONFIG_ARCH_IMX6=y
 CONFIG_ARCH_IMX6SX=y
-CONFIG_IMX_MULTI_BOARDS=y
+
+#
+# i.MX1 boards
+#
 # CONFIG_MACH_SCB9328 is not set
+
+#
+# i.MX25 boards
+#
 # CONFIG_MACH_TX25 is not set
+
+#
+# i.MX27 boards
+#
 # CONFIG_MACH_PCA100 is not set
 # CONFIG_MACH_PCM038 is not set
+
+#
+# i.MX50 boards
+#
 # CONFIG_MACH_KINDLE_MX50 is not set
+
+#
+# i.MX51 boards
+#
 # CONFIG_MACH_CCMX51 is not set
 # CONFIG_MACH_EFIKA_MX_SMARTBOOK is not set
-# CONFIG_MACH_EMBEDSKY_E9 is not set
 # CONFIG_MACH_FREESCALE_MX51_PDK is not set
+
+#
+# i.MX53 boards
+#
 # CONFIG_MACH_CCMX53 is not set
 # CONFIG_MACH_FREESCALE_MX53_LOCO is not set
 # CONFIG_MACH_GUF_VINCELL is not set
+# CONFIG_MACH_TX53 is not set
 # CONFIG_MACH_TQMA53 is not set
 # CONFIG_MACH_FREESCALE_MX53_VMX53 is not set
-# CONFIG_MACH_TX53 is not set
-# CONFIG_MACH_PHYTEC_SOM_IMX6 is not set
-# CONFIG_MACH_PROTONIC_IMX6 is not set
-# CONFIG_MACH_PROTONIC_IMX8M is not set
-# CONFIG_MACH_INNOCOMM_WB15 is not set
-# CONFIG_MACH_KONTRON_SAMX6I is not set
-# CONFIG_MACH_DFI_FS700_M60 is not set
-# CONFIG_MACH_GUF_SANTARO is not set
+# CONFIG_MACH_ZII_RDU1 is not set
+
+#
+# i.MX6 boards
+#
+# CONFIG_MACH_ADVANTECH_ROM_742X is not set
+CONFIG_MACH_NITROGEN6=y
+# CONFIG_MACH_CM_FX6 is not set
 # CONFIG_MACH_REALQ7 is not set
-# CONFIG_MACH_GK802 is not set
+# CONFIG_MACH_DFI_FS700_M60 is not set
+# CONFIG_MACH_DIGI_CCIMX6ULSBCPRO is not set
 # CONFIG_MACH_ELTEC_HIPERCAM is not set
-# CONFIG_MACH_TQMA6X is not set
-# CONFIG_MACH_TQMA6UL is not set
-# CONFIG_MACH_TX6X is not set
+# CONFIG_MACH_EMBEDSKY_E9 is not set
+# CONFIG_MACH_EMBEST_MARSBOARD is not set
+CONFIG_MACH_EMBEST_RIOTBOARD=y
 CONFIG_MACH_SABRELITE=y
 # CONFIG_MACH_SABRESD is not set
 # CONFIG_MACH_FREESCALE_IMX6SX_SABRESDB is not set
-CONFIG_MACH_NITROGEN6=y
+# CONFIG_MACH_UDOO is not set
+CONFIG_MACH_UDOO_NEO=y
+# CONFIG_MACH_GUF_SANTARO is not set
+# CONFIG_MACH_GW_VENTANA is not set
+# CONFIG_MACH_GRINN_LITEBOARD is not set
+# CONFIG_MACH_TX6X is not set
+# CONFIG_MACH_KONTRON_SAMX6I is not set
+# CONFIG_MACH_NOVENA is not set
+# CONFIG_MACH_NXP_IMX6ULL_EVK is not set
+# CONFIG_MACH_PHYTEC_SOM_IMX6 is not set
+# CONFIG_MACH_PROTONIC_IMX6 is not set
+# CONFIG_MACH_SKOV_IMX6 is not set
 # CONFIG_MACH_SOLIDRUN_MICROSOM is not set
 # CONFIG_MACH_TECHNEXION_PICO_HOBBIT is not set
 # CONFIG_MACH_TECHNEXION_WANDBOARD is not set
-# CONFIG_MACH_EMBEST_MARSBOARD is not set
-CONFIG_MACH_EMBEST_RIOTBOARD=y
-# CONFIG_MACH_UDOO is not set
-CONFIG_MACH_UDOO_NEO=y
+# CONFIG_MACH_TQMA6X is not set
+# CONFIG_MACH_TQMA6UL is not set
 # CONFIG_MACH_VARISCITE_MX6 is not set
-# CONFIG_MACH_GW_VENTANA is not set
-# CONFIG_MACH_CM_FX6 is not set
-# CONFIG_MACH_ADVANTECH_ROM_742X is not set
-# CONFIG_MACH_WARP7 is not set
-# CONFIG_MACH_AC_SXB is not set
-# CONFIG_MACH_MEERKAT96 is not set
-# CONFIG_MACH_VF610_TWR is not set
-# CONFIG_MACH_ZII_RDU1 is not set
+# CONFIG_MACH_WEBASTO_CCBV2 is not set
+# CONFIG_MACH_GK802 is not set
 # CONFIG_MACH_ZII_RDU2 is not set
-# CONFIG_MACH_ZII_IMX8MQ_DEV is not set
-# CONFIG_MACH_ZII_VF610_DEV is not set
-# CONFIG_MACH_ZII_IMX7D_DEV is not set
-# CONFIG_MACH_PHYTEC_PHYCORE_IMX7 is not set
+
+#
+# i.MX7 boards
+#
+# CONFIG_MACH_MEERKAT96 is not set
+# CONFIG_MACH_AC_SXB is not set
+# CONFIG_MACH_WARP7 is not set
 # CONFIG_MACH_FREESCALE_MX7_SABRESD is not set
+# CONFIG_MACH_PHYTEC_PHYCORE_IMX7 is not set
+# CONFIG_MACH_ZII_IMX7D_DEV is not set
 # CONFIG_MACH_KAMSTRUP_MX7_CONCENTRATOR is not set
-# CONFIG_MACH_NXP_IMX6ULL_EVK is not set
-# CONFIG_MACH_NXP_IMX8MM_EVK is not set
-# CONFIG_MACH_NXP_IMX8MN_EVK is not set
-# CONFIG_MACH_NXP_IMX8MP_EVK is not set
-# CONFIG_MACH_NXP_IMX8MQ_EVK is not set
-# CONFIG_MACH_PHYTEC_SOM_IMX8MQ is not set
-# CONFIG_MACH_TQ_MBA8MPXL is not set
-# CONFIG_MACH_GRINN_LITEBOARD is not set
-# CONFIG_MACH_DIGI_CCIMX6ULSBCPRO is not set
-# CONFIG_MACH_WEBASTO_CCBV2 is not set
-# CONFIG_MACH_MNT_REFORM is not set
-# CONFIG_MACH_SKOV_IMX6 is not set
 
 #
-# Board specific settings
+# VF610 boards
 #
-# end of Board specific settings
+# CONFIG_MACH_VF610_TWR is not set
+# CONFIG_MACH_ZII_VF610_DEV is not set
+# end of i.MX boards
 
 #
 # i.MX specific settings
@@ -147,6 +169,9 @@ CONFIG_THUMB2_BAREBOX=y
 # CONFIG_ARM_BOARD_APPEND_ATAG is not set
 # end of System Type
 
+CONFIG_32BIT=y
+# CONFIG_64BIT is not set
+
 #
 # ARM specific settings
 #
@@ -578,6 +603,7 @@ CONFIG_PHYLIB=y
 #
 # Network drivers
 #
+# CONFIG_DRIVER_NET_ARC_EMAC is not set
 # CONFIG_DRIVER_NET_BCMGENET is not set
 # CONFIG_DRIVER_NET_DESIGNWARE_GENERIC is not set
 # CONFIG_DRIVER_NET_ENC28J60 is not set
@@ -726,6 +752,7 @@ CONFIG_USB_STORAGE=y
 # USB Miscellaneous drivers
 #
 # CONFIG_USB_HUB_USB251XB is not set
+# CONFIG_USB_ONBOARD_HUB is not set
 CONFIG_USB_GADGET=y
 CONFIG_USB_GADGET_DUALSPEED=y
 CONFIG_USB_GADGET_DRIVER_ARC=y
@@ -749,6 +776,7 @@ CONFIG_DRIVER_VIDEO_IMX_IPUV3_LVDS=y
 # CONFIG_DRIVER_VIDEO_BOCHS_ISA is not set
 # CONFIG_DRIVER_VIDEO_SIMPLEFB_CLIENT is not set
 CONFIG_DRIVER_VIDEO_SIMPLEFB=y
+# CONFIG_DRIVER_VIDEO_RAMFB is not set
 # CONFIG_DRIVER_VIDEO_EDID is not set
 # CONFIG_DRIVER_VIDEO_BACKLIGHT is not set
 
@@ -815,6 +843,7 @@ CONFIG_MFD_SYSCON=y
 # CONFIG_MFD_ATMEL_FLEXCOM is not set
 # CONFIG_MFD_RK808 is not set
 # CONFIG_MFD_AXP20X_I2C is not set
+# CONFIG_MFD_ROHM_BD718XX is not set
 # end of Multifunction device drivers
 
 #
@@ -940,6 +969,7 @@ CONFIG_HW_HAS_PCI=y
 # Firmware Drivers
 #
 # CONFIG_FIRMWARE_ALTERA_SERIAL is not set
+# CONFIG_QEMU_FW_CFG is not set
 # end of Firmware Drivers
 
 #
@@ -951,7 +981,12 @@ CONFIG_HW_HAS_PCI=y
 CONFIG_GENERIC_PHY=y
 CONFIG_USB_NOP_XCEIV=y
 # CONFIG_PHY_FSL_IMX8MQ_USB is not set
-# CONFIG_CRYPTO_HW is not set
+
+#
+# Hardware crypto devices
+#
+# CONFIG_CRYPTO_DEV_FSL_CAAM is not set
+# end of Hardware crypto devices
 
 #
 # Memory controller drivers
@@ -1088,7 +1123,7 @@ CONFIG_LODEPNG=y
 
 # CONFIG_BAREBOX_LOGO is not set
 CONFIG_PRINTF_UUID=y
-# CONFIG_NLS is not set
+CONFIG_NLS=y
 # CONFIG_BLOBGEN is not set
 CONFIG_ARCH_HAS_STACK_DUMP=y
 CONFIG_ARCH_HAS_DATA_ABORT_MASK=y
diff --git a/configs/platform-v7a/barebox-mx6.config.diff b/configs/platform-v7a/barebox-mx6.config.diff
index 0ff150f6ebbc..1ac8b558c3f1 100644
--- a/configs/platform-v7a/barebox-mx6.config.diff
+++ b/configs/platform-v7a/barebox-mx6.config.diff
@@ -1,7 +1,6 @@
-68457081af06bd8377bc38ef02c7d415
-# CONFIG_32BIT is undefined
-# CONFIG_64BIT is undefined
-# CONFIG_ARCH_BCM283X is not set
+6779f231005317170237cbdb0787cba8
+CONFIG_32BIT=y
+# CONFIG_64BIT is not set
 CONFIG_ARCH_HAS_FEC_IMX=y
 CONFIG_ARCH_HAS_IMX_GPT=y
 CONFIG_ARCH_HAS_L2X0=y
@@ -10,39 +9,54 @@ CONFIG_ARCH_IMX6SX=y
 CONFIG_ARCH_IMX=y
 CONFIG_ARCH_IMX_IMXIMAGE=y
 # CONFIG_ARCH_IMX_USBLOADER is not set
-CONFIG_ARCH_TEXT_BASE=0x4fc00000
+CONFIG_ARM_AMBA=y
 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
+# CONFIG_ARM_PSCI is not set
+# CONFIG_ARM_PSCI_CLIENT is not set
 CONFIG_AT803X_PHY=y
 # CONFIG_BAREBOX_LOGO is not set
+CONFIG_BAREBOX_MAX_PBL_SIZE=0xffffffff
 CONFIG_BAREBOX_UPDATE_IMX_NAND_FCB=y
 CONFIG_BCH=y
 # CONFIG_BMP is not set
+CONFIG_BOARD_ARM_GENERIC_DT=y
+CONFIG_BOARD_GENERIC_DT=y
 CONFIG_BOOTM_OFTREE_UIMAGE=y
 # CONFIG_CACHE_L2X0 is not set
-# CONFIG_CLOCKSOURCE_BCM283X is undefined
+CONFIG_CLKDEV_LOOKUP=y
+CONFIG_CLOCKSOURCE_ARM_ARCHITECTED_TIMER=y
 CONFIG_CLOCKSOURCE_IMX_GPT=y
+CONFIG_CMD_ARM_MMUINFO=y
+CONFIG_CMD_CLK=y
 # CONFIG_CMD_FBTEST is not set
 CONFIG_CMD_FCB=y
+CONFIG_CMD_GPIO=y
 # CONFIG_CMD_KEYSTORE is not set
 CONFIG_CMD_MMC_EXTCSD=y
 CONFIG_CMD_NAND=y
 # CONFIG_CMD_NANDTEST is not set
 # CONFIG_CMD_NAND_BITFLIP is not set
 # CONFIG_CMD_NVMEM is not set
-# CONFIG_CMD_SMC is undefined
 CONFIG_CMD_SPLASH=y
 CONFIG_CMD_UBI=y
 CONFIG_CMD_UBIFORMAT=y
+CONFIG_COMMON_CLK=y
+CONFIG_COMMON_CLK_OF_PROVIDER=y
 # CONFIG_CONSOLE_ACTIVATE_FIRST is not set
 CONFIG_CONSOLE_ACTIVATE_NONE=y
-# CONFIG_CPU_SUPPORTS_32BIT_KERNEL is undefined
-# CONFIG_CPU_SUPPORTS_64BIT_KERNEL is undefined
+CONFIG_CPU_32=y
+CONFIG_CPU_32v7=y
+CONFIG_CPU_SUPPORTS_32BIT_KERNEL=y
+CONFIG_CPU_SUPPORTS_64BIT_KERNEL=y
+CONFIG_CPU_V7=y
+# CONFIG_CRYPTO_DEV_FSL_CAAM is not set
 CONFIG_CRYPTO_KEYSTORE=y
 CONFIG_DEBUG_IMX_UART_PORT=1
+# CONFIG_DEBUG_LL is not set
+# CONFIG_DEFAULT_COMPRESSION_BZIP2 is undefined
+# CONFIG_DEFAULT_COMPRESSION_GZIP is undefined
+# CONFIG_DEFAULT_COMPRESSION_LZO is undefined
+# CONFIG_DEFAULT_COMPRESSION_XZ is undefined
 CONFIG_DEFAULT_ENVIRONMENT_GENERIC_NEW_DFU=y
 CONFIG_DIGEST_HMAC_GENERIC=y
 CONFIG_DISK_AHCI=y
@@ -51,10 +65,12 @@ CONFIG_DISK_ATA=y
 CONFIG_DISK_IDE_SFF=y
 CONFIG_DISK_INTF_PLATFORM_IDE=y
 CONFIG_DISK_PATA_IMX=y
-# CONFIG_DRIVER_NET_ARC_EMAC is undefined
+# CONFIG_DRIVER_NET_ARC_EMAC is not set
+# CONFIG_DRIVER_NET_DESIGNWARE_GENERIC is not set
 CONFIG_DRIVER_NET_FEC_IMX=y
 CONFIG_DRIVER_SERIAL_IMX=y
 # CONFIG_DRIVER_SPI_FSL_QUADSPI is not set
+CONFIG_DRIVER_SPI_GPIO=y
 CONFIG_DRIVER_SPI_IMX=y
 CONFIG_DRIVER_SPI_IMX_2_3=y
 # CONFIG_DRIVER_VIDEO_BACKLIGHT is not set
@@ -66,36 +82,71 @@ CONFIG_DRIVER_VIDEO_IMX_IPUV3_LVDS=y
 # CONFIG_DRIVER_VIDEO_IMX_IPUV3_PARALLEL is not set
 # CONFIG_DRIVER_VIDEO_MTL017 is not set
 # CONFIG_DRIVER_VIDEO_PANEL_ILITEK_ILI9341 is not set
+# CONFIG_DRIVER_VIDEO_RAMFB is not set
 CONFIG_DRIVER_VIDEO_SIMPLEFB=y
 # CONFIG_DRIVER_VIDEO_SIMPLEFB_CLIENT is not set
 # CONFIG_DRIVER_VIDEO_SIMPLE_PANEL is not set
 # CONFIG_EEPROM_93XX46 is not set
 CONFIG_EEPROM_AT25=y
+# CONFIG_FIRMWARE_ALTERA_SERIAL is not set
 # CONFIG_FRAMEBUFFER_CONSOLE is not set
 CONFIG_FS_UBIFS=y
 CONFIG_FS_UBIFS_COMPRESSION_LZO=y
 # CONFIG_FS_UBIFS_COMPRESSION_ZLIB is not set
 CONFIG_FS_UBIFS_COMPRESSION_ZSTD=y
+CONFIG_GENERIC_GPIO=y
 CONFIG_GENERIC_PHY=y
+CONFIG_GPIOLIB=y
+# CONFIG_GPIO_74164 is not set
+# CONFIG_GPIO_74XX_MMIO is not set
+# CONFIG_GPIO_DESIGNWARE is not set
+# CONFIG_GPIO_GENERIC_PLATFORM is not set
 CONFIG_GPIO_IMX=y
-# CONFIG_GPIO_RASPBERRYPI_EXP is undefined
+# CONFIG_GPIO_LATCH is not set
+# CONFIG_GPIO_PCA953X is not set
+# CONFIG_GPIO_PCF857X is not set
+# CONFIG_GPIO_PL061 is not set
+# CONFIG_GPIO_SIFIVE is not set
+# CONFIG_GPIO_SX150X is not set
+# CONFIG_GPIO_WATCHDOG is not set
 # CONFIG_HABV4 is not set
+CONFIG_HAS_DEBUG_LL=y
+CONFIG_HAS_DMA=y
+CONFIG_HAS_MODULES=y
+CONFIG_HAVE_CLK=y
 CONFIG_HAVE_DIGEST_HMAC=y
+CONFIG_HAVE_MOD_ARCH_SPECIFIC=y
+CONFIG_HAVE_PBL_IMAGE=y
+CONFIG_HAVE_PBL_MULTI_IMAGES=y
 # CONFIG_HWRNG is not set
 CONFIG_HW_HAS_PCI=y
-# CONFIG_I2C_BCM283X is undefined
+CONFIG_I2C_ALGOBIT=y
+CONFIG_I2C_GPIO=y
 CONFIG_I2C_IMX=y
+# CONFIG_I2C_MV64XXX is not set
+CONFIG_IMAGE_COMPRESSION=y
+# CONFIG_IMAGE_COMPRESSION_GZIP is not set
+# CONFIG_IMAGE_COMPRESSION_LZ4 is not set
+CONFIG_IMAGE_COMPRESSION_LZO=y
+# CONFIG_IMAGE_COMPRESSION_NONE is not set
+# CONFIG_IMAGE_COMPRESSION_XZKERN is not set
 CONFIG_IMAGE_RENDERER=y
 CONFIG_IMX_IIM=y
 CONFIG_IMX_IIM_FUSE_BLOW=y
-CONFIG_IMX_MULTI_BOARDS=y
 CONFIG_IMX_OCOTP=y
 # CONFIG_IMX_OCOTP_WRITE is not set
 # CONFIG_IMX_WEIM is not set
 CONFIG_INPUT=y
+# CONFIG_JTAG is not set
 CONFIG_KEYBOARD_GPIO=y
 # CONFIG_KEYBOARD_IMX_KEYPAD is not set
+# CONFIG_KEYBOARD_QT1070 is not set
+CONFIG_LED_GPIO=y
+# CONFIG_LED_GPIO_BICOLOR is not set
+CONFIG_LED_GPIO_OF=y
+# CONFIG_LED_GPIO_RGB is not set
 # CONFIG_LED_PWM is not set
+CONFIG_LIBFDT=y
 CONFIG_LIBSCAN=y
 CONFIG_LIBUBIGEN=y
 CONFIG_LODEPNG=y
@@ -121,33 +172,19 @@ CONFIG_MACH_EMBEST_RIOTBOARD=y
 # CONFIG_MACH_GUF_SANTARO is not set
 # CONFIG_MACH_GUF_VINCELL is not set
 # CONFIG_MACH_GW_VENTANA is not set
-# CONFIG_MACH_INNOCOMM_WB15 is not set
 # CONFIG_MACH_KAMSTRUP_MX7_CONCENTRATOR is not set
 # CONFIG_MACH_KINDLE_MX50 is not set
 # CONFIG_MACH_KONTRON_SAMX6I is not set
 # CONFIG_MACH_MEERKAT96 is not set
-# CONFIG_MACH_MNT_REFORM is not set
 CONFIG_MACH_NITROGEN6=y
+# CONFIG_MACH_NOVENA is not set
 # CONFIG_MACH_NXP_IMX6ULL_EVK is not set
-# CONFIG_MACH_NXP_IMX8MM_EVK is not set
-# CONFIG_MACH_NXP_IMX8MN_EVK is not set
-# CONFIG_MACH_NXP_IMX8MP_EVK is not set
-# CONFIG_MACH_NXP_IMX8MQ_EVK is not set
 # CONFIG_MACH_PCA100 is not set
 # CONFIG_MACH_PCM038 is not set
 # CONFIG_MACH_PHYTEC_PHYCORE_IMX7 is not set
 # CONFIG_MACH_PHYTEC_SOM_IMX6 is not set
-# CONFIG_MACH_PHYTEC_SOM_IMX8MQ is not set
 # CONFIG_MACH_PROTONIC_IMX6 is not set
-# CONFIG_MACH_PROTONIC_IMX8M is not set
 # CONFIG_MACH_REALQ7 is not set
-# CONFIG_MACH_RPI2 is undefined
-# CONFIG_MACH_RPI3 is undefined
-# CONFIG_MACH_RPI4 is undefined
-# CONFIG_MACH_RPI is undefined
-# CONFIG_MACH_RPI_AARCH_32_64 is undefined
-# CONFIG_MACH_RPI_CM3 is undefined
-# CONFIG_MACH_RPI_COMMON is undefined
 CONFIG_MACH_SABRELITE=y
 # CONFIG_MACH_SABRESD is not set
 # CONFIG_MACH_SCB9328 is not set
@@ -158,7 +195,6 @@ CONFIG_MACH_SABRELITE=y
 # CONFIG_MACH_TQMA53 is not set
 # CONFIG_MACH_TQMA6UL is not set
 # CONFIG_MACH_TQMA6X is not set
-# CONFIG_MACH_TQ_MBA8MPXL is not set
 # CONFIG_MACH_TX25 is not set
 # CONFIG_MACH_TX53 is not set
 # CONFIG_MACH_TX6X is not set
@@ -169,18 +205,17 @@ CONFIG_MACH_UDOO_NEO=y
 # CONFIG_MACH_WARP7 is not set
 # CONFIG_MACH_WEBASTO_CCBV2 is not set
 # CONFIG_MACH_ZII_IMX7D_DEV is not set
-# CONFIG_MACH_ZII_IMX8MQ_DEV is not set
 # CONFIG_MACH_ZII_RDU1 is not set
 # CONFIG_MACH_ZII_RDU2 is not set
 # CONFIG_MACH_ZII_VF610_DEV is not set
-# CONFIG_MCI_BCM283X is undefined
-# CONFIG_MCI_BCM283X_SDHOST is undefined
+# CONFIG_MCI_DW is not set
 CONFIG_MCI_IMX_ESDHC=y
 # CONFIG_MCI_IMX_ESDHC_PIO is not set
 # CONFIG_MCI_MMCI is not set
 CONFIG_MCI_MMC_BOOT_PARTITIONS=y
 CONFIG_MCI_SDHCI=y
 # CONFIG_MCI_STARTUP is not set
+# CONFIG_MDIO_BUS_MUX_GPIO is not set
 CONFIG_MFD_SYSCON=y
 CONFIG_MICREL_PHY=y
 CONFIG_MTD_DATAFLASH=y
@@ -208,34 +243,42 @@ CONFIG_NVMEM=y
 # CONFIG_NVMEM_REBOOT_MODE is not set
 # CONFIG_NVMEM_RMEM is not set
 # CONFIG_NVMEM_SNVS_LPGPR is not set
+CONFIG_OF_GPIO=y
 CONFIG_PARTITION_DISK_EFI=y
 CONFIG_PARTITION_DISK_EFI_GPT_COMPARE=y
 CONFIG_PARTITION_DISK_EFI_GPT_NO_FORCE=y
+# CONFIG_PBL_CONSOLE is not set
+CONFIG_PBL_IMAGE=y
+CONFIG_PBL_MULTI_IMAGES=y
 # CONFIG_PBL_OPTEE is undefined
+CONFIG_PBL_RELOCATABLE=y
 # CONFIG_PCI is not set
 # CONFIG_PCI_ECAM_GENERIC is not set
 # CONFIG_PCI_IMX6 is not set
 # CONFIG_PHY_FSL_IMX8MQ_USB is not set
 # CONFIG_PICOPNG is not set
-# CONFIG_PINCTRL_BCM283X is undefined
 CONFIG_PINCTRL_IMX_IOMUX_V3=y
 CONFIG_PNG=y
+# CONFIG_POWER_RESET_GPIO is not set
+# CONFIG_POWER_RESET_GPIO_RESTART is not set
 CONFIG_PRINTF_UUID=y
 CONFIG_PROMPT="barebox:"
 CONFIG_PWM=y
 CONFIG_PWM_IMX=y
 # CONFIG_QOI is not set
 # CONFIG_REGULATOR_ANATOP is not set
-# CONFIG_REGULATOR_BCM283X is undefined
 CONFIG_REGULATOR_FIXED=y
 # CONFIG_REGULATOR_PFUZE is not set
 CONFIG_RESET_IMX_SRC=y
+# CONFIG_SERIAL_AMBA_PL011 is not set
 # CONFIG_SPI_CADENCE_QUADSPI is not set
 CONFIG_SPI_MEM=y
 CONFIG_STMP_DEVICE=y
 # CONFIG_SYSCON_REBOOT_MODE is not set
 CONFIG_THUMB2_BAREBOX=y
 CONFIG_UBIFORMAT=y
+# CONFIG_USB_DWC3 is not set
+CONFIG_USB_EHCI=y
 CONFIG_USB_GADGET_DFU=y
 CONFIG_USB_GADGET_DRIVER_ARC=y
 CONFIG_USB_GADGET_DUALSPEED=y
@@ -245,10 +288,9 @@ CONFIG_USB_IMX_PHY=y
 CONFIG_USB_NOP_XCEIV=y
 CONFIG_USB_OTGDEV=y
 CONFIG_USB_ULPI=y
-# CONFIG_USE_COMPRESSED_DTB is undefined
+# CONFIG_USB_XHCI is not set
 CONFIG_VIDEO=y
 CONFIG_VIDEO_VPL=y
-# CONFIG_WATCHDOG_BCM2835 is undefined
 CONFIG_WATCHDOG_IMX=y
 CONFIG_WATCHDOG_IMX_RESET_SOURCE=y
 CONFIG_XXHASH=y
diff --git a/configs/platform-v7a/barebox-rpi2.config b/configs/platform-v7a/barebox-rpi2.config
index 96b416fe414a..906f5a41938c 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.02.1 Configuration
+# Barebox/arm 2023.04.0 Configuration
 #
 CONFIG_ARM=y
 CONFIG_ARM_LINUX=y
@@ -10,32 +10,31 @@ CONFIG_TEXT_BASE=0x0
 #
 # System Type
 #
+CONFIG_ARCH_MULTIARCH=y
 # CONFIG_ARCH_AT91 is not set
-CONFIG_ARCH_BCM283X=y
 # CONFIG_ARCH_CLPS711X is not set
 # CONFIG_ARCH_DAVINCI is not set
 # CONFIG_ARCH_DIGIC is not set
 # CONFIG_ARCH_EP93XX is not set
-# CONFIG_ARCH_IMX is not set
 # CONFIG_ARCH_LAYERSCAPE is not set
 # CONFIG_ARCH_MVEBU is not set
 # CONFIG_ARCH_MXS is not set
 # CONFIG_ARCH_NOMADIK is not set
-# CONFIG_ARCH_OMAP is not set
+# CONFIG_ARCH_OMAP_SINGLE is not set
 # CONFIG_ARCH_PXA is not set
-# CONFIG_ARCH_ROCKCHIP is not set
 # CONFIG_ARCH_SOCFPGA is not set
-# CONFIG_ARCH_S3C24xx is not set
-# CONFIG_ARCH_S5PCxx is not set
-# CONFIG_ARCH_S3C64xx is not set
-# CONFIG_ARCH_STM32MP is not set
 # CONFIG_ARCH_VERSATILE is not set
-# CONFIG_ARCH_VEXPRESS is not set
 # CONFIG_ARCH_TEGRA is not set
 # CONFIG_ARCH_UEMD is not set
 # CONFIG_ARCH_ZYNQ is not set
-# CONFIG_ARCH_ZYNQMP is not set
 # CONFIG_ARCH_ARM64_VIRT is not set
+CONFIG_ARCH_BCM283X=y
+# CONFIG_ARCH_IMX is not set
+# CONFIG_ARCH_OMAP_MULTI is not set
+# CONFIG_ARCH_ROCKCHIP is not set
+# CONFIG_ARCH_STM32MP is not set
+# CONFIG_ARCH_VEXPRESS is not set
+# CONFIG_ARCH_ZYNQMP is not set
 
 #
 # Processor Type
@@ -601,6 +600,7 @@ CONFIG_USB_STORAGE=y
 # USB Miscellaneous drivers
 #
 # CONFIG_USB_HUB_USB251XB is not set
+# CONFIG_USB_ONBOARD_HUB is not set
 # CONFIG_USB_GADGET is not set
 # CONFIG_USB_MUSB is not set
 # CONFIG_VIDEO is not set
@@ -660,6 +660,7 @@ CONFIG_CLOCKSOURCE_ARM_ARCHITECTED_TIMER=y
 # CONFIG_MFD_ATMEL_FLEXCOM is not set
 # CONFIG_MFD_RK808 is not set
 # CONFIG_MFD_AXP20X_I2C is not set
+# CONFIG_MFD_ROHM_BD718XX is not set
 # end of Multifunction device drivers
 
 #
@@ -766,6 +767,7 @@ CONFIG_REGULATOR_BCM283X=y
 #
 # CONFIG_FIRMWARE_ALTERA_SERIAL is not set
 # CONFIG_ARM_SCMI_PROTOCOL is not set
+# CONFIG_QEMU_FW_CFG is not set
 # end of Firmware Drivers
 
 #
@@ -777,7 +779,11 @@ CONFIG_REGULATOR_BCM283X=y
 CONFIG_GENERIC_PHY=y
 CONFIG_USB_NOP_XCEIV=y
 # CONFIG_PHY_FSL_IMX8MQ_USB is not set
-# CONFIG_CRYPTO_HW is not set
+
+#
+# Hardware crypto devices
+#
+# end of Hardware crypto devices
 
 #
 # Memory controller drivers
@@ -895,7 +901,7 @@ CONFIG_LIBFDT=y
 #
 # end of Library gui routines
 
-# CONFIG_NLS is not set
+CONFIG_NLS=y
 # CONFIG_BLOBGEN is not set
 CONFIG_ARCH_HAS_STACK_DUMP=y
 CONFIG_ARCH_HAS_DATA_ABORT_MASK=y
diff --git a/configs/platform-v7a/barebox-rpi2.config.diff b/configs/platform-v7a/barebox-rpi2.config.diff
index 852c2717059c..2dca7de9fe1d 100644
--- a/configs/platform-v7a/barebox-rpi2.config.diff
+++ b/configs/platform-v7a/barebox-rpi2.config.diff
@@ -1,44 +1,133 @@
-68457081af06bd8377bc38ef02c7d415
+6779f231005317170237cbdb0787cba8
+CONFIG_32BIT=y
+# CONFIG_64BIT is not set
+CONFIG_ARCH_BCM283X=y
+CONFIG_ARCH_TEXT_BASE=0x0
+CONFIG_ARM_AMBA=y
 CONFIG_ARM_ASM_UNIFIED=y
+# CONFIG_ARM_PSCI is not set
+# CONFIG_ARM_PSCI_CLIENT is not set
+# CONFIG_ARM_SCMI_PROTOCOL is not set
+CONFIG_ARM_SECURE_MONITOR=y
+CONFIG_ARM_SMCCC=y
+CONFIG_ARM_USE_COMPRESSED_DTB=y
+CONFIG_BAREBOX_MAX_PBL_SIZE=0xffffffff
+CONFIG_BOARD_ARM_GENERIC_DT=y
+CONFIG_BOARD_GENERIC_DT=y
+CONFIG_CLKDEV_LOOKUP=y
+CONFIG_CLOCKSOURCE_ARM_ARCHITECTED_TIMER=y
+CONFIG_CLOCKSOURCE_BCM283X=y
+CONFIG_CMD_ARM_MMUINFO=y
+CONFIG_CMD_CLK=y
+CONFIG_CMD_GPIO=y
 # CONFIG_CMD_NVMEM is not set
+# CONFIG_CMD_SMC is not set
 # CONFIG_CMD_USBGADGET is undefined
+CONFIG_COMMON_CLK=y
+CONFIG_COMMON_CLK_OF_PROVIDER=y
+CONFIG_CPU_32=y
+CONFIG_CPU_32v7=y
+CONFIG_CPU_SUPPORTS_32BIT_KERNEL=y
+CONFIG_CPU_SUPPORTS_64BIT_KERNEL=y
+CONFIG_CPU_V7=y
+# CONFIG_DEBUG_LL is not set
+# CONFIG_DEFAULT_COMPRESSION_BZIP2 is undefined
+# CONFIG_DEFAULT_COMPRESSION_GZIP is undefined
+# CONFIG_DEFAULT_COMPRESSION_LZO is undefined
+# CONFIG_DEFAULT_COMPRESSION_XZ is undefined
+# CONFIG_DISK_AHCI is not set
+# CONFIG_DRIVER_NET_ARC_EMAC is not set
 CONFIG_DRIVER_NET_BCMGENET=y
+# CONFIG_DRIVER_NET_DESIGNWARE_GENERIC is not set
 CONFIG_DRIVER_SERIAL_NS16550=y
+CONFIG_DRIVER_SPI_GPIO=y
 # CONFIG_EEPROM_93XX46 is not set
 # CONFIG_FASTBOOT_BASE is undefined
 # CONFIG_FASTBOOT_CMD_OEM is undefined
 # CONFIG_FASTBOOT_SPARSE is undefined
+# CONFIG_FIRMWARE_ALTERA_SERIAL is not set
+CONFIG_GENERIC_GPIO=y
 CONFIG_GENERIC_PHY=y
+CONFIG_GPIOLIB=y
+# CONFIG_GPIO_74164 is not set
+# CONFIG_GPIO_74XX_MMIO is not set
+# CONFIG_GPIO_DESIGNWARE is not set
+# CONFIG_GPIO_GENERIC_PLATFORM is not set
+# CONFIG_GPIO_LATCH is not set
+# CONFIG_GPIO_PCA953X is not set
+# CONFIG_GPIO_PCF857X is not set
+# CONFIG_GPIO_PL061 is not set
 CONFIG_GPIO_RASPBERRYPI_EXP=y
+# CONFIG_GPIO_SIFIVE is not set
+# CONFIG_GPIO_SX150X is not set
+# CONFIG_GPIO_WATCHDOG is not set
+CONFIG_HAS_DEBUG_LL=y
+CONFIG_HAS_DMA=y
+CONFIG_HAS_MODULES=y
+CONFIG_HAVE_CLK=y
+CONFIG_HAVE_MOD_ARCH_SPECIFIC=y
+CONFIG_HAVE_PBL_IMAGE=y
+CONFIG_HAVE_PBL_MULTI_IMAGES=y
 # CONFIG_HWRNG is not set
-# CONFIG_I2C_ALGOBIT is undefined
+CONFIG_I2C_BCM283X=y
 # CONFIG_I2C_GPIO is not set
+# CONFIG_I2C_MV64XXX is not set
+CONFIG_IMAGE_COMPRESSION=y
+# CONFIG_IMAGE_COMPRESSION_GZIP is not set
+# CONFIG_IMAGE_COMPRESSION_LZ4 is not set
+CONFIG_IMAGE_COMPRESSION_LZO=y
+# CONFIG_IMAGE_COMPRESSION_NONE is not set
+# CONFIG_IMAGE_COMPRESSION_XZKERN is not set
 # CONFIG_IMAGE_SPARSE is undefined
+# CONFIG_JTAG is not set
+# CONFIG_KEYBOARD_GPIO is not set
+# CONFIG_KEYBOARD_QT1070 is not set
+CONFIG_LED_GPIO=y
+# CONFIG_LED_GPIO_BICOLOR is not set
+CONFIG_LED_GPIO_OF=y
+# CONFIG_LED_GPIO_RGB is not set
+CONFIG_LIBFDT=y
 CONFIG_MACH_RPI2=y
+CONFIG_MACH_RPI3=y
 CONFIG_MACH_RPI4=y
+# CONFIG_MACH_RPI is not set
+CONFIG_MACH_RPI_AARCH_32_64=y
 CONFIG_MACH_RPI_CM3=y
+CONFIG_MACH_RPI_COMMON=y
 CONFIG_MCI_BCM283X=y
 CONFIG_MCI_BCM283X_SDHOST=y
+# CONFIG_MCI_DW is not set
 # CONFIG_MCI_MMCI is not set
 CONFIG_MCI_MMC_BOOT_PARTITIONS=y
 CONFIG_MCI_SDHCI=y
 # CONFIG_MCI_STARTUP is not set
+# CONFIG_MDIO_BUS_MUX_GPIO is not set
 CONFIG_NET_NETCONSOLE=y
 # CONFIG_NET_NFS is not set
 CONFIG_NVMEM=y
 # CONFIG_NVMEM_REBOOT_MODE is not set
 # CONFIG_NVMEM_RMEM is not set
 # CONFIG_NVMEM_SNVS_LPGPR is not set
+CONFIG_OF_GPIO=y
+# CONFIG_PBL_CONSOLE is not set
+CONFIG_PBL_IMAGE=y
+CONFIG_PBL_MULTI_IMAGES=y
 # CONFIG_PBL_OPTEE is undefined
+CONFIG_PBL_RELOCATABLE=y
 # CONFIG_PHY_FSL_IMX8MQ_USB is not set
 CONFIG_PINCTRL_BCM283X=y
+# CONFIG_POWER_RESET_GPIO is not set
+# CONFIG_POWER_RESET_GPIO_RESTART is not set
 CONFIG_PROMPT="R-Pi> "
+CONFIG_REGULATOR_BCM283X=y
+# CONFIG_REGULATOR_FIXED is not set
 CONFIG_SERIAL_AMBA_PL011=y
 CONFIG_THUMB2_BAREBOX=y
 # CONFIG_USBGADGET_START is undefined
 CONFIG_USB_DWC2=y
 # CONFIG_USB_DWC2_GADGET is undefined
 CONFIG_USB_DWC2_HOST=y
+# CONFIG_USB_DWC3 is not set
 # CONFIG_USB_EHCI is not set
 # CONFIG_USB_GADGET is not set
 # CONFIG_USB_GADGET_AUTOSTART is undefined
@@ -48,4 +137,6 @@ CONFIG_USB_DWC2_HOST=y
 # CONFIG_USB_GADGET_SERIAL is undefined
 CONFIG_USB_NOP_XCEIV=y
 CONFIG_USB_OTGDEV=y
+# CONFIG_USB_XHCI is not set
+CONFIG_USE_COMPRESSED_DTB=y
 CONFIG_WATCHDOG_BCM2835=y
diff --git a/configs/platform-v7a/barebox-stm32mp.config b/configs/platform-v7a/barebox-stm32mp.config
index 8a6f6d9474d2..bfffbc9c04a1 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.02.1 Configuration
+# Barebox/arm 2023.04.0 Configuration
 #
 CONFIG_ARM=y
 CONFIG_ARM_LINUX=y
@@ -11,32 +11,31 @@ CONFIG_TEXT_BASE=0x0
 # System Type
 #
 CONFIG_ARCH_STM32=y
+CONFIG_ARCH_MULTIARCH=y
 # CONFIG_ARCH_AT91 is not set
-# CONFIG_ARCH_BCM283X is not set
 # CONFIG_ARCH_CLPS711X is not set
 # CONFIG_ARCH_DAVINCI is not set
 # CONFIG_ARCH_DIGIC is not set
 # CONFIG_ARCH_EP93XX is not set
-# CONFIG_ARCH_IMX is not set
 # CONFIG_ARCH_LAYERSCAPE is not set
 # CONFIG_ARCH_MVEBU is not set
 # CONFIG_ARCH_MXS is not set
 # CONFIG_ARCH_NOMADIK is not set
-# CONFIG_ARCH_OMAP is not set
+# CONFIG_ARCH_OMAP_SINGLE is not set
 # CONFIG_ARCH_PXA is not set
-# CONFIG_ARCH_ROCKCHIP is not set
 # CONFIG_ARCH_SOCFPGA is not set
-# CONFIG_ARCH_S3C24xx is not set
-# CONFIG_ARCH_S5PCxx is not set
-# CONFIG_ARCH_S3C64xx is not set
-CONFIG_ARCH_STM32MP=y
 # CONFIG_ARCH_VERSATILE is not set
-# CONFIG_ARCH_VEXPRESS is not set
 # CONFIG_ARCH_TEGRA is not set
 # CONFIG_ARCH_UEMD is not set
 # CONFIG_ARCH_ZYNQ is not set
-# CONFIG_ARCH_ZYNQMP is not set
 # CONFIG_ARCH_ARM64_VIRT is not set
+# CONFIG_ARCH_BCM283X is not set
+# CONFIG_ARCH_IMX is not set
+# CONFIG_ARCH_OMAP_MULTI is not set
+# CONFIG_ARCH_ROCKCHIP is not set
+CONFIG_ARCH_STM32MP=y
+# CONFIG_ARCH_VEXPRESS is not set
+# CONFIG_ARCH_ZYNQMP is not set
 
 #
 # Processor Type
@@ -576,6 +575,7 @@ CONFIG_USB_OTGDEV=y
 # USB Miscellaneous drivers
 #
 # CONFIG_USB_HUB_USB251XB is not set
+# CONFIG_USB_ONBOARD_HUB is not set
 CONFIG_USB_GADGET=y
 # CONFIG_USB_GADGET_AUTOSTART is not set
 
@@ -642,6 +642,7 @@ CONFIG_MFD_STM32_TIMERS=y
 # CONFIG_MFD_ATMEL_FLEXCOM is not set
 # CONFIG_MFD_RK808 is not set
 # CONFIG_MFD_AXP20X_I2C is not set
+# CONFIG_MFD_ROHM_BD718XX is not set
 # end of Multifunction device drivers
 
 #
@@ -754,6 +755,7 @@ CONFIG_RESET_CONTROLLER=y
 # Firmware Drivers
 #
 # CONFIG_ARM_SCMI_PROTOCOL is not set
+# CONFIG_QEMU_FW_CFG is not set
 # end of Firmware Drivers
 
 #
@@ -766,7 +768,11 @@ CONFIG_GENERIC_PHY=y
 # CONFIG_USB_NOP_XCEIV is not set
 # CONFIG_PHY_FSL_IMX8MQ_USB is not set
 CONFIG_PHY_STM32_USBPHYC=y
-# CONFIG_CRYPTO_HW is not set
+
+#
+# Hardware crypto devices
+#
+# end of Hardware crypto devices
 
 #
 # Memory controller drivers
@@ -879,7 +885,7 @@ CONFIG_CRC8=y
 # end of Library gui routines
 
 CONFIG_PRINTF_UUID=y
-# CONFIG_NLS is not set
+CONFIG_NLS=y
 # CONFIG_BLOBGEN is not set
 CONFIG_ARCH_HAS_STACK_DUMP=y
 CONFIG_ARCH_HAS_DATA_ABORT_MASK=y
diff --git a/configs/platform-v7a/barebox-stm32mp.config.diff b/configs/platform-v7a/barebox-stm32mp.config.diff
index 42950765f911..357e35affd08 100644
--- a/configs/platform-v7a/barebox-stm32mp.config.diff
+++ b/configs/platform-v7a/barebox-stm32mp.config.diff
@@ -1,90 +1,123 @@
-68457081af06bd8377bc38ef02c7d415
-# CONFIG_32BIT is undefined
-# CONFIG_64BIT is undefined
-# CONFIG_ARCH_BCM283X is not set
+6779f231005317170237cbdb0787cba8
 CONFIG_ARCH_HAS_RESET_CONTROLLER=y
 CONFIG_ARCH_NR_GPIO=416
 CONFIG_ARCH_STM32=y
 CONFIG_ARCH_STM32MP157=y
 CONFIG_ARCH_STM32MP=y
-# CONFIG_ARCH_TEXT_BASE is undefined
+CONFIG_ARM_AMBA=y
 CONFIG_ARM_ASM_UNIFIED=y
 CONFIG_ARM_BOARD_APPEND_ATAG=y
 # CONFIG_ARM_BOARD_PREPEND_ATAG is not set
+# CONFIG_ARM_PSCI is not set
 CONFIG_ARM_PSCI_CLIENT=y
 CONFIG_ARM_PSCI_OF=y
-# CONFIG_ARM_SECURE_MONITOR is undefined
+# CONFIG_ARM_SCMI_PROTOCOL is not set
+CONFIG_ARM_SMCCC=y
+CONFIG_ARM_USE_COMPRESSED_DTB=y
 CONFIG_AT803X_PHY=y
+CONFIG_BAREBOX_MAX_PBL_SIZE=0xffffffff
 # CONFIG_BOARD_ARM_GENERIC_DT is not set
-# CONFIG_BOARD_GENERIC_DT is undefined
 CONFIG_BOOTM_OFTREE_UIMAGE=y
 # CONFIG_BZLIB is not set
+CONFIG_CLKDEV_LOOKUP=y
 # CONFIG_CLKSRC_STM32 is not set
-# CONFIG_CLOCKSOURCE_BCM283X is undefined
+CONFIG_CLOCKSOURCE_ARM_ARCHITECTED_TIMER=y
+CONFIG_CMD_ARM_MMUINFO=y
 # CONFIG_CMD_BOOTZ is not set
+CONFIG_CMD_CLK=y
 # CONFIG_CMD_DEFAULTENV is not set
+CONFIG_CMD_GPIO=y
 # CONFIG_CMD_I2C is not set
 # CONFIG_CMD_LED_TRIGGER is undefined
 CONFIG_CMD_MENU_MANAGEMENT=y
 CONFIG_CMD_MMC_EXTCSD=y
 # CONFIG_CMD_NVMEM is not set
 CONFIG_CMD_POWEROFF=y
+# CONFIG_CMD_SMC is not set
 # CONFIG_CMD_SPI is undefined
+CONFIG_COMMON_CLK=y
+CONFIG_COMMON_CLK_OF_PROVIDER=y
 CONFIG_COMPILE_LOGLEVEL=6
 # CONFIG_CONSOLE_ACTIVATE_FIRST is not set
 CONFIG_CONSOLE_ACTIVATE_NONE=y
-# CONFIG_CPU_SUPPORTS_32BIT_KERNEL is undefined
-# CONFIG_CPU_SUPPORTS_64BIT_KERNEL is undefined
+CONFIG_CPU_32=y
+CONFIG_CPU_32v7=y
+CONFIG_CPU_V7=y
 CONFIG_CRC8=y
+# CONFIG_DEBUG_LL is not set
 # CONFIG_DEBUG_PBL is not set
+# CONFIG_DEFAULT_COMPRESSION_BZIP2 is undefined
+# CONFIG_DEFAULT_COMPRESSION_GZIP is undefined
+# CONFIG_DEFAULT_COMPRESSION_LZO is undefined
+# CONFIG_DEFAULT_COMPRESSION_XZ is undefined
 CONFIG_DEFAULT_LOGLEVEL=7
+# CONFIG_DISK_AHCI is not set
 # CONFIG_DRIVER_CFI is undefined
-# CONFIG_DRIVER_NET_ARC_EMAC is undefined
 CONFIG_DRIVER_NET_DESIGNWARE_EQOS=y
+# CONFIG_DRIVER_NET_DESIGNWARE_GENERIC is not set
 CONFIG_DRIVER_NET_DESIGNWARE_STM32=y
 # CONFIG_DRIVER_NET_ENC28J60 is undefined
 # CONFIG_DRIVER_NET_MICREL is undefined
 CONFIG_DRIVER_SERIAL_STM32=y
-# CONFIG_DRIVER_SPI_GPIO is undefined
 # CONFIG_DRIVER_SPI_LITEX_SPIFLASH is undefined
 CONFIG_EEPROM_AT24=y
 # CONFIG_EEPROM_AT25 is undefined
 # CONFIG_FASTBOOT_CMD_OEM is not set
 # CONFIG_FASTBOOT_SPARSE is not set
-# CONFIG_FIRMWARE_ALTERA_SERIAL is undefined
 # CONFIG_FS_JFFS2 is undefined
+CONFIG_GENERIC_GPIO=y
 CONFIG_GENERIC_PHY=y
-# CONFIG_GPIO_74164 is undefined
-# CONFIG_GPIO_RASPBERRYPI_EXP is undefined
+CONFIG_GPIOLIB=y
+# CONFIG_GPIO_74XX_MMIO is not set
+# CONFIG_GPIO_DESIGNWARE is not set
+# CONFIG_GPIO_GENERIC_PLATFORM is not set
+# CONFIG_GPIO_LATCH is not set
+# CONFIG_GPIO_PCA953X is not set
+# CONFIG_GPIO_PCF857X is not set
+# CONFIG_GPIO_PL061 is not set
+# CONFIG_GPIO_SIFIVE is not set
+# CONFIG_GPIO_SX150X is not set
+# CONFIG_GPIO_WATCHDOG is not set
+CONFIG_HAS_DEBUG_LL=y
+CONFIG_HAS_DMA=y
+CONFIG_HAS_MODULES=y
+CONFIG_HAVE_CLK=y
+CONFIG_HAVE_MOD_ARCH_SPECIFIC=y
+CONFIG_HAVE_PBL_IMAGE=y
+CONFIG_HAVE_PBL_MULTI_IMAGES=y
 # CONFIG_HWRNG is not set
-# CONFIG_I2C_ALGOBIT is undefined
-# CONFIG_I2C_BCM283X is undefined
 # CONFIG_I2C_GPIO is not set
+# CONFIG_I2C_MV64XXX is not set
 CONFIG_I2C_STM32=y
+CONFIG_IMAGE_COMPRESSION=y
+# CONFIG_IMAGE_COMPRESSION_GZIP is not set
+# CONFIG_IMAGE_COMPRESSION_LZ4 is not set
+CONFIG_IMAGE_COMPRESSION_LZO=y
+# CONFIG_IMAGE_COMPRESSION_NONE is not set
+# CONFIG_IMAGE_COMPRESSION_XZKERN is not set
 # CONFIG_IMAGE_SPARSE is undefined
+# CONFIG_JTAG is not set
+# CONFIG_KEYBOARD_GPIO is not set
+# CONFIG_KEYBOARD_QT1070 is not set
+CONFIG_LED_GPIO=y
+# CONFIG_LED_GPIO_BICOLOR is not set
+CONFIG_LED_GPIO_OF=y
+# CONFIG_LED_GPIO_RGB is not set
 CONFIG_LED_PWM=y
 # CONFIG_LED_TRIGGERS is not set
-# CONFIG_LIBFDT is undefined
 CONFIG_MACH_LXA_MC1=y
 # CONFIG_MACH_PHYTEC_PHYCORE_STM32MP1 is not set
 # CONFIG_MACH_PROTONIC_STM32MP1 is not set
-# CONFIG_MACH_RPI2 is undefined
-# CONFIG_MACH_RPI3 is undefined
-# CONFIG_MACH_RPI4 is undefined
-# CONFIG_MACH_RPI is undefined
-# CONFIG_MACH_RPI_AARCH_32_64 is undefined
-# CONFIG_MACH_RPI_CM3 is undefined
-# CONFIG_MACH_RPI_COMMON is undefined
 # CONFIG_MACH_SEEED_ODYSSEY is not set
 # CONFIG_MACH_STM32MP13XX_DK is not set
 CONFIG_MACH_STM32MP15XX_DKX=y
 CONFIG_MACH_STM32MP15X_EV1=y
-# CONFIG_MCI_BCM283X is undefined
-# CONFIG_MCI_BCM283X_SDHOST is undefined
+# CONFIG_MCI_DW is not set
 # CONFIG_MCI_MMCI is not set
 CONFIG_MCI_MMC_BOOT_PARTITIONS=y
 # CONFIG_MCI_SPI is undefined
 CONFIG_MCI_STM32_SDMMC2=y
+# CONFIG_MDIO_BUS_MUX_GPIO is not set
 CONFIG_MFD_STM32_TIMERS=y
 CONFIG_MFD_STPMIC1=y
 CONFIG_MFD_SYSCON=y
@@ -112,15 +145,20 @@ CONFIG_NVMEM=y
 # CONFIG_NVMEM_REBOOT_MODE is not set
 # CONFIG_NVMEM_RMEM is not set
 # CONFIG_NVMEM_SNVS_LPGPR is not set
+CONFIG_OF_GPIO=y
 CONFIG_PARTITION_DISK_EFI=y
 # CONFIG_PARTITION_DISK_EFI_GPT_COMPARE is not set
 # CONFIG_PARTITION_DISK_EFI_GPT_NO_FORCE is not set
 CONFIG_PBL_CONSOLE=y
+CONFIG_PBL_IMAGE=y
+CONFIG_PBL_MULTI_IMAGES=y
 # CONFIG_PBL_OPTEE is undefined
+CONFIG_PBL_RELOCATABLE=y
 # CONFIG_PHY_FSL_IMX8MQ_USB is not set
 CONFIG_PHY_STM32_USBPHYC=y
-# CONFIG_PINCTRL_BCM283X is undefined
 CONFIG_PINCTRL_STM32=y
+# CONFIG_POWER_RESET_GPIO is not set
+# CONFIG_POWER_RESET_GPIO_RESTART is not set
 CONFIG_PRINTF_UUID=y
 CONFIG_PROMPT="barebox:"
 CONFIG_PWM=y
@@ -128,7 +166,6 @@ CONFIG_PWM_STM32=y
 CONFIG_REGMAP_FORMATTED=y
 CONFIG_REGMAP_I2C=y
 # CONFIG_REGULATOR_ANATOP is not set
-# CONFIG_REGULATOR_BCM283X is undefined
 CONFIG_REGULATOR_FIXED=y
 CONFIG_REGULATOR_STM32_PWR=y
 CONFIG_REGULATOR_STM32_VREFBUF=y
@@ -137,6 +174,7 @@ CONFIG_REMOTEPROC=y
 CONFIG_RESET_CONTROLLER=y
 # CONFIG_RESET_IMX7 is not set
 CONFIG_RESET_STM32=y
+# CONFIG_SERIAL_AMBA_PL011 is not set
 # CONFIG_SPI is not set
 # CONFIG_SPI_MEM is undefined
 CONFIG_STM32_BSEC=y
@@ -150,13 +188,15 @@ CONFIG_THUMB2_BAREBOX=y
 CONFIG_USB_DWC2=y
 CONFIG_USB_DWC2_GADGET=y
 CONFIG_USB_DWC2_HOST=y
+# CONFIG_USB_DWC3 is not set
 # CONFIG_USB_EHCI is not set
 # CONFIG_USB_GADGET_AUTOSTART is not set
 # CONFIG_USB_NET_AX88179_178A is undefined
 # CONFIG_USB_NOP_XCEIV is not set
 CONFIG_USB_OTGDEV=y
 # CONFIG_USB_STORAGE is not set
-# CONFIG_WATCHDOG_BCM2835 is undefined
+# CONFIG_USB_XHCI is not set
+CONFIG_USE_COMPRESSED_DTB=y
 CONFIG_WATCHDOG_POLLER=y
 # CONFIG_XZ_DECOMPRESS is not set
 # CONFIG_XZ_DEC_ARM is undefined
diff --git a/configs/platform-v7a/barebox-vexpress.config b/configs/platform-v7a/barebox-vexpress.config
index 80d446ceccd1..a27df44a34da 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.02.1 Configuration
+# Barebox/arm 2023.04.0 Configuration
 #
 CONFIG_ARM=y
 CONFIG_ARM_LINUX=y
@@ -9,32 +9,31 @@ CONFIG_TEXT_BASE=0x0
 #
 # System Type
 #
+CONFIG_ARCH_MULTIARCH=y
 # CONFIG_ARCH_AT91 is not set
-# CONFIG_ARCH_BCM283X is not set
 # CONFIG_ARCH_CLPS711X is not set
 # CONFIG_ARCH_DAVINCI is not set
 # CONFIG_ARCH_DIGIC is not set
 # CONFIG_ARCH_EP93XX is not set
-# CONFIG_ARCH_IMX is not set
 # CONFIG_ARCH_LAYERSCAPE is not set
 # CONFIG_ARCH_MVEBU is not set
 # CONFIG_ARCH_MXS is not set
 # CONFIG_ARCH_NOMADIK is not set
-# CONFIG_ARCH_OMAP is not set
+# CONFIG_ARCH_OMAP_SINGLE is not set
 # CONFIG_ARCH_PXA is not set
-# CONFIG_ARCH_ROCKCHIP is not set
 # CONFIG_ARCH_SOCFPGA is not set
-# CONFIG_ARCH_S3C24xx is not set
-# CONFIG_ARCH_S5PCxx is not set
-# CONFIG_ARCH_S3C64xx is not set
-# CONFIG_ARCH_STM32MP is not set
 # CONFIG_ARCH_VERSATILE is not set
-CONFIG_ARCH_VEXPRESS=y
 # CONFIG_ARCH_TEGRA is not set
 # CONFIG_ARCH_UEMD is not set
 # CONFIG_ARCH_ZYNQ is not set
-# CONFIG_ARCH_ZYNQMP is not set
 # CONFIG_ARCH_ARM64_VIRT is not set
+# CONFIG_ARCH_BCM283X is not set
+# CONFIG_ARCH_IMX is not set
+# CONFIG_ARCH_OMAP_MULTI is not set
+# CONFIG_ARCH_ROCKCHIP is not set
+# CONFIG_ARCH_STM32MP is not set
+CONFIG_ARCH_VEXPRESS=y
+# CONFIG_ARCH_ZYNQMP is not set
 
 #
 # Processor Type
@@ -588,6 +587,7 @@ CONFIG_USB_STORAGE=y
 # USB Miscellaneous drivers
 #
 # CONFIG_USB_HUB_USB251XB is not set
+# CONFIG_USB_ONBOARD_HUB is not set
 CONFIG_USB_GADGET=y
 CONFIG_USB_GADGET_AUTOSTART=y
 
@@ -653,6 +653,7 @@ CONFIG_CLOCKSOURCE_ARM_ARCHITECTED_TIMER=y
 # CONFIG_MFD_ATMEL_FLEXCOM is not set
 # CONFIG_MFD_RK808 is not set
 # CONFIG_MFD_AXP20X_I2C is not set
+# CONFIG_MFD_ROHM_BD718XX is not set
 # end of Multifunction device drivers
 
 #
@@ -724,6 +725,7 @@ CONFIG_REGULATOR=y
 #
 # Firmware Drivers
 #
+# CONFIG_QEMU_FW_CFG is not set
 # end of Firmware Drivers
 
 #
@@ -733,7 +735,11 @@ CONFIG_REGULATOR=y
 # end of FPGA Configuration Support
 
 # CONFIG_GENERIC_PHY is not set
-# CONFIG_CRYPTO_HW is not set
+
+#
+# Hardware crypto devices
+#
+# end of Hardware crypto devices
 
 #
 # Memory controller drivers
@@ -849,7 +855,7 @@ CONFIG_LIBFDT=y
 #
 # end of Library gui routines
 
-# CONFIG_NLS is not set
+CONFIG_NLS=y
 # CONFIG_BLOBGEN is not set
 CONFIG_ARCH_HAS_STACK_DUMP=y
 CONFIG_ARCH_HAS_DATA_ABORT_MASK=y
diff --git a/configs/platform-v7a/barebox-vexpress.config.diff b/configs/platform-v7a/barebox-vexpress.config.diff
index abbea1a621ce..e4ecc99b815f 100644
--- a/configs/platform-v7a/barebox-vexpress.config.diff
+++ b/configs/platform-v7a/barebox-vexpress.config.diff
@@ -1,22 +1,32 @@
-68457081af06bd8377bc38ef02c7d415
-# CONFIG_32BIT is undefined
-# CONFIG_64BIT is undefined
+6779f231005317170237cbdb0787cba8
 CONFIG_AMBA_SP804=y
-# CONFIG_ARCH_BCM283X is not set
+CONFIG_ARCH_TEXT_BASE=0x0
 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
+CONFIG_ARM_AMBA=y
+# CONFIG_ARM_PSCI is not set
+# CONFIG_ARM_PSCI_CLIENT is not set
+CONFIG_BAREBOX_MAX_PBL_SIZE=0xffffffff
+CONFIG_BOARD_ARM_GENERIC_DT=y
+CONFIG_BOARD_GENERIC_DT=y
 # CONFIG_CFI_BUFFER_WRITE is not set
-# CONFIG_CLOCKSOURCE_BCM283X is undefined
-# CONFIG_CMD_GPIO is undefined
-# CONFIG_CMD_SMC is undefined
+CONFIG_CLKDEV_LOOKUP=y
+CONFIG_CLOCKSOURCE_ARM_ARCHITECTED_TIMER=y
+CONFIG_CMD_ARM_MMUINFO=y
+CONFIG_CMD_CLK=y
+CONFIG_COMMON_CLK=y
+CONFIG_COMMON_CLK_OF_PROVIDER=y
 CONFIG_CONSOLE_ACTIVATE_ALL=y
 # CONFIG_CONSOLE_ACTIVATE_FIRST is not set
-# CONFIG_CPU_SUPPORTS_32BIT_KERNEL is undefined
-# CONFIG_CPU_SUPPORTS_64BIT_KERNEL is undefined
+CONFIG_CPU_32=y
+CONFIG_CPU_32v7=y
+CONFIG_CPU_V7=y
+# CONFIG_DEBUG_LL is not set
 # CONFIG_DEBUG_PBL is not set
+# CONFIG_DEFAULT_COMPRESSION_BZIP2 is undefined
+# CONFIG_DEFAULT_COMPRESSION_GZIP is undefined
+# CONFIG_DEFAULT_COMPRESSION_LZO is undefined
+# CONFIG_DEFAULT_COMPRESSION_XZ is undefined
+# CONFIG_DISK_AHCI is not set
 CONFIG_DRIVER_CFI=y
 CONFIG_DRIVER_CFI_AMD=y
 CONFIG_DRIVER_CFI_BANK_WIDTH_1=y
@@ -24,56 +34,36 @@ CONFIG_DRIVER_CFI_BANK_WIDTH_2=y
 CONFIG_DRIVER_CFI_BANK_WIDTH_4=y
 # CONFIG_DRIVER_CFI_BANK_WIDTH_8 is not set
 CONFIG_DRIVER_CFI_INTEL=y
-# CONFIG_DRIVER_NET_ARC_EMAC is undefined
+# CONFIG_DRIVER_NET_DESIGNWARE_GENERIC is not set
 CONFIG_DRIVER_NET_SMC911X=y
-# CONFIG_DRIVER_SPI_GPIO is undefined
-# CONFIG_FIRMWARE_ALTERA_SERIAL is undefined
-# CONFIG_GENERIC_GPIO is undefined
-# CONFIG_GPIOLIB is undefined
-# CONFIG_GPIO_74164 is undefined
-# CONFIG_GPIO_74XX_MMIO is undefined
-# CONFIG_GPIO_DESIGNWARE is undefined
-# CONFIG_GPIO_GENERIC_PLATFORM is undefined
-# CONFIG_GPIO_LATCH is undefined
-# CONFIG_GPIO_PCA953X is undefined
-# CONFIG_GPIO_PCF857X is undefined
-# CONFIG_GPIO_PL061 is undefined
-# CONFIG_GPIO_RASPBERRYPI_EXP is undefined
-# CONFIG_GPIO_SIFIVE is undefined
-# CONFIG_GPIO_SX150X is undefined
-# CONFIG_GPIO_WATCHDOG is undefined
-# CONFIG_I2C_ALGOBIT is undefined
-# CONFIG_I2C_BCM283X is undefined
-# CONFIG_I2C_GPIO is undefined
-# CONFIG_JTAG is undefined
-# CONFIG_KEYBOARD_GPIO is undefined
-# CONFIG_KEYBOARD_QT1070 is undefined
-# CONFIG_LED_GPIO is undefined
-# CONFIG_LED_GPIO_BICOLOR is undefined
-# CONFIG_LED_GPIO_OF is undefined
-# CONFIG_LED_GPIO_RGB is undefined
-# CONFIG_MACH_RPI2 is undefined
-# CONFIG_MACH_RPI3 is undefined
-# CONFIG_MACH_RPI4 is undefined
-# CONFIG_MACH_RPI is undefined
-# CONFIG_MACH_RPI_AARCH_32_64 is undefined
-# CONFIG_MACH_RPI_CM3 is undefined
-# CONFIG_MACH_RPI_COMMON is undefined
+CONFIG_HAS_DEBUG_LL=y
+CONFIG_HAS_DMA=y
+CONFIG_HAS_MODULES=y
+CONFIG_HAVE_CLK=y
+CONFIG_HAVE_MOD_ARCH_SPECIFIC=y
+CONFIG_HAVE_PBL_IMAGE=y
+CONFIG_HAVE_PBL_MULTI_IMAGES=y
+# CONFIG_I2C_MV64XXX is not set
+CONFIG_IMAGE_COMPRESSION=y
+# CONFIG_IMAGE_COMPRESSION_GZIP is not set
+# CONFIG_IMAGE_COMPRESSION_LZ4 is not set
+CONFIG_IMAGE_COMPRESSION_LZO=y
+# CONFIG_IMAGE_COMPRESSION_NONE is not set
+# CONFIG_IMAGE_COMPRESSION_XZKERN is not set
+CONFIG_LIBFDT=y
 CONFIG_MACH_VEXPRESS=y
 # CONFIG_MACH_VIRT is not set
-# CONFIG_MCI_BCM283X is undefined
-# CONFIG_MCI_BCM283X_SDHOST is undefined
-# CONFIG_MDIO_BUS_MUX_GPIO is undefined
+# CONFIG_MCI_DW is not set
+CONFIG_MCI_MMCI=y
 CONFIG_MTD_CONCAT=y
-# CONFIG_OF_GPIO is undefined
 CONFIG_PBL_CONSOLE=y
-# CONFIG_PINCTRL_BCM283X is undefined
-# CONFIG_POWER_RESET_GPIO is undefined
-# CONFIG_POWER_RESET_GPIO_RESTART is undefined
+CONFIG_PBL_IMAGE=y
+CONFIG_PBL_MULTI_IMAGES=y
+CONFIG_PBL_RELOCATABLE=y
 CONFIG_PROMPT="vexpress: "
-# CONFIG_REGULATOR_BCM283X is undefined
-# CONFIG_REGULATOR_FIXED is undefined
 CONFIG_SERIAL_AMBA_PL011=y
 CONFIG_SRAM=y
-# CONFIG_USE_COMPRESSED_DTB is undefined
-# CONFIG_WATCHDOG_BCM2835 is undefined
+# CONFIG_THUMB2_BAREBOX is not set
+# CONFIG_USB_DWC3 is not set
+CONFIG_USB_EHCI=y
+# CONFIG_USB_XHCI is not set
diff --git a/configs/platform-v7a/barebox.config b/configs/platform-v7a/barebox.config
index 2e1d844e9512..00aa263e1581 100644
--- a/configs/platform-v7a/barebox.config
+++ b/configs/platform-v7a/barebox.config
@@ -1,78 +1,52 @@
 #
 # Automatically generated file; DO NOT EDIT.
-# Barebox/arm 2023.02.1 Configuration
+# Barebox/arm 2023.04.0 Configuration
 #
 CONFIG_ARM=y
 CONFIG_ARM_LINUX=y
-CONFIG_ARM_USE_COMPRESSED_DTB=y
 CONFIG_TEXT_BASE=0x0
 
 #
 # System Type
 #
+CONFIG_ARCH_MULTIARCH=y
 # CONFIG_ARCH_AT91 is not set
-CONFIG_ARCH_BCM283X=y
 # CONFIG_ARCH_CLPS711X is not set
 # CONFIG_ARCH_DAVINCI is not set
 # CONFIG_ARCH_DIGIC is not set
 # CONFIG_ARCH_EP93XX is not set
-# CONFIG_ARCH_IMX is not set
 # CONFIG_ARCH_LAYERSCAPE is not set
 # CONFIG_ARCH_MVEBU is not set
 # CONFIG_ARCH_MXS is not set
 # CONFIG_ARCH_NOMADIK is not set
-# CONFIG_ARCH_OMAP is not set
+# CONFIG_ARCH_OMAP_SINGLE is not set
 # CONFIG_ARCH_PXA is not set
-# CONFIG_ARCH_ROCKCHIP is not set
 # CONFIG_ARCH_SOCFPGA is not set
-# CONFIG_ARCH_S3C24xx is not set
-# CONFIG_ARCH_S5PCxx is not set
-# CONFIG_ARCH_S3C64xx is not set
-# CONFIG_ARCH_STM32MP is not set
 # CONFIG_ARCH_VERSATILE is not set
-# CONFIG_ARCH_VEXPRESS is not set
 # CONFIG_ARCH_TEGRA is not set
 # CONFIG_ARCH_UEMD is not set
 # CONFIG_ARCH_ZYNQ is not set
-# CONFIG_ARCH_ZYNQMP is not set
 # CONFIG_ARCH_ARM64_VIRT is not set
+# CONFIG_ARCH_BCM283X is not set
+# CONFIG_ARCH_IMX is not set
+# CONFIG_ARCH_OMAP_MULTI is not set
+# CONFIG_ARCH_ROCKCHIP is not set
+# CONFIG_ARCH_STM32MP is not set
+# CONFIG_ARCH_VEXPRESS is not set
+# CONFIG_ARCH_ZYNQMP is not set
 
 #
 # Processor Type
 #
-CONFIG_CPU_32=y
-CONFIG_CPU_V7=y
-CONFIG_CPU_32v7=y
 
 #
 # processor features
 #
 # CONFIG_BOOT_ENDIANNESS_SWITCH is not set
-CONFIG_CPU_SUPPORTS_32BIT_KERNEL=y
-CONFIG_CPU_SUPPORTS_64BIT_KERNEL=y
-CONFIG_ARCH_TEXT_BASE=0x0
-CONFIG_MACH_RPI_COMMON=y
-CONFIG_MACH_RPI_AARCH_32_64=y
-
-#
-# select Broadcom BCM283X boards to be built
-#
-# CONFIG_MACH_RPI is not set
-# CONFIG_MACH_RPI2 is not set
-CONFIG_MACH_RPI3=y
-# CONFIG_MACH_RPI_CM3 is not set
-# CONFIG_MACH_RPI4 is not set
-# end of select Broadcom BCM283X boards to be built
-
-CONFIG_BOARD_ARM_GENERIC_DT=y
 CONFIG_AEABI=y
-# CONFIG_THUMB2_BAREBOX is not set
 # CONFIG_ARM_BOARD_APPEND_ATAG is not set
 # end of System Type
 
-CONFIG_32BIT=y
-# CONFIG_64BIT is not set
-
 #
 # ARM specific settings
 #
@@ -80,19 +54,12 @@ CONFIG_ARM_OPTIMZED_STRING_FUNCTIONS=y
 CONFIG_ARM_EXCEPTIONS=y
 CONFIG_ARM_UNWIND=y
 # CONFIG_ARM_SEMIHOSTING is not set
-CONFIG_ARM_SMCCC=y
-CONFIG_ARM_SECURE_MONITOR=y
-# CONFIG_ARM_PSCI is not set
-# CONFIG_ARM_PSCI_CLIENT is not set
 # end of ARM specific settings
 
 CONFIG_GREGORIAN_CALENDER=y
 CONFIG_HAS_KALLSYMS=y
-CONFIG_HAS_MODULES=y
 CONFIG_HAS_CACHE=y
-CONFIG_HAS_DMA=y
 CONFIG_ARCH_HAS_SJLJ=y
-CONFIG_GENERIC_GPIO=y
 CONFIG_BLOCK=y
 CONFIG_BLOCK_WRITE=y
 CONFIG_FILETYPE=y
@@ -119,24 +86,10 @@ CONFIG_NVVAR=y
 #
 # memory layout
 #
-CONFIG_HAVE_PBL_IMAGE=y
-CONFIG_HAVE_PBL_MULTI_IMAGES=y
 CONFIG_HAVE_IMAGE_COMPRESSION=y
-CONFIG_PBL_IMAGE=y
-CONFIG_PBL_MULTI_IMAGES=y
-CONFIG_USE_COMPRESSED_DTB=y
-CONFIG_PBL_RELOCATABLE=y
-CONFIG_BOARD_GENERIC_DT=y
-CONFIG_IMAGE_COMPRESSION=y
-# CONFIG_IMAGE_COMPRESSION_LZ4 is not set
-CONFIG_IMAGE_COMPRESSION_LZO=y
-# CONFIG_IMAGE_COMPRESSION_GZIP is not set
-# CONFIG_IMAGE_COMPRESSION_XZKERN is not set
-# CONFIG_IMAGE_COMPRESSION_NONE is not set
 CONFIG_MMU=y
 CONFIG_MMU_EARLY=y
 CONFIG_BAREBOX_MAX_IMAGE_SIZE=0xffffffff
-CONFIG_BAREBOX_MAX_PBL_SIZE=0xffffffff
 CONFIG_BAREBOX_MAX_BARE_INIT_SIZE=0xffffffff
 CONFIG_STACK_SIZE=0x8000
 CONFIG_MALLOC_SIZE=0x0
@@ -145,7 +98,6 @@ CONFIG_MALLOC_SIZE=0x0
 # CONFIG_EXPERIMENTAL is not set
 # CONFIG_MALLOC_DLMALLOC is not set
 CONFIG_MALLOC_TLSF=y
-CONFIG_HAVE_MOD_ARCH_SPECIFIC=y
 CONFIG_KALLSYMS=y
 CONFIG_RELOCATABLE=y
 # CONFIG_PANIC_HANG is not set
@@ -190,7 +142,6 @@ CONFIG_CONSOLE_ACTIVATE_FIRST=y
 # CONFIG_CONSOLE_ACTIVATE_NONE is not set
 CONFIG_CONSOLE_ALLOW_COLOR=y
 # CONFIG_CONSOLE_DISABLE_INPUT is not set
-# CONFIG_PBL_CONSOLE is not set
 # CONFIG_CONSOLE_RATP is not set
 CONFIG_PARTITION=y
 CONFIG_PARTITION_DISK=y
@@ -198,6 +149,10 @@ CONFIG_PARTITION_DISK_DOS=y
 # CONFIG_PARTITION_DISK_EFI is not set
 CONFIG_ENV_HANDLING=y
 CONFIG_DEFAULT_ENVIRONMENT=y
+# CONFIG_DEFAULT_COMPRESSION_GZIP is not set
+# CONFIG_DEFAULT_COMPRESSION_BZIP2 is not set
+# CONFIG_DEFAULT_COMPRESSION_LZO is not set
+# CONFIG_DEFAULT_COMPRESSION_XZ is not set
 CONFIG_DEFAULT_COMPRESSION_NONE=y
 CONFIG_DEFAULT_ENVIRONMENT_GENERIC_NEW=y
 CONFIG_DEFAULT_ENVIRONMENT_GENERIC_NEW_MENU=y
@@ -235,7 +190,6 @@ CONFIG_FASTBOOT_CMD_OEM=y
 #
 CONFIG_COMPILE_LOGLEVEL=7
 CONFIG_DEFAULT_LOGLEVEL=6
-# CONFIG_DEBUG_LL is not set
 # CONFIG_DEBUG_INITCALLS is not set
 # CONFIG_DEBUG_PROBES is not set
 # CONFIG_PBL_BREAK is not set
@@ -252,7 +206,6 @@ CONFIG_CC_HAS_KASAN_GENERIC=y
 #
 # end of EFI (Extensible Firmware Interface) Support
 
-CONFIG_HAS_DEBUG_LL=y
 CONFIG_COMMAND_SUPPORT=y
 CONFIG_COMPILE_HASH=y
 
@@ -275,7 +228,6 @@ CONFIG_LONGHELP=y
 CONFIG_CMD_IOMEM=y
 CONFIG_CMD_IMD=y
 CONFIG_CMD_MEMINFO=y
-CONFIG_CMD_ARM_MMUINFO=y
 CONFIG_CMD_REGULATOR=y
 CONFIG_CMD_VERSION=y
 CONFIG_CMD_MMC=y
@@ -411,14 +363,11 @@ CONFIG_CMD_MW=y
 #
 # Hardware manipulation
 #
-CONFIG_CMD_CLK=y
 CONFIG_CMD_DETECT=y
 CONFIG_CMD_FLASH=y
-CONFIG_CMD_GPIO=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_LED=y
 # CONFIG_CMD_POWEROFF is not set
-# CONFIG_CMD_SMC is not set
 CONFIG_CMD_SPI=y
 CONFIG_CMD_LED_TRIGGER=y
 CONFIG_CMD_USB=y
@@ -467,20 +416,17 @@ CONFIG_OFTREE=y
 CONFIG_OFTREE_MEM_GENERIC=y
 CONFIG_DTC=y
 CONFIG_OFDEVICE=y
-CONFIG_OF_GPIO=y
 CONFIG_OF_BAREBOX_DRIVERS=y
 # CONFIG_OF_BAREBOX_ENV_IN_FS is not set
 CONFIG_OF_OVERLAY=y
 # CONFIG_OF_OVERLAY_LIVE is not set
 # CONFIG_AIODEV is not set
-CONFIG_ARM_AMBA=y
 
 #
 # serial drivers
 #
 # CONFIG_SERIAL_DEV_BUS is not set
 # CONFIG_DRIVER_SERIAL_ARM_DCC is not set
-# CONFIG_SERIAL_AMBA_PL011 is not set
 # CONFIG_DRIVER_SERIAL_NS16550 is not set
 # CONFIG_DRIVER_SERIAL_CADENCE is not set
 # CONFIG_SERIAL_SIFIVE is not set
@@ -491,9 +437,7 @@ CONFIG_PHYLIB=y
 #
 # Network drivers
 #
-# CONFIG_DRIVER_NET_ARC_EMAC is not set
 # CONFIG_DRIVER_NET_BCMGENET is not set
-# CONFIG_DRIVER_NET_DESIGNWARE_GENERIC is not set
 # CONFIG_DRIVER_NET_ENC28J60 is not set
 # CONFIG_DRIVER_NET_FSL_FMAN is not set
 # CONFIG_DRIVER_NET_KS8851_MLL is not set
@@ -526,7 +470,6 @@ CONFIG_PHYLIB=y
 # MII bus device drivers
 #
 # CONFIG_MDIO_BITBANG is not set
-# CONFIG_MDIO_BUS_MUX_GPIO is not set
 # end of phylib
 
 CONFIG_NET_USB=y
@@ -542,20 +485,15 @@ CONFIG_NET_USB_SMSC95XX=y
 #
 CONFIG_SPI=y
 # CONFIG_SPI_MEM is not set
-CONFIG_DRIVER_SPI_GPIO=y
 # CONFIG_DRIVER_SPI_LITEX_SPIFLASH is not set
 # end of SPI drivers
 
 CONFIG_I2C=y
-CONFIG_I2C_ALGOBIT=y
 
 #
 # I2C Hardware Bus support
 #
-CONFIG_I2C_GPIO=y
-CONFIG_I2C_BCM283X=y
 # CONFIG_I2C_DESIGNWARE is not set
-# CONFIG_I2C_MV64XXX is not set
 # end of I2C Hardware Bus support
 
 # CONFIG_I2C_MUX is not set
@@ -590,7 +528,6 @@ CONFIG_DISK_WRITE=y
 # drive types
 #
 # CONFIG_DISK_ATA is not set
-# CONFIG_DISK_AHCI is not set
 
 #
 # interface types
@@ -600,9 +537,6 @@ CONFIG_USB=y
 CONFIG_USB_HOST=y
 # CONFIG_USB_DWC2_HOST is not set
 # CONFIG_USB_DWC2_GADGET is not set
-# CONFIG_USB_DWC3 is not set
-CONFIG_USB_EHCI=y
-# CONFIG_USB_XHCI is not set
 # CONFIG_USB_ULPI is not set
 CONFIG_USB_STORAGE=y
 
@@ -610,6 +544,7 @@ CONFIG_USB_STORAGE=y
 # USB Miscellaneous drivers
 #
 # CONFIG_USB_HUB_USB251XB is not set
+# CONFIG_USB_ONBOARD_HUB is not set
 CONFIG_USB_GADGET=y
 CONFIG_USB_GADGET_AUTOSTART=y
 
@@ -637,24 +572,14 @@ CONFIG_MCI_WRITE=y
 #
 # --- MCI host drivers ---
 #
-# CONFIG_MCI_DW is not set
 # CONFIG_MCI_ROCKCHIP_DWCMSHC is not set
-# CONFIG_MCI_BCM283X is not set
-# CONFIG_MCI_BCM283X_SDHOST is not set
-CONFIG_MCI_MMCI=y
 # CONFIG_MCI_ARASAN is not set
 # CONFIG_MCI_SPI is not set
-CONFIG_HAVE_CLK=y
-CONFIG_CLKDEV_LOOKUP=y
-CONFIG_COMMON_CLK=y
-CONFIG_COMMON_CLK_OF_PROVIDER=y
 
 #
 # Clocksource
 #
-CONFIG_CLOCKSOURCE_BCM283X=y
 CONFIG_CLOCKSOURCE_DUMMY_RATE=1000
-CONFIG_CLOCKSOURCE_ARM_ARCHITECTED_TIMER=y
 # CONFIG_CLOCKSOURCE_DW_APB_TIMER is not set
 # end of Clocksource
 
@@ -677,12 +602,12 @@ CONFIG_CLOCKSOURCE_ARM_ARCHITECTED_TIMER=y
 # CONFIG_MFD_ATMEL_FLEXCOM is not set
 # CONFIG_MFD_RK808 is not set
 # CONFIG_MFD_AXP20X_I2C is not set
+# CONFIG_MFD_ROHM_BD718XX is not set
 # end of Multifunction device drivers
 
 #
 # Misc devices
 #
-# CONFIG_JTAG is not set
 # CONFIG_SRAM is not set
 CONFIG_STATE_DRV=y
 CONFIG_DEV_MEM=y
@@ -691,10 +616,6 @@ CONFIG_DEV_MEM=y
 # end of Misc devices
 
 CONFIG_LED=y
-CONFIG_LED_GPIO=y
-CONFIG_LED_GPIO_OF=y
-# CONFIG_LED_GPIO_RGB is not set
-# CONFIG_LED_GPIO_BICOLOR is not set
 CONFIG_LED_TRIGGERS=y
 # CONFIG_LED_PCA955X is not set
 
@@ -708,8 +629,6 @@ CONFIG_LED_TRIGGERS=y
 #
 # Input device support
 #
-# CONFIG_KEYBOARD_GPIO is not set
-# CONFIG_KEYBOARD_QT1070 is not set
 # CONFIG_KEYBOARD_USB is not set
 # CONFIG_INPUT_SPECIALKEYS is not set
 # end of Input device support
@@ -717,8 +636,6 @@ CONFIG_LED_TRIGGERS=y
 CONFIG_WATCHDOG=y
 # CONFIG_WATCHDOG_POLLER is not set
 # CONFIG_WATCHDOG_DW is not set
-# CONFIG_WATCHDOG_BCM2835 is not set
-# CONFIG_GPIO_WATCHDOG is not set
 # CONFIG_PWM is not set
 CONFIG_HWRNG=y
 
@@ -727,31 +644,12 @@ CONFIG_HWRNG=y
 #
 # end of DMA support
 
-CONFIG_GPIOLIB=y
-
-#
-# GPIO
-#
-# CONFIG_GPIO_74164 is not set
-# CONFIG_GPIO_74XX_MMIO is not set
-# CONFIG_GPIO_GENERIC_PLATFORM is not set
-# CONFIG_GPIO_PCA953X is not set
-# CONFIG_GPIO_PCF857X is not set
-# CONFIG_GPIO_PL061 is not set
-# CONFIG_GPIO_RASPBERRYPI_EXP is not set
-# CONFIG_GPIO_DESIGNWARE is not set
-# CONFIG_GPIO_SX150X is not set
-# CONFIG_GPIO_SIFIVE is not set
-# CONFIG_GPIO_LATCH is not set
-# end of GPIO
-
 # CONFIG_W1 is not set
 
 #
 # Pin controllers
 #
 CONFIG_PINCTRL=y
-# CONFIG_PINCTRL_BCM283X is not set
 # CONFIG_PINCTRL_SINGLE is not set
 # end of Pin controllers
 
@@ -763,8 +661,6 @@ CONFIG_PINCTRL=y
 # end of Bus devices
 
 CONFIG_REGULATOR=y
-# CONFIG_REGULATOR_FIXED is not set
-CONFIG_REGULATOR_BCM283X=y
 
 #
 # Remoteproc drivers
@@ -778,8 +674,7 @@ 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
 # end of Firmware Drivers
 
 #
@@ -789,7 +684,11 @@ CONFIG_REGULATOR_BCM283X=y
 # end of FPGA Configuration Support
 
 # CONFIG_GENERIC_PHY is not set
-# CONFIG_CRYPTO_HW is not set
+
+#
+# Hardware crypto devices
+#
+# end of Hardware crypto devices
 
 #
 # Memory controller drivers
@@ -818,8 +717,6 @@ CONFIG_REGULATOR_BCM283X=y
 
 # CONFIG_POWER_RESET_SYSCON is not set
 # CONFIG_POWER_RESET_SYSCON_POWEROFF is not set
-# CONFIG_POWER_RESET_GPIO is not set
-# CONFIG_POWER_RESET_GPIO_RESTART is not set
 # CONFIG_VIRTIO_MENU is not set
 # end of Drivers
 
@@ -896,7 +793,6 @@ CONFIG_LZO_DECOMPRESS=y
 CONFIG_FNMATCH=y
 CONFIG_QSORT=y
 CONFIG_IMAGE_SPARSE=y
-CONFIG_LIBFDT=y
 # CONFIG_RATP is not set
 # CONFIG_ALLOW_PRNG_FALLBACK is not set
 # CONFIG_CRC_CCITT is not set
@@ -907,7 +803,7 @@ CONFIG_LIBFDT=y
 #
 # end of Library gui routines
 
-# CONFIG_NLS is not set
+CONFIG_NLS=y
 # CONFIG_BLOBGEN is not set
 CONFIG_ARCH_HAS_STACK_DUMP=y
 CONFIG_ARCH_HAS_DATA_ABORT_MASK=y
diff --git a/configs/platform-v7a/platformconfig b/configs/platform-v7a/platformconfig
index a5fd92ee8fa2..48ad3cef27d5 100644
--- a/configs/platform-v7a/platformconfig
+++ b/configs/platform-v7a/platformconfig
@@ -183,8 +183,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.02.1"
-PTXCONF_BAREBOX_COMMON_MD5="348dcab39489a46506a3c205a0da87a9"
+PTXCONF_BAREBOX_COMMON_VERSION="2023.04.0"
+PTXCONF_BAREBOX_COMMON_MD5="322b14e079eb18c8e851084ea44d99e3"
 PTXCONF_BAREBOX_COMMON_NEEDS_HOST_LZOP=y
 PTXCONF_BAREBOX_AM335X_MLO=y
 PTXCONF_BAREBOX_AM335X=y
-- 
2.39.2




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

* [DistroKit] [PATCH v2 03/10] v8a: barebox: version bump v2023.01.0 → v2023.04.0
  2023-05-04 13:59 [DistroKit] [PATCH v2 00/10] v8a: barebox: update to use upstream PTXdist rule Ahmad Fatoum
  2023-05-04 13:59 ` [DistroKit] [PATCH v2 01/10] v8a: barebox: rock3a: drop no longer needed SD-Card speed quirk Ahmad Fatoum
  2023-05-04 13:59 ` [DistroKit] [PATCH v2 02/10] v7a: barebox: version bump v2023.02.1 → v2023.04.0 Ahmad Fatoum
@ 2023-05-04 13:59 ` Ahmad Fatoum
  2023-05-04 13:59 ` [DistroKit] [PATCH v2 04/10] Revert "v8a: barebox: rockchip: disable CONFIG_MMCBLKDEV_ROOTARG" Ahmad Fatoum
                   ` (7 subsequent siblings)
  10 siblings, 0 replies; 13+ messages in thread
From: Ahmad Fatoum @ 2023-05-04 13:59 UTC (permalink / raw)
  To: distrokit; +Cc: Ahmad Fatoum, bst

As preparation for combining barebox-rockchip and barebox-imx8m, let's
update both to v2023.04.0, which is the first release that can target
both with the same build.

This barebox update also pulls in the kernel DT update that moved
around the DT aliases for the Radxa boards. For this reason, we need
to touch up the environment as well.

Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
---
 configs/platform-v8a/barebox-imx8m.config     | 122 ++++++------------
 .../barebox-rock3a-defaultenv/init/bootsource |   2 +-
 configs/platform-v8a/barebox-rockchip.config  |  36 ++++--
 configs/platform-v8a/rules/barebox-imx8m.make |   4 +-
 .../platform-v8a/rules/barebox-rockchip.make  |   4 +-
 5 files changed, 71 insertions(+), 97 deletions(-)

diff --git a/configs/platform-v8a/barebox-imx8m.config b/configs/platform-v8a/barebox-imx8m.config
index d28f47573d68..cfbc624e70fb 100644
--- a/configs/platform-v8a/barebox-imx8m.config
+++ b/configs/platform-v8a/barebox-imx8m.config
@@ -1,6 +1,6 @@
 #
 # Automatically generated file; DO NOT EDIT.
-# Barebox/arm 2023.01.0 Configuration
+# Barebox/arm 2023.04.0 Configuration
 #
 CONFIG_ARM=y
 CONFIG_ARM_LINUX=y
@@ -10,32 +10,31 @@ CONFIG_TEXT_BASE=0x0
 #
 # System Type
 #
+CONFIG_ARCH_MULTIARCH=y
 # CONFIG_ARCH_AT91 is not set
-# CONFIG_ARCH_BCM283X is not set
 # CONFIG_ARCH_CLPS711X is not set
 # CONFIG_ARCH_DAVINCI is not set
 # CONFIG_ARCH_DIGIC is not set
 # CONFIG_ARCH_EP93XX is not set
-CONFIG_ARCH_IMX=y
 # CONFIG_ARCH_LAYERSCAPE is not set
 # CONFIG_ARCH_MVEBU is not set
 # CONFIG_ARCH_MXS is not set
 # CONFIG_ARCH_NOMADIK is not set
-# CONFIG_ARCH_OMAP is not set
+# CONFIG_ARCH_OMAP_SINGLE is not set
 # CONFIG_ARCH_PXA is not set
-# CONFIG_ARCH_ROCKCHIP is not set
 # CONFIG_ARCH_SOCFPGA is not set
-# CONFIG_ARCH_S3C24xx is not set
-# CONFIG_ARCH_S5PCxx is not set
-# CONFIG_ARCH_S3C64xx is not set
-# CONFIG_ARCH_STM32MP is not set
 # CONFIG_ARCH_VERSATILE is not set
-# CONFIG_ARCH_VEXPRESS is not set
 # CONFIG_ARCH_TEGRA is not set
 # CONFIG_ARCH_UEMD is not set
 # CONFIG_ARCH_ZYNQ is not set
-# CONFIG_ARCH_ZYNQMP is not set
 # CONFIG_ARCH_ARM64_VIRT is not set
+# CONFIG_ARCH_BCM283X is not set
+CONFIG_ARCH_IMX=y
+# CONFIG_ARCH_OMAP_MULTI is not set
+# CONFIG_ARCH_ROCKCHIP is not set
+# CONFIG_ARCH_STM32MP is not set
+# CONFIG_ARCH_VEXPRESS is not set
+# CONFIG_ARCH_ZYNQMP is not set
 
 #
 # Processor Type
@@ -49,89 +48,34 @@ CONFIG_CPU_64v8=y
 # processor features
 #
 # CONFIG_BOOT_ENDIANNESS_SWITCH is not set
+CONFIG_CPU_SUPPORTS_32BIT_KERNEL=y
 CONFIG_CPU_SUPPORTS_64BIT_KERNEL=y
 CONFIG_ARCH_IMX_IMXIMAGE=y
 
 #
-# Freescale i.MX System-on-Chip
+# i.MX boards
 #
 CONFIG_ARCH_IMX8M=y
 CONFIG_ARCH_IMX8MM=y
 CONFIG_ARCH_IMX8MP=y
 CONFIG_ARCH_IMX8MQ=y
-CONFIG_IMX_MULTI_BOARDS=y
-# CONFIG_MACH_SCB9328 is not set
-# CONFIG_MACH_TX25 is not set
-# CONFIG_MACH_PCA100 is not set
-# CONFIG_MACH_PCM038 is not set
-# CONFIG_MACH_KINDLE_MX50 is not set
-# CONFIG_MACH_CCMX51 is not set
-# CONFIG_MACH_EFIKA_MX_SMARTBOOK is not set
-# CONFIG_MACH_EMBEDSKY_E9 is not set
-# CONFIG_MACH_FREESCALE_MX51_PDK is not set
-# CONFIG_MACH_CCMX53 is not set
-# CONFIG_MACH_FREESCALE_MX53_LOCO is not set
-# CONFIG_MACH_GUF_VINCELL is not set
-# CONFIG_MACH_TQMA53 is not set
-# CONFIG_MACH_FREESCALE_MX53_VMX53 is not set
-# CONFIG_MACH_TX53 is not set
-# CONFIG_MACH_PHYTEC_SOM_IMX6 is not set
-# CONFIG_MACH_PROTONIC_IMX6 is not set
-# CONFIG_MACH_PROTONIC_IMX8M is not set
+
+#
+# i.MX8M boards
+#
 # CONFIG_MACH_INNOCOMM_WB15 is not set
-# CONFIG_MACH_KONTRON_SAMX6I is not set
-# CONFIG_MACH_DFI_FS700_M60 is not set
-# CONFIG_MACH_GUF_SANTARO is not set
-# CONFIG_MACH_REALQ7 is not set
-# CONFIG_MACH_GK802 is not set
-# CONFIG_MACH_ELTEC_HIPERCAM is not set
-# CONFIG_MACH_TQMA6X is not set
-# CONFIG_MACH_TQMA6UL is not set
-# CONFIG_MACH_TX6X is not set
-# CONFIG_MACH_SABRELITE is not set
-# CONFIG_MACH_SABRESD is not set
-# CONFIG_MACH_FREESCALE_IMX6SX_SABRESDB is not set
-# CONFIG_MACH_NITROGEN6 is not set
-# CONFIG_MACH_SOLIDRUN_MICROSOM is not set
-# CONFIG_MACH_TECHNEXION_PICO_HOBBIT is not set
-# CONFIG_MACH_TECHNEXION_WANDBOARD is not set
-# CONFIG_MACH_EMBEST_MARSBOARD is not set
-# CONFIG_MACH_EMBEST_RIOTBOARD is not set
-# CONFIG_MACH_UDOO is not set
-# CONFIG_MACH_UDOO_NEO is not set
-# CONFIG_MACH_VARISCITE_MX6 is not set
-# CONFIG_MACH_GW_VENTANA is not set
-# CONFIG_MACH_CM_FX6 is not set
-# CONFIG_MACH_ADVANTECH_ROM_742X is not set
-# CONFIG_MACH_WARP7 is not set
-# CONFIG_MACH_AC_SXB is not set
-# CONFIG_MACH_MEERKAT96 is not set
-# CONFIG_MACH_VF610_TWR is not set
-# CONFIG_MACH_ZII_RDU1 is not set
-# CONFIG_MACH_ZII_RDU2 is not set
-# CONFIG_MACH_ZII_IMX8MQ_DEV is not set
-# CONFIG_MACH_ZII_VF610_DEV is not set
-# CONFIG_MACH_ZII_IMX7D_DEV is not set
-# CONFIG_MACH_PHYTEC_PHYCORE_IMX7 is not set
-# CONFIG_MACH_FREESCALE_MX7_SABRESD is not set
-# CONFIG_MACH_KAMSTRUP_MX7_CONCENTRATOR is not set
-# CONFIG_MACH_NXP_IMX6ULL_EVK is not set
+# CONFIG_MACH_MNT_REFORM is not set
 CONFIG_MACH_NXP_IMX8MM_EVK=y
 # CONFIG_MACH_NXP_IMX8MN_EVK is not set
 CONFIG_MACH_NXP_IMX8MP_EVK=y
 CONFIG_MACH_NXP_IMX8MQ_EVK=y
 CONFIG_MACH_PHYTEC_SOM_IMX8MQ=y
+# CONFIG_MACH_POLYHEX_DEBIX is not set
+# CONFIG_MACH_PROTONIC_IMX8M is not set
 # CONFIG_MACH_TQ_MBA8MPXL is not set
-# CONFIG_MACH_GRINN_LITEBOARD is not set
-# CONFIG_MACH_DIGI_CCIMX6ULSBCPRO is not set
-# CONFIG_MACH_WEBASTO_CCBV2 is not set
-# CONFIG_MACH_MNT_REFORM is not set
-# CONFIG_MACH_SKOV_IMX6 is not set
-
-#
-# Board specific settings
-#
-# end of Board specific settings
+# CONFIG_MACH_VARISCITE_DT8MCUSTOMBOARD_IMX8MP is not set
+# CONFIG_MACH_ZII_IMX8MQ_DEV is not set
+# end of i.MX boards
 
 #
 # i.MX specific settings
@@ -144,6 +88,7 @@ CONFIG_IMX_SAVE_BOOTROM_LOG=y
 # CONFIG_BOARD_ARM_GENERIC_DT is not set
 # end of System Type
 
+# CONFIG_32BIT is not set
 CONFIG_64BIT=y
 
 #
@@ -271,6 +216,7 @@ CONFIG_DEFAULT_ENVIRONMENT=y
 CONFIG_DEFAULT_COMPRESSION_NONE=y
 CONFIG_DEFAULT_ENVIRONMENT_GENERIC_NEW=y
 CONFIG_DEFAULT_ENVIRONMENT_GENERIC_NEW_MENU=y
+CONFIG_DEFAULT_ENVIRONMENT_GENERIC_NEW_REBOOT_MODE=y
 # CONFIG_DEFAULT_ENVIRONMENT_GENERIC_NEW_IKCONFIG is not set
 CONFIG_DEFAULT_ENVIRONMENT_PATH="$(objtree)/.ptxdist-defaultenv"
 CONFIG_HAS_SCHED=y
@@ -303,8 +249,11 @@ CONFIG_FASTBOOT_SPARSE=y
 CONFIG_COMPILE_LOGLEVEL=6
 CONFIG_DEFAULT_LOGLEVEL=7
 # CONFIG_DEBUG_LL is not set
+CONFIG_ARCH_WANT_FRAME_POINTERS=y
+CONFIG_FRAME_POINTER=y
 CONFIG_DEBUG_IMX_UART_PORT=1
 # CONFIG_DEBUG_INITCALLS is not set
+# CONFIG_DEBUG_PBL is not set
 # CONFIG_DEBUG_PROBES is not set
 # CONFIG_PBL_BREAK is not set
 # CONFIG_PRINTF_FULL is not set
@@ -561,6 +510,8 @@ CONFIG_PHYLIB=y
 #
 # CONFIG_DRIVER_NET_BCMGENET is not set
 # CONFIG_DRIVER_NET_DESIGNWARE_GENERIC is not set
+CONFIG_DRIVER_NET_DESIGNWARE_EQOS=y
+CONFIG_DRIVER_NET_DESIGNWARE_IMX8=y
 # CONFIG_DRIVER_NET_ENC28J60 is not set
 CONFIG_DRIVER_NET_FEC_IMX=y
 # CONFIG_DRIVER_NET_FSL_FMAN is not set
@@ -691,6 +642,7 @@ CONFIG_USB_STORAGE=y
 # USB Miscellaneous drivers
 #
 # CONFIG_USB_HUB_USB251XB is not set
+# CONFIG_USB_ONBOARD_HUB is not set
 CONFIG_USB_GADGET=y
 CONFIG_USB_GADGET_DRIVER_ARC_PBL=y
 CONFIG_USB_GADGET_DUALSPEED=y
@@ -753,7 +705,7 @@ CONFIG_CLOCKSOURCE_ARM_ARCHITECTED_TIMER=y
 # CONFIG_MFD_MC34704 is not set
 # CONFIG_MFD_MC9SDZ60 is not set
 # CONFIG_MFD_STMPE is not set
-# CONFIG_MFD_SYSCON is not set
+CONFIG_MFD_SYSCON=y
 # CONFIG_MFD_TWL4030 is not set
 # CONFIG_MFD_TWL6030 is not set
 CONFIG_RAVE_SP_CORE=y
@@ -762,6 +714,7 @@ CONFIG_RAVE_SP_CORE=y
 # CONFIG_MFD_ATMEL_FLEXCOM is not set
 # CONFIG_MFD_RK808 is not set
 # CONFIG_MFD_AXP20X_I2C is not set
+# CONFIG_MFD_ROHM_BD718XX is not set
 # end of Multifunction device drivers
 
 #
@@ -858,6 +811,7 @@ CONFIG_RAVE_SP_EEPROM=y
 CONFIG_REGULATOR=y
 CONFIG_REGULATOR_FIXED=y
 # CONFIG_REGULATOR_PFUZE is not set
+# CONFIG_REGULATOR_ANATOP is not set
 
 #
 # Remoteproc drivers
@@ -892,6 +846,7 @@ CONFIG_RTC_DRV_DS1307=y
 #
 # CONFIG_FIRMWARE_ALTERA_SERIAL is not set
 # CONFIG_ARM_SCMI_PROTOCOL is not set
+# CONFIG_QEMU_FW_CFG is not set
 # end of Firmware Drivers
 
 #
@@ -903,7 +858,12 @@ CONFIG_RTC_DRV_DS1307=y
 CONFIG_GENERIC_PHY=y
 CONFIG_USB_NOP_XCEIV=y
 CONFIG_PHY_FSL_IMX8MQ_USB=y
-# CONFIG_CRYPTO_HW is not set
+
+#
+# Hardware crypto devices
+#
+# CONFIG_FSL_CAAM_RNG_PBL_INIT is not set
+# end of Hardware crypto devices
 
 #
 # Memory controller drivers
@@ -938,6 +898,8 @@ CONFIG_IMX8M_FEATCTRL=y
 CONFIG_IMX8M_DRAM=y
 # end of i.MX8M DDR controllers
 
+CONFIG_REBOOT_MODE=y
+CONFIG_SYSCON_REBOOT_MODE=y
 # CONFIG_NVMEM_REBOOT_MODE is not set
 # CONFIG_POWER_RESET_SYSCON is not set
 # CONFIG_POWER_RESET_SYSCON_POWEROFF is not set
diff --git a/configs/platform-v8a/barebox-rock3a-defaultenv/init/bootsource b/configs/platform-v8a/barebox-rock3a-defaultenv/init/bootsource
index fe7991dbc13c..bc81609a49c0 100644
--- a/configs/platform-v8a/barebox-rock3a-defaultenv/init/bootsource
+++ b/configs/platform-v8a/barebox-rock3a-defaultenv/init/bootsource
@@ -8,6 +8,6 @@ if [ "$bootsource" = mmc ]; then
 	detect mmc$bootsource_instance
 	global.boot.default="mmc$bootsource_instance net"
 elif [ "$bootsource" = "spi-nor" ]; then
-	usbgadget -A '/dev/mmc0(sd)'
+	usbgadget -A '/dev/mmc1(sd)'
 	global.autoboot=abort
 fi
diff --git a/configs/platform-v8a/barebox-rockchip.config b/configs/platform-v8a/barebox-rockchip.config
index c063a97b6de9..db6cf7ec6007 100644
--- a/configs/platform-v8a/barebox-rockchip.config
+++ b/configs/platform-v8a/barebox-rockchip.config
@@ -1,6 +1,6 @@
 #
 # Automatically generated file; DO NOT EDIT.
-# Barebox/arm 2023.01.0 Configuration
+# Barebox/arm 2023.04.0 Configuration
 #
 CONFIG_ARM=y
 CONFIG_ARM_LINUX=y
@@ -9,32 +9,31 @@ CONFIG_TEXT_BASE=0x0
 #
 # System Type
 #
+CONFIG_ARCH_MULTIARCH=y
 # CONFIG_ARCH_AT91 is not set
-# CONFIG_ARCH_BCM283X is not set
 # CONFIG_ARCH_CLPS711X is not set
 # CONFIG_ARCH_DAVINCI is not set
 # CONFIG_ARCH_DIGIC is not set
 # CONFIG_ARCH_EP93XX is not set
-# CONFIG_ARCH_IMX is not set
 # CONFIG_ARCH_LAYERSCAPE is not set
 # CONFIG_ARCH_MVEBU is not set
 # CONFIG_ARCH_MXS is not set
 # CONFIG_ARCH_NOMADIK is not set
-# CONFIG_ARCH_OMAP is not set
+# CONFIG_ARCH_OMAP_SINGLE is not set
 # CONFIG_ARCH_PXA is not set
-CONFIG_ARCH_ROCKCHIP=y
 # CONFIG_ARCH_SOCFPGA is not set
-# CONFIG_ARCH_S3C24xx is not set
-# CONFIG_ARCH_S5PCxx is not set
-# CONFIG_ARCH_S3C64xx is not set
-# CONFIG_ARCH_STM32MP is not set
 # CONFIG_ARCH_VERSATILE is not set
-# CONFIG_ARCH_VEXPRESS is not set
 # CONFIG_ARCH_TEGRA is not set
 # CONFIG_ARCH_UEMD is not set
 # CONFIG_ARCH_ZYNQ is not set
-# CONFIG_ARCH_ZYNQMP is not set
 # CONFIG_ARCH_ARM64_VIRT is not set
+# CONFIG_ARCH_BCM283X is not set
+# CONFIG_ARCH_IMX is not set
+# CONFIG_ARCH_OMAP_MULTI is not set
+CONFIG_ARCH_ROCKCHIP=y
+# CONFIG_ARCH_STM32MP is not set
+# CONFIG_ARCH_VEXPRESS is not set
+# CONFIG_ARCH_ZYNQMP is not set
 
 #
 # Processor Type
@@ -71,6 +70,7 @@ CONFIG_MACH_RADXA_ROCK3=y
 #
 # select board features:
 #
+CONFIG_ARCH_ROCKCHIP_ATF=y
 # CONFIG_ARCH_RK3568_OPTEE is not set
 # end of Rockchip Features
 
@@ -237,8 +237,11 @@ CONFIG_FASTBOOT_CMD_OEM=y
 CONFIG_COMPILE_LOGLEVEL=6
 CONFIG_DEFAULT_LOGLEVEL=7
 # CONFIG_DEBUG_LL is not set
+CONFIG_ARCH_WANT_FRAME_POINTERS=y
+CONFIG_FRAME_POINTER=y
 CONFIG_DEBUG_ROCKCHIP_UART_PORT=2
 # CONFIG_DEBUG_INITCALLS is not set
+# CONFIG_DEBUG_PBL is not set
 # CONFIG_DEBUG_PROBES is not set
 # CONFIG_PBL_BREAK is not set
 # CONFIG_PRINTF_FULL is not set
@@ -463,6 +466,8 @@ CONFIG_NET_DHCP=y
 #
 # Drivers
 #
+CONFIG_REGMAP_FORMATTED=y
+CONFIG_REGMAP_I2C=y
 CONFIG_OFTREE=y
 CONFIG_OFTREE_MEM_GENERIC=y
 CONFIG_DTC=y
@@ -582,6 +587,7 @@ CONFIG_USB_STORAGE=y
 # USB Miscellaneous drivers
 #
 # CONFIG_USB_HUB_USB251XB is not set
+# CONFIG_USB_ONBOARD_HUB is not set
 CONFIG_USB_GADGET=y
 CONFIG_USB_GADGET_AUTOSTART=y
 
@@ -646,6 +652,7 @@ CONFIG_MFD_SYSCON=y
 # CONFIG_MFD_ATMEL_FLEXCOM is not set
 CONFIG_MFD_RK808=y
 # CONFIG_MFD_AXP20X_I2C is not set
+# CONFIG_MFD_ROHM_BD718XX is not set
 # end of Multifunction device drivers
 
 #
@@ -748,6 +755,7 @@ CONFIG_RESET_CONTROLLER=y
 # Firmware Drivers
 #
 # CONFIG_ARM_SCMI_PROTOCOL is not set
+# CONFIG_QEMU_FW_CFG is not set
 # end of Firmware Drivers
 
 #
@@ -761,7 +769,11 @@ CONFIG_GENERIC_PHY=y
 # CONFIG_PHY_FSL_IMX8MQ_USB is not set
 CONFIG_PHY_ROCKCHIP_INNO_USB2=y
 CONFIG_PHY_ROCKCHIP_NANENG_COMBO_PHY=y
-# CONFIG_CRYPTO_HW is not set
+
+#
+# Hardware crypto devices
+#
+# end of Hardware crypto devices
 
 #
 # Memory controller drivers
diff --git a/configs/platform-v8a/rules/barebox-imx8m.make b/configs/platform-v8a/rules/barebox-imx8m.make
index f068865c2182..1396fa62e651 100644
--- a/configs/platform-v8a/rules/barebox-imx8m.make
+++ b/configs/platform-v8a/rules/barebox-imx8m.make
@@ -14,8 +14,8 @@ PACKAGES-$(PTXCONF_BAREBOX_IMX8M) += barebox-imx8m
 #
 # Paths and names
 #
-BAREBOX_IMX8M_VERSION	:= 2023.01.0
-BAREBOX_IMX8M_MD5	:= 884680a110d252e3ae18589b18848ed9
+BAREBOX_IMX8M_VERSION	:= 2023.04.0
+BAREBOX_IMX8M_MD5	:= 322b14e079eb18c8e851084ea44d99e3
 BAREBOX_IMX8M		:= barebox-imx8m-$(BAREBOX_IMX8M_VERSION)
 BAREBOX_IMX8M_SUFFIX	:= tar.bz2
 BAREBOX_IMX8M_URL	:= $(call barebox-url, BAREBOX_IMX8M)
diff --git a/configs/platform-v8a/rules/barebox-rockchip.make b/configs/platform-v8a/rules/barebox-rockchip.make
index 87ea4730e42b..fbab38419316 100644
--- a/configs/platform-v8a/rules/barebox-rockchip.make
+++ b/configs/platform-v8a/rules/barebox-rockchip.make
@@ -14,8 +14,8 @@ PACKAGES-$(PTXCONF_BAREBOX_ROCKCHIP) += barebox-rockchip
 #
 # Paths and names
 #
-BAREBOX_ROCKCHIP_VERSION	:= 2023.01.0
-BAREBOX_ROCKCHIP_MD5		:= 884680a110d252e3ae18589b18848ed9
+BAREBOX_ROCKCHIP_VERSION	:= 2023.04.0
+BAREBOX_ROCKCHIP_MD5		:= 322b14e079eb18c8e851084ea44d99e3
 BAREBOX_ROCKCHIP		:= barebox-rockchip-$(BAREBOX_ROCKCHIP_VERSION)
 BAREBOX_ROCKCHIP_SUFFIX		:= tar.bz2
 BAREBOX_ROCKCHIP_URL		:= $(call barebox-url, BAREBOX_ROCKCHIP)
-- 
2.39.2




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

* [DistroKit] [PATCH v2 04/10] Revert "v8a: barebox: rockchip: disable CONFIG_MMCBLKDEV_ROOTARG"
  2023-05-04 13:59 [DistroKit] [PATCH v2 00/10] v8a: barebox: update to use upstream PTXdist rule Ahmad Fatoum
                   ` (2 preceding siblings ...)
  2023-05-04 13:59 ` [DistroKit] [PATCH v2 03/10] v8a: barebox: version bump v2023.01.0 " Ahmad Fatoum
@ 2023-05-04 13:59 ` Ahmad Fatoum
  2023-05-04 13:59 ` [DistroKit] [PATCH v2 05/10] platforms: drop no longer needed blspec-rpi4 Ahmad Fatoum
                   ` (6 subsequent siblings)
  10 siblings, 0 replies; 13+ messages in thread
From: Ahmad Fatoum @ 2023-05-04 13:59 UTC (permalink / raw)
  To: distrokit; +Cc: Ahmad Fatoum, bst

Now that we have updated both Linux and barebox, it's fine again to fixup
root=/dev/mmcblk into the kernel command line instead of using
PARTUUIDs, thus let's enable this option again.

This reverts commit be52a8f5dff489db9e8e8c7dcc8fe53106a8dede.

Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
---
 configs/platform-v8a/barebox-rockchip.config | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configs/platform-v8a/barebox-rockchip.config b/configs/platform-v8a/barebox-rockchip.config
index db6cf7ec6007..2ba9f09ef286 100644
--- a/configs/platform-v8a/barebox-rockchip.config
+++ b/configs/platform-v8a/barebox-rockchip.config
@@ -179,7 +179,7 @@ CONFIG_BOOTM_OFTREE=y
 # CONFIG_BOOTM_FITIMAGE is not set
 CONFIG_BLSPEC=y
 CONFIG_FLEXIBLE_BOOTARGS=y
-# CONFIG_MMCBLKDEV_ROOTARG is not set
+CONFIG_MMCBLKDEV_ROOTARG=y
 CONFIG_BAREBOX_UPDATE=y
 CONFIG_SYSTEM_PARTITIONS=y
 CONFIG_IMD=y
-- 
2.39.2




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

* [DistroKit] [PATCH v2 05/10] platforms: drop no longer needed blspec-rpi4
  2023-05-04 13:59 [DistroKit] [PATCH v2 00/10] v8a: barebox: update to use upstream PTXdist rule Ahmad Fatoum
                   ` (3 preceding siblings ...)
  2023-05-04 13:59 ` [DistroKit] [PATCH v2 04/10] Revert "v8a: barebox: rockchip: disable CONFIG_MMCBLKDEV_ROOTARG" Ahmad Fatoum
@ 2023-05-04 13:59 ` Ahmad Fatoum
  2023-05-04 13:59 ` [DistroKit] [PATCH v2 06/10] v8a: rockchip: use common environment Ahmad Fatoum
                   ` (5 subsequent siblings)
  10 siblings, 0 replies; 13+ messages in thread
From: Ahmad Fatoum @ 2023-05-04 13:59 UTC (permalink / raw)
  To: distrokit; +Cc: Ahmad Fatoum, bst

Now that we have commits:

  - 552ea42fe7aa ("v8a: blspec: switch to default blspec entry")
  - b7a4fe185852 ("v7a: blspec: convert to ptxdist default entries")

we don't need special dedicated blspec rules anymore for v7a/v8a, so drop
the last one we had left.

Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
---
 configs/platform-v7a/platformconfig |  1 -
 configs/platform-v8a/platformconfig |  1 -
 platforms/blspec-rpi4.in            |  7 ------
 rules/blspec-rpi4.make              | 38 -----------------------------
 4 files changed, 47 deletions(-)
 delete mode 100644 platforms/blspec-rpi4.in
 delete mode 100644 rules/blspec-rpi4.make

diff --git a/configs/platform-v7a/platformconfig b/configs/platform-v7a/platformconfig
index 48ad3cef27d5..edacf19263a8 100644
--- a/configs/platform-v7a/platformconfig
+++ b/configs/platform-v7a/platformconfig
@@ -228,7 +228,6 @@ PTXCONF_BLSPEC_ENTRY=y
 PTXCONF_BLSPEC_ENTRY_DEVICETREE=y
 PTXCONF_BLSPEC_ENTRY_CMDLINE="rootwait rw"
 PTXCONF_BLSPEC_ENTRY_APPENDROOT=y
-# PTXCONF_BLSPEC_RPI4 is not set
 # end of bootloader spec entries       
 
 #
diff --git a/configs/platform-v8a/platformconfig b/configs/platform-v8a/platformconfig
index b15e30dfe9a0..95d9974002ed 100644
--- a/configs/platform-v8a/platformconfig
+++ b/configs/platform-v8a/platformconfig
@@ -209,7 +209,6 @@ PTXCONF_BLSPEC_ENTRY=y
 PTXCONF_BLSPEC_ENTRY_DEVICETREE=y
 PTXCONF_BLSPEC_ENTRY_CMDLINE="rootwait"
 PTXCONF_BLSPEC_ENTRY_APPENDROOT=y
-PTXCONF_BLSPEC_RPI4=y
 # end of bootloader spec entries       
 
 #
diff --git a/platforms/blspec-rpi4.in b/platforms/blspec-rpi4.in
deleted file mode 100644
index aa3e7aff5ae3..000000000000
--- a/platforms/blspec-rpi4.in
+++ /dev/null
@@ -1,7 +0,0 @@
-## SECTION=blspec
-
-config BLSPEC_RPI4
-	tristate
-	# make sure it's only visible on platforms, where it makes sense
-	depends on ARCH_ARM && ARCH_ARMV7_NEON || ARCH_ARM64
-	prompt "/loader/entries/rpi4*.conf bootloader spec entries"
diff --git a/rules/blspec-rpi4.make b/rules/blspec-rpi4.make
deleted file mode 100644
index 50a5f88ac9cf..000000000000
--- a/rules/blspec-rpi4.make
+++ /dev/null
@@ -1,38 +0,0 @@
-# -*-makefile-*-
-#
-# Copyright (C) 2022 by Ahmad Fatoum <a.fatoum@pengutronix.de>
-#
-# For further information about the PTXdist project and license conditions
-# see the README file.
-#
-
-#
-# We provide this package
-#
-PACKAGES-$(PTXCONF_BLSPEC_RPI4) += blspec-rpi4
-
-BLSPEC_RPI4_VERSION	:= 4.6
-
-# ----------------------------------------------------------------------------
-# Target-Install
-# ----------------------------------------------------------------------------
-
-$(STATEDIR)/blspec-rpi4.targetinstall:
-	@$(call targetinfo)
-
-	@$(call install_init, blspec-rpi4)
-	@$(call install_fixup,blspec-rpi4,PRIORITY,optional)
-	@$(call install_fixup,blspec-rpi4,SECTION,base)
-	@$(call install_fixup,blspec-rpi4,AUTHOR,"Ahmad Fatoum <a.fatoum@pengutronix.de>")
-	@$(call install_fixup,blspec-rpi4,DESCRIPTION,missing)
-
-	@$(call install_alternative, blspec-rpi4, 0, 0, 0644, \
-		/loader/entries/rpi4b.conf)
-	@$(call install_alternative, blspec-rpi4, 0, 0, 0644, \
-		/loader/entries/rpi400.conf)
-
-	@$(call install_finish,blspec-rpi4)
-
-	@$(call touch)
-
-# vim: syntax=make
-- 
2.39.2




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

* [DistroKit] [PATCH v2 06/10] v8a: rockchip: use common environment
  2023-05-04 13:59 [DistroKit] [PATCH v2 00/10] v8a: barebox: update to use upstream PTXdist rule Ahmad Fatoum
                   ` (4 preceding siblings ...)
  2023-05-04 13:59 ` [DistroKit] [PATCH v2 05/10] platforms: drop no longer needed blspec-rpi4 Ahmad Fatoum
@ 2023-05-04 13:59 ` Ahmad Fatoum
  2023-05-04 13:59 ` [DistroKit] [PATCH v2 07/10] v8a: barebox: configure upstream barebox rule for both imx8m and rockchip Ahmad Fatoum
                   ` (4 subsequent siblings)
  10 siblings, 0 replies; 13+ messages in thread
From: Ahmad Fatoum @ 2023-05-04 13:59 UTC (permalink / raw)
  To: distrokit; +Cc: Ahmad Fatoum, bst

This effectively reverts commit 95014f4d8a50 ("v8a: rockchip: copy default
barebox env"). The common environment and the rockchip one are now
identical.

The spi-nor part is just for the Rockchip board though, so let's make
its execution conditional and drop barebox-rock3a-defaultenv.

Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
---
 .../barebox-common-defaultenv/init/bootsource       | 10 +++++++---
 .../barebox-rock3a-defaultenv/init/bootsource       | 13 -------------
 .../nv/linux.bootargs.loglevel                      |  1 -
 configs/platform-v8a/rules/barebox-rockchip.make    |  2 +-
 4 files changed, 8 insertions(+), 18 deletions(-)
 delete mode 100644 configs/platform-v8a/barebox-rock3a-defaultenv/init/bootsource
 delete mode 100644 configs/platform-v8a/barebox-rock3a-defaultenv/nv/linux.bootargs.loglevel

diff --git a/configs/platform-v8a/barebox-common-defaultenv/init/bootsource b/configs/platform-v8a/barebox-common-defaultenv/init/bootsource
index 8f00bced5df2..db1915321531 100644
--- a/configs/platform-v8a/barebox-common-defaultenv/init/bootsource
+++ b/configs/platform-v8a/barebox-common-defaultenv/init/bootsource
@@ -8,7 +8,11 @@ fi
 if [ "$bootsource" = mmc ]; then
 	detect mmc$bootsource_instance
 	global.boot.default="mmc$bootsource_instance net"
-elif [ "$bootsource" = "spi-nor" ]; then
-	usbgadget -A '/dev/mmc0(sd)'
-	global.autoboot=abort
+fi
+
+if [ "${global.model}" = "Radxa ROCK3 Model A" ]; then
+	if [ "$bootsource" = "spi-nor" ]; then
+		usbgadget -A '/dev/mmc1(sd)'
+		global.autoboot=abort
+	fi
 fi
diff --git a/configs/platform-v8a/barebox-rock3a-defaultenv/init/bootsource b/configs/platform-v8a/barebox-rock3a-defaultenv/init/bootsource
deleted file mode 100644
index bc81609a49c0..000000000000
--- a/configs/platform-v8a/barebox-rock3a-defaultenv/init/bootsource
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/bin/sh
-
-if [ -n "${nv.boot.default}" ]; then
-	exit
-fi
-
-if [ "$bootsource" = mmc ]; then
-	detect mmc$bootsource_instance
-	global.boot.default="mmc$bootsource_instance net"
-elif [ "$bootsource" = "spi-nor" ]; then
-	usbgadget -A '/dev/mmc1(sd)'
-	global.autoboot=abort
-fi
diff --git a/configs/platform-v8a/barebox-rock3a-defaultenv/nv/linux.bootargs.loglevel b/configs/platform-v8a/barebox-rock3a-defaultenv/nv/linux.bootargs.loglevel
deleted file mode 100644
index 705752ca416d..000000000000
--- a/configs/platform-v8a/barebox-rock3a-defaultenv/nv/linux.bootargs.loglevel
+++ /dev/null
@@ -1 +0,0 @@
-loglevel=5 systemd.log_level=warning systemd.show_status=auto
diff --git a/configs/platform-v8a/rules/barebox-rockchip.make b/configs/platform-v8a/rules/barebox-rockchip.make
index fbab38419316..a04534418d84 100644
--- a/configs/platform-v8a/rules/barebox-rockchip.make
+++ b/configs/platform-v8a/rules/barebox-rockchip.make
@@ -69,7 +69,7 @@ $(BAREBOX_ROCKCHIP_CONFIG):
 endif
 
 BAREBOX_ROCKCHIP_EXTRA_ENV_PATH  := $(foreach path, \
-                $(call remove_quotes,"barebox-rock3a-defaultenv"), \
+                $(call remove_quotes,"barebox-common-defaultenv"), \
                 $(call ptx/in-platformconfigdir,$(path)))
 BAREBOX_ROCKCHIP_EXTRA_ENV_DEPS  := \
         $(BAREBOX_ROCKCHIP_EXTRA_ENV_PATH) \
-- 
2.39.2




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

* [DistroKit] [PATCH v2 07/10] v8a: barebox: configure upstream barebox rule for both imx8m and rockchip
  2023-05-04 13:59 [DistroKit] [PATCH v2 00/10] v8a: barebox: update to use upstream PTXdist rule Ahmad Fatoum
                   ` (5 preceding siblings ...)
  2023-05-04 13:59 ` [DistroKit] [PATCH v2 06/10] v8a: rockchip: use common environment Ahmad Fatoum
@ 2023-05-04 13:59 ` Ahmad Fatoum
  2023-05-04 13:59 ` [DistroKit] [PATCH v2 08/10] v8a: barebox: switch to upstream rule Ahmad Fatoum
                   ` (3 subsequent siblings)
  10 siblings, 0 replies; 13+ messages in thread
From: Ahmad Fatoum @ 2023-05-04 13:59 UTC (permalink / raw)
  To: distrokit; +Cc: Ahmad Fatoum, bst

So far, we duplicated the barebox rules, so we can customize them for
each of imx8m and rockchip platforms. With v2023.04.0, we can configure
the same barebox build to generate binaries for both at the cost of
compiling in some unused drivers (but not duplicating DT). Let's do
that.

Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
---
 configs/platform-v8a/barebox.config           | 1108 +++++++++++++++++
 configs/platform-v8a/platformconfig           |   26 +-
 configs/platform-v8a/rules/firmware-imx.in    |    4 +
 .../platform-v8a/rules/firmware-rockchip.in   |    4 +
 .../rules/post/barebox-fixup.make             |   16 +
 5 files changed, 1157 insertions(+), 1 deletion(-)
 create mode 100644 configs/platform-v8a/barebox.config
 create mode 100644 configs/platform-v8a/rules/post/barebox-fixup.make

diff --git a/configs/platform-v8a/barebox.config b/configs/platform-v8a/barebox.config
new file mode 100644
index 000000000000..b5b100cdf1a4
--- /dev/null
+++ b/configs/platform-v8a/barebox.config
@@ -0,0 +1,1108 @@
+#
+# Automatically generated file; DO NOT EDIT.
+# Barebox/arm 2023.04.0 Configuration
+#
+CONFIG_ARM=y
+CONFIG_ARM_LINUX=y
+CONFIG_ARM_USE_COMPRESSED_DTB=y
+CONFIG_TEXT_BASE=0x0
+
+#
+# System Type
+#
+CONFIG_ARCH_MULTIARCH=y
+# CONFIG_ARCH_AT91 is not set
+# CONFIG_ARCH_CLPS711X is not set
+# CONFIG_ARCH_DAVINCI is not set
+# CONFIG_ARCH_DIGIC is not set
+# CONFIG_ARCH_EP93XX is not set
+# CONFIG_ARCH_LAYERSCAPE is not set
+# CONFIG_ARCH_MVEBU is not set
+# CONFIG_ARCH_MXS is not set
+# CONFIG_ARCH_NOMADIK is not set
+# CONFIG_ARCH_OMAP_SINGLE is not set
+# CONFIG_ARCH_PXA is not set
+# CONFIG_ARCH_SOCFPGA is not set
+# CONFIG_ARCH_VERSATILE is not set
+# CONFIG_ARCH_TEGRA is not set
+# CONFIG_ARCH_UEMD is not set
+# CONFIG_ARCH_ZYNQ is not set
+# CONFIG_ARCH_ARM64_VIRT is not set
+# CONFIG_ARCH_BCM283X is not set
+CONFIG_ARCH_IMX=y
+# CONFIG_ARCH_OMAP_MULTI is not set
+CONFIG_ARCH_ROCKCHIP=y
+# CONFIG_ARCH_STM32MP is not set
+# CONFIG_ARCH_VEXPRESS is not set
+# CONFIG_ARCH_ZYNQMP is not set
+
+#
+# Processor Type
+#
+CONFIG_PHYS_ADDR_T_64BIT=y
+CONFIG_CPU_64=y
+CONFIG_CPU_V8=y
+CONFIG_CPU_64v8=y
+
+#
+# processor features
+#
+# CONFIG_BOOT_ENDIANNESS_SWITCH is not set
+CONFIG_CPU_SUPPORTS_32BIT_KERNEL=y
+CONFIG_CPU_SUPPORTS_64BIT_KERNEL=y
+CONFIG_ARCH_TEXT_BASE=0x0
+CONFIG_ARCH_IMX_IMXIMAGE=y
+
+#
+# i.MX boards
+#
+CONFIG_ARCH_IMX8M=y
+CONFIG_ARCH_IMX8MM=y
+CONFIG_ARCH_IMX8MP=y
+CONFIG_ARCH_IMX8MQ=y
+
+#
+# i.MX8M boards
+#
+# CONFIG_MACH_INNOCOMM_WB15 is not set
+# CONFIG_MACH_MNT_REFORM is not set
+CONFIG_MACH_NXP_IMX8MM_EVK=y
+# CONFIG_MACH_NXP_IMX8MN_EVK is not set
+CONFIG_MACH_NXP_IMX8MP_EVK=y
+CONFIG_MACH_NXP_IMX8MQ_EVK=y
+CONFIG_MACH_PHYTEC_SOM_IMX8MQ=y
+# CONFIG_MACH_POLYHEX_DEBIX is not set
+# CONFIG_MACH_PROTONIC_IMX8M is not set
+# CONFIG_MACH_TQ_MBA8MPXL is not set
+# CONFIG_MACH_VARISCITE_DT8MCUSTOMBOARD_IMX8MP is not set
+# CONFIG_MACH_ZII_IMX8MQ_DEV is not set
+# end of i.MX boards
+
+#
+# i.MX specific settings
+#
+# CONFIG_IMX_IIM is not set
+CONFIG_IMX_SAVE_BOOTROM_LOG=y
+# CONFIG_HABV4 is not set
+# end of i.MX specific settings
+
+#
+# Rockchip Features
+#
+CONFIG_RK_TIMER=1
+CONFIG_ARCH_ROCKCHIP_V8=y
+CONFIG_ARCH_RK3568=y
+
+#
+# select Rockchip boards:
+#
+# CONFIG_MACH_RADXA_ROCK is not set
+# CONFIG_MACH_PHYTEC_SOM_RK3288 is not set
+CONFIG_MACH_RK3568_EVB=y
+# CONFIG_MACH_RK3568_BPI_R2PRO is not set
+# CONFIG_MACH_PINE64_QUARTZ64 is not set
+CONFIG_MACH_RADXA_ROCK3=y
+
+#
+# select board features:
+#
+CONFIG_ARCH_ROCKCHIP_ATF=y
+# CONFIG_ARCH_RK3568_OPTEE is not set
+# end of Rockchip Features
+
+# CONFIG_BOARD_ARM_GENERIC_DT is not set
+# end of System Type
+
+# CONFIG_32BIT is not set
+CONFIG_64BIT=y
+
+#
+# ARM specific settings
+#
+CONFIG_ARM_OPTIMZED_STRING_FUNCTIONS=y
+CONFIG_ARM_EXCEPTIONS=y
+CONFIG_ARM_SMCCC=y
+CONFIG_ARM_PSCI_OF=y
+CONFIG_ARM_PSCI_CLIENT=y
+CONFIG_ARM_ATF=y
+# end of ARM specific settings
+
+CONFIG_GREGORIAN_CALENDER=y
+CONFIG_HAS_KALLSYMS=y
+CONFIG_HAS_CACHE=y
+CONFIG_HAS_DMA=y
+CONFIG_ARCH_HAS_SJLJ=y
+CONFIG_GENERIC_GPIO=y
+CONFIG_BLOCK=y
+CONFIG_BLOCK_WRITE=y
+CONFIG_FILETYPE=y
+CONFIG_BINFMT=y
+CONFIG_UIMAGE=y
+CONFIG_LOGBUF=y
+CONFIG_STDDEV=y
+CONFIG_MENUTREE=y
+CONFIG_ARCH_DMA_ADDR_T_64BIT=y
+CONFIG_USBGADGET_START=y
+CONFIG_BOOT=y
+CONFIG_FASTBOOT_BASE=y
+
+#
+# General Settings
+#
+CONFIG_LOCALVERSION=""
+CONFIG_LOCALVERSION_AUTO=y
+CONFIG_BANNER=y
+CONFIG_MEMINFO=y
+CONFIG_ENVIRONMENT_VARIABLES=y
+CONFIG_GLOBALVAR=y
+CONFIG_NVVAR=y
+
+#
+# memory layout
+#
+CONFIG_HAVE_PBL_IMAGE=y
+CONFIG_HAVE_PBL_MULTI_IMAGES=y
+CONFIG_HAVE_IMAGE_COMPRESSION=y
+CONFIG_PBL_IMAGE=y
+CONFIG_PBL_MULTI_IMAGES=y
+CONFIG_USE_COMPRESSED_DTB=y
+CONFIG_PBL_RELOCATABLE=y
+CONFIG_IMAGE_COMPRESSION=y
+# CONFIG_IMAGE_COMPRESSION_LZ4 is not set
+CONFIG_IMAGE_COMPRESSION_LZO=y
+# CONFIG_IMAGE_COMPRESSION_GZIP is not set
+# CONFIG_IMAGE_COMPRESSION_XZKERN is not set
+# CONFIG_IMAGE_COMPRESSION_NONE is not set
+CONFIG_MMU=y
+CONFIG_MMU_EARLY=y
+CONFIG_BAREBOX_MAX_IMAGE_SIZE=0xffffffff
+CONFIG_BAREBOX_MAX_PBL_SIZE=0xffffffff
+CONFIG_BAREBOX_MAX_BARE_INIT_SIZE=0xffffffff
+CONFIG_STACK_SIZE=0x8000
+CONFIG_MALLOC_SIZE=0x0
+# end of memory layout
+
+# CONFIG_EXPERIMENTAL is not set
+# CONFIG_MALLOC_DLMALLOC is not set
+CONFIG_MALLOC_TLSF=y
+CONFIG_KALLSYMS=y
+CONFIG_RELOCATABLE=y
+# CONFIG_PANIC_HANG is not set
+CONFIG_PROMPT="barebox:"
+CONFIG_BAUDRATE=115200
+CONFIG_CBSIZE=1024
+CONFIG_FIRMWARE=y
+CONFIG_SHELL_HUSH=y
+# CONFIG_SHELL_SIMPLE is not set
+# CONFIG_SHELL_NONE is not set
+CONFIG_GLOB=y
+CONFIG_GLOB_SORT=y
+CONFIG_PROMPT_HUSH_PS2="> "
+CONFIG_HUSH_FANCY_PROMPT=y
+CONFIG_CMDLINE_EDITING=y
+CONFIG_AUTO_COMPLETE=y
+CONFIG_MENU=y
+# CONFIG_PASSWORD is not set
+CONFIG_DYNAMIC_CRC_TABLE=y
+CONFIG_ERRNO_MESSAGES=y
+CONFIG_TIMESTAMP=y
+CONFIG_BOOTM=y
+CONFIG_BOOTM_SHOW_TYPE=y
+CONFIG_BOOTM_VERBOSE=y
+CONFIG_BOOTM_INITRD=y
+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_BLSPEC=y
+CONFIG_FLEXIBLE_BOOTARGS=y
+CONFIG_MMCBLKDEV_ROOTARG=y
+CONFIG_BAREBOX_UPDATE=y
+CONFIG_SYSTEM_PARTITIONS=y
+CONFIG_IMD=y
+CONFIG_CONSOLE_FULL=y
+# CONFIG_CONSOLE_SIMPLE is not set
+# CONFIG_CONSOLE_NONE is not set
+# CONFIG_CONSOLE_ACTIVATE_FIRST is not set
+# CONFIG_CONSOLE_ACTIVATE_ALL is not set
+CONFIG_CONSOLE_ACTIVATE_NONE=y
+CONFIG_CONSOLE_ALLOW_COLOR=y
+# CONFIG_CONSOLE_DISABLE_INPUT is not set
+CONFIG_PBL_CONSOLE=y
+CONFIG_CONSOLE_RATP=y
+# CONFIG_RATP_CMD_I2C is not set
+# CONFIG_RATP_CMD_GPIO is not set
+CONFIG_PARTITION=y
+CONFIG_PARTITION_DISK=y
+CONFIG_PARTITION_DISK_DOS=y
+CONFIG_PARTITION_DISK_EFI=y
+CONFIG_PARTITION_DISK_EFI_GPT_NO_FORCE=y
+CONFIG_PARTITION_DISK_EFI_GPT_COMPARE=y
+CONFIG_ENV_HANDLING=y
+CONFIG_DEFAULT_ENVIRONMENT=y
+CONFIG_DEFAULT_COMPRESSION_NONE=y
+CONFIG_DEFAULT_ENVIRONMENT_GENERIC_NEW=y
+CONFIG_DEFAULT_ENVIRONMENT_GENERIC_NEW_MENU=y
+CONFIG_DEFAULT_ENVIRONMENT_GENERIC_NEW_REBOOT_MODE=y
+# CONFIG_DEFAULT_ENVIRONMENT_GENERIC_NEW_IKCONFIG is not set
+CONFIG_DEFAULT_ENVIRONMENT_PATH="$(objtree)/.ptxdist-defaultenv"
+CONFIG_HAS_SCHED=y
+CONFIG_POLLER=y
+# CONFIG_BTHREAD is not set
+CONFIG_STATE=y
+# CONFIG_STATE_CRYPTO is not set
+# CONFIG_STATE_BACKWARD_COMPATIBLE is not set
+CONFIG_BOOTCHOOSER=y
+CONFIG_RESET_SOURCE=y
+# CONFIG_MACHINE_ID is not set
+# CONFIG_SYSTEMD_OF_WATCHDOG is not set
+CONFIG_EXTERNAL_DTS_FRAGMENTS=""
+
+#
+# OP-TEE loading
+#
+# CONFIG_BOOTM_OPTEE is not set
+# CONFIG_PBL_OPTEE is not set
+# end of OP-TEE loading
+
+#
+# Android Fastboot
+#
+CONFIG_FASTBOOT_SPARSE=y
+CONFIG_FASTBOOT_CMD_OEM=y
+# end of Android Fastboot
+# end of General Settings
+
+#
+# Debugging
+#
+CONFIG_COMPILE_LOGLEVEL=6
+CONFIG_DEFAULT_LOGLEVEL=7
+# CONFIG_DEBUG_LL is not set
+CONFIG_ARCH_WANT_FRAME_POINTERS=y
+CONFIG_FRAME_POINTER=y
+CONFIG_DEBUG_IMX_UART_PORT=1
+CONFIG_DEBUG_ROCKCHIP_UART_PORT=2
+# CONFIG_DEBUG_INITCALLS is not set
+# CONFIG_DEBUG_PBL is not set
+# CONFIG_DEBUG_PROBES is not set
+# CONFIG_PBL_BREAK is not set
+# CONFIG_PRINTF_FULL is not set
+# CONFIG_UBSAN is not set
+CONFIG_HAVE_ARCH_KASAN=y
+CONFIG_CC_HAS_KASAN_GENERIC=y
+# CONFIG_KASAN is not set
+# CONFIG_COMPILE_TEST is not set
+# end of Debugging
+
+#
+# EFI (Extensible Firmware Interface) Support
+#
+# end of EFI (Extensible Firmware Interface) Support
+
+CONFIG_HAS_DEBUG_LL=y
+CONFIG_COMMAND_SUPPORT=y
+CONFIG_COMPILE_HASH=y
+
+#
+# Commands
+#
+
+#
+# Information
+#
+# CONFIG_CMD_TUTORIAL is not set
+CONFIG_CMD_ARM_CPUINFO=y
+CONFIG_CMD_BOOTROM=y
+CONFIG_CMD_DEVINFO=y
+# CONFIG_CMD_DEVLOOKUP is not set
+# CONFIG_CMD_DEVUNBIND is not set
+CONFIG_CMD_DMESG=y
+CONFIG_CMD_DRVINFO=y
+CONFIG_CMD_HELP=y
+CONFIG_LONGHELP=y
+CONFIG_CMD_IOMEM=y
+CONFIG_CMD_IMD=y
+CONFIG_CMD_MEMINFO=y
+CONFIG_CMD_REGULATOR=y
+# CONFIG_CMD_PM_DOMAIN is not set
+# CONFIG_CMD_NVMEM is not set
+CONFIG_CMD_VERSION=y
+# CONFIG_CMD_MMC is not set
+CONFIG_CMD_MMC_EXTCSD=y
+# CONFIG_CMD_POLLER is not set
+# CONFIG_CMD_SLICE is not set
+# end of Information
+
+#
+# Boot
+#
+CONFIG_CMD_BOOT=y
+CONFIG_CMD_BOOTM=y
+CONFIG_CMD_GO=y
+# CONFIG_CMD_LOADB is not set
+# CONFIG_CMD_LOADS is not set
+# CONFIG_CMD_LOADY is not set
+CONFIG_CMD_RESET=y
+CONFIG_CMD_UIMAGE=y
+CONFIG_CMD_BOOTCHOOSER=y
+# end of Boot
+
+#
+# Partition
+#
+CONFIG_CMD_PARTITION=y
+CONFIG_CMD_AUTOMOUNT=y
+CONFIG_CMD_MOUNT=y
+CONFIG_CMD_UMOUNT=y
+# end of Partition
+
+#
+# Environment
+#
+CONFIG_CMD_NV=y
+CONFIG_CMD_EXPORT=y
+CONFIG_CMD_DEFAULTENV=y
+CONFIG_CMD_GLOBAL=y
+CONFIG_CMD_LOADENV=y
+CONFIG_CMD_PRINTENV=y
+CONFIG_CMD_MAGICVAR=y
+CONFIG_CMD_MAGICVAR_HELP=y
+CONFIG_CMD_SAVEENV=y
+CONFIG_CMD_SETENV=y
+# end of Environment
+
+#
+# File
+#
+CONFIG_CMD_BASENAME=y
+CONFIG_CMD_CAT=y
+CONFIG_CMD_CD=y
+CONFIG_CMD_CP=y
+# CONFIG_CMD_CMP is not set
+CONFIG_CMD_DIGEST=y
+CONFIG_CMD_DIRNAME=y
+CONFIG_CMD_FILETYPE=y
+CONFIG_CMD_LN=y
+CONFIG_CMD_LS=y
+# CONFIG_CMD_STAT is not set
+CONFIG_CMD_MD5SUM=y
+CONFIG_CMD_MKDIR=y
+CONFIG_CMD_PWD=y
+CONFIG_CMD_READLINK=y
+CONFIG_CMD_RM=y
+CONFIG_CMD_RMDIR=y
+CONFIG_CMD_SHA1SUM=y
+# CONFIG_CMD_SHA224SUM is not set
+# CONFIG_CMD_SHA256SUM is not set
+# CONFIG_CMD_SHA384SUM is not set
+# CONFIG_CMD_SHA512SUM is not set
+CONFIG_CMD_UNCOMPRESS=y
+# end of File
+
+#
+# Shell scripting
+#
+CONFIG_CMD_FALSE=y
+CONFIG_CMD_GETOPT=y
+CONFIG_CMD_LET=y
+CONFIG_CMD_MSLEEP=y
+CONFIG_CMD_READF=y
+CONFIG_CMD_SLEEP=y
+CONFIG_CMD_TEST=y
+CONFIG_CMD_TRUE=y
+# end of Shell scripting
+
+#
+# Network
+#
+CONFIG_CMD_DHCP=y
+CONFIG_CMD_HOST=y
+CONFIG_NET_CMD_IFUP=y
+CONFIG_CMD_MIITOOL=y
+CONFIG_CMD_PING=y
+CONFIG_CMD_TFTP=y
+CONFIG_CMD_IP_ROUTE_GET=y
+# CONFIG_CMD_ETHLOG is not set
+# end of Network
+
+#
+# Console and Framebuffer interaction
+#
+CONFIG_CMD_CLEAR=y
+CONFIG_CMD_ECHO=y
+CONFIG_CMD_ECHO_E=y
+CONFIG_CMD_EDIT=y
+# CONFIG_CMD_LOGIN is not set
+CONFIG_CMD_MENU=y
+CONFIG_CMD_MENU_MANAGEMENT=y
+CONFIG_CMD_MENUTREE=y
+CONFIG_CMD_READLINE=y
+CONFIG_CMD_TIMEOUT=y
+# end of Console and Framebuffer interaction
+
+#
+# Memory
+#
+CONFIG_CMD_CRC=y
+CONFIG_CMD_CRC_CMP=y
+CONFIG_CMD_MD=y
+CONFIG_CMD_MEMCMP=y
+CONFIG_CMD_MEMCPY=y
+CONFIG_CMD_MEMSET=y
+CONFIG_CMD_MEMTEST=y
+# CONFIG_CMD_MEMTESTER is not set
+CONFIG_CMD_MM=y
+CONFIG_CMD_MW=y
+# end of Memory
+
+#
+# Hardware manipulation
+#
+CONFIG_CMD_CLK=y
+CONFIG_CMD_DETECT=y
+CONFIG_CMD_FLASH=y
+CONFIG_CMD_GPIO=y
+CONFIG_CMD_HWCLOCK=y
+CONFIG_CMD_HWMON=y
+CONFIG_CMD_I2C=y
+CONFIG_CMD_LED=y
+CONFIG_CMD_POWEROFF=y
+CONFIG_CMD_SMC=y
+CONFIG_CMD_SPI=y
+CONFIG_CMD_LED_TRIGGER=y
+CONFIG_CMD_USB=y
+CONFIG_CMD_USBGADGET=y
+CONFIG_CMD_WD=y
+CONFIG_CMD_WD_DEFAULT_TIMOUT=0
+# end of Hardware manipulation
+
+#
+# Miscellaneous
+#
+# CONFIG_CMD_2048 is not set
+CONFIG_CMD_BAREBOX_UPDATE=y
+# CONFIG_CMD_BLOBGEN is not set
+CONFIG_CMD_FIRMWARELOAD=y
+CONFIG_CMD_OF_DIFF=y
+CONFIG_CMD_OF_DUMP=y
+CONFIG_CMD_OF_NODE=y
+CONFIG_CMD_OF_PROPERTY=y
+# CONFIG_CMD_OF_DISPLAY_TIMINGS is not set
+# CONFIG_CMD_OF_FIXUP_STATUS is not set
+CONFIG_CMD_OF_OVERLAY=y
+CONFIG_CMD_OFTREE=y
+CONFIG_CMD_TIME=y
+# CONFIG_CMD_UPTIME is not set
+CONFIG_CMD_STATE=y
+# CONFIG_CMD_DHRYSTONE is not set
+# CONFIG_CMD_SPD_DECODE is not set
+# CONFIG_CMD_SEED is not set
+# end of Miscellaneous
+# end of Commands
+
+CONFIG_NET=y
+CONFIG_NET_NFS=y
+CONFIG_NET_NETCONSOLE=y
+CONFIG_NET_RESOLV=y
+CONFIG_NET_IFUP=y
+CONFIG_NET_DHCP=y
+# CONFIG_NET_SNTP is not set
+# CONFIG_NET_FASTBOOT is not set
+
+#
+# Drivers
+#
+CONFIG_PM_GENERIC_DOMAINS=y
+CONFIG_FEATURE_CONTROLLER=y
+CONFIG_REGMAP_FORMATTED=y
+CONFIG_REGMAP_I2C=y
+CONFIG_OFTREE=y
+CONFIG_OFTREE_MEM_GENERIC=y
+CONFIG_DTC=y
+CONFIG_OFDEVICE=y
+CONFIG_FEATURE_CONTROLLER_FIXUP=y
+CONFIG_OF_GPIO=y
+CONFIG_OF_BAREBOX_DRIVERS=y
+CONFIG_OF_BAREBOX_ENV_IN_FS=y
+CONFIG_OF_OVERLAY=y
+# CONFIG_OF_OVERLAY_LIVE is not set
+CONFIG_AIODEV=y
+# CONFIG_QORIQ_THERMAL is not set
+# CONFIG_LM75 is not set
+# CONFIG_ST_GYRO is not set
+CONFIG_ROCKCHIP_SARADC=y
+
+#
+# serial drivers
+#
+CONFIG_SERIAL_DEV_BUS=y
+CONFIG_DRIVER_SERIAL_IMX=y
+CONFIG_DRIVER_SERIAL_NS16550=y
+# CONFIG_DRIVER_SERIAL_CADENCE is not set
+# CONFIG_SERIAL_SIFIVE is not set
+# end of serial drivers
+
+CONFIG_ARCH_HAS_FEC_IMX=y
+CONFIG_PHYLIB=y
+
+#
+# Network drivers
+#
+# CONFIG_DRIVER_NET_BCMGENET is not set
+# CONFIG_DRIVER_NET_DESIGNWARE_GENERIC is not set
+CONFIG_DRIVER_NET_DESIGNWARE_EQOS=y
+CONFIG_DRIVER_NET_DESIGNWARE_IMX8=y
+CONFIG_DRIVER_NET_DESIGNWARE_ROCKCHIP=y
+# CONFIG_DRIVER_NET_ENC28J60 is not set
+CONFIG_DRIVER_NET_FEC_IMX=y
+# CONFIG_DRIVER_NET_FSL_FMAN is not set
+# CONFIG_DRIVER_NET_KS8851_MLL is not set
+# CONFIG_DRIVER_NET_MICREL is not set
+# CONFIG_DRIVER_NET_SMC911X is not set
+# CONFIG_DRIVER_NET_SMC91111 is not set
+# CONFIG_DRIVER_NET_LITEETH is not set
+
+#
+# phylib
+#
+
+#
+# MII PHY device drivers
+#
+# CONFIG_AR8327N_PHY is not set
+# CONFIG_AT803X_PHY is not set
+# CONFIG_DAVICOM_PHY is not set
+CONFIG_DP83867_PHY=y
+# CONFIG_DP83TD510_PHY is not set
+# CONFIG_LXT_PHY is not set
+# CONFIG_MARVELL_PHY is not set
+CONFIG_MICREL_PHY=y
+# CONFIG_NATIONAL_PHY is not set
+CONFIG_REALTEK_PHY=y
+# CONFIG_SMSC_PHY is not set
+CONFIG_NET_DSA_MV88E6XXX=y
+
+#
+# MII bus device drivers
+#
+CONFIG_MDIO_BITBANG=y
+CONFIG_MDIO_GPIO=y
+CONFIG_MDIO_BUS_MUX=y
+CONFIG_MDIO_BUS_MUX_GPIO=y
+# end of phylib
+
+CONFIG_NET_USB=y
+CONFIG_NET_USB_ASIX=y
+# CONFIG_USB_NET_AX88179_178A is not set
+CONFIG_NET_USB_SMSC95XX=y
+# CONFIG_NET_USB_RTL8152 is not set
+# CONFIG_DSA is not set
+# end of Network drivers
+
+#
+# SPI drivers
+#
+CONFIG_SPI=y
+CONFIG_SPI_MEM=y
+# CONFIG_DRIVER_SPI_FSL_QUADSPI is not set
+# CONFIG_DRIVER_SPI_GPIO is not set
+CONFIG_DRIVER_SPI_IMX=y
+CONFIG_DRIVER_SPI_IMX_2_3=y
+# CONFIG_DRIVER_SPI_LITEX_SPIFLASH is not set
+# CONFIG_SPI_NXP_FLEXSPI is not set
+# end of SPI drivers
+
+CONFIG_I2C=y
+
+#
+# I2C Hardware Bus support
+#
+# CONFIG_I2C_GPIO is not set
+CONFIG_I2C_IMX=y
+# CONFIG_I2C_DESIGNWARE is not set
+# CONFIG_I2C_MV64XXX is not set
+CONFIG_I2C_RK3X=y
+# end of I2C Hardware Bus support
+
+# CONFIG_I2C_MUX is not set
+CONFIG_I2C_IMX_EARLY=y
+CONFIG_MTD=y
+CONFIG_MTD_WRITE=y
+CONFIG_MTD_OOB_DEVICE=y
+# CONFIG_MTD_RAW_DEVICE is not set
+# CONFIG_MTD_CONCAT is not set
+
+#
+# MTD debug options
+#
+# CONFIG_MTD_PEB_DEBUG is not set
+
+#
+# Self contained MTD devices
+#
+CONFIG_MTD_DATAFLASH=y
+# CONFIG_MTD_DATAFLASH_WRITE_VERIFY is not set
+CONFIG_MTD_M25P80=y
+# CONFIG_MTD_SST25L is not set
+# CONFIG_MTD_DOCG3 is not set
+# CONFIG_MTD_MTDRAM is not set
+# end of Self contained MTD devices
+
+# CONFIG_DRIVER_CFI is not set
+# CONFIG_NAND is not set
+CONFIG_MTD_SPI_NOR=y
+# CONFIG_MTD_SPI_NOR_USE_4K_SECTORS is not set
+# CONFIG_SPI_CADENCE_QUADSPI is not set
+# CONFIG_MTD_UBI is not set
+CONFIG_DISK=y
+CONFIG_DISK_WRITE=y
+
+#
+# drive types
+#
+# CONFIG_DISK_ATA is not set
+# CONFIG_DISK_AHCI is not set
+
+#
+# interface types
+#
+# CONFIG_DISK_INTF_PLATFORM_IDE is not set
+CONFIG_USB=y
+CONFIG_USB_HOST=y
+CONFIG_USB_IMX_CHIPIDEA=y
+CONFIG_USB_IMX_CHIPIDEA_USBMISC=y
+# CONFIG_USB_DWC2_HOST is not set
+# CONFIG_USB_DWC2_GADGET is not set
+CONFIG_USB_DWC3=y
+# CONFIG_USB_DWC3_HOST is not set
+# CONFIG_USB_DWC3_GADGET is not set
+CONFIG_USB_DWC3_DUAL_ROLE=y
+CONFIG_USB_DWC3_OF_SIMPLE=y
+# CONFIG_USB_EHCI is not set
+CONFIG_USB_XHCI=y
+# CONFIG_USB_ULPI is not set
+CONFIG_USB_OTGDEV=y
+CONFIG_USB_STORAGE=y
+
+#
+# USB Miscellaneous drivers
+#
+# CONFIG_USB_HUB_USB251XB is not set
+# CONFIG_USB_ONBOARD_HUB is not set
+CONFIG_USB_GADGET=y
+CONFIG_USB_GADGET_DRIVER_ARC_PBL=y
+CONFIG_USB_GADGET_DUALSPEED=y
+CONFIG_USB_GADGET_DRIVER_ARC=y
+CONFIG_USB_GADGET_AUTOSTART=y
+
+#
+# USB Gadget drivers
+#
+# CONFIG_USB_GADGET_DFU is not set
+CONFIG_USB_GADGET_SERIAL=y
+CONFIG_USB_GADGET_FASTBOOT=y
+# CONFIG_USB_GADGET_MASS_STORAGE is not set
+# CONFIG_USB_MUSB is not set
+# CONFIG_VIDEO is not set
+# CONFIG_SOUND is not set
+CONFIG_MCI_SDHCI=y
+CONFIG_MCI=y
+
+#
+# --- Feature list ---
+#
+# CONFIG_MCI_STARTUP is not set
+CONFIG_MCI_INFO=y
+CONFIG_MCI_WRITE=y
+CONFIG_MCI_MMC_BOOT_PARTITIONS=y
+# CONFIG_MCI_MMC_GPP_PARTITIONS is not set
+
+#
+# --- MCI host drivers ---
+#
+CONFIG_MCI_DW=y
+# CONFIG_MCI_DW_PIO is not set
+CONFIG_MCI_ROCKCHIP_DWCMSHC=y
+CONFIG_MCI_IMX_ESDHC=y
+# CONFIG_MCI_IMX_ESDHC_PIO is not set
+CONFIG_MCI_ARASAN=y
+# CONFIG_MCI_SPI is not set
+CONFIG_MCI_IMX_ESDHC_PBL=y
+CONFIG_HAVE_CLK=y
+CONFIG_CLKDEV_LOOKUP=y
+CONFIG_COMMON_CLK=y
+CONFIG_COMMON_CLK_OF_PROVIDER=y
+
+#
+# Clocksource
+#
+CONFIG_CLOCKSOURCE_DUMMY_RATE=1000
+CONFIG_CLOCKSOURCE_ARM_ARCHITECTED_TIMER=y
+# CONFIG_CLOCKSOURCE_DW_APB_TIMER is not set
+# end of Clocksource
+
+#
+# Multifunction device drivers
+#
+# CONFIG_MFD_ACT8846 is not set
+# CONFIG_MFD_DA9053 is not set
+# CONFIG_MFD_DA9063 is not set
+# CONFIG_MFD_LP3972 is not set
+# CONFIG_MFD_MC13XXX is not set
+# CONFIG_MFD_MC34704 is not set
+# CONFIG_MFD_MC9SDZ60 is not set
+# CONFIG_MFD_STMPE is not set
+CONFIG_MFD_SYSCON=y
+# CONFIG_MFD_TWL4030 is not set
+# CONFIG_MFD_TWL6030 is not set
+CONFIG_RAVE_SP_CORE=y
+# CONFIG_MFD_STPMIC1 is not set
+# CONFIG_MFD_RN568PMIC is not set
+# CONFIG_MFD_ATMEL_FLEXCOM is not set
+CONFIG_MFD_RK808=y
+# CONFIG_MFD_AXP20X_I2C is not set
+# CONFIG_MFD_ROHM_BD718XX is not set
+# end of Multifunction device drivers
+
+#
+# Misc devices
+#
+# CONFIG_JTAG is not set
+# CONFIG_SRAM is not set
+CONFIG_STATE_DRV=y
+CONFIG_DEV_MEM=y
+# CONFIG_UBOOTVAR is not set
+# CONFIG_STORAGE_BY_UUID is not set
+# end of Misc devices
+
+CONFIG_LED=y
+CONFIG_LED_GPIO=y
+CONFIG_LED_GPIO_OF=y
+# CONFIG_LED_GPIO_RGB is not set
+# CONFIG_LED_GPIO_BICOLOR is not set
+CONFIG_LED_TRIGGERS=y
+# CONFIG_LED_PCA955X is not set
+
+#
+# EEPROM support
+#
+CONFIG_EEPROM_AT25=y
+CONFIG_EEPROM_AT24=y
+# end of EEPROM support
+
+#
+# Input device support
+#
+# CONFIG_KEYBOARD_GPIO is not set
+# CONFIG_KEYBOARD_IMX_KEYPAD is not set
+# CONFIG_KEYBOARD_QT1070 is not set
+# CONFIG_KEYBOARD_USB is not set
+# CONFIG_INPUT_SPECIALKEYS is not set
+# end of Input device support
+
+CONFIG_WATCHDOG_IMX_RESET_SOURCE=y
+CONFIG_WATCHDOG=y
+# CONFIG_WATCHDOG_POLLER is not set
+CONFIG_WATCHDOG_DW=y
+CONFIG_WATCHDOG_IMX=y
+CONFIG_RAVE_SP_WATCHDOG=y
+# CONFIG_GPIO_WATCHDOG is not set
+# CONFIG_PWM is not set
+# CONFIG_HWRNG is not set
+
+#
+# DMA support
+#
+# end of DMA support
+
+CONFIG_GPIOLIB=y
+
+#
+# GPIO
+#
+CONFIG_GPIO_GENERIC=y
+# CONFIG_GPIO_74164 is not set
+# CONFIG_GPIO_74XX_MMIO is not set
+# CONFIG_GPIO_GENERIC_PLATFORM is not set
+CONFIG_GPIO_IMX=y
+# CONFIG_GPIO_PCA953X is not set
+# CONFIG_GPIO_PCF857X is not set
+# CONFIG_GPIO_DESIGNWARE is not set
+# CONFIG_GPIO_SX150X is not set
+# CONFIG_GPIO_SIFIVE is not set
+# CONFIG_GPIO_LATCH is not set
+# end of GPIO
+
+# CONFIG_W1 is not set
+
+#
+# Pin controllers
+#
+CONFIG_PINCTRL=y
+CONFIG_PINCTRL_IMX_IOMUX_V3=y
+CONFIG_PINCTRL_ROCKCHIP=y
+# CONFIG_PINCTRL_SINGLE is not set
+# end of Pin controllers
+
+CONFIG_NVMEM=y
+# CONFIG_NVMEM_RMEM is not set
+# CONFIG_NVMEM_SNVS_LPGPR is not set
+CONFIG_IMX_OCOTP=y
+# CONFIG_IMX_OCOTP_WRITE is not set
+CONFIG_RAVE_SP_EEPROM=y
+# CONFIG_EEPROM_93XX46 is not set
+
+#
+# Bus devices
+#
+# CONFIG_IMX_WEIM is not set
+# end of Bus devices
+
+CONFIG_REGULATOR=y
+CONFIG_REGULATOR_FIXED=y
+# CONFIG_REGULATOR_PFUZE is not set
+# CONFIG_REGULATOR_ANATOP is not set
+CONFIG_REGULATOR_RK808=y
+
+#
+# Remoteproc drivers
+#
+# CONFIG_REMOTEPROC is not set
+# end of Remoteproc drivers
+
+CONFIG_RESET_CONTROLLER=y
+CONFIG_RESET_IMX7=y
+CONFIG_HW_HAS_PCI=y
+
+#
+# PCI bus options
+#
+# CONFIG_PCI is not set
+# CONFIG_PCI_IMX6 is not set
+# CONFIG_PCI_ECAM_GENERIC is not set
+# end of PCI bus options
+
+CONFIG_RTC_LIB=y
+CONFIG_RTC_CLASS=y
+
+#
+# I2C RTC drivers
+#
+CONFIG_RTC_DRV_DS1307=y
+# CONFIG_RTC_DRV_ABRACON is not set
+# CONFIG_RTC_DRV_PCF85363 is not set
+# CONFIG_RTC_DRV_IMXDI is not set
+
+#
+# Firmware Drivers
+#
+# CONFIG_FIRMWARE_ALTERA_SERIAL is not set
+# CONFIG_ARM_SCMI_PROTOCOL is not set
+# CONFIG_QEMU_FW_CFG is not set
+# end of Firmware Drivers
+
+#
+# FPGA Configuration Support
+#
+# CONFIG_FPGA is not set
+# end of FPGA Configuration Support
+
+CONFIG_GENERIC_PHY=y
+CONFIG_USB_NOP_XCEIV=y
+CONFIG_PHY_FSL_IMX8MQ_USB=y
+CONFIG_PHY_ROCKCHIP_INNO_USB2=y
+CONFIG_PHY_ROCKCHIP_NANENG_COMBO_PHY=y
+
+#
+# Hardware crypto devices
+#
+# CONFIG_FSL_CAAM_RNG_PBL_INIT is not set
+# end of Hardware crypto devices
+
+#
+# Memory controller drivers
+#
+# end of Memory controller drivers
+
+#
+# SoC drivers
+#
+
+#
+# i.MX SoC drivers
+#
+CONFIG_IMX_GPCV2_PM_DOMAINS=y
+CONFIG_IMX8M_FEATCTRL=y
+# end of i.MX SoC drivers
+
+#
+# KVX SoC drivers
+#
+# end of KVX SoC drivers
+
+#
+# Rockchip SoC drivers
+#
+# CONFIG_ROCKCHIP_IODOMAIN is not set
+# end of Rockchip SoC drivers
+# end of SoC drivers
+
+#
+# NVME Support
+#
+# end of NVME Support
+
+#
+# i.MX8M DDR controllers
+#
+CONFIG_IMX8M_DRAM=y
+# end of i.MX8M DDR controllers
+
+CONFIG_REBOOT_MODE=y
+CONFIG_SYSCON_REBOOT_MODE=y
+# CONFIG_NVMEM_REBOOT_MODE is not set
+# CONFIG_POWER_RESET_SYSCON is not set
+# CONFIG_POWER_RESET_SYSCON_POWEROFF is not set
+# CONFIG_POWER_RESET_GPIO is not set
+# CONFIG_POWER_RESET_GPIO_RESTART is not set
+# CONFIG_VIRTIO_MENU is not set
+# end of Drivers
+
+#
+# Filesystem support
+#
+CONFIG_FS=y
+CONFIG_FS_LEGACY=y
+
+#
+# Some selected filesystems still use the legacy FS API.
+#
+
+#
+# Consider updating them.
+#
+CONFIG_FS_AUTOMOUNT=y
+# CONFIG_FS_CRAMFS is not set
+CONFIG_FS_EXT4=y
+CONFIG_FS_RAMFS=y
+CONFIG_FS_DEVFS=y
+CONFIG_FS_TFTP=y
+CONFIG_FS_TFTP_MAX_WINDOW_SIZE=128
+CONFIG_FS_NFS=y
+CONFIG_FS_FAT=y
+CONFIG_FS_FAT_WRITE=y
+CONFIG_FS_FAT_LFN=y
+# CONFIG_FS_JFFS2 is not set
+# CONFIG_FS_BPKFS is not set
+# CONFIG_FS_UIMAGEFS is not set
+# CONFIG_FS_PSTORE is not set
+# CONFIG_FS_SQUASHFS is not set
+
+#
+# ZLIB support disabled
+#
+
+#
+# LZ4 support disabled
+#
+
+#
+# LZO support disabled
+#
+
+#
+# XZ support disabled
+#
+
+#
+# ZSTD support disabled
+#
+CONFIG_FS_RATP=y
+# end of Filesystem support
+
+#
+# Library routines
+#
+CONFIG_PARAMETER=y
+CONFIG_UNCOMPRESS=y
+CONFIG_ZLIB=y
+# CONFIG_BZLIB is not set
+# CONFIG_LZ4_DECOMPRESS is not set
+# CONFIG_ZSTD_DECOMPRESS is not set
+# CONFIG_XZ_DECOMPRESS is not set
+# CONFIG_BASE64 is not set
+CONFIG_GENERIC_FIND_NEXT_BIT=y
+CONFIG_PROCESS_ESCAPE_SEQUENCE=y
+CONFIG_LZO_DECOMPRESS=y
+CONFIG_FNMATCH=y
+CONFIG_QSORT=y
+CONFIG_IMAGE_SPARSE=y
+CONFIG_RATP=y
+# CONFIG_ALLOW_PRNG_FALLBACK is not set
+CONFIG_CRC_CCITT=y
+# CONFIG_CRC8 is not set
+
+#
+# Library gui routines
+#
+# end of Library gui routines
+
+CONFIG_PRINTF_UUID=y
+# CONFIG_NLS is not set
+# CONFIG_BLOBGEN is not set
+CONFIG_ARCH_HAS_STACK_DUMP=y
+CONFIG_ARCH_HAS_DATA_ABORT_MASK=y
+CONFIG_ARCH_HAS_ZERO_PAGE=y
+# end of Library routines
+
+#
+# Crypto support
+#
+CONFIG_CRC32=y
+CONFIG_CRC_ITU_T=y
+CONFIG_DIGEST=y
+CONFIG_HAVE_DIGEST_MD5=y
+CONFIG_HAVE_DIGEST_SHA1=y
+CONFIG_DIGEST_CRC32_GENERIC=y
+CONFIG_DIGEST_MD5_GENERIC=y
+CONFIG_DIGEST_SHA1_GENERIC=y
+# CONFIG_DIGEST_SHA224_GENERIC is not set
+# CONFIG_DIGEST_SHA256_GENERIC is not set
+# CONFIG_DIGEST_SHA384_GENERIC is not set
+# CONFIG_DIGEST_SHA512_GENERIC is not set
+# CONFIG_DIGEST_HMAC_GENERIC is not set
+# CONFIG_CRYPTO_KEYSTORE is not set
+# end of Crypto support
+
+#
+# Firmware files
+#
+CONFIG_EXTRA_FIRMWARE_DIR="firmware"
+CONFIG_FIRMWARE_IMX_LPDDR4_PMU_TRAIN=y
+CONFIG_FIRMWARE_IMX8MM_ATF=y
+CONFIG_FIRMWARE_IMX8MP_ATF=y
+CONFIG_FIRMWARE_IMX8MQ_ATF=y
+# end of Firmware files
+
+#
+# Host Tools
+#
+# CONFIG_COMPILE_HOST_TOOLS is not set
+CONFIG_ARCH_IMX_USBLOADER=y
+CONFIG_RK_IMAGE=y
+CONFIG_RK_USB_LOADER=y
+# end of Host Tools
+
+#
+# Target Tools
+#
+# CONFIG_IMD_TARGET is not set
+CONFIG_KERNEL_INSTALL_TARGET=y
+# CONFIG_BAREBOXENV_TARGET is not set
+CONFIG_BAREBOXCRC32_TARGET=y
+# CONFIG_MVEBU_KWBOOT_TARGET is not set
+# end of Target Tools
+
+# CONFIG_TEST is not set
diff --git a/configs/platform-v8a/platformconfig b/configs/platform-v8a/platformconfig
index 95d9974002ed..d76b73ce510d 100644
--- a/configs/platform-v8a/platformconfig
+++ b/configs/platform-v8a/platformconfig
@@ -19,6 +19,7 @@ PTXCONF_PLATFORM="v8a"
 PTXCONF_PLATFORM_VERSION="-${PTXDIST_BSP_AUTOVERSION}"
 PTXCONF_RUNTIME=y
 PTXCONF_BUILDTIME=y
+PTXCONF_VIRTUAL=y
 PTXCONF_PLATFORMCONFIG_VERSION="2023.04.0"
 
 #
@@ -177,7 +178,30 @@ PTXCONF_CONSOLE_SPEED="115200"
 PTXCONF_BAREBOX_IMX8M=y
 PTXCONF_BAREBOX_ROCKCHIP=y
 PTXCONF_BAREBOX_ARCH_STRING="arm"
-# PTXCONF_BAREBOX is not set
+PTXCONF_BAREBOX_DEPENDENCIES=y
+PTXCONF_BAREBOX=y
+PTXCONF_BAREBOX_VERSION="2023.04.0"
+PTXCONF_BAREBOX_CONFIG_BUILDSYSTEM_VERSION=y
+PTXCONF_BAREBOX_BUILDSYSTEM_VERSION="${PTXDIST_VCS_VERSION}"
+PTXCONF_BAREBOX_MD5="322b14e079eb18c8e851084ea44d99e3"
+PTXCONF_BAREBOX_CONFIG="barebox.config"
+PTXCONF_BAREBOX_FIRMWARE=y
+PTXCONF_BAREBOX_EXTRA_ENV=y
+PTXCONF_BAREBOX_EXTRA_ENV_PATH="barebox-common-defaultenv"
+# PTXCONF_BAREBOX_BAREBOXENV is not set
+# PTXCONF_BAREBOX_INSTALL_DTBS is not set
+# PTXCONF_BAREBOX_BAREBOXCRC32 is not set
+# PTXCONF_BAREBOX_KERNEL_INSTALL is not set
+# PTXCONF_BAREBOX_BAREBOXIMD is not set
+
+#
+# build dependencies
+#
+PTXCONF_BAREBOX_NEEDS_HOST_LIBUSB=y
+PTXCONF_BAREBOX_NEEDS_HOST_OPENSSL=y
+# PTXCONF_BAREBOX_NEEDS_HOST_IMX_CST is not set
+# PTXCONF_BAREBOX_NEEDS_KEYS is not set
+PTXCONF_BAREBOX_NEEDS_HOST_LZOP=y
 # PTXCONF_BAREBOX_MLO is not set
 PTXCONF_BOOTLOADER=y
 # PTXCONF_GRUB is not set
diff --git a/configs/platform-v8a/rules/firmware-imx.in b/configs/platform-v8a/rules/firmware-imx.in
index 831f6720e386..5f06a44416fa 100644
--- a/configs/platform-v8a/rules/firmware-imx.in
+++ b/configs/platform-v8a/rules/firmware-imx.in
@@ -7,6 +7,10 @@ menuconfig FIRMWARE_IMX
 	help
 	  Install CODA VPU firmware files from the firmware-imx package.
 
+config BAREBOX_DEPENDENCIES
+	tristate
+	select FIRMWARE_IMX
+
 if FIRMWARE_IMX
 
 config FIRMWARE_IMX_VPU_IMX27
diff --git a/configs/platform-v8a/rules/firmware-rockchip.in b/configs/platform-v8a/rules/firmware-rockchip.in
index aa702416df00..08b89f1af944 100644
--- a/configs/platform-v8a/rules/firmware-rockchip.in
+++ b/configs/platform-v8a/rules/firmware-rockchip.in
@@ -6,6 +6,10 @@ menuconfig FIRMWARE_ROCKCHIP
 	help
 	  Rockchip prebuilt SDRAM initialization and TF-A binaries.
 
+config BAREBOX_DEPENDENCIES
+	tristate
+	select FIRMWARE_ROCKCHIP
+
 if FIRMWARE_ROCKCHIP
 
 config FIRMWARE_ROCKCHIP_RK3566_SDRAM
diff --git a/configs/platform-v8a/rules/post/barebox-fixup.make b/configs/platform-v8a/rules/post/barebox-fixup.make
new file mode 100644
index 000000000000..7c4ce40420ad
--- /dev/null
+++ b/configs/platform-v8a/rules/post/barebox-fixup.make
@@ -0,0 +1,16 @@
+# Firmware blobs for Rockchip platforms
+BAREBOX_INJECT_FILES	+= rk3568_bl31_v1.24.elf:firmware/rk3568-bl31.bin
+BAREBOX_INJECT_FILES	+= rk3568_bl32_v1.05.bin:firmware/rk3568-op-tee.bin
+BAREBOX_INJECT_FILES	+= rk3568_ddr_1560MHz_v1.08.bin:arch/arm/boards/rockchip-rk3568-evb/sdram-init.bin
+BAREBOX_INJECT_FILES	+= rk3568_ddr_1560MHz_v1.08.bin:arch/arm/boards/radxa-rock3/sdram-init.bin
+BAREBOX_PROGS_HOST	+= rk-usb-loader
+
+# Firmware blobs for NXP i.MX8M platforms
+BAREBOX_INJECT_FILES	+= imx8mm-bl31.bin:firmware/imx8mm-bl31.bin
+BAREBOX_INJECT_FILES	+= imx8mp-bl31.bin:firmware/imx8mp-bl31.bin
+BAREBOX_INJECT_FILES	+= imx8mq-bl31.bin:firmware/imx8mq-bl31.bin
+BAREBOX_INJECT_FILES	+= ddr/synopsys/lpddr4_pmu_train_1d_dmem.bin:firmware/lpddr4_pmu_train_1d_dmem.bin
+BAREBOX_INJECT_FILES	+= ddr/synopsys/lpddr4_pmu_train_1d_imem.bin:firmware/lpddr4_pmu_train_1d_imem.bin
+BAREBOX_INJECT_FILES	+= ddr/synopsys/lpddr4_pmu_train_2d_dmem.bin:firmware/lpddr4_pmu_train_2d_dmem.bin
+BAREBOX_INJECT_FILES	+= ddr/synopsys/lpddr4_pmu_train_2d_imem.bin:firmware/lpddr4_pmu_train_2d_imem.bin
+BAREBOX_PROGS_HOST	+= imx/imx-usb-loader
-- 
2.39.2




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

* [DistroKit] [PATCH v2 08/10] v8a: barebox: switch to upstream rule
  2023-05-04 13:59 [DistroKit] [PATCH v2 00/10] v8a: barebox: update to use upstream PTXdist rule Ahmad Fatoum
                   ` (6 preceding siblings ...)
  2023-05-04 13:59 ` [DistroKit] [PATCH v2 07/10] v8a: barebox: configure upstream barebox rule for both imx8m and rockchip Ahmad Fatoum
@ 2023-05-04 13:59 ` Ahmad Fatoum
  2023-05-04 13:59 ` [DistroKit] [PATCH v2 09/10] v8a: barebox: remove left-over SoC-specific rules Ahmad Fatoum
                   ` (2 subsequent siblings)
  10 siblings, 0 replies; 13+ messages in thread
From: Ahmad Fatoum @ 2023-05-04 13:59 UTC (permalink / raw)
  To: distrokit; +Cc: Ahmad Fatoum, bst

Now that we have configured the upstream rule to support both i.MX8M and
Rockchip, let's wire it into the image rules.

Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
---
 configs/platform-v8a/config/images/imx8mm-evk.config | 2 +-
 configs/platform-v8a/config/images/imx8mp-evk.config | 2 +-
 configs/platform-v8a/config/images/imx8mq-evk.config | 2 +-
 configs/platform-v8a/config/images/rock3a.config     | 6 +++---
 configs/platform-v8a/platforms/image-imx8mm-evk.in   | 2 +-
 configs/platform-v8a/platforms/image-imx8mp-evk.in   | 2 +-
 configs/platform-v8a/platforms/image-imx8mq-evk.in   | 2 +-
 configs/platform-v8a/platforms/image-rock3a.in       | 2 +-
 doc/hardware_v8a_rock3a.rst                          | 2 +-
 9 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/configs/platform-v8a/config/images/imx8mm-evk.config b/configs/platform-v8a/config/images/imx8mm-evk.config
index 5c04b6c36405..80f569139704 100644
--- a/configs/platform-v8a/config/images/imx8mm-evk.config
+++ b/configs/platform-v8a/config/images/imx8mm-evk.config
@@ -4,7 +4,7 @@ image @IMAGE@ {
 		disk-signature = 0x9e1b14a8
 	}
 	partition barebox {
-		image = "barebox-nxp-imx8mm-evk.img-imx8m"
+		image = "barebox-nxp-imx8mm-evk.img"
 		size = 896K
 		in-partition-table = false
 		holes = {"(440; 1K)"}
diff --git a/configs/platform-v8a/config/images/imx8mp-evk.config b/configs/platform-v8a/config/images/imx8mp-evk.config
index 99b921023470..2f019381cace 100644
--- a/configs/platform-v8a/config/images/imx8mp-evk.config
+++ b/configs/platform-v8a/config/images/imx8mp-evk.config
@@ -4,7 +4,7 @@ image @IMAGE@ {
 		disk-signature = 0x9e1b14a8
 	}
 	partition barebox {
-		image = "barebox-nxp-imx8mp-evk.img-imx8m"
+		image = "barebox-nxp-imx8mp-evk.img"
 		size = 896K
 		in-partition-table = false
 		holes = {"(440; 1K)"}
diff --git a/configs/platform-v8a/config/images/imx8mq-evk.config b/configs/platform-v8a/config/images/imx8mq-evk.config
index 5932688360d9..385672543b90 100644
--- a/configs/platform-v8a/config/images/imx8mq-evk.config
+++ b/configs/platform-v8a/config/images/imx8mq-evk.config
@@ -4,7 +4,7 @@ image @IMAGE@ {
 		disk-signature = 0x9e1b14a8
 	}
 	partition barebox {
-		image = "barebox-nxp-imx8mq-evk.img-imx8m"
+		image = "barebox-nxp-imx8mq-evk.img"
 		size = 896K
 		in-partition-table = false
 		holes = {"(440; 1K)"}
diff --git a/configs/platform-v8a/config/images/rock3a.config b/configs/platform-v8a/config/images/rock3a.config
index 8b78ce7df4e7..522d82cdc9c9 100644
--- a/configs/platform-v8a/config/images/rock3a.config
+++ b/configs/platform-v8a/config/images/rock3a.config
@@ -7,13 +7,13 @@ image @IMAGE@ {
 		offset = 32k
 		size = 2M
 		in-partition-table = false
-		image = "barebox-rock3a.img-rockchip"
+		image = "barebox-rock3a.img"
 	}
 	partition boot2 {
 		offset = 2080k
 		size = 2M
 		in-partition-table = false
-		image = "barebox-rock3a.img-rockchip"
+		image = "barebox-rock3a.img"
 	}
 	partition barebox_environment {
 		offset = 4128k
@@ -41,6 +41,6 @@ image barebox-rock3a.norimg {
 		offset = 32k
 		size = 2M
 		in-partition-table = false
-		image = "barebox-rock3a.img-rockchip"
+		image = "barebox-rock3a.img"
 	}
 }
diff --git a/configs/platform-v8a/platforms/image-imx8mm-evk.in b/configs/platform-v8a/platforms/image-imx8mm-evk.in
index 50907881b913..f58a27b0bb64 100644
--- a/configs/platform-v8a/platforms/image-imx8mm-evk.in
+++ b/configs/platform-v8a/platforms/image-imx8mm-evk.in
@@ -4,7 +4,7 @@ config IMAGE_IMX8MM_EVK
 	tristate
 	select HOST_GENIMAGE
 	select IMAGE_ROOT_EXT
-	select BAREBOX_IMX8M
+	select BAREBOX
 	prompt "Generate images/imx8mm-evk.img"
 	help
 	  Generate a bootable SD card image to deploy a NXP i.MX8MM-EVK board.
diff --git a/configs/platform-v8a/platforms/image-imx8mp-evk.in b/configs/platform-v8a/platforms/image-imx8mp-evk.in
index d49ce8d3da4c..87ad83368a19 100644
--- a/configs/platform-v8a/platforms/image-imx8mp-evk.in
+++ b/configs/platform-v8a/platforms/image-imx8mp-evk.in
@@ -4,7 +4,7 @@ config IMAGE_IMX8MP_EVK
 	tristate
 	select HOST_GENIMAGE
 	select IMAGE_ROOT_EXT
-	select BAREBOX_IMX8M
+	select BAREBOX
 	prompt "Generate images/imx8mp-evk.img"
 	help
 	  Generate a bootable SD card image to deploy a NXP i.MX8MP-EVK board.
diff --git a/configs/platform-v8a/platforms/image-imx8mq-evk.in b/configs/platform-v8a/platforms/image-imx8mq-evk.in
index a286e6bf575f..254879ae5cb7 100644
--- a/configs/platform-v8a/platforms/image-imx8mq-evk.in
+++ b/configs/platform-v8a/platforms/image-imx8mq-evk.in
@@ -4,7 +4,7 @@ config IMAGE_IMX8MQ_EVK
 	tristate
 	select HOST_GENIMAGE
 	select IMAGE_ROOT_EXT
-	select BAREBOX_IMX8M
+	select BAREBOX
 	prompt "Generate images/imx8mq-evk.img"
 	help
 	  Generate a bootable SD card image to deploy a NXP i.MX8MQ-EVK board.
diff --git a/configs/platform-v8a/platforms/image-rock3a.in b/configs/platform-v8a/platforms/image-rock3a.in
index cd09d1ec9087..96393cfc3257 100644
--- a/configs/platform-v8a/platforms/image-rock3a.in
+++ b/configs/platform-v8a/platforms/image-rock3a.in
@@ -4,7 +4,7 @@ config IMAGE_ROCK3A
 	tristate
 	select HOST_GENIMAGE
 	select IMAGE_ROOT_EXT
-	select BAREBOX_ROCKCHIP
+	select BAREBOX
 	prompt "Generate images/rock3a.img"
 	help
 	  Generate an image for the Radxa ROCK3 Model A.
diff --git a/doc/hardware_v8a_rock3a.rst b/doc/hardware_v8a_rock3a.rst
index 3aa5a62ea8bd..72eb9d8b6c70 100644
--- a/doc/hardware_v8a_rock3a.rst
+++ b/doc/hardware_v8a_rock3a.rst
@@ -17,7 +17,7 @@ Barebox via USB:
 
 .. code-block:: shell
 
-    platform-v8a/sysroot-host/bin/rk-usb-loader platform-v8a/images/barebox-rock3a.img-rockchip
+    platform-v8a/sysroot-host/bin/rk-usb-loader platform-v8a/images/barebox-rock3a.img
 
 Once Barebox is booted, copy the image ``platform-v8a/images/rock3a.img`` via
 tftp or NFS to the eMMC to persist it. Disable MASKROM mode and reboot the
-- 
2.39.2




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

* [DistroKit] [PATCH v2 09/10] v8a: barebox: remove left-over SoC-specific rules
  2023-05-04 13:59 [DistroKit] [PATCH v2 00/10] v8a: barebox: update to use upstream PTXdist rule Ahmad Fatoum
                   ` (7 preceding siblings ...)
  2023-05-04 13:59 ` [DistroKit] [PATCH v2 08/10] v8a: barebox: switch to upstream rule Ahmad Fatoum
@ 2023-05-04 13:59 ` Ahmad Fatoum
  2023-05-04 13:59 ` [DistroKit] [PATCH v2 10/10] v8a: barebox: enable fastboot over UDP Ahmad Fatoum
  2023-05-08  8:10 ` [DistroKit] [PATCH v2 00/10] v8a: barebox: update to use upstream PTXdist rule Robert Schwebel
  10 siblings, 0 replies; 13+ messages in thread
From: Ahmad Fatoum @ 2023-05-04 13:59 UTC (permalink / raw)
  To: distrokit; +Cc: Ahmad Fatoum, bst

With the switch to the upstream rules, we have no need any longer for
the SoC-specific ones, so let's drop them.

Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
---
 configs/platform-v8a/barebox-imx8m.config     | 1043 -----------------
 configs/platform-v8a/barebox-rockchip.config  |  943 ---------------
 configs/platform-v8a/platformconfig           |    2 -
 .../platform-v8a/platforms/barebox-imx8m.in   |   10 -
 .../platforms/barebox-rockchip.in             |   14 -
 configs/platform-v8a/rules/barebox-imx8m.make |  125 --
 .../platform-v8a/rules/barebox-rockchip.make  |  163 ---
 7 files changed, 2300 deletions(-)
 delete mode 100644 configs/platform-v8a/barebox-imx8m.config
 delete mode 100644 configs/platform-v8a/barebox-rockchip.config
 delete mode 100644 configs/platform-v8a/platforms/barebox-imx8m.in
 delete mode 100644 configs/platform-v8a/platforms/barebox-rockchip.in
 delete mode 100644 configs/platform-v8a/rules/barebox-imx8m.make
 delete mode 100644 configs/platform-v8a/rules/barebox-rockchip.make

diff --git a/configs/platform-v8a/barebox-imx8m.config b/configs/platform-v8a/barebox-imx8m.config
deleted file mode 100644
index cfbc624e70fb..000000000000
--- a/configs/platform-v8a/barebox-imx8m.config
+++ /dev/null
@@ -1,1043 +0,0 @@
-#
-# Automatically generated file; DO NOT EDIT.
-# Barebox/arm 2023.04.0 Configuration
-#
-CONFIG_ARM=y
-CONFIG_ARM_LINUX=y
-CONFIG_ARM_USE_COMPRESSED_DTB=y
-CONFIG_TEXT_BASE=0x0
-
-#
-# System Type
-#
-CONFIG_ARCH_MULTIARCH=y
-# CONFIG_ARCH_AT91 is not set
-# CONFIG_ARCH_CLPS711X is not set
-# CONFIG_ARCH_DAVINCI is not set
-# CONFIG_ARCH_DIGIC is not set
-# CONFIG_ARCH_EP93XX is not set
-# CONFIG_ARCH_LAYERSCAPE is not set
-# CONFIG_ARCH_MVEBU is not set
-# CONFIG_ARCH_MXS is not set
-# CONFIG_ARCH_NOMADIK is not set
-# CONFIG_ARCH_OMAP_SINGLE is not set
-# CONFIG_ARCH_PXA is not set
-# CONFIG_ARCH_SOCFPGA is not set
-# CONFIG_ARCH_VERSATILE is not set
-# CONFIG_ARCH_TEGRA is not set
-# CONFIG_ARCH_UEMD is not set
-# CONFIG_ARCH_ZYNQ is not set
-# CONFIG_ARCH_ARM64_VIRT is not set
-# CONFIG_ARCH_BCM283X is not set
-CONFIG_ARCH_IMX=y
-# CONFIG_ARCH_OMAP_MULTI is not set
-# CONFIG_ARCH_ROCKCHIP is not set
-# CONFIG_ARCH_STM32MP is not set
-# CONFIG_ARCH_VEXPRESS is not set
-# CONFIG_ARCH_ZYNQMP is not set
-
-#
-# Processor Type
-#
-CONFIG_PHYS_ADDR_T_64BIT=y
-CONFIG_CPU_64=y
-CONFIG_CPU_V8=y
-CONFIG_CPU_64v8=y
-
-#
-# processor features
-#
-# CONFIG_BOOT_ENDIANNESS_SWITCH is not set
-CONFIG_CPU_SUPPORTS_32BIT_KERNEL=y
-CONFIG_CPU_SUPPORTS_64BIT_KERNEL=y
-CONFIG_ARCH_IMX_IMXIMAGE=y
-
-#
-# i.MX boards
-#
-CONFIG_ARCH_IMX8M=y
-CONFIG_ARCH_IMX8MM=y
-CONFIG_ARCH_IMX8MP=y
-CONFIG_ARCH_IMX8MQ=y
-
-#
-# i.MX8M boards
-#
-# CONFIG_MACH_INNOCOMM_WB15 is not set
-# CONFIG_MACH_MNT_REFORM is not set
-CONFIG_MACH_NXP_IMX8MM_EVK=y
-# CONFIG_MACH_NXP_IMX8MN_EVK is not set
-CONFIG_MACH_NXP_IMX8MP_EVK=y
-CONFIG_MACH_NXP_IMX8MQ_EVK=y
-CONFIG_MACH_PHYTEC_SOM_IMX8MQ=y
-# CONFIG_MACH_POLYHEX_DEBIX is not set
-# CONFIG_MACH_PROTONIC_IMX8M is not set
-# CONFIG_MACH_TQ_MBA8MPXL is not set
-# CONFIG_MACH_VARISCITE_DT8MCUSTOMBOARD_IMX8MP is not set
-# CONFIG_MACH_ZII_IMX8MQ_DEV is not set
-# end of i.MX boards
-
-#
-# i.MX specific settings
-#
-# CONFIG_IMX_IIM is not set
-CONFIG_IMX_SAVE_BOOTROM_LOG=y
-# CONFIG_HABV4 is not set
-# end of i.MX specific settings
-
-# CONFIG_BOARD_ARM_GENERIC_DT is not set
-# end of System Type
-
-# CONFIG_32BIT is not set
-CONFIG_64BIT=y
-
-#
-# ARM specific settings
-#
-CONFIG_ARM_OPTIMZED_STRING_FUNCTIONS=y
-CONFIG_ARM_EXCEPTIONS=y
-CONFIG_ARM_SMCCC=y
-# CONFIG_ARM_PSCI_CLIENT is not set
-# end of ARM specific settings
-
-CONFIG_GREGORIAN_CALENDER=y
-CONFIG_HAS_KALLSYMS=y
-CONFIG_HAS_CACHE=y
-CONFIG_HAS_DMA=y
-CONFIG_ARCH_HAS_SJLJ=y
-CONFIG_GENERIC_GPIO=y
-CONFIG_BLOCK=y
-CONFIG_BLOCK_WRITE=y
-CONFIG_FILETYPE=y
-CONFIG_BINFMT=y
-CONFIG_UIMAGE=y
-CONFIG_LOGBUF=y
-CONFIG_STDDEV=y
-CONFIG_MENUTREE=y
-CONFIG_ARCH_DMA_ADDR_T_64BIT=y
-CONFIG_USBGADGET_START=y
-CONFIG_BOOT=y
-CONFIG_FASTBOOT_BASE=y
-
-#
-# General Settings
-#
-CONFIG_LOCALVERSION=""
-CONFIG_LOCALVERSION_AUTO=y
-CONFIG_BANNER=y
-CONFIG_MEMINFO=y
-CONFIG_ENVIRONMENT_VARIABLES=y
-CONFIG_GLOBALVAR=y
-CONFIG_NVVAR=y
-
-#
-# memory layout
-#
-CONFIG_HAVE_PBL_IMAGE=y
-CONFIG_HAVE_PBL_MULTI_IMAGES=y
-CONFIG_HAVE_IMAGE_COMPRESSION=y
-CONFIG_PBL_IMAGE=y
-CONFIG_PBL_MULTI_IMAGES=y
-CONFIG_USE_COMPRESSED_DTB=y
-CONFIG_PBL_RELOCATABLE=y
-CONFIG_IMAGE_COMPRESSION=y
-# CONFIG_IMAGE_COMPRESSION_LZ4 is not set
-CONFIG_IMAGE_COMPRESSION_LZO=y
-# CONFIG_IMAGE_COMPRESSION_GZIP is not set
-# CONFIG_IMAGE_COMPRESSION_XZKERN is not set
-# CONFIG_IMAGE_COMPRESSION_NONE is not set
-CONFIG_MMU=y
-CONFIG_MMU_EARLY=y
-CONFIG_BAREBOX_MAX_IMAGE_SIZE=0xffffffff
-CONFIG_BAREBOX_MAX_PBL_SIZE=0xffffffff
-CONFIG_BAREBOX_MAX_BARE_INIT_SIZE=0xffffffff
-CONFIG_STACK_SIZE=0x8000
-CONFIG_MALLOC_SIZE=0x0
-# end of memory layout
-
-# CONFIG_EXPERIMENTAL is not set
-# CONFIG_MALLOC_DLMALLOC is not set
-CONFIG_MALLOC_TLSF=y
-CONFIG_KALLSYMS=y
-CONFIG_RELOCATABLE=y
-# CONFIG_PANIC_HANG is not set
-CONFIG_PROMPT="barebox:"
-CONFIG_BAUDRATE=115200
-CONFIG_CBSIZE=1024
-CONFIG_SHELL_HUSH=y
-# CONFIG_SHELL_SIMPLE is not set
-# CONFIG_SHELL_NONE is not set
-CONFIG_GLOB=y
-CONFIG_GLOB_SORT=y
-CONFIG_PROMPT_HUSH_PS2="> "
-CONFIG_HUSH_FANCY_PROMPT=y
-CONFIG_CMDLINE_EDITING=y
-CONFIG_AUTO_COMPLETE=y
-CONFIG_MENU=y
-# CONFIG_PASSWORD is not set
-CONFIG_DYNAMIC_CRC_TABLE=y
-CONFIG_ERRNO_MESSAGES=y
-CONFIG_TIMESTAMP=y
-CONFIG_BOOTM=y
-CONFIG_BOOTM_SHOW_TYPE=y
-CONFIG_BOOTM_VERBOSE=y
-CONFIG_BOOTM_INITRD=y
-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_BLSPEC=y
-CONFIG_FLEXIBLE_BOOTARGS=y
-CONFIG_MMCBLKDEV_ROOTARG=y
-CONFIG_BAREBOX_UPDATE=y
-# CONFIG_SYSTEM_PARTITIONS is not set
-CONFIG_IMD=y
-CONFIG_CONSOLE_FULL=y
-# CONFIG_CONSOLE_SIMPLE is not set
-# CONFIG_CONSOLE_NONE is not set
-# CONFIG_CONSOLE_ACTIVATE_FIRST is not set
-# CONFIG_CONSOLE_ACTIVATE_ALL is not set
-CONFIG_CONSOLE_ACTIVATE_NONE=y
-# CONFIG_CONSOLE_ALLOW_COLOR is not set
-# CONFIG_CONSOLE_DISABLE_INPUT is not set
-CONFIG_PBL_CONSOLE=y
-CONFIG_CONSOLE_RATP=y
-# CONFIG_RATP_CMD_I2C is not set
-# CONFIG_RATP_CMD_GPIO is not set
-CONFIG_PARTITION=y
-CONFIG_PARTITION_DISK=y
-CONFIG_PARTITION_DISK_DOS=y
-CONFIG_PARTITION_DISK_EFI=y
-CONFIG_PARTITION_DISK_EFI_GPT_NO_FORCE=y
-CONFIG_PARTITION_DISK_EFI_GPT_COMPARE=y
-CONFIG_ENV_HANDLING=y
-CONFIG_DEFAULT_ENVIRONMENT=y
-CONFIG_DEFAULT_COMPRESSION_NONE=y
-CONFIG_DEFAULT_ENVIRONMENT_GENERIC_NEW=y
-CONFIG_DEFAULT_ENVIRONMENT_GENERIC_NEW_MENU=y
-CONFIG_DEFAULT_ENVIRONMENT_GENERIC_NEW_REBOOT_MODE=y
-# CONFIG_DEFAULT_ENVIRONMENT_GENERIC_NEW_IKCONFIG is not set
-CONFIG_DEFAULT_ENVIRONMENT_PATH="$(objtree)/.ptxdist-defaultenv"
-CONFIG_HAS_SCHED=y
-CONFIG_POLLER=y
-# CONFIG_BTHREAD is not set
-# CONFIG_STATE is not set
-# CONFIG_BOOTCHOOSER is not set
-CONFIG_RESET_SOURCE=y
-# CONFIG_SYSTEMD_OF_WATCHDOG is not set
-CONFIG_EXTERNAL_DTS_FRAGMENTS=""
-
-#
-# OP-TEE loading
-#
-# CONFIG_BOOTM_OPTEE is not set
-# CONFIG_PBL_OPTEE is not set
-# end of OP-TEE loading
-
-#
-# Android Fastboot
-#
-CONFIG_FASTBOOT_SPARSE=y
-# CONFIG_FASTBOOT_CMD_OEM is not set
-# end of Android Fastboot
-# end of General Settings
-
-#
-# Debugging
-#
-CONFIG_COMPILE_LOGLEVEL=6
-CONFIG_DEFAULT_LOGLEVEL=7
-# CONFIG_DEBUG_LL is not set
-CONFIG_ARCH_WANT_FRAME_POINTERS=y
-CONFIG_FRAME_POINTER=y
-CONFIG_DEBUG_IMX_UART_PORT=1
-# CONFIG_DEBUG_INITCALLS is not set
-# CONFIG_DEBUG_PBL is not set
-# CONFIG_DEBUG_PROBES is not set
-# CONFIG_PBL_BREAK is not set
-# CONFIG_PRINTF_FULL is not set
-# CONFIG_UBSAN is not set
-CONFIG_HAVE_ARCH_KASAN=y
-CONFIG_CC_HAS_KASAN_GENERIC=y
-# CONFIG_KASAN is not set
-# CONFIG_COMPILE_TEST is not set
-# end of Debugging
-
-#
-# EFI (Extensible Firmware Interface) Support
-#
-# end of EFI (Extensible Firmware Interface) Support
-
-CONFIG_HAS_DEBUG_LL=y
-CONFIG_COMMAND_SUPPORT=y
-CONFIG_COMPILE_HASH=y
-
-#
-# Commands
-#
-
-#
-# Information
-#
-# CONFIG_CMD_TUTORIAL is not set
-CONFIG_CMD_ARM_CPUINFO=y
-CONFIG_CMD_BOOTROM=y
-CONFIG_CMD_DEVINFO=y
-# CONFIG_CMD_DEVLOOKUP is not set
-# CONFIG_CMD_DEVUNBIND is not set
-CONFIG_CMD_DMESG=y
-CONFIG_CMD_DRVINFO=y
-CONFIG_CMD_HELP=y
-CONFIG_LONGHELP=y
-CONFIG_CMD_IOMEM=y
-CONFIG_CMD_IMD=y
-CONFIG_CMD_MEMINFO=y
-CONFIG_CMD_REGULATOR=y
-# CONFIG_CMD_PM_DOMAIN is not set
-# CONFIG_CMD_NVMEM is not set
-CONFIG_CMD_VERSION=y
-# CONFIG_CMD_MMC is not set
-CONFIG_CMD_MMC_EXTCSD=y
-# CONFIG_CMD_POLLER is not set
-# CONFIG_CMD_SLICE is not set
-# end of Information
-
-#
-# Boot
-#
-CONFIG_CMD_BOOT=y
-CONFIG_CMD_BOOTM=y
-CONFIG_CMD_GO=y
-# CONFIG_CMD_LOADB is not set
-# CONFIG_CMD_LOADS is not set
-# CONFIG_CMD_LOADY is not set
-CONFIG_CMD_RESET=y
-CONFIG_CMD_UIMAGE=y
-# end of Boot
-
-#
-# Partition
-#
-CONFIG_CMD_PARTITION=y
-CONFIG_CMD_AUTOMOUNT=y
-CONFIG_CMD_MOUNT=y
-CONFIG_CMD_UMOUNT=y
-# end of Partition
-
-#
-# Environment
-#
-CONFIG_CMD_NV=y
-CONFIG_CMD_EXPORT=y
-# CONFIG_CMD_DEFAULTENV is not set
-CONFIG_CMD_GLOBAL=y
-CONFIG_CMD_LOADENV=y
-CONFIG_CMD_PRINTENV=y
-CONFIG_CMD_MAGICVAR=y
-CONFIG_CMD_MAGICVAR_HELP=y
-CONFIG_CMD_SAVEENV=y
-CONFIG_CMD_SETENV=y
-# end of Environment
-
-#
-# File
-#
-CONFIG_CMD_BASENAME=y
-CONFIG_CMD_CAT=y
-CONFIG_CMD_CD=y
-CONFIG_CMD_CP=y
-# CONFIG_CMD_CMP is not set
-CONFIG_CMD_DIGEST=y
-CONFIG_CMD_DIRNAME=y
-CONFIG_CMD_FILETYPE=y
-CONFIG_CMD_LN=y
-CONFIG_CMD_LS=y
-# CONFIG_CMD_STAT is not set
-CONFIG_CMD_MD5SUM=y
-CONFIG_CMD_MKDIR=y
-CONFIG_CMD_PWD=y
-CONFIG_CMD_READLINK=y
-CONFIG_CMD_RM=y
-CONFIG_CMD_RMDIR=y
-# CONFIG_CMD_SHA1SUM is not set
-# CONFIG_CMD_SHA224SUM is not set
-# CONFIG_CMD_SHA256SUM is not set
-# CONFIG_CMD_SHA384SUM is not set
-# CONFIG_CMD_SHA512SUM is not set
-CONFIG_CMD_UNCOMPRESS=y
-# end of File
-
-#
-# Shell scripting
-#
-CONFIG_CMD_FALSE=y
-CONFIG_CMD_GETOPT=y
-CONFIG_CMD_LET=y
-CONFIG_CMD_MSLEEP=y
-CONFIG_CMD_READF=y
-CONFIG_CMD_SLEEP=y
-CONFIG_CMD_TEST=y
-CONFIG_CMD_TRUE=y
-# end of Shell scripting
-
-#
-# Network
-#
-CONFIG_CMD_DHCP=y
-CONFIG_CMD_HOST=y
-CONFIG_NET_CMD_IFUP=y
-CONFIG_CMD_MIITOOL=y
-CONFIG_CMD_PING=y
-# CONFIG_CMD_TFTP is not set
-CONFIG_CMD_IP_ROUTE_GET=y
-# CONFIG_CMD_ETHLOG is not set
-# end of Network
-
-#
-# Console and Framebuffer interaction
-#
-CONFIG_CMD_CLEAR=y
-CONFIG_CMD_ECHO=y
-CONFIG_CMD_ECHO_E=y
-CONFIG_CMD_EDIT=y
-# CONFIG_CMD_LOGIN is not set
-CONFIG_CMD_MENU=y
-CONFIG_CMD_MENU_MANAGEMENT=y
-CONFIG_CMD_MENUTREE=y
-CONFIG_CMD_READLINE=y
-CONFIG_CMD_TIMEOUT=y
-# end of Console and Framebuffer interaction
-
-#
-# Memory
-#
-CONFIG_CMD_CRC=y
-CONFIG_CMD_CRC_CMP=y
-CONFIG_CMD_MD=y
-CONFIG_CMD_MEMCMP=y
-CONFIG_CMD_MEMCPY=y
-CONFIG_CMD_MEMSET=y
-CONFIG_CMD_MEMTEST=y
-# CONFIG_CMD_MEMTESTER is not set
-CONFIG_CMD_MM=y
-CONFIG_CMD_MW=y
-# end of Memory
-
-#
-# Hardware manipulation
-#
-CONFIG_CMD_CLK=y
-CONFIG_CMD_DETECT=y
-CONFIG_CMD_FLASH=y
-CONFIG_CMD_GPIO=y
-CONFIG_CMD_HWCLOCK=y
-CONFIG_CMD_I2C=y
-CONFIG_CMD_LED=y
-# CONFIG_CMD_POWEROFF is not set
-# CONFIG_CMD_SMC is not set
-CONFIG_CMD_SPI=y
-CONFIG_CMD_LED_TRIGGER=y
-CONFIG_CMD_USB=y
-CONFIG_CMD_USBGADGET=y
-CONFIG_CMD_WD=y
-CONFIG_CMD_WD_DEFAULT_TIMOUT=0
-# end of Hardware manipulation
-
-#
-# Miscellaneous
-#
-# CONFIG_CMD_2048 is not set
-CONFIG_CMD_BAREBOX_UPDATE=y
-# CONFIG_CMD_BLOBGEN is not set
-# CONFIG_CMD_FIRMWARELOAD is not set
-# CONFIG_CMD_OF_DIFF is not set
-CONFIG_CMD_OF_DUMP=y
-CONFIG_CMD_OF_NODE=y
-CONFIG_CMD_OF_PROPERTY=y
-# CONFIG_CMD_OF_DISPLAY_TIMINGS is not set
-# CONFIG_CMD_OF_FIXUP_STATUS is not set
-# CONFIG_CMD_OF_OVERLAY is not set
-CONFIG_CMD_OFTREE=y
-CONFIG_CMD_TIME=y
-# CONFIG_CMD_UPTIME is not set
-# CONFIG_CMD_DHRYSTONE is not set
-# CONFIG_CMD_SPD_DECODE is not set
-# CONFIG_CMD_SEED is not set
-# end of Miscellaneous
-# end of Commands
-
-CONFIG_NET=y
-# CONFIG_NET_NFS is not set
-CONFIG_NET_NETCONSOLE=y
-CONFIG_NET_RESOLV=y
-CONFIG_NET_IFUP=y
-CONFIG_NET_DHCP=y
-# CONFIG_NET_SNTP is not set
-# CONFIG_NET_FASTBOOT is not set
-
-#
-# Drivers
-#
-CONFIG_PM_GENERIC_DOMAINS=y
-CONFIG_FEATURE_CONTROLLER=y
-CONFIG_OFTREE=y
-CONFIG_OFTREE_MEM_GENERIC=y
-CONFIG_DTC=y
-CONFIG_OFDEVICE=y
-CONFIG_FEATURE_CONTROLLER_FIXUP=y
-CONFIG_OF_GPIO=y
-CONFIG_OF_BAREBOX_DRIVERS=y
-# CONFIG_OF_BAREBOX_ENV_IN_FS is not set
-# CONFIG_OF_OVERLAY is not set
-# CONFIG_AIODEV is not set
-
-#
-# serial drivers
-#
-CONFIG_SERIAL_DEV_BUS=y
-CONFIG_DRIVER_SERIAL_IMX=y
-# CONFIG_DRIVER_SERIAL_NS16550 is not set
-# CONFIG_DRIVER_SERIAL_CADENCE is not set
-# CONFIG_SERIAL_SIFIVE is not set
-# end of serial drivers
-
-CONFIG_ARCH_HAS_FEC_IMX=y
-CONFIG_PHYLIB=y
-
-#
-# Network drivers
-#
-# CONFIG_DRIVER_NET_BCMGENET is not set
-# CONFIG_DRIVER_NET_DESIGNWARE_GENERIC is not set
-CONFIG_DRIVER_NET_DESIGNWARE_EQOS=y
-CONFIG_DRIVER_NET_DESIGNWARE_IMX8=y
-# CONFIG_DRIVER_NET_ENC28J60 is not set
-CONFIG_DRIVER_NET_FEC_IMX=y
-# CONFIG_DRIVER_NET_FSL_FMAN is not set
-# CONFIG_DRIVER_NET_KS8851_MLL is not set
-# CONFIG_DRIVER_NET_MICREL is not set
-# CONFIG_DRIVER_NET_SMC911X is not set
-# CONFIG_DRIVER_NET_SMC91111 is not set
-# CONFIG_DRIVER_NET_LITEETH is not set
-
-#
-# phylib
-#
-
-#
-# MII PHY device drivers
-#
-# CONFIG_AR8327N_PHY is not set
-# CONFIG_AT803X_PHY is not set
-# CONFIG_DAVICOM_PHY is not set
-CONFIG_DP83867_PHY=y
-# CONFIG_DP83TD510_PHY is not set
-# CONFIG_LXT_PHY is not set
-# CONFIG_MARVELL_PHY is not set
-CONFIG_MICREL_PHY=y
-# CONFIG_NATIONAL_PHY is not set
-CONFIG_REALTEK_PHY=y
-# CONFIG_SMSC_PHY is not set
-CONFIG_NET_DSA_MV88E6XXX=y
-
-#
-# MII bus device drivers
-#
-CONFIG_MDIO_BITBANG=y
-CONFIG_MDIO_GPIO=y
-CONFIG_MDIO_BUS_MUX=y
-CONFIG_MDIO_BUS_MUX_GPIO=y
-# end of phylib
-
-CONFIG_NET_USB=y
-CONFIG_NET_USB_ASIX=y
-# CONFIG_USB_NET_AX88179_178A is not set
-CONFIG_NET_USB_SMSC95XX=y
-# CONFIG_NET_USB_RTL8152 is not set
-# CONFIG_DSA is not set
-# end of Network drivers
-
-#
-# SPI drivers
-#
-CONFIG_SPI=y
-CONFIG_SPI_MEM=y
-# CONFIG_DRIVER_SPI_FSL_QUADSPI is not set
-# CONFIG_DRIVER_SPI_GPIO is not set
-CONFIG_DRIVER_SPI_IMX=y
-CONFIG_DRIVER_SPI_IMX_2_3=y
-# CONFIG_DRIVER_SPI_LITEX_SPIFLASH is not set
-# CONFIG_SPI_NXP_FLEXSPI is not set
-# end of SPI drivers
-
-CONFIG_I2C=y
-
-#
-# I2C Hardware Bus support
-#
-# CONFIG_I2C_GPIO is not set
-CONFIG_I2C_IMX=y
-# CONFIG_I2C_DESIGNWARE is not set
-# CONFIG_I2C_MV64XXX is not set
-# end of I2C Hardware Bus support
-
-# CONFIG_I2C_MUX is not set
-CONFIG_I2C_IMX_EARLY=y
-CONFIG_MTD=y
-CONFIG_MTD_WRITE=y
-CONFIG_MTD_OOB_DEVICE=y
-# CONFIG_MTD_RAW_DEVICE is not set
-# CONFIG_MTD_CONCAT is not set
-
-#
-# MTD debug options
-#
-# CONFIG_MTD_PEB_DEBUG is not set
-
-#
-# Self contained MTD devices
-#
-CONFIG_MTD_DATAFLASH=y
-# CONFIG_MTD_DATAFLASH_WRITE_VERIFY is not set
-CONFIG_MTD_M25P80=y
-# CONFIG_MTD_SST25L is not set
-# CONFIG_MTD_DOCG3 is not set
-# CONFIG_MTD_MTDRAM is not set
-# end of Self contained MTD devices
-
-# CONFIG_DRIVER_CFI is not set
-# CONFIG_NAND is not set
-CONFIG_MTD_SPI_NOR=y
-# CONFIG_MTD_SPI_NOR_USE_4K_SECTORS is not set
-# CONFIG_SPI_CADENCE_QUADSPI is not set
-# CONFIG_MTD_UBI is not set
-CONFIG_DISK=y
-CONFIG_DISK_WRITE=y
-
-#
-# drive types
-#
-# CONFIG_DISK_ATA is not set
-# CONFIG_DISK_AHCI is not set
-
-#
-# interface types
-#
-# CONFIG_DISK_INTF_PLATFORM_IDE is not set
-CONFIG_USB=y
-CONFIG_USB_HOST=y
-CONFIG_USB_IMX_CHIPIDEA=y
-CONFIG_USB_IMX_CHIPIDEA_USBMISC=y
-# CONFIG_USB_DWC2_HOST is not set
-# CONFIG_USB_DWC2_GADGET is not set
-# CONFIG_USB_DWC3 is not set
-# CONFIG_USB_EHCI is not set
-# CONFIG_USB_XHCI is not set
-# CONFIG_USB_ULPI is not set
-CONFIG_USB_OTGDEV=y
-CONFIG_USB_STORAGE=y
-
-#
-# USB Miscellaneous drivers
-#
-# CONFIG_USB_HUB_USB251XB is not set
-# CONFIG_USB_ONBOARD_HUB is not set
-CONFIG_USB_GADGET=y
-CONFIG_USB_GADGET_DRIVER_ARC_PBL=y
-CONFIG_USB_GADGET_DUALSPEED=y
-CONFIG_USB_GADGET_DRIVER_ARC=y
-CONFIG_USB_GADGET_AUTOSTART=y
-
-#
-# USB Gadget drivers
-#
-# CONFIG_USB_GADGET_DFU is not set
-CONFIG_USB_GADGET_SERIAL=y
-CONFIG_USB_GADGET_FASTBOOT=y
-# CONFIG_USB_GADGET_MASS_STORAGE is not set
-# CONFIG_USB_MUSB is not set
-# CONFIG_VIDEO is not set
-# CONFIG_SOUND is not set
-CONFIG_MCI_SDHCI=y
-CONFIG_MCI=y
-
-#
-# --- Feature list ---
-#
-# CONFIG_MCI_STARTUP is not set
-CONFIG_MCI_INFO=y
-CONFIG_MCI_WRITE=y
-CONFIG_MCI_MMC_BOOT_PARTITIONS=y
-# CONFIG_MCI_MMC_GPP_PARTITIONS is not set
-
-#
-# --- MCI host drivers ---
-#
-# CONFIG_MCI_DW is not set
-# CONFIG_MCI_ROCKCHIP_DWCMSHC is not set
-CONFIG_MCI_IMX_ESDHC=y
-# CONFIG_MCI_IMX_ESDHC_PIO is not set
-# CONFIG_MCI_ARASAN is not set
-# CONFIG_MCI_SPI is not set
-CONFIG_MCI_IMX_ESDHC_PBL=y
-CONFIG_HAVE_CLK=y
-CONFIG_CLKDEV_LOOKUP=y
-CONFIG_COMMON_CLK=y
-CONFIG_COMMON_CLK_OF_PROVIDER=y
-
-#
-# Clocksource
-#
-CONFIG_CLOCKSOURCE_DUMMY_RATE=1000
-CONFIG_CLOCKSOURCE_ARM_ARCHITECTED_TIMER=y
-# CONFIG_CLOCKSOURCE_DW_APB_TIMER is not set
-# end of Clocksource
-
-#
-# Multifunction device drivers
-#
-# CONFIG_MFD_ACT8846 is not set
-# CONFIG_MFD_DA9053 is not set
-# CONFIG_MFD_DA9063 is not set
-# CONFIG_MFD_LP3972 is not set
-# CONFIG_MFD_MC13XXX is not set
-# CONFIG_MFD_MC34704 is not set
-# CONFIG_MFD_MC9SDZ60 is not set
-# CONFIG_MFD_STMPE is not set
-CONFIG_MFD_SYSCON=y
-# CONFIG_MFD_TWL4030 is not set
-# CONFIG_MFD_TWL6030 is not set
-CONFIG_RAVE_SP_CORE=y
-# CONFIG_MFD_STPMIC1 is not set
-# CONFIG_MFD_RN568PMIC is not set
-# CONFIG_MFD_ATMEL_FLEXCOM is not set
-# CONFIG_MFD_RK808 is not set
-# CONFIG_MFD_AXP20X_I2C is not set
-# CONFIG_MFD_ROHM_BD718XX is not set
-# end of Multifunction device drivers
-
-#
-# Misc devices
-#
-# CONFIG_JTAG is not set
-# CONFIG_SRAM is not set
-CONFIG_DEV_MEM=y
-# CONFIG_UBOOTVAR is not set
-# CONFIG_STORAGE_BY_UUID is not set
-# end of Misc devices
-
-CONFIG_LED=y
-CONFIG_LED_GPIO=y
-CONFIG_LED_GPIO_OF=y
-# CONFIG_LED_GPIO_RGB is not set
-# CONFIG_LED_GPIO_BICOLOR is not set
-CONFIG_LED_TRIGGERS=y
-# CONFIG_LED_PCA955X is not set
-
-#
-# EEPROM support
-#
-CONFIG_EEPROM_AT25=y
-CONFIG_EEPROM_AT24=y
-# end of EEPROM support
-
-#
-# Input device support
-#
-# CONFIG_KEYBOARD_GPIO is not set
-# CONFIG_KEYBOARD_IMX_KEYPAD is not set
-# CONFIG_KEYBOARD_QT1070 is not set
-# CONFIG_KEYBOARD_USB is not set
-# CONFIG_INPUT_SPECIALKEYS is not set
-# end of Input device support
-
-CONFIG_WATCHDOG_IMX_RESET_SOURCE=y
-CONFIG_WATCHDOG=y
-# CONFIG_WATCHDOG_POLLER is not set
-# CONFIG_WATCHDOG_DW is not set
-CONFIG_WATCHDOG_IMX=y
-CONFIG_RAVE_SP_WATCHDOG=y
-# CONFIG_GPIO_WATCHDOG is not set
-# CONFIG_PWM is not set
-# CONFIG_HWRNG is not set
-
-#
-# DMA support
-#
-# end of DMA support
-
-CONFIG_GPIOLIB=y
-
-#
-# GPIO
-#
-# CONFIG_GPIO_74164 is not set
-# CONFIG_GPIO_74XX_MMIO is not set
-# CONFIG_GPIO_GENERIC_PLATFORM is not set
-CONFIG_GPIO_IMX=y
-# CONFIG_GPIO_PCA953X is not set
-# CONFIG_GPIO_PCF857X is not set
-# CONFIG_GPIO_DESIGNWARE is not set
-# CONFIG_GPIO_SX150X is not set
-# CONFIG_GPIO_SIFIVE is not set
-# CONFIG_GPIO_LATCH is not set
-# end of GPIO
-
-# CONFIG_W1 is not set
-
-#
-# Pin controllers
-#
-CONFIG_PINCTRL=y
-CONFIG_PINCTRL_IMX_IOMUX_V3=y
-# CONFIG_PINCTRL_SINGLE is not set
-# end of Pin controllers
-
-CONFIG_NVMEM=y
-# CONFIG_NVMEM_RMEM is not set
-# CONFIG_NVMEM_SNVS_LPGPR is not set
-CONFIG_IMX_OCOTP=y
-# CONFIG_IMX_OCOTP_WRITE is not set
-CONFIG_RAVE_SP_EEPROM=y
-# CONFIG_EEPROM_93XX46 is not set
-
-#
-# Bus devices
-#
-# CONFIG_IMX_WEIM is not set
-# end of Bus devices
-
-CONFIG_REGULATOR=y
-CONFIG_REGULATOR_FIXED=y
-# CONFIG_REGULATOR_PFUZE is not set
-# CONFIG_REGULATOR_ANATOP is not set
-
-#
-# Remoteproc drivers
-#
-# CONFIG_REMOTEPROC is not set
-# end of Remoteproc drivers
-
-# CONFIG_RESET_CONTROLLER is not set
-CONFIG_HW_HAS_PCI=y
-
-#
-# PCI bus options
-#
-# CONFIG_PCI is not set
-# CONFIG_PCI_IMX6 is not set
-# CONFIG_PCI_ECAM_GENERIC is not set
-# end of PCI bus options
-
-CONFIG_RTC_LIB=y
-CONFIG_RTC_CLASS=y
-
-#
-# I2C RTC drivers
-#
-CONFIG_RTC_DRV_DS1307=y
-# CONFIG_RTC_DRV_ABRACON is not set
-# CONFIG_RTC_DRV_PCF85363 is not set
-# CONFIG_RTC_DRV_IMXDI is not set
-
-#
-# Firmware Drivers
-#
-# CONFIG_FIRMWARE_ALTERA_SERIAL is not set
-# CONFIG_ARM_SCMI_PROTOCOL is not set
-# CONFIG_QEMU_FW_CFG is not set
-# end of Firmware Drivers
-
-#
-# FPGA Configuration Support
-#
-# CONFIG_FPGA is not set
-# end of FPGA Configuration Support
-
-CONFIG_GENERIC_PHY=y
-CONFIG_USB_NOP_XCEIV=y
-CONFIG_PHY_FSL_IMX8MQ_USB=y
-
-#
-# Hardware crypto devices
-#
-# CONFIG_FSL_CAAM_RNG_PBL_INIT is not set
-# end of Hardware crypto devices
-
-#
-# Memory controller drivers
-#
-# end of Memory controller drivers
-
-#
-# SoC drivers
-#
-
-#
-# i.MX SoC drivers
-#
-CONFIG_IMX_GPCV2_PM_DOMAINS=y
-CONFIG_IMX8M_FEATCTRL=y
-# end of i.MX SoC drivers
-
-#
-# KVX SoC drivers
-#
-# end of KVX SoC drivers
-# end of SoC drivers
-
-#
-# NVME Support
-#
-# end of NVME Support
-
-#
-# i.MX8M DDR controllers
-#
-CONFIG_IMX8M_DRAM=y
-# end of i.MX8M DDR controllers
-
-CONFIG_REBOOT_MODE=y
-CONFIG_SYSCON_REBOOT_MODE=y
-# CONFIG_NVMEM_REBOOT_MODE is not set
-# CONFIG_POWER_RESET_SYSCON is not set
-# CONFIG_POWER_RESET_SYSCON_POWEROFF is not set
-# CONFIG_POWER_RESET_GPIO is not set
-# CONFIG_POWER_RESET_GPIO_RESTART is not set
-# CONFIG_VIRTIO_MENU is not set
-# end of Drivers
-
-#
-# Filesystem support
-#
-CONFIG_FS=y
-CONFIG_FS_LEGACY=y
-
-#
-# Some selected filesystems still use the legacy FS API.
-#
-
-#
-# Consider updating them.
-#
-CONFIG_FS_AUTOMOUNT=y
-# CONFIG_FS_CRAMFS is not set
-CONFIG_FS_EXT4=y
-CONFIG_FS_RAMFS=y
-CONFIG_FS_DEVFS=y
-CONFIG_FS_TFTP=y
-CONFIG_FS_TFTP_MAX_WINDOW_SIZE=128
-CONFIG_FS_NFS=y
-CONFIG_FS_FAT=y
-CONFIG_FS_FAT_WRITE=y
-CONFIG_FS_FAT_LFN=y
-# CONFIG_FS_JFFS2 is not set
-# CONFIG_FS_BPKFS is not set
-# CONFIG_FS_UIMAGEFS is not set
-# CONFIG_FS_PSTORE is not set
-# CONFIG_FS_SQUASHFS is not set
-
-#
-# ZLIB support disabled
-#
-
-#
-# LZ4 support disabled
-#
-
-#
-# LZO support disabled
-#
-
-#
-# XZ support disabled
-#
-
-#
-# ZSTD support disabled
-#
-CONFIG_FS_RATP=y
-# end of Filesystem support
-
-#
-# Library routines
-#
-CONFIG_PARAMETER=y
-CONFIG_UNCOMPRESS=y
-CONFIG_ZLIB=y
-# CONFIG_BZLIB is not set
-# CONFIG_LZ4_DECOMPRESS is not set
-# CONFIG_ZSTD_DECOMPRESS is not set
-# CONFIG_XZ_DECOMPRESS is not set
-# CONFIG_BASE64 is not set
-CONFIG_GENERIC_FIND_NEXT_BIT=y
-CONFIG_PROCESS_ESCAPE_SEQUENCE=y
-CONFIG_LZO_DECOMPRESS=y
-CONFIG_FNMATCH=y
-CONFIG_QSORT=y
-CONFIG_IMAGE_SPARSE=y
-CONFIG_RATP=y
-# CONFIG_ALLOW_PRNG_FALLBACK is not set
-CONFIG_CRC_CCITT=y
-# CONFIG_CRC8 is not set
-
-#
-# Library gui routines
-#
-# end of Library gui routines
-
-CONFIG_PRINTF_UUID=y
-# CONFIG_NLS is not set
-# CONFIG_BLOBGEN is not set
-CONFIG_ARCH_HAS_STACK_DUMP=y
-CONFIG_ARCH_HAS_DATA_ABORT_MASK=y
-CONFIG_ARCH_HAS_ZERO_PAGE=y
-# end of Library routines
-
-#
-# Crypto support
-#
-CONFIG_CRC32=y
-CONFIG_CRC_ITU_T=y
-CONFIG_DIGEST=y
-CONFIG_HAVE_DIGEST_MD5=y
-# CONFIG_DIGEST_CRC32_GENERIC is not set
-CONFIG_DIGEST_MD5_GENERIC=y
-# CONFIG_DIGEST_SHA1_GENERIC is not set
-# CONFIG_DIGEST_SHA224_GENERIC is not set
-# CONFIG_DIGEST_SHA256_GENERIC is not set
-# CONFIG_DIGEST_SHA384_GENERIC is not set
-# CONFIG_DIGEST_SHA512_GENERIC is not set
-# CONFIG_DIGEST_HMAC_GENERIC is not set
-# CONFIG_CRYPTO_KEYSTORE is not set
-# end of Crypto support
-
-#
-# Firmware files
-#
-CONFIG_EXTRA_FIRMWARE_DIR="firmware"
-CONFIG_FIRMWARE_IMX_LPDDR4_PMU_TRAIN=y
-CONFIG_FIRMWARE_IMX8MM_ATF=y
-CONFIG_FIRMWARE_IMX8MP_ATF=y
-CONFIG_FIRMWARE_IMX8MQ_ATF=y
-# end of Firmware files
-
-#
-# Host Tools
-#
-# CONFIG_COMPILE_HOST_TOOLS is not set
-# CONFIG_ARCH_IMX_USBLOADER is not set
-# end of Host Tools
-
-#
-# Target Tools
-#
-# CONFIG_IMD_TARGET is not set
-# CONFIG_KERNEL_INSTALL_TARGET is not set
-# CONFIG_BAREBOXENV_TARGET is not set
-# CONFIG_BAREBOXCRC32_TARGET is not set
-# CONFIG_MVEBU_KWBOOT_TARGET is not set
-# end of Target Tools
-
-# CONFIG_TEST is not set
diff --git a/configs/platform-v8a/barebox-rockchip.config b/configs/platform-v8a/barebox-rockchip.config
deleted file mode 100644
index 2ba9f09ef286..000000000000
--- a/configs/platform-v8a/barebox-rockchip.config
+++ /dev/null
@@ -1,943 +0,0 @@
-#
-# Automatically generated file; DO NOT EDIT.
-# Barebox/arm 2023.04.0 Configuration
-#
-CONFIG_ARM=y
-CONFIG_ARM_LINUX=y
-CONFIG_TEXT_BASE=0x0
-
-#
-# System Type
-#
-CONFIG_ARCH_MULTIARCH=y
-# CONFIG_ARCH_AT91 is not set
-# CONFIG_ARCH_CLPS711X is not set
-# CONFIG_ARCH_DAVINCI is not set
-# CONFIG_ARCH_DIGIC is not set
-# CONFIG_ARCH_EP93XX is not set
-# CONFIG_ARCH_LAYERSCAPE is not set
-# CONFIG_ARCH_MVEBU is not set
-# CONFIG_ARCH_MXS is not set
-# CONFIG_ARCH_NOMADIK is not set
-# CONFIG_ARCH_OMAP_SINGLE is not set
-# CONFIG_ARCH_PXA is not set
-# CONFIG_ARCH_SOCFPGA is not set
-# CONFIG_ARCH_VERSATILE is not set
-# CONFIG_ARCH_TEGRA is not set
-# CONFIG_ARCH_UEMD is not set
-# CONFIG_ARCH_ZYNQ is not set
-# CONFIG_ARCH_ARM64_VIRT is not set
-# CONFIG_ARCH_BCM283X is not set
-# CONFIG_ARCH_IMX is not set
-# CONFIG_ARCH_OMAP_MULTI is not set
-CONFIG_ARCH_ROCKCHIP=y
-# CONFIG_ARCH_STM32MP is not set
-# CONFIG_ARCH_VEXPRESS is not set
-# CONFIG_ARCH_ZYNQMP is not set
-
-#
-# Processor Type
-#
-CONFIG_PHYS_ADDR_T_64BIT=y
-CONFIG_CPU_64=y
-CONFIG_CPU_V8=y
-CONFIG_CPU_64v8=y
-
-#
-# processor features
-#
-# CONFIG_BOOT_ENDIANNESS_SWITCH is not set
-CONFIG_CPU_SUPPORTS_64BIT_KERNEL=y
-CONFIG_ARCH_TEXT_BASE=0x0
-
-#
-# Rockchip Features
-#
-CONFIG_RK_TIMER=1
-CONFIG_ARCH_ROCKCHIP_V8=y
-CONFIG_ARCH_RK3568=y
-
-#
-# select Rockchip boards:
-#
-# CONFIG_MACH_RADXA_ROCK is not set
-# CONFIG_MACH_PHYTEC_SOM_RK3288 is not set
-CONFIG_MACH_RK3568_EVB=y
-# CONFIG_MACH_RK3568_BPI_R2PRO is not set
-# CONFIG_MACH_PINE64_QUARTZ64 is not set
-CONFIG_MACH_RADXA_ROCK3=y
-
-#
-# select board features:
-#
-CONFIG_ARCH_ROCKCHIP_ATF=y
-# CONFIG_ARCH_RK3568_OPTEE is not set
-# end of Rockchip Features
-
-# CONFIG_BOARD_ARM_GENERIC_DT is not set
-# end of System Type
-
-CONFIG_64BIT=y
-
-#
-# ARM specific settings
-#
-# CONFIG_ARM_OPTIMZED_STRING_FUNCTIONS is not set
-CONFIG_ARM_EXCEPTIONS=y
-CONFIG_ARM_SMCCC=y
-CONFIG_ARM_PSCI_OF=y
-CONFIG_ARM_PSCI_CLIENT=y
-CONFIG_ARM_ATF=y
-# end of ARM specific settings
-
-CONFIG_GREGORIAN_CALENDER=y
-CONFIG_HAS_KALLSYMS=y
-CONFIG_HAS_CACHE=y
-CONFIG_HAS_DMA=y
-CONFIG_ARCH_HAS_SJLJ=y
-CONFIG_GENERIC_GPIO=y
-CONFIG_BLOCK=y
-CONFIG_BLOCK_WRITE=y
-CONFIG_FILETYPE=y
-CONFIG_BINFMT=y
-CONFIG_UIMAGE=y
-CONFIG_LOGBUF=y
-CONFIG_STDDEV=y
-CONFIG_MENUTREE=y
-CONFIG_ARCH_DMA_ADDR_T_64BIT=y
-CONFIG_USBGADGET_START=y
-CONFIG_BOOT=y
-CONFIG_FASTBOOT_BASE=y
-
-#
-# General Settings
-#
-CONFIG_LOCALVERSION=""
-CONFIG_LOCALVERSION_AUTO=y
-CONFIG_BANNER=y
-CONFIG_MEMINFO=y
-CONFIG_ENVIRONMENT_VARIABLES=y
-CONFIG_GLOBALVAR=y
-CONFIG_NVVAR=y
-
-#
-# memory layout
-#
-CONFIG_HAVE_PBL_IMAGE=y
-CONFIG_HAVE_PBL_MULTI_IMAGES=y
-CONFIG_HAVE_IMAGE_COMPRESSION=y
-CONFIG_PBL_IMAGE=y
-CONFIG_PBL_MULTI_IMAGES=y
-CONFIG_PBL_RELOCATABLE=y
-CONFIG_IMAGE_COMPRESSION=y
-# CONFIG_IMAGE_COMPRESSION_LZ4 is not set
-CONFIG_IMAGE_COMPRESSION_LZO=y
-# CONFIG_IMAGE_COMPRESSION_GZIP is not set
-# CONFIG_IMAGE_COMPRESSION_XZKERN is not set
-# CONFIG_IMAGE_COMPRESSION_NONE is not set
-CONFIG_MMU=y
-CONFIG_MMU_EARLY=y
-CONFIG_BAREBOX_MAX_IMAGE_SIZE=0xffffffff
-CONFIG_BAREBOX_MAX_PBL_SIZE=0xffffffff
-CONFIG_BAREBOX_MAX_BARE_INIT_SIZE=0xffffffff
-CONFIG_STACK_SIZE=0x8000
-CONFIG_MALLOC_SIZE=0x0
-# end of memory layout
-
-# CONFIG_EXPERIMENTAL is not set
-# CONFIG_MALLOC_DLMALLOC is not set
-CONFIG_MALLOC_TLSF=y
-CONFIG_KALLSYMS=y
-CONFIG_RELOCATABLE=y
-# CONFIG_PANIC_HANG is not set
-CONFIG_PROMPT="barebox:"
-CONFIG_BAUDRATE=115200
-CONFIG_CBSIZE=1024
-CONFIG_FIRMWARE=y
-CONFIG_SHELL_HUSH=y
-# CONFIG_SHELL_SIMPLE is not set
-# CONFIG_SHELL_NONE is not set
-CONFIG_GLOB=y
-CONFIG_GLOB_SORT=y
-CONFIG_PROMPT_HUSH_PS2="> "
-CONFIG_HUSH_FANCY_PROMPT=y
-CONFIG_CMDLINE_EDITING=y
-CONFIG_AUTO_COMPLETE=y
-CONFIG_MENU=y
-# CONFIG_PASSWORD is not set
-CONFIG_DYNAMIC_CRC_TABLE=y
-CONFIG_ERRNO_MESSAGES=y
-CONFIG_TIMESTAMP=y
-CONFIG_BOOTM=y
-CONFIG_BOOTM_SHOW_TYPE=y
-CONFIG_BOOTM_VERBOSE=y
-CONFIG_BOOTM_INITRD=y
-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_BLSPEC=y
-CONFIG_FLEXIBLE_BOOTARGS=y
-CONFIG_MMCBLKDEV_ROOTARG=y
-CONFIG_BAREBOX_UPDATE=y
-CONFIG_SYSTEM_PARTITIONS=y
-CONFIG_IMD=y
-CONFIG_CONSOLE_FULL=y
-# CONFIG_CONSOLE_SIMPLE is not set
-# CONFIG_CONSOLE_NONE is not set
-CONFIG_CONSOLE_ACTIVATE_FIRST=y
-# CONFIG_CONSOLE_ACTIVATE_ALL is not set
-# CONFIG_CONSOLE_ACTIVATE_NONE is not set
-CONFIG_CONSOLE_ALLOW_COLOR=y
-# CONFIG_CONSOLE_DISABLE_INPUT is not set
-CONFIG_PBL_CONSOLE=y
-# CONFIG_CONSOLE_RATP is not set
-CONFIG_PARTITION=y
-CONFIG_PARTITION_DISK=y
-CONFIG_PARTITION_DISK_DOS=y
-# CONFIG_PARTITION_DISK_EFI is not set
-CONFIG_ENV_HANDLING=y
-CONFIG_DEFAULT_ENVIRONMENT=y
-CONFIG_DEFAULT_COMPRESSION_NONE=y
-CONFIG_DEFAULT_ENVIRONMENT_GENERIC_NEW=y
-CONFIG_DEFAULT_ENVIRONMENT_GENERIC_NEW_MENU=y
-# CONFIG_DEFAULT_ENVIRONMENT_GENERIC_NEW_IKCONFIG is not set
-CONFIG_DEFAULT_ENVIRONMENT_PATH=""
-CONFIG_HAS_SCHED=y
-CONFIG_POLLER=y
-# CONFIG_BTHREAD is not set
-CONFIG_STATE=y
-# CONFIG_STATE_CRYPTO is not set
-# CONFIG_STATE_BACKWARD_COMPATIBLE is not set
-CONFIG_BOOTCHOOSER=y
-CONFIG_RESET_SOURCE=y
-# CONFIG_MACHINE_ID is not set
-# CONFIG_SYSTEMD_OF_WATCHDOG is not set
-CONFIG_EXTERNAL_DTS_FRAGMENTS=""
-
-#
-# OP-TEE loading
-#
-# CONFIG_BOOTM_OPTEE is not set
-# CONFIG_PBL_OPTEE is not set
-# end of OP-TEE loading
-
-#
-# Android Fastboot
-#
-# CONFIG_FASTBOOT_SPARSE is not set
-CONFIG_FASTBOOT_CMD_OEM=y
-# end of Android Fastboot
-# end of General Settings
-
-#
-# Debugging
-#
-CONFIG_COMPILE_LOGLEVEL=6
-CONFIG_DEFAULT_LOGLEVEL=7
-# CONFIG_DEBUG_LL is not set
-CONFIG_ARCH_WANT_FRAME_POINTERS=y
-CONFIG_FRAME_POINTER=y
-CONFIG_DEBUG_ROCKCHIP_UART_PORT=2
-# CONFIG_DEBUG_INITCALLS is not set
-# CONFIG_DEBUG_PBL is not set
-# CONFIG_DEBUG_PROBES is not set
-# CONFIG_PBL_BREAK is not set
-# CONFIG_PRINTF_FULL is not set
-# CONFIG_UBSAN is not set
-CONFIG_HAVE_ARCH_KASAN=y
-CONFIG_CC_HAS_KASAN_GENERIC=y
-# CONFIG_KASAN is not set
-# CONFIG_COMPILE_TEST is not set
-# end of Debugging
-
-#
-# EFI (Extensible Firmware Interface) Support
-#
-# end of EFI (Extensible Firmware Interface) Support
-
-CONFIG_HAS_DEBUG_LL=y
-CONFIG_COMMAND_SUPPORT=y
-CONFIG_COMPILE_HASH=y
-
-#
-# Commands
-#
-
-#
-# Information
-#
-# CONFIG_CMD_TUTORIAL is not set
-CONFIG_CMD_ARM_CPUINFO=y
-CONFIG_CMD_DEVINFO=y
-# CONFIG_CMD_DEVLOOKUP is not set
-# CONFIG_CMD_DEVUNBIND is not set
-CONFIG_CMD_DMESG=y
-CONFIG_CMD_DRVINFO=y
-CONFIG_CMD_HELP=y
-CONFIG_LONGHELP=y
-CONFIG_CMD_IOMEM=y
-CONFIG_CMD_IMD=y
-CONFIG_CMD_MEMINFO=y
-CONFIG_CMD_REGULATOR=y
-# CONFIG_CMD_NVMEM is not set
-CONFIG_CMD_VERSION=y
-# CONFIG_CMD_MMC is not set
-CONFIG_CMD_MMC_EXTCSD=y
-# CONFIG_CMD_POLLER is not set
-# CONFIG_CMD_SLICE is not set
-# end of Information
-
-#
-# Boot
-#
-CONFIG_CMD_BOOT=y
-CONFIG_CMD_BOOTM=y
-CONFIG_CMD_GO=y
-# CONFIG_CMD_LOADB is not set
-# CONFIG_CMD_LOADS is not set
-# CONFIG_CMD_LOADY is not set
-CONFIG_CMD_RESET=y
-# CONFIG_CMD_UIMAGE is not set
-CONFIG_CMD_BOOTCHOOSER=y
-# end of Boot
-
-#
-# Partition
-#
-CONFIG_CMD_PARTITION=y
-CONFIG_CMD_AUTOMOUNT=y
-CONFIG_CMD_MOUNT=y
-CONFIG_CMD_UMOUNT=y
-# end of Partition
-
-#
-# Environment
-#
-CONFIG_CMD_NV=y
-CONFIG_CMD_EXPORT=y
-CONFIG_CMD_DEFAULTENV=y
-CONFIG_CMD_GLOBAL=y
-CONFIG_CMD_LOADENV=y
-CONFIG_CMD_PRINTENV=y
-CONFIG_CMD_MAGICVAR=y
-CONFIG_CMD_MAGICVAR_HELP=y
-CONFIG_CMD_SAVEENV=y
-CONFIG_CMD_SETENV=y
-# end of Environment
-
-#
-# File
-#
-CONFIG_CMD_BASENAME=y
-CONFIG_CMD_CAT=y
-CONFIG_CMD_CD=y
-CONFIG_CMD_CP=y
-# CONFIG_CMD_CMP is not set
-CONFIG_CMD_DIGEST=y
-CONFIG_CMD_DIRNAME=y
-CONFIG_CMD_FILETYPE=y
-CONFIG_CMD_LN=y
-CONFIG_CMD_LS=y
-# CONFIG_CMD_STAT is not set
-CONFIG_CMD_MD5SUM=y
-CONFIG_CMD_MKDIR=y
-CONFIG_CMD_PWD=y
-CONFIG_CMD_READLINK=y
-CONFIG_CMD_RM=y
-CONFIG_CMD_RMDIR=y
-CONFIG_CMD_SHA1SUM=y
-# CONFIG_CMD_SHA224SUM is not set
-# CONFIG_CMD_SHA256SUM is not set
-# CONFIG_CMD_SHA384SUM is not set
-# CONFIG_CMD_SHA512SUM is not set
-CONFIG_CMD_UNCOMPRESS=y
-# end of File
-
-#
-# Shell scripting
-#
-CONFIG_CMD_FALSE=y
-CONFIG_CMD_GETOPT=y
-CONFIG_CMD_LET=y
-CONFIG_CMD_MSLEEP=y
-CONFIG_CMD_READF=y
-CONFIG_CMD_SLEEP=y
-CONFIG_CMD_TEST=y
-CONFIG_CMD_TRUE=y
-# end of Shell scripting
-
-#
-# Network
-#
-CONFIG_CMD_DHCP=y
-CONFIG_CMD_HOST=y
-CONFIG_NET_CMD_IFUP=y
-CONFIG_CMD_MIITOOL=y
-CONFIG_CMD_PING=y
-CONFIG_CMD_TFTP=y
-CONFIG_CMD_IP_ROUTE_GET=y
-# CONFIG_CMD_ETHLOG is not set
-# end of Network
-
-#
-# Console and Framebuffer interaction
-#
-CONFIG_CMD_CLEAR=y
-CONFIG_CMD_ECHO=y
-# CONFIG_CMD_ECHO_E is not set
-CONFIG_CMD_EDIT=y
-# CONFIG_CMD_LOGIN is not set
-CONFIG_CMD_MENU=y
-CONFIG_CMD_MENU_MANAGEMENT=y
-CONFIG_CMD_MENUTREE=y
-CONFIG_CMD_READLINE=y
-CONFIG_CMD_TIMEOUT=y
-# end of Console and Framebuffer interaction
-
-#
-# Memory
-#
-CONFIG_CMD_CRC=y
-CONFIG_CMD_CRC_CMP=y
-CONFIG_CMD_MD=y
-CONFIG_CMD_MEMCMP=y
-CONFIG_CMD_MEMCPY=y
-CONFIG_CMD_MEMSET=y
-# CONFIG_CMD_MEMTEST is not set
-# CONFIG_CMD_MEMTESTER is not set
-CONFIG_CMD_MM=y
-CONFIG_CMD_MW=y
-# end of Memory
-
-#
-# Hardware manipulation
-#
-CONFIG_CMD_CLK=y
-CONFIG_CMD_DETECT=y
-CONFIG_CMD_FLASH=y
-CONFIG_CMD_GPIO=y
-CONFIG_CMD_HWMON=y
-# CONFIG_CMD_I2C is not set
-CONFIG_CMD_LED=y
-CONFIG_CMD_POWEROFF=y
-CONFIG_CMD_SMC=y
-CONFIG_CMD_LED_TRIGGER=y
-CONFIG_CMD_USB=y
-CONFIG_CMD_USBGADGET=y
-CONFIG_CMD_WD=y
-CONFIG_CMD_WD_DEFAULT_TIMOUT=0
-# end of Hardware manipulation
-
-#
-# Miscellaneous
-#
-# CONFIG_CMD_2048 is not set
-CONFIG_CMD_BAREBOX_UPDATE=y
-# CONFIG_CMD_BLOBGEN is not set
-CONFIG_CMD_FIRMWARELOAD=y
-CONFIG_CMD_OF_DIFF=y
-CONFIG_CMD_OF_DUMP=y
-CONFIG_CMD_OF_NODE=y
-CONFIG_CMD_OF_PROPERTY=y
-# CONFIG_CMD_OF_DISPLAY_TIMINGS is not set
-# CONFIG_CMD_OF_FIXUP_STATUS is not set
-CONFIG_CMD_OF_OVERLAY=y
-CONFIG_CMD_OFTREE=y
-CONFIG_CMD_TIME=y
-# CONFIG_CMD_UPTIME is not set
-CONFIG_CMD_STATE=y
-# CONFIG_CMD_DHRYSTONE is not set
-# CONFIG_CMD_SPD_DECODE is not set
-# CONFIG_CMD_SEED is not set
-# end of Miscellaneous
-# end of Commands
-
-CONFIG_NET=y
-CONFIG_NET_NFS=y
-# CONFIG_NET_NETCONSOLE is not set
-CONFIG_NET_RESOLV=y
-CONFIG_NET_IFUP=y
-CONFIG_NET_DHCP=y
-# CONFIG_NET_SNTP is not set
-# CONFIG_NET_FASTBOOT is not set
-
-#
-# Drivers
-#
-CONFIG_REGMAP_FORMATTED=y
-CONFIG_REGMAP_I2C=y
-CONFIG_OFTREE=y
-CONFIG_OFTREE_MEM_GENERIC=y
-CONFIG_DTC=y
-CONFIG_OFDEVICE=y
-CONFIG_OF_GPIO=y
-CONFIG_OF_BAREBOX_DRIVERS=y
-CONFIG_OF_BAREBOX_ENV_IN_FS=y
-CONFIG_OF_OVERLAY=y
-# CONFIG_OF_OVERLAY_LIVE is not set
-CONFIG_AIODEV=y
-# CONFIG_LM75 is not set
-CONFIG_ROCKCHIP_SARADC=y
-
-#
-# serial drivers
-#
-# CONFIG_SERIAL_DEV_BUS is not set
-CONFIG_DRIVER_SERIAL_NS16550=y
-# CONFIG_DRIVER_SERIAL_CADENCE is not set
-# CONFIG_SERIAL_SIFIVE is not set
-# end of serial drivers
-
-CONFIG_PHYLIB=y
-
-#
-# Network drivers
-#
-# CONFIG_DRIVER_NET_BCMGENET is not set
-# CONFIG_DRIVER_NET_DESIGNWARE_GENERIC is not set
-CONFIG_DRIVER_NET_DESIGNWARE_EQOS=y
-CONFIG_DRIVER_NET_DESIGNWARE_ROCKCHIP=y
-# CONFIG_DRIVER_NET_FSL_FMAN is not set
-# CONFIG_DRIVER_NET_KS8851_MLL is not set
-# CONFIG_DRIVER_NET_SMC911X is not set
-# CONFIG_DRIVER_NET_SMC91111 is not set
-# CONFIG_DRIVER_NET_LITEETH is not set
-
-#
-# phylib
-#
-
-#
-# MII PHY device drivers
-#
-# CONFIG_AR8327N_PHY is not set
-# CONFIG_AT803X_PHY is not set
-# CONFIG_DAVICOM_PHY is not set
-CONFIG_DP83867_PHY=y
-# CONFIG_DP83TD510_PHY is not set
-# CONFIG_LXT_PHY is not set
-# CONFIG_MARVELL_PHY is not set
-# CONFIG_MICREL_PHY is not set
-# CONFIG_NATIONAL_PHY is not set
-CONFIG_REALTEK_PHY=y
-# CONFIG_SMSC_PHY is not set
-# CONFIG_NET_DSA_MV88E6XXX is not set
-
-#
-# MII bus device drivers
-#
-# CONFIG_MDIO_BITBANG is not set
-# CONFIG_MDIO_BUS_MUX_GPIO is not set
-# end of phylib
-
-# CONFIG_NET_USB is not set
-# CONFIG_DSA is not set
-# end of Network drivers
-
-#
-# SPI drivers
-#
-# CONFIG_SPI is not set
-# end of SPI drivers
-
-CONFIG_I2C=y
-
-#
-# I2C Hardware Bus support
-#
-# CONFIG_I2C_GPIO is not set
-# CONFIG_I2C_DESIGNWARE is not set
-# CONFIG_I2C_MV64XXX is not set
-CONFIG_I2C_RK3X=y
-# end of I2C Hardware Bus support
-
-# CONFIG_I2C_MUX is not set
-# CONFIG_MTD is not set
-CONFIG_DISK=y
-CONFIG_DISK_WRITE=y
-
-#
-# drive types
-#
-# CONFIG_DISK_ATA is not set
-# CONFIG_DISK_AHCI is not set
-
-#
-# interface types
-#
-# CONFIG_DISK_INTF_PLATFORM_IDE is not set
-CONFIG_USB=y
-CONFIG_USB_HOST=y
-# CONFIG_USB_DWC2_HOST is not set
-# CONFIG_USB_DWC2_GADGET is not set
-CONFIG_USB_DWC3=y
-# CONFIG_USB_DWC3_HOST is not set
-# CONFIG_USB_DWC3_GADGET is not set
-CONFIG_USB_DWC3_DUAL_ROLE=y
-CONFIG_USB_DWC3_OF_SIMPLE=y
-# CONFIG_USB_EHCI is not set
-CONFIG_USB_XHCI=y
-# CONFIG_USB_ULPI is not set
-CONFIG_USB_OTGDEV=y
-CONFIG_USB_STORAGE=y
-
-#
-# USB Miscellaneous drivers
-#
-# CONFIG_USB_HUB_USB251XB is not set
-# CONFIG_USB_ONBOARD_HUB is not set
-CONFIG_USB_GADGET=y
-CONFIG_USB_GADGET_AUTOSTART=y
-
-#
-# USB Gadget drivers
-#
-# CONFIG_USB_GADGET_DFU is not set
-CONFIG_USB_GADGET_SERIAL=y
-CONFIG_USB_GADGET_FASTBOOT=y
-# CONFIG_USB_GADGET_MASS_STORAGE is not set
-# CONFIG_USB_MUSB is not set
-# CONFIG_VIDEO is not set
-# CONFIG_SOUND is not set
-CONFIG_MCI_SDHCI=y
-CONFIG_MCI=y
-
-#
-# --- Feature list ---
-#
-# CONFIG_MCI_STARTUP is not set
-CONFIG_MCI_INFO=y
-CONFIG_MCI_WRITE=y
-CONFIG_MCI_MMC_BOOT_PARTITIONS=y
-# CONFIG_MCI_MMC_GPP_PARTITIONS is not set
-
-#
-# --- MCI host drivers ---
-#
-CONFIG_MCI_DW=y
-# CONFIG_MCI_DW_PIO is not set
-CONFIG_MCI_ROCKCHIP_DWCMSHC=y
-CONFIG_MCI_ARASAN=y
-CONFIG_HAVE_CLK=y
-CONFIG_CLKDEV_LOOKUP=y
-CONFIG_COMMON_CLK=y
-CONFIG_COMMON_CLK_OF_PROVIDER=y
-
-#
-# Clocksource
-#
-CONFIG_CLOCKSOURCE_DUMMY_RATE=1000
-CONFIG_CLOCKSOURCE_ARM_ARCHITECTED_TIMER=y
-# CONFIG_CLOCKSOURCE_DW_APB_TIMER is not set
-# end of Clocksource
-
-#
-# Multifunction device drivers
-#
-# CONFIG_MFD_ACT8846 is not set
-# CONFIG_MFD_DA9053 is not set
-# CONFIG_MFD_DA9063 is not set
-# CONFIG_MFD_LP3972 is not set
-# CONFIG_MFD_MC13XXX is not set
-# CONFIG_MFD_MC34704 is not set
-# CONFIG_MFD_MC9SDZ60 is not set
-# CONFIG_MFD_STMPE is not set
-CONFIG_MFD_SYSCON=y
-# CONFIG_MFD_TWL4030 is not set
-# CONFIG_MFD_TWL6030 is not set
-# CONFIG_MFD_STPMIC1 is not set
-# CONFIG_MFD_RN568PMIC is not set
-# CONFIG_MFD_ATMEL_FLEXCOM is not set
-CONFIG_MFD_RK808=y
-# CONFIG_MFD_AXP20X_I2C is not set
-# CONFIG_MFD_ROHM_BD718XX is not set
-# end of Multifunction device drivers
-
-#
-# Misc devices
-#
-# CONFIG_JTAG is not set
-# CONFIG_SRAM is not set
-CONFIG_STATE_DRV=y
-CONFIG_DEV_MEM=y
-# CONFIG_UBOOTVAR is not set
-# CONFIG_STORAGE_BY_UUID is not set
-# end of Misc devices
-
-CONFIG_LED=y
-CONFIG_LED_GPIO=y
-CONFIG_LED_GPIO_OF=y
-# CONFIG_LED_GPIO_RGB is not set
-# CONFIG_LED_GPIO_BICOLOR is not set
-CONFIG_LED_TRIGGERS=y
-# CONFIG_LED_PCA955X is not set
-
-#
-# EEPROM support
-#
-# CONFIG_EEPROM_AT24 is not set
-# end of EEPROM support
-
-#
-# Input device support
-#
-# CONFIG_KEYBOARD_GPIO is not set
-# CONFIG_KEYBOARD_QT1070 is not set
-# CONFIG_KEYBOARD_USB is not set
-# CONFIG_INPUT_SPECIALKEYS is not set
-# end of Input device support
-
-CONFIG_WATCHDOG=y
-# CONFIG_WATCHDOG_POLLER is not set
-CONFIG_WATCHDOG_DW=y
-# CONFIG_GPIO_WATCHDOG is not set
-# CONFIG_PWM is not set
-# CONFIG_HWRNG is not set
-
-#
-# DMA support
-#
-# end of DMA support
-
-CONFIG_GPIOLIB=y
-
-#
-# GPIO
-#
-CONFIG_GPIO_GENERIC=y
-# CONFIG_GPIO_74XX_MMIO is not set
-# CONFIG_GPIO_GENERIC_PLATFORM is not set
-# CONFIG_GPIO_PCA953X is not set
-# CONFIG_GPIO_PCF857X is not set
-# CONFIG_GPIO_DESIGNWARE is not set
-# CONFIG_GPIO_SX150X is not set
-# CONFIG_GPIO_SIFIVE is not set
-# CONFIG_GPIO_LATCH is not set
-# end of GPIO
-
-# CONFIG_W1 is not set
-
-#
-# Pin controllers
-#
-CONFIG_PINCTRL=y
-CONFIG_PINCTRL_ROCKCHIP=y
-# CONFIG_PINCTRL_SINGLE is not set
-# end of Pin controllers
-
-CONFIG_NVMEM=y
-# CONFIG_NVMEM_RMEM is not set
-# CONFIG_NVMEM_SNVS_LPGPR is not set
-
-#
-# Bus devices
-#
-# end of Bus devices
-
-CONFIG_REGULATOR=y
-CONFIG_REGULATOR_FIXED=y
-# CONFIG_REGULATOR_ANATOP is not set
-CONFIG_REGULATOR_RK808=y
-
-#
-# Remoteproc drivers
-#
-# CONFIG_REMOTEPROC is not set
-# end of Remoteproc drivers
-
-CONFIG_RESET_CONTROLLER=y
-# CONFIG_RESET_IMX7 is not set
-# CONFIG_RTC_CLASS is not set
-
-#
-# Firmware Drivers
-#
-# CONFIG_ARM_SCMI_PROTOCOL is not set
-# CONFIG_QEMU_FW_CFG is not set
-# end of Firmware Drivers
-
-#
-# FPGA Configuration Support
-#
-# CONFIG_FPGA is not set
-# end of FPGA Configuration Support
-
-CONFIG_GENERIC_PHY=y
-# CONFIG_USB_NOP_XCEIV is not set
-# CONFIG_PHY_FSL_IMX8MQ_USB is not set
-CONFIG_PHY_ROCKCHIP_INNO_USB2=y
-CONFIG_PHY_ROCKCHIP_NANENG_COMBO_PHY=y
-
-#
-# Hardware crypto devices
-#
-# end of Hardware crypto devices
-
-#
-# Memory controller drivers
-#
-# end of Memory controller drivers
-
-#
-# SoC drivers
-#
-
-#
-# i.MX SoC drivers
-#
-# end of i.MX SoC drivers
-
-#
-# KVX SoC drivers
-#
-# end of KVX SoC drivers
-
-#
-# Rockchip SoC drivers
-#
-# CONFIG_ROCKCHIP_IODOMAIN is not set
-# end of Rockchip SoC drivers
-# end of SoC drivers
-
-#
-# NVME Support
-#
-# end of NVME Support
-
-# CONFIG_SYSCON_REBOOT_MODE is not set
-# CONFIG_NVMEM_REBOOT_MODE is not set
-# CONFIG_POWER_RESET_SYSCON is not set
-# CONFIG_POWER_RESET_SYSCON_POWEROFF is not set
-# CONFIG_POWER_RESET_GPIO is not set
-# CONFIG_POWER_RESET_GPIO_RESTART is not set
-# CONFIG_VIRTIO_MENU is not set
-# end of Drivers
-
-#
-# Filesystem support
-#
-CONFIG_FS=y
-CONFIG_FS_LEGACY=y
-
-#
-# Some selected filesystems still use the legacy FS API.
-#
-
-#
-# Consider updating them.
-#
-CONFIG_FS_AUTOMOUNT=y
-# CONFIG_FS_CRAMFS is not set
-CONFIG_FS_EXT4=y
-CONFIG_FS_RAMFS=y
-CONFIG_FS_DEVFS=y
-CONFIG_FS_TFTP=y
-CONFIG_FS_TFTP_MAX_WINDOW_SIZE=128
-CONFIG_FS_NFS=y
-CONFIG_FS_FAT=y
-CONFIG_FS_FAT_WRITE=y
-CONFIG_FS_FAT_LFN=y
-# CONFIG_FS_BPKFS is not set
-# CONFIG_FS_UIMAGEFS is not set
-# CONFIG_FS_PSTORE is not set
-# CONFIG_FS_SQUASHFS is not set
-
-#
-# ZLIB support disabled
-#
-
-#
-# LZ4 support disabled
-#
-
-#
-# LZO support disabled
-#
-
-#
-# XZ support disabled
-#
-
-#
-# ZSTD support disabled
-#
-# end of Filesystem support
-
-#
-# Library routines
-#
-CONFIG_PARAMETER=y
-CONFIG_UNCOMPRESS=y
-CONFIG_ZLIB=y
-# CONFIG_BZLIB is not set
-# CONFIG_LZ4_DECOMPRESS is not set
-# CONFIG_ZSTD_DECOMPRESS is not set
-# CONFIG_XZ_DECOMPRESS is not set
-# CONFIG_BASE64 is not set
-CONFIG_GENERIC_FIND_NEXT_BIT=y
-CONFIG_PROCESS_ESCAPE_SEQUENCE=y
-# CONFIG_LZO_DECOMPRESS is not set
-CONFIG_FNMATCH=y
-CONFIG_QSORT=y
-# CONFIG_RATP is not set
-# CONFIG_ALLOW_PRNG_FALLBACK is not set
-# CONFIG_CRC_CCITT is not set
-# CONFIG_CRC8 is not set
-
-#
-# Library gui routines
-#
-# end of Library gui routines
-
-# CONFIG_NLS is not set
-# CONFIG_BLOBGEN is not set
-CONFIG_ARCH_HAS_STACK_DUMP=y
-CONFIG_ARCH_HAS_DATA_ABORT_MASK=y
-CONFIG_ARCH_HAS_ZERO_PAGE=y
-# end of Library routines
-
-#
-# Crypto support
-#
-CONFIG_CRC32=y
-CONFIG_DIGEST=y
-CONFIG_HAVE_DIGEST_MD5=y
-CONFIG_HAVE_DIGEST_SHA1=y
-CONFIG_DIGEST_CRC32_GENERIC=y
-CONFIG_DIGEST_MD5_GENERIC=y
-CONFIG_DIGEST_SHA1_GENERIC=y
-# CONFIG_DIGEST_SHA224_GENERIC is not set
-# CONFIG_DIGEST_SHA256_GENERIC is not set
-# CONFIG_DIGEST_SHA384_GENERIC is not set
-# CONFIG_DIGEST_SHA512_GENERIC is not set
-# CONFIG_DIGEST_HMAC_GENERIC is not set
-# CONFIG_CRYPTO_KEYSTORE is not set
-# end of Crypto support
-
-#
-# Firmware files
-#
-CONFIG_EXTRA_FIRMWARE_DIR="firmware"
-# end of Firmware files
-
-#
-# Host Tools
-#
-# CONFIG_COMPILE_HOST_TOOLS is not set
-CONFIG_RK_IMAGE=y
-CONFIG_RK_USB_LOADER=y
-# end of Host Tools
-
-#
-# Target Tools
-#
-# CONFIG_IMD_TARGET is not set
-CONFIG_KERNEL_INSTALL_TARGET=y
-# CONFIG_BAREBOXENV_TARGET is not set
-CONFIG_BAREBOXCRC32_TARGET=y
-# CONFIG_MVEBU_KWBOOT_TARGET is not set
-# end of Target Tools
-
-# CONFIG_TEST is not set
diff --git a/configs/platform-v8a/platformconfig b/configs/platform-v8a/platformconfig
index d76b73ce510d..9594fc7bdc45 100644
--- a/configs/platform-v8a/platformconfig
+++ b/configs/platform-v8a/platformconfig
@@ -175,8 +175,6 @@ PTXCONF_CONSOLE_SPEED="115200"
 # bootloaders                   
 #
 # PTXCONF_AT91BOOTSTRAP2 is not set
-PTXCONF_BAREBOX_IMX8M=y
-PTXCONF_BAREBOX_ROCKCHIP=y
 PTXCONF_BAREBOX_ARCH_STRING="arm"
 PTXCONF_BAREBOX_DEPENDENCIES=y
 PTXCONF_BAREBOX=y
diff --git a/configs/platform-v8a/platforms/barebox-imx8m.in b/configs/platform-v8a/platforms/barebox-imx8m.in
deleted file mode 100644
index 6f474ea972bf..000000000000
--- a/configs/platform-v8a/platforms/barebox-imx8m.in
+++ /dev/null
@@ -1,10 +0,0 @@
-## SECTION=bootloader
-
-config BAREBOX_IMX8M
-	select FIRMWARE_IMX
-	select FIRMWARE_IMX_BOOTIMAGE_IMX8
-	select TF_A
-	tristate
-	prompt "Barebox (imx8m)"
-	help
-	  FIXME
diff --git a/configs/platform-v8a/platforms/barebox-rockchip.in b/configs/platform-v8a/platforms/barebox-rockchip.in
deleted file mode 100644
index 03a3816bb9cc..000000000000
--- a/configs/platform-v8a/platforms/barebox-rockchip.in
+++ /dev/null
@@ -1,14 +0,0 @@
-## SECTION=bootloader
-
-config BAREBOX_ROCKCHIP
-	tristate
-	prompt "barebox (rockchip)"
-	select HOST_LIBUSB
-	select HOST_OPENSSL
-	select HOST_LZOP
-	select FIRMWARE_ROCKCHIP
-	select FIRMWARE_ROCKCHIP_RK356x_BL31
-	select FIRMWARE_ROCKCHIP_RK356x_BL32
-	select FIRMWARE_ROCKCHIP_RK3568_SDRAM
-	help
-	  Build the barebox bootloader for Rockchip boards.
diff --git a/configs/platform-v8a/rules/barebox-imx8m.make b/configs/platform-v8a/rules/barebox-imx8m.make
deleted file mode 100644
index 1396fa62e651..000000000000
--- a/configs/platform-v8a/rules/barebox-imx8m.make
+++ /dev/null
@@ -1,125 +0,0 @@
-# -*-makefile-*-
-#
-# Copyright (C) 2020 by Sascha Hauer <s.hauer@pengutronix.de>
-#
-# For further information about the PTXdist project and license conditions
-# see the README file.
-#
-
-#
-# We provide this package
-#
-PACKAGES-$(PTXCONF_BAREBOX_IMX8M) += barebox-imx8m
-
-#
-# Paths and names
-#
-BAREBOX_IMX8M_VERSION	:= 2023.04.0
-BAREBOX_IMX8M_MD5	:= 322b14e079eb18c8e851084ea44d99e3
-BAREBOX_IMX8M		:= barebox-imx8m-$(BAREBOX_IMX8M_VERSION)
-BAREBOX_IMX8M_SUFFIX	:= tar.bz2
-BAREBOX_IMX8M_URL	:= $(call barebox-url, BAREBOX_IMX8M)
-BAREBOX_IMX8M_PATCHES	:= barebox-$(BAREBOX_IMX8M_VERSION)
-BAREBOX_IMX8M_SOURCE	:= $(SRCDIR)/$(BAREBOX_IMX8M_PATCHES).$(BAREBOX_IMX8M_SUFFIX)
-BAREBOX_IMX8M_DIR	:= $(BUILDDIR)/$(BAREBOX_IMX8M)
-BAREBOX_IMX8M_BUILD_DIR	:= $(BAREBOX_IMX8M_DIR)-build
-BAREBOX_IMX8M_CONFIG	:= $(call ptx/in-platformconfigdir, barebox-imx8m.config)
-BAREBOX_IMX8M_LICENSE	:= GPL-2.0-only
-BAREBOX_IMX8M_BUILD_OOT	:= KEEP
-
-# ----------------------------------------------------------------------------
-# Prepare
-# ----------------------------------------------------------------------------
-
-BAREBOX_IMX8M_INJECT_PATH	:= ${PTXDIST_SYSROOT_TARGET}/usr/lib
-
-# TF-A firmware blobs
-BAREBOX_IMX8M_INJECT_FILES	+= firmware/imx8mm-bl31.bin
-BAREBOX_IMX8M_INJECT_FILES	+= firmware/imx8mp-bl31.bin
-BAREBOX_IMX8M_INJECT_FILES	+= firmware/imx8mq-bl31.bin
-
-# DRAM firmware blobs
-BAREBOX_IMX8M_INJECT_FILES	+= firmware/ddr/synopsys/lpddr4_pmu_train_1d_dmem.bin:firmware/lpddr4_pmu_train_1d_dmem.bin
-BAREBOX_IMX8M_INJECT_FILES	+= firmware/ddr/synopsys/lpddr4_pmu_train_1d_imem.bin:firmware/lpddr4_pmu_train_1d_imem.bin
-BAREBOX_IMX8M_INJECT_FILES	+= firmware/ddr/synopsys/lpddr4_pmu_train_2d_dmem.bin:firmware/lpddr4_pmu_train_2d_dmem.bin
-BAREBOX_IMX8M_INJECT_FILES	+= firmware/ddr/synopsys/lpddr4_pmu_train_2d_imem.bin:firmware/lpddr4_pmu_train_2d_imem.bin
-
-# use host pkg-config for host tools
-BAREBOX_IMX8M_PATH := PATH=$(HOST_PATH)
-
-BAREBOX_IMX8M_WRAPPER_BLACKLIST := \
-	$(PTXDIST_LOWLEVEL_WRAPPER_BLACKLIST)
-
-BAREBOX_IMX8M_CONF_OPT := \
-	-C $(BAREBOX_IMX8M_DIR) \
-	O=$(BAREBOX_IMX8M_BUILD_DIR) \
-	BUILDSYSTEM_VERSION=$(PTXDIST_VCS_VERSION) \
-	$(call barebox-opts, BAREBOX_IMX8M)
-
-BAREBOX_IMX8M_MAKE_OPT := $(BAREBOX_IMX8M_CONF_OPT)
-
-BAREBOX_IMX8M_IMAGES := barebox-nxp-imx8mp-evk.img \
-	barebox-nxp-imx8mq-evk.img \
-	barebox-nxp-imx8mm-evk.img
-BAREBOX_IMX8M_IMAGES := $(addprefix $(BAREBOX_IMX8M_BUILD_DIR)/images/,$(BAREBOX_IMX8M_IMAGES))
-
-ifdef PTXCONF_BAREBOX_IMX8M
-$(BAREBOX_IMX8M_CONFIG):
-	@echo
-	@echo "****************************************************************************"
-	@echo " Please generate a bareboxconfig with 'ptxdist menuconfig barebox-imx8m'"
-	@echo "****************************************************************************"
-	@echo
-	@echo
-	@exit 1
-endif
-
-$(STATEDIR)/barebox-imx8m.prepare: $(BAREBOX_IMX8M_CONFIG)
-	@$(call targetinfo)
-	@$(call world/prepare, BAREBOX_IMX8M)
-	@$(call world/inject, BAREBOX_IMX8M)
-
-	@rm -f "$(BAREBOX_IMX8M_BUILD_DIR)/.ptxdist-defaultenv"
-	@ln -s "$(call ptx/in-platformconfigdir, barebox-common-defaultenv)" \
-		"$(BAREBOX_IMX8M_BUILD_DIR)/.ptxdist-defaultenv"
-
-	@$(call touch)
-
-
-# ----------------------------------------------------------------------------
-# Install
-# ----------------------------------------------------------------------------
-
-$(STATEDIR)/barebox-imx8m.install:
-	@$(call targetinfo)
-	@$(call touch)
-
-# ----------------------------------------------------------------------------
-# Target-Install
-# ----------------------------------------------------------------------------
-
-$(STATEDIR)/barebox-imx8m.targetinstall:
-	@$(call targetinfo)
-	@$(foreach image, $(BAREBOX_IMX8M_IMAGES), \
-		install -m 644 \
-			$(image) $(IMAGEDIR)/$(notdir $(image))-imx8m$(ptx/nl))
-	@$(call touch)
-
-# ----------------------------------------------------------------------------
-# Clean
-# ----------------------------------------------------------------------------
-
-$(STATEDIR)/barebox-imx8m.clean:
-	@$(call targetinfo)
-	@$(call clean_pkg, BAREBOX_IMX8M)
-	@$(foreach image, $(BAREBOX_IMX8M_IMAGES), \
-		rm -fv $(IMAGEDIR)/$(notdir $(image))-imx8m$(ptx/nl))
-
-# ----------------------------------------------------------------------------
-# oldconfig / menuconfig
-# ----------------------------------------------------------------------------
-
-barebox-imx8m_oldconfig barebox-imx8m_menuconfig barebox-imx8m_nconfig: $(STATEDIR)/barebox-imx8m.extract
-	@$(call world/kconfig, BAREBOX_IMX8M, $(subst barebox-imx8m_,,$@))
-
-# vim: syntax=make
diff --git a/configs/platform-v8a/rules/barebox-rockchip.make b/configs/platform-v8a/rules/barebox-rockchip.make
deleted file mode 100644
index a04534418d84..000000000000
--- a/configs/platform-v8a/rules/barebox-rockchip.make
+++ /dev/null
@@ -1,163 +0,0 @@
-# -*-makefile-*-
-#
-# Copyright (C) 2022 by Michael Riesch <michael.riesch@wolfvision.net>
-#
-# For further information about the PTXdist project and license conditions
-# see the README file.
-#
-
-#
-# We provide this package
-#
-PACKAGES-$(PTXCONF_BAREBOX_ROCKCHIP) += barebox-rockchip
-
-#
-# Paths and names
-#
-BAREBOX_ROCKCHIP_VERSION	:= 2023.04.0
-BAREBOX_ROCKCHIP_MD5		:= 322b14e079eb18c8e851084ea44d99e3
-BAREBOX_ROCKCHIP		:= barebox-rockchip-$(BAREBOX_ROCKCHIP_VERSION)
-BAREBOX_ROCKCHIP_SUFFIX		:= tar.bz2
-BAREBOX_ROCKCHIP_URL		:= $(call barebox-url, BAREBOX_ROCKCHIP)
-BAREBOX_ROCKCHIP_PATCHES	:= barebox-rockchip-$(BAREBOX_ROCKCHIP_VERSION)
-BAREBOX_ROCKCHIP_SOURCE		:= $(SRCDIR)/$(BAREBOX_ROCKCHIP_PATCHES).$(BAREBOX_ROCKCHIP_SUFFIX)
-BAREBOX_ROCKCHIP_DIR		:= $(BUILDDIR)/$(BAREBOX_ROCKCHIP)
-BAREBOX_ROCKCHIP_BUILD_DIR	:= $(BAREBOX_ROCKCHIP_DIR)-build
-BAREBOX_ROCKCHIP_LICENSE	:= GPL-2.0-only
-BAREBOX_ROCKCHIP_DEVPKG		:= NO
-BAREBOX_ROCKCHIP_BUILD_OOT	:= KEEP
-
-BAREBOX_ROCKCHIP_CONFIG		:= $(call ptx/in-platformconfigdir, \
-		barebox-rockchip.config)
-
-# ----------------------------------------------------------------------------
-# Prepare
-# ----------------------------------------------------------------------------
-
-BAREBOX_ROCKCHIP_INJECT_PATH	:= ${PTXDIST_SYSROOT_TARGET}/usr/lib/firmware
-BAREBOX_ROCKCHIP_INJECT_FILES	+= rk3568_bl31_v1.24.elf:firmware/rk3568-bl31.bin
-BAREBOX_ROCKCHIP_INJECT_FILES	+= rk3568_bl32_v1.05.bin:firmware/rk3568-op-tee.bin
-BAREBOX_ROCKCHIP_INJECT_FILES	+= rk3568_ddr_1560MHz_v1.08.bin:arch/arm/boards/rockchip-rk3568-evb/sdram-init.bin
-BAREBOX_ROCKCHIP_INJECT_FILES	+= rk3568_ddr_1560MHz_v1.08.bin:arch/arm/boards/radxa-rock3/sdram-init.bin
-
-# use host pkg-config for host tools
-BAREBOX_ROCKCHIP_PATH		:= PATH=$(HOST_PATH)
-
-BAREBOX_ROCKCHIP_WRAPPER_BLACKLIST := \
-	$(PTXDIST_LOWLEVEL_WRAPPER_BLACKLIST)
-
-BAREBOX_ROCKCHIP_CONF_TOOL	:= kconfig
-BAREBOX_ROCKCHIP_CONF_OPT	:= \
-	-C $(BAREBOX_ROCKCHIP_DIR) \
-	O=$(BAREBOX_ROCKCHIP_BUILD_DIR) \
-	$(call barebox-opts, BAREBOX_ROCKCHIP)
-
-BAREBOX_ROCKCHIP_MAKE_OPT	:= $(BAREBOX_ROCKCHIP_CONF_OPT)
-
-BAREBOX_ROCKCHIP_IMAGES := images/barebox-rk3568-evb.img images/barebox-rock3a.img
-BAREBOX_ROCKCHIP_IMAGES := $(addprefix $(BAREBOX_ROCKCHIP_BUILD_DIR)/,$(BAREBOX_ROCKCHIP_IMAGES))
-
-ifdef PTXCONF_BAREBOX_ROCKCHIP
-$(BAREBOX_ROCKCHIP_CONFIG):
-	@echo
-	@echo "****************************************************************************"
-	@echo " Please generate a bareboxconfig with 'ptxdist menuconfig barebox-rockchip'"
-	@echo "****************************************************************************"
-	@echo
-	@echo
-	@exit 1
-endif
-
-BAREBOX_ROCKCHIP_EXTRA_ENV_PATH  := $(foreach path, \
-                $(call remove_quotes,"barebox-common-defaultenv"), \
-                $(call ptx/in-platformconfigdir,$(path)))
-BAREBOX_ROCKCHIP_EXTRA_ENV_DEPS  := \
-        $(BAREBOX_ROCKCHIP_EXTRA_ENV_PATH) \
-        $(call ptx/force-sh, find $(BAREBOX_ROCKCHIP_EXTRA_ENV_PATH) -print 2>/dev/null)
-
-$(STATEDIR)/barebox-rockchip.prepare: $(BAREBOX_ROCKCHIP_EXTRA_ENV_DEPS)
-	@$(call targetinfo)
-	@$(call world/prepare, BAREBOX_ROCKCHIP)
-	@$(call world/inject, BAREBOX_ROCKCHIP)
-
-	@rm -rf $(BAREBOX_ROCKCHIP_BUILD_DIR)/.ptxdist-defaultenv
-	@ptxd_source_kconfig "${PTXDIST_PTXCONFIG}" && \
-	ptxd_source_kconfig "${PTXDIST_PLATFORMCONFIG}" && \
-	$(foreach path, $(BAREBOX_ROCKCHIP_EXTRA_ENV_PATH), \
-		if [ -d "$(path)" ]; then \
-			ptxd_filter_dir "$(path)" \
-			$(BAREBOX_ROCKCHIP_BUILD_DIR)/.ptxdist-defaultenv; \
-		else \
-			cp "$(path)" $(BAREBOX_ROCKCHIP_BUILD_DIR)/.ptxdist-defaultenv/; \
-		fi;)
-	@rm -rf $(BAREBOX_ROCKCHIP_BUILD_DIR)/defaultenv/barebox_default_env
-
-	@$(call touch)
-
-# ----------------------------------------------------------------------------
-# Compile
-# ----------------------------------------------------------------------------
-
-$(STATEDIR)/barebox-rockchip.compile:
-	@$(call targetinfo)
-
-	@if test $$(grep -c -e "^CONFIG_DEFAULT_ENVIRONMENT_PATH=.*\$(BAREBOX_ROCKCHIP_BUILD_DIR)/.ptxdist-defaultenv" $(BAREBOX_ROCKCHIP_BUILD_DIR)/.config) -eq 0; then \
-		sed -i -e "s,^\(CONFIG_DEFAULT_ENVIRONMENT_PATH=.*\)\"$$,\1 $(BAREBOX_ROCKCHIP_BUILD_DIR)/.ptxdist-defaultenv\"," \
-			$(BAREBOX_ROCKCHIP_BUILD_DIR)/.config; \
-	fi
-
-	@$(call world/compile, BAREBOX_ROCKCHIP)
-	@$(call touch)
-
-# ----------------------------------------------------------------------------
-# Install
-# ----------------------------------------------------------------------------
-
-BAREBOX_ROCKCHIP_PROGS_HOST := \
-	rk-usb-loader
-
-$(STATEDIR)/barebox-rockchip.install:
-	@$(call targetinfo)
-
-	@$(foreach prog, $(BAREBOX_ROCKCHIP_PROGS_HOST), \
-		if [ -e $(BAREBOX_ROCKCHIP_BUILD_DIR)/scripts/$(prog) ]; then \
-			install -v -D -m755 \
-				$(BAREBOX_ROCKCHIP_BUILD_DIR)/scripts/$(prog) \
-				$(PTXDIST_SYSROOT_HOST)/bin/$(notdir $(prog)) \
-				|| exit; \
-		fi;)
-
-	@$(call touch)
-
-# ----------------------------------------------------------------------------
-# Target-Install
-# ----------------------------------------------------------------------------
-
-$(STATEDIR)/barebox-rockchip.targetinstall:
-	@$(call targetinfo)
-	@$(foreach image, $(BAREBOX_ROCKCHIP_IMAGES), \
-		install -m 644 \
-			$(image) $(IMAGEDIR)/$(notdir $(image))-rockchip$(ptx/nl))
-	@$(call touch)
-
-# ----------------------------------------------------------------------------
-# Clean
-# ----------------------------------------------------------------------------
-
-$(STATEDIR)/barebox-rockchip.clean:
-	@$(call targetinfo)
-	@$(call clean_pkg, BAREBOX_ROCKCHIP)
-	@$(foreach image, $(BAREBOX_ROCKCHIP_IMAGES), \
-		rm -fv $(IMAGEDIR)/$(notdir $(image))-rockchip$(ptx/nl))
-	@$(foreach prog, $(BAREBOX_ROCKCHIP_PROGS_HOST), \
-		rm -vf $(PTXDIST_SYSROOT_HOST)/bin/$(notdir $(prog))$(ptx/nl))
-
-
-# ----------------------------------------------------------------------------
-# oldconfig / menuconfig
-# ----------------------------------------------------------------------------
-
-$(call ptx/kconfig-targets, barebox-rockchip): $(STATEDIR)/barebox-rockchip.extract
-	@$(call world/kconfig, BAREBOX_ROCKCHIP, $(subst barebox-rockchip_,,$@))
-
-# vim: syntax=make
-- 
2.39.2




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

* [DistroKit] [PATCH v2 10/10] v8a: barebox: enable fastboot over UDP
  2023-05-04 13:59 [DistroKit] [PATCH v2 00/10] v8a: barebox: update to use upstream PTXdist rule Ahmad Fatoum
                   ` (8 preceding siblings ...)
  2023-05-04 13:59 ` [DistroKit] [PATCH v2 09/10] v8a: barebox: remove left-over SoC-specific rules Ahmad Fatoum
@ 2023-05-04 13:59 ` Ahmad Fatoum
  2023-05-08  8:10 ` [DistroKit] [PATCH v2 00/10] v8a: barebox: update to use upstream PTXdist rule Robert Schwebel
  10 siblings, 0 replies; 13+ messages in thread
From: Ahmad Fatoum @ 2023-05-04 13:59 UTC (permalink / raw)
  To: distrokit; +Cc: Ahmad Fatoum, bst

Some CI tests require fastboot over UDP to flash select partitions.
Let's enable UDP Fastboot for this case.

Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
---
 configs/platform-v8a/barebox.config | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configs/platform-v8a/barebox.config b/configs/platform-v8a/barebox.config
index b5b100cdf1a4..e00d4c74b165 100644
--- a/configs/platform-v8a/barebox.config
+++ b/configs/platform-v8a/barebox.config
@@ -509,7 +509,7 @@ CONFIG_NET_RESOLV=y
 CONFIG_NET_IFUP=y
 CONFIG_NET_DHCP=y
 # CONFIG_NET_SNTP is not set
-# CONFIG_NET_FASTBOOT is not set
+CONFIG_NET_FASTBOOT=y
 
 #
 # Drivers
-- 
2.39.2




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

* Re: [DistroKit] [PATCH v2 00/10] v8a: barebox: update to use upstream PTXdist rule
  2023-05-04 13:59 [DistroKit] [PATCH v2 00/10] v8a: barebox: update to use upstream PTXdist rule Ahmad Fatoum
                   ` (9 preceding siblings ...)
  2023-05-04 13:59 ` [DistroKit] [PATCH v2 10/10] v8a: barebox: enable fastboot over UDP Ahmad Fatoum
@ 2023-05-08  8:10 ` Robert Schwebel
  2023-05-31 12:46   ` Robert Schwebel
  10 siblings, 1 reply; 13+ messages in thread
From: Robert Schwebel @ 2023-05-08  8:10 UTC (permalink / raw)
  To: Ahmad Fatoum; +Cc: distrokit, bst

Hi Ahmad,

On Thu, May 04, 2023 at 03:59:12PM +0200, Ahmad Fatoum wrote:
> We already make use of the barebox multi-image support, which prefixes
> the (compressed) barebox proper binary with a different prebootloader
> (+ device tree) each time to support multiple boards in the same build.

Could you rebase the series to next?

rsc
-- 
Pengutronix e.K.                           | Dipl.-Ing. Robert Schwebel  |
Steuerwalder Str. 21                       | https://www.pengutronix.de/ |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-9    |



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

* Re: [DistroKit] [PATCH v2 00/10] v8a: barebox: update to use upstream PTXdist rule
  2023-05-08  8:10 ` [DistroKit] [PATCH v2 00/10] v8a: barebox: update to use upstream PTXdist rule Robert Schwebel
@ 2023-05-31 12:46   ` Robert Schwebel
  0 siblings, 0 replies; 13+ messages in thread
From: Robert Schwebel @ 2023-05-31 12:46 UTC (permalink / raw)
  To: Ahmad Fatoum; +Cc: distrokit, bst

On Mon, May 08, 2023 at 10:10:59AM +0200, Robert Schwebel wrote:
> On Thu, May 04, 2023 at 03:59:12PM +0200, Ahmad Fatoum wrote:
> > We already make use of the barebox multi-image support, which prefixes
> > the (compressed) barebox proper binary with a different prebootloader
> > (+ device tree) each time to support multiple boards in the same build.
> 
> Could you rebase the series to next?

This has now been done, and the resulting v3 is now in next.

rsc
-- 
Pengutronix e.K.                           | Dipl.-Ing. Robert Schwebel  |
Steuerwalder Str. 21                       | https://www.pengutronix.de/ |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-9    |



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

end of thread, other threads:[~2023-05-31 12:46 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-04 13:59 [DistroKit] [PATCH v2 00/10] v8a: barebox: update to use upstream PTXdist rule Ahmad Fatoum
2023-05-04 13:59 ` [DistroKit] [PATCH v2 01/10] v8a: barebox: rock3a: drop no longer needed SD-Card speed quirk Ahmad Fatoum
2023-05-04 13:59 ` [DistroKit] [PATCH v2 02/10] v7a: barebox: version bump v2023.02.1 → v2023.04.0 Ahmad Fatoum
2023-05-04 13:59 ` [DistroKit] [PATCH v2 03/10] v8a: barebox: version bump v2023.01.0 " Ahmad Fatoum
2023-05-04 13:59 ` [DistroKit] [PATCH v2 04/10] Revert "v8a: barebox: rockchip: disable CONFIG_MMCBLKDEV_ROOTARG" Ahmad Fatoum
2023-05-04 13:59 ` [DistroKit] [PATCH v2 05/10] platforms: drop no longer needed blspec-rpi4 Ahmad Fatoum
2023-05-04 13:59 ` [DistroKit] [PATCH v2 06/10] v8a: rockchip: use common environment Ahmad Fatoum
2023-05-04 13:59 ` [DistroKit] [PATCH v2 07/10] v8a: barebox: configure upstream barebox rule for both imx8m and rockchip Ahmad Fatoum
2023-05-04 13:59 ` [DistroKit] [PATCH v2 08/10] v8a: barebox: switch to upstream rule Ahmad Fatoum
2023-05-04 13:59 ` [DistroKit] [PATCH v2 09/10] v8a: barebox: remove left-over SoC-specific rules Ahmad Fatoum
2023-05-04 13:59 ` [DistroKit] [PATCH v2 10/10] v8a: barebox: enable fastboot over UDP Ahmad Fatoum
2023-05-08  8:10 ` [DistroKit] [PATCH v2 00/10] v8a: barebox: update to use upstream PTXdist rule Robert Schwebel
2023-05-31 12:46   ` Robert Schwebel

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