Nishanth Menon | efee070 | 2023-08-25 13:02:54 -0500 | [diff] [blame] | 1 | #include <env/ti/ti_common.env> |
Simon Glass | c484095 | 2023-07-30 21:01:45 -0600 | [diff] [blame] | 2 | #include <env/ti/mmc.env> |
| 3 | #include <env/ti/k3_dfu.env> |
Nikhil M Jain | 49d6b9c | 2023-03-21 18:23:30 +0530 | [diff] [blame] | 4 | #if CONFIG_CMD_REMOTEPROC |
Simon Glass | c484095 | 2023-07-30 21:01:45 -0600 | [diff] [blame] | 5 | #include <env/ti/k3_rproc.env> |
Nikhil M Jain | 49d6b9c | 2023-03-21 18:23:30 +0530 | [diff] [blame] | 6 | #endif |
| 7 | |
Nikhil M Jain | 49d6b9c | 2023-03-21 18:23:30 +0530 | [diff] [blame] | 8 | name_kern=Image |
| 9 | console=ttyS2,115200n8 |
| 10 | args_all=setenv optargs ${optargs} earlycon=ns16550a,mmio32,0x02800000 |
| 11 | ${mtdparts} |
| 12 | run_kern=booti ${loadaddr} ${rd_spec} ${fdtaddr} |
| 13 | |
| 14 | boot=mmc |
| 15 | mmcdev=1 |
| 16 | bootpart=1:2 |
| 17 | bootdir=/boot |
| 18 | rd_spec=- |
Nikhil M Jain | 49d6b9c | 2023-03-21 18:23:30 +0530 | [diff] [blame] | 19 | |
| 20 | init_ubi= |
| 21 | run args_all args_ubi; |
| 22 | sf probe; |
| 23 | ubi part ospi.rootfs; |
| 24 | ubifsmount ubi:rootfs; |
| 25 | get_kern_ubi=ubifsload ${loadaddr} ${bootdir}/${name_kern} |
| 26 | get_fdt_ubi=ubifsload ${fdtaddr} ${bootdir}/${name_fdt} |
| 27 | args_ubi=setenv bootargs console=${console} ${optargs} |
| 28 | rootfstype=ubifs root=ubi0:rootfs rw ubi.mtd=ospi.rootfs |
| 29 | |