blob: 7029d12bf203320fde859965ae57c272ed4c685c [file] [log] [blame]
Neha Malcom Francisa2e532c2023-03-15 10:57:43 +05301loadaddr=0x82000000
2kernel_addr_r=0x82000000
3fdtaddr=0x88000000
4dtboaddr=0x89000000
5fdt_addr_r=0x88000000
6fdtoverlay_addr_r=0x89000000
7rdaddr=0x88080000
8ramdisk_addr_r=0x88080000
9scriptaddr=0x80000000
10pxefile_addr_r=0x80100000
11bootm_size=0x10000000
12boot_fdt=try
13
14boot_fit=0
Udit Kumar05396652024-05-21 16:26:47 +053015secure_rprocs=0
Neha Malcom Francisa2e532c2023-03-15 10:57:43 +053016addr_fit=0x90000000
17name_fit=fitImage
18update_to_fit=setenv loadaddr ${addr_fit}; setenv bootfile ${name_fit}
Manorit Chawdhryfd36fa52023-09-25 11:53:42 +053019get_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 Francisa2e532c2023-03-15 10:57:43 +053023 done;
Andrew Davis6dd3e712023-04-25 11:20:45 -050024get_fit_config=setexpr name_fit_config gsub / _ conf-${fdtfile}
25run_fit=run get_fit_config; bootm ${addr_fit}#${name_fit_config}${overlaystring}
Manorit Chawdhry85bd11c2024-01-08 13:48:49 +053026do_main_cpsw0_qsgmii_phyinit=0
Manorit Chawdhrya44ef722023-07-14 11:22:34 +053027bootcmd_ti_mmc=
Dhruva Gole0d2d0fe2024-07-02 10:50:04 +053028 run init_${boot};
Manorit Chawdhrya44ef722023-07-14 11:22:34 +053029#if CONFIG_CMD_REMOTEPROC
Manorit Chawdhryc26e91f2023-12-11 16:12:09 +053030 if test ${do_main_cpsw0_qsgmii_phyinit} -eq 1;
31 then run main_cpsw0_qsgmii_phyinit;
Manorit Chawdhry6d2e6d52024-01-08 13:48:48 +053032 fi;
Manorit Chawdhryc26e91f2023-12-11 16:12:09 +053033 run boot_rprocs;
Manorit Chawdhrya44ef722023-07-14 11:22:34 +053034#endif
35 if test ${boot_fit} -eq 1;
Manorit Chawdhryfd36fa52023-09-25 11:53:42 +053036 then run get_fit_${boot}; run get_fit_overlaystring; run run_fit;
Manorit Chawdhrya44ef722023-07-14 11:22:34 +053037 else;
38 run get_kern_${boot}; run get_fdt_${boot}; run get_overlay_${boot}; run run_kern;
39 fi;