Neha Malcom Francis | a2e532c | 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 |
Udit Kumar | 0539665 | 2024-05-21 16:26:47 +0530 | [diff] [blame] | 15 | secure_rprocs=0 |
Neha Malcom Francis | a2e532c | 2023-03-15 10:57:43 +0530 | [diff] [blame] | 16 | addr_fit=0x90000000 |
| 17 | name_fit=fitImage |
| 18 | update_to_fit=setenv loadaddr ${addr_fit}; setenv bootfile ${name_fit} |
Manorit Chawdhry | fd36fa5 | 2023-09-25 11:53:42 +0530 | [diff] [blame] | 19 | get_fit_overlaystring= |
| 20 | for overlay in $name_overlays; do; |
| 21 | setexpr name_fit_overlay gsub / _ conf-${overlay}; |
| 22 | setenv overlaystring ${overlaystring}'#'${name_fit_overlay}; |
Neha Malcom Francis | a2e532c | 2023-03-15 10:57:43 +0530 | [diff] [blame] | 23 | done; |
Andrew Davis | 6dd3e71 | 2023-04-25 11:20:45 -0500 | [diff] [blame] | 24 | get_fit_config=setexpr name_fit_config gsub / _ conf-${fdtfile} |
| 25 | run_fit=run get_fit_config; bootm ${addr_fit}#${name_fit_config}${overlaystring} |
Manorit Chawdhry | 85bd11c | 2024-01-08 13:48:49 +0530 | [diff] [blame] | 26 | do_main_cpsw0_qsgmii_phyinit=0 |
Manorit Chawdhry | a44ef72 | 2023-07-14 11:22:34 +0530 | [diff] [blame] | 27 | bootcmd_ti_mmc= |
Dhruva Gole | 0d2d0fe | 2024-07-02 10:50:04 +0530 | [diff] [blame] | 28 | run init_${boot}; |
Manorit Chawdhry | a44ef72 | 2023-07-14 11:22:34 +0530 | [diff] [blame] | 29 | #if CONFIG_CMD_REMOTEPROC |
Manorit Chawdhry | c26e91f | 2023-12-11 16:12:09 +0530 | [diff] [blame] | 30 | if test ${do_main_cpsw0_qsgmii_phyinit} -eq 1; |
| 31 | then run main_cpsw0_qsgmii_phyinit; |
Manorit Chawdhry | 6d2e6d5 | 2024-01-08 13:48:48 +0530 | [diff] [blame] | 32 | fi; |
Manorit Chawdhry | c26e91f | 2023-12-11 16:12:09 +0530 | [diff] [blame] | 33 | run boot_rprocs; |
Manorit Chawdhry | a44ef72 | 2023-07-14 11:22:34 +0530 | [diff] [blame] | 34 | #endif |
| 35 | if test ${boot_fit} -eq 1; |
Manorit Chawdhry | fd36fa5 | 2023-09-25 11:53:42 +0530 | [diff] [blame] | 36 | then run get_fit_${boot}; run get_fit_overlaystring; run run_fit; |
Manorit Chawdhry | a44ef72 | 2023-07-14 11:22:34 +0530 | [diff] [blame] | 37 | else; |
| 38 | run get_kern_${boot}; run get_fdt_${boot}; run get_overlay_${boot}; run run_kern; |
| 39 | fi; |