[PATCH] include: configs: Change dtb names in fitImage to match oe-core
Nishanth Menon
nm at ti.com
Fri Mar 31 19:04:16 CEST 2023
On 16:06-20230330, Ryan Eatmon wrote:
> The oe-core class for assembling the fitImage includes the vendor
> sub-directory (with the / changed to _) in the config sections of
> the fitImage. Our env var settings for chosing which section to
> boot from needs to be updated to agree with the fitImage.
>
> Signed-off-by: Ryan Eatmon <reatmon at ti.com>
> ---
> include/configs/am64x_evm.h | 4 ++--
> include/configs/am65x_evm.h | 2 +-
> include/configs/j721e_evm.h | 6 +++---
> include/configs/j721s2_evm.h | 6 +++---
> 4 files changed, 9 insertions(+), 9 deletions(-)
>
> diff --git a/include/configs/am64x_evm.h b/include/configs/am64x_evm.h
> index 26a7f2521e..456a44730c 100644
> --- a/include/configs/am64x_evm.h
> +++ b/include/configs/am64x_evm.h
> @@ -26,9 +26,9 @@
> #define EXTRA_ENV_AM642_BOARD_SETTINGS \
> "findfdt=" \
> "if test $board_name = am64x_gpevm; then " \
> - "setenv fdtfile k3-am642-evm.dtb; fi; " \
> + "setenv fdtfile ti_k3-am642-evm.dtb; fi; " \
> "if test $board_name = am64x_skevm; then " \
> - "setenv fdtfile k3-am642-sk.dtb; fi;" \
> + "setenv fdtfile ti_k3-am642-sk.dtb; fi;" \
Kernel.org builds k3-am642-sk.dtb
Why would we want to go and fix it with non-standard?
> "if test $fdtfile = undefined; then " \
> "echo WARNING: Could not determine device tree to use; fi; \0" \
> "name_kern=Image\0" \
> diff --git a/include/configs/am65x_evm.h b/include/configs/am65x_evm.h
> index 33dd6cfdfa..60a7eb1453 100644
> --- a/include/configs/am65x_evm.h
> +++ b/include/configs/am65x_evm.h
> @@ -24,7 +24,7 @@
> /* U-Boot general configuration */
> #define EXTRA_ENV_AM65X_BOARD_SETTINGS \
> "findfdt=" \
> - "setenv name_fdt k3-am654-base-board.dtb;" \
> + "setenv name_fdt ti_k3-am654-base-board.dtb;" \
> "setenv fdtfile ${name_fdt}\0" \
> "name_kern=Image\0" \
> "console=ttyS2,115200n8\0" \
> diff --git a/include/configs/j721e_evm.h b/include/configs/j721e_evm.h
> index 48b1cea6e3..eac5cd5b76 100644
> --- a/include/configs/j721e_evm.h
> +++ b/include/configs/j721e_evm.h
> @@ -34,11 +34,11 @@
> #define EXTRA_ENV_J721E_BOARD_SETTINGS \
> "default_device_tree=" CONFIG_DEFAULT_DEVICE_TREE ".dtb\0" \
> "findfdt=" \
> - "setenv name_fdt ${default_device_tree};" \
> + "setenv name_fdt ti_${default_device_tree};" \
> "if test $board_name = j721e; then " \
> - "setenv name_fdt k3-j721e-common-proc-board.dtb; fi;" \
> + "setenv name_fdt ti_k3-j721e-common-proc-board.dtb; fi;" \
> "if test $board_name = j721e-eaik || test $board_name = j721e-sk; then " \
> - "setenv name_fdt k3-j721e-sk.dtb; fi;" \
> + "setenv name_fdt ti_k3-j721e-sk.dtb; fi;" \
> "setenv fdtfile ${name_fdt}\0" \
> "name_kern=Image\0" \
> "console=ttyS2,115200n8\0" \
> diff --git a/include/configs/j721s2_evm.h b/include/configs/j721s2_evm.h
> index bfada9eebc..b30a4a8da4 100644
> --- a/include/configs/j721s2_evm.h
> +++ b/include/configs/j721s2_evm.h
> @@ -31,11 +31,11 @@
> #define EXTRA_ENV_J721S2_BOARD_SETTINGS \
> "default_device_tree=" CONFIG_DEFAULT_DEVICE_TREE ".dtb\0" \
> "findfdt=" \
> - "setenv name_fdt ${default_device_tree};" \
> + "setenv name_fdt ti_${default_device_tree};" \
> "if test $board_name = j721s2; then " \
> - "setenv name_fdt k3-j721s2-common-proc-board.dtb; fi;" \
> + "setenv name_fdt ti_k3-j721s2-common-proc-board.dtb; fi;" \
> "if test $board_name = am68-sk; then " \
> - "setenv name_fdt k3-am68-sk-base-board.dtb; fi;"\
> + "setenv name_fdt ti_k3-am68-sk-base-board.dtb; fi;"\
> "setenv fdtfile ${name_fdt}\0" \
> "name_kern=Image\0" \
> "console=ttyS2,115200n8\0" \
> --
> 2.17.1
>
--
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D
More information about the U-Boot
mailing list