From 057d19e56d819fc11a59c70fe8a33e512cc27f9c Mon Sep 17 00:00:00 2001 From: Judith Mendez Date: Tue, 21 Nov 2023 15:46:49 -0600 Subject: [PATCH] environment: ti: k3_dfu_combined.env: Fix env offset for eMMC The following shall be the eMMC layout for AM64x platform: boot0 partition 0x0+----------------------------------+ | tiboot3.bin (1 MB) | 0x800+----------------------------------+ | tispl.bin (2 MB) | 0x1800+-----------------------------------+ | u-boot.img (4 MB) | 0x3800+-----------------------------------+ | environment (128 KB) | 0x3900+-----------------------------------+ Move u-boot environment from 0x3400 to ox3800 since at 0x3400 it overlaps with u-boot.img. Signed-off-by: Judith Mendez --- include/environment/ti/k3_dfu_combined.env | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/environment/ti/k3_dfu_combined.env b/include/environment/ti/k3_dfu_combined.env index eea3ad0d58..76d31f4ed9 100644 --- a/include/environment/ti/k3_dfu_combined.env +++ b/include/environment/ti/k3_dfu_combined.env @@ -13,7 +13,7 @@ dfu_alt_info_emmc= tiboot3.bin.raw raw 0x0 0x800 mmcpart 1; tispl.bin.raw raw 0x800 0x1000 mmcpart 1; u-boot.img.raw raw 0x1800 0x2000 mmcpart 1; - u-env.raw raw 0x3400 0x100 mmcpart 1 + u-env.raw raw 0x3800 0x100 mmcpart 1 dfu_alt_info_ospi= tiboot3.bin raw 0x0 0x100000;