DistroKit Mailinglist
 help / color / mirror / Atom feed
* [DistroKit] [PATCH 1/5] v7a: stm32mp: images: allow differing board names for FSBL and SSBL
@ 2021-03-11 18:12 Uwe Kleine-König
  2021-03-11 18:12 ` [DistroKit] [PATCH 2/5] v7a: barebox update 2020.09.0 -> 2021.02.0 Uwe Kleine-König
                   ` (4 more replies)
  0 siblings, 5 replies; 10+ messages in thread
From: Uwe Kleine-König @ 2021-03-11 18:12 UTC (permalink / raw)
  To: distrokit; +Cc: Ahmad Fatoum

From: Ahmad Fatoum <a.fatoum@pengutronix.de>

So far, the two STM32MP1 boards we support had the same board name
string within the file names of first stage (TF-A) and second stage
(barebox) bootloaders. This will no longer be true when updating
to a more recent barebox version, as the dk2 image's name has been
changed to dkx to indicate support for both dk1 and dk2.
Prepare for this by splitting up STM32MP_BOARD_NAME.

No functional change.

Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
 configs/platform-v7a/config/images/stm32mp.config     | 6 +++---
 configs/platform-v7a/rules/image-lxa-mc1.make         | 3 ++-
 configs/platform-v7a/rules/image-stm32mp157c-dk2.make | 3 ++-
 3 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/configs/platform-v7a/config/images/stm32mp.config b/configs/platform-v7a/config/images/stm32mp.config
