From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Thu, 01 Aug 2024 13:38:32 +0200 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1sZU8e-0057G3-0v for lore@lore.pengutronix.de; Thu, 01 Aug 2024 13:38:32 +0200 Received: from localhost ([127.0.0.1] helo=metis.whiteo.stw.pengutronix.de) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1sZU8d-0004nh-NQ; Thu, 01 Aug 2024 13:38:31 +0200 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1sZU8U-0004fP-84; Thu, 01 Aug 2024 13:38:22 +0200 Received: from [2a0a:edc0:0:1101:1d::54] (helo=dude05.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sZU8T-003l1L-RG; Thu, 01 Aug 2024 13:38:21 +0200 Received: from localhost ([::1] helo=dude05.red.stw.pengutronix.de) by dude05.red.stw.pengutronix.de with esmtp (Exim 4.96) (envelope-from ) id 1sZU8T-00GheB-2O; Thu, 01 Aug 2024 13:38:21 +0200 From: Ahmad Fatoum To: distrokit@pengutronix.de Date: Thu, 1 Aug 2024 13:38:14 +0200 Message-Id: <20240801113819.3981009-1-a.fatoum@pengutronix.de> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [DistroKit] [PATCH 1/6] v7a_noneon: barebox: update to v2024.07.0 X-BeenThere: distrokit@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: DistroKit Mailinglist List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Ahmad Fatoum Sender: "DistroKit" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: distrokit-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false Besides being a year newer, this update allows us to drop the patches we have carrying around. Signed-off-by: Ahmad Fatoum --- .../platform-v7a_noneon/barebox-at91.config | 90 +++++-- .../barebox-at91.config.diff | 19 +- .../barebox-vexpress.config | 81 +++++-- .../barebox-vexpress.config.diff | 5 +- configs/platform-v7a_noneon/barebox.config | 84 +++++-- ...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, 234 insertions(+), 358 deletions(-) delete mode 100644 configs/platform-v7a_noneon/patches/barebox-2023.07.1/0001-ARM-at91-enable-ddramc-for-sama5d3-and-sama5d4.patch delete mode 100644 configs/platform-v7a_noneon/patches/barebox-2023.07.1/0002-ARM-at91-add-support-for-SAMA5D3-Ethernet-Developmen.patch delete mode 100644 configs/platform-v7a_noneon/patches/barebox-2023.07.1/0003-ARM-at91-microchip-ksz9477-evb-migrate-to-sama5d3_ba.patch delete mode 100644 configs/platform-v7a_noneon/patches/barebox-2023.07.1/0101-Release-2023.07.0-customers-pengutronix-distrokit-sa.patch delete 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 c24b5d36b79d..97f5f2b95031 100644 --- a/configs/platform-v7a_noneon/barebox-at91.config +++ b/configs/platform-v7a_noneon/barebox-at91.config @@ -1,11 +1,11 @@ # # Automatically generated file; DO NOT EDIT. -# Barebox/arm 2023.07.1-20230706-1 Configuration +# Barebox/arm 2024.07.0 Configuration # CONFIG_ARM=y +CONFIG_ARCH_TEXT_BASE=0x00000000 CONFIG_ARM_LINUX=y CONFIG_ARM_USE_COMPRESSED_DTB=y -CONFIG_TEXT_BASE=0x0 # # System Type @@ -13,18 +13,11 @@ CONFIG_TEXT_BASE=0x0 # CONFIG_ARCH_MULTIARCH is not set CONFIG_ARCH_AT91=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_LAYERSCAPE is not set # CONFIG_ARCH_MVEBU is not set # CONFIG_ARCH_MXS is not set -# CONFIG_ARCH_NOMADIK is not set -# CONFIG_ARCH_OMAP_SINGLE is not set # CONFIG_ARCH_PXA is not set # CONFIG_ARCH_SOCFPGA is not set # CONFIG_ARCH_TEGRA is not set -# CONFIG_ARCH_UEMD is not set # CONFIG_ARCH_ZYNQ is not set # CONFIG_ARCH_BCM283X is not set # CONFIG_ARCH_STM32MP is not set @@ -50,15 +43,16 @@ CONFIG_HAVE_AT91_DDRAMC=y CONFIG_AT91_MCI_PBL=y CONFIG_AT91SAM9_SMC=y CONFIG_HAVE_AT91SAM9_RST=y +CONFIG_SOC_SAM_V7=y CONFIG_SOC_SAMA5=y CONFIG_SOC_SAMA5_MULTI=y CONFIG_SOC_SAMA5D3=y -CONFIG_ARCH_TEXT_BASE=0x23f00000 # # Atmel AT91 System-on-Chip # CONFIG_AT91_MULTI_BOARDS=y +# CONFIG_MACH_CALAO is not set # CONFIG_MACH_SKOV_ARM9CPU is not set # CONFIG_MACH_AT91SAM9263EK is not set # CONFIG_MACH_AT91SAM9X5EK is not set @@ -143,6 +137,7 @@ CONFIG_BAREBOX_MAX_PBL_SIZE=0xffffffff CONFIG_BAREBOX_MAX_BARE_INIT_SIZE=0xffffffff CONFIG_STACK_SIZE=0x8000 CONFIG_MALLOC_SIZE=0x0 +CONFIG_MALLOC_ALIGNMENT=8 # end of memory layout # CONFIG_EXPERIMENTAL is not set @@ -151,7 +146,9 @@ CONFIG_MALLOC_TLSF=y CONFIG_HAVE_MOD_ARCH_SPECIFIC=y CONFIG_KALLSYMS=y CONFIG_RELOCATABLE=y +# CONFIG_PANIC_POWEROFF is not set # CONFIG_PANIC_HANG is not set +CONFIG_PANIC_RESET=y CONFIG_PROMPT="barebox:" CONFIG_BAUDRATE=115200 CONFIG_CBSIZE=1024 @@ -166,7 +163,6 @@ CONFIG_CMDLINE_EDITING=y CONFIG_AUTO_COMPLETE=y CONFIG_MENU=y # CONFIG_PASSWORD is not set -CONFIG_DYNAMIC_CRC_TABLE=y CONFIG_ERRNO_MESSAGES=y CONFIG_TIMESTAMP=y CONFIG_BOOTM=y @@ -174,7 +170,7 @@ CONFIG_BOOTM_SHOW_TYPE=y # CONFIG_BOOTM_VERBOSE is not set CONFIG_BOOTM_INITRD=y CONFIG_BOOTM_OFTREE=y -CONFIG_BOOTM_OFTREE_UIMAGE=y +# CONFIG_BOOTM_UIMAGE is not set # CONFIG_BOOTM_AIMAGE is not set # CONFIG_BOOTM_ELF is not set # CONFIG_BOOTM_FITIMAGE is not set @@ -195,6 +191,7 @@ CONFIG_CONSOLE_ALLOW_COLOR=y CONFIG_PBL_CONSOLE=y # CONFIG_CONSOLE_RATP is not set CONFIG_PARTITION=y +CONFIG_PARTITION_MANIPULATION=y CONFIG_PARTITION_DISK=y CONFIG_PARTITION_DISK_DOS=y CONFIG_PARTITION_DISK_EFI=y @@ -234,11 +231,14 @@ CONFIG_FASTBOOT_CMD_OEM=y # CONFIG_COMPILE_LOGLEVEL=6 CONFIG_DEFAULT_LOGLEVEL=6 +CONFIG_HAS_DEBUG_LL=y # 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_DMA_API_DEBUG is not set +# CONFIG_DEBUG_LIST is not set # CONFIG_PBL_BREAK is not set # CONFIG_PRINTF_FULL is not set # CONFIG_UBSAN is not set @@ -252,9 +252,9 @@ CONFIG_CC_HAS_KASAN_GENERIC=y # # EFI (Extensible Firmware Interface) Support # +CONFIG_HAVE_EFI_STUB=y # end of EFI (Extensible Firmware Interface) Support -CONFIG_HAS_DEBUG_LL=y CONFIG_COMMAND_SUPPORT=y CONFIG_COMPILE_HASH=y @@ -310,6 +310,8 @@ CONFIG_CMD_UIMAGE=y # CONFIG_CMD_PARTITION is not set CONFIG_CMD_AUTOMOUNT=y CONFIG_CMD_MOUNT=y +# CONFIG_CMD_FINDMNT is not set +CONFIG_CMD_PARTED=y CONFIG_CMD_UBI=y CONFIG_CMD_UBIFORMAT=y CONFIG_CMD_UMOUNT=y @@ -439,6 +441,7 @@ CONFIG_CMD_USBGADGET=y CONFIG_CMD_BAREBOX_UPDATE=y # CONFIG_CMD_BLOBGEN is not set # CONFIG_CMD_FIRMWARELOAD is not set +# CONFIG_CMD_KALLSYMS is not set # CONFIG_CMD_OF_COMPATIBLE is not set # CONFIG_CMD_OF_DIFF is not set CONFIG_CMD_OF_DUMP=y @@ -454,6 +457,7 @@ CONFIG_CMD_TIME=y # CONFIG_CMD_DHRYSTONE is not set # CONFIG_CMD_SPD_DECODE is not set # CONFIG_CMD_SEED is not set +# CONFIG_CMD_STACKSMASH is not set # end of Miscellaneous # end of Commands @@ -475,6 +479,7 @@ CONFIG_REGMAP_SPI=y CONFIG_OFTREE=y CONFIG_OFTREE_MEM_GENERIC=y CONFIG_DTC=y +CONFIG_OF=y CONFIG_OFDEVICE=y CONFIG_OF_GPIO=y CONFIG_OF_BAREBOX_DRIVERS=y @@ -523,6 +528,7 @@ CONFIG_DRIVER_NET_MICREL=y # CONFIG_DAVICOM_PHY is not set # CONFIG_DP83867_PHY is not set # CONFIG_DP83TD510_PHY is not set +# CONFIG_DP83TG720_PHY is not set # CONFIG_LXT_PHY is not set # CONFIG_MARVELL_PHY is not set CONFIG_MICREL_PHY=y @@ -597,17 +603,38 @@ CONFIG_MTD_M25P80=y # end of Self contained MTD devices # CONFIG_DRIVER_CFI is not set + +# +# NAND +# +CONFIG_MTD_NAND_CORE=y +CONFIG_MTD_RAW_NAND=y CONFIG_NAND=y CONFIG_MTD_NAND_ECC_SOFT=y -CONFIG_MTD_NAND_ECC_SW_BCH=y # CONFIG_NAND_ECC_HW_SYNDROME is not set # CONFIG_NAND_ALLOW_ERASE_BAD is not set +CONFIG_NAND_NEED_EXEC_OP=y + +# +# Raw/parallel NAND flash controllers +# CONFIG_NAND_ATMEL=y # CONFIG_MTD_NAND_ECC_SW_HAMMING_SMC is not set # CONFIG_MTD_NAND_DENALI is not set + +# +# ECC engine support +# +CONFIG_MTD_NAND_ECC=y +# CONFIG_MTD_NAND_ECC_SW_HAMMING is not set +CONFIG_MTD_NAND_ECC_SW_BCH=y +# end of ECC engine support +# end of NAND + CONFIG_MTD_SPI_NOR=y # CONFIG_MTD_SPI_NOR_USE_4K_SECTORS is not set # CONFIG_SPI_CADENCE_QUADSPI is not set +# CONFIG_SPI_SYNOPSYS_OCTALSPI_NOR is not set CONFIG_MTD_UBI=y CONFIG_MTD_UBI_BEB_LIMIT=20 # CONFIG_MTD_UBI_FASTMAP is not set @@ -669,6 +696,7 @@ CONFIG_MCI=y # # --- Feature list --- # +# CONFIG_MCI_TUNING is not set # CONFIG_MCI_STARTUP is not set CONFIG_MCI_INFO=y CONFIG_MCI_WRITE=y @@ -678,11 +706,13 @@ CONFIG_MCI_MMC_BOOT_PARTITIONS=y # # --- MCI host drivers --- # +# CONFIG_MCI_DWC_MSHC is not set # CONFIG_MCI_DW is not set # CONFIG_MCI_ROCKCHIP_DWCMSHC is not set CONFIG_MCI_ATMEL=y CONFIG_MCI_ATMEL_SDHCI=y # CONFIG_MCI_ARASAN is not set +# CONFIG_MCI_AM654 is not set # CONFIG_MCI_SPI is not set CONFIG_MCI_ATMEL_PBL=y CONFIG_HAVE_CLK=y @@ -715,6 +745,7 @@ CONFIG_MFD_SYSCON=y # CONFIG_MFD_TWL4030 is not set # CONFIG_MFD_TWL6030 is not set # CONFIG_MFD_STPMIC1 is not set +# CONFIG_MFD_PCA9450 is not set # CONFIG_MFD_RN568PMIC is not set # CONFIG_MFD_ATMEL_FLEXCOM is not set # CONFIG_MFD_RK808 is not set @@ -751,6 +782,7 @@ CONFIG_LED_TRIGGERS=y # # Input device support # +# CONFIG_INPUT_EVBUG is not set # CONFIG_KEYBOARD_GPIO is not set # CONFIG_KEYBOARD_QT1070 is not set # CONFIG_KEYBOARD_USB is not set @@ -833,6 +865,12 @@ CONFIG_REGULATOR_FIXED=y # # CONFIG_FIRMWARE_ALTERA_SERIAL is not set # CONFIG_QEMU_FW_CFG is not set + +# +# ARM System Control and Management Interface Protocol +# +# CONFIG_ARM_SCMI_PROTOCOL is not set +# end of ARM System Control and Management Interface Protocol # end of Firmware Drivers # @@ -869,6 +907,16 @@ CONFIG_ATMEL_EBI=y # end of KVX SoC drivers # end of SoC drivers +# +# PM Domains +# + +# +# i.MX PM Domains +# +# end of i.MX PM Domains +# end of PM Domains + # # NVME Support # @@ -881,6 +929,8 @@ CONFIG_ATMEL_EBI=y # CONFIG_POWER_RESET_GPIO_RESTART is not set CONFIG_VIRTIO_MENU=y # CONFIG_VIRTIO_MMIO is not set +# CONFIG_MAILBOX is not set +# CONFIG_TEE is not set # end of Drivers # @@ -953,6 +1003,7 @@ CONFIG_ZSTD_DECOMPRESS=y CONFIG_PROCESS_ESCAPE_SEQUENCE=y CONFIG_LZO_DECOMPRESS=y CONFIG_BCH=y +CONFIG_BITREV=y CONFIG_FNMATCH=y CONFIG_QSORT=y CONFIG_LIBSCAN=y @@ -977,6 +1028,17 @@ CONFIG_ARCH_HAS_ZERO_PAGE=y CONFIG_GENERIC_ALLOCATOR=y # end of Library routines +# +# Hardening options +# +# CONFIG_BUG_ON_DATA_CORRUPTION is not set +CONFIG_STACK_GUARD_PAGE=y +CONFIG_STACKPROTECTOR_NONE=y +# CONFIG_STACKPROTECTOR_STRONG is not set +CONFIG_PBL_STACKPROTECTOR_NONE=y +# CONFIG_PBL_STACKPROTECTOR_STRONG is not set +# end of Hardening options + # # Crypto support # diff --git a/configs/platform-v7a_noneon/barebox-at91.config.diff b/configs/platform-v7a_noneon/barebox-at91.config.diff index e2cdc16d00ff..9f362cd4f8aa 100644 --- a/configs/platform-v7a_noneon/barebox-at91.config.diff +++ b/configs/platform-v7a_noneon/barebox-at91.config.diff @@ -1,14 +1,13 @@ -71b0583d9737e188a32240ae7d29a558 +e4e5faf13c3a7da2755222882364530a CONFIG_ARCH_AT91=y # CONFIG_ARCH_BCM283X is not set # CONFIG_ARCH_IMX is undefined +# CONFIG_ARCH_LAYERSCAPE 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_AT91SAM9_SMC=y @@ -16,11 +15,12 @@ CONFIG_AT91_MCI_PBL=y CONFIG_AT91_MULTI_BOARDS=y CONFIG_ATMEL_EBI=y CONFIG_BCH=y +CONFIG_BITREV=y # CONFIG_BOARD_ARM_GENERIC_DT is not set # CONFIG_BOARD_GENERIC_DT is undefined -CONFIG_BOOTM_OFTREE_UIMAGE=y # CONFIG_BOOTM_VERBOSE is not set # CONFIG_BZLIB is not set +# CONFIG_CADENCE_WATCHDOG is undefined CONFIG_CLOCKSOURCE_ATMEL_PIT=y # CONFIG_CLOCKSOURCE_BCM283X is undefined # CONFIG_CMD_ARM_MMUINFO is not set @@ -89,6 +89,9 @@ CONFIG_HAVE_AT91_USB_CLK=y CONFIG_HAVE_AT91_UTMI=y # CONFIG_HAVE_DIGEST_SHA1 is undefined # CONFIG_HWRNG is not set +# CONFIG_HW_RANDOM_BCM2835 is undefined +# CONFIG_HW_RANDOM_IPROC_RNG200 is undefined +# CONFIG_HW_RANDOM_TIMERIOMEM is undefined # CONFIG_I2C_ALGOBIT is undefined # CONFIG_I2C_AT91 is not set # CONFIG_I2C_BCM283X is undefined @@ -102,6 +105,7 @@ CONFIG_LIBUBIGEN=y # CONFIG_MACHINE_ID is undefined # CONFIG_MACH_AT91SAM9263EK is not set # CONFIG_MACH_AT91SAM9X5EK is not set +# CONFIG_MACH_CALAO is not set CONFIG_MACH_MICROCHIP_KSZ9477_EVB=y CONFIG_MACH_MICROCHIP_SAMA5D3_EDS=y # CONFIG_MACH_RPI2 is undefined @@ -132,10 +136,13 @@ CONFIG_MFD_SYSCON=y CONFIG_MICREL_PHY=y # CONFIG_MMUINFO is undefined CONFIG_MTD_M25P80=y +CONFIG_MTD_NAND_CORE=y # CONFIG_MTD_NAND_DENALI is not set +CONFIG_MTD_NAND_ECC=y CONFIG_MTD_NAND_ECC_SOFT=y CONFIG_MTD_NAND_ECC_SW_BCH=y # CONFIG_MTD_NAND_ECC_SW_HAMMING_SMC is not set +CONFIG_MTD_RAW_NAND=y CONFIG_MTD_SPI_NOR=y # CONFIG_MTD_SPI_NOR_USE_4K_SECTORS is not set # CONFIG_MTD_SST25L is not set @@ -148,6 +155,7 @@ CONFIG_NAND=y # CONFIG_NAND_ALLOW_ERASE_BAD is not set CONFIG_NAND_ATMEL=y # CONFIG_NAND_ECC_HW_SYNDROME is not set +CONFIG_NAND_NEED_EXEC_OP=y CONFIG_NET_USB_RTL8152=y CONFIG_OF_BAREBOX_ENV_IN_FS=y # CONFIG_OF_OVERLAY is not set @@ -167,9 +175,11 @@ CONFIG_REGULATOR_FIXED=y CONFIG_SOC_SAMA5=y CONFIG_SOC_SAMA5D3=y CONFIG_SOC_SAMA5_MULTI=y +CONFIG_SOC_SAM_V7=y CONFIG_SPI_ATMEL_QUADSPI=y # CONFIG_SPI_CADENCE_QUADSPI is not set CONFIG_SPI_MEM=y +# CONFIG_SPI_SYNOPSYS_OCTALSPI_NOR is not set # CONFIG_STATE is not set # CONFIG_STATE_BACKWARD_COMPATIBLE is undefined # CONFIG_STATE_CRYPTO is undefined @@ -198,6 +208,7 @@ CONFIG_W1=y # CONFIG_WATCHDOG_POLLER is undefined CONFIG_XXHASH=y # CONFIG_XZ_DECOMPRESS is not set +# CONFIG_XZ_DEC_ARM64 is undefined # CONFIG_XZ_DEC_ARM is undefined # CONFIG_XZ_DEC_ARMTHUMB is undefined # CONFIG_XZ_DEC_IA64 is undefined diff --git a/configs/platform-v7a_noneon/barebox-vexpress.config b/configs/platform-v7a_noneon/barebox-vexpress.config index 09f112d397e1..9423207ea413 100644 --- a/configs/platform-v7a_noneon/barebox-vexpress.config +++ b/configs/platform-v7a_noneon/barebox-vexpress.config @@ -1,10 +1,10 @@ # # Automatically generated file; DO NOT EDIT. -# Barebox/arm 2023.07.1-20230706-1 Configuration +# Barebox/arm 2024.07.0 Configuration # CONFIG_ARM=y +CONFIG_ARCH_TEXT_BASE=0x00000000 CONFIG_ARM_LINUX=y -CONFIG_TEXT_BASE=0x0 # # System Type @@ -12,21 +12,15 @@ CONFIG_TEXT_BASE=0x0 CONFIG_ARCH_MULTIARCH=y # CONFIG_ARCH_AT91 is not set # CONFIG_ARCH_CLPS711X is not set -# CONFIG_ARCH_DAVINCI is not set -# CONFIG_ARCH_DIGIC is not set -# CONFIG_ARCH_EP93XX is not set -# CONFIG_ARCH_LAYERSCAPE is not set # CONFIG_ARCH_MVEBU is not set # CONFIG_ARCH_MXS is not set -# CONFIG_ARCH_NOMADIK is not set -# CONFIG_ARCH_OMAP_SINGLE is not set # CONFIG_ARCH_PXA is not set # CONFIG_ARCH_SOCFPGA is not set # CONFIG_ARCH_TEGRA is not set -# CONFIG_ARCH_UEMD is not set # CONFIG_ARCH_ZYNQ is not set # CONFIG_ARCH_BCM283X is not set # CONFIG_ARCH_IMX is not set +# CONFIG_ARCH_LAYERSCAPE is not set # CONFIG_ARCH_OMAP_MULTI is not set # CONFIG_ARCH_ROCKCHIP is not set # CONFIG_ARCH_STM32MP is not set @@ -44,7 +38,6 @@ CONFIG_CPU_32v7=y # processor features # # CONFIG_BOOT_ENDIANNESS_SWITCH is not set -CONFIG_ARCH_TEXT_BASE=0x0 CONFIG_MACH_VEXPRESS=y # CONFIG_MACH_VIRT is not set CONFIG_BOARD_ARM_GENERIC_DT=y @@ -120,6 +113,7 @@ CONFIG_BAREBOX_MAX_PBL_SIZE=0xffffffff CONFIG_BAREBOX_MAX_BARE_INIT_SIZE=0xffffffff CONFIG_STACK_SIZE=0x8000 CONFIG_MALLOC_SIZE=0x0 +CONFIG_MALLOC_ALIGNMENT=8 # end of memory layout # CONFIG_EXPERIMENTAL is not set @@ -128,7 +122,9 @@ CONFIG_MALLOC_TLSF=y CONFIG_HAVE_MOD_ARCH_SPECIFIC=y CONFIG_KALLSYMS=y CONFIG_RELOCATABLE=y +# CONFIG_PANIC_POWEROFF is not set # CONFIG_PANIC_HANG is not set +CONFIG_PANIC_RESET=y CONFIG_PROMPT="vexpress: " CONFIG_BAUDRATE=115200 CONFIG_CBSIZE=1024 @@ -144,7 +140,6 @@ CONFIG_CMDLINE_EDITING=y CONFIG_AUTO_COMPLETE=y CONFIG_MENU=y # CONFIG_PASSWORD is not set -CONFIG_DYNAMIC_CRC_TABLE=y CONFIG_ERRNO_MESSAGES=y CONFIG_TIMESTAMP=y CONFIG_BOOTM=y @@ -152,7 +147,7 @@ CONFIG_BOOTM_SHOW_TYPE=y CONFIG_BOOTM_VERBOSE=y CONFIG_BOOTM_INITRD=y CONFIG_BOOTM_OFTREE=y -# CONFIG_BOOTM_OFTREE_UIMAGE is not set +# CONFIG_BOOTM_UIMAGE is not set # CONFIG_BOOTM_AIMAGE is not set # CONFIG_BOOTM_ELF is not set # CONFIG_BOOTM_FITIMAGE is not set @@ -173,6 +168,7 @@ CONFIG_CONSOLE_ALLOW_COLOR=y CONFIG_PBL_CONSOLE=y # CONFIG_CONSOLE_RATP is not set CONFIG_PARTITION=y +CONFIG_PARTITION_MANIPULATION=y CONFIG_PARTITION_DISK=y CONFIG_PARTITION_DISK_DOS=y CONFIG_PARTITION_DISK_EFI=y @@ -217,10 +213,13 @@ CONFIG_FASTBOOT_CMD_OEM=y # CONFIG_COMPILE_LOGLEVEL=7 CONFIG_DEFAULT_LOGLEVEL=6 +CONFIG_HAS_DEBUG_LL=y # 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_DMA_API_DEBUG is not set +# CONFIG_DEBUG_LIST is not set # CONFIG_PBL_BREAK is not set # CONFIG_PRINTF_FULL is not set # CONFIG_UBSAN is not set @@ -234,9 +233,9 @@ CONFIG_CC_HAS_KASAN_GENERIC=y # # EFI (Extensible Firmware Interface) Support # +CONFIG_HAVE_EFI_STUB=y # end of EFI (Extensible Firmware Interface) Support -CONFIG_HAS_DEBUG_LL=y CONFIG_COMMAND_SUPPORT=y CONFIG_COMPILE_HASH=y @@ -290,6 +289,8 @@ CONFIG_CMD_UIMAGE=y CONFIG_CMD_PARTITION=y CONFIG_CMD_AUTOMOUNT=y CONFIG_CMD_MOUNT=y +# CONFIG_CMD_FINDMNT is not set +CONFIG_CMD_PARTED=y CONFIG_CMD_UMOUNT=y # end of Partition @@ -416,6 +417,7 @@ 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_KALLSYMS is not set # CONFIG_CMD_OF_COMPATIBLE is not set # CONFIG_CMD_OF_DIFF is not set CONFIG_CMD_OF_DUMP=y @@ -432,6 +434,7 @@ CONFIG_CMD_STATE=y # CONFIG_CMD_DHRYSTONE is not set # CONFIG_CMD_SPD_DECODE is not set # CONFIG_CMD_SEED is not set +# CONFIG_CMD_STACKSMASH is not set # end of Miscellaneous # end of Commands @@ -450,6 +453,7 @@ CONFIG_NET_FASTBOOT=y CONFIG_OFTREE=y CONFIG_OFTREE_MEM_GENERIC=y CONFIG_DTC=y +CONFIG_OF=y CONFIG_OFDEVICE=y CONFIG_OF_BAREBOX_DRIVERS=y # CONFIG_OF_BAREBOX_ENV_IN_FS is not set @@ -497,6 +501,7 @@ CONFIG_DRIVER_NET_SMC911X=y # CONFIG_DAVICOM_PHY is not set # CONFIG_DP83867_PHY is not set # CONFIG_DP83TD510_PHY is not set +# CONFIG_DP83TG720_PHY is not set # CONFIG_LXT_PHY is not set # CONFIG_MARVELL_PHY is not set # CONFIG_MICREL_PHY is not set @@ -566,7 +571,20 @@ CONFIG_DRIVER_CFI_BANK_WIDTH_2=y CONFIG_DRIVER_CFI_BANK_WIDTH_4=y # CONFIG_DRIVER_CFI_BANK_WIDTH_8 is not set # CONFIG_CFI_BUFFER_WRITE is not set + +# +# NAND +# # CONFIG_NAND is not set + +# +# ECC engine support +# +# CONFIG_MTD_NAND_ECC_SW_HAMMING is not set +# CONFIG_MTD_NAND_ECC_SW_BCH is not set +# end of ECC engine support +# end of NAND + # CONFIG_MTD_SPI_NOR is not set # CONFIG_MTD_UBI is not set CONFIG_DISK=y @@ -616,6 +634,7 @@ CONFIG_MCI=y # # --- Feature list --- # +# CONFIG_MCI_TUNING is not set CONFIG_MCI_STARTUP=y CONFIG_MCI_INFO=y CONFIG_MCI_WRITE=y @@ -625,10 +644,12 @@ CONFIG_MCI_WRITE=y # # --- MCI host drivers --- # +# CONFIG_MCI_DWC_MSHC is not set # CONFIG_MCI_DW is not set # CONFIG_MCI_ROCKCHIP_DWCMSHC is not set CONFIG_MCI_MMCI=y # CONFIG_MCI_ARASAN is not set +# CONFIG_MCI_AM654 is not set # CONFIG_MCI_SPI is not set CONFIG_HAVE_CLK=y CONFIG_CLKDEV_LOOKUP=y @@ -660,6 +681,7 @@ CONFIG_CLOCKSOURCE_ARM_ARCHITECTED_TIMER=y # CONFIG_MFD_TWL4030 is not set # CONFIG_MFD_TWL6030 is not set # CONFIG_MFD_STPMIC1 is not set +# CONFIG_MFD_PCA9450 is not set # CONFIG_MFD_RN568PMIC is not set # CONFIG_MFD_ATMEL_FLEXCOM is not set # CONFIG_MFD_RK808 is not set @@ -691,6 +713,7 @@ CONFIG_LED_TRIGGERS=y # # Input device support # +# CONFIG_INPUT_EVBUG is not set # CONFIG_KEYBOARD_USB is not set # CONFIG_INPUT_SPECIALKEYS is not set # end of Input device support @@ -698,8 +721,10 @@ CONFIG_LED_TRIGGERS=y CONFIG_WATCHDOG=y # CONFIG_WATCHDOG_POLLER is not set # CONFIG_WATCHDOG_DW is not set +# CONFIG_CADENCE_WATCHDOG is not set # CONFIG_PWM is not set CONFIG_HWRNG=y +# CONFIG_HW_RANDOM_TIMERIOMEM is not set # # DMA support @@ -737,6 +762,12 @@ CONFIG_REGULATOR=y # Firmware Drivers # # CONFIG_QEMU_FW_CFG is not set + +# +# ARM System Control and Management Interface Protocol +# +# CONFIG_ARM_SCMI_PROTOCOL is not set +# end of ARM System Control and Management Interface Protocol # end of Firmware Drivers # @@ -772,6 +803,16 @@ CONFIG_REGULATOR=y # end of KVX SoC drivers # end of SoC drivers +# +# PM Domains +# + +# +# i.MX PM Domains +# +# end of i.MX PM Domains +# end of PM Domains + # # NVME Support # @@ -780,6 +821,8 @@ CONFIG_REGULATOR=y # CONFIG_POWER_RESET_SYSCON is not set # CONFIG_POWER_RESET_SYSCON_POWEROFF is not set # CONFIG_VIRTIO_MENU is not set +# CONFIG_MAILBOX is not set +# CONFIG_TEE is not set # end of Drivers # @@ -849,6 +892,7 @@ CONFIG_XZ_DEC_IA64=y CONFIG_XZ_DEC_ARM=y CONFIG_XZ_DEC_ARMTHUMB=y CONFIG_XZ_DEC_SPARC=y +CONFIG_XZ_DEC_ARM64=y # CONFIG_BASE64 is not set CONFIG_PROCESS_ESCAPE_SEQUENCE=y CONFIG_LZO_DECOMPRESS=y @@ -874,6 +918,17 @@ CONFIG_ARCH_HAS_DATA_ABORT_MASK=y CONFIG_ARCH_HAS_ZERO_PAGE=y # end of Library routines +# +# Hardening options +# +# CONFIG_BUG_ON_DATA_CORRUPTION is not set +CONFIG_STACK_GUARD_PAGE=y +CONFIG_STACKPROTECTOR_NONE=y +# CONFIG_STACKPROTECTOR_STRONG is not set +CONFIG_PBL_STACKPROTECTOR_NONE=y +# CONFIG_PBL_STACKPROTECTOR_STRONG is not set +# end of Hardening options + # # Crypto support # diff --git a/configs/platform-v7a_noneon/barebox-vexpress.config.diff b/configs/platform-v7a_noneon/barebox-vexpress.config.diff index 36ab78e8ebc3..23060c8178b1 100644 --- a/configs/platform-v7a_noneon/barebox-vexpress.config.diff +++ b/configs/platform-v7a_noneon/barebox-vexpress.config.diff @@ -1,8 +1,7 @@ -71b0583d9737e188a32240ae7d29a558 +e4e5faf13c3a7da2755222882364530a 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 @@ -37,6 +36,8 @@ CONFIG_DRIVER_NET_SMC911X=y # CONFIG_GPIO_SIFIVE is undefined # CONFIG_GPIO_SX150X is undefined # CONFIG_GPIO_WATCHDOG is undefined +# CONFIG_HW_RANDOM_BCM2835 is undefined +# CONFIG_HW_RANDOM_IPROC_RNG200 is undefined # CONFIG_I2C_ALGOBIT is undefined # CONFIG_I2C_BCM283X is undefined # CONFIG_I2C_GPIO is undefined diff --git a/configs/platform-v7a_noneon/barebox.config b/configs/platform-v7a_noneon/barebox.config index 9bbc3745d184..8734770abc4d 100644 --- a/configs/platform-v7a_noneon/barebox.config +++ b/configs/platform-v7a_noneon/barebox.config @@ -1,11 +1,11 @@ # # Automatically generated file; DO NOT EDIT. -# Barebox/arm 2023.07.1-20230706-1 Configuration +# Barebox/arm 2024.07.0 Configuration # CONFIG_ARM=y +CONFIG_ARCH_TEXT_BASE=0x00000000 CONFIG_ARM_LINUX=y CONFIG_ARM_USE_COMPRESSED_DTB=y -CONFIG_TEXT_BASE=0x0 # # System Type @@ -13,21 +13,15 @@ CONFIG_TEXT_BASE=0x0 CONFIG_ARCH_MULTIARCH=y # CONFIG_ARCH_AT91 is not set # CONFIG_ARCH_CLPS711X is not set -# CONFIG_ARCH_DAVINCI is not set -# CONFIG_ARCH_DIGIC is not set -# CONFIG_ARCH_EP93XX is not set -# CONFIG_ARCH_LAYERSCAPE is not set # CONFIG_ARCH_MVEBU is not set # CONFIG_ARCH_MXS is not set -# CONFIG_ARCH_NOMADIK is not set -# CONFIG_ARCH_OMAP_SINGLE is not set # CONFIG_ARCH_PXA is not set # CONFIG_ARCH_SOCFPGA is not set # CONFIG_ARCH_TEGRA is not set -# CONFIG_ARCH_UEMD is not set # CONFIG_ARCH_ZYNQ is not set CONFIG_ARCH_BCM283X=y # CONFIG_ARCH_IMX is not set +# CONFIG_ARCH_LAYERSCAPE is not set # CONFIG_ARCH_OMAP_MULTI is not set # CONFIG_ARCH_ROCKCHIP is not set # CONFIG_ARCH_STM32MP is not set @@ -45,7 +39,6 @@ CONFIG_CPU_32v7=y # processor features # # CONFIG_BOOT_ENDIANNESS_SWITCH is not set -CONFIG_ARCH_TEXT_BASE=0x0 CONFIG_MACH_RPI_COMMON=y CONFIG_MACH_RPI_AARCH_32_64=y @@ -136,6 +129,7 @@ CONFIG_BAREBOX_MAX_PBL_SIZE=0xffffffff CONFIG_BAREBOX_MAX_BARE_INIT_SIZE=0xffffffff CONFIG_STACK_SIZE=0x8000 CONFIG_MALLOC_SIZE=0x0 +CONFIG_MALLOC_ALIGNMENT=8 # end of memory layout # CONFIG_EXPERIMENTAL is not set @@ -144,7 +138,9 @@ CONFIG_MALLOC_TLSF=y CONFIG_HAVE_MOD_ARCH_SPECIFIC=y CONFIG_KALLSYMS=y CONFIG_RELOCATABLE=y +# CONFIG_PANIC_POWEROFF is not set # CONFIG_PANIC_HANG is not set +CONFIG_PANIC_RESET=y CONFIG_PROMPT="barebox>" CONFIG_BAUDRATE=115200 CONFIG_CBSIZE=1024 @@ -160,7 +156,6 @@ CONFIG_CMDLINE_EDITING=y CONFIG_AUTO_COMPLETE=y CONFIG_MENU=y # CONFIG_PASSWORD is not set -CONFIG_DYNAMIC_CRC_TABLE=y CONFIG_ERRNO_MESSAGES=y CONFIG_TIMESTAMP=y CONFIG_BOOTM=y @@ -168,7 +163,7 @@ CONFIG_BOOTM_SHOW_TYPE=y CONFIG_BOOTM_VERBOSE=y CONFIG_BOOTM_INITRD=y CONFIG_BOOTM_OFTREE=y -# CONFIG_BOOTM_OFTREE_UIMAGE is not set +# CONFIG_BOOTM_UIMAGE is not set # CONFIG_BOOTM_AIMAGE is not set # CONFIG_BOOTM_ELF is not set # CONFIG_BOOTM_FITIMAGE is not set @@ -189,6 +184,7 @@ CONFIG_CONSOLE_ALLOW_COLOR=y # CONFIG_PBL_CONSOLE is not set # CONFIG_CONSOLE_RATP is not set CONFIG_PARTITION=y +CONFIG_PARTITION_MANIPULATION=y CONFIG_PARTITION_DISK=y CONFIG_PARTITION_DISK_DOS=y CONFIG_PARTITION_DISK_EFI=y @@ -233,9 +229,12 @@ CONFIG_FASTBOOT_CMD_OEM=y # CONFIG_COMPILE_LOGLEVEL=7 CONFIG_DEFAULT_LOGLEVEL=6 +CONFIG_HAS_DEBUG_LL=y # CONFIG_DEBUG_LL is not set # CONFIG_DEBUG_INITCALLS is not set # CONFIG_DEBUG_PROBES is not set +# CONFIG_DMA_API_DEBUG is not set +# CONFIG_DEBUG_LIST is not set # CONFIG_PBL_BREAK is not set # CONFIG_PRINTF_FULL is not set # CONFIG_UBSAN is not set @@ -249,9 +248,9 @@ CONFIG_CC_HAS_KASAN_GENERIC=y # # EFI (Extensible Firmware Interface) Support # +CONFIG_HAVE_EFI_STUB=y # end of EFI (Extensible Firmware Interface) Support -CONFIG_HAS_DEBUG_LL=y CONFIG_COMMAND_SUPPORT=y CONFIG_COMPILE_HASH=y @@ -305,6 +304,8 @@ CONFIG_CMD_UIMAGE=y CONFIG_CMD_PARTITION=y CONFIG_CMD_AUTOMOUNT=y CONFIG_CMD_MOUNT=y +# CONFIG_CMD_FINDMNT is not set +CONFIG_CMD_PARTED=y CONFIG_CMD_UMOUNT=y # end of Partition @@ -433,6 +434,7 @@ 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_KALLSYMS is not set # CONFIG_CMD_OF_COMPATIBLE is not set # CONFIG_CMD_OF_DIFF is not set CONFIG_CMD_OF_DUMP=y @@ -449,6 +451,7 @@ CONFIG_CMD_STATE=y # CONFIG_CMD_DHRYSTONE is not set # CONFIG_CMD_SPD_DECODE is not set # CONFIG_CMD_SEED is not set +# CONFIG_CMD_STACKSMASH is not set # end of Miscellaneous # end of Commands @@ -467,6 +470,7 @@ CONFIG_NET_FASTBOOT=y CONFIG_OFTREE=y CONFIG_OFTREE_MEM_GENERIC=y CONFIG_DTC=y +CONFIG_OF=y CONFIG_OFDEVICE=y CONFIG_OF_GPIO=y CONFIG_OF_BAREBOX_DRIVERS=y @@ -515,6 +519,7 @@ CONFIG_PHYLIB=y # CONFIG_DAVICOM_PHY is not set # CONFIG_DP83867_PHY is not set # CONFIG_DP83TD510_PHY is not set +# CONFIG_DP83TG720_PHY is not set # CONFIG_LXT_PHY is not set # CONFIG_MARVELL_PHY is not set # CONFIG_MICREL_PHY is not set @@ -582,7 +587,20 @@ CONFIG_MTD_OOB_DEVICE=y # end of Self contained MTD devices # CONFIG_DRIVER_CFI is not set + +# +# NAND +# # CONFIG_NAND is not set + +# +# ECC engine support +# +# CONFIG_MTD_NAND_ECC_SW_HAMMING is not set +# CONFIG_MTD_NAND_ECC_SW_BCH is not set +# end of ECC engine support +# end of NAND + # CONFIG_MTD_SPI_NOR is not set # CONFIG_MTD_UBI is not set CONFIG_DISK=y @@ -632,6 +650,7 @@ CONFIG_MCI=y # # --- Feature list --- # +# CONFIG_MCI_TUNING is not set CONFIG_MCI_STARTUP=y CONFIG_MCI_INFO=y CONFIG_MCI_WRITE=y @@ -641,12 +660,14 @@ CONFIG_MCI_WRITE=y # # --- MCI host drivers --- # +# CONFIG_MCI_DWC_MSHC is not set # CONFIG_MCI_DW is not set # CONFIG_MCI_ROCKCHIP_DWCMSHC is not set # CONFIG_MCI_BCM283X is not set # CONFIG_MCI_BCM283X_SDHOST is not set CONFIG_MCI_MMCI=y # CONFIG_MCI_ARASAN is not set +# CONFIG_MCI_AM654 is not set # CONFIG_MCI_SPI is not set CONFIG_HAVE_CLK=y CONFIG_CLKDEV_LOOKUP=y @@ -678,6 +699,7 @@ CONFIG_CLOCKSOURCE_ARM_ARCHITECTED_TIMER=y # CONFIG_MFD_TWL4030 is not set # CONFIG_MFD_TWL6030 is not set # CONFIG_MFD_STPMIC1 is not set +# CONFIG_MFD_PCA9450 is not set # CONFIG_MFD_RN568PMIC is not set # CONFIG_MFD_ATMEL_FLEXCOM is not set # CONFIG_MFD_RK808 is not set @@ -714,6 +736,7 @@ CONFIG_LED_TRIGGERS=y # # Input device support # +# CONFIG_INPUT_EVBUG is not set # CONFIG_KEYBOARD_GPIO is not set # CONFIG_KEYBOARD_QT1070 is not set # CONFIG_KEYBOARD_USB is not set @@ -725,8 +748,12 @@ CONFIG_WATCHDOG=y # CONFIG_WATCHDOG_DW is not set # CONFIG_WATCHDOG_BCM2835 is not set # CONFIG_GPIO_WATCHDOG is not set +# CONFIG_CADENCE_WATCHDOG is not set # CONFIG_PWM is not set CONFIG_HWRNG=y +# CONFIG_HW_RANDOM_TIMERIOMEM is not set +# CONFIG_HW_RANDOM_BCM2835 is not set +# CONFIG_HW_RANDOM_IPROC_RNG200 is not set # # DMA support @@ -785,8 +812,13 @@ CONFIG_REGULATOR_BCM283X=y # Firmware Drivers # # CONFIG_FIRMWARE_ALTERA_SERIAL is not set -# CONFIG_ARM_SCMI_PROTOCOL is not set # CONFIG_QEMU_FW_CFG is not set + +# +# ARM System Control and Management Interface Protocol +# +# CONFIG_ARM_SCMI_PROTOCOL is not set +# end of ARM System Control and Management Interface Protocol # end of Firmware Drivers # @@ -822,6 +854,16 @@ CONFIG_REGULATOR_BCM283X=y # end of KVX SoC drivers # end of SoC drivers +# +# PM Domains +# + +# +# i.MX PM Domains +# +# end of i.MX PM Domains +# end of PM Domains + # # NVME Support # @@ -832,6 +874,8 @@ CONFIG_REGULATOR_BCM283X=y # CONFIG_POWER_RESET_GPIO is not set # CONFIG_POWER_RESET_GPIO_RESTART is not set # CONFIG_VIRTIO_MENU is not set +# CONFIG_MAILBOX is not set +# CONFIG_TEE is not set # end of Drivers # @@ -901,6 +945,7 @@ CONFIG_XZ_DEC_IA64=y CONFIG_XZ_DEC_ARM=y CONFIG_XZ_DEC_ARMTHUMB=y CONFIG_XZ_DEC_SPARC=y +CONFIG_XZ_DEC_ARM64=y # CONFIG_BASE64 is not set CONFIG_PROCESS_ESCAPE_SEQUENCE=y CONFIG_LZO_DECOMPRESS=y @@ -926,6 +971,17 @@ CONFIG_ARCH_HAS_DATA_ABORT_MASK=y CONFIG_ARCH_HAS_ZERO_PAGE=y # end of Library routines +# +# Hardening options +# +# CONFIG_BUG_ON_DATA_CORRUPTION is not set +CONFIG_STACK_GUARD_PAGE=y +CONFIG_STACKPROTECTOR_NONE=y +# CONFIG_STACKPROTECTOR_STRONG is not set +CONFIG_PBL_STACKPROTECTOR_NONE=y +# CONFIG_PBL_STACKPROTECTOR_STRONG is not set +# end of Hardening options + # # Crypto support # 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 deleted file mode 100644 index 1afe82806d60..000000000000 --- a/configs/platform-v7a_noneon/patches/barebox-2023.07.1/0001-ARM-at91-enable-ddramc-for-sama5d3-and-sama5d4.patch +++ /dev/null @@ -1,32 +0,0 @@ -From: Oleksij Rempel -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 ---- - 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 deleted file mode 100644 index 7aeec243824b..000000000000 --- a/configs/platform-v7a_noneon/patches/barebox-2023.07.1/0002-ARM-at91-add-support-for-SAMA5D3-Ethernet-Developmen.patch +++ /dev/null @@ -1,219 +0,0 @@ -From: Oleksij Rempel -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 ---- - 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 -+#include -+ -+#include -+#include -+#include -+#include -+#include -+#include -+#include -+ -+/* 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 -+#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 deleted file mode 100644 index 519ea4ace1a7..000000000000 --- a/configs/platform-v7a_noneon/patches/barebox-2023.07.1/0003-ARM-at91-microchip-ksz9477-evb-migrate-to-sama5d3_ba.patch +++ /dev/null @@ -1,23 +0,0 @@ -From: Oleksij Rempel -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 ---- - 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 deleted file mode 100644 index d6e6193a9fde..000000000000 --- a/configs/platform-v7a_noneon/patches/barebox-2023.07.1/0101-Release-2023.07.0-customers-pengutronix-distrokit-sa.patch +++ /dev/null @@ -1,22 +0,0 @@ -From: Oleksij Rempel -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 deleted file mode 100644 index bdd8894835ae..000000000000 --- a/configs/platform-v7a_noneon/patches/barebox-2023.07.1/series +++ /dev/null @@ -1,13 +0,0 @@ -# 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 d600f7c84534..9aec8b079cc5 100644 --- a/configs/platform-v7a_noneon/platformconfig +++ b/configs/platform-v7a_noneon/platformconfig @@ -179,8 +179,8 @@ PTXCONF_CONSOLE_SPEED="115200" # PTXCONF_AT91BOOTSTRAP2 is not set PTXCONF_BAREBOX_COMMON_ARCH_STRING="arm" PTXCONF_BAREBOX_COMMON=y -PTXCONF_BAREBOX_COMMON_VERSION="2023.07.1" -PTXCONF_BAREBOX_COMMON_MD5="0b7ea966cd01266a93a4ccfa7d68bce0" +PTXCONF_BAREBOX_COMMON_VERSION="2024.07.0" +PTXCONF_BAREBOX_COMMON_MD5="c82948dfe7fba729e9d7eaaeff45f863" PTXCONF_BAREBOX_COMMON_NEEDS_HOST_LZOP=y PTXCONF_BAREBOX_AT91=y PTXCONF_BAREBOX_VEXPRESS=y -- 2.39.2