blob: 2af6914e3fab017776847668aee7856926434308 [file] [log] [blame]
Nishanth Menonbf9c61a2023-08-25 13:02:54 -05001#include <env/ti/ti_common.env>
Nishanth Menon1fd40fa2023-11-13 08:51:46 -06002#include <env/ti/default_findfdt.env>
Simon Glass5e541a02023-07-30 21:01:45 -06003#include <env/ti/mmc.env>
Nikhil M Jain25d29a82023-03-20 22:32:08 +05304
Nikhil M Jain25d29a82023-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
11boot=mmc
12mmcdev=1
13bootpart=1:2
14bootdir=/boot
15rd_spec=-
16init_mmc=run args_all args_mmc
Nikhil M Jain25d29a82023-03-20 22:32:08 +053017get_overlay_mmc=
18 fdt address ${fdtaddr};
19 fdt resize 0x100000;
20 for overlay in $name_overlays;
21 do;
22 load mmc ${bootpart} ${dtboaddr} ${bootdir}/${overlay} &&
23 fdt apply ${dtboaddr};
24 done;
25get_kern_mmc=load mmc ${bootpart} ${loadaddr}
26 ${bootdir}/${name_kern}
27get_fit_mmc=load mmc ${bootpart} ${addr_fit}
28 ${bootdir}/${name_fit}
29partitions=name=rootfs,start=0,size=-,uuid=${uuid_gpt_rootfs}