From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Mon, 10 Jul 2023 07:03:38 +0200 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qIj3j-005HcD-D1 for lore@lore.pengutronix.de; Mon, 10 Jul 2023 07:03:38 +0200 Received: from localhost ([127.0.0.1] helo=metis.ext.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1qIj3f-0008US-TN; Mon, 10 Jul 2023 07:03:35 +0200 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qIj3Y-0008OK-8s; Mon, 10 Jul 2023 07:03:28 +0200 Received: from [2a0a:edc0:0:1101:1d::ac] (helo=dude04.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.94.2) (envelope-from ) id 1qIj3X-00DKxx-JP; Mon, 10 Jul 2023 07:03:27 +0200 Received: from ore by dude04.red.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1qIj3V-00CbW3-35; Mon, 10 Jul 2023 07:03:25 +0200 From: Oleksij Rempel To: distrokit@pengutronix.de Date: Mon, 10 Jul 2023 07:03:18 +0200 Message-Id: <20230710050324.3004120-2-o.rempel@pengutronix.de> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230710050324.3004120-1-o.rempel@pengutronix.de> References: <20230710050324.3004120-1-o.rempel@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [DistroKit] =?utf-8?q?=5BPATCH_v3_1/7=5D_v7a=5Fnoneon=3A_barebox?= =?utf-8?q?=3A_version_bump_v2023=2E01=2E0_=E2=86=92_v2023=2E07=2E1?= 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: Oleksij Rempel , 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.ext.pengutronix.de); SAEximRunCond expanded to false 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 Reviewed-by: Ahmad Fatoum --- .../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 +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 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 +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 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 +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 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 +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