blob: 37af691991677ffa34f2b61e6f9df20a7881837b [file] [log] [blame]
Nikhil M Jain36bc1712023-03-20 22:53:56 +05301#include <environment/ti/ti_armv7_common.env>
2#include <environment/ti/mmc.env>
Nikhil M Jain6a74e252023-01-24 10:46:02 +05303
Andrew Davisd8ea68d2023-07-14 11:22:30 +05304default_device_tree=ti/k3-am625-sk.dtb
Nikhil M Jain6a74e252023-01-24 10:46:02 +05305findfdt=
6 setenv name_fdt ${default_device_tree};
7 setenv fdtfile ${name_fdt}
8name_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=-
19init_mmc=run args_all args_mmc
20get_fdt_mmc=load mmc ${bootpart} ${fdtaddr} ${bootdir}/${name_fdt}
21get_overlay_mmc=
22 fdt address ${fdtaddr};
23 fdt resize 0x100000;
24 for overlay in $name_overlays;
25 do;
26 load mmc ${bootpart} ${dtboaddr} ${bootdir}/${overlay} &&
27 fdt apply ${dtboaddr};
28 done;
29get_kern_mmc=load mmc ${bootpart} ${loadaddr}
30 ${bootdir}/${name_kern}
31get_fit_mmc=load mmc ${bootpart} ${addr_fit}
32 ${bootdir}/${name_fit}
33partitions=name=rootfs,start=0,size=-,uuid=${uuid_gpt_rootfs}
Nikhil M Jain0952aa82023-01-31 15:35:18 +053034
35splashfile=ti.gz
Nikhil M Jain852480c2023-04-10 14:19:11 +053036splashimage=0x80200000
Nikhil M Jain0952aa82023-01-31 15:35:18 +053037splashpos=m,m
Nikhil M Jain852480c2023-04-10 14:19:11 +053038splashsource=sf