Neha Malcom Francis | 65dbb12 | 2023-03-15 10:57:43 +0530 | [diff] [blame] | 1 | loadaddr=0x82000000 |
| 2 | kernel_addr_r=0x82000000 |
| 3 | fdtaddr=0x88000000 |
| 4 | dtboaddr=0x89000000 |
| 5 | fdt_addr_r=0x88000000 |
| 6 | fdtoverlay_addr_r=0x89000000 |
| 7 | rdaddr=0x88080000 |
| 8 | ramdisk_addr_r=0x88080000 |
| 9 | scriptaddr=0x80000000 |
| 10 | pxefile_addr_r=0x80100000 |
| 11 | bootm_size=0x10000000 |
| 12 | boot_fdt=try |
| 13 | |
| 14 | boot_fit=0 |
| 15 | addr_fit=0x90000000 |
| 16 | name_fit=fitImage |
| 17 | update_to_fit=setenv loadaddr ${addr_fit}; setenv bootfile ${name_fit} |
Manorit Chawdhry | 7ebbce5 | 2023-09-25 11:53:42 +0530 | [diff] [blame] | 18 | get_fit_overlaystring= |
| 19 | for overlay in $name_overlays; do; |
| 20 | setexpr name_fit_overlay gsub / _ conf-${overlay}; |
| 21 | setenv overlaystring ${overlaystring}'#'${name_fit_overlay}; |
Neha Malcom Francis | 65dbb12 | 2023-03-15 10:57:43 +0530 | [diff] [blame] | 22 | done; |
Andrew Davis | 837833a | 2023-04-25 11:20:45 -0500 | [diff] [blame] | 23 | get_fit_config=setexpr name_fit_config gsub / _ conf-${fdtfile} |
| 24 | run_fit=run get_fit_config; bootm ${addr_fit}#${name_fit_config}${overlaystring} |
Manorit Chawdhry | 4ae1a24 | 2023-07-14 11:22:34 +0530 | [diff] [blame] | 25 | bootcmd_ti_mmc= |
| 26 | run findfdt; run init_${boot}; |
| 27 | #if CONFIG_CMD_REMOTEPROC |
| 28 | run main_cpsw0_qsgmii_phyinit; run boot_rprocs; |
| 29 | #endif |
| 30 | if test ${boot_fit} -eq 1; |
Manorit Chawdhry | 7ebbce5 | 2023-09-25 11:53:42 +0530 | [diff] [blame] | 31 | then run get_fit_${boot}; run get_fit_overlaystring; run run_fit; |
Manorit Chawdhry | 4ae1a24 | 2023-07-14 11:22:34 +0530 | [diff] [blame] | 32 | else; |
| 33 | run get_kern_${boot}; run get_fdt_${boot}; run get_overlay_${boot}; run run_kern; |
| 34 | fi; |