blob: a6d967e982d4abd32dc7b3fab25347fbe1dd966a [file] [log] [blame]
Nishanth Menonefee0702023-08-25 13:02:54 -05001#include <env/ti/ti_common.env>
Nishanth Menonaeb1f092023-11-13 08:51:46 -06002#include <env/ti/default_findfdt.env>
Simon Glassc4840952023-07-30 21:01:45 -06003#include <env/ti/mmc.env>
Nikhil M Jaind47da362023-03-20 22:32:08 +05304
Nikhil M Jaind47da362023-03-20 22:32:08 +05305name_kern=Image
6console=ttyS2,115200n8
7args_all=setenv optargs ${optargs} earlycon=ns16550a,mmio32,0x02800000
8 ${mtdparts}
9run_kern=booti ${loadaddr} ${rd_spec} ${fdtaddr}
10
Nishanth Menonda3e3c82023-11-13 08:51:47 -060011boot_targets=mmc1 mmc0 usb pxe dhcp
Nikhil M Jaind47da362023-03-20 22:32:08 +053012boot=mmc
13mmcdev=1
14bootpart=1:2
15bootdir=/boot
16rd_spec=-
17init_mmc=run args_all args_mmc
Nikhil M Jaind47da362023-03-20 22:32:08 +053018get_overlay_mmc=
19 fdt address ${fdtaddr};
20 fdt resize 0x100000;
21 for overlay in $name_overlays;
22 do;
23 load mmc ${bootpart} ${dtboaddr} ${bootdir}/${overlay} &&
24 fdt apply ${dtboaddr};
25 done;
26get_kern_mmc=load mmc ${bootpart} ${loadaddr}
27 ${bootdir}/${name_kern}
28get_fit_mmc=load mmc ${bootpart} ${addr_fit}
29 ${bootdir}/${name_fit}
30partitions=name=rootfs,start=0,size=-,uuid=${uuid_gpt_rootfs}