blob: 631997e4c979711d05addaabf44137d5b7b476ea [file] [log] [blame]
Nishanth Menonefee0702023-08-25 13:02:54 -05001#include <env/ti/ti_common.env>
Simon Glassc4840952023-07-30 21:01:45 -06002#include <env/ti/mmc.env>
3#include <env/ti/k3_dfu.env>
Nikhil M Jain49d6b9c2023-03-21 18:23:30 +05304#if CONFIG_CMD_REMOTEPROC
Simon Glassc4840952023-07-30 21:01:45 -06005#include <env/ti/k3_rproc.env>
Nikhil M Jain49d6b9c2023-03-21 18:23:30 +05306#endif
7
Nikhil M Jain49d6b9c2023-03-21 18:23:30 +05308name_kern=Image
9console=ttyS2,115200n8
10args_all=setenv optargs ${optargs} earlycon=ns16550a,mmio32,0x02800000
11 ${mtdparts}
12run_kern=booti ${loadaddr} ${rd_spec} ${fdtaddr}
13
14boot=mmc
15mmcdev=1
16bootpart=1:2
17bootdir=/boot
18rd_spec=-
Nikhil M Jain49d6b9c2023-03-21 18:23:30 +053019
20init_ubi=
21 run args_all args_ubi;
22 sf probe;
23 ubi part ospi.rootfs;
24 ubifsmount ubi:rootfs;
25get_kern_ubi=ubifsload ${loadaddr} ${bootdir}/${name_kern}
26get_fdt_ubi=ubifsload ${fdtaddr} ${bootdir}/${name_fdt}
27args_ubi=setenv bootargs console=${console} ${optargs}
28rootfstype=ubifs root=ubi0:rootfs rw ubi.mtd=ospi.rootfs
29
MD Danish Anwar6ff57b12024-04-16 14:50:18 +053030#if CONFIG_TI_ICSSG_PRUETH
31storage_interface=mmc
32fw_dev_part=1:2
33#endif