Nishanth Menon | efee070 | 2023-08-25 13:02:54 -0500 | [diff] [blame] | 1 | #include <env/ti/ti_common.env> |
Nishanth Menon | aeb1f09 | 2023-11-13 08:51:46 -0600 | [diff] [blame] | 2 | #include <env/ti/default_findfdt.env> |
Simon Glass | c484095 | 2023-07-30 21:01:45 -0600 | [diff] [blame] | 3 | #include <env/ti/mmc.env> |
Nikhil M Jain | d47da36 | 2023-03-20 22:32:08 +0530 | [diff] [blame] | 4 | |
Nikhil M Jain | d47da36 | 2023-03-20 22:32:08 +0530 | [diff] [blame] | 5 | name_kern=Image |
| 6 | console=ttyS2,115200n8 |
| 7 | args_all=setenv optargs ${optargs} earlycon=ns16550a,mmio32,0x02800000 |
| 8 | ${mtdparts} |
| 9 | run_kern=booti ${loadaddr} ${rd_spec} ${fdtaddr} |
| 10 | |
Nishanth Menon | da3e3c8 | 2023-11-13 08:51:47 -0600 | [diff] [blame] | 11 | boot_targets=mmc1 mmc0 usb pxe dhcp |
Nikhil M Jain | d47da36 | 2023-03-20 22:32:08 +0530 | [diff] [blame] | 12 | boot=mmc |
| 13 | mmcdev=1 |
| 14 | bootpart=1:2 |
| 15 | bootdir=/boot |
| 16 | rd_spec=- |
| 17 | init_mmc=run args_all args_mmc |
Nikhil M Jain | d47da36 | 2023-03-20 22:32:08 +0530 | [diff] [blame] | 18 | get_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; |
| 26 | get_kern_mmc=load mmc ${bootpart} ${loadaddr} |
| 27 | ${bootdir}/${name_kern} |
| 28 | get_fit_mmc=load mmc ${bootpart} ${addr_fit} |
| 29 | ${bootdir}/${name_fit} |
| 30 | partitions=name=rootfs,start=0,size=-,uuid=${uuid_gpt_rootfs} |