Nikhil M Jain | 36bc171 | 2023-03-20 22:53:56 +0530 | [diff] [blame] | 1 | #include <environment/ti/ti_armv7_common.env> |
| 2 | #include <environment/ti/mmc.env> |
Nikhil M Jain | 6a74e25 | 2023-01-24 10:46:02 +0530 | [diff] [blame] | 3 | |
Andrew Davis | d8ea68d | 2023-07-14 11:22:30 +0530 | [diff] [blame^] | 4 | default_device_tree=ti/k3-am625-sk.dtb |
Nikhil M Jain | 6a74e25 | 2023-01-24 10:46:02 +0530 | [diff] [blame] | 5 | findfdt= |
| 6 | setenv name_fdt ${default_device_tree}; |
| 7 | setenv fdtfile ${name_fdt} |
| 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=- |
| 19 | init_mmc=run args_all args_mmc |
| 20 | get_fdt_mmc=load mmc ${bootpart} ${fdtaddr} ${bootdir}/${name_fdt} |
| 21 | get_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; |
| 29 | get_kern_mmc=load mmc ${bootpart} ${loadaddr} |
| 30 | ${bootdir}/${name_kern} |
| 31 | get_fit_mmc=load mmc ${bootpart} ${addr_fit} |
| 32 | ${bootdir}/${name_fit} |
| 33 | partitions=name=rootfs,start=0,size=-,uuid=${uuid_gpt_rootfs} |
Nikhil M Jain | 0952aa8 | 2023-01-31 15:35:18 +0530 | [diff] [blame] | 34 | |
| 35 | splashfile=ti.gz |
Nikhil M Jain | 852480c | 2023-04-10 14:19:11 +0530 | [diff] [blame] | 36 | splashimage=0x80200000 |
Nikhil M Jain | 0952aa8 | 2023-01-31 15:35:18 +0530 | [diff] [blame] | 37 | splashpos=m,m |
Nikhil M Jain | 852480c | 2023-04-10 14:19:11 +0530 | [diff] [blame] | 38 | splashsource=sf |