[PATCH v7 10/17] board: ti: j784s4: Add boot environment variables

Nishanth Menon nm at ti.com
Wed Jan 3 18:39:30 CET 2024


On 00:45-20231220, Apurva Nandan wrote:
> Add env file with necessary boot variables.
> 
> Signed-off-by: Apurva Nandan <a-nandan at ti.com>
> ---
>  board/ti/j784s4/j784s4.env | 18 ++++++++++++++++++
>  1 file changed, 18 insertions(+)
>  create mode 100644 board/ti/j784s4/j784s4.env
> 
> diff --git a/board/ti/j784s4/j784s4.env b/board/ti/j784s4/j784s4.env
> new file mode 100644
> index 0000000000..0055019074
> --- /dev/null
> +++ b/board/ti/j784s4/j784s4.env
> @@ -0,0 +1,18 @@
> +#include <env/ti/ti_common.env>
> +#include <env/ti/default_findfdt.env>

Other than the previous comment in board_late_init, which would remove
the need for findfdt call to setup fdtfile (mandatory for bootstd to
work properly)

> +#include <env/ti/mmc.env>
> +#include <env/ti/ufs.env>
> +#include <env/ti/k3_dfu.env>
> +
> +name_kern=Image
> +console=ttyS2,115200n8
> +args_all=setenv optargs ${optargs} earlycon=ns16550a,mmio32,0x02880000
> +	${mtdparts}
> +run_kern=booti ${loadaddr} ${rd_spec} ${fdtaddr}
> +
> +boot_targets=mmc1 mmc0 usb pxe dhcp
> +boot=mmc
> +mmcdev=1
> +bootpart=1:2
> +bootdir=/boot
> +rd_spec=-

-- 
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3  1A34 DDB5 849D 1736 249D


More information about the U-Boot mailing list