[PATCH 4/4] board: ti: am62x: add am62x_lpsk_* defconfigs and env files

Nishanth Menon nm at ti.com
Wed Sep 27 13:53:54 CEST 2023


On 13:51-20230927, Nitin Yadav wrote:
> Add defconfig fragments for AM62x LP SK and corresponding
> customized environment file for AM62x LP SK.
> 
> Signed-off-by: Nitin Yadav <n-yadav at ti.com>
> ---
>  board/ti/am62x/am62x_lpsk_a53.config |  5 +++++
>  board/ti/am62x/am62x_lpsk_r5.config  |  5 +++++
>  board/ti/am62x/am62xlpsk.env         | 21 +++++++++++++++++++++
>  3 files changed, 31 insertions(+)
>  create mode 100644 board/ti/am62x/am62x_lpsk_a53.config
>  create mode 100644 board/ti/am62x/am62x_lpsk_r5.config
>  create mode 100644 board/ti/am62x/am62xlpsk.env
> 
> diff --git a/board/ti/am62x/am62x_lpsk_a53.config b/board/ti/am62x/am62x_lpsk_a53.config
> new file mode 100644
> index 0000000000..a568324997
> --- /dev/null
> +++ b/board/ti/am62x/am62x_lpsk_a53.config
> @@ -0,0 +1,5 @@
> +# Defconfig fragment to apply on top of am62x_evm_a53_defconfig
> +
> +CONFIG_DEFAULT_DEVICE_TREE="k3-am62-lp-sk"
> +CONFIG_SPL_OF_LIST="k3-am62-lp-sk"
> +CONFIG_OF_LIST="k3-am62-lp-sk"
> diff --git a/board/ti/am62x/am62x_lpsk_r5.config b/board/ti/am62x/am62x_lpsk_r5.config
> new file mode 100644
> index 0000000000..1532f4e336
> --- /dev/null
> +++ b/board/ti/am62x/am62x_lpsk_r5.config
> @@ -0,0 +1,5 @@
> +# Defconfig fragment to apply on top of am62x_evm_r5_defconfig
> +
> +CONFIG_DEFAULT_DEVICE_TREE="k3-am62-r5-lp-sk"
> +CONFIG_SPL_OF_LIST="k3-am62-r5-lp-sk"
> +CONFIG_OF_LIST="k3-am62-r5-lp-sk"
> diff --git a/board/ti/am62x/am62xlpsk.env b/board/ti/am62x/am62xlpsk.env
> new file mode 100644
> index 0000000000..3b79ae1b3f
> --- /dev/null
> +++ b/board/ti/am62x/am62xlpsk.env
> @@ -0,0 +1,21 @@
> +#include <env/ti/ti_common.env>
> +#include <env/ti/default_findfdt.env>
> +#include <env/ti/mmc.env>
> +
> +name_kern=Image
> +console=ttyS2,115200n8
> +args_all=setenv optargs ${optargs} earlycon=ns16550a,mmio32,0x02800000
> +	${mtdparts}
> +run_kern=booti ${loadaddr} ${rd_spec} ${fdtaddr}
> +
> +boot_targets=ti_mmc mmc0 mmc1 usb pxe dhcp
> +boot=mmc
> +mmcdev=1
> +bootpart=1:2
> +bootdir=/boot
> +rd_spec=-
> +
> +splashfile=ti.gz
> +splashimage=0x80200000
> +splashpos=m,m
> +splashsource=sf

Why dont we use the am62.env ? What is here to customize?
> -- 
> 2.25.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