diff options
Diffstat (limited to 'meta-ti-bsp/conf/machine/include')
26 files changed, 366 insertions, 81 deletions
diff --git a/meta-ti-bsp/conf/machine/include/am62axx.inc b/meta-ti-bsp/conf/machine/include/am62axx.inc index 93a41d8d..e5f827a9 100644 --- a/meta-ti-bsp/conf/machine/include/am62axx.inc +++ b/meta-ti-bsp/conf/machine/include/am62axx.inc | |||
@@ -1,4 +1,6 @@ | |||
1 | require conf/machine/include/k3.inc | 1 | require conf/machine/include/k3.inc |
2 | require conf/machine/include/mc_k3r5.inc | ||
3 | |||
2 | SOC_FAMILY:append = ":am62axx" | 4 | SOC_FAMILY:append = ":am62axx" |
3 | 5 | ||
4 | MACHINE_FEATURES += "screen touchscreen" | 6 | MACHINE_FEATURES += "screen touchscreen" |
@@ -8,9 +10,6 @@ TFA_K3_SYSTEM_SUSPEND = "1" | |||
8 | # Default tiboot3.bin on AM62A is for HS-FS | 10 | # Default tiboot3.bin on AM62A is for HS-FS |
9 | IMAGE_BOOT_FILES += "tiboot3-am62ax-hs-fs-evm.bin" | 11 | IMAGE_BOOT_FILES += "tiboot3-am62ax-hs-fs-evm.bin" |
10 | 12 | ||
11 | # Since default tiboot3.bin on AM62A is for HS-FS, add a version for GP | ||
12 | IMAGE_BOOT_FILES += "tiboot3-am62ax-gp-evm.bin" | ||
13 | |||
14 | # Since default tiboot3.bin on AM62A is for HS-FS, add a version for HS-SE | 13 | # Since default tiboot3.bin on AM62A is for HS-FS, add a version for HS-SE |
15 | IMAGE_BOOT_FILES += "tiboot3-am62ax-hs-evm.bin" | 14 | IMAGE_BOOT_FILES += "tiboot3-am62ax-hs-evm.bin" |
16 | 15 | ||
diff --git a/meta-ti-bsp/conf/machine/include/am62dxx.inc b/meta-ti-bsp/conf/machine/include/am62dxx.inc new file mode 100644 index 00000000..ac4e8e17 --- /dev/null +++ b/meta-ti-bsp/conf/machine/include/am62dxx.inc | |||
@@ -0,0 +1,15 @@ | |||
1 | require conf/machine/include/k3.inc | ||
2 | require conf/machine/include/mc_k3r5.inc | ||
3 | |||
4 | SOC_FAMILY:append = ":am62dxx" | ||
5 | |||
6 | TFA_K3_SYSTEM_SUSPEND = "1" | ||
7 | |||
8 | # Default tiboot3.bin on AM62D is for HS-FS | ||
9 | IMAGE_BOOT_FILES += "tiboot3-am62dx-hs-fs-evm.bin" | ||
10 | |||
11 | # Since default tiboot3.bin on AM62D is for HS-FS, add a version for HS-SE | ||
12 | IMAGE_BOOT_FILES += "tiboot3-am62dx-hs-evm.bin" | ||
13 | |||
14 | TFA_BOARD = "lite" | ||
15 | OPTEEMACHINE = "k3-am62x" | ||
diff --git a/meta-ti-bsp/conf/machine/include/am62lxx.inc b/meta-ti-bsp/conf/machine/include/am62lxx.inc new file mode 100644 index 00000000..b4f0b8c9 --- /dev/null +++ b/meta-ti-bsp/conf/machine/include/am62lxx.inc | |||
@@ -0,0 +1,9 @@ | |||
1 | require conf/machine/include/k3.inc | ||
2 | SOC_FAMILY:append = ":am62lxx" | ||
3 | |||
4 | MACHINE_FEATURES += "screen" | ||
5 | |||
6 | TFA_BOARD = "am62l" | ||
7 | TFA_K3_SYSTEM_SUSPEND = "1" | ||
8 | |||
9 | OPTEEMACHINE = "k3-am62lx" | ||
diff --git a/meta-ti-bsp/conf/machine/include/am62pxx.inc b/meta-ti-bsp/conf/machine/include/am62pxx.inc index 38e35851..061d0e67 100644 --- a/meta-ti-bsp/conf/machine/include/am62pxx.inc +++ b/meta-ti-bsp/conf/machine/include/am62pxx.inc | |||
@@ -1,14 +1,19 @@ | |||
1 | require conf/machine/include/k3.inc | 1 | require conf/machine/include/k3.inc |
2 | require conf/machine/include/mc_k3r5.inc | ||
3 | |||
2 | SOC_FAMILY:append = ":am62pxx" | 4 | SOC_FAMILY:append = ":am62pxx" |
3 | 5 | ||
4 | MACHINE_FEATURES += "screen gpu" | 6 | MACHINE_FEATURES += "screen gpu" |
5 | 7 | ||
6 | require conf/machine/include/mesa-pvr.inc | 8 | require conf/machine/include/mesa-pvr.inc |
7 | PREFERRED_PROVIDER_virtual/gpudriver ?= "ti-img-rogue-driver" | 9 | PREFERRED_PROVIDER_virtual/gpudriver ?= "${BSP_ROGUE_DRIVER_PROVIDER}" |
8 | 10 | ||
9 | # Default tiboot3.bin on AM62Px is for HS-FS | 11 | # Default tiboot3.bin on AM62Px is for HS-FS |
10 | IMAGE_BOOT_FILES += "tiboot3-am62px-hs-fs-evm.bin" | 12 | IMAGE_BOOT_FILES += "tiboot3-am62px-hs-fs-evm.bin" |
11 | 13 | ||
14 | # Since default tiboot3.bin on AM62Px is for HS-FS, add a version for HS-SE | ||
15 | IMAGE_BOOT_FILES += "tiboot3-am62px-hs-evm.bin" | ||
16 | |||
12 | TFA_BOARD = "lite" | 17 | TFA_BOARD = "lite" |
13 | TFA_K3_SYSTEM_SUSPEND = "1" | 18 | TFA_K3_SYSTEM_SUSPEND = "1" |
14 | 19 | ||
diff --git a/meta-ti-bsp/conf/machine/include/am62xx.inc b/meta-ti-bsp/conf/machine/include/am62xx.inc index a0ec944f..1eb77b4e 100644 --- a/meta-ti-bsp/conf/machine/include/am62xx.inc +++ b/meta-ti-bsp/conf/machine/include/am62xx.inc | |||
@@ -1,10 +1,12 @@ | |||
1 | require conf/machine/include/k3.inc | 1 | require conf/machine/include/k3.inc |
2 | require conf/machine/include/mc_k3r5.inc | ||
3 | |||
2 | SOC_FAMILY:append = ":am62xx" | 4 | SOC_FAMILY:append = ":am62xx" |
3 | 5 | ||
4 | MACHINE_FEATURES += "screen gpu" | 6 | MACHINE_FEATURES += "screen gpu" |
5 | 7 | ||
6 | require conf/machine/include/mesa-pvr.inc | 8 | require conf/machine/include/mesa-pvr.inc |
7 | PREFERRED_PROVIDER_virtual/gpudriver ?= "ti-img-rogue-driver" | 9 | PREFERRED_PROVIDER_virtual/gpudriver ?= "${BSP_ROGUE_DRIVER_PROVIDER}" |
8 | 10 | ||
9 | # Default tiboot3.bin on AM62x is for HS-FS | 11 | # Default tiboot3.bin on AM62x is for HS-FS |
10 | IMAGE_BOOT_FILES += "tiboot3-am62x-hs-fs-evm.bin" | 12 | IMAGE_BOOT_FILES += "tiboot3-am62x-hs-fs-evm.bin" |
diff --git a/meta-ti-bsp/conf/machine/include/am64xx.inc b/meta-ti-bsp/conf/machine/include/am64xx.inc index cfade2fa..49e996c8 100644 --- a/meta-ti-bsp/conf/machine/include/am64xx.inc +++ b/meta-ti-bsp/conf/machine/include/am64xx.inc | |||
@@ -1,11 +1,23 @@ | |||
1 | require conf/machine/include/k3.inc | 1 | require conf/machine/include/k3.inc |
2 | require conf/machine/include/mc_k3r5.inc | ||
3 | |||
2 | SOC_FAMILY:append = ":am64xx" | 4 | SOC_FAMILY:append = ":am64xx" |
3 | 5 | ||
4 | KERNEL_DEVICETREE_PREFIX = "ti/k3-am642" | 6 | KERNEL_DEVICETREE_PREFIX = "ti/k3-am642" |
5 | 7 | ||
6 | KERNEL_DEVICETREE = " \ | 8 | KERNEL_DEVICETREE = " \ |
9 | ti/k3-am642-evm-icssg1-dualemac-mii.dtbo \ | ||
10 | ti/k3-am642-evm-icssg1-dualemac.dtbo \ | ||
11 | ti/k3-am642-evm-nand.dtbo \ | ||
7 | ti/k3-am642-evm.dtb \ | 12 | ti/k3-am642-evm.dtb \ |
13 | ti/k3-am642-hummingboard-t-pcie.dtbo \ | ||
14 | ti/k3-am642-hummingboard-t-usb3.dtbo \ | ||
15 | ti/k3-am642-hummingboard-t.dtb \ | ||
16 | ti/k3-am642-phyboard-electra-gpio-fan.dtbo \ | ||
17 | ti/k3-am642-phyboard-electra-pcie-usb2.dtbo \ | ||
18 | ti/k3-am642-phyboard-electra-rdk.dtb \ | ||
8 | ti/k3-am642-sk.dtb \ | 19 | ti/k3-am642-sk.dtb \ |
20 | ti/k3-am642-tqma64xxl-mbax4xxl.dtb \ | ||
9 | " | 21 | " |
10 | 22 | ||
11 | # Default tiboot3.bin on AM64x is for SR2.0 HS-FS | 23 | # Default tiboot3.bin on AM64x is for SR2.0 HS-FS |
diff --git a/meta-ti-bsp/conf/machine/include/am65xx.inc b/meta-ti-bsp/conf/machine/include/am65xx.inc index 80a7744a..99a3b12f 100644 --- a/meta-ti-bsp/conf/machine/include/am65xx.inc +++ b/meta-ti-bsp/conf/machine/include/am65xx.inc | |||
@@ -1,15 +1,28 @@ | |||
1 | require conf/machine/include/k3.inc | 1 | require conf/machine/include/k3.inc |
2 | require conf/machine/include/mc_k3r5.inc | ||
3 | |||
2 | SOC_FAMILY:append = ":am65xx" | 4 | SOC_FAMILY:append = ":am65xx" |
3 | 5 | ||
4 | MACHINE_FEATURES += "screen touchscreen gpu" | 6 | MACHINE_FEATURES += "screen touchscreen gpu" |
5 | 7 | ||
6 | require conf/machine/include/mesa-pvr.inc | 8 | require conf/machine/include/mesa-pvr.inc |
7 | PREFERRED_PROVIDER_virtual/gpudriver ?= "ti-sgx-ddk-km" | 9 | PREFERRED_PROVIDER_virtual/gpudriver ?= "${BSP_SGX_DRIVER_PROVIDER}" |
8 | 10 | ||
9 | KERNEL_DEVICETREE_PREFIX = "ti/k3-am654" | 11 | KERNEL_DEVICETREE_PREFIX = "ti/k3-am654" |
10 | 12 | ||
11 | KERNEL_DEVICETREE = " \ | 13 | KERNEL_DEVICETREE = " \ |
14 | ti/k3-am654-base-board-rocktech-rk101-panel.dtbo \ | ||
12 | ti/k3-am654-base-board.dtb \ | 15 | ti/k3-am654-base-board.dtb \ |
16 | ti/k3-am654-icssg2.dtbo \ | ||
17 | ti/k3-am654-idk.dtbo \ | ||
18 | ti/k3-am654-pcie-usb2.dtbo \ | ||
19 | ti/k3-am654-pcie-usb3.dtbo \ | ||
20 | ti/k3-am6548-iot2050-advanced-m2-bkey-ekey-pcie.dtbo \ | ||
21 | ti/k3-am6548-iot2050-advanced-m2-bkey-usb3.dtbo \ | ||
22 | ti/k3-am6548-iot2050-advanced-m2.dtb \ | ||
23 | ti/k3-am6548-iot2050-advanced-pg2.dtb \ | ||
24 | ti/k3-am6548-iot2050-advanced-sm.dtb \ | ||
25 | ti/k3-am6548-iot2050-advanced.dtb \ | ||
13 | " | 26 | " |
14 | 27 | ||
15 | IMAGE_BOOT_FILES += "sysfw.itb" | 28 | IMAGE_BOOT_FILES += "sysfw.itb" |
diff --git a/meta-ti-bsp/conf/machine/include/am68.inc b/meta-ti-bsp/conf/machine/include/am68.inc new file mode 100644 index 00000000..330a2973 --- /dev/null +++ b/meta-ti-bsp/conf/machine/include/am68.inc | |||
@@ -0,0 +1,21 @@ | |||
1 | require conf/machine/include/k3.inc | ||
2 | require conf/machine/include/mc_k3r5.inc | ||
3 | |||
4 | SOC_FAMILY:append = ":j721s2" | ||
5 | |||
6 | MACHINE_FEATURES += "screen gpu" | ||
7 | |||
8 | require conf/machine/include/mesa-pvr.inc | ||
9 | PREFERRED_PROVIDER_virtual/gpudriver ?= "${BSP_ROGUE_DRIVER_PROVIDER}" | ||
10 | |||
11 | # Default tiboot3.bin on AM68 is for SR1.0 HS-FS | ||
12 | IMAGE_BOOT_FILES += "tiboot3-j721s2-hs-fs-evm.bin" | ||
13 | |||
14 | # Since default tiboot3.bin on AM68 is for HS-FS, add a version for SR1.0 HS-SE | ||
15 | IMAGE_BOOT_FILES += "tiboot3-j721s2-hs-evm.bin" | ||
16 | |||
17 | TFA_BOARD = "generic" | ||
18 | |||
19 | OPTEEMACHINE = "k3-j784s4" | ||
20 | |||
21 | MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "cadence-mhdp-fw cnm-wave-fw" | ||
diff --git a/meta-ti-bsp/conf/machine/include/am69.inc b/meta-ti-bsp/conf/machine/include/am69.inc new file mode 100644 index 00000000..1a19410a --- /dev/null +++ b/meta-ti-bsp/conf/machine/include/am69.inc | |||
@@ -0,0 +1,21 @@ | |||
1 | require conf/machine/include/k3.inc | ||
2 | require conf/machine/include/mc_k3r5.inc | ||
3 | |||
4 | SOC_FAMILY:append = ":j784s4" | ||
5 | |||
6 | MACHINE_FEATURES += "screen gpu" | ||
7 | |||
8 | require conf/machine/include/mesa-pvr.inc | ||
9 | PREFERRED_PROVIDER_virtual/gpudriver ?= "${BSP_ROGUE_DRIVER_PROVIDER}" | ||
10 | |||
11 | # Default tiboot3.bin on AM69 is for SR1.0 HS-FS | ||
12 | IMAGE_BOOT_FILES += "tiboot3-j784s4-hs-fs-evm.bin" | ||
13 | |||
14 | # Since default tiboot3.bin on AM69 is for HS-FS, add a version for SR1.0 HS-SE | ||
15 | IMAGE_BOOT_FILES += "tiboot3-j784s4-hs-evm.bin" | ||
16 | |||
17 | TFA_BOARD = "j784s4" | ||
18 | |||
19 | OPTEEMACHINE = "k3-j784s4" | ||
20 | |||
21 | MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "cadence-mhdp-fw cnm-wave-fw ti-eth-fw-j784s4" | ||
diff --git a/meta-ti-bsp/conf/machine/include/beagle.inc b/meta-ti-bsp/conf/machine/include/beagle.inc deleted file mode 100644 index 27e3298d..00000000 --- a/meta-ti-bsp/conf/machine/include/beagle.inc +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | |||
2 | PREFERRED_PROVIDER_virtual/kernel ?= "linux-bb.org" | ||
3 | |||
diff --git a/meta-ti-bsp/conf/machine/include/j7200.inc b/meta-ti-bsp/conf/machine/include/j7200.inc index caa79876..3cba71b6 100644 --- a/meta-ti-bsp/conf/machine/include/j7200.inc +++ b/meta-ti-bsp/conf/machine/include/j7200.inc | |||
@@ -1,14 +1,20 @@ | |||
1 | require conf/machine/include/k3.inc | 1 | require conf/machine/include/k3.inc |
2 | require conf/machine/include/mc_k3r5.inc | ||
3 | |||
2 | SOC_FAMILY:append = ":j7200" | 4 | SOC_FAMILY:append = ":j7200" |
3 | 5 | ||
4 | # Default tiboot3.bin on J7200 is for GP | 6 | # Default tiboot3.bin on J7200 is for GP |
5 | IMAGE_BOOT_FILES += "tiboot3-j7200-gp-evm.bin" | 7 | IMAGE_BOOT_FILES += "tiboot3-j7200-gp-evm.bin" |
6 | 8 | ||
7 | # Since default tiboot3.bin on J7200 is for GP, add a version for SR1.0 HS-FS | 9 | # Since default tiboot3.bin on J7200 is for GP, add a version for SR1.0 HS-FS |
8 | IMAGE_BOOT_FILES += "tiboot3-j7200-hs-fs-evm.bin" | 10 | IMAGE_SR1_HS_FS_FILES = "tiboot3-j7200-hs-fs-evm.bin" |
11 | IMAGE_SR1_HS_FS_FILES:bsp-mainline = "" | ||
12 | IMAGE_BOOT_FILES += "${IMAGE_SR1_HS_FS_FILES}" | ||
9 | 13 | ||
10 | # Since default tiboot3.bin on J7200 is for GP, add a version for SR1.0 HS-SE | 14 | # Since default tiboot3.bin on J7200 is for GP, add a version for SR1.0 HS-SE |
11 | IMAGE_BOOT_FILES += "tiboot3-j7200-hs-evm.bin" | 15 | IMAGE_SR1_HS_SE_FILES = "tiboot3-j7200-hs-evm.bin" |
16 | IMAGE_SR1_HS_SE_FILES:bsp-mainline = "" | ||
17 | IMAGE_BOOT_FILES += "${IMAGE_SR1_HS_SE_FILES}" | ||
12 | 18 | ||
13 | # Since default tiboot3.bin on J7200 is for GP, add a version for SR2.0 HS-FS | 19 | # Since default tiboot3.bin on J7200 is for GP, add a version for SR2.0 HS-FS |
14 | IMAGE_BOOT_FILES += "tiboot3-j7200_sr2-hs-fs-evm.bin" | 20 | IMAGE_BOOT_FILES += "tiboot3-j7200_sr2-hs-fs-evm.bin" |
@@ -20,4 +26,4 @@ TFA_BOARD = "generic" | |||
20 | 26 | ||
21 | OPTEEMACHINE = "k3-j721e" | 27 | OPTEEMACHINE = "k3-j721e" |
22 | 28 | ||
23 | MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "ti-eth-fw" | 29 | MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "ti-eth-fw-j7200" |
diff --git a/meta-ti-bsp/conf/machine/include/j721e.inc b/meta-ti-bsp/conf/machine/include/j721e.inc index 6040feb0..30aa2a69 100644 --- a/meta-ti-bsp/conf/machine/include/j721e.inc +++ b/meta-ti-bsp/conf/machine/include/j721e.inc | |||
@@ -1,10 +1,12 @@ | |||
1 | require conf/machine/include/k3.inc | 1 | require conf/machine/include/k3.inc |
2 | require conf/machine/include/mc_k3r5.inc | ||
3 | |||
2 | SOC_FAMILY:append = ":j721e" | 4 | SOC_FAMILY:append = ":j721e" |
3 | 5 | ||
4 | MACHINE_FEATURES += "screen gpu" | 6 | MACHINE_FEATURES += "screen gpu" |
5 | 7 | ||
6 | require conf/machine/include/mesa-pvr.inc | 8 | require conf/machine/include/mesa-pvr.inc |
7 | PREFERRED_PROVIDER_virtual/gpudriver ?= "ti-img-rogue-driver" | 9 | PREFERRED_PROVIDER_virtual/gpudriver ?= "${BSP_ROGUE_DRIVER_PROVIDER}" |
8 | 10 | ||
9 | IMAGE_BOOT_FILES += "sysfw.itb" | 11 | IMAGE_BOOT_FILES += "sysfw.itb" |
10 | 12 | ||
@@ -13,23 +15,29 @@ IMAGE_BOOT_FILES += "tiboot3-j721e-gp-evm.bin" | |||
13 | IMAGE_BOOT_FILES += "sysfw-j721e-gp-evm.itb" | 15 | IMAGE_BOOT_FILES += "sysfw-j721e-gp-evm.itb" |
14 | 16 | ||
15 | # Since default on J721e is for GP, add a version for SR1.1 HS-FS | 17 | # Since default on J721e is for GP, add a version for SR1.1 HS-FS |
16 | IMAGE_BOOT_FILES += "tiboot3-j721e_sr1_1-hs-fs-evm.bin" | 18 | IMAGE_SR1_1_HS_FS_FILES = "tiboot3-j721e_sr1_1-hs-fs-evm.bin sysfw-j721e_sr1_1-hs-fs-evm.itb" |
17 | IMAGE_BOOT_FILES += "sysfw-j721e_sr1_1-hs-fs-evm.itb" | 19 | IMAGE_SR1_1_HS_FS_FILES:bsp-mainline = "" |
20 | IMAGE_BOOT_FILES += "${IMAGE_SR1_1_HS_FS_FILES}" | ||
18 | 21 | ||
19 | # Since default on J721e is for GP, add a version for SR1.1 HS-SE | 22 | # Since default on J721e is for GP, add a version for SR1.1 HS-SE |
20 | IMAGE_BOOT_FILES += "tiboot3-j721e_sr1_1-hs-evm.bin" | 23 | IMAGE_SR1_1_HS_SE_FILES = "tiboot3-j721e_sr1_1-hs-evm.bin sysfw-j721e_sr1_1-hs-evm.itb" |
21 | IMAGE_BOOT_FILES += "sysfw-j721e_sr1_1-hs-evm.itb" | 24 | IMAGE_BOOT_FILES += "${IMAGE_SR1_1_HS_SE_FILES}" |
22 | 25 | ||
23 | # Since default on J721e is for GP, add a version for SR2.0 HS-FS | 26 | # Since default on J721e is for GP, add a version for SR2.0 HS-FS |
24 | IMAGE_BOOT_FILES += "tiboot3-j721e_sr2-hs-fs-evm.bin" | 27 | IMAGE_SR2_HS_FS_FILES = "tiboot3-j721e_sr2-hs-fs-evm.bin sysfw-j721e_sr2-hs-fs-evm.itb" |
25 | IMAGE_BOOT_FILES += "sysfw-j721e_sr2-hs-fs-evm.itb" | 28 | IMAGE_BOOT_FILES += "${IMAGE_SR2_HS_FS_FILES}" |
26 | 29 | ||
27 | # Since default on J721e is for GP, add a version for SR2.0 HS-SE | 30 | # Since default on J721e is for GP, add a version for SR2.0 HS-SE |
28 | IMAGE_BOOT_FILES += "tiboot3-j721e_sr2-hs-evm.bin" | 31 | IMAGE_SR2_HS_SE_FILES = "tiboot3-j721e_sr2-hs-evm.bin sysfw-j721e_sr2-hs-evm.itb" |
29 | IMAGE_BOOT_FILES += "sysfw-j721e_sr2-hs-evm.itb" | 32 | IMAGE_SR2_HS_SE_FILES:bsp-mainline = "" |
33 | IMAGE_BOOT_FILES += "${IMAGE_SR2_HS_SE_FILES}" | ||
30 | 34 | ||
31 | TFA_BOARD = "generic" | 35 | TFA_BOARD = "generic" |
32 | 36 | ||
33 | OPTEEMACHINE = "k3-j721e" | 37 | OPTEEMACHINE = "k3-j721e" |
34 | 38 | ||
35 | MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "cadence-mhdp-fw vxd-dec-fw ti-eth-fw" | 39 | TI_VXE_VXD_DRIVER = "ti-vxe-vxd-driver" |
40 | TI_VXE_VXD_DRIVER:bsp-ti-6_6 = "" | ||
41 | TI_VXE_VXD_DRIVER:bsp-ti-6_1 = "" | ||
42 | |||
43 | MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "cadence-mhdp-fw vxd-dec-fw ti-eth-fw-j721e ${TI_VXE_VXD_DRIVER}" | ||
diff --git a/meta-ti-bsp/conf/machine/include/j721s2.inc b/meta-ti-bsp/conf/machine/include/j721s2.inc index 5289ec5a..e6e4f162 100644 --- a/meta-ti-bsp/conf/machine/include/j721s2.inc +++ b/meta-ti-bsp/conf/machine/include/j721s2.inc | |||
@@ -1,10 +1,12 @@ | |||
1 | require conf/machine/include/k3.inc | 1 | require conf/machine/include/k3.inc |
2 | require conf/machine/include/mc_k3r5.inc | ||
3 | |||
2 | SOC_FAMILY:append = ":j721s2" | 4 | SOC_FAMILY:append = ":j721s2" |
3 | 5 | ||
4 | MACHINE_FEATURES += "screen gpu" | 6 | MACHINE_FEATURES += "screen gpu" |
5 | 7 | ||
6 | require conf/machine/include/mesa-pvr.inc | 8 | require conf/machine/include/mesa-pvr.inc |
7 | PREFERRED_PROVIDER_virtual/gpudriver ?= "ti-img-rogue-driver" | 9 | PREFERRED_PROVIDER_virtual/gpudriver ?= "${BSP_ROGUE_DRIVER_PROVIDER}" |
8 | 10 | ||
9 | # Default tiboot3.bin on J721S2 is for GP | 11 | # Default tiboot3.bin on J721S2 is for GP |
10 | IMAGE_BOOT_FILES += "tiboot3-j721s2-gp-evm.bin" | 12 | IMAGE_BOOT_FILES += "tiboot3-j721s2-gp-evm.bin" |
diff --git a/meta-ti-bsp/conf/machine/include/j722s.inc b/meta-ti-bsp/conf/machine/include/j722s.inc index 3b051f1b..e0b77d96 100644 --- a/meta-ti-bsp/conf/machine/include/j722s.inc +++ b/meta-ti-bsp/conf/machine/include/j722s.inc | |||
@@ -1,16 +1,21 @@ | |||
1 | require conf/machine/include/k3.inc | 1 | require conf/machine/include/k3.inc |
2 | require conf/machine/include/mc_k3r5.inc | ||
3 | |||
2 | SOC_FAMILY:append = ":j722s" | 4 | SOC_FAMILY:append = ":j722s" |
3 | 5 | ||
4 | MACHINE_FEATURES += "screen gpu" | 6 | MACHINE_FEATURES += "screen gpu" |
5 | 7 | ||
6 | require conf/machine/include/mesa-pvr.inc | 8 | require conf/machine/include/mesa-pvr.inc |
7 | PREFERRED_PROVIDER_virtual/gpudriver ?= "ti-img-rogue-driver" | 9 | PREFERRED_PROVIDER_virtual/gpudriver ?= "${BSP_ROGUE_DRIVER_PROVIDER}" |
8 | 10 | ||
9 | # Default tiboot3.bin on J722S is for HS-FS | 11 | # Default tiboot3.bin on J722S is for HS-FS |
10 | IMAGE_BOOT_FILES += "tiboot3-j722s-hs-fs-evm.bin" | 12 | IMAGE_BOOT_FILES += "tiboot3-j722s-hs-fs-evm.bin" |
11 | 13 | ||
12 | # Since default tiboot3.bin on J722S is for HS-FS, add a version for HS-SE | 14 | # Since default tiboot3.bin on J722S is for HS-FS, add a version for HS-SE |
13 | IMAGE_BOOT_FILES += "tiboot3-j722s-hs-evm.bin" | 15 | IMAGE_SR1_HS_SE_FILES = "tiboot3-j722s-hs-evm.bin" |
16 | IMAGE_SR1_HS_SE_FILES:bsp-mainline = "" | ||
17 | IMAGE_SR1_HS_SE_FILES:bsp-next = "" | ||
18 | IMAGE_BOOT_FILES += "${IMAGE_SR1_HS_SE_FILES}" | ||
14 | 19 | ||
15 | TFA_BOARD = "lite" | 20 | TFA_BOARD = "lite" |
16 | TFA_K3_SYSTEM_SUSPEND = "1" | 21 | TFA_K3_SYSTEM_SUSPEND = "1" |
diff --git a/meta-ti-bsp/conf/machine/include/j742s2.inc b/meta-ti-bsp/conf/machine/include/j742s2.inc new file mode 100644 index 00000000..9a54e11e --- /dev/null +++ b/meta-ti-bsp/conf/machine/include/j742s2.inc | |||
@@ -0,0 +1,21 @@ | |||
1 | require conf/machine/include/k3.inc | ||
2 | require conf/machine/include/mc_k3r5.inc | ||
3 | |||
4 | SOC_FAMILY:append = ":j742s2" | ||
5 | |||
6 | MACHINE_FEATURES += "screen gpu" | ||
7 | |||
8 | require conf/machine/include/mesa-pvr.inc | ||
9 | PREFERRED_PROVIDER_virtual/gpudriver ?= "${BSP_ROGUE_DRIVER_PROVIDER}" | ||
10 | |||
11 | # Default tiboot3.bin on J742S2 is for HS-FS | ||
12 | IMAGE_BOOT_FILES += "tiboot3-j742s2-hs-fs-evm.bin" | ||
13 | |||
14 | # Since default tiboot3.bin on J742S2 is for HS-FS, add a version for SR1.0 HS-SE | ||
15 | IMAGE_BOOT_FILES += "tiboot3-j742s2-hs-evm.bin" | ||
16 | |||
17 | TFA_BOARD = "j784s4" | ||
18 | |||
19 | OPTEEMACHINE = "k3-j784s4" | ||
20 | |||
21 | MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "cadence-mhdp-fw cnm-wave-fw" | ||
diff --git a/meta-ti-bsp/conf/machine/include/j784s4.inc b/meta-ti-bsp/conf/machine/include/j784s4.inc index 92062cdf..33224ee3 100644 --- a/meta-ti-bsp/conf/machine/include/j784s4.inc +++ b/meta-ti-bsp/conf/machine/include/j784s4.inc | |||
@@ -1,10 +1,12 @@ | |||
1 | require conf/machine/include/k3.inc | 1 | require conf/machine/include/k3.inc |
2 | require conf/machine/include/mc_k3r5.inc | ||
3 | |||
2 | SOC_FAMILY:append = ":j784s4" | 4 | SOC_FAMILY:append = ":j784s4" |
3 | 5 | ||
4 | MACHINE_FEATURES += "screen gpu" | 6 | MACHINE_FEATURES += "screen gpu" |
5 | 7 | ||
6 | require conf/machine/include/mesa-pvr.inc | 8 | require conf/machine/include/mesa-pvr.inc |
7 | PREFERRED_PROVIDER_virtual/gpudriver ?= "ti-img-rogue-driver" | 9 | PREFERRED_PROVIDER_virtual/gpudriver ?= "${BSP_ROGUE_DRIVER_PROVIDER}" |
8 | 10 | ||
9 | # Default tiboot3.bin on J784S4 is for GP | 11 | # Default tiboot3.bin on J784S4 is for GP |
10 | IMAGE_BOOT_FILES += "tiboot3-j784s4-gp-evm.bin" | 12 | IMAGE_BOOT_FILES += "tiboot3-j784s4-gp-evm.bin" |
@@ -19,4 +21,4 @@ TFA_BOARD = "j784s4" | |||
19 | 21 | ||
20 | OPTEEMACHINE = "k3-j784s4" | 22 | OPTEEMACHINE = "k3-j784s4" |
21 | 23 | ||
22 | MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "cadence-mhdp-fw cnm-wave-fw ti-eth-fw" | 24 | MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "cadence-mhdp-fw cnm-wave-fw ti-eth-fw-j784s4" |
diff --git a/meta-ti-bsp/conf/machine/include/k3.inc b/meta-ti-bsp/conf/machine/include/k3.inc index e3da9e12..ec9a8944 100644 --- a/meta-ti-bsp/conf/machine/include/k3.inc +++ b/meta-ti-bsp/conf/machine/include/k3.inc | |||
@@ -3,20 +3,14 @@ | |||
3 | require conf/machine/include/ti-soc.inc | 3 | require conf/machine/include/ti-soc.inc |
4 | SOC_FAMILY:append = ":k3" | 4 | SOC_FAMILY:append = ":k3" |
5 | 5 | ||
6 | require conf/machine/include/arm/arch-arm64.inc | 6 | DEFAULTTUNE ?= "aarch64" |
7 | require conf/machine/include/arm/armv8a/tune-cortexa72-cortexa53.inc | ||
7 | 8 | ||
8 | BBMULTICONFIG += "k3r5" | 9 | require conf/machine/include/ti-bsp.inc |
9 | |||
10 | # Increase this everytime you change something in the kernel | ||
11 | MACHINE_KERNEL_PR = "r0" | ||
12 | |||
13 | PREFERRED_PROVIDER_virtual/kernel ?= "linux-ti-staging" | ||
14 | PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot-ti-staging" | ||
15 | PREFERRED_PROVIDER_u-boot ?= "u-boot-ti-staging" | ||
16 | 10 | ||
17 | KERNEL_IMAGETYPE = "Image" | 11 | KERNEL_IMAGETYPE = "Image" |
18 | KERNEL_IMAGETYPES = "Image fitImage" | 12 | KERNEL_IMAGETYPES = "Image fitImage" |
19 | KERNEL_CLASSES += "kernel-fitimage" | 13 | KERNEL_CLASSES += "kernel-fitimage-deprecated" |
20 | 14 | ||
21 | UBOOT_ARCH = "arm" | 15 | UBOOT_ARCH = "arm" |
22 | UBOOT_ENTRYPOINT = "0x81000000" | 16 | UBOOT_ENTRYPOINT = "0x81000000" |
@@ -31,10 +25,6 @@ SPL_BINARY = "tispl.bin" | |||
31 | SPL_BINARYNAME = "tispl.bin" | 25 | SPL_BINARYNAME = "tispl.bin" |
32 | UBOOT_SUFFIX = "img" | 26 | UBOOT_SUFFIX = "img" |
33 | 27 | ||
34 | UBOOT_SIGN_ENABLE = "1" | ||
35 | UBOOT_MKIMAGE_DTCOPTS = "-I dts -O dtb" | ||
36 | UBOOT_SIGN_KEYNAME ?= "custMpk" | ||
37 | UBOOT_SIGN_KEYDIR ?= "${TI_SECURE_DEV_PKG}/keys" | ||
38 | FIT_HASH_ALG ?= "sha512" | 28 | FIT_HASH_ALG ?= "sha512" |
39 | FIT_SIGN_ALG ?= "rsa4096" | 29 | FIT_SIGN_ALG ?= "rsa4096" |
40 | 30 | ||
@@ -49,7 +39,7 @@ TFA_PLATFORM = "k3" | |||
49 | UBI_VOLNAME = "rootfs" | 39 | UBI_VOLNAME = "rootfs" |
50 | 40 | ||
51 | # List common SoC features, may need to add touchscreen for specific machines | 41 | # List common SoC features, may need to add touchscreen for specific machines |
52 | MACHINE_FEATURES = "apm usbgadget usbhost vfat ext2 alsa pci" | 42 | MACHINE_FEATURES = "apm usbgadget usbhost vfat ext2 alsa pci optee-ftpm" |
53 | 43 | ||
54 | IMAGE_FSTYPES += "tar.xz wic.xz wic.bmap" | 44 | IMAGE_FSTYPES += "tar.xz wic.xz wic.bmap" |
55 | 45 | ||
@@ -62,6 +52,10 @@ MACHINE_FEATURES += "efi" | |||
62 | WKS_FILE ?= "${@bb.utils.contains("MACHINE_FEATURES", "efi", "sdimage-2part-efi.wks.in", "sdimage-2part.wks", d)}" | 52 | WKS_FILE ?= "${@bb.utils.contains("MACHINE_FEATURES", "efi", "sdimage-2part-efi.wks.in", "sdimage-2part.wks", d)}" |
63 | 53 | ||
64 | do_image_wic[depends] += "virtual/bootloader:do_deploy" | 54 | do_image_wic[depends] += "virtual/bootloader:do_deploy" |
65 | do_image[mcdepends] += "mc::k3r5:virtual/bootloader:do_deploy" | ||
66 | 55 | ||
67 | SERIAL_CONSOLES = "115200;ttyS0 115200;ttyS2" | 56 | SERIAL_CONSOLES = "115200;ttyS0 115200;ttyS2" |
57 | |||
58 | FALCON_INCLUDE = "" | ||
59 | FALCON_INCLUDE:ti-falcon = "conf/machine/include/ti-falcon.inc" | ||
60 | |||
61 | require ${FALCON_INCLUDE} | ||
diff --git a/meta-ti-bsp/conf/machine/include/k3r5.inc b/meta-ti-bsp/conf/machine/include/k3r5.inc index 63267a5e..fcd54254 100644 --- a/meta-ti-bsp/conf/machine/include/k3r5.inc +++ b/meta-ti-bsp/conf/machine/include/k3r5.inc | |||
@@ -11,9 +11,9 @@ require conf/machine/include/arm/armv7a/tune-cortexa8.inc | |||
11 | # https://git.ti.com/cgit/ti-u-boot/ti-u-boot/tree/doc/board/ti/j721e_evm.rst | 11 | # https://git.ti.com/cgit/ti-u-boot/ti-u-boot/tree/doc/board/ti/j721e_evm.rst |
12 | # https://git.ti.com/cgit/ti-u-boot/ti-u-boot/tree/doc/board/ti/am62x_sk.rst | 12 | # https://git.ti.com/cgit/ti-u-boot/ti-u-boot/tree/doc/board/ti/am62x_sk.rst |
13 | # https://git.ti.com/cgit/ti-u-boot/ti-u-boot/tree/doc/board/ti/k3.rst | 13 | # https://git.ti.com/cgit/ti-u-boot/ti-u-boot/tree/doc/board/ti/k3.rst |
14 | |||
15 | require conf/machine/include/ti-bsp.inc | ||
14 | PREFERRED_PROVIDER_virtual/kernel = "linux-dummy" | 16 | PREFERRED_PROVIDER_virtual/kernel = "linux-dummy" |
15 | PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot-ti-staging" | ||
16 | PREFERRED_PROVIDER_u-boot ?= "u-boot-ti-staging" | ||
17 | 17 | ||
18 | SPL_SUFFIX = "bin" | 18 | SPL_SUFFIX = "bin" |
19 | SPL_BINARY = "tiboot3-${SYSFW_SOC}-${SYSFW_SUFFIX}-${SYSFW_CONFIG}.${SPL_SUFFIX}" | 19 | SPL_BINARY = "tiboot3-${SYSFW_SOC}-${SYSFW_SUFFIX}-${SYSFW_CONFIG}.${SPL_SUFFIX}" |
diff --git a/meta-ti-bsp/conf/machine/include/mc_k3r5.inc b/meta-ti-bsp/conf/machine/include/mc_k3r5.inc new file mode 100644 index 00000000..d5a530b8 --- /dev/null +++ b/meta-ti-bsp/conf/machine/include/mc_k3r5.inc | |||
@@ -0,0 +1,3 @@ | |||
1 | BBMULTICONFIG += "k3r5" | ||
2 | |||
3 | do_image[mcdepends] += "mc::k3r5:virtual/bootloader:do_deploy" | ||
diff --git a/meta-ti-bsp/conf/machine/include/omap-a15.inc b/meta-ti-bsp/conf/machine/include/omap-a15.inc index a875713f..a258decd 100644 --- a/meta-ti-bsp/conf/machine/include/omap-a15.inc +++ b/meta-ti-bsp/conf/machine/include/omap-a15.inc | |||
@@ -4,16 +4,11 @@ SOC_FAMILY:append = ":omap-a15" | |||
4 | DEFAULTTUNE ?= "armv7athf-neon" | 4 | DEFAULTTUNE ?= "armv7athf-neon" |
5 | require conf/machine/include/arm/armv7a/tune-cortexa15.inc | 5 | require conf/machine/include/arm/armv7a/tune-cortexa15.inc |
6 | 6 | ||
7 | # Increase this everytime you change something in the kernel | 7 | require conf/machine/include/ti-bsp.inc |
8 | MACHINE_KERNEL_PR = "r7" | ||
9 | |||
10 | PREFERRED_PROVIDER_virtual/kernel ?= "linux-ti-staging" | ||
11 | PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot-ti-staging" | ||
12 | PREFERRED_PROVIDER_u-boot ?= "u-boot-ti-staging" | ||
13 | 8 | ||
14 | # Graphics providers and variables | 9 | # Graphics providers and variables |
15 | require conf/machine/include/mesa-pvr.inc | 10 | require conf/machine/include/mesa-pvr.inc |
16 | PREFERRED_PROVIDER_virtual/gpudriver ?= "ti-sgx-ddk-km" | 11 | PREFERRED_PROVIDER_virtual/gpudriver ?= "${BSP_SGX_DRIVER_PROVIDER}" |
17 | PVR_DISPLAY_CONTROLLER_ALIAS ?= "omapdrm" | 12 | PVR_DISPLAY_CONTROLLER_ALIAS ?= "omapdrm" |
18 | 13 | ||
19 | KERNEL_IMAGETYPE = "zImage" | 14 | KERNEL_IMAGETYPE = "zImage" |
@@ -53,5 +48,6 @@ MACHINE_FEATURES = "apm usbgadget usbhost vfat ext2 screen alsa gpu mmip dsp gc3 | |||
53 | 48 | ||
54 | IMAGE_FSTYPES += "tar.xz wic.xz wic.bmap" | 49 | IMAGE_FSTYPES += "tar.xz wic.xz wic.bmap" |
55 | WKS_FILE ?= "sdimage-2part.wks" | 50 | WKS_FILE ?= "sdimage-2part.wks" |
56 | IMAGE_BOOT_FILES ?= "${SPL_BINARY} u-boot.${UBOOT_SUFFIX} ${UBOOT_EXTLINUX_BOOT_FILES}" | 51 | IMAGE_BOOT_FILES ?= "${SPL_BINARY} u-boot.${UBOOT_SUFFIX} ${UBOOT_EXTLINUX_BOOT_FILES} ipc/dra7-ipu1-fw.xem4;dra7-ipu1-fw.xem4" |
57 | do_image_wic[depends] += "virtual/bootloader:do_deploy" | 52 | do_image_wic[depends] += "virtual/bootloader:do_deploy" |
53 | do_image_wic[depends] += "ti-ipc-rtos:do_deploy" | ||
diff --git a/meta-ti-bsp/conf/machine/include/omapl138.inc b/meta-ti-bsp/conf/machine/include/omapl138.inc index 7f8262a5..486de05d 100644 --- a/meta-ti-bsp/conf/machine/include/omapl138.inc +++ b/meta-ti-bsp/conf/machine/include/omapl138.inc | |||
@@ -5,9 +5,7 @@ require conf/machine/include/arm/armv5/tune-arm926ejs.inc | |||
5 | 5 | ||
6 | KERNEL_IMAGETYPE = "zImage" | 6 | KERNEL_IMAGETYPE = "zImage" |
7 | 7 | ||
8 | PREFERRED_PROVIDER_virtual/kernel ?= "linux-ti-staging" | 8 | require conf/machine/include/ti-bsp.inc |
9 | PREFERRED_PROVIDER_virtual/bootloader = "u-boot-ti-staging" | ||
10 | PREFERRED_PROVIDER_u-boot = "u-boot-ti-staging" | ||
11 | 9 | ||
12 | EXTRA_IMAGEDEPENDS += "virtual/bootloader" | 10 | EXTRA_IMAGEDEPENDS += "virtual/bootloader" |
13 | 11 | ||
diff --git a/meta-ti-bsp/conf/machine/include/ti-bsp.inc b/meta-ti-bsp/conf/machine/include/ti-bsp.inc new file mode 100644 index 00000000..ce8efecd --- /dev/null +++ b/meta-ti-bsp/conf/machine/include/ti-bsp.inc | |||
@@ -0,0 +1,135 @@ | |||
1 | # Support multiple BSP providers | ||
2 | # The main input is TI_PREFERRED_BSP, which translates into default | ||
3 | # preferences for kernel, bootloader and graphics components, as | ||
4 | # well as a dedicated machine override. | ||
5 | |||
6 | # Supported options are: mainline, next, ti-6_12, ti-6_6, ti-6_1 | ||
7 | TI_PREFERRED_BSP ??= "ti-6_12" | ||
8 | |||
9 | # Use bsp-* namespace for overrides | ||
10 | MACHINEOVERRIDES =. "bsp-${TI_PREFERRED_BSP}:" | ||
11 | |||
12 | # ========== | ||
13 | # mainline | ||
14 | # latest upstream/mainline kernel, u-boot | ||
15 | # ========== | ||
16 | BSP_KERNEL_PROVIDER:bsp-mainline = "linux-ti-mainline" | ||
17 | BSP_KERNEL_VERSION:bsp-mainline = "%" | ||
18 | BSP_BOOTLOADER_PROVIDER:bsp-mainline = "u-boot-ti-mainline" | ||
19 | BSP_BOOTLOADER_VERSION:bsp-mainline = "%" | ||
20 | |||
21 | # GPU support requires out-of-tree SGX and Rogue drivers not available | ||
22 | # in mainline, usually present in TI staging or derivative like BB.org | ||
23 | MACHINE_FEATURES:remove:bsp-mainline = "gpu" | ||
24 | |||
25 | # GC320 support requires out-of-tree drivers not available in mainline | ||
26 | MACHINE_FEATURES:remove:bsp-mainline = "gc320" | ||
27 | |||
28 | # ========== | ||
29 | # next | ||
30 | # upcoming upstream/mainline kernel, u-boot | ||
31 | # ========== | ||
32 | BSP_KERNEL_PROVIDER:bsp-next = "linux-ti-next" | ||
33 | BSP_KERNEL_VERSION:bsp-next = "%" | ||
34 | BSP_BOOTLOADER_PROVIDER:bsp-next = "u-boot-ti-next" | ||
35 | BSP_BOOTLOADER_VERSION:bsp-next = "%" | ||
36 | |||
37 | # GPU support requires out-of-tree SGX and Rogue drivers not available | ||
38 | # in next, usually present in TI staging or derivative like BB.org | ||
39 | MACHINE_FEATURES:remove:bsp-next = "gpu" | ||
40 | |||
41 | # GC320 support requires out-of-tree drivers not yet available in next | ||
42 | MACHINE_FEATURES:remove:bsp-next = "gc320" | ||
43 | |||
44 | # ========== | ||
45 | # ti-6_12 | ||
46 | # TI staging kernel 6.12, u-boot 2025.01 | ||
47 | # ========== | ||
48 | BSP_KERNEL_PROVIDER:bsp-ti-6_12 = "linux-ti-staging" | ||
49 | BSP_KERNEL_VERSION:bsp-ti-6_12 = "6.12%" | ||
50 | BSP_BOOTLOADER_PROVIDER:bsp-ti-6_12 = "u-boot-ti-staging" | ||
51 | BSP_BOOTLOADER_VERSION:bsp-ti-6_12 = "2025.01%" | ||
52 | |||
53 | BSP_SGX_DRIVER_PROVIDER:bsp-ti-6_12 = "ti-sgx-ddk-km" | ||
54 | BSP_SGX_DRIVER_VERSION:bsp-ti-6_12 = "1.17%" | ||
55 | BSP_SGX_UMLIBS_VERSION:bsp-ti-6_12 = "1.17%" | ||
56 | BSP_ROGUE_DRIVER_PROVIDER:bsp-ti-6_12 = "ti-img-rogue-driver" | ||
57 | BSP_ROGUE_DRIVER_VERSION:bsp-ti-6_12 = "24%" | ||
58 | BSP_ROGUE_UMLIBS_VERSION:bsp-ti-6_12 = "24%" | ||
59 | BSP_MESA_PVR_VERSION:bsp-ti-6_12 = "24%" | ||
60 | |||
61 | # ========== | ||
62 | # ti-6_6 | ||
63 | # TI staging kernel 6.6, u-boot 2024.04 | ||
64 | # ========== | ||
65 | BSP_KERNEL_PROVIDER:bsp-ti-6_6 = "linux-ti-staging" | ||
66 | BSP_KERNEL_VERSION:bsp-ti-6_6 = "6.6.%" | ||
67 | BSP_BOOTLOADER_PROVIDER:bsp-ti-6_6 = "u-boot-ti-staging" | ||
68 | BSP_BOOTLOADER_VERSION:bsp-ti-6_6 = "2024.04%" | ||
69 | |||
70 | BSP_SGX_DRIVER_PROVIDER:bsp-ti-6_6 = "ti-sgx-ddk-km" | ||
71 | BSP_SGX_DRIVER_VERSION:bsp-ti-6_6 = "1.17%" | ||
72 | BSP_SGX_UMLIBS_VERSION:bsp-ti-6_6 = "1.17%" | ||
73 | BSP_ROGUE_DRIVER_PROVIDER:bsp-ti-6_6 = "ti-img-rogue-driver" | ||
74 | BSP_ROGUE_DRIVER_VERSION:bsp-ti-6_6 = "24%" | ||
75 | BSP_ROGUE_UMLIBS_VERSION:bsp-ti-6_6 = "24%" | ||
76 | BSP_MESA_PVR_VERSION:bsp-ti-6_6 = "24%" | ||
77 | |||
78 | # GC320 support requires out-of-tree drivers not yet available in 6.6 | ||
79 | MACHINE_FEATURES:remove:bsp-ti-6_6 = "gc320" | ||
80 | |||
81 | # ========== | ||
82 | # ti-6_1 | ||
83 | # TI staging kernel 6.1, u-boot 2023.04 | ||
84 | # ========== | ||
85 | BSP_KERNEL_PROVIDER:bsp-ti-6_1 = "linux-ti-staging" | ||
86 | BSP_KERNEL_VERSION:bsp-ti-6_1 = "6.1.%" | ||
87 | BSP_BOOTLOADER_PROVIDER:bsp-ti-6_1 = "u-boot-ti-staging" | ||
88 | BSP_BOOTLOADER_VERSION:bsp-ti-6_1 = "2023.04%" | ||
89 | |||
90 | BSP_SGX_DRIVER_PROVIDER:bsp-ti-6_1 = "ti-sgx-ddk-km" | ||
91 | BSP_SGX_DRIVER_VERSION:bsp-ti-6_1 = "1.17%" | ||
92 | BSP_SGX_UMLIBS_VERSION:bsp-ti-6_1 = "1.17%" | ||
93 | BSP_ROGUE_DRIVER_PROVIDER:bsp-ti-6_1 = "ti-img-rogue-driver" | ||
94 | BSP_ROGUE_DRIVER_VERSION:bsp-ti-6_1 = "23%" | ||
95 | BSP_ROGUE_UMLIBS_VERSION:bsp-ti-6_1 = "23%" | ||
96 | BSP_MESA_PVR_VERSION:bsp-ti-6_1 = "22%" | ||
97 | |||
98 | # GC320 support requires out-of-tree drivers not yet available in 6.1 | ||
99 | MACHINE_FEATURES:remove:bsp-ti-6_1 = "gc320" | ||
100 | |||
101 | # ========== | ||
102 | # sane fallback defaults | ||
103 | # if specific values are not defined or bsp is set incorrectly | ||
104 | # use default preference TI staging and SW-rendering graphics | ||
105 | # ========== | ||
106 | BSP_KERNEL_PROVIDER ?= "linux-ti-staging" | ||
107 | BSP_KERNEL_VERSION ?= "%" | ||
108 | BSP_BOOTLOADER_PROVIDER ?= "u-boot-ti-staging" | ||
109 | BSP_BOOTLOADER_VERSION ?= "%" | ||
110 | |||
111 | BSP_SGX_DRIVER_PROVIDER ?= "" | ||
112 | BSP_SGX_DRIVER_VERSION ?= "" | ||
113 | BSP_ROGUE_DRIVER_PROVIDER ?= "" | ||
114 | BSP_ROGUE_DRIVER_VERSION ?= "" | ||
115 | BSP_SGX_UMLIBS_VERSION ?= "" | ||
116 | BSP_ROGUE_UMLIBS_VERSION ?= "" | ||
117 | BSP_MESA_PVR_VERSION ?= "" | ||
118 | |||
119 | # ========== | ||
120 | # global preferences | ||
121 | # ========== | ||
122 | PREFERRED_PROVIDER_virtual/kernel ?= "${BSP_KERNEL_PROVIDER}" | ||
123 | PREFERRED_VERSION_${BSP_KERNEL_PROVIDER} ?= "${BSP_KERNEL_VERSION}" | ||
124 | PREFERRED_VERSION_${BSP_KERNEL_PROVIDER}-rt ?= "${BSP_KERNEL_VERSION}" | ||
125 | PREFERRED_PROVIDER_virtual/bootloader ?= "${BSP_BOOTLOADER_PROVIDER}" | ||
126 | PREFERRED_PROVIDER_u-boot ?= "${BSP_BOOTLOADER_PROVIDER}" | ||
127 | PREFERRED_VERSION_${BSP_BOOTLOADER_PROVIDER} ?= "${BSP_BOOTLOADER_VERSION}" | ||
128 | |||
129 | # GPU provider gets set in machine configs, as some machines are headless | ||
130 | # Select default preferred versions here | ||
131 | PREFERRED_VERSION_ti-sgx-ddk-km ?= "${BSP_SGX_DRIVER_VERSION}" | ||
132 | PREFERRED_VERSION_ti-sgx-ddk-um ?= "${BSP_SGX_UMLIBS_VERSION}" | ||
133 | PREFERRED_VERSION_ti-img-rogue-driver ?= "${BSP_ROGUE_DRIVER_VERSION}" | ||
134 | PREFERRED_VERSION_ti-img-rogue-umlibs ?= "${BSP_ROGUE_UMLIBS_VERSION}" | ||
135 | PREFERRED_VERSION_mesa-pvr ?= "${BSP_MESA_PVR_VERSION}" | ||
diff --git a/meta-ti-bsp/conf/machine/include/ti-falcon.inc b/meta-ti-bsp/conf/machine/include/ti-falcon.inc new file mode 100644 index 00000000..252fb28a --- /dev/null +++ b/meta-ti-bsp/conf/machine/include/ti-falcon.inc | |||
@@ -0,0 +1,6 @@ | |||
1 | IMAGE_INSTALL:append = " u-boot-ti-staging-falcon" | ||
2 | KERNEL_CLASSES:remove = "kernel-fitimage-deprecated" | ||
3 | KERNEL_CLASSES += "kernel-fitimage-legacyhs" | ||
4 | UBOOT_DTB_LOADADDRESS = "0x88000000" | ||
5 | UBOOT_LOADADDRESS = "0x82000000" | ||
6 | FIT_KERNEL_COMP_ALG = "none" | ||
diff --git a/meta-ti-bsp/conf/machine/include/ti-soc.inc b/meta-ti-bsp/conf/machine/include/ti-soc.inc index a1fd3cbf..5d77e719 100644 --- a/meta-ti-bsp/conf/machine/include/ti-soc.inc +++ b/meta-ti-bsp/conf/machine/include/ti-soc.inc | |||
@@ -1,9 +1,8 @@ | |||
1 | # This is a generic TI SOC family. It is a superset of all other SOCs | 1 | # This is a generic TI SOC family. It is a superset of all other SOCs |
2 | # and platforms defined in meta-ti to allow BSP-level overrides. | 2 | # and platforms defined in meta-ti to allow BSP-level overrides. |
3 | SOC_FAMILY = "ti-soc" | 3 | SOC_FAMILY = "ti-soc" |
4 | require conf/machine/include/soc-family.inc | ||
4 | 5 | ||
5 | # TI platforms all use devicetrees with overlays | 6 | # TI platforms all use devicetrees with overlays |
6 | MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "kernel-devicetree" | 7 | MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "kernel-devicetree" |
7 | KERNEL_DTB_OVERLAY_SUPPORT ?= "1" | 8 | KERNEL_DTB_OVERLAY_SUPPORT ?= "1" |
8 | |||
9 | require conf/machine/include/soc-family.inc | ||
diff --git a/meta-ti-bsp/conf/machine/include/ti33x.inc b/meta-ti-bsp/conf/machine/include/ti33x.inc index b0ed1c69..7e9eb48c 100644 --- a/meta-ti-bsp/conf/machine/include/ti33x.inc +++ b/meta-ti-bsp/conf/machine/include/ti33x.inc | |||
@@ -4,17 +4,11 @@ SOC_FAMILY:append = ":ti33x" | |||
4 | DEFAULTTUNE ?= "armv7athf-neon" | 4 | DEFAULTTUNE ?= "armv7athf-neon" |
5 | require conf/machine/include/arm/armv7a/tune-cortexa8.inc | 5 | require conf/machine/include/arm/armv7a/tune-cortexa8.inc |
6 | 6 | ||
7 | # Increase this everytime you change something in the kernel | 7 | require conf/machine/include/ti-bsp.inc |
8 | MACHINE_KERNEL_PR = "r22" | ||
9 | |||
10 | # Default providers, may need to override for specific machines | ||
11 | PREFERRED_PROVIDER_virtual/kernel ?= "linux-ti-staging" | ||
12 | PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot-ti-staging" | ||
13 | PREFERRED_PROVIDER_u-boot ?= "u-boot-ti-staging" | ||
14 | 8 | ||
15 | # Graphics providers and variables | 9 | # Graphics providers and variables |
16 | require conf/machine/include/mesa-pvr.inc | 10 | require conf/machine/include/mesa-pvr.inc |
17 | PREFERRED_PROVIDER_virtual/gpudriver ?= "ti-sgx-ddk-km" | 11 | PREFERRED_PROVIDER_virtual/gpudriver ?= "${BSP_SGX_DRIVER_PROVIDER}" |
18 | PVR_DISPLAY_CONTROLLER_ALIAS ?= "tilcdc" | 12 | PVR_DISPLAY_CONTROLLER_ALIAS ?= "tilcdc" |
19 | 13 | ||
20 | KERNEL_IMAGETYPE = "zImage" | 14 | KERNEL_IMAGETYPE = "zImage" |
@@ -25,17 +19,43 @@ KERNEL_DEVICETREE_PREFIX = " \ | |||
25 | " | 19 | " |
26 | 20 | ||
27 | KERNEL_DEVICETREE = " \ | 21 | KERNEL_DEVICETREE = " \ |
22 | ti/omap/am335x-baltos-ir2110.dtb \ | ||
23 | ti/omap/am335x-baltos-ir3220.dtb \ | ||
24 | ti/omap/am335x-baltos-ir5221.dtb \ | ||
25 | ti/omap/am335x-base0033.dtb \ | ||
26 | ti/omap/am335x-bone.dtb \ | ||
27 | ti/omap/am335x-boneblack-wireless.dtb \ | ||
28 | ti/omap/am335x-boneblack.dtb \ | ||
29 | ti/omap/am335x-boneblue.dtb \ | ||
30 | ti/omap/am335x-bonegreen-wireless.dtb \ | ||
31 | ti/omap/am335x-bonegreen.dtb \ | ||
32 | ti/omap/am335x-chiliboard.dtb \ | ||
33 | ti/omap/am335x-cm-t335.dtb \ | ||
28 | ti/omap/am335x-evm.dtb \ | 34 | ti/omap/am335x-evm.dtb \ |
29 | ti/omap/am335x-evmsk.dtb \ | 35 | ti/omap/am335x-evmsk.dtb \ |
36 | ti/omap/am335x-guardian.dtb \ | ||
30 | ti/omap/am335x-icev2.dtb \ | 37 | ti/omap/am335x-icev2.dtb \ |
38 | ti/omap/am335x-lxm.dtb \ | ||
39 | ti/omap/am335x-moxa-uc-2101.dtb \ | ||
40 | ti/omap/am335x-moxa-uc-8100-me-t.dtb \ | ||
41 | ti/omap/am335x-myirtech-myd.dtb \ | ||
42 | ti/omap/am335x-nano.dtb \ | ||
43 | ti/omap/am335x-netcan-plus-1xx.dtb \ | ||
44 | ti/omap/am335x-netcom-plus-2xx.dtb \ | ||
45 | ti/omap/am335x-netcom-plus-8xx.dtb \ | ||
46 | ti/omap/am335x-osd3358-sm-red.dtb \ | ||
47 | ti/omap/am335x-pdu001.dtb \ | ||
48 | ti/omap/am335x-pepper.dtb \ | ||
49 | ti/omap/am335x-phycore-rdk.dtb \ | ||
31 | ti/omap/am335x-pocketbeagle.dtb \ | 50 | ti/omap/am335x-pocketbeagle.dtb \ |
32 | ti/omap/am335x-bone.dtb \ | 51 | ti/omap/am335x-regor-rdk.dtb \ |
33 | ti/omap/am335x-boneblue.dtb \ | 52 | ti/omap/am335x-sancloud-bbe-extended-wifi.dtb \ |
34 | ti/omap/am335x-bonegreen.dtb \ | 53 | ti/omap/am335x-sancloud-bbe-lite.dtb \ |
35 | ti/omap/am335x-bonegreen-wireless.dtb \ | ||
36 | ti/omap/am335x-boneblack.dtb \ | ||
37 | ti/omap/am335x-boneblack-wireless.dtb \ | ||
38 | ti/omap/am335x-sancloud-bbe.dtb \ | 54 | ti/omap/am335x-sancloud-bbe.dtb \ |
55 | ti/omap/am335x-sbc-t335.dtb \ | ||
56 | ti/omap/am335x-shc.dtb \ | ||
57 | ti/omap/am335x-sl50.dtb \ | ||
58 | ti/omap/am335x-wega-rdk.dtb \ | ||
39 | " | 59 | " |
40 | 60 | ||
41 | UBOOT_ARCH = "arm" | 61 | UBOOT_ARCH = "arm" |
diff --git a/meta-ti-bsp/conf/machine/include/ti43x.inc b/meta-ti-bsp/conf/machine/include/ti43x.inc index 17ca5240..2621d19a 100644 --- a/meta-ti-bsp/conf/machine/include/ti43x.inc +++ b/meta-ti-bsp/conf/machine/include/ti43x.inc | |||
@@ -4,17 +4,11 @@ SOC_FAMILY:append = ":ti43x" | |||
4 | DEFAULTTUNE ?= "armv7athf-neon" | 4 | DEFAULTTUNE ?= "armv7athf-neon" |
5 | require conf/machine/include/arm/armv7a/tune-cortexa9.inc | 5 | require conf/machine/include/arm/armv7a/tune-cortexa9.inc |
6 | 6 | ||
7 | # Increase this everytime you change something in the kernel | 7 | require conf/machine/include/ti-bsp.inc |
8 | MACHINE_KERNEL_PR = "r3" | ||
9 | |||
10 | # Default providers, may need to override for specific machines | ||
11 | PREFERRED_PROVIDER_virtual/kernel ?= "linux-ti-staging" | ||
12 | PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot-ti-staging" | ||
13 | PREFERRED_PROVIDER_u-boot ?= "u-boot-ti-staging" | ||
14 | 8 | ||
15 | # Graphics providers and variables | 9 | # Graphics providers and variables |
16 | require conf/machine/include/mesa-pvr.inc | 10 | require conf/machine/include/mesa-pvr.inc |
17 | PREFERRED_PROVIDER_virtual/gpudriver ?= "ti-sgx-ddk-km" | 11 | PREFERRED_PROVIDER_virtual/gpudriver ?= "${BSP_SGX_DRIVER_PROVIDER}" |
18 | PVR_DISPLAY_CONTROLLER_ALIAS ?= "omapdrm" | 12 | PVR_DISPLAY_CONTROLLER_ALIAS ?= "omapdrm" |
19 | 13 | ||
20 | KERNEL_IMAGETYPE = "zImage" | 14 | KERNEL_IMAGETYPE = "zImage" |
@@ -27,9 +21,11 @@ KERNEL_DEVICETREE_PREFIX = " \ | |||
27 | " | 21 | " |
28 | 22 | ||
29 | KERNEL_DEVICETREE = " \ | 23 | KERNEL_DEVICETREE = " \ |
24 | ti/omap/am437x-cm-t43.dtb \ | ||
30 | ti/omap/am437x-gp-evm.dtb \ | 25 | ti/omap/am437x-gp-evm.dtb \ |
31 | ti/omap/am437x-sk-evm.dtb \ | ||
32 | ti/omap/am437x-idk-evm.dtb \ | 26 | ti/omap/am437x-idk-evm.dtb \ |
27 | ti/omap/am437x-sbc-t43.dtb \ | ||
28 | ti/omap/am437x-sk-evm.dtb \ | ||
33 | ti/omap/am43x-epos-evm.dtb \ | 29 | ti/omap/am43x-epos-evm.dtb \ |
34 | " | 30 | " |
35 | 31 | ||