blob: fc29d49712db306c4a378d9ec26a2f580eda23b3 [file] [log] [blame]
Nishanth Menon3c878c42023-08-25 13:03:04 -05001#include <env/ti/ti_common.env>
Nishanth Menon3c878c42023-08-25 13:03:04 -05002#include <env/ti/mmc.env>
Sjoerd Simons87b60332024-05-06 15:38:45 +01003#include <env/ti/k3_dfu.env>
Nishanth Menon3c878c42023-08-25 13:03:04 -05004
5name_kern=Image
6console=ttyS2,115200n8
7args_all=setenv optargs ${optargs} earlycon=ns16550a,mmio32,0x02800000
8run_kern=booti ${loadaddr} ${rd_spec} ${fdtaddr}
9set_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
11set_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
13boot=mmc
14mmcdev=1
Dhruva Gole99ebfbf2024-06-18 10:23:18 +053015bootpart=1:2
Nishanth Menon3c878c42023-08-25 13:03:04 -050016bootdir=/boot
Nishanth Menon7bf4f162024-02-20 12:39:52 -060017boot_targets=mmc1 mmc0
Nishanth Menon3c878c42023-08-25 13:03:04 -050018bootmeths=script extlinux efi pxe
19rd_spec=-
Mattijs Korpershoeke62e9462024-09-12 09:29:58 +020020
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 */
26partitions=
27 name=bootloader,start=5M,size=8M,uuid=${uuid_gpt_bootloader};
28partitions+=name=misc,start=13824K,size=512K,uuid=${uuid_gpt_misc};
29partitions+=name=frp,size=512K,uuid=${uuid_gpt_frp};
30partitions+=name=boot_a,size=40M,uuid=${uuid_gpt_boot_a};
31partitions+=name=boot_b,size=40M,uuid=${uuid_gpt_boot_b};
32partitions+=name=vendor_boot_a,size=32M,uuid=${uuid_gpt_vendor_boot_a};
33partitions+=name=vendor_boot_b,size=32M,uuid=${uuid_gpt_vendor_boot_b};
34partitions+=name=init_boot_a,size=8M,uuid=${uuid_gpt_init_boot_a};
35partitions+=name=init_boot_b,size=8M,uuid=${uuid_gpt_init_boot_b};
36partitions+=name=dtbo_a,size=8M,uuid=${uuid_gpt_dtbo_a};
37partitions+=name=dtbo_b,size=8M,uuid=${uuid_gpt_dtbo_b};
38partitions+=name=vbmeta_a,size=64K,uuid=${uuid_gpt_vbmeta_a};
39partitions+=name=vbmeta_b,size=64K,uuid=${uuid_gpt_vbmeta_b};
40partitions+=name=vbmeta_vendor_dlkm_a,size=64K,uuid=${uuid_gpt_vbmeta_vendor_dlkm_a};
41partitions+=name=vbmeta_vendor_dlkm_b,size=64K,uuid=${uuid_gpt_vbmeta_vendor_dlkm_b};
42partitions+=name=super,size=4608M,uuid=${uuid_gpt_super};
43partitions+=name=metadata,size=64M,uuid=${uuid_gpt_metadata};
44partitions+=name=persist,size=32M,uuid=${uuid_gpt_persist};
45partitions+=name=userdata,size=-,uuid=${uuid_gpt_userdata}
46fastboot_raw_partition_tiboot3="0x0 0x800 mmcpart 1"
47
48adtb_idx=2
49#endif