Nishanth Menon | 3c878c4 | 2023-08-25 13:03:04 -0500 | [diff] [blame] | 1 | #include <env/ti/ti_common.env> |
Nishanth Menon | 3c878c4 | 2023-08-25 13:03:04 -0500 | [diff] [blame] | 2 | #include <env/ti/mmc.env> |
Sjoerd Simons | 87b6033 | 2024-05-06 15:38:45 +0100 | [diff] [blame] | 3 | #include <env/ti/k3_dfu.env> |
Nishanth Menon | 3c878c4 | 2023-08-25 13:03:04 -0500 | [diff] [blame] | 4 | |
| 5 | name_kern=Image |
| 6 | console=ttyS2,115200n8 |
| 7 | args_all=setenv optargs ${optargs} earlycon=ns16550a,mmio32,0x02800000 |
| 8 | run_kern=booti ${loadaddr} ${rd_spec} ${fdtaddr} |
| 9 | set_led_state_fail_load= led led-0 off; led led-1 on; |
| 10 | led led-2 off; led led-3 on; led led-4 off |
| 11 | set_led_state_start_load=led led-0 on; led led-1 off; |
| 12 | led led-2 on; led led-3 off; led led-4 on |
| 13 | boot=mmc |
| 14 | mmcdev=1 |
Dhruva Gole | 99ebfbf | 2024-06-18 10:23:18 +0530 | [diff] [blame] | 15 | bootpart=1:2 |
Nishanth Menon | 3c878c4 | 2023-08-25 13:03:04 -0500 | [diff] [blame] | 16 | bootdir=/boot |
Nishanth Menon | 7bf4f16 | 2024-02-20 12:39:52 -0600 | [diff] [blame] | 17 | boot_targets=mmc1 mmc0 |
Nishanth Menon | 3c878c4 | 2023-08-25 13:03:04 -0500 | [diff] [blame] | 18 | bootmeths=script extlinux efi pxe |
| 19 | rd_spec=- |
Mattijs Korpershoek | e62e946 | 2024-09-12 09:29:58 +0200 | [diff] [blame] | 20 | |
| 21 | #if CONFIG_BOOTMETH_ANDROID |
| 22 | #include <env/ti/android.env> |
| 23 | /* Override Android partitions |
| 24 | * Required because tiboot3 is in mmc0boot0, not in UDA |
| 25 | * note that += is needed because \n is converted by space in .env files */ |
| 26 | partitions= |
| 27 | name=bootloader,start=5M,size=8M,uuid=${uuid_gpt_bootloader}; |
| 28 | partitions+=name=misc,start=13824K,size=512K,uuid=${uuid_gpt_misc}; |
| 29 | partitions+=name=frp,size=512K,uuid=${uuid_gpt_frp}; |
| 30 | partitions+=name=boot_a,size=40M,uuid=${uuid_gpt_boot_a}; |
| 31 | partitions+=name=boot_b,size=40M,uuid=${uuid_gpt_boot_b}; |
| 32 | partitions+=name=vendor_boot_a,size=32M,uuid=${uuid_gpt_vendor_boot_a}; |
| 33 | partitions+=name=vendor_boot_b,size=32M,uuid=${uuid_gpt_vendor_boot_b}; |
| 34 | partitions+=name=init_boot_a,size=8M,uuid=${uuid_gpt_init_boot_a}; |
| 35 | partitions+=name=init_boot_b,size=8M,uuid=${uuid_gpt_init_boot_b}; |
| 36 | partitions+=name=dtbo_a,size=8M,uuid=${uuid_gpt_dtbo_a}; |
| 37 | partitions+=name=dtbo_b,size=8M,uuid=${uuid_gpt_dtbo_b}; |
| 38 | partitions+=name=vbmeta_a,size=64K,uuid=${uuid_gpt_vbmeta_a}; |
| 39 | partitions+=name=vbmeta_b,size=64K,uuid=${uuid_gpt_vbmeta_b}; |
| 40 | partitions+=name=vbmeta_vendor_dlkm_a,size=64K,uuid=${uuid_gpt_vbmeta_vendor_dlkm_a}; |
| 41 | partitions+=name=vbmeta_vendor_dlkm_b,size=64K,uuid=${uuid_gpt_vbmeta_vendor_dlkm_b}; |
| 42 | partitions+=name=super,size=4608M,uuid=${uuid_gpt_super}; |
| 43 | partitions+=name=metadata,size=64M,uuid=${uuid_gpt_metadata}; |
| 44 | partitions+=name=persist,size=32M,uuid=${uuid_gpt_persist}; |
| 45 | partitions+=name=userdata,size=-,uuid=${uuid_gpt_userdata} |
| 46 | fastboot_raw_partition_tiboot3="0x0 0x800 mmcpart 1" |
| 47 | |
| 48 | adtb_idx=2 |
| 49 | #endif |