diff options
author | Hiago De Franco <hiago.franco@toradex.com> | 2024-10-23 08:58:22 -0300 |
---|---|---|
committer | Hiago De Franco <hiago.franco@toradex.com> | 2024-10-23 14:00:44 -0300 |
commit | 15cf73caabc4513685f5933736e0e6f4b7d19f0d (patch) | |
tree | 0361d20b170f219c53956c08a3789ab0748f4f92 | |
parent | 2f4213c577dcab242594e186a3ac5eb495bff84e (diff) |
u-boot-toradex: Backport patch to update fastboot buffer size/address
Remove FASTBOOT_BUF_SIZE from verdin-imx8mm_defconfig and
verdin-imx8mp_defconfig to use the default value of 0x7000000, aligning
with other Toradex boards.
Update FASTBOOT_BUF_ADDR to 0x44200000, to keep the same value used in
Tezi 6, downstream NXP U-Boot.
Related-to: TEI-1225
Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
(cherry picked from commit a45c4863767905c1620324a9c1323d39a4c419b3)
-rw-r--r-- | recipes-bsp/u-boot/u-boot-toradex/0001-verdin-imx8m-m-p-defconfig-update-fastboot-buffer-si.patch | 53 | ||||
-rw-r--r-- | recipes-bsp/u-boot/u-boot-toradex_2024.07.bb | 1 |
2 files changed, 54 insertions, 0 deletions
diff --git a/recipes-bsp/u-boot/u-boot-toradex/0001-verdin-imx8m-m-p-defconfig-update-fastboot-buffer-si.patch b/recipes-bsp/u-boot/u-boot-toradex/0001-verdin-imx8m-m-p-defconfig-update-fastboot-buffer-si.patch new file mode 100644 index 0000000..36fadfa --- /dev/null +++ b/recipes-bsp/u-boot/u-boot-toradex/0001-verdin-imx8m-m-p-defconfig-update-fastboot-buffer-si.patch @@ -0,0 +1,53 @@ +From 76a30b1cf8a61e7396b4911441b55f07f0b58a93 Mon Sep 17 00:00:00 2001 +From: Hiago De Franco <hiago.franco@toradex.com> +Date: Mon, 21 Oct 2024 15:49:28 -0300 +Subject: [PATCH] verdin-imx8m{m|p}: defconfig: update fastboot buffer + size/address + +Remove FASTBOOT_BUF_SIZE from verdin-imx8mm_defconfig and +verdin-imx8mp_defconfig to use the default value of 0x7000000, aligning +with other Toradex boards. + +Update FASTBOOT_BUF_ADDR to 0x44200000, consistent with the value in +previous downstream NXP U-Boot releases. This will make fastboot +applications continue working with upstream U-Boot by using the same +address. + +Upstream-Status: Submitted [https://lore.kernel.org/u-boot/20241023115350.8413-1-hiagofranco@gmail.com/] +Signed-off-by: Hiago De Franco <hiago.franco@toradex.com> +--- + configs/verdin-imx8mm_defconfig | 3 +-- + configs/verdin-imx8mp_defconfig | 3 +-- + 2 files changed, 2 insertions(+), 4 deletions(-) + +diff --git a/configs/verdin-imx8mm_defconfig b/configs/verdin-imx8mm_defconfig +index aa4a400c3c60..abb458df4a98 100644 +--- a/configs/verdin-imx8mm_defconfig ++++ b/configs/verdin-imx8mm_defconfig +@@ -100,8 +100,7 @@ CONFIG_CLK_COMPOSITE_CCF=y + CONFIG_SPL_CLK_IMX8MM=y + CONFIG_CLK_IMX8MM=y + CONFIG_USB_FUNCTION_FASTBOOT=y +-CONFIG_FASTBOOT_BUF_ADDR=0x42800000 +-CONFIG_FASTBOOT_BUF_SIZE=0x40000000 ++CONFIG_FASTBOOT_BUF_ADDR=0x44200000 + CONFIG_FASTBOOT_FLASH=y + CONFIG_FASTBOOT_UUU_SUPPORT=y + CONFIG_FASTBOOT_FLASH_MMC_DEV=0 +diff --git a/configs/verdin-imx8mp_defconfig b/configs/verdin-imx8mp_defconfig +index bf1a0b8badfa..661761f39774 100644 +--- a/configs/verdin-imx8mp_defconfig ++++ b/configs/verdin-imx8mp_defconfig +@@ -112,8 +112,7 @@ CONFIG_CLK_COMPOSITE_CCF=y + CONFIG_CLK_IMX8MP=y + CONFIG_FSL_CAAM=y + CONFIG_USB_FUNCTION_FASTBOOT=y +-CONFIG_FASTBOOT_BUF_ADDR=0x42800000 +-CONFIG_FASTBOOT_BUF_SIZE=0x40000000 ++CONFIG_FASTBOOT_BUF_ADDR=0x44200000 + CONFIG_FASTBOOT_FLASH=y + CONFIG_FASTBOOT_UUU_SUPPORT=y + CONFIG_FASTBOOT_FLASH_MMC_DEV=0 +-- +2.39.5 + diff --git a/recipes-bsp/u-boot/u-boot-toradex_2024.07.bb b/recipes-bsp/u-boot/u-boot-toradex_2024.07.bb index c831de7..09f3ca2 100644 --- a/recipes-bsp/u-boot/u-boot-toradex_2024.07.bb +++ b/recipes-bsp/u-boot/u-boot-toradex_2024.07.bb @@ -11,4 +11,5 @@ TDX_PATCHES = "\ file://0006-ARM-imx-verdin-imx8mm-Set-CAN-oscillator-frequency-b.patch \ file://0001-configs-verdin-imx8m-mp-set-CONFIG_SPL_LOAD_FIT_ADDR.patch \ file://0001-arm-imx-imx8m-soc-Fix-VPU-fdt-disable-fixup.patch \ + file://0001-verdin-imx8m-m-p-defconfig-update-fastboot-buffer-si.patch \ " |