Re: [PATCH] include: env: ti: k3_dfu: Add condition for sysfw.itb

"Kumar, Udit" <[email protected]>
Newsgroups org.u-boot-project.lists.u-boot
Message-ID <[email protected]>

On 7/28/2026 11:59 AM, Neha Malcom Francis wrote:
> sysfw.itb is not part of the boot flow for all K3 devices except a
> couple. 

Suggestion, instead of couple,  think of mentioning name of devices

Conditionally include them as part of the list of DFU raw
> offsets and fat arguments.
> 
> Signed-off-by: Neha Malcom Francis <[email protected]>
> ---
> Tested on J721E-EVM (uses sysfw.itb) and J721S2-EVM (does not use sysfw.itb)

Link of test logs please
> 
>  include/env/ti/k3_dfu.env | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/include/env/ti/k3_dfu.env b/include/env/ti/k3_dfu.env
> index b42cf21d986..f0b68283723 100644
> --- a/include/env/ti/k3_dfu.env
> +++ b/include/env/ti/k3_dfu.env
> @@ -5,7 +5,9 @@ dfu_alt_info_mmc=
>  	tispl.bin fat 1 1;
>  	u-boot.img fat 1 1;
>  	uEnv.txt fat 1 1;
> +#if defined(CONFIG_SOC_K3_J721E) || defined(CONFIG_SOC_K3_AM654)
>  	sysfw.itb fat 1 1
> +#endif
>  
>  dfu_alt_info_emmc=
>  	rawemmc raw 0 0x800000 mmcpart 1;
> @@ -14,14 +16,18 @@ dfu_alt_info_emmc=
>  	tispl.bin.raw raw 0x400 0x1000 mmcpart 1;
>  	u-boot.img.raw raw 0x1400 0x2000 mmcpart 1;
>  	u-env.raw raw 0x3400 0x100 mmcpart 1;
> +#if defined(CONFIG_SOC_K3_J721E) || defined(CONFIG_SOC_K3_AM654)
>  	sysfw.itb.raw raw 0x3600 0x800 mmcpart 1
> +#endif
>  
>  dfu_alt_info_ospi=
>  	tiboot3.bin raw 0x0 0x080000;
>  	tispl.bin raw 0x080000 0x200000;
>  	u-boot.img raw 0x280000 0x400000;
>  	u-boot-env raw 0x680000 0x020000;
> +#if defined(CONFIG_SOC_K3_J721E) || defined(CONFIG_SOC_K3_AM654)
>  	sysfw.itb raw 0x6c0000 0x100000;
> +#endif
>  	rootfs raw 0x800000 0x3800000
>  
>  dfu_alt_info_ram=
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.