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