index 6b915fd01e65..cbf965812626 100644
--- a/configs/platform-v7a/config/images/stm32mp.config
+++ b/configs/platform-v7a/config/images/stm32mp.config
@@ -5,15 +5,15 @@ image @IMAGE@ {
 		gpt-no-backup = true
 	}
 	partition fsbl1 {
-		image = "stm32mp1-tf-a-@STM32MP_BOARD@.stm32"
+		image = "stm32mp1-tf-a-@STM32MP_BOARD_FSBL@.stm32"
 		size = 256K
 	}
 	partition fsbl2 {
-		image = "stm32mp1-tf-a-@STM32MP_BOARD@.stm32"
+		image = "stm32mp1-tf-a-@STM32MP_BOARD_FSBL@.stm32"
 		size = 256K
 	}
 	partition ssbl {
-		image = "barebox-@STM32MP_BOARD@.img"
+		image = "barebox-@STM32MP_BOARD_SSBL@.img"
 		size = 1M
 	}
 	partition barebox-environment {
diff --git a/configs/platform-v7a/rules/image-lxa-mc1.make b/configs/platform-v7a/rules/image-lxa-mc1.make
index c08e246c1df3..058a9d100e11 100644
--- a/configs/platform-v7a/rules/image-lxa-mc1.make
+++ b/configs/platform-v7a/rules/image-lxa-mc1.make
@@ -12,7 +12,8 @@
 IMAGE_PACKAGES-$(PTXCONF_IMAGE_LXA_MC1) += image-lxa-mc1
 
 IMAGE_LXA_MC1_ENV := \
-	STM32MP_BOARD=stm32mp157c-lxa-mc1
+	STM32MP_BOARD_FSBL=stm32mp157c-lxa-mc1 \
+	STM32MP_BOARD_SSBL=stm32mp157c-lxa-mc1
 
 #
 # Paths and names
diff --git a/configs/platform-v7a/rules/image-stm32mp157c-dk2.make b/configs/platform-v7a/rules/image-stm32mp157c-dk2.make
index 864c899511c3..2c739d388c93 100644
--- a/configs/platform-v7a/rules/image-stm32mp157c-dk2.make
+++ b/configs/platform-v7a/rules/image-stm32mp157c-dk2.make
@@ -12,7 +12,8 @@
 IMAGE_PACKAGES-$(PTXCONF_IMAGE_STM32MP157C_DK2) += image-stm32mp157c-dk2
 
 IMAGE_STM32MP157C_DK2_ENV := \
-	STM32MP_BOARD=stm32mp157c-dk2
+	STM32MP_BOARD_FSBL=stm32mp157c-dk2 \
+	STM32MP_BOARD_SSBL=stm32mp157c-dk2
 
 #
 # Paths and names
-- 
2.30.1


_______________________________________________
DistroKit mailing list
DistroKit@pengutronix.de

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

* [DistroKit] [PATCH 2/5] v7a: barebox update 2020.09.0 -> 2021.02.0
  2021-03-11 18:12 [DistroKit] [PATCH 1/5] v7a: stm32mp: images: allow differing board names for FSBL and SSBL Uwe Kleine-König
@ 2021-03-11 18:12 ` Uwe Kleine-König
  2021-03-11 18:36   ` Robert Schwebel
  2021-03-11 18:12 ` [DistroKit] [PATCH 3/5] v7a: Add support for Raspberry Pi CM3 Uwe Kleine-König
                   ` (3 subsequent siblings)
  4 siblings, 1 reply; 10+ messages in thread
From: Uwe Kleine-König @ 2021-03-11 18:12 UTC (permalink / raw)
  To: distrokit; +Cc: Uwe Kleine-König

From: Uwe Kleine-König <uwe@kleine-koenig.org>

One new patch is required to fix a regression for USB on rpi3. Also USB
on rpi3 requires CONFIG_USB_NOP_XCEIV=y now which is enabled in the rpi2
config now.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
 .../platform-v7a/barebox-am335x-mlo.config    | 17 +++++------
 configs/platform-v7a/barebox-am335x.config    | 24 +++++++--------
 .../platform-v7a/barebox-am335x.config.diff   | 16 +++-------
 configs/platform-v7a/barebox-at91.config      | 13 ++++++++-
 configs/platform-v7a/barebox-at91.config.diff |  4 +--
 configs/platform-v7a/barebox-mx6.config       | 29 +++++++++++--------
 configs/platform-v7a/barebox-mx6.config.diff  | 20 +++++--------
 configs/platform-v7a/barebox-rpi2.config      | 16 ++++++++--
 configs/platform-v7a/barebox-rpi2.config.diff |  5 +++-
 configs/platform-v7a/barebox-stm32mp.config   | 15 ++++++++--
 .../platform-v7a/barebox-stm32mp.config.diff  |  6 ++--
 configs/platform-v7a/barebox-vexpress.config  | 12 +++++++-
 .../platform-v7a/barebox-vexpress.config.diff |  4 +--
 configs/platform-v7a/barebox.config           | 12 +++++++-
 configs/platform-v7a/kernelconfig             | 10 +++++++
 .../bcm283X-Select-OF-clock-providers.patch   | 29 +++++++++++++++++++
 .../patches/barebox-2021.02.0/series          |  4 +++
 configs/platform-v7a/platformconfig           |  4 +--
 .../platform-v7a/rules/barebox-stm32mp.make   |  2 +-
 .../rules/image-stm32mp157c-dk2.make          |  2 +-
 configs/platform-v7a/run                      |  2 +-
 21 files changed, 167 insertions(+), 79 deletions(-)
 create mode 100644 configs/platform-v7a/patches/barebox-2021.02.0/bcm283X-Select-OF-clock-providers.patch
 create mode 100644 configs/platform-v7a/patches/barebox-2021.02.0/series

diff --git a/configs/platform-v7a/barebox-am335x-mlo.config b/configs/platform-v7a/barebox-am335x-mlo.config
index 022d53c045e4..618d8e77bb3a 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 2020.09.0 Configuration
+# Barebox/arm 2021.02.0 Configuration
 #
 CONFIG_ARM=y
 CONFIG_ARM_USE_COMPRESSED_DTB=y
@@ -187,6 +187,9 @@ CONFIG_DEBUG_OMAP_UART_PORT=1
 # CONFIG_DEBUG_INITCALLS is not set
 # CONFIG_PBL_BREAK 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
 
@@ -248,18 +251,11 @@ CONFIG_MTD_M25P80=y
 
 # CONFIG_DRIVER_CFI is not set
 CONFIG_NAND=y
-# CONFIG_NAND_ECC_SOFT is not set
-# CONFIG_NAND_ECC_BCH is not set
-CONFIG_NAND_ECC_HW=y
-# CONFIG_NAND_ECC_HW_OOB_FIRST is not set
+# CONFIG_MTD_NAND_ECC_SOFT is not set
 # CONFIG_NAND_ECC_HW_SYNDROME is not set
-# CONFIG_NAND_ECC_HW_NONE is not set
-# CONFIG_NAND_INFO is not set
-# CONFIG_NAND_BBT is not set
 CONFIG_NAND_OMAP_GPMC=y
 # CONFIG_MTD_NAND_OMAP_ELM is not set
-# CONFIG_MTD_NAND_ECC_SMC is not set
-CONFIG_MTD_NAND_IDS=y
+# CONFIG_MTD_NAND_ECC_SW_HAMMING_SMC is not set
 # CONFIG_MTD_NAND_DENALI is not set
 CONFIG_MTD_SPI_NOR=y
 # CONFIG_MTD_SPI_NOR_USE_4K_SECTORS is not set
@@ -290,6 +286,7 @@ CONFIG_MCI=y
 # CONFIG_MCI_STARTUP is not set
 # CONFIG_MCI_WRITE is not set
 # CONFIG_MCI_MMC_BOOT_PARTITIONS is not set
+# CONFIG_MCI_MMC_GPP_PARTITIONS is not set
 
 #
 # --- MCI host drivers ---
diff --git a/configs/platform-v7a/barebox-am335x.config b/configs/platform-v7a/barebox-am335x.config
index a43071027572..d959c499b75a 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 2020.09.0 Configuration
+# Barebox/arm 2021.02.0 Configuration
 #
 CONFIG_ARM=y
 CONFIG_ARM_LINUX=y
@@ -213,6 +213,7 @@ CONFIG_STATE=y
 # CONFIG_BOOTCHOOSER is not set
 CONFIG_RESET_SOURCE=y
 # CONFIG_MACHINE_ID is not set
+# CONFIG_SYSTEMD_OF_WATCHDOG is not set
 
 #
 # OP-TEE loading
@@ -238,6 +239,9 @@ CONFIG_DEBUG_OMAP_UART_PORT=1
 # CONFIG_DEBUG_INITCALLS is not set
 # CONFIG_PBL_BREAK 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
 
@@ -267,6 +271,7 @@ CONFIG_CMD_VERSION=y
 CONFIG_CMD_MMC=y
 # CONFIG_CMD_MMC_EXTCSD is not set
 # CONFIG_CMD_POLLER is not set
+# CONFIG_CMD_SLICE is not set
 # end of Information
 
 #
@@ -305,6 +310,7 @@ CONFIG_CMD_PRINTENV=y
 CONFIG_CMD_MAGICVAR=y
 CONFIG_CMD_MAGICVAR_HELP=y
 CONFIG_CMD_SAVEENV=y
+CONFIG_CMD_SETENV=y
 # end of Environment
 
 #
@@ -384,6 +390,7 @@ 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
@@ -397,7 +404,6 @@ CONFIG_CMD_GPIO=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_LED=y
 CONFIG_CMD_NAND=y
-# CONFIG_CMD_NANDTEST is not set
 # CONFIG_CMD_NAND_BITFLIP is not set
 # CONFIG_CMD_POWEROFF is not set
 CONFIG_CMD_SPI=y
@@ -439,6 +445,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
 
 #
 # Drivers
@@ -558,20 +565,12 @@ CONFIG_MTD_M25P80=y
 
 # CONFIG_DRIVER_CFI is not set
 CONFIG_NAND=y
-CONFIG_NAND_ECC_SOFT=y
-# CONFIG_NAND_ECC_BCH is not set
-CONFIG_NAND_ECC_HW=y
-# CONFIG_NAND_ECC_HW_OOB_FIRST is not set
+# CONFIG_MTD_NAND_ECC_SOFT is not set
 CONFIG_NAND_ECC_HW_SYNDROME=y
-CONFIG_NAND_ECC_HW_NONE=y
-CONFIG_NAND_INFO=y
-CONFIG_NAND_READ_OOB=y
-CONFIG_NAND_BBT=y
 # CONFIG_NAND_ALLOW_ERASE_BAD is not set
 CONFIG_NAND_OMAP_GPMC=y
 # CONFIG_MTD_NAND_OMAP_ELM is not set
-# CONFIG_MTD_NAND_ECC_SMC is not set
-CONFIG_MTD_NAND_IDS=y
+# CONFIG_MTD_NAND_ECC_SW_HAMMING_SMC is not set
 # CONFIG_MTD_NAND_DENALI is not set
 CONFIG_MTD_SPI_NOR=y
 # CONFIG_MTD_SPI_NOR_USE_4K_SECTORS is not set
@@ -629,6 +628,7 @@ CONFIG_MCI_STARTUP=y
 CONFIG_MCI_INFO=y
 CONFIG_MCI_WRITE=y
 # CONFIG_MCI_MMC_BOOT_PARTITIONS is not set
+# CONFIG_MCI_MMC_GPP_PARTITIONS is not set
 
 #
 # --- MCI host drivers ---
diff --git a/configs/platform-v7a/barebox-am335x.config.diff b/configs/platform-v7a/barebox-am335x.config.diff
index e944803f8d0b..75d489722ecf 100644
--- a/configs/platform-v7a/barebox-am335x.config.diff
+++ b/configs/platform-v7a/barebox-am335x.config.diff
@@ -1,4 +1,4 @@
-e6072dae533833bfa758a60d8e3b92b6
+550b611f7e000b2105486cbceddb2144
 # CONFIG_AM33XX_NET_BOOT is not set
 CONFIG_ARCH_AM33XX=y
 # CONFIG_ARCH_BCM283X is not set
@@ -22,10 +22,10 @@ CONFIG_CLOCKSOURCE_TI_DM=y
 # CONFIG_CMD_KEYSTORE is not set
 CONFIG_CMD_MIITOOL=y
 CONFIG_CMD_NAND=y
-# CONFIG_CMD_NANDTEST is not set
 # CONFIG_CMD_NAND_BITFLIP 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_CRYPTO_KEYSTORE=y
@@ -69,24 +69,16 @@ CONFIG_MACH_BEAGLEBONE=y
 CONFIG_MCI_OMAP_HSMMC=y
 CONFIG_MTD_M25P80=y
 # CONFIG_MTD_NAND_DENALI is not set
-# CONFIG_MTD_NAND_ECC_SMC is not set
-CONFIG_MTD_NAND_IDS=y
+# CONFIG_MTD_NAND_ECC_SOFT is not set
+# CONFIG_MTD_NAND_ECC_SW_HAMMING_SMC is not set
 # CONFIG_MTD_NAND_OMAP_ELM is not set
 CONFIG_MTD_SPI_NOR=y
 # CONFIG_MTD_SPI_NOR_USE_4K_SECTORS is not set
 # CONFIG_MTD_SST25L is not set
 CONFIG_NAND=y
 # CONFIG_NAND_ALLOW_ERASE_BAD is not set
-CONFIG_NAND_BBT=y
-# CONFIG_NAND_ECC_BCH is not set
-CONFIG_NAND_ECC_HW=y
-CONFIG_NAND_ECC_HW_NONE=y
-# CONFIG_NAND_ECC_HW_OOB_FIRST is not set
 CONFIG_NAND_ECC_HW_SYNDROME=y
-CONFIG_NAND_ECC_SOFT=y
-CONFIG_NAND_INFO=y
 CONFIG_NAND_OMAP_GPMC=y
-CONFIG_NAND_READ_OOB=y
 CONFIG_NVMEM=y
 # CONFIG_NVMEM_SNVS_LPGPR is not set
 # CONFIG_OMAP_BUILD_IFT is not set
diff --git a/configs/platform-v7a/barebox-at91.config b/configs/platform-v7a/barebox-at91.config
index 48d48fe086f4..127b79f21e47 100644
--- a/configs/platform-v7a/barebox-at91.config
+++ b/configs/platform-v7a/barebox-at91.config
@@ -1,6 +1,6 @@
 #
 # Automatically generated file; DO NOT EDIT.
-# Barebox/arm 2020.09.0 Configuration
+# Barebox/arm 2021.02.0 Configuration
 #
 CONFIG_ARM=y
 CONFIG_ARM_LINUX=y
@@ -214,6 +214,7 @@ CONFIG_STATE=y
 # CONFIG_BOOTCHOOSER is not set
 CONFIG_RESET_SOURCE=y
 # CONFIG_MACHINE_ID is not set
+# CONFIG_SYSTEMD_OF_WATCHDOG is not set
 
 #
 # OP-TEE loading
@@ -233,6 +234,9 @@ CONFIG_DEBUG_AT91_UART_BASE=0xf8020000
 # CONFIG_DEBUG_INITCALLS is not set
 # CONFIG_PBL_BREAK 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
 
@@ -263,6 +267,7 @@ CONFIG_CMD_VERSION=y
 # CONFIG_CMD_MMC is not set
 # CONFIG_CMD_MMC_EXTCSD is not set
 # CONFIG_CMD_POLLER is not set
+# CONFIG_CMD_SLICE is not set
 # end of Information
 
 #
@@ -302,6 +307,7 @@ CONFIG_CMD_PRINTENV=y
 CONFIG_CMD_MAGICVAR=y
 CONFIG_CMD_MAGICVAR_HELP=y
 CONFIG_CMD_SAVEENV=y
+CONFIG_CMD_SETENV=y
 # end of Environment
 
 #
@@ -381,6 +387,7 @@ 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
@@ -431,6 +438,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
 
 #
 # Drivers
@@ -577,6 +585,7 @@ CONFIG_MCI=y
 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 ---
@@ -730,6 +739,8 @@ CONFIG_REGULATOR_FIXED=y
 # NVME Support
 #
 # end of NVME Support
+
+# CONFIG_SYSCON_REBOOT_MODE is not set
 # end of Drivers
 
 #
diff --git a/configs/platform-v7a/barebox-at91.config.diff b/configs/platform-v7a/barebox-at91.config.diff
index 3f636d86a633..3fa0142d83bd 100644
--- a/configs/platform-v7a/barebox-at91.config.diff
+++ b/configs/platform-v7a/barebox-at91.config.diff
@@ -1,4 +1,4 @@
-e6072dae533833bfa758a60d8e3b92b6
+550b611f7e000b2105486cbceddb2144
 CONFIG_ARCH_AT91=y
 # CONFIG_ARCH_BCM283X is not set
 CONFIG_ARCH_TEXT_BASE=0x23f00000
@@ -21,7 +21,6 @@ CONFIG_CMD_MENU_MANAGEMENT=y
 # CONFIG_CMD_USB is undefined
 # CONFIG_CMD_USBGADGET is undefined
 CONFIG_COMMON_CLK_AT91=y
-CONFIG_COMMON_CLK_OF_PROVIDER=y
 CONFIG_COMPILE_LOGLEVEL=6
 CONFIG_DEBUG_AT91_UART_BASE=0xf8020000
 CONFIG_DEFAULT_COMPRESSION_BZIP2=y
@@ -99,6 +98,7 @@ CONFIG_SOC_SAMA5D2=y
 CONFIG_SPI_ATMEL_QUADSPI=y
 # CONFIG_SPI_CADENCE_QUADSPI is not set
 CONFIG_SPI_MEM=y
+# CONFIG_SYSCON_REBOOT_MODE is not set
 # CONFIG_THUMB2_BAREBOX is undefined
 # CONFIG_USB is undefined
 # CONFIG_USBGADGET_START is undefined
diff --git a/configs/platform-v7a/barebox-mx6.config b/configs/platform-v7a/barebox-mx6.config
index 13400907e6d0..8af1a2a0fdf0 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 2020.09.0 Configuration
+# Barebox/arm 2021.02.0 Configuration
 #
 CONFIG_ARM=y
 CONFIG_ARM_LINUX=y
@@ -118,6 +118,8 @@ CONFIG_MACH_UDOO_NEO=y
 # CONFIG_MACH_PHYTEC_SOM_IMX8MQ 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
 
 #
 # Board specific settings
@@ -279,6 +281,7 @@ CONFIG_STATE=y
 # CONFIG_BOOTCHOOSER is not set
 CONFIG_RESET_SOURCE=y
 # CONFIG_MACHINE_ID is not set
+# CONFIG_SYSTEMD_OF_WATCHDOG is not set
 
 #
 # OP-TEE loading
@@ -304,6 +307,9 @@ CONFIG_DEBUG_IMX_UART_PORT=1
 # CONFIG_DEBUG_INITCALLS is not set
 # CONFIG_PBL_BREAK 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
 
@@ -333,6 +339,7 @@ CONFIG_CMD_VERSION=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_MMC_EXTCSD=y
 # CONFIG_CMD_POLLER is not set
+# CONFIG_CMD_SLICE is not set
 # end of Information
 
 #
@@ -373,6 +380,7 @@ CONFIG_CMD_PRINTENV=y
 CONFIG_CMD_MAGICVAR=y
 CONFIG_CMD_MAGICVAR_HELP=y
 CONFIG_CMD_SAVEENV=y
+CONFIG_CMD_SETENV=y
 # end of Environment
 
 #
@@ -454,6 +462,7 @@ 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
@@ -468,7 +477,6 @@ CONFIG_CMD_GPIO=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_LED=y
 CONFIG_CMD_NAND=y
-CONFIG_CMD_NANDTEST=y
 # CONFIG_CMD_NAND_BITFLIP is not set
 # CONFIG_CMD_POWEROFF is not set
 CONFIG_CMD_SPI=y
@@ -510,6 +518,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
 
 #
 # Drivers
@@ -634,20 +643,12 @@ CONFIG_MTD_SST25L=y
 
 # CONFIG_DRIVER_CFI is not set
 CONFIG_NAND=y
-CONFIG_NAND_ECC_SOFT=y
-# CONFIG_NAND_ECC_BCH is not set
-CONFIG_NAND_ECC_HW=y
-# CONFIG_NAND_ECC_HW_OOB_FIRST is not set
+# CONFIG_MTD_NAND_ECC_SOFT is not set
 CONFIG_NAND_ECC_HW_SYNDROME=y
-CONFIG_NAND_ECC_HW_NONE=y
-CONFIG_NAND_INFO=y
-CONFIG_NAND_READ_OOB=y
-CONFIG_NAND_BBT=y
 CONFIG_NAND_ALLOW_ERASE_BAD=y
 CONFIG_NAND_IMX=y
 CONFIG_NAND_MXS=y
-# CONFIG_MTD_NAND_ECC_SMC is not set
-CONFIG_MTD_NAND_IDS=y
+# CONFIG_MTD_NAND_ECC_SW_HAMMING_SMC is not set
 # CONFIG_MTD_NAND_DENALI is not set
 CONFIG_MTD_SPI_NOR=y
 # CONFIG_MTD_SPI_NOR_USE_4K_SECTORS is not set
@@ -714,6 +715,7 @@ CONFIG_VIDEO_VPL=y
 CONFIG_DRIVER_VIDEO_IMX_IPUV3=y
 CONFIG_DRIVER_VIDEO_IMX_IPUV3_LVDS=y
 # CONFIG_DRIVER_VIDEO_IMX_IPUV3_PARALLEL is not set
+# CONFIG_DRIVER_VIDEO_BOCHS_ISA is not set
 CONFIG_DRIVER_VIDEO_SIMPLEFB=y
 # CONFIG_DRIVER_VIDEO_EDID is not set
 # CONFIG_DRIVER_VIDEO_BACKLIGHT is not set
@@ -733,6 +735,7 @@ CONFIG_MCI=y
 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 ---
@@ -913,6 +916,8 @@ CONFIG_USB_NOP_XCEIV=y
 # NVME Support
 #
 # end of NVME Support
+
+# CONFIG_SYSCON_REBOOT_MODE is not set
 # end of Drivers
 
 #
diff --git a/configs/platform-v7a/barebox-mx6.config.diff b/configs/platform-v7a/barebox-mx6.config.diff
index 3c04319ba252..58450f94a7c0 100644
--- a/configs/platform-v7a/barebox-mx6.config.diff
+++ b/configs/platform-v7a/barebox-mx6.config.diff
@@ -1,4 +1,4 @@
-e6072dae533833bfa758a60d8e3b92b6
+550b611f7e000b2105486cbceddb2144
 # CONFIG_ARCH_BCM283X is not set
 CONFIG_ARCH_HAS_FEC_IMX=y
 CONFIG_ARCH_HAS_IMX_GPT=y
@@ -26,13 +26,11 @@ CONFIG_CLOCKSOURCE_IMX_GPT=y
 CONFIG_CMD_MIITOOL=y
 CONFIG_CMD_MMC_EXTCSD=y
 CONFIG_CMD_NAND=y
-CONFIG_CMD_NANDTEST=y
 # CONFIG_CMD_NAND_BITFLIP is not set
 # CONFIG_CMD_SMC is undefined
 CONFIG_CMD_SPLASH=y
 CONFIG_CMD_UBI=y
 CONFIG_CMD_UBIFORMAT=y
-CONFIG_COMMON_CLK_OF_PROVIDER=y
 # CONFIG_CONSOLE_ACTIVATE_FIRST is not set
 CONFIG_CONSOLE_ACTIVATE_NONE=y
 CONFIG_CRYPTO_KEYSTORE=y
@@ -52,6 +50,7 @@ CONFIG_DRIVER_SERIAL_IMX=y
 CONFIG_DRIVER_SPI_IMX=y
 CONFIG_DRIVER_SPI_IMX_2_3=y
 # CONFIG_DRIVER_VIDEO_BACKLIGHT is not set
+# CONFIG_DRIVER_VIDEO_BOCHS_ISA is not set
 # CONFIG_DRIVER_VIDEO_EDID is not set
 # CONFIG_DRIVER_VIDEO_FB_SSD1307 is not set
 CONFIG_DRIVER_VIDEO_IMX_IPUV3=y
@@ -115,6 +114,7 @@ CONFIG_MACH_EMBEST_RIOTBOARD=y
 # CONFIG_MACH_GW_VENTANA is not set
 # CONFIG_MACH_KINDLE_MX50 is not set
 # CONFIG_MACH_KONTRON_SAMX6I is not set
+# CONFIG_MACH_MNT_REFORM is not set
 CONFIG_MACH_NITROGEN6=y
 # CONFIG_MACH_NXP_IMX6ULL_EVK is not set
 # CONFIG_MACH_NXP_IMX8MM_EVK is not set
@@ -148,6 +148,7 @@ CONFIG_MACH_UDOO_NEO=y
 # CONFIG_MACH_VARISCITE_MX6 is not set
 # CONFIG_MACH_VF610_TWR is not set
 # 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
@@ -167,8 +168,8 @@ CONFIG_MTD_DATAFLASH=y
 # CONFIG_MTD_DATAFLASH_WRITE_VERIFY is not set
 CONFIG_MTD_M25P80=y
 # CONFIG_MTD_NAND_DENALI is not set
-# CONFIG_MTD_NAND_ECC_SMC is not set
-CONFIG_MTD_NAND_IDS=y
+# CONFIG_MTD_NAND_ECC_SOFT is not set
+# CONFIG_MTD_NAND_ECC_SW_HAMMING_SMC is not set
 CONFIG_MTD_RAW_DEVICE=y
 CONFIG_MTD_SPI_NOR=y
 # CONFIG_MTD_SPI_NOR_USE_4K_SECTORS is not set
@@ -181,17 +182,9 @@ CONFIG_MTD_UBI_FASTMAP=y
 CONFIG_MXS_APBH_DMA=y
 CONFIG_NAND=y
 CONFIG_NAND_ALLOW_ERASE_BAD=y
-CONFIG_NAND_BBT=y
-# CONFIG_NAND_ECC_BCH is not set
-CONFIG_NAND_ECC_HW=y
-CONFIG_NAND_ECC_HW_NONE=y
-# CONFIG_NAND_ECC_HW_OOB_FIRST is not set
 CONFIG_NAND_ECC_HW_SYNDROME=y
-CONFIG_NAND_ECC_SOFT=y
 CONFIG_NAND_IMX=y
-CONFIG_NAND_INFO=y
 CONFIG_NAND_MXS=y
-CONFIG_NAND_READ_OOB=y
 CONFIG_NVMEM=y
 # CONFIG_NVMEM_SNVS_LPGPR is not set
 CONFIG_PARTITION_DISK_EFI=y
@@ -217,6 +210,7 @@ CONFIG_RESET_IMX_SRC=y
 # 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_GADGET_DFU=y
diff --git a/configs/platform-v7a/barebox-rpi2.config b/configs/platform-v7a/barebox-rpi2.config
index 9e73e9ee877a..4535c2963577 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 2020.09.0 Configuration
+# Barebox/arm 2021.02.0 Configuration
 #
 CONFIG_ARM=y
 CONFIG_ARM_LINUX=y
@@ -202,6 +202,7 @@ CONFIG_STATE=y
 # CONFIG_BOOTCHOOSER is not set
 CONFIG_RESET_SOURCE=y
 # CONFIG_MACHINE_ID is not set
+# CONFIG_SYSTEMD_OF_WATCHDOG is not set
 
 #
 # OP-TEE loading
@@ -219,6 +220,9 @@ CONFIG_DEFAULT_LOGLEVEL=6
 # CONFIG_DEBUG_INITCALLS is not set
 # CONFIG_PBL_BREAK 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
 
@@ -248,6 +252,7 @@ CONFIG_CMD_VERSION=y
 CONFIG_CMD_MMC=y
 # CONFIG_CMD_MMC_EXTCSD is not set
 # CONFIG_CMD_POLLER is not set
+# CONFIG_CMD_SLICE is not set
 # end of Information
 
 #
@@ -286,6 +291,7 @@ CONFIG_CMD_PRINTENV=y
 CONFIG_CMD_MAGICVAR=y
 CONFIG_CMD_MAGICVAR_HELP=y
 CONFIG_CMD_SAVEENV=y
+CONFIG_CMD_SETENV=y
 # end of Environment
 
 #
@@ -365,6 +371,7 @@ 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
@@ -416,6 +423,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
 
 #
 # Drivers
@@ -562,6 +570,7 @@ CONFIG_MCI=y
 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 ---
@@ -575,6 +584,7 @@ CONFIG_MCI_BCM283X_SDHOST=y
 CONFIG_HAVE_CLK=y
 CONFIG_CLKDEV_LOOKUP=y
 CONFIG_COMMON_CLK=y
+CONFIG_COMMON_CLK_OF_PROVIDER=y
 
 #
 # Clocksource
@@ -686,7 +696,9 @@ CONFIG_REGULATOR_BCM283X=y
 # CONFIG_FIRMWARE_ALTERA_SERIAL is not set
 # end of Firmware Drivers
 
-# CONFIG_GENERIC_PHY is not set
+CONFIG_GENERIC_PHY=y
+CONFIG_USB_NOP_XCEIV=y
+# CONFIG_PHY_FSL_IMX8MQ_USB is not set
 # CONFIG_CRYPTO_HW is not set
 
 #
diff --git a/configs/platform-v7a/barebox-rpi2.config.diff b/configs/platform-v7a/barebox-rpi2.config.diff
index 4ca4bd22ca09..98f09156371d 100644
--- a/configs/platform-v7a/barebox-rpi2.config.diff
+++ b/configs/platform-v7a/barebox-rpi2.config.diff
@@ -1,4 +1,4 @@
-e6072dae533833bfa758a60d8e3b92b6
+550b611f7e000b2105486cbceddb2144
 CONFIG_ARM_ASM_UNIFIED=y
 CONFIG_BOOTM_INITRD=y
 # CONFIG_CMD_I2C is undefined
@@ -8,6 +8,7 @@ CONFIG_DRIVER_SERIAL_NS16550=y
 # CONFIG_EEPROM_93XX46 is not set
 # CONFIG_EEPROM_AT24 is undefined
 # CONFIG_FILE_LIST is undefined
+CONFIG_GENERIC_PHY=y
 # CONFIG_GPIO_PCA953X is undefined
 # CONFIG_GPIO_PCF857X is undefined
 CONFIG_GPIO_RASPBERRYPI_EXP=y
@@ -43,6 +44,7 @@ CONFIG_NET_NETCONSOLE=y
 CONFIG_NVMEM=y
 # CONFIG_NVMEM_SNVS_LPGPR is not set
 # CONFIG_PBL_OPTEE is undefined
+# CONFIG_PHY_FSL_IMX8MQ_USB is not set
 CONFIG_PINCTRL_BCM283X=y
 CONFIG_PROMPT="R-Pi> "
 CONFIG_SERIAL_AMBA_PL011=y
@@ -58,5 +60,6 @@ CONFIG_USB_DWC2_HOST=y
 # CONFIG_USB_GADGET_FASTBOOT is undefined
 # CONFIG_USB_GADGET_SERIAL is undefined
 # CONFIG_USB_HUB_USB251XB is undefined
+CONFIG_USB_NOP_XCEIV=y
 CONFIG_USB_OTGDEV=y
 CONFIG_WATCHDOG_BCM2835=y
diff --git a/configs/platform-v7a/barebox-stm32mp.config b/configs/platform-v7a/barebox-stm32mp.config
index 10df8b08857a..b64fedbd221e 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 2020.09.0 Configuration
+# Barebox/arm 2021.02.0 Configuration
 #
 CONFIG_ARM=y
 CONFIG_ARM_LINUX=y
@@ -52,7 +52,7 @@ CONFIG_CPU_32v7=y
 CONFIG_BAREBOX_MAX_IMAGE_SIZE=0xffffffff
 CONFIG_ARCH_NR_GPIO=416
 CONFIG_ARCH_STM32MP157=y
-CONFIG_MACH_STM32MP157C_DK2=y
+CONFIG_MACH_STM32MP15XX_DKX=y
 CONFIG_MACH_LXA_MC1=y
 # CONFIG_MACH_SEEED_ODYSSEY is not set
 # CONFIG_BOARD_ARM_GENERIC_DT is not set
@@ -198,6 +198,7 @@ CONFIG_STATE=y
 # CONFIG_BOOTCHOOSER is not set
 CONFIG_RESET_SOURCE=y
 # CONFIG_MACHINE_ID is not set
+# CONFIG_SYSTEMD_OF_WATCHDOG is not set
 
 #
 # OP-TEE loading
@@ -215,6 +216,9 @@ CONFIG_DEFAULT_LOGLEVEL=7
 # CONFIG_DEBUG_INITCALLS is not set
 # CONFIG_PBL_BREAK 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
 
@@ -244,6 +248,7 @@ CONFIG_CMD_VERSION=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_MMC_EXTCSD=y
 # CONFIG_CMD_POLLER is not set
+# CONFIG_CMD_SLICE is not set
 # end of Information
 
 #
@@ -282,6 +287,7 @@ CONFIG_CMD_PRINTENV=y
 CONFIG_CMD_MAGICVAR=y
 CONFIG_CMD_MAGICVAR_HELP=y
 CONFIG_CMD_SAVEENV=y
+CONFIG_CMD_SETENV=y
 # end of Environment
 
 #
@@ -361,6 +367,7 @@ 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
@@ -410,6 +417,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
 
 #
 # Drivers
@@ -524,6 +532,7 @@ CONFIG_MCI_STARTUP=y
 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 ---
@@ -684,6 +693,8 @@ CONFIG_RESET_STM32=y
 # NVME Support
 #
 # end of NVME Support
+
+# CONFIG_SYSCON_REBOOT_MODE is not set
 # end of Drivers
 
 #
diff --git a/configs/platform-v7a/barebox-stm32mp.config.diff b/configs/platform-v7a/barebox-stm32mp.config.diff
index 4b1564f9cb7a..3212fc145b9c 100644
--- a/configs/platform-v7a/barebox-stm32mp.config.diff
+++ b/configs/platform-v7a/barebox-stm32mp.config.diff
@@ -1,4 +1,4 @@
-e6072dae533833bfa758a60d8e3b92b6
+550b611f7e000b2105486cbceddb2144
 # CONFIG_ARCH_BCM283X is not set
 CONFIG_ARCH_HAS_RESET_CONTROLLER=y
 CONFIG_ARCH_NR_GPIO=416
@@ -30,7 +30,6 @@ CONFIG_CMD_POWEROFF=y
 # CONFIG_CMD_SPI is undefined
 # CONFIG_CMD_USB is undefined
 # CONFIG_CMD_USBGADGET is undefined
-CONFIG_COMMON_CLK_OF_PROVIDER=y
 CONFIG_COMPILE_LOGLEVEL=6
 # CONFIG_CONSOLE_ACTIVATE_FIRST is not set
 CONFIG_CONSOLE_ACTIVATE_NONE=y
@@ -69,7 +68,7 @@ CONFIG_MACH_LXA_MC1=y
 # CONFIG_MACH_RPI_CM3 is undefined
 # CONFIG_MACH_RPI_COMMON is undefined
 # CONFIG_MACH_SEEED_ODYSSEY is not set
-CONFIG_MACH_STM32MP157C_DK2=y
+CONFIG_MACH_STM32MP15XX_DKX=y
 # CONFIG_MCI_BCM283X is undefined
 # CONFIG_MCI_BCM283X_SDHOST is undefined
 # CONFIG_MCI_MMCI is not set
@@ -126,6 +125,7 @@ CONFIG_STM32_BSEC=y
 CONFIG_STM32_IWDG_WATCHDOG=y
 CONFIG_STM32_REMOTEPROC=y
 # CONFIG_STPMIC1_WATCHDOG is not set
+# CONFIG_SYSCON_REBOOT_MODE is not set
 CONFIG_THUMB2_BAREBOX=y
 # CONFIG_USB is undefined
 # CONFIG_USBGADGET_START is undefined
diff --git a/configs/platform-v7a/barebox-vexpress.config b/configs/platform-v7a/barebox-vexpress.config
index d50789871a8c..1765134bac45 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 2020.09.0 Configuration
+# Barebox/arm 2021.02.0 Configuration
 #
 CONFIG_ARM=y
 CONFIG_ARM_LINUX=y
@@ -51,6 +51,7 @@ CONFIG_CPU_32v7=y
 CONFIG_ARCH_TEXT_BASE=0x0
 CONFIG_BAREBOX_MAX_IMAGE_SIZE=0xffffffff
 CONFIG_MACH_VEXPRESS=y
+# CONFIG_MACH_VIRT is not set
 CONFIG_BOARD_ARM_GENERIC_DT=y
 CONFIG_AEABI=y
 # CONFIG_THUMB2_BAREBOX is not set
@@ -190,6 +191,7 @@ CONFIG_STATE=y
 # CONFIG_BOOTCHOOSER is not set
 CONFIG_RESET_SOURCE=y
 # CONFIG_MACHINE_ID is not set
+# CONFIG_SYSTEMD_OF_WATCHDOG is not set
 
 #
 # OP-TEE loading
@@ -208,6 +210,9 @@ CONFIG_DEFAULT_LOGLEVEL=6
 # CONFIG_DEBUG_INITCALLS is not set
 # CONFIG_PBL_BREAK 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
 
@@ -237,6 +242,7 @@ CONFIG_CMD_VERSION=y
 CONFIG_CMD_MMC=y
 # CONFIG_CMD_MMC_EXTCSD is not set
 # CONFIG_CMD_POLLER is not set
+# CONFIG_CMD_SLICE is not set
 # end of Information
 
 #
@@ -275,6 +281,7 @@ CONFIG_CMD_PRINTENV=y
 CONFIG_CMD_MAGICVAR=y
 CONFIG_CMD_MAGICVAR_HELP=y
 CONFIG_CMD_SAVEENV=y
+CONFIG_CMD_SETENV=y
 # end of Environment
 
 #
@@ -354,6 +361,7 @@ 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
@@ -405,6 +413,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
 
 #
 # Drivers
@@ -571,6 +580,7 @@ CONFIG_MCI_STARTUP=y
 CONFIG_MCI_INFO=y
 CONFIG_MCI_WRITE=y
 # CONFIG_MCI_MMC_BOOT_PARTITIONS is not set
+# CONFIG_MCI_MMC_GPP_PARTITIONS is not set
 
 #
 # --- MCI host drivers ---
diff --git a/configs/platform-v7a/barebox-vexpress.config.diff b/configs/platform-v7a/barebox-vexpress.config.diff
index ac5b99af308f..211256bd7d71 100644
--- a/configs/platform-v7a/barebox-vexpress.config.diff
+++ b/configs/platform-v7a/barebox-vexpress.config.diff
@@ -1,4 +1,4 @@
-e6072dae533833bfa758a60d8e3b92b6
+550b611f7e000b2105486cbceddb2144
 CONFIG_AMBA_SP804=y
 # CONFIG_ARCH_BCM283X is not set
 CONFIG_ARCH_VEXPRESS=y
@@ -9,7 +9,6 @@ CONFIG_BOOTM_INITRD=y
 # CONFIG_CLOCKSOURCE_BCM283X is undefined
 # CONFIG_CMD_GPIO is undefined
 # CONFIG_CMD_SMC is undefined
-CONFIG_COMMON_CLK_OF_PROVIDER=y
 CONFIG_CONSOLE_ACTIVATE_ALL=y
 # CONFIG_CONSOLE_ACTIVATE_FIRST is not set
 CONFIG_DRIVER_CFI=y
@@ -47,6 +46,7 @@ CONFIG_DRIVER_NET_SMC911X=y
 # CONFIG_MACH_RPI_CM3 is undefined
 # CONFIG_MACH_RPI_COMMON is undefined
 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
diff --git a/configs/platform-v7a/barebox.config b/configs/platform-v7a/barebox.config
index bbe7f3e51986..fd9da0519224 100644
--- a/configs/platform-v7a/barebox.config
+++ b/configs/platform-v7a/barebox.config
@@ -1,6 +1,6 @@
 #
 # Automatically generated file; DO NOT EDIT.
-# Barebox/arm 2020.09.0 Configuration
+# Barebox/arm 2021.02.0 Configuration
 #
 CONFIG_ARM=y
 CONFIG_ARM_LINUX=y
@@ -203,6 +203,7 @@ CONFIG_STATE=y
 # CONFIG_BOOTCHOOSER is not set
 CONFIG_RESET_SOURCE=y
 # CONFIG_MACHINE_ID is not set
+# CONFIG_SYSTEMD_OF_WATCHDOG is not set
 
 #
 # OP-TEE loading
@@ -221,6 +222,9 @@ CONFIG_DEFAULT_LOGLEVEL=6
 # CONFIG_DEBUG_INITCALLS is not set
 # CONFIG_PBL_BREAK 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
 
@@ -250,6 +254,7 @@ CONFIG_CMD_VERSION=y
 CONFIG_CMD_MMC=y
 # CONFIG_CMD_MMC_EXTCSD is not set
 # CONFIG_CMD_POLLER is not set
+# CONFIG_CMD_SLICE is not set
 # end of Information
 
 #
@@ -288,6 +293,7 @@ CONFIG_CMD_PRINTENV=y
 CONFIG_CMD_MAGICVAR=y
 CONFIG_CMD_MAGICVAR_HELP=y
 CONFIG_CMD_SAVEENV=y
+CONFIG_CMD_SETENV=y
 # end of Environment
 
 #
@@ -367,6 +373,7 @@ 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
@@ -420,6 +427,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
 
 #
 # Drivers
@@ -584,6 +592,7 @@ CONFIG_MCI_STARTUP=y
 CONFIG_MCI_INFO=y
 CONFIG_MCI_WRITE=y
 # CONFIG_MCI_MMC_BOOT_PARTITIONS is not set
+# CONFIG_MCI_MMC_GPP_PARTITIONS is not set
 
 #
 # --- MCI host drivers ---
@@ -597,6 +606,7 @@ CONFIG_MCI_MMCI=y
 CONFIG_HAVE_CLK=y
 CONFIG_CLKDEV_LOOKUP=y
 CONFIG_COMMON_CLK=y
+CONFIG_COMMON_CLK_OF_PROVIDER=y
 
 #
 # Clocksource
diff --git a/configs/platform-v7a/kernelconfig b/configs/platform-v7a/kernelconfig
index b32a368a0a19..968a6c9b8253 100644
--- a/configs/platform-v7a/kernelconfig
+++ b/configs/platform-v7a/kernelconfig
@@ -555,6 +555,7 @@ CONFIG_ALIGNMENT_TRAP=y
 # CONFIG_PARAVIRT is not set
 # CONFIG_PARAVIRT_TIME_ACCOUNTING is not set
 # CONFIG_XEN is not set
+CONFIG_STACKPROTECTOR_PER_TASK=y
 # end of Kernel Features
 
 #
@@ -769,6 +770,11 @@ CONFIG_ARCH_HAS_GCOV_PROFILE_ALL=y
 # end of GCOV-based kernel profiling
 
 CONFIG_HAVE_GCC_PLUGINS=y
+CONFIG_GCC_PLUGINS=y
+# CONFIG_GCC_PLUGIN_CYC_COMPLEXITY is not set
+# CONFIG_GCC_PLUGIN_LATENT_ENTROPY is not set
+# CONFIG_GCC_PLUGIN_RANDSTRUCT is not set
+CONFIG_GCC_PLUGIN_ARM_SSP_PER_TASK=y
 # end of General architecture-dependent options
 
 CONFIG_RT_MUTEXES=y
@@ -3455,6 +3461,9 @@ CONFIG_LSM="yama,loadpin,safesetid,integrity"
 # Memory initialization
 #
 CONFIG_INIT_STACK_NONE=y
+# CONFIG_GCC_PLUGIN_STRUCTLEAK_USER is not set
+# CONFIG_GCC_PLUGIN_STRUCTLEAK_BYREF is not set
+# CONFIG_GCC_PLUGIN_STRUCTLEAK_BYREF_ALL is not set
 # CONFIG_INIT_ON_ALLOC_DEFAULT_ON is not set
 # CONFIG_INIT_ON_FREE_DEFAULT_ON is not set
 # end of Memory initialization
@@ -3763,6 +3772,7 @@ CONFIG_DEBUG_INFO=y
 # CONFIG_DEBUG_INFO_SPLIT is not set
 # CONFIG_DEBUG_INFO_DWARF4 is not set
 # CONFIG_DEBUG_INFO_BTF is not set
+CONFIG_PAHOLE_HAS_SPLIT_BTF=y
 # CONFIG_GDB_SCRIPTS is not set
 CONFIG_FRAME_WARN=1024
 # CONFIG_STRIP_ASM_SYMS is not set
diff --git a/configs/platform-v7a/patches/barebox-2021.02.0/bcm283X-Select-OF-clock-providers.patch b/configs/platform-v7a/patches/barebox-2021.02.0/bcm283X-Select-OF-clock-providers.patch
new file mode 100644
index 000000000000..f1204d3aa870
--- /dev/null
+++ b/configs/platform-v7a/patches/barebox-2021.02.0/bcm283X-Select-OF-clock-providers.patch
@@ -0,0 +1,29 @@
+From: =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= <u.kleine-koenig@pengutronix.de>
+Date: Thu, 11 Mar 2021 13:10:47 +0100
+Subject: [PATCH] bcm283X: Select OF clock providers
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+This makes available the fixed clock needed on rpi3 for USB.
+
+USB stopped working when the dwc driver started to require an otg clock.
+
+Fixes: f73ca701bb85 ("usb: dwc2: add clk dependency for probe via oftree")
+Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
+---
+ arch/arm/Kconfig | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
+index ab0bf030131c..f9be9d42ecff 100644
+--- a/arch/arm/Kconfig
++++ b/arch/arm/Kconfig
+@@ -44,6 +44,7 @@ config ARCH_BCM283X
+ 	select GPIOLIB
+ 	select CLKDEV_LOOKUP
+ 	select COMMON_CLK
++	select COMMON_CLK_OF_PROVIDER
+ 	select CLOCKSOURCE_BCM283X
+ 	select ARM_AMBA
+ 	select HAS_DEBUG_LL
diff --git a/configs/platform-v7a/patches/barebox-2021.02.0/series b/configs/platform-v7a/patches/barebox-2021.02.0/series
new file mode 100644
index 000000000000..f4077e26e374
--- /dev/null
+++ b/configs/platform-v7a/patches/barebox-2021.02.0/series
@@ -0,0 +1,4 @@
+# generated by git-ptx-patches
+#tag:base --start-number 1
+bcm283X-Select-OF-clock-providers.patch
+# d86941116f42f467c3cc7429fccd1dd3  - git-ptx-patches magic
diff --git a/configs/platform-v7a/platformconfig b/configs/platform-v7a/platformconfig
index 9145bb8e4a08..2ef8b8e87b61 100644
--- a/configs/platform-v7a/platformconfig
+++ b/configs/platform-v7a/platformconfig
@@ -176,8 +176,8 @@ PTXCONF_CONSOLE_SPEED="115200"
 # PTXCONF_AT91BOOTSTRAP2 is not set
 PTXCONF_BAREBOX_COMMON_ARCH_STRING="arm"
 PTXCONF_BAREBOX_COMMON=y
-PTXCONF_BAREBOX_COMMON_VERSION="2020.09.0"
-PTXCONF_BAREBOX_COMMON_MD5="907dc813298fcded06fa9c788d3fb6c8"
+PTXCONF_BAREBOX_COMMON_VERSION="2021.02.0"
+PTXCONF_BAREBOX_COMMON_MD5="07045e34faa1135d9cd18503186b2d7f"
 PTXCONF_BAREBOX_COMMON_NEEDS_HOST_LZOP=y
 PTXCONF_BAREBOX_AM335X_MLO=y
 PTXCONF_BAREBOX_AM335X=y
diff --git a/configs/platform-v7a/rules/barebox-stm32mp.make b/configs/platform-v7a/rules/barebox-stm32mp.make
index 82a3c3178f66..2ad1fa4d02b6 100644
--- a/configs/platform-v7a/rules/barebox-stm32mp.make
+++ b/configs/platform-v7a/rules/barebox-stm32mp.make
@@ -43,7 +43,7 @@ BAREBOX_STM32MP_MAKE_ENV := $(BAREBOX_STM32MP_CONF_ENV)
 BAREBOX_STM32MP_MAKE_OPT := $(BAREBOX_STM32MP_CONF_OPT)
 
 BAREBOX_STM32MP_IMAGES := \
-	images/barebox-stm32mp157c-dk2.img \
+	images/barebox-stm32mp15xx-dkx.img \
 	images/barebox-stm32mp157c-lxa-mc1.img
 
 BAREBOX_STM32MP_IMAGES := $(addprefix $(BAREBOX_STM32MP_DIR)/,$(BAREBOX_STM32MP_IMAGES))
diff --git a/configs/platform-v7a/rules/image-stm32mp157c-dk2.make b/configs/platform-v7a/rules/image-stm32mp157c-dk2.make
index 2c739d388c93..7c0f4424936a 100644
--- a/configs/platform-v7a/rules/image-stm32mp157c-dk2.make
+++ b/configs/platform-v7a/rules/image-stm32mp157c-dk2.make
@@ -13,7 +13,7 @@ IMAGE_PACKAGES-$(PTXCONF_IMAGE_STM32MP157C_DK2) += image-stm32mp157c-dk2
 
 IMAGE_STM32MP157C_DK2_ENV := \
 	STM32MP_BOARD_FSBL=stm32mp157c-dk2 \
-	STM32MP_BOARD_SSBL=stm32mp157c-dk2
+	STM32MP_BOARD_SSBL=stm32mp15xx-dkx
 
 #
 # Paths and names
diff --git a/configs/platform-v7a/run b/configs/platform-v7a/run
index 1dc4fd645d88..65fa068e3bac 100755
--- a/configs/platform-v7a/run
+++ b/configs/platform-v7a/run
@@ -65,7 +65,7 @@ if [ -z "${QEMU_NET}" ]; then
 	QEMU_NET=(-netdev user,id=net1,hostfwd=tcp:127.0.0.1:${TELNET_EXTERNAL_PORT}-:${TELNET_INTERNAL_PORT},hostfwd=tcp:127.0.0.1:${SSH_EXTERNAL_PORT}-:${SSH_INTERNAL_PORT} )
 fi
 
-BASE_CMDLINE="console=ttyAMA0,115200 loglevel=5 systemd.log_level=warning systemd.show_status=auto"
+BASE_CMDLINE="console=ttyAMA0,115200 systemd.show_status=auto"
 
 if [ -d "${PTXDIST_PLATFORMDIR}/root/.virtfs_metadata" ]; then
 	security_model="mapped-file"
-- 
2.30.1


_______________________________________________
DistroKit mailing list
DistroKit@pengutronix.de

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

* [DistroKit] [PATCH 3/5] v7a: Add support for Raspberry Pi CM3
  2021-03-11 18:12 [DistroKit] [PATCH 1/5] v7a: stm32mp: images: allow differing board names for FSBL and SSBL Uwe Kleine-König
  2021-03-11 18:12 ` [DistroKit] [PATCH 2/5] v7a: barebox update 2020.09.0 -> 2021.02.0 Uwe Kleine-König
@ 2021-03-11 18:12 ` Uwe Kleine-König
  2021-03-11 18:37   ` Robert Schwebel
  2021-03-11 18:12 ` [DistroKit] [PATCH 4/5] v7a/kernel: Enable driver for usb ethernet dongles AX8817X Uwe Kleine-König
                   ` (2 subsequent siblings)
  4 siblings, 1 reply; 10+ messages in thread
From: Uwe Kleine-König @ 2021-03-11 18:12 UTC (permalink / raw)
  To: distrokit

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
 configs/platform-v7a/barebox-rpi2.config      |  2 +-
 configs/platform-v7a/barebox-rpi2.config.diff |  1 +
 .../platform-v7a/config/images/rpicm3.config  | 30 ++++++++++++
 configs/platform-v7a/platformconfig           |  4 +-
 .../platform-v7a/platforms/blspec-rpicm3.in   |  5 ++
 .../platform-v7a/platforms/image-rpicm3.in    | 12 +++++
 .../projectroot/loader/entries/rpicm3.conf    |  6 +++
 configs/platform-v7a/rules/barebox-rpi2.make  |  2 +-
 configs/platform-v7a/rules/blspec-rpicm3.make | 36 +++++++++++++++
 configs/platform-v7a/rules/image-rpicm3.make  | 46 +++++++++++++++++++
 doc/hardware_v7a_raspi3.rst                   | 24 +++++++++-
 11 files changed, 164 insertions(+), 4 deletions(-)
 create mode 100644 configs/platform-v7a/config/images/rpicm3.config
 create mode 100644 configs/platform-v7a/platforms/blspec-rpicm3.in
 create mode 100644 configs/platform-v7a/platforms/image-rpicm3.in
 create mode 100644 configs/platform-v7a/projectroot/loader/entries/rpicm3.conf
 create mode 100644 configs/platform-v7a/rules/blspec-rpicm3.make
 create mode 100644 configs/platform-v7a/rules/image-rpicm3.make

diff --git a/configs/platform-v7a/barebox-rpi2.config b/configs/platform-v7a/barebox-rpi2.config
index 4535c2963577..f71bd9ea30fd 100644
--- a/configs/platform-v7a/barebox-rpi2.config
+++ b/configs/platform-v7a/barebox-rpi2.config
@@ -57,7 +57,7 @@ CONFIG_MACH_RPI_COMMON=y
 # CONFIG_MACH_RPI is not set
 CONFIG_MACH_RPI2=y
 CONFIG_MACH_RPI3=y
-# CONFIG_MACH_RPI_CM3 is not set
+CONFIG_MACH_RPI_CM3=y
 # end of select Broadcom BCM283X boards to be built
 
 CONFIG_BAREBOX_MAX_IMAGE_SIZE=0xffffffff
diff --git a/configs/platform-v7a/barebox-rpi2.config.diff b/configs/platform-v7a/barebox-rpi2.config.diff
index 98f09156371d..6cada6782ea1 100644
--- a/configs/platform-v7a/barebox-rpi2.config.diff
+++ b/configs/platform-v7a/barebox-rpi2.config.diff
@@ -23,6 +23,7 @@ CONFIG_GPIO_RASPBERRYPI_EXP=y
 # CONFIG_KEYBOARD_QT1070 is undefined
 # CONFIG_LED_PCA955X is undefined
 CONFIG_MACH_RPI2=y
+CONFIG_MACH_RPI_CM3=y
 CONFIG_MCI_BCM283X=y
 CONFIG_MCI_BCM283X_SDHOST=y
 # CONFIG_MCI_MMCI is not set
diff --git a/configs/platform-v7a/config/images/rpicm3.config b/configs/platform-v7a/config/images/rpicm3.config
new file mode 100644
index 000000000000..4c10ac4917ca
--- /dev/null
+++ b/configs/platform-v7a/config/images/rpicm3.config
@@ -0,0 +1,30 @@
+image rpicm3-boot.vfat {
+	vfat {
+		files = { @FIRMWARE_RPI3@ }
+		file barebox.img { image = barebox-raspberry-pi-cm3.img }
+	}
+	size = 32M
+}
+
+image @IMAGE@ {
+	hdimage {
+		align = 1M
+		disk-signature = 0xbedf7893
+	}
+	partition boot {
+		image = rpicm3-boot.vfat
+		size = 32M
+		partition-type = 0xc
+		bootable = true
+	}
+	partition root-A {
+		image = root.ext2
+		partition-type = 0x83
+		size = 512M
+	}
+	partition data {
+		partition-type = 0x83
+		size = 512M
+	}
+}
+/* vim: set tabstop=8 noexpandtab : */
diff --git a/configs/platform-v7a/platformconfig b/configs/platform-v7a/platformconfig
index 2ef8b8e87b61..a42e598a14e8 100644
--- a/configs/platform-v7a/platformconfig
+++ b/configs/platform-v7a/platformconfig
@@ -152,7 +152,7 @@ PTXCONF_KERNEL_EXTRA_MAKEVARS=""
 PTXCONF_DTC=y
 PTXCONF_DTC_INSTALL_OFTREE=y
 PTXCONF_DTC_OFTREE_DTS_PATH="${PTXDIST_PLATFORMCONFIG_SUBDIR}/dts:${KERNEL_DIR}/arch/${GENERIC_KERNEL_ARCH}/boot/dts"
-PTXCONF_DTC_OFTREE_DTS="am335x-bone.dts am335x-boneblack.dts vexpress-v2p-ca9.dts bcm2836-rpi-2-b.dts imx6q-sabrelite.dts imx6sx-udoo-neo-full.dts imx6dl-riotboard.dts imx6q-nitrogen6x.dts imx6qp-nitrogen6_max.dts bcm2837-rpi-3-b.dts stm32mp157c-dk2.dts stm32mp157c-lxa-mc1.dts at91-sama5d27_som1_ek.dts at91-sama5d27_giantboard.dts"
+PTXCONF_DTC_OFTREE_DTS="am335x-bone.dts am335x-boneblack.dts vexpress-v2p-ca9.dts bcm2836-rpi-2-b.dts imx6q-sabrelite.dts imx6sx-udoo-neo-full.dts imx6dl-riotboard.dts imx6q-nitrogen6x.dts imx6qp-nitrogen6_max.dts bcm2837-rpi-3-b.dts bcm2837-rpi-cm3-io3.dts stm32mp157c-dk2.dts stm32mp157c-lxa-mc1.dts at91-sama5d27_som1_ek.dts at91-sama5d27_giantboard.dts"
 PTXCONF_DTC_EXTRA_ARGS=""
 PTXCONF_HOST_DTC=y
 PTXCONF_HOST_DTC_VERSION="1.6.0"
@@ -226,6 +226,7 @@ PTXCONF_BLSPEC_NITROGEN6X=y
 PTXCONF_BLSPEC_RIOTBOARD=y
 PTXCONF_BLSPEC_RPI2=y
 PTXCONF_BLSPEC_RPI3=y
+PTXCONF_BLSPEC_RPICM3=y
 PTXCONF_BLSPEC_SABRELITE=y
 PTXCONF_BLSPEC_SAMA5D27_GIANTBOARD=y
 PTXCONF_BLSPEC_SAMA5D27_SOM1_EK=y
@@ -278,6 +279,7 @@ PTXCONF_IMAGE_ROOT_TGZ_LABEL=""
 # PTXCONF_IMAGE_ROOT_UBIFS is not set
 PTXCONF_IMAGE_RPI2=y
 PTXCONF_IMAGE_RPI3=y
+PTXCONF_IMAGE_RPICM3=y
 PTXCONF_IMAGE_SABRELITE=y
 PTXCONF_IMAGE_SAMA5D27_GIANTBOARD=y
 PTXCONF_IMAGE_SAMA5D27_SOM1_EK=y
diff --git a/configs/platform-v7a/platforms/blspec-rpicm3.in b/configs/platform-v7a/platforms/blspec-rpicm3.in
new file mode 100644
index 000000000000..430346cca103
--- /dev/null
+++ b/configs/platform-v7a/platforms/blspec-rpicm3.in
@@ -0,0 +1,5 @@
+## SECTION=blspec
+
+config BLSPEC_RPICM3
+	tristate
+	prompt "/loader/entries/rpicm3.conf bootloader spec entry"
diff --git a/configs/platform-v7a/platforms/image-rpicm3.in b/configs/platform-v7a/platforms/image-rpicm3.in
new file mode 100644
index 000000000000..5cecf9ac00b3
--- /dev/null
+++ b/configs/platform-v7a/platforms/image-rpicm3.in
@@ -0,0 +1,12 @@
+## SECTION=image
+
+config IMAGE_RPICM3
+	tristate
+	select HOST_GENIMAGE
+	select HOST_DOSFSTOOLS
+	select HOST_MTOOLS
+	select IMAGE_ROOT_EXT
+	select BAREBOX_RPI2
+	prompt "Generate images/rpiCM3.hdimg"
+	help
+	  SD card image for the Raspberry Pi Compute Module 3
diff --git a/configs/platform-v7a/projectroot/loader/entries/rpicm3.conf b/configs/platform-v7a/projectroot/loader/entries/rpicm3.conf
new file mode 100644
index 000000000000..ada8d993b39a
--- /dev/null
+++ b/configs/platform-v7a/projectroot/loader/entries/rpicm3.conf
@@ -0,0 +1,6 @@
+title		Raspberry Pi CM3 - Pengutronix-DistroKit
+version		4.6
+options		rootwait rw
+linux		/boot/zImage
+devicetree	/boot/bcm2837-rpi-cm3-io3.dtb
+linux-appendroot true
diff --git a/configs/platform-v7a/rules/barebox-rpi2.make b/configs/platform-v7a/rules/barebox-rpi2.make
index 5f16584238d7..636ffebf4206 100644
--- a/configs/platform-v7a/rules/barebox-rpi2.make
+++ b/configs/platform-v7a/rules/barebox-rpi2.make
@@ -45,7 +45,7 @@ BAREBOX_RPI2_CONF_OPT := \
 
 BAREBOX_RPI2_MAKE_OPT := $(BAREBOX_RPI2_CONF_OPT)
 
-BAREBOX_RPI2_IMAGES := images/barebox-raspberry-pi-2.img images/barebox-raspberry-pi-3.img
+BAREBOX_RPI2_IMAGES := images/barebox-raspberry-pi-2.img images/barebox-raspberry-pi-3.img images/barebox-raspberry-pi-cm3.img
 BAREBOX_RPI2_IMAGES := $(addprefix $(BAREBOX_RPI2_BUILD_DIR)/,$(BAREBOX_RPI2_IMAGES))
 
 ifdef PTXCONF_BAREBOX_RPI2
diff --git a/configs/platform-v7a/rules/blspec-rpicm3.make b/configs/platform-v7a/rules/blspec-rpicm3.make
new file mode 100644
index 000000000000..4908a8bcb8c5
--- /dev/null
+++ b/configs/platform-v7a/rules/blspec-rpicm3.make
@@ -0,0 +1,36 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2021 by Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+PACKAGES-$(PTXCONF_BLSPEC_RPICM3) += blspec-rpicm3
+
+BLSPEC_RPICM3_VERSION	:= 4.6
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/blspec-rpicm3.targetinstall:
+	@$(call targetinfo)
+
+	@$(call install_init, blspec-rpicm3)
+	@$(call install_fixup,blspec-rpicm3,PRIORITY,optional)
+	@$(call install_fixup,blspec-rpicm3,SECTION,base)
+	@$(call install_fixup,blspec-rpicm3,AUTHOR,"Uwe Kleine-König <u.kleine-koenig@pengutronix.de>")
+	@$(call install_fixup,blspec-rpicm3,DESCRIPTION,missing)
+
+	@$(call install_alternative, blspec-rpicm3, 0, 0, 0644, \
+		/loader/entries/rpicm3.conf)
+
+	@$(call install_finish,blspec-rpicm3)
+
+	@$(call touch)
+
+# vim: syntax=make
diff --git a/configs/platform-v7a/rules/image-rpicm3.make b/configs/platform-v7a/rules/image-rpicm3.make
new file mode 100644
index 000000000000..81cdd262252a
--- /dev/null
+++ b/configs/platform-v7a/rules/image-rpicm3.make
@@ -0,0 +1,46 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2017 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
+#
+IMAGE_PACKAGES-$(PTXCONF_IMAGE_RPICM3) += image-rpicm3
+
+#
+# Paths and names
+#
+IMAGE_RPICM3		:= image-rpicm3
+IMAGE_RPICM3_DIR	:= $(BUILDDIR)/$(IMAGE_RPICM3)
+IMAGE_RPICM3_IMAGE	:= $(IMAGEDIR)/rpicm3.hdimg
+IMAGE_RPICM3_FILES	:= $(IMAGEDIR)/root.tgz
+IMAGE_RPICM3_CONFIG	:= rpicm3.config
+IMAGE_RPICM3_DATA_DIR	:= $(call ptx/in-platformconfigdir, rpi-firmware)
+IMAGE_RPICM3_DATA		:= \
+	$(wildcard $(IMAGE_RPICM3_DATA_DIR)/*.bin) \
+	$(wildcard $(IMAGE_RPICM3_DATA_DIR)/*.elf) \
+	$(wildcard $(IMAGE_RPICM3_DATA_DIR)/*.dat) \
+	$(wildcard $(IMAGE_RPICM3_DATA_DIR)/*.dtb) \
+	$(wildcard $(IMAGE_RPICM3_DATA_DIR)/config.txt)
+
+# ----------------------------------------------------------------------------
+# Image
+# ----------------------------------------------------------------------------
+
+define squote_and_comma
+$(subst $(ptx/def/space),$(comma) ,$(addsuffix $(ptx/def/squote),$(addprefix $(ptx/def/squote),$(1))))
+endef
+
+IMAGE_RPICM3_ENV := \
+        FIRMWARE_RPI3="$(call squote_and_comma,$(IMAGE_RPICM3_DATA))"
+
+$(IMAGE_RPICM3_IMAGE):
+	@$(call targetinfo)
+	@$(call image/genimage, IMAGE_RPICM3)
+	@$(call finish)
+
+# vim: syntax=make
diff --git a/doc/hardware_v7a_raspi3.rst b/doc/hardware_v7a_raspi3.rst
index d8742332f0e9..a4069c2998aa 100644
--- a/doc/hardware_v7a_raspi3.rst
+++ b/doc/hardware_v7a_raspi3.rst
@@ -7,9 +7,31 @@ Use the image ``platform-v7a/images/rpi3.hdimg`` and copy it onto your MicroSD-C
 
 Serial Console
 --------------
-The serial boot console is available at J8 (the GPIO header) with 115200 Baud and 8N1 on the following Pins:
+The serial boot console is available at J8 (the GPIO header) with 115200 Baud and 8N1 on the following pins:
 
 * J8.6: GND
 * J8.8: Tx
 * J8.10: Rx
 
+Raspberry Pi Compute Module 3+
+==============================
+
+Boot Media
+----------
+Use the image ``platform-v7a/images/rpicm3.hdimg`` and copy it onto your MicroSD-Card.
+
+If you have a hardware with eMMC the uSD slot is not functional, in this case
+you have to use `usbboot <https://github.com/raspberrypi/usbboot`_ to switch
+the hardware into USB mass storage mode. See their documentation and
+`"Flashing the Compute Module eMMC" at raspberrypi.org
+<https://www.raspberrypi.org/documentation/hardware/computemodule/cm-emmc-flashing.md>`
+for details.
+
+Serial Console
+--------------
+The serial boot console is available at the GPIOx BANK0 header (J5) on the following pins with the Compute Module IO Board V3.0:
+
+* GPIO14: TX
+* GPIO15: RX
+
+For GND there are several labeled pins available on J5.
-- 
2.30.1


_______________________________________________
DistroKit mailing list
DistroKit@pengutronix.de

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

* [DistroKit] [PATCH 4/5] v7a/kernel: Enable driver for usb ethernet dongles AX8817X
  2021-03-11 18:12 [DistroKit] [PATCH 1/5] v7a: stm32mp: images: allow differing board names for FSBL and SSBL Uwe Kleine-König
  2021-03-11 18:12 ` [DistroKit] [PATCH 2/5] v7a: barebox update 2020.09.0 -> 2021.02.0 Uwe Kleine-König
  2021-03-11 18:12 ` [DistroKit] [PATCH 3/5] v7a: Add support for Raspberry Pi CM3 Uwe Kleine-König
@ 2021-03-11 18:12 ` Uwe Kleine-König
  2021-03-11 18:37   ` Robert Schwebel
  2021-03-11 18:12 ` [DistroKit] [PATCH 5/5] v7a/barebox: Enable commands of_fixup_status and of_overlay Uwe Kleine-König
  2021-03-11 18:36 ` [DistroKit] [PATCH 1/5] v7a: stm32mp: images: allow differing board names for FSBL and SSBL Robert Schwebel
  4 siblings, 1 reply; 10+ messages in thread
From: Uwe Kleine-König @ 2021-03-11 18:12 UTC (permalink / raw)
  To: distrokit

This is enabled in barebox and also in the kernel for rpi and v8a.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
 configs/platform-v7a/kernelconfig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/configs/platform-v7a/kernelconfig b/configs/platform-v7a/kernelconfig
index 968a6c9b8253..c15342b9567c 100644
--- a/configs/platform-v7a/kernelconfig
+++ b/configs/platform-v7a/kernelconfig
@@ -1570,8 +1570,8 @@ CONFIG_USB_NET_DRIVERS=y
 # CONFIG_USB_RTL8152 is not set
 # CONFIG_USB_LAN78XX is not set
 CONFIG_USB_USBNET=y
-# CONFIG_USB_NET_AX8817X is not set
-# CONFIG_USB_NET_AX88179_178A is not set
+CONFIG_USB_NET_AX8817X=y
+CONFIG_USB_NET_AX88179_178A=y
 # CONFIG_USB_NET_CDCETHER is not set
 # CONFIG_USB_NET_CDC_EEM is not set
 # CONFIG_USB_NET_CDC_NCM is not set
-- 
2.30.1


_______________________________________________
DistroKit mailing list
DistroKit@pengutronix.de

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

* [DistroKit] [PATCH 5/5] v7a/barebox: Enable commands of_fixup_status and of_overlay
  2021-03-11 18:12 [DistroKit] [PATCH 1/5] v7a: stm32mp: images: allow differing board names for FSBL and SSBL Uwe Kleine-König
                   ` (2 preceding siblings ...)
  2021-03-11 18:12 ` [DistroKit] [PATCH 4/5] v7a/kernel: Enable driver for usb ethernet dongles AX8817X Uwe Kleine-König
@ 2021-03-11 18:12 ` Uwe Kleine-König
  2021-03-11 18:37   ` Robert Schwebel
  2021-03-11 18:36 ` [DistroKit] [PATCH 1/5] v7a: stm32mp: images: allow differing board names for FSBL and SSBL Robert Schwebel
  4 siblings, 1 reply; 10+ messages in thread
From: Uwe Kleine-König @ 2021-03-11 18:12 UTC (permalink / raw)
  To: distrokit

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
 configs/platform-v7a/barebox-am335x.config        | 7 ++++---
 configs/platform-v7a/barebox-am335x.config.diff   | 2 +-
 configs/platform-v7a/barebox-at91.config          | 7 ++++---
 configs/platform-v7a/barebox-at91.config.diff     | 2 +-
 configs/platform-v7a/barebox-mx6.config           | 7 ++++---
 configs/platform-v7a/barebox-mx6.config.diff      | 2 +-
 configs/platform-v7a/barebox-rpi2.config          | 7 ++++---
 configs/platform-v7a/barebox-rpi2.config.diff     | 2 +-
 configs/platform-v7a/barebox-stm32mp.config       | 7 ++++---
 configs/platform-v7a/barebox-stm32mp.config.diff  | 2 +-
 configs/platform-v7a/barebox-vexpress.config      | 7 ++++---
 configs/platform-v7a/barebox-vexpress.config.diff | 2 +-
 configs/platform-v7a/barebox.config               | 7 ++++---
 13 files changed, 34 insertions(+), 27 deletions(-)

diff --git a/configs/platform-v7a/barebox-am335x.config b/configs/platform-v7a/barebox-am335x.config
index d959c499b75a..f2393f9046ec 100644
--- a/configs/platform-v7a/barebox-am335x.config
+++ b/configs/platform-v7a/barebox-am335x.config
@@ -427,8 +427,8 @@ 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_OF_FIXUP_STATUS=y
+CONFIG_CMD_OF_OVERLAY=y
 CONFIG_CMD_OFTREE=y
 CONFIG_CMD_TIME=y
 CONFIG_CMD_STATE=y
@@ -457,7 +457,8 @@ CONFIG_OFDEVICE=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_OF_OVERLAY=y
+# CONFIG_OF_OVERLAY_LIVE is not set
 # CONFIG_AIODEV is not set
 CONFIG_ARM_AMBA=y
 
diff --git a/configs/platform-v7a/barebox-am335x.config.diff b/configs/platform-v7a/barebox-am335x.config.diff
index 75d489722ecf..cdc62eb37991 100644
--- a/configs/platform-v7a/barebox-am335x.config.diff
+++ b/configs/platform-v7a/barebox-am335x.config.diff
@@ -1,4 +1,4 @@
-550b611f7e000b2105486cbceddb2144
+a9df31c9913608b3be91d64ddcc7edb8
 # CONFIG_AM33XX_NET_BOOT is not set
 CONFIG_ARCH_AM33XX=y
 # CONFIG_ARCH_BCM283X is not set
diff --git a/configs/platform-v7a/barebox-at91.config b/configs/platform-v7a/barebox-at91.config
index 127b79f21e47..ea2ea6e6399f 100644
--- a/configs/platform-v7a/barebox-at91.config
+++ b/configs/platform-v7a/barebox-at91.config
@@ -420,8 +420,8 @@ 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_OF_FIXUP_STATUS=y
+CONFIG_CMD_OF_OVERLAY=y
 CONFIG_CMD_OFTREE=y
 CONFIG_CMD_TIME=y
 CONFIG_CMD_STATE=y
@@ -450,7 +450,8 @@ CONFIG_OFDEVICE=y
 CONFIG_OF_GPIO=y
 CONFIG_OF_BAREBOX_DRIVERS=y
 CONFIG_OF_BAREBOX_ENV_IN_FS=y
-# CONFIG_OF_OVERLAY is not set
+CONFIG_OF_OVERLAY=y
+# CONFIG_OF_OVERLAY_LIVE is not set
 # CONFIG_AIODEV is not set
 
 #
diff --git a/configs/platform-v7a/barebox-at91.config.diff b/configs/platform-v7a/barebox-at91.config.diff
index 3fa0142d83bd..6eb2eb3f5d36 100644
--- a/configs/platform-v7a/barebox-at91.config.diff
+++ b/configs/platform-v7a/barebox-at91.config.diff
@@ -1,4 +1,4 @@
-550b611f7e000b2105486cbceddb2144
+a9df31c9913608b3be91d64ddcc7edb8
 CONFIG_ARCH_AT91=y
 # CONFIG_ARCH_BCM283X is not set
 CONFIG_ARCH_TEXT_BASE=0x23f00000
diff --git a/configs/platform-v7a/barebox-mx6.config b/configs/platform-v7a/barebox-mx6.config
index 8af1a2a0fdf0..dea01826cf09 100644
--- a/configs/platform-v7a/barebox-mx6.config
+++ b/configs/platform-v7a/barebox-mx6.config
@@ -500,8 +500,8 @@ 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_OF_FIXUP_STATUS=y
+CONFIG_CMD_OF_OVERLAY=y
 CONFIG_CMD_OFTREE=y
 CONFIG_CMD_TIME=y
 CONFIG_CMD_STATE=y
@@ -530,7 +530,8 @@ CONFIG_OFDEVICE=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_OF_OVERLAY=y
+# CONFIG_OF_OVERLAY_LIVE is not set
 # CONFIG_AIODEV is not set
 CONFIG_ARM_AMBA=y
 
diff --git a/configs/platform-v7a/barebox-mx6.config.diff b/configs/platform-v7a/barebox-mx6.config.diff
index 58450f94a7c0..ebe17c243305 100644
--- a/configs/platform-v7a/barebox-mx6.config.diff
+++ b/configs/platform-v7a/barebox-mx6.config.diff
@@ -1,4 +1,4 @@
-550b611f7e000b2105486cbceddb2144
+a9df31c9913608b3be91d64ddcc7edb8
 # CONFIG_ARCH_BCM283X is not set
 CONFIG_ARCH_HAS_FEC_IMX=y
 CONFIG_ARCH_HAS_IMX_GPT=y
diff --git a/configs/platform-v7a/barebox-rpi2.config b/configs/platform-v7a/barebox-rpi2.config
index f71bd9ea30fd..2f8646a7e310 100644
--- a/configs/platform-v7a/barebox-rpi2.config
+++ b/configs/platform-v7a/barebox-rpi2.config
@@ -405,8 +405,8 @@ 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_OF_FIXUP_STATUS=y
+CONFIG_CMD_OF_OVERLAY=y
 CONFIG_CMD_OFTREE=y
 CONFIG_CMD_TIME=y
 CONFIG_CMD_STATE=y
@@ -435,7 +435,8 @@ CONFIG_OFDEVICE=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_OF_OVERLAY=y
+# CONFIG_OF_OVERLAY_LIVE is not set
 # CONFIG_AIODEV is not set
 CONFIG_ARM_AMBA=y
 
diff --git a/configs/platform-v7a/barebox-rpi2.config.diff b/configs/platform-v7a/barebox-rpi2.config.diff
index 6cada6782ea1..743d9f51c770 100644
--- a/configs/platform-v7a/barebox-rpi2.config.diff
+++ b/configs/platform-v7a/barebox-rpi2.config.diff
@@ -1,4 +1,4 @@
-550b611f7e000b2105486cbceddb2144
+a9df31c9913608b3be91d64ddcc7edb8
 CONFIG_ARM_ASM_UNIFIED=y
 CONFIG_BOOTM_INITRD=y
 # CONFIG_CMD_I2C is undefined
diff --git a/configs/platform-v7a/barebox-stm32mp.config b/configs/platform-v7a/barebox-stm32mp.config
index b64fedbd221e..1f4618d4e47d 100644
--- a/configs/platform-v7a/barebox-stm32mp.config
+++ b/configs/platform-v7a/barebox-stm32mp.config
@@ -399,8 +399,8 @@ 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_OF_FIXUP_STATUS=y
+CONFIG_CMD_OF_OVERLAY=y
 CONFIG_CMD_OFTREE=y
 CONFIG_CMD_TIME=y
 CONFIG_CMD_STATE=y
@@ -429,7 +429,8 @@ CONFIG_OFDEVICE=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_OF_OVERLAY=y
+# CONFIG_OF_OVERLAY_LIVE is not set
 # CONFIG_AIODEV is not set
 CONFIG_ARM_AMBA=y
 
diff --git a/configs/platform-v7a/barebox-stm32mp.config.diff b/configs/platform-v7a/barebox-stm32mp.config.diff
index 3212fc145b9c..da9534c84b16 100644
--- a/configs/platform-v7a/barebox-stm32mp.config.diff
+++ b/configs/platform-v7a/barebox-stm32mp.config.diff
@@ -1,4 +1,4 @@
-550b611f7e000b2105486cbceddb2144
+a9df31c9913608b3be91d64ddcc7edb8
 # CONFIG_ARCH_BCM283X is not set
 CONFIG_ARCH_HAS_RESET_CONTROLLER=y
 CONFIG_ARCH_NR_GPIO=416
diff --git a/configs/platform-v7a/barebox-vexpress.config b/configs/platform-v7a/barebox-vexpress.config
index 1765134bac45..1e46f68bc2ba 100644
--- a/configs/platform-v7a/barebox-vexpress.config
+++ b/configs/platform-v7a/barebox-vexpress.config
@@ -395,8 +395,8 @@ 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_OF_FIXUP_STATUS=y
+CONFIG_CMD_OF_OVERLAY=y
 CONFIG_CMD_OFTREE=y
 CONFIG_CMD_TIME=y
 CONFIG_CMD_STATE=y
@@ -424,7 +424,8 @@ CONFIG_DTC=y
 CONFIG_OFDEVICE=y
 CONFIG_OF_BAREBOX_DRIVERS=y
 # CONFIG_OF_BAREBOX_ENV_IN_FS is not set
-# CONFIG_OF_OVERLAY is not set
+CONFIG_OF_OVERLAY=y
+# CONFIG_OF_OVERLAY_LIVE is not set
 # CONFIG_AIODEV is not set
 CONFIG_ARM_AMBA=y
 
diff --git a/configs/platform-v7a/barebox-vexpress.config.diff b/configs/platform-v7a/barebox-vexpress.config.diff
index 211256bd7d71..5d0b1d64e516 100644
--- a/configs/platform-v7a/barebox-vexpress.config.diff
+++ b/configs/platform-v7a/barebox-vexpress.config.diff
@@ -1,4 +1,4 @@
-550b611f7e000b2105486cbceddb2144
+a9df31c9913608b3be91d64ddcc7edb8
 CONFIG_AMBA_SP804=y
 # CONFIG_ARCH_BCM283X is not set
 CONFIG_ARCH_VEXPRESS=y
diff --git a/configs/platform-v7a/barebox.config b/configs/platform-v7a/barebox.config
index fd9da0519224..eac71751fdb9 100644
--- a/configs/platform-v7a/barebox.config
+++ b/configs/platform-v7a/barebox.config
@@ -409,8 +409,8 @@ 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_OF_FIXUP_STATUS=y
+CONFIG_CMD_OF_OVERLAY=y
 CONFIG_CMD_OFTREE=y
 CONFIG_CMD_TIME=y
 CONFIG_CMD_STATE=y
@@ -439,7 +439,8 @@ CONFIG_OFDEVICE=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_OF_OVERLAY=y
+# CONFIG_OF_OVERLAY_LIVE is not set
 # CONFIG_AIODEV is not set
 CONFIG_ARM_AMBA=y
 
-- 
2.30.1


_______________________________________________
DistroKit mailing list
DistroKit@pengutronix.de

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

* Re: [DistroKit] [PATCH 1/5] v7a: stm32mp: images: allow differing board names for FSBL and SSBL
  2021-03-11 18:12 [DistroKit] [PATCH 1/5] v7a: stm32mp: images: allow differing board names for FSBL and SSBL Uwe Kleine-König
                   ` (3 preceding siblings ...)
  2021-03-11 18:12 ` [DistroKit] [PATCH 5/5] v7a/barebox: Enable commands of_fixup_status and of_overlay Uwe Kleine-König
@ 2021-03-11 18:36 ` Robert Schwebel
  4 siblings, 0 replies; 10+ messages in thread
From: Robert Schwebel @ 2021-03-11 18:36 UTC (permalink / raw)
  To: Uwe Kleine-König; +Cc: distrokit, Ahmad Fatoum

On Thu, Mar 11, 2021 at 07:12:52PM +0100, Uwe Kleine-König wrote:
> From: Ahmad Fatoum <a.fatoum@pengutronix.de>
> 
> So far, the two STM32MP1 boards we support had the same board name
> string within the file names of first stage (TF-A) and second stage
> (barebox) bootloaders. This will no longer be true when updating
> to a more recent barebox version, as the dk2 image's name has been
> changed to dkx to indicate support for both dk1 and dk2.
> Prepare for this by splitting up STM32MP_BOARD_NAME.
> 
> No functional change.
> 
> Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
> ---
>  configs/platform-v7a/config/images/stm32mp.config     | 6 +++---
>  configs/platform-v7a/rules/image-lxa-mc1.make         | 3 ++-
>  configs/platform-v7a/rules/image-stm32mp157c-dk2.make | 3 ++-
>  3 files changed, 7 insertions(+), 5 deletions(-)

Applied 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    |

_______________________________________________
DistroKit mailing list
DistroKit@pengutronix.de

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

* Re: [DistroKit] [PATCH 2/5] v7a: barebox update 2020.09.0 -> 2021.02.0
  2021-03-11 18:12 ` [DistroKit] [PATCH 2/5] v7a: barebox update 2020.09.0 -> 2021.02.0 Uwe Kleine-König
@ 2021-03-11 18:36   ` Robert Schwebel
  0 siblings, 0 replies; 10+ messages in thread
From: Robert Schwebel @ 2021-03-11 18:36 UTC (permalink / raw)
  To: Uwe Kleine-König; +Cc: distrokit, Uwe Kleine-König

On Thu, Mar 11, 2021 at 07:12:53PM +0100, Uwe Kleine-König wrote:
> From: Uwe Kleine-König <uwe@kleine-koenig.org>
> 
> One new patch is required to fix a regression for USB on rpi3. Also USB
> on rpi3 requires CONFIG_USB_NOP_XCEIV=y now which is enabled in the rpi2
> config now.
> 
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
> ---
>  .../platform-v7a/barebox-am335x-mlo.config    | 17 +++++------
>  configs/platform-v7a/barebox-am335x.config    | 24 +++++++--------
>  .../platform-v7a/barebox-am335x.config.diff   | 16 +++-------
>  configs/platform-v7a/barebox-at91.config      | 13 ++++++++-
>  configs/platform-v7a/barebox-at91.config.diff |  4 +--
>  configs/platform-v7a/barebox-mx6.config       | 29 +++++++++++--------
>  configs/platform-v7a/barebox-mx6.config.diff  | 20 +++++--------
>  configs/platform-v7a/barebox-rpi2.config      | 16 ++++++++--
>  configs/platform-v7a/barebox-rpi2.config.diff |  5 +++-
>  configs/platform-v7a/barebox-stm32mp.config   | 15 ++++++++--
>  .../platform-v7a/barebox-stm32mp.config.diff  |  6 ++--
>  configs/platform-v7a/barebox-vexpress.config  | 12 +++++++-
>  .../platform-v7a/barebox-vexpress.config.diff |  4 +--
>  configs/platform-v7a/barebox.config           | 12 +++++++-
>  configs/platform-v7a/kernelconfig             | 10 +++++++
>  .../bcm283X-Select-OF-clock-providers.patch   | 29 +++++++++++++++++++
>  .../patches/barebox-2021.02.0/series          |  4 +++
>  configs/platform-v7a/platformconfig           |  4 +--
>  .../platform-v7a/rules/barebox-stm32mp.make   |  2 +-
>  .../rules/image-stm32mp157c-dk2.make          |  2 +-
>  configs/platform-v7a/run                      |  2 +-
>  21 files changed, 167 insertions(+), 79 deletions(-)
>  create mode 100644 configs/platform-v7a/patches/barebox-2021.02.0/bcm283X-Select-OF-clock-providers.patch
>  create mode 100644 configs/platform-v7a/patches/barebox-2021.02.0/series

Applied 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    |

_______________________________________________
DistroKit mailing list
DistroKit@pengutronix.de

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

* Re: [DistroKit] [PATCH 3/5] v7a: Add support for Raspberry Pi CM3
  2021-03-11 18:12 ` [DistroKit] [PATCH 3/5] v7a: Add support for Raspberry Pi CM3 Uwe Kleine-König
@ 2021-03-11 18:37   ` Robert Schwebel
  0 siblings, 0 replies; 10+ messages in thread
From: Robert Schwebel @ 2021-03-11 18:37 UTC (permalink / raw)
  To: Uwe Kleine-König; +Cc: distrokit

On Thu, Mar 11, 2021 at 07:12:54PM +0100, Uwe Kleine-König wrote:
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
> ---
>  configs/platform-v7a/barebox-rpi2.config      |  2 +-
>  configs/platform-v7a/barebox-rpi2.config.diff |  1 +
>  .../platform-v7a/config/images/rpicm3.config  | 30 ++++++++++++
>  configs/platform-v7a/platformconfig           |  4 +-
>  .../platform-v7a/platforms/blspec-rpicm3.in   |  5 ++
>  .../platform-v7a/platforms/image-rpicm3.in    | 12 +++++
>  .../projectroot/loader/entries/rpicm3.conf    |  6 +++
>  configs/platform-v7a/rules/barebox-rpi2.make  |  2 +-
>  configs/platform-v7a/rules/blspec-rpicm3.make | 36 +++++++++++++++
>  configs/platform-v7a/rules/image-rpicm3.make  | 46 +++++++++++++++++++
>  doc/hardware_v7a_raspi3.rst                   | 24 +++++++++-
>  11 files changed, 164 insertions(+), 4 deletions(-)
>  create mode 100644 configs/platform-v7a/config/images/rpicm3.config
>  create mode 100644 configs/platform-v7a/platforms/blspec-rpicm3.in
>  create mode 100644 configs/platform-v7a/platforms/image-rpicm3.in
>  create mode 100644 configs/platform-v7a/projectroot/loader/entries/rpicm3.conf
>  create mode 100644 configs/platform-v7a/rules/blspec-rpicm3.make
>  create mode 100644 configs/platform-v7a/rules/image-rpicm3.make

Applied 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    |

_______________________________________________
DistroKit mailing list
DistroKit@pengutronix.de

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

* Re: [DistroKit] [PATCH 4/5] v7a/kernel: Enable driver for usb ethernet dongles AX8817X
  2021-03-11 18:12 ` [DistroKit] [PATCH 4/5] v7a/kernel: Enable driver for usb ethernet dongles AX8817X Uwe Kleine-König
@ 2021-03-11 18:37   ` Robert Schwebel
  0 siblings, 0 replies; 10+ messages in thread
From: Robert Schwebel @ 2021-03-11 18:37 UTC (permalink / raw)
  To: Uwe Kleine-König; +Cc: distrokit

On Thu, Mar 11, 2021 at 07:12:55PM +0100, Uwe Kleine-König wrote:
> This is enabled in barebox and also in the kernel for rpi and v8a.
> 
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
> ---
>  configs/platform-v7a/kernelconfig | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Applied 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    |

_______________________________________________
DistroKit mailing list
DistroKit@pengutronix.de

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

* Re: [DistroKit] [PATCH 5/5] v7a/barebox: Enable commands of_fixup_status and of_overlay
  2021-03-11 18:12 ` [DistroKit] [PATCH 5/5] v7a/barebox: Enable commands of_fixup_status and of_overlay Uwe Kleine-König
@ 2021-03-11 18:37   ` Robert Schwebel
  0 siblings, 0 replies; 10+ messages in thread
From: Robert Schwebel @ 2021-03-11 18:37 UTC (permalink / raw)
  To: Uwe Kleine-König; +Cc: distrokit

On Thu, Mar 11, 2021 at 07:12:56PM +0100, Uwe Kleine-König wrote:
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
> ---
>  configs/platform-v7a/barebox-am335x.config        | 7 ++++---
>  configs/platform-v7a/barebox-am335x.config.diff   | 2 +-
>  configs/platform-v7a/barebox-at91.config          | 7 ++++---
>  configs/platform-v7a/barebox-at91.config.diff     | 2 +-
>  configs/platform-v7a/barebox-mx6.config           | 7 ++++---
>  configs/platform-v7a/barebox-mx6.config.diff      | 2 +-
>  configs/platform-v7a/barebox-rpi2.config          | 7 ++++---
>  configs/platform-v7a/barebox-rpi2.config.diff     | 2 +-
>  configs/platform-v7a/barebox-stm32mp.config       | 7 ++++---
>  configs/platform-v7a/barebox-stm32mp.config.diff  | 2 +-
>  configs/platform-v7a/barebox-vexpress.config      | 7 ++++---
>  configs/platform-v7a/barebox-vexpress.config.diff | 2 +-
>  configs/platform-v7a/barebox.config               | 7 ++++---
>  13 files changed, 34 insertions(+), 27 deletions(-)

Applied 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    |

_______________________________________________
DistroKit mailing list
DistroKit@pengutronix.de

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

end of thread, other threads:[~2021-03-11 18:37 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-11 18:12 [DistroKit] [PATCH 1/5] v7a: stm32mp: images: allow differing board names for FSBL and SSBL Uwe Kleine-König
2021-03-11 18:12 ` [DistroKit] [PATCH 2/5] v7a: barebox update 2020.09.0 -> 2021.02.0 Uwe Kleine-König
2021-03-11 18:36   ` Robert Schwebel
2021-03-11 18:12 ` [DistroKit] [PATCH 3/5] v7a: Add support for Raspberry Pi CM3 Uwe Kleine-König
2021-03-11 18:37   ` Robert Schwebel
2021-03-11 18:12 ` [DistroKit] [PATCH 4/5] v7a/kernel: Enable driver for usb ethernet dongles AX8817X Uwe Kleine-König
2021-03-11 18:37   ` Robert Schwebel
2021-03-11 18:12 ` [DistroKit] [PATCH 5/5] v7a/barebox: Enable commands of_fixup_status and of_overlay Uwe Kleine-König
2021-03-11 18:37   ` Robert Schwebel
2021-03-11 18:36 ` [DistroKit] [PATCH 1/5] v7a: stm32mp: images: allow differing board names for FSBL and SSBL Robert Schwebel

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