* [DistroKit] [PATCH v1 1/5] v7a_noneon: barebox: version bump v2023.01.0 → v2023.07.1
@ 2023-07-06 11:44 Oleksij Rempel
2023-07-06 11:44 ` [DistroKit] [PATCH v1 2/5] v7a_noneon: use upstreamed devicetree the KSZ9477 EVB Oleksij Rempel
` (4 more replies)
0 siblings, 5 replies; 12+ messages in thread
From: Oleksij Rempel @ 2023-07-06 11:44 UTC (permalink / raw)
To: distrokit; +Cc: Oleksij Rempel
This version updated includes some patches for the Microchip KSZ9477
and support for the Microchip SAMA5D3 Ethernet Development System (EDS)
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
---
.../platform-v7a_noneon/barebox-at91.config | 66 ++++--
.../barebox-at91.config.diff | 29 ++-
.../barebox-vexpress.config | 69 ++++--
.../barebox-vexpress.config.diff | 9 +-
configs/platform-v7a_noneon/barebox.config | 74 ++++--
...nable-ddramc-for-sama5d3-and-sama5d4.patch | 32 +++
...port-for-SAMA5D3-Ethernet-Developmen.patch | 219 ++++++++++++++++++
...ip-ksz9477-evb-migrate-to-sama5d3_ba.patch | 23 ++
...0-customers-pengutronix-distrokit-sa.patch | 22 ++
.../patches/barebox-2023.07.1/series | 13 ++
configs/platform-v7a_noneon/platformconfig | 4 +-
11 files changed, 476 insertions(+), 84 deletions(-)
create mode 100644 configs/platform-v7a_noneon/patches/barebox-2023.07.1/0001-ARM-at91-enable-ddramc-for-sama5d3-and-sama5d4.patch
create mode 100644 configs/platform-v7a_noneon/patches/barebox-2023.07.1/0002-ARM-at91-add-support-for-SAMA5D3-Ethernet-Developmen.patch
create mode 100644 configs/platform-v7a_noneon/patches/barebox-2023.07.1/0003-ARM-at91-microchip-ksz9477-evb-migrate-to-sama5d3_ba.patch
create mode 100644 configs/platform-v7a_noneon/patches/barebox-2023.07.1/0101-Release-2023.07.0-customers-pengutronix-distrokit-sa.patch
create mode 100644 configs/platform-v7a_noneon/patches/barebox-2023.07.1/series
diff --git a/configs/platform-v7a_noneon/barebox-at91.config b/configs/platform-v7a_noneon/barebox-at91.config
index 9c18061..584bfae 100644
--- a/configs/platform-v7a_noneon/barebox-at91.config
+++ b/configs/platform-v7a_noneon/barebox-at91.config
@@ -1,42 +1,35 @@
#
# Automatically generated file; DO NOT EDIT.
-# Barebox/arm 2022.05.0 Configuration
+# Barebox/arm 2023.07.1-20230706-1 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_VERSATILE is not set
+# CONFIG_ARCH_VEXPRESS is not set
#
# Processor Type
@@ -53,10 +46,12 @@ CONFIG_HAVE_AT91_UTMI=y
CONFIG_HAVE_AT91_USB_CLK=y
CONFIG_COMMON_CLK_AT91=y
CONFIG_HAVE_AT91_SMD=y
+CONFIG_HAVE_AT91_DDRAMC=y
CONFIG_AT91_MCI_PBL=y
CONFIG_AT91SAM9_SMC=y
CONFIG_HAVE_AT91SAM9_RST=y
CONFIG_SOC_SAMA5=y
+CONFIG_SOC_SAMA5_MULTI=y
CONFIG_SOC_SAMA5D3=y
CONFIG_ARCH_TEXT_BASE=0x23f00000
@@ -68,19 +63,23 @@ CONFIG_AT91_MULTI_BOARDS=y
# CONFIG_MACH_AT91SAM9263EK is not set
# CONFIG_MACH_AT91SAM9X5EK is not set
CONFIG_MACH_MICROCHIP_KSZ9477_EVB=y
+# CONFIG_MACH_MICROCHIP_SAMA5D3_EDS is not set
# CONFIG_MACH_SAMA5D3_XPLAINED is not set
# CONFIG_MACH_SAMA5D27_SOM1 is not set
# CONFIG_MACH_SAMA5D27_GIANTBOARD is not set
+# CONFIG_MACH_SAMA5D4_WIFX is not set
#
# AT91 Board Options
#
-CONFIG_BAREBOX_MAX_IMAGE_SIZE=0xffffffff
# CONFIG_BOARD_ARM_GENERIC_DT is not set
CONFIG_AEABI=y
# CONFIG_ARM_BOARD_APPEND_ATAG is not set
# end of System Type
+# CONFIG_64BIT is not set
+CONFIG_32BIT=y
+
#
# ARM specific settings
#
@@ -97,11 +96,10 @@ CONFIG_HAS_KALLSYMS=y
CONFIG_HAS_MODULES=y
CONFIG_HAS_CACHE=y
CONFIG_HAS_DMA=y
-CONFIG_HAS_ARCH_SJLJ=y
+CONFIG_ARCH_HAS_SJLJ=y
CONFIG_GENERIC_GPIO=y
CONFIG_BLOCK=y
CONFIG_BLOCK_WRITE=y
-CONFIG_USE_COMPRESSED_DTB=y
CONFIG_FILETYPE=y
CONFIG_BINFMT=y
CONFIG_UIMAGE=y
@@ -130,6 +128,7 @@ 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
@@ -138,7 +137,7 @@ CONFIG_IMAGE_COMPRESSION=y
# CONFIG_IMAGE_COMPRESSION_XZKERN is not set
CONFIG_IMAGE_COMPRESSION_NONE=y
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
@@ -200,7 +199,6 @@ CONFIG_PARTITION_DISK_DOS=y
# CONFIG_PARTITION_DISK_EFI is not set
CONFIG_ENV_HANDLING=y
CONFIG_DEFAULT_ENVIRONMENT=y
-# CONFIG_DEFAULT_COMPRESSION_LZO is not set
CONFIG_DEFAULT_COMPRESSION_NONE=y
CONFIG_DEFAULT_ENVIRONMENT_GENERIC_NEW=y
# CONFIG_DEFAULT_ENVIRONMENT_GENERIC_NEW_IKCONFIG is not set
@@ -236,6 +234,7 @@ CONFIG_DEFAULT_LOGLEVEL=6
# CONFIG_DEBUG_LL is not set
CONFIG_DEBUG_AT91_UART_BASE=0xffffee00
# 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
@@ -244,6 +243,7 @@ CONFIG_HAVE_ARCH_KASAN=y
CONFIG_CC_HAS_KASAN_GENERIC=y
# CONFIG_KASAN is not set
# CONFIG_COMPILE_TEST is not set
+# CONFIG_WERROR is not set
# end of Debugging
#
@@ -266,6 +266,7 @@ CONFIG_COMPILE_HASH=y
CONFIG_CMD_AT91CLK=y
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
@@ -337,6 +338,7 @@ 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
@@ -427,15 +429,18 @@ CONFIG_CMD_USBGADGET=y
CONFIG_CMD_BAREBOX_UPDATE=y
# CONFIG_CMD_BLOBGEN is not set
# CONFIG_CMD_FIRMWARELOAD is not set
+# CONFIG_CMD_OF_COMPATIBLE 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 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
@@ -481,8 +486,9 @@ CONFIG_PHYLIB=y
#
# Network drivers
#
-# CONFIG_DRIVER_NET_DESIGNWARE is not set
-# CONFIG_DRIVER_NET_DESIGNWARE_EQOS is not set
+# 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
@@ -507,6 +513,7 @@ CONFIG_DRIVER_NET_MICREL=y
# CONFIG_LXT_PHY is not set
# CONFIG_MARVELL_PHY is not set
CONFIG_MICREL_PHY=y
+# CONFIG_MOTORCOMM_PHY is not set
# CONFIG_NATIONAL_PHY is not set
# CONFIG_REALTEK_PHY is not set
# CONFIG_SMSC_PHY is not set
@@ -618,6 +625,7 @@ CONFIG_HAVE_CLK=y
CONFIG_CLKDEV_LOOKUP=y
CONFIG_COMMON_CLK=y
CONFIG_COMMON_CLK_OF_PROVIDER=y
+CONFIG_COMMON_CLK_GPIO=y
#
# Clocksource
@@ -634,6 +642,7 @@ CONFIG_CLOCKSOURCE_ARM_ARCHITECTED_TIMER=y
# CONFIG_MFD_MC13XXX is not set
CONFIG_MFD_SYSCON=y
# CONFIG_MFD_ATMEL_FLEXCOM is not set
+CONFIG_MFD_ATMEL_SMC=y
# end of Multifunction device drivers
#
@@ -685,6 +694,7 @@ CONFIG_GPIOLIB=y
# CONFIG_GPIO_GENERIC_PLATFORM is not set
# CONFIG_GPIO_DESIGNWARE is not set
# CONFIG_GPIO_SIFIVE is not set
+# CONFIG_GPIO_LATCH is not set
# end of GPIO
CONFIG_W1=y
@@ -737,6 +747,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
#
@@ -746,11 +757,16 @@ 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
#
+CONFIG_ATMEL_EBI=y
# end of Memory controller drivers
#
@@ -801,6 +817,7 @@ 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
@@ -858,11 +875,11 @@ CONFIG_IMAGE_SPARSE=y
#
# end of Library gui routines
-# CONFIG_BAREBOX_LOGO is not set
-# 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
+CONFIG_ARCH_HAS_ZERO_PAGE=y
# end of Library routines
#
@@ -888,6 +905,7 @@ CONFIG_DIGEST_MD5_GENERIC=y
# Firmware files
#
CONFIG_EXTRA_FIRMWARE_DIR="firmware"
+CONFIG_MISSING_FIRMWARE_ERROR=y
# end of Firmware files
#
diff --git a/configs/platform-v7a_noneon/barebox-at91.config.diff b/configs/platform-v7a_noneon/barebox-at91.config.diff
index d4bd071..a183a3d 100644
--- a/configs/platform-v7a_noneon/barebox-at91.config.diff
+++ b/configs/platform-v7a_noneon/barebox-at91.config.diff
@@ -1,16 +1,20 @@
-503a2995018ed6b994350193b131ee59
+1dedd85e90c7b6ae44712caf6c69913b
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_OPTIMZED_STRING_FUNCTIONS is not set
# CONFIG_ARM_SCMI_PROTOCOL is undefined
# CONFIG_ARM_SECURE_MONITOR is undefined
# CONFIG_ARM_SMCCC is undefined
-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_BOARD_ARM_GENERIC_DT is not set
# CONFIG_BOARD_GENERIC_DT is undefined
CONFIG_BOOTM_OFTREE_UIMAGE=y
@@ -49,9 +53,7 @@ CONFIG_COMPILE_LOGLEVEL=6
# CONFIG_CONSOLE_ACTIVATE_FIRST is not set
CONFIG_CONSOLE_ACTIVATE_NONE=y
CONFIG_DEBUG_AT91_UART_BASE=0xffffee00
-# CONFIG_DEFAULT_COMPRESSION_BZIP2 is undefined
-# CONFIG_DEFAULT_COMPRESSION_GZIP is undefined
-# CONFIG_DEFAULT_COMPRESSION_XZ is undefined
+# CONFIG_DEBUG_PBL is not set
# CONFIG_DEFAULT_ENVIRONMENT_GENERIC_NEW_MENU is undefined
# CONFIG_DIGEST_SHA1_GENERIC is not set
CONFIG_DRIVER_NET_MACB=y
@@ -70,14 +72,15 @@ CONFIG_DRIVER_SPI_ATMEL=y
# CONFIG_GPIO_WATCHDOG is undefined
CONFIG_HAS_MACB=y
CONFIG_HAVE_AT91SAM9_RST=y
+CONFIG_HAVE_AT91_DDRAMC=y
CONFIG_HAVE_AT91_SMD=y
CONFIG_HAVE_AT91_USB_CLK=y
CONFIG_HAVE_AT91_UTMI=y
# CONFIG_HAVE_DIGEST_SHA1 is undefined
-CONFIG_HAVE_MACH_ARM_HEAD=y
# CONFIG_HWRNG is not set
# CONFIG_I2C is not set
# CONFIG_I2C_ALGOBIT is undefined
+# CONFIG_I2C_BCM283X is undefined
# CONFIG_I2C_DESIGNWARE is undefined
# CONFIG_I2C_GPIO is undefined
# CONFIG_I2C_MUX is undefined
@@ -93,14 +96,18 @@ CONFIG_IMD_TARGET=y
# CONFIG_MACH_AT91SAM9263EK is not set
# CONFIG_MACH_AT91SAM9X5EK is not set
CONFIG_MACH_MICROCHIP_KSZ9477_EVB=y
+# CONFIG_MACH_MICROCHIP_SAMA5D3_EDS 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 is not set
# CONFIG_MACH_SAMA5D27_SOM1 is not set
# CONFIG_MACH_SAMA5D3_XPLAINED is not set
+# CONFIG_MACH_SAMA5D4_WIFX is not set
# CONFIG_MACH_SKOV_ARM9CPU is not set
CONFIG_MCI_ATMEL=y
CONFIG_MCI_ATMEL_PBL=y
@@ -111,20 +118,26 @@ CONFIG_MCI_ATMEL_SDHCI=y
CONFIG_MCI_MMC_BOOT_PARTITIONS=y
CONFIG_MCI_SDHCI=y
# CONFIG_MCI_STARTUP is not set
+# CONFIG_MEMTEST is undefined
# CONFIG_MENUTREE is undefined
# CONFIG_MFD_ACT8846 is undefined
+CONFIG_MFD_ATMEL_SMC=y
+# CONFIG_MFD_AXP20X_I2C is undefined
# CONFIG_MFD_DA9053 is undefined
# CONFIG_MFD_DA9063 is undefined
# CONFIG_MFD_LP3972 is undefined
# CONFIG_MFD_MC34704 is undefined
# CONFIG_MFD_MC9SDZ60 is undefined
+# CONFIG_MFD_RK808 is undefined
# CONFIG_MFD_RN568PMIC is undefined
+# CONFIG_MFD_ROHM_BD718XX is undefined
# CONFIG_MFD_STMPE is undefined
# CONFIG_MFD_STPMIC1 is undefined
CONFIG_MFD_SYSCON=y
# CONFIG_MFD_TWL4030 is undefined
# CONFIG_MFD_TWL6030 is undefined
CONFIG_MICREL_PHY=y
+# CONFIG_MMUINFO is undefined
CONFIG_MTD_M25P80=y
CONFIG_MTD_SPI_NOR=y
# CONFIG_MTD_SPI_NOR_USE_4K_SECTORS is not set
@@ -147,6 +160,7 @@ CONFIG_REGULATOR_FIXED=y
# CONFIG_SERIAL_AMBA_PL011 is undefined
CONFIG_SOC_SAMA5=y
CONFIG_SOC_SAMA5D3=y
+CONFIG_SOC_SAMA5_MULTI=y
CONFIG_SPI_ATMEL_QUADSPI=y
# CONFIG_SPI_CADENCE_QUADSPI is not set
CONFIG_SPI_MEM=y
@@ -158,6 +172,7 @@ CONFIG_SPI_MEM=y
# CONFIG_SYSTEMD_OF_WATCHDOG is undefined
CONFIG_SYSTEM_PARTITIONS=y
# CONFIG_THUMB2_BAREBOX is undefined
+# CONFIG_TYPEC_TUSB320 is undefined
# CONFIG_USB_DWC2_GADGET is undefined
# CONFIG_USB_DWC2_HOST is undefined
# CONFIG_USB_DWC3 is undefined
@@ -167,10 +182,10 @@ CONFIG_USB_GADGET_DUALSPEED=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_VIRTIO_MENU=y
# CONFIG_VIRTIO_MMIO is not set
CONFIG_W1=y
diff --git a/configs/platform-v7a_noneon/barebox-vexpress.config b/configs/platform-v7a_noneon/barebox-vexpress.config
index 2caf92d..d2b7aa6 100644
--- a/configs/platform-v7a_noneon/barebox-vexpress.config
+++ b/configs/platform-v7a_noneon/barebox-vexpress.config
@@ -1,6 +1,6 @@
#
# Automatically generated file; DO NOT EDIT.
-# Barebox/arm 2022.05.0 Configuration
+# Barebox/arm 2023.07.1-20230706-1 Configuration
#
CONFIG_ARM=y
CONFIG_ARM_LINUX=y
@@ -9,32 +9,29 @@ 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_VERSATILE is not set
+CONFIG_ARCH_VEXPRESS=y
#
# Processor Type
@@ -48,7 +45,6 @@ CONFIG_CPU_32v7=y
#
# CONFIG_BOOT_ENDIANNESS_SWITCH is not set
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
@@ -57,6 +53,9 @@ CONFIG_AEABI=y
# CONFIG_ARM_BOARD_APPEND_ATAG is not set
# end of System Type
+# CONFIG_64BIT is not set
+CONFIG_32BIT=y
+
#
# ARM specific settings
#
@@ -73,7 +72,7 @@ CONFIG_HAS_KALLSYMS=y
CONFIG_HAS_MODULES=y
CONFIG_HAS_CACHE=y
CONFIG_HAS_DMA=y
-CONFIG_HAS_ARCH_SJLJ=y
+CONFIG_ARCH_HAS_SJLJ=y
CONFIG_BLOCK=y
CONFIG_BLOCK_WRITE=y
CONFIG_FILETYPE=y
@@ -93,6 +92,7 @@ CONFIG_LOCALVERSION=""
CONFIG_LOCALVERSION_AUTO=y
CONFIG_BANNER=y
CONFIG_MEMINFO=y
+CONFIG_MEMTEST=y
CONFIG_ENVIRONMENT_VARIABLES=y
CONFIG_GLOBALVAR=y
CONFIG_NVVAR=y
@@ -114,7 +114,8 @@ CONFIG_IMAGE_COMPRESSION_LZO=y
# CONFIG_IMAGE_COMPRESSION_XZKERN is not set
# CONFIG_IMAGE_COMPRESSION_NONE is not set
CONFIG_MMU=y
-CONFIG_MMU_EARLY=y
+CONFIG_MMUINFO=y
+CONFIG_BAREBOX_MAX_IMAGE_SIZE=0xffffffff
CONFIG_BAREBOX_MAX_PBL_SIZE=0xffffffff
CONFIG_BAREBOX_MAX_BARE_INIT_SIZE=0xffffffff
CONFIG_STACK_SIZE=0x8000
@@ -177,10 +178,6 @@ 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
@@ -220,6 +217,7 @@ CONFIG_COMPILE_LOGLEVEL=7
CONFIG_DEFAULT_LOGLEVEL=6
# CONFIG_DEBUG_LL is not set
# 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
@@ -228,6 +226,7 @@ CONFIG_HAVE_ARCH_KASAN=y
CONFIG_CC_HAS_KASAN_GENERIC=y
# CONFIG_KASAN is not set
# CONFIG_COMPILE_TEST is not set
+# CONFIG_WERROR is not set
# end of Debugging
#
@@ -249,6 +248,7 @@ CONFIG_COMPILE_HASH=y
# 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
@@ -319,6 +319,7 @@ 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
@@ -413,15 +414,18 @@ CONFIG_CMD_WD_DEFAULT_TIMOUT=0
CONFIG_CMD_BAREBOX_UPDATE=y
# CONFIG_CMD_BLOBGEN is not set
# CONFIG_CMD_FIRMWARELOAD is not set
+# CONFIG_CMD_OF_COMPATIBLE 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 is not set
CONFIG_CMD_OF_FIXUP_STATUS=y
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
@@ -468,8 +472,9 @@ CONFIG_PHYLIB=y
#
# Network drivers
#
-# CONFIG_DRIVER_NET_DESIGNWARE is not set
-# CONFIG_DRIVER_NET_DESIGNWARE_EQOS is not set
+# 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
@@ -493,6 +498,7 @@ CONFIG_DRIVER_NET_SMC911X=y
# CONFIG_LXT_PHY is not set
# CONFIG_MARVELL_PHY is not set
# CONFIG_MICREL_PHY is not set
+# CONFIG_MOTORCOMM_PHY is not set
# CONFIG_NATIONAL_PHY is not set
# CONFIG_REALTEK_PHY is not set
# CONFIG_SMSC_PHY is not set
@@ -588,6 +594,8 @@ CONFIG_USB_STORAGE=y
# USB Miscellaneous drivers
#
# CONFIG_USB_HUB_USB251XB is not set
+# CONFIG_USB_ONBOARD_HUB is not set
+# CONFIG_TYPEC_TUSB320 is not set
CONFIG_USB_GADGET=y
CONFIG_USB_GADGET_AUTOSTART=y
@@ -624,6 +632,7 @@ CONFIG_HAVE_CLK=y
CONFIG_CLKDEV_LOOKUP=y
CONFIG_COMMON_CLK=y
CONFIG_COMMON_CLK_OF_PROVIDER=y
+CONFIG_COMMON_CLK_GPIO=y
#
# Clocksource
@@ -651,6 +660,9 @@ CONFIG_CLOCKSOURCE_ARM_ARCHITECTED_TIMER=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
#
@@ -722,6 +734,7 @@ CONFIG_REGULATOR=y
#
# Firmware Drivers
#
+# CONFIG_QEMU_FW_CFG is not set
# end of Firmware Drivers
#
@@ -731,7 +744,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
@@ -782,6 +799,7 @@ 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
@@ -846,11 +864,11 @@ CONFIG_LIBFDT=y
#
# end of Library gui routines
-# CONFIG_BAREBOX_LOGO is not set
-# 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
+CONFIG_ARCH_HAS_ZERO_PAGE=y
# end of Library routines
#
@@ -877,6 +895,7 @@ CONFIG_DIGEST_SHA1_GENERIC=y
# Firmware files
#
CONFIG_EXTRA_FIRMWARE_DIR="firmware"
+CONFIG_MISSING_FIRMWARE_ERROR=y
# end of Firmware files
#
diff --git a/configs/platform-v7a_noneon/barebox-vexpress.config.diff b/configs/platform-v7a_noneon/barebox-vexpress.config.diff
index ea72472..fff891e 100644
--- a/configs/platform-v7a_noneon/barebox-vexpress.config.diff
+++ b/configs/platform-v7a_noneon/barebox-vexpress.config.diff
@@ -1,16 +1,18 @@
-503a2995018ed6b994350193b131ee59
+1dedd85e90c7b6ae44712caf6c69913b
CONFIG_AMBA_SP804=y
# CONFIG_ARCH_BCM283X is not set
CONFIG_ARCH_VEXPRESS=y
# CONFIG_ARM_SCMI_PROTOCOL is undefined
# CONFIG_ARM_SECURE_MONITOR is undefined
# CONFIG_ARM_SMCCC is undefined
+# CONFIG_ARM_USE_COMPRESSED_DTB is undefined
# CONFIG_CFI_BUFFER_WRITE is not set
# CONFIG_CLOCKSOURCE_BCM283X is undefined
# CONFIG_CMD_GPIO is undefined
# CONFIG_CMD_SMC is undefined
CONFIG_CONSOLE_ACTIVATE_ALL=y
# CONFIG_CONSOLE_ACTIVATE_FIRST is not set
+# CONFIG_DEBUG_PBL is not set
CONFIG_DRIVER_CFI=y
CONFIG_DRIVER_CFI_AMD=y
CONFIG_DRIVER_CFI_BANK_WIDTH_1=y
@@ -27,6 +29,7 @@ CONFIG_DRIVER_NET_SMC911X=y
# 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
@@ -35,6 +38,7 @@ CONFIG_DRIVER_NET_SMC911X=y
# 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
@@ -45,7 +49,9 @@ CONFIG_DRIVER_NET_SMC911X=y
# 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_MACH_VEXPRESS=y
@@ -64,4 +70,5 @@ CONFIG_PROMPT="vexpress: "
# CONFIG_REGULATOR_FIXED is undefined
CONFIG_SERIAL_AMBA_PL011=y
CONFIG_SRAM=y
+# CONFIG_USE_COMPRESSED_DTB is undefined
# CONFIG_WATCHDOG_BCM2835 is undefined
diff --git a/configs/platform-v7a_noneon/barebox.config b/configs/platform-v7a_noneon/barebox.config
index 8b3a2f4..bbedcdb 100644
--- a/configs/platform-v7a_noneon/barebox.config
+++ b/configs/platform-v7a_noneon/barebox.config
@@ -1,40 +1,38 @@
#
# Automatically generated file; DO NOT EDIT.
-# Barebox/arm 2022.05.0 Configuration
+# Barebox/arm 2023.07.1-20230706-1 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=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_VERSATILE is not set
+# CONFIG_ARCH_VEXPRESS is not set
#
# Processor Type
@@ -49,6 +47,7 @@ CONFIG_CPU_32v7=y
# CONFIG_BOOT_ENDIANNESS_SWITCH is not set
CONFIG_ARCH_TEXT_BASE=0x0
CONFIG_MACH_RPI_COMMON=y
+CONFIG_MACH_RPI_AARCH_32_64=y
#
# select Broadcom BCM283X boards to be built
@@ -57,15 +56,18 @@ CONFIG_MACH_RPI_COMMON=y
# 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_BAREBOX_MAX_IMAGE_SIZE=0xffffffff
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_64BIT is not set
+CONFIG_32BIT=y
+
#
# ARM specific settings
#
@@ -84,7 +86,7 @@ CONFIG_HAS_KALLSYMS=y
CONFIG_HAS_MODULES=y
CONFIG_HAS_CACHE=y
CONFIG_HAS_DMA=y
-CONFIG_HAS_ARCH_SJLJ=y
+CONFIG_ARCH_HAS_SJLJ=y
CONFIG_GENERIC_GPIO=y
CONFIG_BLOCK=y
CONFIG_BLOCK_WRITE=y
@@ -105,6 +107,7 @@ CONFIG_LOCALVERSION=""
CONFIG_LOCALVERSION_AUTO=y
CONFIG_BANNER=y
CONFIG_MEMINFO=y
+CONFIG_MEMTEST=y
CONFIG_ENVIRONMENT_VARIABLES=y
CONFIG_GLOBALVAR=y
CONFIG_NVVAR=y
@@ -117,6 +120,7 @@ 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
@@ -126,7 +130,8 @@ CONFIG_IMAGE_COMPRESSION_LZO=y
# CONFIG_IMAGE_COMPRESSION_XZKERN is not set
# CONFIG_IMAGE_COMPRESSION_NONE is not set
CONFIG_MMU=y
-CONFIG_MMU_EARLY=y
+CONFIG_MMUINFO=y
+CONFIG_BAREBOX_MAX_IMAGE_SIZE=0xffffffff
CONFIG_BAREBOX_MAX_PBL_SIZE=0xffffffff
CONFIG_BAREBOX_MAX_BARE_INIT_SIZE=0xffffffff
CONFIG_STACK_SIZE=0x8000
@@ -189,10 +194,6 @@ 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
@@ -240,6 +241,7 @@ CONFIG_HAVE_ARCH_KASAN=y
CONFIG_CC_HAS_KASAN_GENERIC=y
# CONFIG_KASAN is not set
# CONFIG_COMPILE_TEST is not set
+# CONFIG_WERROR is not set
# end of Debugging
#
@@ -261,6 +263,7 @@ CONFIG_COMPILE_HASH=y
# 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
@@ -331,6 +334,7 @@ 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
@@ -427,15 +431,18 @@ CONFIG_CMD_WD_DEFAULT_TIMOUT=0
CONFIG_CMD_BAREBOX_UPDATE=y
# CONFIG_CMD_BLOBGEN is not set
# CONFIG_CMD_FIRMWARELOAD is not set
+# CONFIG_CMD_OF_COMPATIBLE 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 is not set
CONFIG_CMD_OF_FIXUP_STATUS=y
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
@@ -483,8 +490,9 @@ CONFIG_PHYLIB=y
#
# Network drivers
#
-# CONFIG_DRIVER_NET_DESIGNWARE is not set
-# CONFIG_DRIVER_NET_DESIGNWARE_EQOS is not set
+# 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
@@ -508,6 +516,7 @@ CONFIG_PHYLIB=y
# CONFIG_LXT_PHY is not set
# CONFIG_MARVELL_PHY is not set
# CONFIG_MICREL_PHY is not set
+# CONFIG_MOTORCOMM_PHY is not set
# CONFIG_NATIONAL_PHY is not set
# CONFIG_REALTEK_PHY is not set
# CONFIG_SMSC_PHY is not set
@@ -544,6 +553,7 @@ CONFIG_I2C_ALGOBIT=y
# I2C Hardware Bus support
#
CONFIG_I2C_GPIO=y
+# CONFIG_I2C_BCM283X is not set
# CONFIG_I2C_DESIGNWARE is not set
# CONFIG_I2C_MV64XXX is not set
# end of I2C Hardware Bus support
@@ -600,6 +610,8 @@ CONFIG_USB_STORAGE=y
# USB Miscellaneous drivers
#
# CONFIG_USB_HUB_USB251XB is not set
+# CONFIG_USB_ONBOARD_HUB is not set
+# CONFIG_TYPEC_TUSB320 is not set
CONFIG_USB_GADGET=y
CONFIG_USB_GADGET_AUTOSTART=y
@@ -638,6 +650,7 @@ CONFIG_HAVE_CLK=y
CONFIG_CLKDEV_LOOKUP=y
CONFIG_COMMON_CLK=y
CONFIG_COMMON_CLK_OF_PROVIDER=y
+CONFIG_COMMON_CLK_GPIO=y
#
# Clocksource
@@ -665,6 +678,9 @@ CONFIG_CLOCKSOURCE_ARM_ARCHITECTED_TIMER=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
#
@@ -730,6 +746,7 @@ CONFIG_GPIOLIB=y
# 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
@@ -767,6 +784,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
#
@@ -776,7 +794,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
@@ -829,6 +851,7 @@ 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
@@ -893,11 +916,11 @@ CONFIG_LIBFDT=y
#
# end of Library gui routines
-# CONFIG_BAREBOX_LOGO is not set
-# 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
+CONFIG_ARCH_HAS_ZERO_PAGE=y
# end of Library routines
#
@@ -924,6 +947,7 @@ CONFIG_DIGEST_SHA1_GENERIC=y
# Firmware files
#
CONFIG_EXTRA_FIRMWARE_DIR="firmware"
+CONFIG_MISSING_FIRMWARE_ERROR=y
# end of Firmware files
#
diff --git a/configs/platform-v7a_noneon/patches/barebox-2023.07.1/0001-ARM-at91-enable-ddramc-for-sama5d3-and-sama5d4.patch b/configs/platform-v7a_noneon/patches/barebox-2023.07.1/0001-ARM-at91-enable-ddramc-for-sama5d3-and-sama5d4.patch
new file mode 100644
index 0000000..1afe828
--- /dev/null
+++ b/configs/platform-v7a_noneon/patches/barebox-2023.07.1/0001-ARM-at91-enable-ddramc-for-sama5d3-and-sama5d4.patch
@@ -0,0 +1,32 @@
+From: Oleksij Rempel <o.rempel@pengutronix.de>
+Date: Thu, 6 Jul 2023 09:04:40 +0200
+Subject: [PATCH] ARM: at91: enable ddramc for sama5d3 and sama5d4
+
+ddramc has already support for sama5d3 and sama5d4, so enable it
+officially.
+
+Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
+---
+ arch/arm/mach-at91/Kconfig | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/arch/arm/mach-at91/Kconfig b/arch/arm/mach-at91/Kconfig
+index b803a1185d20..349586b68339 100644
+--- a/arch/arm/mach-at91/Kconfig
++++ b/arch/arm/mach-at91/Kconfig
+@@ -104,6 +104,7 @@ config SOC_SAMA5D3
+ select HAVE_AT91_UTMI
+ select PINCTRL_AT91
+ select HAS_MACB
++ select HAVE_AT91_DDRAMC
+
+ config SOC_SAMA5D4
+ bool
+@@ -116,6 +117,7 @@ config SOC_SAMA5D4
+ select HAVE_AT91_UTMI
+ select PINCTRL_AT91
+ select HAS_MACB
++ select HAVE_AT91_DDRAMC
+
+ config SOC_SAM9X60
+ bool
diff --git a/configs/platform-v7a_noneon/patches/barebox-2023.07.1/0002-ARM-at91-add-support-for-SAMA5D3-Ethernet-Developmen.patch b/configs/platform-v7a_noneon/patches/barebox-2023.07.1/0002-ARM-at91-add-support-for-SAMA5D3-Ethernet-Developmen.patch
new file mode 100644
index 0000000..7aeec24
--- /dev/null
+++ b/configs/platform-v7a_noneon/patches/barebox-2023.07.1/0002-ARM-at91-add-support-for-SAMA5D3-Ethernet-Developmen.patch
@@ -0,0 +1,219 @@
+From: Oleksij Rempel <o.rempel@pengutronix.de>
+Date: Tue, 4 Jul 2023 06:35:09 +0200
+Subject: [PATCH] ARM: at91: add support for SAMA5D3 - Ethernet Development
+ System Board
+
+Microchip Technology SAMA5D3 Ethernet Development System (EDS) Board
+(DM320114) is an MPU-based platform for evaluating Ethernet Switch and
+PHY products. Compatible Ethernet Switch and PHY Evaluation Boards
+connect to the SAMA5D3 EDS Board via either an RGMII or RMII connector.
+The Microchip Technology SAMA5D3 EDS Board is not intended for
+stand-alone use and has no Ethernet capabilities when no daughter board
+or an USB Ethernet adapter is connected.
+
+For more information see:
+https://www.microchip.com/en-us/development-tool/DM320114
+
+Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
+---
+ Documentation/boards/at91.rst | 2 +
+ arch/arm/boards/Makefile | 1 +
+ arch/arm/boards/microchip-sama5d3-eds/Makefile | 3 ++
+ arch/arm/boards/microchip-sama5d3-eds/lowlevel.c | 62 ++++++++++++++++++++++++
+ arch/arm/configs/at91_multi_defconfig | 1 +
+ arch/arm/dts/Makefile | 1 +
+ arch/arm/dts/at91-microchip-sama5d3-eds.dts | 14 ++++++
+ arch/arm/mach-at91/Kconfig | 10 ++++
+ images/Makefile.at91 | 9 ++++
+ 9 files changed, 103 insertions(+)
+ create mode 100644 arch/arm/boards/microchip-sama5d3-eds/Makefile
+ create mode 100644 arch/arm/boards/microchip-sama5d3-eds/lowlevel.c
+ create mode 100644 arch/arm/dts/at91-microchip-sama5d3-eds.dts
+
+diff --git a/Documentation/boards/at91.rst b/Documentation/boards/at91.rst
+index f502979df6eb..961ef58d84ac 100644
+--- a/Documentation/boards/at91.rst
++++ b/Documentation/boards/at91.rst
+@@ -35,6 +35,8 @@ The resulting images will be placed under ``images/``:
+ barebox-at91sam9263ek.img
+ barebox-microchip-ksz9477-evb.img
+ barebox-microchip-ksz9477-evb-xload-mmc.img
++ barebox-microchip-sama5d3-eds.img
++ barebox-microchip-sama5d3-eds-xload-mmc.img
+ barebox-sama5d3-xplained.img
+ barebox-sama5d3-xplained-xload-mmc.img
+ barebox-sama5d27-som1-ek.img
+diff --git a/arch/arm/boards/Makefile b/arch/arm/boards/Makefile
+index 2877debad535..382e649fce62 100644
+--- a/arch/arm/boards/Makefile
++++ b/arch/arm/boards/Makefile
+@@ -121,6 +121,7 @@ obj-$(CONFIG_MACH_SAMA5D27_SOM1) += sama5d27-som1/
+ obj-$(CONFIG_MACH_SAMA5D3XEK) += sama5d3xek/
+ obj-$(CONFIG_MACH_SAMA5D3_XPLAINED) += sama5d3_xplained/
+ obj-$(CONFIG_MACH_MICROCHIP_KSZ9477_EVB) += microchip-ksz9477-evb/
++obj-$(CONFIG_MACH_MICROCHIP_SAMA5D3_EDS) += microchip-sama5d3-eds/
+ obj-$(CONFIG_MACH_SAMA5D4_XPLAINED) += sama5d4_xplained/
+ obj-$(CONFIG_MACH_SAMA5D4_WIFX) += sama5d4_wifx/
+ obj-$(CONFIG_MACH_SAMA5D4EK) += sama5d4ek/
+diff --git a/arch/arm/boards/microchip-sama5d3-eds/Makefile b/arch/arm/boards/microchip-sama5d3-eds/Makefile
+new file mode 100644
+index 000000000000..458f5209008d
+--- /dev/null
++++ b/arch/arm/boards/microchip-sama5d3-eds/Makefile
+@@ -0,0 +1,3 @@
++# SPDX-License-Identifier: GPL-2.0-only
++
++lwl-y += lowlevel.o
+diff --git a/arch/arm/boards/microchip-sama5d3-eds/lowlevel.c b/arch/arm/boards/microchip-sama5d3-eds/lowlevel.c
+new file mode 100644
+index 000000000000..79346a9b6ac1
+--- /dev/null
++++ b/arch/arm/boards/microchip-sama5d3-eds/lowlevel.c
+@@ -0,0 +1,62 @@
++// SPDX-License-Identifier: GPL-2.0-only AND BSD-1-Clause
++/*
++ * Copyright (C) 2014, Atmel Corporation
++ * Copyright (C) 2018 Ahmad Fatoum, Pengutronix
++ */
++
++#include <common.h>
++#include <init.h>
++
++#include <asm/barebox-arm-head.h>
++#include <debug_ll.h>
++#include <mach/at91/barebox-arm.h>
++#include <mach/at91/iomux.h>
++#include <mach/at91/sama5d3.h>
++#include <mach/at91/sama5d3-xplained-ddramc.h>
++#include <mach/at91/xload.h>
++
++/* PCK = 528MHz, MCK = 132MHz */
++#define MASTER_CLOCK 132000000
++
++static void dbgu_init(void)
++{
++ void __iomem *pio = IOMEM(SAMA5D3_BASE_PIOB);
++
++ sama5d3_pmc_enable_periph_clock(SAMA5D3_ID_PIOB);
++
++ at91_mux_pio3_pin(pio, pin_to_mask(AT91_PIN_PB31), AT91_MUX_PERIPH_A, 0);
++
++ sama5d3_pmc_enable_periph_clock(SAMA5D3_ID_DBGU);
++ at91_dbgu_setup_ll(IOMEM(AT91_BASE_DBGU1), MASTER_CLOCK, 115200);
++
++ putc_ll('>');
++}
++
++SAMA5D3_ENTRY_FUNCTION(start_microchip_sama5d3_eds_xload_mmc, r4)
++{
++ sama5d3_lowlevel_init();
++
++ relocate_to_current_adr();
++ setup_c();
++
++ sama5d3_udelay_init(MASTER_CLOCK);
++ sama5d3_xplained_ddrconf();
++ if (IS_ENABLED(CONFIG_DEBUG_LL))
++ dbgu_init();
++
++ sama5d3_atmci_start_image(0, MASTER_CLOCK, 0);
++}
++
++extern char __dtb_z_at91_microchip_sama5d3_eds_start[];
++
++SAMA5D3_ENTRY_FUNCTION(start_microchip_sama5d3_eds, r4)
++{
++ void *fdt;
++
++ if (IS_ENABLED(CONFIG_DEBUG_LL))
++ dbgu_init();
++
++ fdt = __dtb_z_at91_microchip_sama5d3_eds_start + get_runtime_offset();
++
++ sama5d3_barebox_entry(r4, fdt);
++}
+diff --git a/arch/arm/configs/at91_multi_defconfig b/arch/arm/configs/at91_multi_defconfig
+index c93c2f578609..de47af3bd0a6 100644
+--- a/arch/arm/configs/at91_multi_defconfig
++++ b/arch/arm/configs/at91_multi_defconfig
+@@ -4,6 +4,7 @@ CONFIG_MACH_SKOV_ARM9CPU=y
+ CONFIG_MACH_AT91SAM9263EK=y
+ CONFIG_MACH_AT91SAM9X5EK=y
+ CONFIG_MACH_MICROCHIP_KSZ9477_EVB=y
++CONFIG_MACH_MICROCHIP_SAMA5D3_EDS=y
+ CONFIG_MACH_SAMA5D3_XPLAINED=y
+ CONFIG_MACH_SAMA5D27_SOM1=y
+ CONFIG_MACH_SAMA5D27_GIANTBOARD=y
+diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile
+index 98f4c4e0194b..eb9e0e062adf 100644
+--- a/arch/arm/dts/Makefile
++++ b/arch/arm/dts/Makefile
+@@ -193,6 +193,7 @@ lwl-$(CONFIG_MACH_AC_SXB) += ac-sxb.dtb.o
+ lwl-$(CONFIG_MACH_AT91SAM9263EK_DT) += at91sam9263ek.dtb.o
+ lwl-$(CONFIG_MACH_SAMA5D3_XPLAINED) += at91-sama5d3_xplained.dtb.o
+ lwl-$(CONFIG_MACH_MICROCHIP_KSZ9477_EVB) += at91-microchip-ksz9477-evb.dtb.o
++lwl-$(CONFIG_MACH_MICROCHIP_SAMA5D3_EDS) += at91-microchip-sama5d3-eds.dtb.o
+ lwl-$(CONFIG_MACH_SAMA5D27_SOM1) += at91-sama5d27_som1_ek.dtb.o
+ lwl-$(CONFIG_MACH_SAMA5D27_GIANTBOARD) += at91-sama5d27_giantboard.dtb.o
+ lwl-$(CONFIG_MACH_SAMA5D4_WIFX) += at91-sama5d4_wifx_l1.dtb.o
+diff --git a/arch/arm/dts/at91-microchip-sama5d3-eds.dts b/arch/arm/dts/at91-microchip-sama5d3-eds.dts
+new file mode 100644
+index 000000000000..ad75fc882c63
+--- /dev/null
++++ b/arch/arm/dts/at91-microchip-sama5d3-eds.dts
+@@ -0,0 +1,14 @@
++/* SPDX-License-Identifier: GPL-2.0 */
++/dts-v1/;
++#include <arm/at91-sama5d3_eds.dts>
++#include "sama5d3.dtsi"
++
++/ {
++ chosen {
++ environment {
++ compatible = "barebox,environment";
++ device-path = &mmc0, "partname:0";
++ file-path = "barebox.env";
++ };
++ };
++};
+diff --git a/arch/arm/mach-at91/Kconfig b/arch/arm/mach-at91/Kconfig
+index 349586b68339..d2499747252d 100644
+--- a/arch/arm/mach-at91/Kconfig
++++ b/arch/arm/mach-at91/Kconfig
+@@ -606,6 +606,16 @@ config MACH_MICROCHIP_KSZ9477_EVB
+ help
+ Select this if you are using Microchip's EVB-KSZ9477 Evaluation Kit.
+
++config MACH_MICROCHIP_SAMA5D3_EDS
++ bool "Microchip SAMA5D3 Ethernet Development System"
++ select SOC_SAMA5D3
++ select OFDEVICE
++ select MCI_ATMEL_PBL
++ select COMMON_CLK_OF_PROVIDER
++ help
++ Select this if you are using Microchip's SAMA5D3 Ethernet Development
++ System.
++
+ config MACH_SAMA5D3_XPLAINED
+ bool "Atmel SAMA5D3_XPLAINED Evaluation Kit"
+ select SOC_SAMA5D3
+diff --git a/images/Makefile.at91 b/images/Makefile.at91
+index 19a81e2e9a3c..36f725940639 100644
+--- a/images/Makefile.at91
++++ b/images/Makefile.at91
+@@ -20,6 +20,15 @@ MAX_PBL_IMAGE_SIZE_start_sama5d3_xplained_ung8071_xload_mmc = 0xffff
+ FILE_barebox-microchip-ksz9477-evb-xload-mmc.img = start_sama5d3_xplained_ung8071_xload_mmc.pblb
+ image-$(CONFIG_MACH_MICROCHIP_KSZ9477_EVB) += barebox-microchip-ksz9477-evb-xload-mmc.img
+
++pblb-$(CONFIG_MACH_MICROCHIP_SAMA5D3_EDS) += start_microchip_sama5d3_eds
++FILE_barebox-microchip-sama5d3-eds.img = start_microchip_sama5d3_eds.pblb
++image-$(CONFIG_MACH_MICROCHIP_SAMA5D3_EDS) += barebox-microchip-sama5d3-eds.img
++
++pblb-$(CONFIG_MACH_MICROCHIP_SAMA5D3_EDS) += start_microchip_sama5d3_eds_xload_mmc
++MAX_PBL_IMAGE_SIZE_start_microchip_sama5d3_eds_xload_mmc = 0xffff
++FILE_barebox-microchip-sama5d3-eds-xload-mmc.img = start_microchip_sama5d3_eds_xload_mmc.pblb
++image-$(CONFIG_MACH_MICROCHIP_SAMA5D3_EDS) += barebox-microchip-sama5d3-eds-xload-mmc.img
++
+ pblb-$(CONFIG_MACH_SAMA5D3_XPLAINED) += start_sama5d3_xplained
+ FILE_barebox-sama5d3-xplained.img = start_sama5d3_xplained.pblb
+ image-$(CONFIG_MACH_SAMA5D3_XPLAINED) += barebox-sama5d3-xplained.img
diff --git a/configs/platform-v7a_noneon/patches/barebox-2023.07.1/0003-ARM-at91-microchip-ksz9477-evb-migrate-to-sama5d3_ba.patch b/configs/platform-v7a_noneon/patches/barebox-2023.07.1/0003-ARM-at91-microchip-ksz9477-evb-migrate-to-sama5d3_ba.patch
new file mode 100644
index 0000000..519ea4a
--- /dev/null
+++ b/configs/platform-v7a_noneon/patches/barebox-2023.07.1/0003-ARM-at91-microchip-ksz9477-evb-migrate-to-sama5d3_ba.patch
@@ -0,0 +1,23 @@
+From: Oleksij Rempel <o.rempel@pengutronix.de>
+Date: Thu, 6 Jul 2023 09:26:22 +0200
+Subject: [PATCH] ARM: at91: microchip-ksz9477-evb: migrate to
+ sama5d3_barebox_entry()
+
+We have sama5d3_barebox_entry(), so make use of it.
+
+Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
+---
+ arch/arm/boards/microchip-ksz9477-evb/lowlevel.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/arch/arm/boards/microchip-ksz9477-evb/lowlevel.c b/arch/arm/boards/microchip-ksz9477-evb/lowlevel.c
+index bda6a94160a5..aa2161daeef0 100644
+--- a/arch/arm/boards/microchip-ksz9477-evb/lowlevel.c
++++ b/arch/arm/boards/microchip-ksz9477-evb/lowlevel.c
+@@ -58,5 +58,5 @@ SAMA5D3_ENTRY_FUNCTION(start_sama5d3_xplained_ung8071, r4)
+
+ fdt = __dtb_z_at91_microchip_ksz9477_evb_start + get_runtime_offset();
+
+- barebox_arm_entry(SAMA5_DDRCS, SZ_256M, fdt);
++ sama5d3_barebox_entry(r4, fdt);
+ }
diff --git a/configs/platform-v7a_noneon/patches/barebox-2023.07.1/0101-Release-2023.07.0-customers-pengutronix-distrokit-sa.patch b/configs/platform-v7a_noneon/patches/barebox-2023.07.1/0101-Release-2023.07.0-customers-pengutronix-distrokit-sa.patch
new file mode 100644
index 0000000..d6e6193
--- /dev/null
+++ b/configs/platform-v7a_noneon/patches/barebox-2023.07.1/0101-Release-2023.07.0-customers-pengutronix-distrokit-sa.patch
@@ -0,0 +1,22 @@
+From: Oleksij Rempel <o.rempel@pengutronix.de>
+Date: Thu, 6 Jul 2023 11:03:50 +0200
+Subject: [PATCH] Release
+ 2023.07.0/customers/pengutronix/distrokit-sama5d3/20230706-1
+
+---
+ Makefile | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/Makefile b/Makefile
+index 92b5c6779a52..323f757908bc 100644
+--- a/Makefile
++++ b/Makefile
+@@ -2,7 +2,7 @@
+ VERSION = 2023
+ PATCHLEVEL = 07
+ SUBLEVEL = 1
+-EXTRAVERSION =
++EXTRAVERSION =-20230706-1
+ NAME = None
+
+ # *DOCUMENTATION*
diff --git a/configs/platform-v7a_noneon/patches/barebox-2023.07.1/series b/configs/platform-v7a_noneon/patches/barebox-2023.07.1/series
new file mode 100644
index 0000000..bdd8894
--- /dev/null
+++ b/configs/platform-v7a_noneon/patches/barebox-2023.07.1/series
@@ -0,0 +1,13 @@
+# umpf-base: v2023.07.1
+# umpf-name: 2023.07.0/customers/pengutronix/distrokit-sama5d3
+# umpf-version: 2023.07.0/customers/pengutronix/distrokit-sama5d3/20230706-1
+# umpf-topic: v2023.07.0/topic/microchip-sama5d3-ether-dev-sys
+# umpf-hashinfo: 8a1d1b8e7204ee57b743ae7f1325d5729104425e
+# umpf-topic-range: 0186c17838e655dbf6a3bcd01fa74821d5e67ae6..b2883ce6100ca0f8259a1726bf53387e6da04a99
+0001-ARM-at91-enable-ddramc-for-sama5d3-and-sama5d4.patch
+0002-ARM-at91-add-support-for-SAMA5D3-Ethernet-Developmen.patch
+0003-ARM-at91-microchip-ksz9477-evb-migrate-to-sama5d3_ba.patch
+# umpf-release: 2023.07.0/customers/pengutronix/distrokit-sama5d3/20230706-1
+# umpf-topic-range: b2883ce6100ca0f8259a1726bf53387e6da04a99..eaaffd9164ab19a152d00c6d5f8f91cd07e5ec48
+0101-Release-2023.07.0-customers-pengutronix-distrokit-sa.patch
+# umpf-end
diff --git a/configs/platform-v7a_noneon/platformconfig b/configs/platform-v7a_noneon/platformconfig
index 784f35d..160c422 100644
--- a/configs/platform-v7a_noneon/platformconfig
+++ b/configs/platform-v7a_noneon/platformconfig
@@ -180,8 +180,8 @@ PTXCONF_CONSOLE_SPEED="115200"
# PTXCONF_AT91BOOTSTRAP2 is not set
PTXCONF_BAREBOX_COMMON_ARCH_STRING="arm"
PTXCONF_BAREBOX_COMMON=y
-PTXCONF_BAREBOX_COMMON_VERSION="2022.05.0"
-PTXCONF_BAREBOX_COMMON_MD5="2bf7e136b3bfb59179f154ee096ef716"
+PTXCONF_BAREBOX_COMMON_VERSION="2023.07.1"
+PTXCONF_BAREBOX_COMMON_MD5="0b7ea966cd01266a93a4ccfa7d68bce0"
PTXCONF_BAREBOX_COMMON_NEEDS_HOST_LZOP=y
PTXCONF_BAREBOX_AT91=y
PTXCONF_BAREBOX_VEXPRESS=y
--
2.39.2
^ permalink raw reply [flat|nested] 12+ messages in thread
* [DistroKit] [PATCH v1 2/5] v7a_noneon: use upstreamed devicetree the KSZ9477 EVB
2023-07-06 11:44 [DistroKit] [PATCH v1 1/5] v7a_noneon: barebox: version bump v2023.01.0 → v2023.07.1 Oleksij Rempel
@ 2023-07-06 11:44 ` Oleksij Rempel
2023-07-06 12:22 ` Ahmad Fatoum
2023-07-06 11:44 ` [DistroKit] [PATCH v1 3/5] v7a_noneon: add Microchip SAMA5D3 Ethernet Delopment System Board support Oleksij Rempel
` (3 subsequent siblings)
4 siblings, 1 reply; 12+ messages in thread
From: Oleksij Rempel @ 2023-07-06 11:44 UTC (permalink / raw)
To: distrokit; +Cc: Oleksij Rempel
KSZ9477 EVB is already mainline and there are some naming differences.
So, drop downstream dts and use the mainline version.
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
---
.../dts/at91-microchip-ksz9477-evb.dts | 193 ------------------
configs/platform-v7a_noneon/platformconfig | 2 +-
.../loader/entries/sama5d3-ksz9477-evb.conf | 2 +-
3 files changed, 2 insertions(+), 195 deletions(-)
delete mode 100644 configs/platform-v7a_noneon/dts/at91-microchip-ksz9477-evb.dts
diff --git a/configs/platform-v7a_noneon/dts/at91-microchip-ksz9477-evb.dts b/configs/platform-v7a_noneon/dts/at91-microchip-ksz9477-evb.dts
deleted file mode 100644
index df77df5..0000000
--- a/configs/platform-v7a_noneon/dts/at91-microchip-ksz9477-evb.dts
+++ /dev/null
@@ -1,193 +0,0 @@
-/*
- * at91-sama5d3_xplained_ung8071.dts - Device Tree file for the EVB-KSZ9477 board
- *
- * Copyright (C) 2014 Atmel,
- * 2014 Nicolas Ferre <nicolas.ferre@atmel.com>
- * 2018 Ahmad Fatoum <a.fatoum@pengutronix.de>
- *
- * Licensed under GPLv2 or later.
- */
-/dts-v1/;
-#include "sama5d36.dtsi"
-
-/ {
- model = "EVB-KSZ9477";
- compatible = "atmel,sama5d3-ksz9477-evb", "atmel,sama5d3", "atmel,sama5";
-
- chosen {
- stdout-path = &dbgu;
- };
-
- clocks {
- slow_xtal {
- clock-frequency = <32768>;
- };
-
- main_xtal {
- clock-frequency = <12000000>;
- };
- };
-};
-
-&mmc0 {
- pinctrl-0 = <&pinctrl_mmc0_clk_cmd_dat0 &pinctrl_mmc0_dat1_3 &pinctrl_mmc0_dat4_7 &pinctrl_mmc0_cd>;
- status = "okay";
- slot@0 {
- reg = <0>;
- bus-width = <8>;
- /* cd-gpios = <&pioE 0 GPIO_ACTIVE_LOW>; */
- broken-cd;
- };
-};
-
-&spi0 {
- cs-gpios = <&pioD 13 GPIO_ACTIVE_LOW>, <0>, <0>,
- <&pioD 16 GPIO_ACTIVE_LOW>;
- status = "okay";
-};
-
-&i2c0 {
- pinctrl-0 = <&pinctrl_i2c0_pu>;
- status = "okay";
-};
-
-&macb0 {
- phy-mode = "rgmii";
- status = "okay";
-
- fixed-link {
- speed = <1000>;
- full-duplex;
- };
-};
-
-&spi1 {
- pinctrl-0 = <&pinctrl_spi_ksz>;
- cs-gpios = <&pioC 25 GPIO_ACTIVE_LOW>;
- status = "okay";
-
- switch@0 {
- compatible = "microchip,ksz9477", "microchip,ksz9893";
- reg = <0>;
-
- /* Bus clock is 132 MHz. */
- spi-max-frequency = <1000000>;
- spi-cpha;
- spi-cpol;
- /* reset-gpios = <&pioC 31 GPIO_ACTIVE_LOW>; */
- /* IRQ gpios = <&pioB 28 GPIO_ACTIVE_LOW>; */
- status = "okay";
-
- ports {
- #address-cells = <1>;
- #size-cells = <0>;
-
- port@0 {
- reg = <0>;
- label = "lan1";
- };
-
- port@1 {
- reg = <1>;
- label = "lan2";
- };
-
- port@2 {
- reg = <2>;
- label = "lan3";
- };
-
- port@3 {
- reg = <3>;
- label = "lan4";
- };
-
- port@4 {
- reg = <4>;
- label = "lan5";
- };
-
- port@5 {
- reg = <5>;
- label = "cpu";
- ethernet = <&macb0>;
- phy-mode = "rgmii-txid";
-
- fixed-link {
- speed = <1000>;
- full-duplex;
- };
- };
- };
- };
-};
-
-&dbgu {
- status = "okay";
-};
-
-&ebi {
- pinctrl-0 = <&pinctrl_ebi_nand_addr>;
- pinctrl-names = "default";
- status = "okay";
-};
-
-&nand_controller {
- status = "okay";
-
- nand@3 {
- reg = <0x3 0x0 0x2>;
- atmel,rb = <0>;
- nand-bus-width = <8>;
- nand-ecc-mode = "hw";
- nand-ecc-strength = <4>;
- nand-ecc-step-size = <512>;
- nand-on-flash-bbt;
- label = "atmel_nand";
- };
-};
-
-&usb0 {
- pinctrl-names = "default";
- pinctrl-0 = <&pinctrl_usba_vbus>;
- atmel,vbus-gpio = <&pioE 9 GPIO_ACTIVE_HIGH>; /* PE9, conflicts with A9 */
- status = "okay";
-};
-
-&pinctrl {
- board {
- pinctrl_i2c0_pu: i2c0_pu {
- atmel,pins =
- <AT91_PIOA 30 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>,
- <AT91_PIOA 31 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>;
- };
-
- pinctrl_mmc0_cd: mmc0_cd {
- atmel,pins =
- <AT91_PIOE 0 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH>;
- };
-
- pinctrl_usba_vbus: usba_vbus {
- atmel,pins =
- <AT91_PIOE 9 AT91_PERIPH_GPIO AT91_PINCTRL_DEGLITCH>; /* PE9, conflicts with A9 */
- };
-
- pinctrl_spi_ksz: spi-ksz {
- atmel,pins =
- <
- AT91_PIOC 22 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PC22 periph A SPI1_MISO pin */
- AT91_PIOC 23 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC23 periph A SPI1_MOSI pin */
- AT91_PIOC 24 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC24 periph A SPI1_SPCK pin */
-
- /* SPI CS */
- AT91_PIOC 25 AT91_PERIPH_GPIO AT91_PINCTRL_NONE
- /* switch IRQ */
- AT91_PIOB 28 AT91_PERIPH_GPIO AT91_PINCTRL_DEGLITCH
- /* switch PME_N, SoC IN */
- AT91_PIOC 30 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP
- /* switch RST */
- AT91_PIOC 31 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH
- >;
- };
- };
-};
diff --git a/configs/platform-v7a_noneon/platformconfig b/configs/platform-v7a_noneon/platformconfig
index 160c422..3ff91ce 100644
--- a/configs/platform-v7a_noneon/platformconfig
+++ b/configs/platform-v7a_noneon/platformconfig
@@ -135,7 +135,7 @@ PTXCONF_KERNEL_IMAGE_Z=y
PTXCONF_KERNEL_IMAGE="zImage"
PTXCONF_KERNEL_DTB=y
PTXCONF_KERNEL_DTS_PATH="${PTXDIST_PLATFORMCONFIGDIR}/dts:${KERNEL_DIR}/arch/${GENERIC_KERNEL_ARCH}/boot/dts"
-PTXCONF_KERNEL_DTS="at91-microchip-ksz9477-evb.dts vexpress-v2p-ca9.dts"
+PTXCONF_KERNEL_DTS="at91-sama5d3_ksz9477_evb.dts vexpress-v2p-ca9.dts"
# PTXCONF_KERNEL_DTBO is not set
# PTXCONF_KERNEL_CODE_SIGNING is not set
# PTXCONF_KERNEL_ZSTD is not set
diff --git a/configs/platform-v7a_noneon/projectroot/loader/entries/sama5d3-ksz9477-evb.conf b/configs/platform-v7a_noneon/projectroot/loader/entries/sama5d3-ksz9477-evb.conf
index bdd9a4b..6ce491d 100644
--- a/configs/platform-v7a_noneon/projectroot/loader/entries/sama5d3-ksz9477-evb.conf
+++ b/configs/platform-v7a_noneon/projectroot/loader/entries/sama5d3-ksz9477-evb.conf
@@ -3,4 +3,4 @@ version 5.8
options rootwait rw
linux-appendroot true
linux /boot/zImage
-devicetree /boot/at91-microchip-ksz9477-evb.dtb
+devicetree /boot/at91-sama5d3_ksz9477_evb.dtb
--
2.39.2
^ permalink raw reply [flat|nested] 12+ messages in thread
* [DistroKit] [PATCH v1 3/5] v7a_noneon: add Microchip SAMA5D3 Ethernet Delopment System Board support
2023-07-06 11:44 [DistroKit] [PATCH v1 1/5] v7a_noneon: barebox: version bump v2023.01.0 → v2023.07.1 Oleksij Rempel
2023-07-06 11:44 ` [DistroKit] [PATCH v1 2/5] v7a_noneon: use upstreamed devicetree the KSZ9477 EVB Oleksij Rempel
@ 2023-07-06 11:44 ` Oleksij Rempel
2023-07-06 12:50 ` Ahmad Fatoum
2023-07-06 11:44 ` [DistroKit] [PATCH v1 4/5] v7a_noneon: kernel: make KSZ9477 work again Oleksij Rempel
` (2 subsequent siblings)
4 siblings, 1 reply; 12+ messages in thread
From: Oleksij Rempel @ 2023-07-06 11:44 UTC (permalink / raw)
To: distrokit; +Cc: Oleksij Rempel
Microchip Technology SAMA5D3 Ethernet Development System (EDS) Board
(DM320114) is an MPU-based platform for evaluating Ethernet Switch and
PHY products. Compatible Ethernet Switch and PHY Evaluation Boards
connect to the SAMA5D3 EDS Board via either an RGMII or RMII connector.
The Microchip Technology SAMA5D3 EDS Board is not intended for
stand-alone use and has no Ethernet capabilities when no daughter board
or an USB Ethernet adapter is connected.
For more information see:
https://www.microchip.com/en-us/development-tool/DM320114
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
---
.../platform-v7a_noneon/barebox-at91.config | 25 +++++++++++--
.../barebox-at91.config.diff | 23 ++++--------
configs/platform-v7a_noneon/platformconfig | 4 ++-
.../platforms/blspec-sama5d3-eds.in | 5 +++
.../platforms/image-sama5d3-eds.in | 13 +++++++
.../loader/entries/sama5d3-eds.conf | 6 ++++
.../rules/barebox-at91.make | 4 ++-
.../rules/blspec-sama5d3-eds.make | 36 +++++++++++++++++++
.../rules/image-sama5d3-eds.make | 36 +++++++++++++++++++
9 files changed, 131 insertions(+), 21 deletions(-)
create mode 100644 configs/platform-v7a_noneon/platforms/blspec-sama5d3-eds.in
create mode 100644 configs/platform-v7a_noneon/platforms/image-sama5d3-eds.in
create mode 100644 configs/platform-v7a_noneon/projectroot/loader/entries/sama5d3-eds.conf
create mode 100644 configs/platform-v7a_noneon/rules/blspec-sama5d3-eds.make
create mode 100644 configs/platform-v7a_noneon/rules/image-sama5d3-eds.make
diff --git a/configs/platform-v7a_noneon/barebox-at91.config b/configs/platform-v7a_noneon/barebox-at91.config
index 584bfae..06a2d96 100644
--- a/configs/platform-v7a_noneon/barebox-at91.config
+++ b/configs/platform-v7a_noneon/barebox-at91.config
@@ -63,7 +63,7 @@ CONFIG_AT91_MULTI_BOARDS=y
# CONFIG_MACH_AT91SAM9263EK is not set
# CONFIG_MACH_AT91SAM9X5EK is not set
CONFIG_MACH_MICROCHIP_KSZ9477_EVB=y
-# CONFIG_MACH_MICROCHIP_SAMA5D3_EDS is not set
+CONFIG_MACH_MICROCHIP_SAMA5D3_EDS=y
# CONFIG_MACH_SAMA5D3_XPLAINED is not set
# CONFIG_MACH_SAMA5D27_SOM1 is not set
# CONFIG_MACH_SAMA5D27_GIANTBOARD is not set
@@ -419,6 +419,7 @@ CONFIG_CMD_LED=y
# CONFIG_CMD_POWEROFF is not set
CONFIG_CMD_SPI=y
CONFIG_CMD_LED_TRIGGER=y
+CONFIG_CMD_USB=y
CONFIG_CMD_USBGADGET=y
# end of Hardware manipulation
@@ -526,6 +527,11 @@ CONFIG_MICREL_PHY=y
# CONFIG_MDIO_BUS_MUX_GPIO is not set
# end of phylib
+CONFIG_NET_USB=y
+CONFIG_NET_USB_ASIX=y
+CONFIG_USB_NET_AX88179_178A=y
+CONFIG_NET_USB_SMSC95XX=y
+CONFIG_NET_USB_RTL8152=y
# CONFIG_DSA is not set
# end of Network drivers
@@ -583,7 +589,21 @@ CONFIG_DISK_WRITE=y
#
# CONFIG_DISK_INTF_PLATFORM_IDE is not set
CONFIG_USB=y
-# CONFIG_USB_HOST is not set
+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_EHCI_ATMEL=y
+CONFIG_USB_OHCI_AT91=y
+# CONFIG_USB_XHCI is not set
+# CONFIG_USB_ULPI is not set
+# CONFIG_USB_STORAGE is not set
+
+#
+# USB Miscellaneous drivers
+#
+# CONFIG_USB_ONBOARD_HUB is not set
CONFIG_USB_GADGET=y
CONFIG_USB_GADGET_DUALSPEED=y
CONFIG_USB_GADGET_DRIVER_AT91=y
@@ -672,6 +692,7 @@ CONFIG_LED_TRIGGERS=y
# Input device support
#
# CONFIG_KEYBOARD_GPIO is not set
+# CONFIG_KEYBOARD_USB is not set
# CONFIG_INPUT_SPECIALKEYS is not set
# end of Input device support
diff --git a/configs/platform-v7a_noneon/barebox-at91.config.diff b/configs/platform-v7a_noneon/barebox-at91.config.diff
index a183a3d..b6c257e 100644
--- a/configs/platform-v7a_noneon/barebox-at91.config.diff
+++ b/configs/platform-v7a_noneon/barebox-at91.config.diff
@@ -45,7 +45,6 @@ CONFIG_CMD_AT91_BOOT_TEST=y
# CONFIG_CMD_STATE is undefined
# CONFIG_CMD_TFTP is not set
# CONFIG_CMD_UNCOMPRESS is not set
-# CONFIG_CMD_USB is undefined
# CONFIG_CMD_WD is undefined
# CONFIG_CMD_WD_DEFAULT_TIMOUT is undefined
CONFIG_COMMON_CLK_AT91=y
@@ -89,14 +88,13 @@ CONFIG_HAVE_AT91_UTMI=y
CONFIG_IMAGE_COMPRESSION_NONE=y
CONFIG_IMD_TARGET=y
# CONFIG_KEYBOARD_QT1070 is undefined
-# CONFIG_KEYBOARD_USB is undefined
# CONFIG_LED_PCA955X is undefined
# CONFIG_LIBFDT is undefined
# CONFIG_MACHINE_ID is undefined
# CONFIG_MACH_AT91SAM9263EK is not set
# CONFIG_MACH_AT91SAM9X5EK is not set
CONFIG_MACH_MICROCHIP_KSZ9477_EVB=y
-# CONFIG_MACH_MICROCHIP_SAMA5D3_EDS is not set
+CONFIG_MACH_MICROCHIP_SAMA5D3_EDS=y
# CONFIG_MACH_RPI2 is undefined
# CONFIG_MACH_RPI3 is undefined
# CONFIG_MACH_RPI4 is undefined
@@ -142,10 +140,7 @@ CONFIG_MTD_M25P80=y
CONFIG_MTD_SPI_NOR=y
# CONFIG_MTD_SPI_NOR_USE_4K_SECTORS is not set
# CONFIG_MTD_SST25L is not set
-# CONFIG_NET_USB is undefined
-# CONFIG_NET_USB_ASIX is undefined
-# CONFIG_NET_USB_RTL8152 is undefined
-# CONFIG_NET_USB_SMSC95XX is undefined
+CONFIG_NET_USB_RTL8152=y
CONFIG_OF_BAREBOX_ENV_IN_FS=y
# CONFIG_OF_OVERLAY is not set
# CONFIG_OF_OVERLAY_LIVE is undefined
@@ -173,19 +168,13 @@ CONFIG_SPI_MEM=y
CONFIG_SYSTEM_PARTITIONS=y
# CONFIG_THUMB2_BAREBOX is undefined
# CONFIG_TYPEC_TUSB320 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_EHCI_ATMEL=y
CONFIG_USB_GADGET_DRIVER_AT91=y
CONFIG_USB_GADGET_DUALSPEED=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_USB_NET_AX88179_178A=y
+CONFIG_USB_OHCI_AT91=y
+# CONFIG_USB_STORAGE is not set
CONFIG_VIRTIO_MENU=y
# CONFIG_VIRTIO_MMIO is not set
CONFIG_W1=y
diff --git a/configs/platform-v7a_noneon/platformconfig b/configs/platform-v7a_noneon/platformconfig
index 3ff91ce..32c57b6 100644
--- a/configs/platform-v7a_noneon/platformconfig
+++ b/configs/platform-v7a_noneon/platformconfig
@@ -135,7 +135,7 @@ PTXCONF_KERNEL_IMAGE_Z=y
PTXCONF_KERNEL_IMAGE="zImage"
PTXCONF_KERNEL_DTB=y
PTXCONF_KERNEL_DTS_PATH="${PTXDIST_PLATFORMCONFIGDIR}/dts:${KERNEL_DIR}/arch/${GENERIC_KERNEL_ARCH}/boot/dts"
-PTXCONF_KERNEL_DTS="at91-sama5d3_ksz9477_evb.dts vexpress-v2p-ca9.dts"
+PTXCONF_KERNEL_DTS="at91-sama5d3_ksz9477_evb.dts vexpress-v2p-ca9.dts at91-sama5d3_eds.dts"
# PTXCONF_KERNEL_DTBO is not set
# PTXCONF_KERNEL_CODE_SIGNING is not set
# PTXCONF_KERNEL_ZSTD is not set
@@ -201,6 +201,7 @@ PTXCONF_BAREBOX_ARCH_STRING="arm"
#
# PTXCONF_BLSPEC_ENTRY is not set
PTXCONF_BLSPEC_KSZ9477_EVB=y
+PTXCONF_BLSPEC_SAMA5D3_EDS=y
PTXCONF_BLSPEC_VEXPRESS=y
# end of bootloader spec entries
@@ -238,6 +239,7 @@ PTXCONF_IMAGE_ROOT_TGZ=y
PTXCONF_IMAGE_ROOT_TGZ_LABEL=""
# PTXCONF_IMAGE_ROOT_UBI is not set
# PTXCONF_IMAGE_ROOT_UBIFS is not set
+PTXCONF_IMAGE_SAMA5D3_EDS=y
# PTXCONF_IMAGE_VEXPRESS_NOR is not set
PTXCONF_IMAGE_VEXPRESS=y
diff --git a/configs/platform-v7a_noneon/platforms/blspec-sama5d3-eds.in b/configs/platform-v7a_noneon/platforms/blspec-sama5d3-eds.in
new file mode 100644
index 0000000..54ecbf7
--- /dev/null
+++ b/configs/platform-v7a_noneon/platforms/blspec-sama5d3-eds.in
@@ -0,0 +1,5 @@
+## SECTION=blspec
+
+config BLSPEC_SAMA5D3_EDS
+ tristate
+ prompt "/loader/entries/sama5d3-eds.conf bootloader spec entry"
diff --git a/configs/platform-v7a_noneon/platforms/image-sama5d3-eds.in b/configs/platform-v7a_noneon/platforms/image-sama5d3-eds.in
new file mode 100644
index 0000000..3d3d899
--- /dev/null
+++ b/configs/platform-v7a_noneon/platforms/image-sama5d3-eds.in
@@ -0,0 +1,13 @@
+## SECTION=image
+
+config IMAGE_SAMA5D3_EDS
+ tristate
+ select HOST_GENIMAGE
+ select IMAGE_ROOT_EXT
+ select HOST_DOSFSTOOLS
+ select BAREBOX_AT91
+ select HOST_MTOOLS
+ prompt "Generate images/image-sama5d3-eds.hdimg"
+ help
+ Includes DistroKit support for the Microchip SAMA5D3 Ethernet
+ Development System (EDS).
diff --git a/configs/platform-v7a_noneon/projectroot/loader/entries/sama5d3-eds.conf b/configs/platform-v7a_noneon/projectroot/loader/entries/sama5d3-eds.conf
new file mode 100644
index 0000000..0668523
--- /dev/null
+++ b/configs/platform-v7a_noneon/projectroot/loader/entries/sama5d3-eds.conf
@@ -0,0 +1,6 @@
+title PTXdist - Pengutronix-DistroKit
+version 5.8
+options rootwait rw
+linux-appendroot true
+linux /boot/zImage
+devicetree /boot/at91-sama5d3_eds.dtb
diff --git a/configs/platform-v7a_noneon/rules/barebox-at91.make b/configs/platform-v7a_noneon/rules/barebox-at91.make
index a479f1e..d9576aa 100644
--- a/configs/platform-v7a_noneon/rules/barebox-at91.make
+++ b/configs/platform-v7a_noneon/rules/barebox-at91.make
@@ -48,7 +48,9 @@ BAREBOX_AT91_MAKE_OPT := $(BAREBOX_AT91_CONF_OPT)
BAREBOX_AT91_IMAGES := \
images/barebox-microchip-ksz9477-evb.img \
- images/barebox-microchip-ksz9477-evb-xload-mmc.img
+ images/barebox-microchip-ksz9477-evb-xload-mmc.img \
+ images/barebox-microchip-sama5d3-eds.img \
+ images/barebox-microchip-sama5d3-eds-xload-mmc.img
BAREBOX_AT91_IMAGES := $(addprefix $(BAREBOX_AT91_BUILD_DIR)/,$(BAREBOX_AT91_IMAGES))
diff --git a/configs/platform-v7a_noneon/rules/blspec-sama5d3-eds.make b/configs/platform-v7a_noneon/rules/blspec-sama5d3-eds.make
new file mode 100644
index 0000000..a4a02f0
--- /dev/null
+++ b/configs/platform-v7a_noneon/rules/blspec-sama5d3-eds.make
@@ -0,0 +1,36 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2020 by Holger Assmann <h.assmann@pengutronix.de>
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+PACKAGES-$(PTXCONF_BLSPEC_SAMA5D3_EDS) += blspec-sama5d3-eds
+
+BLSPEC_SAMA5D3_EDS_VERSION := 5.8
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/blspec-sama5d3-eds.targetinstall:
+ @$(call targetinfo)
+
+ @$(call install_init, blspec-sama5d3-eds)
+ @$(call install_fixup,blspec-sama5d3-eds,PRIORITY,optional)
+ @$(call install_fixup,blspec-sama5d3-eds,SECTION,base)
+ @$(call install_fixup,blspec-sama5d3-eds,AUTHOR,"Holger Assmann <h.assmann@pengutronix.de>")
+ @$(call install_fixup,blspec-sama5d3-eds,DESCRIPTION,missing)
+
+ @$(call install_alternative, blspec-sama5d3-eds, 0, 0, 0644, \
+ /loader/entries/sama5d3-eds.conf)
+
+ @$(call install_finish,blspec-sama5d3-eds)
+
+ @$(call touch)
+
+# vim: syntax=make
diff --git a/configs/platform-v7a_noneon/rules/image-sama5d3-eds.make b/configs/platform-v7a_noneon/rules/image-sama5d3-eds.make
new file mode 100644
index 0000000..9879bf1
--- /dev/null
+++ b/configs/platform-v7a_noneon/rules/image-sama5d3-eds.make
@@ -0,0 +1,36 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2020 by Holger Assmann <h.assmann@pengutronix.de>
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+IMAGE_PACKAGES-$(PTXCONF_IMAGE_SAMA5D3_EDS) += image-sama5d3-eds
+
+#
+# Paths and names
+#
+IMAGE_SAMA5D3_EDS := image-sama5d3-eds
+IMAGE_SAMA5D3_EDS_DIR := $(BUILDDIR)/$(IMAGE_SAMA5D3_EDS)
+IMAGE_SAMA5D3_EDS_IMAGE := $(IMAGEDIR)/image-sama5d3-eds.hdimg
+IMAGE_SAMA5D3_EDS_FILES := $(IMAGEDIR)/root.tgz
+IMAGE_SAMA5D3_EDS_CONFIG := at91-sd.config
+
+# ----------------------------------------------------------------------------
+# Image
+# ----------------------------------------------------------------------------
+
+IMAGE_SAMA5D3_EDS_ENV := \
+ FSBL=barebox-microchip-sama5d3-eds-xload-mmc.img \
+ SSBL=barebox-microchip-sama5d3-eds.img
+
+$(IMAGE_SAMA5D3_EDS_IMAGE):
+ @$(call targetinfo)
+ @$(call image/genimage, IMAGE_SAMA5D3_EDS)
+ @$(call finish)
+
+# vim: syntax=make
--
2.39.2
^ permalink raw reply [flat|nested] 12+ messages in thread
* [DistroKit] [PATCH v1 4/5] v7a_noneon: kernel: make KSZ9477 work again
2023-07-06 11:44 [DistroKit] [PATCH v1 1/5] v7a_noneon: barebox: version bump v2023.01.0 → v2023.07.1 Oleksij Rempel
2023-07-06 11:44 ` [DistroKit] [PATCH v1 2/5] v7a_noneon: use upstreamed devicetree the KSZ9477 EVB Oleksij Rempel
2023-07-06 11:44 ` [DistroKit] [PATCH v1 3/5] v7a_noneon: add Microchip SAMA5D3 Ethernet Delopment System Board support Oleksij Rempel
@ 2023-07-06 11:44 ` Oleksij Rempel
2023-07-06 12:51 ` Ahmad Fatoum
2023-07-06 11:44 ` [DistroKit] [PATCH v1 5/5] v7a_noneon: kernel: enable Microchip LAN9370 T1 PHY support Oleksij Rempel
2023-07-06 12:20 ` [DistroKit] [PATCH v1 1/5] v7a_noneon: barebox: version bump v2023.01.0 → v2023.07.1 Ahmad Fatoum
4 siblings, 1 reply; 12+ messages in thread
From: Oleksij Rempel @ 2023-07-06 11:44 UTC (permalink / raw)
To: distrokit; +Cc: Oleksij Rempel
DSA KSZ switch related Kconfig symbols was changed at some kernel
version. So, the switch driver was partially disabled. So, re-enable
KSZ SPI support and make KSZ9477 EVB work again.
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
---
configs/platform-v7a_noneon/kernelconfig | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/configs/platform-v7a_noneon/kernelconfig b/configs/platform-v7a_noneon/kernelconfig
index edd9e50..eb7a92f 100644
--- a/configs/platform-v7a_noneon/kernelconfig
+++ b/configs/platform-v7a_noneon/kernelconfig
@@ -1121,6 +1121,7 @@ CONFIG_GENERIC_CPU_VULNERABILITIES=y
CONFIG_SOC_BUS=y
CONFIG_REGMAP=y
CONFIG_REGMAP_I2C=y
+CONFIG_REGMAP_SPI=y
CONFIG_REGMAP_MMIO=y
CONFIG_DMA_SHARED_BUFFER=y
# CONFIG_DMA_FENCE_TRACE is not set
@@ -1408,7 +1409,7 @@ CONFIG_WIREGUARD=y
# CONFIG_NET_DSA_MV88E6060 is not set
CONFIG_NET_DSA_MICROCHIP_KSZ_COMMON=y
CONFIG_NET_DSA_MICROCHIP_KSZ9477_I2C=y
-# CONFIG_NET_DSA_MICROCHIP_KSZ_SPI is not set
+CONFIG_NET_DSA_MICROCHIP_KSZ_SPI=y
CONFIG_NET_DSA_MICROCHIP_KSZ_PTP=y
CONFIG_NET_DSA_MICROCHIP_KSZ8863_SMI=y
# CONFIG_NET_DSA_MV88E6XXX is not set
--
2.39.2
^ permalink raw reply [flat|nested] 12+ messages in thread
* [DistroKit] [PATCH v1 5/5] v7a_noneon: kernel: enable Microchip LAN9370 T1 PHY support
2023-07-06 11:44 [DistroKit] [PATCH v1 1/5] v7a_noneon: barebox: version bump v2023.01.0 → v2023.07.1 Oleksij Rempel
` (2 preceding siblings ...)
2023-07-06 11:44 ` [DistroKit] [PATCH v1 4/5] v7a_noneon: kernel: make KSZ9477 work again Oleksij Rempel
@ 2023-07-06 11:44 ` Oleksij Rempel
2023-07-06 12:52 ` Ahmad Fatoum
2023-07-06 12:20 ` [DistroKit] [PATCH v1 1/5] v7a_noneon: barebox: version bump v2023.01.0 → v2023.07.1 Ahmad Fatoum
4 siblings, 1 reply; 12+ messages in thread
From: Oleksij Rempel @ 2023-07-06 11:44 UTC (permalink / raw)
To: distrokit; +Cc: Oleksij Rempel
Enable T1 PHY support for Microchip LAN9370 DSA switches. This is needed
for SAMA5D3 EDS switch plugin board.
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
---
configs/platform-v7a_noneon/kernelconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configs/platform-v7a_noneon/kernelconfig b/configs/platform-v7a_noneon/kernelconfig
index eb7a92f..a9ed244 100644
--- a/configs/platform-v7a_noneon/kernelconfig
+++ b/configs/platform-v7a_noneon/kernelconfig
@@ -1538,7 +1538,7 @@ CONFIG_AX88796B_PHY=y
CONFIG_MICREL_PHY=y
# CONFIG_MICROCHIP_T1S_PHY is not set
CONFIG_MICROCHIP_PHY=y
-# CONFIG_MICROCHIP_T1_PHY is not set
+CONFIG_MICROCHIP_T1_PHY=y
# CONFIG_MICROSEMI_PHY is not set
# CONFIG_MOTORCOMM_PHY is not set
# CONFIG_NATIONAL_PHY is not set
--
2.39.2
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [DistroKit] [PATCH v1 1/5] v7a_noneon: barebox: version bump v2023.01.0 → v2023.07.1
2023-07-06 11:44 [DistroKit] [PATCH v1 1/5] v7a_noneon: barebox: version bump v2023.01.0 → v2023.07.1 Oleksij Rempel
` (3 preceding siblings ...)
2023-07-06 11:44 ` [DistroKit] [PATCH v1 5/5] v7a_noneon: kernel: enable Microchip LAN9370 T1 PHY support Oleksij Rempel
@ 2023-07-06 12:20 ` Ahmad Fatoum
4 siblings, 0 replies; 12+ messages in thread
From: Ahmad Fatoum @ 2023-07-06 12:20 UTC (permalink / raw)
To: Oleksij Rempel, distrokit
On 06.07.23 13:44, Oleksij Rempel wrote:
> This version updated includes some patches for the Microchip KSZ9477
> and support for the Microchip SAMA5D3 Ethernet Development System (EDS)
>
> Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Reviewed-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
> ---
> .../platform-v7a_noneon/barebox-at91.config | 66 ++++--
> .../barebox-at91.config.diff | 29 ++-
> .../barebox-vexpress.config | 69 ++++--
> .../barebox-vexpress.config.diff | 9 +-
> configs/platform-v7a_noneon/barebox.config | 74 ++++--
> ...nable-ddramc-for-sama5d3-and-sama5d4.patch | 32 +++
> ...port-for-SAMA5D3-Ethernet-Developmen.patch | 219 ++++++++++++++++++
> ...ip-ksz9477-evb-migrate-to-sama5d3_ba.patch | 23 ++
> ...0-customers-pengutronix-distrokit-sa.patch | 22 ++
> .../patches/barebox-2023.07.1/series | 13 ++
> configs/platform-v7a_noneon/platformconfig | 4 +-
> 11 files changed, 476 insertions(+), 84 deletions(-)
> create mode 100644 configs/platform-v7a_noneon/patches/barebox-2023.07.1/0001-ARM-at91-enable-ddramc-for-sama5d3-and-sama5d4.patch
> create mode 100644 configs/platform-v7a_noneon/patches/barebox-2023.07.1/0002-ARM-at91-add-support-for-SAMA5D3-Ethernet-Developmen.patch
> create mode 100644 configs/platform-v7a_noneon/patches/barebox-2023.07.1/0003-ARM-at91-microchip-ksz9477-evb-migrate-to-sama5d3_ba.patch
> create mode 100644 configs/platform-v7a_noneon/patches/barebox-2023.07.1/0101-Release-2023.07.0-customers-pengutronix-distrokit-sa.patch
> create mode 100644 configs/platform-v7a_noneon/patches/barebox-2023.07.1/series
>
> diff --git a/configs/platform-v7a_noneon/barebox-at91.config b/configs/platform-v7a_noneon/barebox-at91.config
> index 9c18061..584bfae 100644
> --- a/configs/platform-v7a_noneon/barebox-at91.config
> +++ b/configs/platform-v7a_noneon/barebox-at91.config
> @@ -1,42 +1,35 @@
> #
> # Automatically generated file; DO NOT EDIT.
> -# Barebox/arm 2022.05.0 Configuration
> +# Barebox/arm 2023.07.1-20230706-1 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_VERSATILE is not set
> +# CONFIG_ARCH_VEXPRESS is not set
>
> #
> # Processor Type
> @@ -53,10 +46,12 @@ CONFIG_HAVE_AT91_UTMI=y
> CONFIG_HAVE_AT91_USB_CLK=y
> CONFIG_COMMON_CLK_AT91=y
> CONFIG_HAVE_AT91_SMD=y
> +CONFIG_HAVE_AT91_DDRAMC=y
> CONFIG_AT91_MCI_PBL=y
> CONFIG_AT91SAM9_SMC=y
> CONFIG_HAVE_AT91SAM9_RST=y
> CONFIG_SOC_SAMA5=y
> +CONFIG_SOC_SAMA5_MULTI=y
> CONFIG_SOC_SAMA5D3=y
> CONFIG_ARCH_TEXT_BASE=0x23f00000
>
> @@ -68,19 +63,23 @@ CONFIG_AT91_MULTI_BOARDS=y
> # CONFIG_MACH_AT91SAM9263EK is not set
> # CONFIG_MACH_AT91SAM9X5EK is not set
> CONFIG_MACH_MICROCHIP_KSZ9477_EVB=y
> +# CONFIG_MACH_MICROCHIP_SAMA5D3_EDS is not set
> # CONFIG_MACH_SAMA5D3_XPLAINED is not set
> # CONFIG_MACH_SAMA5D27_SOM1 is not set
> # CONFIG_MACH_SAMA5D27_GIANTBOARD is not set
> +# CONFIG_MACH_SAMA5D4_WIFX is not set
>
> #
> # AT91 Board Options
> #
> -CONFIG_BAREBOX_MAX_IMAGE_SIZE=0xffffffff
> # CONFIG_BOARD_ARM_GENERIC_DT is not set
> CONFIG_AEABI=y
> # CONFIG_ARM_BOARD_APPEND_ATAG is not set
> # end of System Type
>
> +# CONFIG_64BIT is not set
> +CONFIG_32BIT=y
> +
> #
> # ARM specific settings
> #
> @@ -97,11 +96,10 @@ CONFIG_HAS_KALLSYMS=y
> CONFIG_HAS_MODULES=y
> CONFIG_HAS_CACHE=y
> CONFIG_HAS_DMA=y
> -CONFIG_HAS_ARCH_SJLJ=y
> +CONFIG_ARCH_HAS_SJLJ=y
> CONFIG_GENERIC_GPIO=y
> CONFIG_BLOCK=y
> CONFIG_BLOCK_WRITE=y
> -CONFIG_USE_COMPRESSED_DTB=y
> CONFIG_FILETYPE=y
> CONFIG_BINFMT=y
> CONFIG_UIMAGE=y
> @@ -130,6 +128,7 @@ 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
> @@ -138,7 +137,7 @@ CONFIG_IMAGE_COMPRESSION=y
> # CONFIG_IMAGE_COMPRESSION_XZKERN is not set
> CONFIG_IMAGE_COMPRESSION_NONE=y
> 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
> @@ -200,7 +199,6 @@ CONFIG_PARTITION_DISK_DOS=y
> # CONFIG_PARTITION_DISK_EFI is not set
> CONFIG_ENV_HANDLING=y
> CONFIG_DEFAULT_ENVIRONMENT=y
> -# CONFIG_DEFAULT_COMPRESSION_LZO is not set
> CONFIG_DEFAULT_COMPRESSION_NONE=y
> CONFIG_DEFAULT_ENVIRONMENT_GENERIC_NEW=y
> # CONFIG_DEFAULT_ENVIRONMENT_GENERIC_NEW_IKCONFIG is not set
> @@ -236,6 +234,7 @@ CONFIG_DEFAULT_LOGLEVEL=6
> # CONFIG_DEBUG_LL is not set
> CONFIG_DEBUG_AT91_UART_BASE=0xffffee00
> # 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
> @@ -244,6 +243,7 @@ CONFIG_HAVE_ARCH_KASAN=y
> CONFIG_CC_HAS_KASAN_GENERIC=y
> # CONFIG_KASAN is not set
> # CONFIG_COMPILE_TEST is not set
> +# CONFIG_WERROR is not set
> # end of Debugging
>
> #
> @@ -266,6 +266,7 @@ CONFIG_COMPILE_HASH=y
> CONFIG_CMD_AT91CLK=y
> 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
> @@ -337,6 +338,7 @@ 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
> @@ -427,15 +429,18 @@ CONFIG_CMD_USBGADGET=y
> CONFIG_CMD_BAREBOX_UPDATE=y
> # CONFIG_CMD_BLOBGEN is not set
> # CONFIG_CMD_FIRMWARELOAD is not set
> +# CONFIG_CMD_OF_COMPATIBLE 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 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
> @@ -481,8 +486,9 @@ CONFIG_PHYLIB=y
> #
> # Network drivers
> #
> -# CONFIG_DRIVER_NET_DESIGNWARE is not set
> -# CONFIG_DRIVER_NET_DESIGNWARE_EQOS is not set
> +# 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
> @@ -507,6 +513,7 @@ CONFIG_DRIVER_NET_MICREL=y
> # CONFIG_LXT_PHY is not set
> # CONFIG_MARVELL_PHY is not set
> CONFIG_MICREL_PHY=y
> +# CONFIG_MOTORCOMM_PHY is not set
> # CONFIG_NATIONAL_PHY is not set
> # CONFIG_REALTEK_PHY is not set
> # CONFIG_SMSC_PHY is not set
> @@ -618,6 +625,7 @@ CONFIG_HAVE_CLK=y
> CONFIG_CLKDEV_LOOKUP=y
> CONFIG_COMMON_CLK=y
> CONFIG_COMMON_CLK_OF_PROVIDER=y
> +CONFIG_COMMON_CLK_GPIO=y
>
> #
> # Clocksource
> @@ -634,6 +642,7 @@ CONFIG_CLOCKSOURCE_ARM_ARCHITECTED_TIMER=y
> # CONFIG_MFD_MC13XXX is not set
> CONFIG_MFD_SYSCON=y
> # CONFIG_MFD_ATMEL_FLEXCOM is not set
> +CONFIG_MFD_ATMEL_SMC=y
> # end of Multifunction device drivers
>
> #
> @@ -685,6 +694,7 @@ CONFIG_GPIOLIB=y
> # CONFIG_GPIO_GENERIC_PLATFORM is not set
> # CONFIG_GPIO_DESIGNWARE is not set
> # CONFIG_GPIO_SIFIVE is not set
> +# CONFIG_GPIO_LATCH is not set
> # end of GPIO
>
> CONFIG_W1=y
> @@ -737,6 +747,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
>
> #
> @@ -746,11 +757,16 @@ 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
> #
> +CONFIG_ATMEL_EBI=y
> # end of Memory controller drivers
>
> #
> @@ -801,6 +817,7 @@ 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
> @@ -858,11 +875,11 @@ CONFIG_IMAGE_SPARSE=y
> #
> # end of Library gui routines
>
> -# CONFIG_BAREBOX_LOGO is not set
> -# 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
> +CONFIG_ARCH_HAS_ZERO_PAGE=y
> # end of Library routines
>
> #
> @@ -888,6 +905,7 @@ CONFIG_DIGEST_MD5_GENERIC=y
> # Firmware files
> #
> CONFIG_EXTRA_FIRMWARE_DIR="firmware"
> +CONFIG_MISSING_FIRMWARE_ERROR=y
> # end of Firmware files
>
> #
> diff --git a/configs/platform-v7a_noneon/barebox-at91.config.diff b/configs/platform-v7a_noneon/barebox-at91.config.diff
> index d4bd071..a183a3d 100644
> --- a/configs/platform-v7a_noneon/barebox-at91.config.diff
> +++ b/configs/platform-v7a_noneon/barebox-at91.config.diff
> @@ -1,16 +1,20 @@
> -503a2995018ed6b994350193b131ee59
> +1dedd85e90c7b6ae44712caf6c69913b
> 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_OPTIMZED_STRING_FUNCTIONS is not set
> # CONFIG_ARM_SCMI_PROTOCOL is undefined
> # CONFIG_ARM_SECURE_MONITOR is undefined
> # CONFIG_ARM_SMCCC is undefined
> -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_BOARD_ARM_GENERIC_DT is not set
> # CONFIG_BOARD_GENERIC_DT is undefined
> CONFIG_BOOTM_OFTREE_UIMAGE=y
> @@ -49,9 +53,7 @@ CONFIG_COMPILE_LOGLEVEL=6
> # CONFIG_CONSOLE_ACTIVATE_FIRST is not set
> CONFIG_CONSOLE_ACTIVATE_NONE=y
> CONFIG_DEBUG_AT91_UART_BASE=0xffffee00
> -# CONFIG_DEFAULT_COMPRESSION_BZIP2 is undefined
> -# CONFIG_DEFAULT_COMPRESSION_GZIP is undefined
> -# CONFIG_DEFAULT_COMPRESSION_XZ is undefined
> +# CONFIG_DEBUG_PBL is not set
> # CONFIG_DEFAULT_ENVIRONMENT_GENERIC_NEW_MENU is undefined
> # CONFIG_DIGEST_SHA1_GENERIC is not set
> CONFIG_DRIVER_NET_MACB=y
> @@ -70,14 +72,15 @@ CONFIG_DRIVER_SPI_ATMEL=y
> # CONFIG_GPIO_WATCHDOG is undefined
> CONFIG_HAS_MACB=y
> CONFIG_HAVE_AT91SAM9_RST=y
> +CONFIG_HAVE_AT91_DDRAMC=y
> CONFIG_HAVE_AT91_SMD=y
> CONFIG_HAVE_AT91_USB_CLK=y
> CONFIG_HAVE_AT91_UTMI=y
> # CONFIG_HAVE_DIGEST_SHA1 is undefined
> -CONFIG_HAVE_MACH_ARM_HEAD=y
> # CONFIG_HWRNG is not set
> # CONFIG_I2C is not set
> # CONFIG_I2C_ALGOBIT is undefined
> +# CONFIG_I2C_BCM283X is undefined
> # CONFIG_I2C_DESIGNWARE is undefined
> # CONFIG_I2C_GPIO is undefined
> # CONFIG_I2C_MUX is undefined
> @@ -93,14 +96,18 @@ CONFIG_IMD_TARGET=y
> # CONFIG_MACH_AT91SAM9263EK is not set
> # CONFIG_MACH_AT91SAM9X5EK is not set
> CONFIG_MACH_MICROCHIP_KSZ9477_EVB=y
> +# CONFIG_MACH_MICROCHIP_SAMA5D3_EDS 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 is not set
> # CONFIG_MACH_SAMA5D27_SOM1 is not set
> # CONFIG_MACH_SAMA5D3_XPLAINED is not set
> +# CONFIG_MACH_SAMA5D4_WIFX is not set
> # CONFIG_MACH_SKOV_ARM9CPU is not set
> CONFIG_MCI_ATMEL=y
> CONFIG_MCI_ATMEL_PBL=y
> @@ -111,20 +118,26 @@ CONFIG_MCI_ATMEL_SDHCI=y
> CONFIG_MCI_MMC_BOOT_PARTITIONS=y
> CONFIG_MCI_SDHCI=y
> # CONFIG_MCI_STARTUP is not set
> +# CONFIG_MEMTEST is undefined
> # CONFIG_MENUTREE is undefined
> # CONFIG_MFD_ACT8846 is undefined
> +CONFIG_MFD_ATMEL_SMC=y
> +# CONFIG_MFD_AXP20X_I2C is undefined
> # CONFIG_MFD_DA9053 is undefined
> # CONFIG_MFD_DA9063 is undefined
> # CONFIG_MFD_LP3972 is undefined
> # CONFIG_MFD_MC34704 is undefined
> # CONFIG_MFD_MC9SDZ60 is undefined
> +# CONFIG_MFD_RK808 is undefined
> # CONFIG_MFD_RN568PMIC is undefined
> +# CONFIG_MFD_ROHM_BD718XX is undefined
> # CONFIG_MFD_STMPE is undefined
> # CONFIG_MFD_STPMIC1 is undefined
> CONFIG_MFD_SYSCON=y
> # CONFIG_MFD_TWL4030 is undefined
> # CONFIG_MFD_TWL6030 is undefined
> CONFIG_MICREL_PHY=y
> +# CONFIG_MMUINFO is undefined
> CONFIG_MTD_M25P80=y
> CONFIG_MTD_SPI_NOR=y
> # CONFIG_MTD_SPI_NOR_USE_4K_SECTORS is not set
> @@ -147,6 +160,7 @@ CONFIG_REGULATOR_FIXED=y
> # CONFIG_SERIAL_AMBA_PL011 is undefined
> CONFIG_SOC_SAMA5=y
> CONFIG_SOC_SAMA5D3=y
> +CONFIG_SOC_SAMA5_MULTI=y
> CONFIG_SPI_ATMEL_QUADSPI=y
> # CONFIG_SPI_CADENCE_QUADSPI is not set
> CONFIG_SPI_MEM=y
> @@ -158,6 +172,7 @@ CONFIG_SPI_MEM=y
> # CONFIG_SYSTEMD_OF_WATCHDOG is undefined
> CONFIG_SYSTEM_PARTITIONS=y
> # CONFIG_THUMB2_BAREBOX is undefined
> +# CONFIG_TYPEC_TUSB320 is undefined
> # CONFIG_USB_DWC2_GADGET is undefined
> # CONFIG_USB_DWC2_HOST is undefined
> # CONFIG_USB_DWC3 is undefined
> @@ -167,10 +182,10 @@ CONFIG_USB_GADGET_DUALSPEED=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_VIRTIO_MENU=y
> # CONFIG_VIRTIO_MMIO is not set
> CONFIG_W1=y
> diff --git a/configs/platform-v7a_noneon/barebox-vexpress.config b/configs/platform-v7a_noneon/barebox-vexpress.config
> index 2caf92d..d2b7aa6 100644
> --- a/configs/platform-v7a_noneon/barebox-vexpress.config
> +++ b/configs/platform-v7a_noneon/barebox-vexpress.config
> @@ -1,6 +1,6 @@
> #
> # Automatically generated file; DO NOT EDIT.
> -# Barebox/arm 2022.05.0 Configuration
> +# Barebox/arm 2023.07.1-20230706-1 Configuration
> #
> CONFIG_ARM=y
> CONFIG_ARM_LINUX=y
> @@ -9,32 +9,29 @@ 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_VERSATILE is not set
> +CONFIG_ARCH_VEXPRESS=y
>
> #
> # Processor Type
> @@ -48,7 +45,6 @@ CONFIG_CPU_32v7=y
> #
> # CONFIG_BOOT_ENDIANNESS_SWITCH is not set
> 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
> @@ -57,6 +53,9 @@ CONFIG_AEABI=y
> # CONFIG_ARM_BOARD_APPEND_ATAG is not set
> # end of System Type
>
> +# CONFIG_64BIT is not set
> +CONFIG_32BIT=y
> +
> #
> # ARM specific settings
> #
> @@ -73,7 +72,7 @@ CONFIG_HAS_KALLSYMS=y
> CONFIG_HAS_MODULES=y
> CONFIG_HAS_CACHE=y
> CONFIG_HAS_DMA=y
> -CONFIG_HAS_ARCH_SJLJ=y
> +CONFIG_ARCH_HAS_SJLJ=y
> CONFIG_BLOCK=y
> CONFIG_BLOCK_WRITE=y
> CONFIG_FILETYPE=y
> @@ -93,6 +92,7 @@ CONFIG_LOCALVERSION=""
> CONFIG_LOCALVERSION_AUTO=y
> CONFIG_BANNER=y
> CONFIG_MEMINFO=y
> +CONFIG_MEMTEST=y
> CONFIG_ENVIRONMENT_VARIABLES=y
> CONFIG_GLOBALVAR=y
> CONFIG_NVVAR=y
> @@ -114,7 +114,8 @@ CONFIG_IMAGE_COMPRESSION_LZO=y
> # CONFIG_IMAGE_COMPRESSION_XZKERN is not set
> # CONFIG_IMAGE_COMPRESSION_NONE is not set
> CONFIG_MMU=y
> -CONFIG_MMU_EARLY=y
> +CONFIG_MMUINFO=y
> +CONFIG_BAREBOX_MAX_IMAGE_SIZE=0xffffffff
> CONFIG_BAREBOX_MAX_PBL_SIZE=0xffffffff
> CONFIG_BAREBOX_MAX_BARE_INIT_SIZE=0xffffffff
> CONFIG_STACK_SIZE=0x8000
> @@ -177,10 +178,6 @@ 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
> @@ -220,6 +217,7 @@ CONFIG_COMPILE_LOGLEVEL=7
> CONFIG_DEFAULT_LOGLEVEL=6
> # CONFIG_DEBUG_LL is not set
> # 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
> @@ -228,6 +226,7 @@ CONFIG_HAVE_ARCH_KASAN=y
> CONFIG_CC_HAS_KASAN_GENERIC=y
> # CONFIG_KASAN is not set
> # CONFIG_COMPILE_TEST is not set
> +# CONFIG_WERROR is not set
> # end of Debugging
>
> #
> @@ -249,6 +248,7 @@ CONFIG_COMPILE_HASH=y
> # 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
> @@ -319,6 +319,7 @@ 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
> @@ -413,15 +414,18 @@ CONFIG_CMD_WD_DEFAULT_TIMOUT=0
> CONFIG_CMD_BAREBOX_UPDATE=y
> # CONFIG_CMD_BLOBGEN is not set
> # CONFIG_CMD_FIRMWARELOAD is not set
> +# CONFIG_CMD_OF_COMPATIBLE 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 is not set
> CONFIG_CMD_OF_FIXUP_STATUS=y
> 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
> @@ -468,8 +472,9 @@ CONFIG_PHYLIB=y
> #
> # Network drivers
> #
> -# CONFIG_DRIVER_NET_DESIGNWARE is not set
> -# CONFIG_DRIVER_NET_DESIGNWARE_EQOS is not set
> +# 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
> @@ -493,6 +498,7 @@ CONFIG_DRIVER_NET_SMC911X=y
> # CONFIG_LXT_PHY is not set
> # CONFIG_MARVELL_PHY is not set
> # CONFIG_MICREL_PHY is not set
> +# CONFIG_MOTORCOMM_PHY is not set
> # CONFIG_NATIONAL_PHY is not set
> # CONFIG_REALTEK_PHY is not set
> # CONFIG_SMSC_PHY is not set
> @@ -588,6 +594,8 @@ CONFIG_USB_STORAGE=y
> # USB Miscellaneous drivers
> #
> # CONFIG_USB_HUB_USB251XB is not set
> +# CONFIG_USB_ONBOARD_HUB is not set
> +# CONFIG_TYPEC_TUSB320 is not set
> CONFIG_USB_GADGET=y
> CONFIG_USB_GADGET_AUTOSTART=y
>
> @@ -624,6 +632,7 @@ CONFIG_HAVE_CLK=y
> CONFIG_CLKDEV_LOOKUP=y
> CONFIG_COMMON_CLK=y
> CONFIG_COMMON_CLK_OF_PROVIDER=y
> +CONFIG_COMMON_CLK_GPIO=y
>
> #
> # Clocksource
> @@ -651,6 +660,9 @@ CONFIG_CLOCKSOURCE_ARM_ARCHITECTED_TIMER=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
>
> #
> @@ -722,6 +734,7 @@ CONFIG_REGULATOR=y
> #
> # Firmware Drivers
> #
> +# CONFIG_QEMU_FW_CFG is not set
> # end of Firmware Drivers
>
> #
> @@ -731,7 +744,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
> @@ -782,6 +799,7 @@ 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
> @@ -846,11 +864,11 @@ CONFIG_LIBFDT=y
> #
> # end of Library gui routines
>
> -# CONFIG_BAREBOX_LOGO is not set
> -# 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
> +CONFIG_ARCH_HAS_ZERO_PAGE=y
> # end of Library routines
>
> #
> @@ -877,6 +895,7 @@ CONFIG_DIGEST_SHA1_GENERIC=y
> # Firmware files
> #
> CONFIG_EXTRA_FIRMWARE_DIR="firmware"
> +CONFIG_MISSING_FIRMWARE_ERROR=y
> # end of Firmware files
>
> #
> diff --git a/configs/platform-v7a_noneon/barebox-vexpress.config.diff b/configs/platform-v7a_noneon/barebox-vexpress.config.diff
> index ea72472..fff891e 100644
> --- a/configs/platform-v7a_noneon/barebox-vexpress.config.diff
> +++ b/configs/platform-v7a_noneon/barebox-vexpress.config.diff
> @@ -1,16 +1,18 @@
> -503a2995018ed6b994350193b131ee59
> +1dedd85e90c7b6ae44712caf6c69913b
> CONFIG_AMBA_SP804=y
> # CONFIG_ARCH_BCM283X is not set
> CONFIG_ARCH_VEXPRESS=y
> # CONFIG_ARM_SCMI_PROTOCOL is undefined
> # CONFIG_ARM_SECURE_MONITOR is undefined
> # CONFIG_ARM_SMCCC is undefined
> +# CONFIG_ARM_USE_COMPRESSED_DTB is undefined
> # CONFIG_CFI_BUFFER_WRITE is not set
> # CONFIG_CLOCKSOURCE_BCM283X is undefined
> # CONFIG_CMD_GPIO is undefined
> # CONFIG_CMD_SMC is undefined
> CONFIG_CONSOLE_ACTIVATE_ALL=y
> # CONFIG_CONSOLE_ACTIVATE_FIRST is not set
> +# CONFIG_DEBUG_PBL is not set
> CONFIG_DRIVER_CFI=y
> CONFIG_DRIVER_CFI_AMD=y
> CONFIG_DRIVER_CFI_BANK_WIDTH_1=y
> @@ -27,6 +29,7 @@ CONFIG_DRIVER_NET_SMC911X=y
> # 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
> @@ -35,6 +38,7 @@ CONFIG_DRIVER_NET_SMC911X=y
> # 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
> @@ -45,7 +49,9 @@ CONFIG_DRIVER_NET_SMC911X=y
> # 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_MACH_VEXPRESS=y
> @@ -64,4 +70,5 @@ CONFIG_PROMPT="vexpress: "
> # CONFIG_REGULATOR_FIXED is undefined
> CONFIG_SERIAL_AMBA_PL011=y
> CONFIG_SRAM=y
> +# CONFIG_USE_COMPRESSED_DTB is undefined
> # CONFIG_WATCHDOG_BCM2835 is undefined
> diff --git a/configs/platform-v7a_noneon/barebox.config b/configs/platform-v7a_noneon/barebox.config
> index 8b3a2f4..bbedcdb 100644
> --- a/configs/platform-v7a_noneon/barebox.config
> +++ b/configs/platform-v7a_noneon/barebox.config
> @@ -1,40 +1,38 @@
> #
> # Automatically generated file; DO NOT EDIT.
> -# Barebox/arm 2022.05.0 Configuration
> +# Barebox/arm 2023.07.1-20230706-1 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=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_VERSATILE is not set
> +# CONFIG_ARCH_VEXPRESS is not set
>
> #
> # Processor Type
> @@ -49,6 +47,7 @@ CONFIG_CPU_32v7=y
> # CONFIG_BOOT_ENDIANNESS_SWITCH is not set
> CONFIG_ARCH_TEXT_BASE=0x0
> CONFIG_MACH_RPI_COMMON=y
> +CONFIG_MACH_RPI_AARCH_32_64=y
>
> #
> # select Broadcom BCM283X boards to be built
> @@ -57,15 +56,18 @@ CONFIG_MACH_RPI_COMMON=y
> # 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_BAREBOX_MAX_IMAGE_SIZE=0xffffffff
> 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_64BIT is not set
> +CONFIG_32BIT=y
> +
> #
> # ARM specific settings
> #
> @@ -84,7 +86,7 @@ CONFIG_HAS_KALLSYMS=y
> CONFIG_HAS_MODULES=y
> CONFIG_HAS_CACHE=y
> CONFIG_HAS_DMA=y
> -CONFIG_HAS_ARCH_SJLJ=y
> +CONFIG_ARCH_HAS_SJLJ=y
> CONFIG_GENERIC_GPIO=y
> CONFIG_BLOCK=y
> CONFIG_BLOCK_WRITE=y
> @@ -105,6 +107,7 @@ CONFIG_LOCALVERSION=""
> CONFIG_LOCALVERSION_AUTO=y
> CONFIG_BANNER=y
> CONFIG_MEMINFO=y
> +CONFIG_MEMTEST=y
> CONFIG_ENVIRONMENT_VARIABLES=y
> CONFIG_GLOBALVAR=y
> CONFIG_NVVAR=y
> @@ -117,6 +120,7 @@ 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
> @@ -126,7 +130,8 @@ CONFIG_IMAGE_COMPRESSION_LZO=y
> # CONFIG_IMAGE_COMPRESSION_XZKERN is not set
> # CONFIG_IMAGE_COMPRESSION_NONE is not set
> CONFIG_MMU=y
> -CONFIG_MMU_EARLY=y
> +CONFIG_MMUINFO=y
> +CONFIG_BAREBOX_MAX_IMAGE_SIZE=0xffffffff
> CONFIG_BAREBOX_MAX_PBL_SIZE=0xffffffff
> CONFIG_BAREBOX_MAX_BARE_INIT_SIZE=0xffffffff
> CONFIG_STACK_SIZE=0x8000
> @@ -189,10 +194,6 @@ 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
> @@ -240,6 +241,7 @@ CONFIG_HAVE_ARCH_KASAN=y
> CONFIG_CC_HAS_KASAN_GENERIC=y
> # CONFIG_KASAN is not set
> # CONFIG_COMPILE_TEST is not set
> +# CONFIG_WERROR is not set
> # end of Debugging
>
> #
> @@ -261,6 +263,7 @@ CONFIG_COMPILE_HASH=y
> # 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
> @@ -331,6 +334,7 @@ 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
> @@ -427,15 +431,18 @@ CONFIG_CMD_WD_DEFAULT_TIMOUT=0
> CONFIG_CMD_BAREBOX_UPDATE=y
> # CONFIG_CMD_BLOBGEN is not set
> # CONFIG_CMD_FIRMWARELOAD is not set
> +# CONFIG_CMD_OF_COMPATIBLE 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 is not set
> CONFIG_CMD_OF_FIXUP_STATUS=y
> 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
> @@ -483,8 +490,9 @@ CONFIG_PHYLIB=y
> #
> # Network drivers
> #
> -# CONFIG_DRIVER_NET_DESIGNWARE is not set
> -# CONFIG_DRIVER_NET_DESIGNWARE_EQOS is not set
> +# 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
> @@ -508,6 +516,7 @@ CONFIG_PHYLIB=y
> # CONFIG_LXT_PHY is not set
> # CONFIG_MARVELL_PHY is not set
> # CONFIG_MICREL_PHY is not set
> +# CONFIG_MOTORCOMM_PHY is not set
> # CONFIG_NATIONAL_PHY is not set
> # CONFIG_REALTEK_PHY is not set
> # CONFIG_SMSC_PHY is not set
> @@ -544,6 +553,7 @@ CONFIG_I2C_ALGOBIT=y
> # I2C Hardware Bus support
> #
> CONFIG_I2C_GPIO=y
> +# CONFIG_I2C_BCM283X is not set
> # CONFIG_I2C_DESIGNWARE is not set
> # CONFIG_I2C_MV64XXX is not set
> # end of I2C Hardware Bus support
> @@ -600,6 +610,8 @@ CONFIG_USB_STORAGE=y
> # USB Miscellaneous drivers
> #
> # CONFIG_USB_HUB_USB251XB is not set
> +# CONFIG_USB_ONBOARD_HUB is not set
> +# CONFIG_TYPEC_TUSB320 is not set
> CONFIG_USB_GADGET=y
> CONFIG_USB_GADGET_AUTOSTART=y
>
> @@ -638,6 +650,7 @@ CONFIG_HAVE_CLK=y
> CONFIG_CLKDEV_LOOKUP=y
> CONFIG_COMMON_CLK=y
> CONFIG_COMMON_CLK_OF_PROVIDER=y
> +CONFIG_COMMON_CLK_GPIO=y
>
> #
> # Clocksource
> @@ -665,6 +678,9 @@ CONFIG_CLOCKSOURCE_ARM_ARCHITECTED_TIMER=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
>
> #
> @@ -730,6 +746,7 @@ CONFIG_GPIOLIB=y
> # 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
> @@ -767,6 +784,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
>
> #
> @@ -776,7 +794,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
> @@ -829,6 +851,7 @@ 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
> @@ -893,11 +916,11 @@ CONFIG_LIBFDT=y
> #
> # end of Library gui routines
>
> -# CONFIG_BAREBOX_LOGO is not set
> -# 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
> +CONFIG_ARCH_HAS_ZERO_PAGE=y
> # end of Library routines
>
> #
> @@ -924,6 +947,7 @@ CONFIG_DIGEST_SHA1_GENERIC=y
> # Firmware files
> #
> CONFIG_EXTRA_FIRMWARE_DIR="firmware"
> +CONFIG_MISSING_FIRMWARE_ERROR=y
> # end of Firmware files
>
> #
> diff --git a/configs/platform-v7a_noneon/patches/barebox-2023.07.1/0001-ARM-at91-enable-ddramc-for-sama5d3-and-sama5d4.patch b/configs/platform-v7a_noneon/patches/barebox-2023.07.1/0001-ARM-at91-enable-ddramc-for-sama5d3-and-sama5d4.patch
> new file mode 100644
> index 0000000..1afe828
> --- /dev/null
> +++ b/configs/platform-v7a_noneon/patches/barebox-2023.07.1/0001-ARM-at91-enable-ddramc-for-sama5d3-and-sama5d4.patch
> @@ -0,0 +1,32 @@
> +From: Oleksij Rempel <o.rempel@pengutronix.de>
> +Date: Thu, 6 Jul 2023 09:04:40 +0200
> +Subject: [PATCH] ARM: at91: enable ddramc for sama5d3 and sama5d4
> +
> +ddramc has already support for sama5d3 and sama5d4, so enable it
> +officially.
> +
> +Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
> +---
> + arch/arm/mach-at91/Kconfig | 2 ++
> + 1 file changed, 2 insertions(+)
> +
> +diff --git a/arch/arm/mach-at91/Kconfig b/arch/arm/mach-at91/Kconfig
> +index b803a1185d20..349586b68339 100644
> +--- a/arch/arm/mach-at91/Kconfig
> ++++ b/arch/arm/mach-at91/Kconfig
> +@@ -104,6 +104,7 @@ config SOC_SAMA5D3
> + select HAVE_AT91_UTMI
> + select PINCTRL_AT91
> + select HAS_MACB
> ++ select HAVE_AT91_DDRAMC
> +
> + config SOC_SAMA5D4
> + bool
> +@@ -116,6 +117,7 @@ config SOC_SAMA5D4
> + select HAVE_AT91_UTMI
> + select PINCTRL_AT91
> + select HAS_MACB
> ++ select HAVE_AT91_DDRAMC
> +
> + config SOC_SAM9X60
> + bool
> diff --git a/configs/platform-v7a_noneon/patches/barebox-2023.07.1/0002-ARM-at91-add-support-for-SAMA5D3-Ethernet-Developmen.patch b/configs/platform-v7a_noneon/patches/barebox-2023.07.1/0002-ARM-at91-add-support-for-SAMA5D3-Ethernet-Developmen.patch
> new file mode 100644
> index 0000000..7aeec24
> --- /dev/null
> +++ b/configs/platform-v7a_noneon/patches/barebox-2023.07.1/0002-ARM-at91-add-support-for-SAMA5D3-Ethernet-Developmen.patch
> @@ -0,0 +1,219 @@
> +From: Oleksij Rempel <o.rempel@pengutronix.de>
> +Date: Tue, 4 Jul 2023 06:35:09 +0200
> +Subject: [PATCH] ARM: at91: add support for SAMA5D3 - Ethernet Development
> + System Board
> +
> +Microchip Technology SAMA5D3 Ethernet Development System (EDS) Board
> +(DM320114) is an MPU-based platform for evaluating Ethernet Switch and
> +PHY products. Compatible Ethernet Switch and PHY Evaluation Boards
> +connect to the SAMA5D3 EDS Board via either an RGMII or RMII connector.
> +The Microchip Technology SAMA5D3 EDS Board is not intended for
> +stand-alone use and has no Ethernet capabilities when no daughter board
> +or an USB Ethernet adapter is connected.
> +
> +For more information see:
> +https://www.microchip.com/en-us/development-tool/DM320114
> +
> +Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
> +---
> + Documentation/boards/at91.rst | 2 +
> + arch/arm/boards/Makefile | 1 +
> + arch/arm/boards/microchip-sama5d3-eds/Makefile | 3 ++
> + arch/arm/boards/microchip-sama5d3-eds/lowlevel.c | 62 ++++++++++++++++++++++++
> + arch/arm/configs/at91_multi_defconfig | 1 +
> + arch/arm/dts/Makefile | 1 +
> + arch/arm/dts/at91-microchip-sama5d3-eds.dts | 14 ++++++
> + arch/arm/mach-at91/Kconfig | 10 ++++
> + images/Makefile.at91 | 9 ++++
> + 9 files changed, 103 insertions(+)
> + create mode 100644 arch/arm/boards/microchip-sama5d3-eds/Makefile
> + create mode 100644 arch/arm/boards/microchip-sama5d3-eds/lowlevel.c
> + create mode 100644 arch/arm/dts/at91-microchip-sama5d3-eds.dts
> +
> +diff --git a/Documentation/boards/at91.rst b/Documentation/boards/at91.rst
> +index f502979df6eb..961ef58d84ac 100644
> +--- a/Documentation/boards/at91.rst
> ++++ b/Documentation/boards/at91.rst
> +@@ -35,6 +35,8 @@ The resulting images will be placed under ``images/``:
> + barebox-at91sam9263ek.img
> + barebox-microchip-ksz9477-evb.img
> + barebox-microchip-ksz9477-evb-xload-mmc.img
> ++ barebox-microchip-sama5d3-eds.img
> ++ barebox-microchip-sama5d3-eds-xload-mmc.img
> + barebox-sama5d3-xplained.img
> + barebox-sama5d3-xplained-xload-mmc.img
> + barebox-sama5d27-som1-ek.img
> +diff --git a/arch/arm/boards/Makefile b/arch/arm/boards/Makefile
> +index 2877debad535..382e649fce62 100644
> +--- a/arch/arm/boards/Makefile
> ++++ b/arch/arm/boards/Makefile
> +@@ -121,6 +121,7 @@ obj-$(CONFIG_MACH_SAMA5D27_SOM1) += sama5d27-som1/
> + obj-$(CONFIG_MACH_SAMA5D3XEK) += sama5d3xek/
> + obj-$(CONFIG_MACH_SAMA5D3_XPLAINED) += sama5d3_xplained/
> + obj-$(CONFIG_MACH_MICROCHIP_KSZ9477_EVB) += microchip-ksz9477-evb/
> ++obj-$(CONFIG_MACH_MICROCHIP_SAMA5D3_EDS) += microchip-sama5d3-eds/
> + obj-$(CONFIG_MACH_SAMA5D4_XPLAINED) += sama5d4_xplained/
> + obj-$(CONFIG_MACH_SAMA5D4_WIFX) += sama5d4_wifx/
> + obj-$(CONFIG_MACH_SAMA5D4EK) += sama5d4ek/
> +diff --git a/arch/arm/boards/microchip-sama5d3-eds/Makefile b/arch/arm/boards/microchip-sama5d3-eds/Makefile
> +new file mode 100644
> +index 000000000000..458f5209008d
> +--- /dev/null
> ++++ b/arch/arm/boards/microchip-sama5d3-eds/Makefile
> +@@ -0,0 +1,3 @@
> ++# SPDX-License-Identifier: GPL-2.0-only
> ++
> ++lwl-y += lowlevel.o
> +diff --git a/arch/arm/boards/microchip-sama5d3-eds/lowlevel.c b/arch/arm/boards/microchip-sama5d3-eds/lowlevel.c
> +new file mode 100644
> +index 000000000000..79346a9b6ac1
> +--- /dev/null
> ++++ b/arch/arm/boards/microchip-sama5d3-eds/lowlevel.c
> +@@ -0,0 +1,62 @@
> ++// SPDX-License-Identifier: GPL-2.0-only AND BSD-1-Clause
> ++/*
> ++ * Copyright (C) 2014, Atmel Corporation
> ++ * Copyright (C) 2018 Ahmad Fatoum, Pengutronix
> ++ */
> ++
> ++#include <common.h>
> ++#include <init.h>
> ++
> ++#include <asm/barebox-arm-head.h>
> ++#include <debug_ll.h>
> ++#include <mach/at91/barebox-arm.h>
> ++#include <mach/at91/iomux.h>
> ++#include <mach/at91/sama5d3.h>
> ++#include <mach/at91/sama5d3-xplained-ddramc.h>
> ++#include <mach/at91/xload.h>
> ++
> ++/* PCK = 528MHz, MCK = 132MHz */
> ++#define MASTER_CLOCK 132000000
> ++
> ++static void dbgu_init(void)
> ++{
> ++ void __iomem *pio = IOMEM(SAMA5D3_BASE_PIOB);
> ++
> ++ sama5d3_pmc_enable_periph_clock(SAMA5D3_ID_PIOB);
> ++
> ++ at91_mux_pio3_pin(pio, pin_to_mask(AT91_PIN_PB31), AT91_MUX_PERIPH_A, 0);
> ++
> ++ sama5d3_pmc_enable_periph_clock(SAMA5D3_ID_DBGU);
> ++ at91_dbgu_setup_ll(IOMEM(AT91_BASE_DBGU1), MASTER_CLOCK, 115200);
> ++
> ++ putc_ll('>');
> ++}
> ++
> ++SAMA5D3_ENTRY_FUNCTION(start_microchip_sama5d3_eds_xload_mmc, r4)
> ++{
> ++ sama5d3_lowlevel_init();
> ++
> ++ relocate_to_current_adr();
> ++ setup_c();
> ++
> ++ sama5d3_udelay_init(MASTER_CLOCK);
> ++ sama5d3_xplained_ddrconf();
> ++ if (IS_ENABLED(CONFIG_DEBUG_LL))
> ++ dbgu_init();
> ++
> ++ sama5d3_atmci_start_image(0, MASTER_CLOCK, 0);
> ++}
> ++
> ++extern char __dtb_z_at91_microchip_sama5d3_eds_start[];
> ++
> ++SAMA5D3_ENTRY_FUNCTION(start_microchip_sama5d3_eds, r4)
> ++{
> ++ void *fdt;
> ++
> ++ if (IS_ENABLED(CONFIG_DEBUG_LL))
> ++ dbgu_init();
> ++
> ++ fdt = __dtb_z_at91_microchip_sama5d3_eds_start + get_runtime_offset();
> ++
> ++ sama5d3_barebox_entry(r4, fdt);
> ++}
> +diff --git a/arch/arm/configs/at91_multi_defconfig b/arch/arm/configs/at91_multi_defconfig
> +index c93c2f578609..de47af3bd0a6 100644
> +--- a/arch/arm/configs/at91_multi_defconfig
> ++++ b/arch/arm/configs/at91_multi_defconfig
> +@@ -4,6 +4,7 @@ CONFIG_MACH_SKOV_ARM9CPU=y
> + CONFIG_MACH_AT91SAM9263EK=y
> + CONFIG_MACH_AT91SAM9X5EK=y
> + CONFIG_MACH_MICROCHIP_KSZ9477_EVB=y
> ++CONFIG_MACH_MICROCHIP_SAMA5D3_EDS=y
> + CONFIG_MACH_SAMA5D3_XPLAINED=y
> + CONFIG_MACH_SAMA5D27_SOM1=y
> + CONFIG_MACH_SAMA5D27_GIANTBOARD=y
> +diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile
> +index 98f4c4e0194b..eb9e0e062adf 100644
> +--- a/arch/arm/dts/Makefile
> ++++ b/arch/arm/dts/Makefile
> +@@ -193,6 +193,7 @@ lwl-$(CONFIG_MACH_AC_SXB) += ac-sxb.dtb.o
> + lwl-$(CONFIG_MACH_AT91SAM9263EK_DT) += at91sam9263ek.dtb.o
> + lwl-$(CONFIG_MACH_SAMA5D3_XPLAINED) += at91-sama5d3_xplained.dtb.o
> + lwl-$(CONFIG_MACH_MICROCHIP_KSZ9477_EVB) += at91-microchip-ksz9477-evb.dtb.o
> ++lwl-$(CONFIG_MACH_MICROCHIP_SAMA5D3_EDS) += at91-microchip-sama5d3-eds.dtb.o
> + lwl-$(CONFIG_MACH_SAMA5D27_SOM1) += at91-sama5d27_som1_ek.dtb.o
> + lwl-$(CONFIG_MACH_SAMA5D27_GIANTBOARD) += at91-sama5d27_giantboard.dtb.o
> + lwl-$(CONFIG_MACH_SAMA5D4_WIFX) += at91-sama5d4_wifx_l1.dtb.o
> +diff --git a/arch/arm/dts/at91-microchip-sama5d3-eds.dts b/arch/arm/dts/at91-microchip-sama5d3-eds.dts
> +new file mode 100644
> +index 000000000000..ad75fc882c63
> +--- /dev/null
> ++++ b/arch/arm/dts/at91-microchip-sama5d3-eds.dts
> +@@ -0,0 +1,14 @@
> ++/* SPDX-License-Identifier: GPL-2.0 */
> ++/dts-v1/;
> ++#include <arm/at91-sama5d3_eds.dts>
> ++#include "sama5d3.dtsi"
> ++
> ++/ {
> ++ chosen {
> ++ environment {
> ++ compatible = "barebox,environment";
> ++ device-path = &mmc0, "partname:0";
> ++ file-path = "barebox.env";
> ++ };
> ++ };
> ++};
> +diff --git a/arch/arm/mach-at91/Kconfig b/arch/arm/mach-at91/Kconfig
> +index 349586b68339..d2499747252d 100644
> +--- a/arch/arm/mach-at91/Kconfig
> ++++ b/arch/arm/mach-at91/Kconfig
> +@@ -606,6 +606,16 @@ config MACH_MICROCHIP_KSZ9477_EVB
> + help
> + Select this if you are using Microchip's EVB-KSZ9477 Evaluation Kit.
> +
> ++config MACH_MICROCHIP_SAMA5D3_EDS
> ++ bool "Microchip SAMA5D3 Ethernet Development System"
> ++ select SOC_SAMA5D3
> ++ select OFDEVICE
> ++ select MCI_ATMEL_PBL
> ++ select COMMON_CLK_OF_PROVIDER
> ++ help
> ++ Select this if you are using Microchip's SAMA5D3 Ethernet Development
> ++ System.
> ++
> + config MACH_SAMA5D3_XPLAINED
> + bool "Atmel SAMA5D3_XPLAINED Evaluation Kit"
> + select SOC_SAMA5D3
> +diff --git a/images/Makefile.at91 b/images/Makefile.at91
> +index 19a81e2e9a3c..36f725940639 100644
> +--- a/images/Makefile.at91
> ++++ b/images/Makefile.at91
> +@@ -20,6 +20,15 @@ MAX_PBL_IMAGE_SIZE_start_sama5d3_xplained_ung8071_xload_mmc = 0xffff
> + FILE_barebox-microchip-ksz9477-evb-xload-mmc.img = start_sama5d3_xplained_ung8071_xload_mmc.pblb
> + image-$(CONFIG_MACH_MICROCHIP_KSZ9477_EVB) += barebox-microchip-ksz9477-evb-xload-mmc.img
> +
> ++pblb-$(CONFIG_MACH_MICROCHIP_SAMA5D3_EDS) += start_microchip_sama5d3_eds
> ++FILE_barebox-microchip-sama5d3-eds.img = start_microchip_sama5d3_eds.pblb
> ++image-$(CONFIG_MACH_MICROCHIP_SAMA5D3_EDS) += barebox-microchip-sama5d3-eds.img
> ++
> ++pblb-$(CONFIG_MACH_MICROCHIP_SAMA5D3_EDS) += start_microchip_sama5d3_eds_xload_mmc
> ++MAX_PBL_IMAGE_SIZE_start_microchip_sama5d3_eds_xload_mmc = 0xffff
> ++FILE_barebox-microchip-sama5d3-eds-xload-mmc.img = start_microchip_sama5d3_eds_xload_mmc.pblb
> ++image-$(CONFIG_MACH_MICROCHIP_SAMA5D3_EDS) += barebox-microchip-sama5d3-eds-xload-mmc.img
> ++
> + pblb-$(CONFIG_MACH_SAMA5D3_XPLAINED) += start_sama5d3_xplained
> + FILE_barebox-sama5d3-xplained.img = start_sama5d3_xplained.pblb
> + image-$(CONFIG_MACH_SAMA5D3_XPLAINED) += barebox-sama5d3-xplained.img
> diff --git a/configs/platform-v7a_noneon/patches/barebox-2023.07.1/0003-ARM-at91-microchip-ksz9477-evb-migrate-to-sama5d3_ba.patch b/configs/platform-v7a_noneon/patches/barebox-2023.07.1/0003-ARM-at91-microchip-ksz9477-evb-migrate-to-sama5d3_ba.patch
> new file mode 100644
> index 0000000..519ea4a
> --- /dev/null
> +++ b/configs/platform-v7a_noneon/patches/barebox-2023.07.1/0003-ARM-at91-microchip-ksz9477-evb-migrate-to-sama5d3_ba.patch
> @@ -0,0 +1,23 @@
> +From: Oleksij Rempel <o.rempel@pengutronix.de>
> +Date: Thu, 6 Jul 2023 09:26:22 +0200
> +Subject: [PATCH] ARM: at91: microchip-ksz9477-evb: migrate to
> + sama5d3_barebox_entry()
> +
> +We have sama5d3_barebox_entry(), so make use of it.
> +
> +Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
> +---
> + arch/arm/boards/microchip-ksz9477-evb/lowlevel.c | 2 +-
> + 1 file changed, 1 insertion(+), 1 deletion(-)
> +
> +diff --git a/arch/arm/boards/microchip-ksz9477-evb/lowlevel.c b/arch/arm/boards/microchip-ksz9477-evb/lowlevel.c
> +index bda6a94160a5..aa2161daeef0 100644
> +--- a/arch/arm/boards/microchip-ksz9477-evb/lowlevel.c
> ++++ b/arch/arm/boards/microchip-ksz9477-evb/lowlevel.c
> +@@ -58,5 +58,5 @@ SAMA5D3_ENTRY_FUNCTION(start_sama5d3_xplained_ung8071, r4)
> +
> + fdt = __dtb_z_at91_microchip_ksz9477_evb_start + get_runtime_offset();
> +
> +- barebox_arm_entry(SAMA5_DDRCS, SZ_256M, fdt);
> ++ sama5d3_barebox_entry(r4, fdt);
> + }
> diff --git a/configs/platform-v7a_noneon/patches/barebox-2023.07.1/0101-Release-2023.07.0-customers-pengutronix-distrokit-sa.patch b/configs/platform-v7a_noneon/patches/barebox-2023.07.1/0101-Release-2023.07.0-customers-pengutronix-distrokit-sa.patch
> new file mode 100644
> index 0000000..d6e6193
> --- /dev/null
> +++ b/configs/platform-v7a_noneon/patches/barebox-2023.07.1/0101-Release-2023.07.0-customers-pengutronix-distrokit-sa.patch
> @@ -0,0 +1,22 @@
> +From: Oleksij Rempel <o.rempel@pengutronix.de>
> +Date: Thu, 6 Jul 2023 11:03:50 +0200
> +Subject: [PATCH] Release
> + 2023.07.0/customers/pengutronix/distrokit-sama5d3/20230706-1
> +
> +---
> + Makefile | 2 +-
> + 1 file changed, 1 insertion(+), 1 deletion(-)
> +
> +diff --git a/Makefile b/Makefile
> +index 92b5c6779a52..323f757908bc 100644
> +--- a/Makefile
> ++++ b/Makefile
> +@@ -2,7 +2,7 @@
> + VERSION = 2023
> + PATCHLEVEL = 07
> + SUBLEVEL = 1
> +-EXTRAVERSION =
> ++EXTRAVERSION =-20230706-1
> + NAME = None
> +
> + # *DOCUMENTATION*
> diff --git a/configs/platform-v7a_noneon/patches/barebox-2023.07.1/series b/configs/platform-v7a_noneon/patches/barebox-2023.07.1/series
> new file mode 100644
> index 0000000..bdd8894
> --- /dev/null
> +++ b/configs/platform-v7a_noneon/patches/barebox-2023.07.1/series
> @@ -0,0 +1,13 @@
> +# umpf-base: v2023.07.1
> +# umpf-name: 2023.07.0/customers/pengutronix/distrokit-sama5d3
> +# umpf-version: 2023.07.0/customers/pengutronix/distrokit-sama5d3/20230706-1
> +# umpf-topic: v2023.07.0/topic/microchip-sama5d3-ether-dev-sys
> +# umpf-hashinfo: 8a1d1b8e7204ee57b743ae7f1325d5729104425e
> +# umpf-topic-range: 0186c17838e655dbf6a3bcd01fa74821d5e67ae6..b2883ce6100ca0f8259a1726bf53387e6da04a99
> +0001-ARM-at91-enable-ddramc-for-sama5d3-and-sama5d4.patch
> +0002-ARM-at91-add-support-for-SAMA5D3-Ethernet-Developmen.patch
> +0003-ARM-at91-microchip-ksz9477-evb-migrate-to-sama5d3_ba.patch
> +# umpf-release: 2023.07.0/customers/pengutronix/distrokit-sama5d3/20230706-1
> +# umpf-topic-range: b2883ce6100ca0f8259a1726bf53387e6da04a99..eaaffd9164ab19a152d00c6d5f8f91cd07e5ec48
> +0101-Release-2023.07.0-customers-pengutronix-distrokit-sa.patch
> +# umpf-end
> diff --git a/configs/platform-v7a_noneon/platformconfig b/configs/platform-v7a_noneon/platformconfig
> index 784f35d..160c422 100644
> --- a/configs/platform-v7a_noneon/platformconfig
> +++ b/configs/platform-v7a_noneon/platformconfig
> @@ -180,8 +180,8 @@ PTXCONF_CONSOLE_SPEED="115200"
> # PTXCONF_AT91BOOTSTRAP2 is not set
> PTXCONF_BAREBOX_COMMON_ARCH_STRING="arm"
> PTXCONF_BAREBOX_COMMON=y
> -PTXCONF_BAREBOX_COMMON_VERSION="2022.05.0"
> -PTXCONF_BAREBOX_COMMON_MD5="2bf7e136b3bfb59179f154ee096ef716"
> +PTXCONF_BAREBOX_COMMON_VERSION="2023.07.1"
> +PTXCONF_BAREBOX_COMMON_MD5="0b7ea966cd01266a93a4ccfa7d68bce0"
> PTXCONF_BAREBOX_COMMON_NEEDS_HOST_LZOP=y
> PTXCONF_BAREBOX_AT91=y
> PTXCONF_BAREBOX_VEXPRESS=y
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [DistroKit] [PATCH v1 2/5] v7a_noneon: use upstreamed devicetree the KSZ9477 EVB
2023-07-06 11:44 ` [DistroKit] [PATCH v1 2/5] v7a_noneon: use upstreamed devicetree the KSZ9477 EVB Oleksij Rempel
@ 2023-07-06 12:22 ` Ahmad Fatoum
0 siblings, 0 replies; 12+ messages in thread
From: Ahmad Fatoum @ 2023-07-06 12:22 UTC (permalink / raw)
To: Oleksij Rempel, distrokit
On 06.07.23 13:44, Oleksij Rempel wrote:
> KSZ9477 EVB is already mainline and there are some naming differences.
> So, drop downstream dts and use the mainline version.
>
> Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Reviewed-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
> ---
> .../dts/at91-microchip-ksz9477-evb.dts | 193 ------------------
> configs/platform-v7a_noneon/platformconfig | 2 +-
> .../loader/entries/sama5d3-ksz9477-evb.conf | 2 +-
> 3 files changed, 2 insertions(+), 195 deletions(-)
> delete mode 100644 configs/platform-v7a_noneon/dts/at91-microchip-ksz9477-evb.dts
>
> diff --git a/configs/platform-v7a_noneon/dts/at91-microchip-ksz9477-evb.dts b/configs/platform-v7a_noneon/dts/at91-microchip-ksz9477-evb.dts
> deleted file mode 100644
> index df77df5..0000000
> --- a/configs/platform-v7a_noneon/dts/at91-microchip-ksz9477-evb.dts
> +++ /dev/null
> @@ -1,193 +0,0 @@
> -/*
> - * at91-sama5d3_xplained_ung8071.dts - Device Tree file for the EVB-KSZ9477 board
> - *
> - * Copyright (C) 2014 Atmel,
> - * 2014 Nicolas Ferre <nicolas.ferre@atmel.com>
> - * 2018 Ahmad Fatoum <a.fatoum@pengutronix.de>
> - *
> - * Licensed under GPLv2 or later.
> - */
> -/dts-v1/;
> -#include "sama5d36.dtsi"
> -
> -/ {
> - model = "EVB-KSZ9477";
> - compatible = "atmel,sama5d3-ksz9477-evb", "atmel,sama5d3", "atmel,sama5";
> -
> - chosen {
> - stdout-path = &dbgu;
> - };
> -
> - clocks {
> - slow_xtal {
> - clock-frequency = <32768>;
> - };
> -
> - main_xtal {
> - clock-frequency = <12000000>;
> - };
> - };
> -};
> -
> -&mmc0 {
> - pinctrl-0 = <&pinctrl_mmc0_clk_cmd_dat0 &pinctrl_mmc0_dat1_3 &pinctrl_mmc0_dat4_7 &pinctrl_mmc0_cd>;
> - status = "okay";
> - slot@0 {
> - reg = <0>;
> - bus-width = <8>;
> - /* cd-gpios = <&pioE 0 GPIO_ACTIVE_LOW>; */
> - broken-cd;
> - };
> -};
> -
> -&spi0 {
> - cs-gpios = <&pioD 13 GPIO_ACTIVE_LOW>, <0>, <0>,
> - <&pioD 16 GPIO_ACTIVE_LOW>;
> - status = "okay";
> -};
> -
> -&i2c0 {
> - pinctrl-0 = <&pinctrl_i2c0_pu>;
> - status = "okay";
> -};
> -
> -&macb0 {
> - phy-mode = "rgmii";
> - status = "okay";
> -
> - fixed-link {
> - speed = <1000>;
> - full-duplex;
> - };
> -};
> -
> -&spi1 {
> - pinctrl-0 = <&pinctrl_spi_ksz>;
> - cs-gpios = <&pioC 25 GPIO_ACTIVE_LOW>;
> - status = "okay";
> -
> - switch@0 {
> - compatible = "microchip,ksz9477", "microchip,ksz9893";
> - reg = <0>;
> -
> - /* Bus clock is 132 MHz. */
> - spi-max-frequency = <1000000>;
> - spi-cpha;
> - spi-cpol;
> - /* reset-gpios = <&pioC 31 GPIO_ACTIVE_LOW>; */
> - /* IRQ gpios = <&pioB 28 GPIO_ACTIVE_LOW>; */
> - status = "okay";
> -
> - ports {
> - #address-cells = <1>;
> - #size-cells = <0>;
> -
> - port@0 {
> - reg = <0>;
> - label = "lan1";
> - };
> -
> - port@1 {
> - reg = <1>;
> - label = "lan2";
> - };
> -
> - port@2 {
> - reg = <2>;
> - label = "lan3";
> - };
> -
> - port@3 {
> - reg = <3>;
> - label = "lan4";
> - };
> -
> - port@4 {
> - reg = <4>;
> - label = "lan5";
> - };
> -
> - port@5 {
> - reg = <5>;
> - label = "cpu";
> - ethernet = <&macb0>;
> - phy-mode = "rgmii-txid";
> -
> - fixed-link {
> - speed = <1000>;
> - full-duplex;
> - };
> - };
> - };
> - };
> -};
> -
> -&dbgu {
> - status = "okay";
> -};
> -
> -&ebi {
> - pinctrl-0 = <&pinctrl_ebi_nand_addr>;
> - pinctrl-names = "default";
> - status = "okay";
> -};
> -
> -&nand_controller {
> - status = "okay";
> -
> - nand@3 {
> - reg = <0x3 0x0 0x2>;
> - atmel,rb = <0>;
> - nand-bus-width = <8>;
> - nand-ecc-mode = "hw";
> - nand-ecc-strength = <4>;
> - nand-ecc-step-size = <512>;
> - nand-on-flash-bbt;
> - label = "atmel_nand";
> - };
> -};
> -
> -&usb0 {
> - pinctrl-names = "default";
> - pinctrl-0 = <&pinctrl_usba_vbus>;
> - atmel,vbus-gpio = <&pioE 9 GPIO_ACTIVE_HIGH>; /* PE9, conflicts with A9 */
> - status = "okay";
> -};
> -
> -&pinctrl {
> - board {
> - pinctrl_i2c0_pu: i2c0_pu {
> - atmel,pins =
> - <AT91_PIOA 30 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>,
> - <AT91_PIOA 31 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>;
> - };
> -
> - pinctrl_mmc0_cd: mmc0_cd {
> - atmel,pins =
> - <AT91_PIOE 0 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH>;
> - };
> -
> - pinctrl_usba_vbus: usba_vbus {
> - atmel,pins =
> - <AT91_PIOE 9 AT91_PERIPH_GPIO AT91_PINCTRL_DEGLITCH>; /* PE9, conflicts with A9 */
> - };
> -
> - pinctrl_spi_ksz: spi-ksz {
> - atmel,pins =
> - <
> - AT91_PIOC 22 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PC22 periph A SPI1_MISO pin */
> - AT91_PIOC 23 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC23 periph A SPI1_MOSI pin */
> - AT91_PIOC 24 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC24 periph A SPI1_SPCK pin */
> -
> - /* SPI CS */
> - AT91_PIOC 25 AT91_PERIPH_GPIO AT91_PINCTRL_NONE
> - /* switch IRQ */
> - AT91_PIOB 28 AT91_PERIPH_GPIO AT91_PINCTRL_DEGLITCH
> - /* switch PME_N, SoC IN */
> - AT91_PIOC 30 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP
> - /* switch RST */
> - AT91_PIOC 31 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH
> - >;
> - };
> - };
> -};
> diff --git a/configs/platform-v7a_noneon/platformconfig b/configs/platform-v7a_noneon/platformconfig
> index 160c422..3ff91ce 100644
> --- a/configs/platform-v7a_noneon/platformconfig
> +++ b/configs/platform-v7a_noneon/platformconfig
> @@ -135,7 +135,7 @@ PTXCONF_KERNEL_IMAGE_Z=y
> PTXCONF_KERNEL_IMAGE="zImage"
> PTXCONF_KERNEL_DTB=y
> PTXCONF_KERNEL_DTS_PATH="${PTXDIST_PLATFORMCONFIGDIR}/dts:${KERNEL_DIR}/arch/${GENERIC_KERNEL_ARCH}/boot/dts"
> -PTXCONF_KERNEL_DTS="at91-microchip-ksz9477-evb.dts vexpress-v2p-ca9.dts"
> +PTXCONF_KERNEL_DTS="at91-sama5d3_ksz9477_evb.dts vexpress-v2p-ca9.dts"
> # PTXCONF_KERNEL_DTBO is not set
> # PTXCONF_KERNEL_CODE_SIGNING is not set
> # PTXCONF_KERNEL_ZSTD is not set
> diff --git a/configs/platform-v7a_noneon/projectroot/loader/entries/sama5d3-ksz9477-evb.conf b/configs/platform-v7a_noneon/projectroot/loader/entries/sama5d3-ksz9477-evb.conf
> index bdd9a4b..6ce491d 100644
> --- a/configs/platform-v7a_noneon/projectroot/loader/entries/sama5d3-ksz9477-evb.conf
> +++ b/configs/platform-v7a_noneon/projectroot/loader/entries/sama5d3-ksz9477-evb.conf
> @@ -3,4 +3,4 @@ version 5.8
> options rootwait rw
> linux-appendroot true
> linux /boot/zImage
> -devicetree /boot/at91-microchip-ksz9477-evb.dtb
> +devicetree /boot/at91-sama5d3_ksz9477_evb.dtb
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [DistroKit] [PATCH v1 3/5] v7a_noneon: add Microchip SAMA5D3 Ethernet Delopment System Board support
2023-07-06 11:44 ` [DistroKit] [PATCH v1 3/5] v7a_noneon: add Microchip SAMA5D3 Ethernet Delopment System Board support Oleksij Rempel
@ 2023-07-06 12:50 ` Ahmad Fatoum
2023-07-07 10:26 ` Oleksij Rempel
0 siblings, 1 reply; 12+ messages in thread
From: Ahmad Fatoum @ 2023-07-06 12:50 UTC (permalink / raw)
To: Oleksij Rempel, distrokit
Hello Oleksij,
On 06.07.23 13:44, Oleksij Rempel wrote:
> Microchip Technology SAMA5D3 Ethernet Development System (EDS) Board
> (DM320114) is an MPU-based platform for evaluating Ethernet Switch and
> PHY products. Compatible Ethernet Switch and PHY Evaluation Boards
> connect to the SAMA5D3 EDS Board via either an RGMII or RMII connector.
> The Microchip Technology SAMA5D3 EDS Board is not intended for
> stand-alone use and has no Ethernet capabilities when no daughter board
> or an USB Ethernet adapter is connected.
[snip]
> diff --git a/configs/platform-v7a_noneon/barebox-at91.config b/configs/platform-v7a_noneon/barebox-at91.config
> index 584bfae..06a2d96 100644
> --- a/configs/platform-v7a_noneon/barebox-at91.config
> +++ b/configs/platform-v7a_noneon/barebox-at91.config
Unrelated: barebox NAND driver is disabled, but may be useful to enable
it in the defconfig given that the EVB has NAND.
> diff --git a/configs/platform-v7a_noneon/platforms/blspec-sama5d3-eds.in b/configs/platform-v7a_noneon/platforms/blspec-sama5d3-eds.in
> new file mode 100644
> index 0000000..54ecbf7
> --- /dev/null
> +++ b/configs/platform-v7a_noneon/platforms/blspec-sama5d3-eds.in
> @@ -0,0 +1,5 @@
> +## SECTION=blspec
> +
> +config BLSPEC_SAMA5D3_EDS
> + tristate
> + prompt "/loader/entries/sama5d3-eds.conf bootloader spec entry"
> diff --git a/configs/platform-v7a_noneon/platforms/image-sama5d3-eds.in b/configs/platform-v7a_noneon/platforms/image-sama5d3-eds.in
Please see commit b7a4fe185852 ("v7a: blspec: convert to ptxdist default entries").
You may be able to drop your blspec rules and files and just have the
files automatically generated.
> BAREBOX_AT91_IMAGES := \
> images/barebox-microchip-ksz9477-evb.img \
> - images/barebox-microchip-ksz9477-evb-xload-mmc.img
> + images/barebox-microchip-ksz9477-evb-xload-mmc.img \
> + images/barebox-microchip-sama5d3-eds.img \
> + images/barebox-microchip-sama5d3-eds-xload-mmc.img
This is out of scope for your patch, but just so you know, new versions of
the PTXdist barebox rule parse the barebox-flash-images file, so you
don't need to hardcode names. Unfortunately, AT91 is not enabled
for CONFIG_ARCH_MULTIARCH, but once that's done we could have a single
bootloader for the v7a_nonneon boards (like we already do for v8a).
Cheers,
Ahmad
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [DistroKit] [PATCH v1 4/5] v7a_noneon: kernel: make KSZ9477 work again
2023-07-06 11:44 ` [DistroKit] [PATCH v1 4/5] v7a_noneon: kernel: make KSZ9477 work again Oleksij Rempel
@ 2023-07-06 12:51 ` Ahmad Fatoum
2023-07-07 10:25 ` Oleksij Rempel
0 siblings, 1 reply; 12+ messages in thread
From: Ahmad Fatoum @ 2023-07-06 12:51 UTC (permalink / raw)
To: Oleksij Rempel, distrokit
On 06.07.23 13:44, Oleksij Rempel wrote:
> DSA KSZ switch related Kconfig symbols was changed at some kernel
> version. So, the switch driver was partially disabled. So, re-enable
> KSZ SPI support and make KSZ9477 EVB work again.
>
> Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Reviewed-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
DSA is disabled in barebox. Should we enable it there as well?
> ---
> configs/platform-v7a_noneon/kernelconfig | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/configs/platform-v7a_noneon/kernelconfig b/configs/platform-v7a_noneon/kernelconfig
> index edd9e50..eb7a92f 100644
> --- a/configs/platform-v7a_noneon/kernelconfig
> +++ b/configs/platform-v7a_noneon/kernelconfig
> @@ -1121,6 +1121,7 @@ CONFIG_GENERIC_CPU_VULNERABILITIES=y
> CONFIG_SOC_BUS=y
> CONFIG_REGMAP=y
> CONFIG_REGMAP_I2C=y
> +CONFIG_REGMAP_SPI=y
> CONFIG_REGMAP_MMIO=y
> CONFIG_DMA_SHARED_BUFFER=y
> # CONFIG_DMA_FENCE_TRACE is not set
> @@ -1408,7 +1409,7 @@ CONFIG_WIREGUARD=y
> # CONFIG_NET_DSA_MV88E6060 is not set
> CONFIG_NET_DSA_MICROCHIP_KSZ_COMMON=y
> CONFIG_NET_DSA_MICROCHIP_KSZ9477_I2C=y
> -# CONFIG_NET_DSA_MICROCHIP_KSZ_SPI is not set
> +CONFIG_NET_DSA_MICROCHIP_KSZ_SPI=y
> CONFIG_NET_DSA_MICROCHIP_KSZ_PTP=y
> CONFIG_NET_DSA_MICROCHIP_KSZ8863_SMI=y
> # CONFIG_NET_DSA_MV88E6XXX is not set
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [DistroKit] [PATCH v1 5/5] v7a_noneon: kernel: enable Microchip LAN9370 T1 PHY support
2023-07-06 11:44 ` [DistroKit] [PATCH v1 5/5] v7a_noneon: kernel: enable Microchip LAN9370 T1 PHY support Oleksij Rempel
@ 2023-07-06 12:52 ` Ahmad Fatoum
0 siblings, 0 replies; 12+ messages in thread
From: Ahmad Fatoum @ 2023-07-06 12:52 UTC (permalink / raw)
To: Oleksij Rempel, distrokit
On 06.07.23 13:44, Oleksij Rempel wrote:
> Enable T1 PHY support for Microchip LAN9370 DSA switches. This is needed
> for SAMA5D3 EDS switch plugin board.
>
> Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Reviewed-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
> ---
> configs/platform-v7a_noneon/kernelconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/configs/platform-v7a_noneon/kernelconfig b/configs/platform-v7a_noneon/kernelconfig
> index eb7a92f..a9ed244 100644
> --- a/configs/platform-v7a_noneon/kernelconfig
> +++ b/configs/platform-v7a_noneon/kernelconfig
> @@ -1538,7 +1538,7 @@ CONFIG_AX88796B_PHY=y
> CONFIG_MICREL_PHY=y
> # CONFIG_MICROCHIP_T1S_PHY is not set
> CONFIG_MICROCHIP_PHY=y
> -# CONFIG_MICROCHIP_T1_PHY is not set
> +CONFIG_MICROCHIP_T1_PHY=y
> # CONFIG_MICROSEMI_PHY is not set
> # CONFIG_MOTORCOMM_PHY is not set
> # CONFIG_NATIONAL_PHY is not set
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [DistroKit] [PATCH v1 4/5] v7a_noneon: kernel: make KSZ9477 work again
2023-07-06 12:51 ` Ahmad Fatoum
@ 2023-07-07 10:25 ` Oleksij Rempel
0 siblings, 0 replies; 12+ messages in thread
From: Oleksij Rempel @ 2023-07-07 10:25 UTC (permalink / raw)
To: Ahmad Fatoum; +Cc: distrokit
On Thu, Jul 06, 2023 at 02:51:50PM +0200, Ahmad Fatoum wrote:
> On 06.07.23 13:44, Oleksij Rempel wrote:
> > DSA KSZ switch related Kconfig symbols was changed at some kernel
> > version. So, the switch driver was partially disabled. So, re-enable
> > KSZ SPI support and make KSZ9477 EVB work again.
> >
> > Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
>
> Reviewed-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
>
> DSA is disabled in barebox. Should we enable it there as well?
Good point. I'll do it in a separate patch.
> > ---
> > configs/platform-v7a_noneon/kernelconfig | 3 ++-
> > 1 file changed, 2 insertions(+), 1 deletion(-)
> >
> > diff --git a/configs/platform-v7a_noneon/kernelconfig b/configs/platform-v7a_noneon/kernelconfig
> > index edd9e50..eb7a92f 100644
> > --- a/configs/platform-v7a_noneon/kernelconfig
> > +++ b/configs/platform-v7a_noneon/kernelconfig
> > @@ -1121,6 +1121,7 @@ CONFIG_GENERIC_CPU_VULNERABILITIES=y
> > CONFIG_SOC_BUS=y
> > CONFIG_REGMAP=y
> > CONFIG_REGMAP_I2C=y
> > +CONFIG_REGMAP_SPI=y
> > CONFIG_REGMAP_MMIO=y
> > CONFIG_DMA_SHARED_BUFFER=y
> > # CONFIG_DMA_FENCE_TRACE is not set
> > @@ -1408,7 +1409,7 @@ CONFIG_WIREGUARD=y
> > # CONFIG_NET_DSA_MV88E6060 is not set
> > CONFIG_NET_DSA_MICROCHIP_KSZ_COMMON=y
> > CONFIG_NET_DSA_MICROCHIP_KSZ9477_I2C=y
> > -# CONFIG_NET_DSA_MICROCHIP_KSZ_SPI is not set
> > +CONFIG_NET_DSA_MICROCHIP_KSZ_SPI=y
> > CONFIG_NET_DSA_MICROCHIP_KSZ_PTP=y
> > CONFIG_NET_DSA_MICROCHIP_KSZ8863_SMI=y
> > # CONFIG_NET_DSA_MV88E6XXX is not set
>
> --
> Pengutronix e.K. | |
> Steuerwalder Str. 21 | http://www.pengutronix.de/ |
> 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
> Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
>
>
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [DistroKit] [PATCH v1 3/5] v7a_noneon: add Microchip SAMA5D3 Ethernet Delopment System Board support
2023-07-06 12:50 ` Ahmad Fatoum
@ 2023-07-07 10:26 ` Oleksij Rempel
0 siblings, 0 replies; 12+ messages in thread
From: Oleksij Rempel @ 2023-07-07 10:26 UTC (permalink / raw)
To: Ahmad Fatoum; +Cc: distrokit
On Thu, Jul 06, 2023 at 02:50:53PM +0200, Ahmad Fatoum wrote:
> Hello Oleksij,
> > diff --git a/configs/platform-v7a_noneon/barebox-at91.config b/configs/platform-v7a_noneon/barebox-at91.config
> > index 584bfae..06a2d96 100644
> > --- a/configs/platform-v7a_noneon/barebox-at91.config
> > +++ b/configs/platform-v7a_noneon/barebox-at91.config
>
> Unrelated: barebox NAND driver is disabled, but may be useful to enable
> it in the defconfig given that the EVB has NAND.
Ack. Done.
> > diff --git a/configs/platform-v7a_noneon/platforms/blspec-sama5d3-eds.in b/configs/platform-v7a_noneon/platforms/blspec-sama5d3-eds.in
> > new file mode 100644
> > index 0000000..54ecbf7
> > --- /dev/null
> > +++ b/configs/platform-v7a_noneon/platforms/blspec-sama5d3-eds.in
> > @@ -0,0 +1,5 @@
> > +## SECTION=blspec
> > +
> > +config BLSPEC_SAMA5D3_EDS
> > + tristate
> > + prompt "/loader/entries/sama5d3-eds.conf bootloader spec entry"
> > diff --git a/configs/platform-v7a_noneon/platforms/image-sama5d3-eds.in b/configs/platform-v7a_noneon/platforms/image-sama5d3-eds.in
>
> Please see commit b7a4fe185852 ("v7a: blspec: convert to ptxdist default entries").
> You may be able to drop your blspec rules and files and just have the
> files automatically generated.
done.
Regards,
Oleksij
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2023-07-07 10:26 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-06 11:44 [DistroKit] [PATCH v1 1/5] v7a_noneon: barebox: version bump v2023.01.0 → v2023.07.1 Oleksij Rempel
2023-07-06 11:44 ` [DistroKit] [PATCH v1 2/5] v7a_noneon: use upstreamed devicetree the KSZ9477 EVB Oleksij Rempel
2023-07-06 12:22 ` Ahmad Fatoum
2023-07-06 11:44 ` [DistroKit] [PATCH v1 3/5] v7a_noneon: add Microchip SAMA5D3 Ethernet Delopment System Board support Oleksij Rempel
2023-07-06 12:50 ` Ahmad Fatoum
2023-07-07 10:26 ` Oleksij Rempel
2023-07-06 11:44 ` [DistroKit] [PATCH v1 4/5] v7a_noneon: kernel: make KSZ9477 work again Oleksij Rempel
2023-07-06 12:51 ` Ahmad Fatoum
2023-07-07 10:25 ` Oleksij Rempel
2023-07-06 11:44 ` [DistroKit] [PATCH v1 5/5] v7a_noneon: kernel: enable Microchip LAN9370 T1 PHY support Oleksij Rempel
2023-07-06 12:52 ` Ahmad Fatoum
2023-07-06 12:20 ` [DistroKit] [PATCH v1 1/5] v7a_noneon: barebox: version bump v2023.01.0 → v2023.07.1 Ahmad Fatoum
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox