diff options
Diffstat (limited to 'meta-ti-bsp')
52 files changed, 689 insertions, 137 deletions
diff --git a/meta-ti-bsp/classes/kernel-fitimage-legacyhs.bbclass b/meta-ti-bsp/classes/kernel-fitimage-legacyhs.bbclass index 5e1fa56a..61813555 100644 --- a/meta-ti-bsp/classes/kernel-fitimage-legacyhs.bbclass +++ b/meta-ti-bsp/classes/kernel-fitimage-legacyhs.bbclass | |||
@@ -316,6 +316,7 @@ EOF | |||
316 | # $4 ... ramdisk ID | 316 | # $4 ... ramdisk ID |
317 | # $5 ... config ID | 317 | # $5 ... config ID |
318 | # $6 ... tee ID/name | 318 | # $6 ... tee ID/name |
319 | # $7 ... default DTB ID | ||
319 | fitimage_emit_section_config() { | 320 | fitimage_emit_section_config() { |
320 | 321 | ||
321 | conf_csum=${FITIMAGE_HASH_ALGO} | 322 | conf_csum=${FITIMAGE_HASH_ALGO} |
@@ -370,6 +371,16 @@ fitimage_emit_section_config() { | |||
370 | final_conf_desc="${conf_desc}" | 371 | final_conf_desc="${conf_desc}" |
371 | fi | 372 | fi |
372 | 373 | ||
374 | default_dtb_count=${7} | ||
375 | if [ "x${FITIMAGE_CONF_BY_NAME}" = "x1" ] ; then | ||
376 | default_conf_name="${FIT_CONF_DEFAULT_DTB}" | ||
377 | else | ||
378 | default_conf_name="conf-${default_dtb_count}" | ||
379 | fi | ||
380 | cat << EOF >> ${1} | ||
381 | default = "${default_conf_name}"; | ||
382 | EOF | ||
383 | |||
373 | dtbcount=1 | 384 | dtbcount=1 |
374 | for DTB in ${KERNEL_DEVICETREE}; do | 385 | for DTB in ${KERNEL_DEVICETREE}; do |
375 | DTB=$(basename "${DTB}") | 386 | DTB=$(basename "${DTB}") |
@@ -386,12 +397,6 @@ fitimage_emit_section_config() { | |||
386 | fdt_line="fdt = \"fdt-${dtbcount}\";" | 397 | fdt_line="fdt = \"fdt-${dtbcount}\";" |
387 | fi | 398 | fi |
388 | 399 | ||
389 | if [ "x${dtbcount}" = "x1" ]; then | ||
390 | cat << EOF >> ${1} | ||
391 | default = "${conf_name}"; | ||
392 | EOF | ||
393 | fi | ||
394 | |||
395 | # Generate a single configuration section | 400 | # Generate a single configuration section |
396 | cat << EOF >> ${1} | 401 | cat << EOF >> ${1} |
397 | ${conf_name} { | 402 | ${conf_name} { |
@@ -524,6 +529,7 @@ fitimage_assemble() { | |||
524 | ramdiskcount=${3} | 529 | ramdiskcount=${3} |
525 | setupcount="" | 530 | setupcount="" |
526 | teecount=1 | 531 | teecount=1 |
532 | default_dtb_count=1 | ||
527 | rm -f ${1} arch/${ARCH}/boot/${2} | 533 | rm -f ${1} arch/${ARCH}/boot/${2} |
528 | 534 | ||
529 | fitimage_emit_fit_header ${1} | 535 | fitimage_emit_fit_header ${1} |
@@ -544,6 +550,9 @@ fitimage_assemble() { | |||
544 | dtbcount=1 | 550 | dtbcount=1 |
545 | dtboaddress="${UBOOT_DTBO_LOADADDRESS}" | 551 | dtboaddress="${UBOOT_DTBO_LOADADDRESS}" |
546 | for DTB in ${KERNEL_DEVICETREE}; do | 552 | for DTB in ${KERNEL_DEVICETREE}; do |
553 | if [ "${DTB}" = "${FIT_CONF_DEFAULT_DTB}" ]; then | ||
554 | default_dtb_count=${dtbcount} | ||
555 | fi | ||
547 | if echo ${DTB} | grep -q '/dts/'; then | 556 | if echo ${DTB} | grep -q '/dts/'; then |
548 | bbwarn "${DTB} contains the full path to the the dts file, but only the dtb name should be used." | 557 | bbwarn "${DTB} contains the full path to the the dts file, but only the dtb name should be used." |
549 | DTB=`basename ${DTB} | sed 's,\.dts$,.dtb,g'` | 558 | DTB=`basename ${DTB} | sed 's,\.dts$,.dtb,g'` |
@@ -660,7 +669,7 @@ fitimage_assemble() { | |||
660 | else | 669 | else |
661 | teeref="${teecount}" | 670 | teeref="${teecount}" |
662 | fi | 671 | fi |
663 | fitimage_emit_section_config ${1} "${kernelcount}" "${dtbref}" "${ramdiskcount}" "${setupcount}" "${teeref}" | 672 | fitimage_emit_section_config ${1} "${kernelcount}" "${dtbref}" "${ramdiskcount}" "${setupcount}" "${teeref}" "${default_dtb_count}" |
664 | 673 | ||
665 | fitimage_emit_section_maint ${1} sectend | 674 | fitimage_emit_section_maint ${1} sectend |
666 | 675 | ||
diff --git a/meta-ti-bsp/conf/machine/am335x-evm.conf b/meta-ti-bsp/conf/machine/am335x-evm.conf index 5b7739ce..029e761b 100644 --- a/meta-ti-bsp/conf/machine/am335x-evm.conf +++ b/meta-ti-bsp/conf/machine/am335x-evm.conf | |||
@@ -22,7 +22,7 @@ SERIAL_CONSOLES = "115200;ttyS0 115200;ttyS3" | |||
22 | # UBI: logical eraseblock size: 126976 bytes | 22 | # UBI: logical eraseblock size: 126976 bytes |
23 | # from ubiattach stdout: | 23 | # from ubiattach stdout: |
24 | # UBI device number 0, total 1988 LEBs | 24 | # UBI device number 0, total 1988 LEBs |
25 | MKUBIFS_ARGS ?= "-F -m 2048 -e 126976 -c 13000" | 25 | MKUBIFS_ARGS ?= "-F -m 2048 -e 126976 -c 16000" |
26 | 26 | ||
27 | # do ubiattach /dev/ubi_ctrl -m 7 -O 2048 | 27 | # do ubiattach /dev/ubi_ctrl -m 7 -O 2048 |
28 | # from dmesg: | 28 | # from dmesg: |
diff --git a/meta-ti-bsp/conf/machine/am62axx-evm-k3r5.conf b/meta-ti-bsp/conf/machine/am62axx-evm-k3r5.conf index 2af3317e..ab14feef 100644 --- a/meta-ti-bsp/conf/machine/am62axx-evm-k3r5.conf +++ b/meta-ti-bsp/conf/machine/am62axx-evm-k3r5.conf | |||
@@ -9,3 +9,5 @@ SYSFW_CONFIG = "evm" | |||
9 | SYSFW_SUFFIX = "hs-fs" | 9 | SYSFW_SUFFIX = "hs-fs" |
10 | 10 | ||
11 | UBOOT_MACHINE = "am62ax_evm_r5_defconfig" | 11 | UBOOT_MACHINE = "am62ax_evm_r5_defconfig" |
12 | |||
13 | UBOOT_CONFIG_FRAGMENTS:ti-falcon = "am62x_r5_falcon.config" | ||
diff --git a/meta-ti-bsp/conf/machine/am62dxx-evm-k3r5.conf b/meta-ti-bsp/conf/machine/am62dxx-evm-k3r5.conf new file mode 100644 index 00000000..00906420 --- /dev/null +++ b/meta-ti-bsp/conf/machine/am62dxx-evm-k3r5.conf | |||
@@ -0,0 +1,11 @@ | |||
1 | #@TYPE: Machine | ||
2 | #@NAME: AM62D HS-FS EVM (R5F) | ||
3 | #@DESCRIPTION: Machine configuration for the TI AM62D EVM (R5F core) | ||
4 | |||
5 | require conf/machine/include/k3r5.inc | ||
6 | |||
7 | SYSFW_SOC = "am62dx" | ||
8 | SYSFW_CONFIG = "evm" | ||
9 | SYSFW_SUFFIX = "hs-fs" | ||
10 | |||
11 | UBOOT_MACHINE = "am62dx_evm_r5_defconfig" | ||
diff --git a/meta-ti-bsp/conf/machine/am62dxx-evm.conf b/meta-ti-bsp/conf/machine/am62dxx-evm.conf new file mode 100644 index 00000000..f2da559c --- /dev/null +++ b/meta-ti-bsp/conf/machine/am62dxx-evm.conf | |||
@@ -0,0 +1,15 @@ | |||
1 | #@TYPE: Machine | ||
2 | #@NAME: AM62DXX EVM | ||
3 | #@DESCRIPTION: Machine configuration for the TI AM62DXX EVM | ||
4 | |||
5 | require conf/machine/include/am62dxx.inc | ||
6 | |||
7 | KERNEL_DEVICETREE_PREFIX = " \ | ||
8 | ti/k3-am62d2 \ | ||
9 | " | ||
10 | |||
11 | KERNEL_DEVICETREE = "" | ||
12 | |||
13 | FIT_CONF_DEFAULT_DTB = "ti/k3-am62d2-evm.dtb" | ||
14 | |||
15 | UBOOT_MACHINE = "am62dx_evm_a53_defconfig" | ||
diff --git a/meta-ti-bsp/conf/machine/am62lxx-evm.conf b/meta-ti-bsp/conf/machine/am62lxx-evm.conf index 8d1e1fe2..607092a7 100644 --- a/meta-ti-bsp/conf/machine/am62lxx-evm.conf +++ b/meta-ti-bsp/conf/machine/am62lxx-evm.conf | |||
@@ -7,7 +7,7 @@ require conf/machine/include/ti-extras.inc | |||
7 | 7 | ||
8 | IMAGE_FSTYPES += "ubifs ubi" | 8 | IMAGE_FSTYPES += "ubifs ubi" |
9 | 9 | ||
10 | MKUBIFS_ARGS ?= "-F -m 4096 -e 258048 -c 8000" | 10 | MKUBIFS_ARGS ?= "-F -m 4096 -e 258048 -c 8500" |
11 | 11 | ||
12 | UBINIZE_ARGS ?= "-m 4096 -p 256KiB -s 1024 -O 1024" | 12 | UBINIZE_ARGS ?= "-m 4096 -p 256KiB -s 1024 -O 1024" |
13 | 13 | ||
diff --git a/meta-ti-bsp/conf/machine/am62pxx-evm-k3r5.conf b/meta-ti-bsp/conf/machine/am62pxx-evm-k3r5.conf index 36915381..849d6625 100644 --- a/meta-ti-bsp/conf/machine/am62pxx-evm-k3r5.conf +++ b/meta-ti-bsp/conf/machine/am62pxx-evm-k3r5.conf | |||
@@ -10,3 +10,5 @@ SYSFW_CONFIG = "evm" | |||
10 | SYSFW_SUFFIX = "hs-fs" | 10 | SYSFW_SUFFIX = "hs-fs" |
11 | 11 | ||
12 | UBOOT_MACHINE = "am62px_evm_r5_defconfig" | 12 | UBOOT_MACHINE = "am62px_evm_r5_defconfig" |
13 | |||
14 | UBOOT_CONFIG_FRAGMENTS:ti-falcon = "am62x_r5_falcon.config" | ||
diff --git a/meta-ti-bsp/conf/machine/am62xx-evm-k3r5.conf b/meta-ti-bsp/conf/machine/am62xx-evm-k3r5.conf index 548369ca..a624a35d 100644 --- a/meta-ti-bsp/conf/machine/am62xx-evm-k3r5.conf +++ b/meta-ti-bsp/conf/machine/am62xx-evm-k3r5.conf | |||
@@ -10,3 +10,5 @@ SYSFW_CONFIG = "evm" | |||
10 | SYSFW_SUFFIX = "hs-fs" | 10 | SYSFW_SUFFIX = "hs-fs" |
11 | 11 | ||
12 | UBOOT_MACHINE = "am62x_evm_r5_defconfig" | 12 | UBOOT_MACHINE = "am62x_evm_r5_defconfig" |
13 | |||
14 | UBOOT_CONFIG_FRAGMENTS:ti-falcon = "am62x_r5_falcon.config" | ||
diff --git a/meta-ti-bsp/conf/machine/am62xx-lp-evm-k3r5.conf b/meta-ti-bsp/conf/machine/am62xx-lp-evm-k3r5.conf index 52b69a72..851935db 100644 --- a/meta-ti-bsp/conf/machine/am62xx-lp-evm-k3r5.conf +++ b/meta-ti-bsp/conf/machine/am62xx-lp-evm-k3r5.conf | |||
@@ -10,3 +10,5 @@ SYSFW_CONFIG = "evm" | |||
10 | SYSFW_SUFFIX = "hs-fs" | 10 | SYSFW_SUFFIX = "hs-fs" |
11 | 11 | ||
12 | UBOOT_MACHINE = "am62x_lpsk_r5_defconfig" | 12 | UBOOT_MACHINE = "am62x_lpsk_r5_defconfig" |
13 | |||
14 | UBOOT_CONFIG_FRAGMENTS:ti-falcon = "am62x_r5_falcon.config" | ||
diff --git a/meta-ti-bsp/conf/machine/include/am62axx.inc b/meta-ti-bsp/conf/machine/include/am62axx.inc index 98cea203..e5f827a9 100644 --- a/meta-ti-bsp/conf/machine/include/am62axx.inc +++ b/meta-ti-bsp/conf/machine/include/am62axx.inc | |||
@@ -10,9 +10,6 @@ TFA_K3_SYSTEM_SUSPEND = "1" | |||
10 | # Default tiboot3.bin on AM62A is for HS-FS | 10 | # Default tiboot3.bin on AM62A is for HS-FS |
11 | IMAGE_BOOT_FILES += "tiboot3-am62ax-hs-fs-evm.bin" | 11 | IMAGE_BOOT_FILES += "tiboot3-am62ax-hs-fs-evm.bin" |
12 | 12 | ||
13 | # Since default tiboot3.bin on AM62A is for HS-FS, add a version for GP | ||
14 | IMAGE_BOOT_FILES += "tiboot3-am62ax-gp-evm.bin" | ||
15 | |||
16 | # 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 |
17 | IMAGE_BOOT_FILES += "tiboot3-am62ax-hs-evm.bin" | 14 | IMAGE_BOOT_FILES += "tiboot3-am62ax-hs-evm.bin" |
18 | 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 index d3bc81df..b4f0b8c9 100644 --- a/meta-ti-bsp/conf/machine/include/am62lxx.inc +++ b/meta-ti-bsp/conf/machine/include/am62lxx.inc | |||
@@ -3,9 +3,6 @@ SOC_FAMILY:append = ":am62lxx" | |||
3 | 3 | ||
4 | MACHINE_FEATURES += "screen" | 4 | MACHINE_FEATURES += "screen" |
5 | 5 | ||
6 | # Default tiboot3.bin on AM62L is for HS-FS | ||
7 | IMAGE_BOOT_FILES += "tiboot3-am62lx-hs-fs-evm.bin" | ||
8 | |||
9 | TFA_BOARD = "am62l" | 6 | TFA_BOARD = "am62l" |
10 | TFA_K3_SYSTEM_SUSPEND = "1" | 7 | TFA_K3_SYSTEM_SUSPEND = "1" |
11 | 8 | ||
diff --git a/meta-ti-bsp/conf/machine/include/am69.inc b/meta-ti-bsp/conf/machine/include/am69.inc index da8a5a8b..1a19410a 100644 --- a/meta-ti-bsp/conf/machine/include/am69.inc +++ b/meta-ti-bsp/conf/machine/include/am69.inc | |||
@@ -18,4 +18,4 @@ TFA_BOARD = "j784s4" | |||
18 | 18 | ||
19 | OPTEEMACHINE = "k3-j784s4" | 19 | OPTEEMACHINE = "k3-j784s4" |
20 | 20 | ||
21 | MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "cadence-mhdp-fw cnm-wave-fw ti-eth-fw" | 21 | MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "cadence-mhdp-fw cnm-wave-fw ti-eth-fw-j784s4" |
diff --git a/meta-ti-bsp/conf/machine/include/j7200.inc b/meta-ti-bsp/conf/machine/include/j7200.inc index b60b98e1..3cba71b6 100644 --- a/meta-ti-bsp/conf/machine/include/j7200.inc +++ b/meta-ti-bsp/conf/machine/include/j7200.inc | |||
@@ -26,4 +26,4 @@ TFA_BOARD = "generic" | |||
26 | 26 | ||
27 | OPTEEMACHINE = "k3-j721e" | 27 | OPTEEMACHINE = "k3-j721e" |
28 | 28 | ||
29 | 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 b5ba448e..30aa2a69 100644 --- a/meta-ti-bsp/conf/machine/include/j721e.inc +++ b/meta-ti-bsp/conf/machine/include/j721e.inc | |||
@@ -40,4 +40,4 @@ TI_VXE_VXD_DRIVER = "ti-vxe-vxd-driver" | |||
40 | TI_VXE_VXD_DRIVER:bsp-ti-6_6 = "" | 40 | TI_VXE_VXD_DRIVER:bsp-ti-6_6 = "" |
41 | TI_VXE_VXD_DRIVER:bsp-ti-6_1 = "" | 41 | TI_VXE_VXD_DRIVER:bsp-ti-6_1 = "" |
42 | 42 | ||
43 | MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "cadence-mhdp-fw vxd-dec-fw ti-eth-fw ${TI_VXE_VXD_DRIVER}" | 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/j784s4.inc b/meta-ti-bsp/conf/machine/include/j784s4.inc index fd3990a6..33224ee3 100644 --- a/meta-ti-bsp/conf/machine/include/j784s4.inc +++ b/meta-ti-bsp/conf/machine/include/j784s4.inc | |||
@@ -21,4 +21,4 @@ TFA_BOARD = "j784s4" | |||
21 | 21 | ||
22 | OPTEEMACHINE = "k3-j784s4" | 22 | OPTEEMACHINE = "k3-j784s4" |
23 | 23 | ||
24 | 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 b98b4580..8d45a329 100644 --- a/meta-ti-bsp/conf/machine/include/k3.inc +++ b/meta-ti-bsp/conf/machine/include/k3.inc | |||
@@ -39,7 +39,7 @@ TFA_PLATFORM = "k3" | |||
39 | UBI_VOLNAME = "rootfs" | 39 | UBI_VOLNAME = "rootfs" |
40 | 40 | ||
41 | # 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 |
42 | MACHINE_FEATURES = "apm usbgadget usbhost vfat ext2 alsa pci" | 42 | MACHINE_FEATURES = "apm usbgadget usbhost vfat ext2 alsa pci optee-ftpm" |
43 | 43 | ||
44 | IMAGE_FSTYPES += "tar.xz wic.xz wic.bmap" | 44 | IMAGE_FSTYPES += "tar.xz wic.xz wic.bmap" |
45 | 45 | ||
@@ -54,3 +54,8 @@ WKS_FILE ?= "${@bb.utils.contains("MACHINE_FEATURES", "efi", "sdimage-2part-efi. | |||
54 | do_image_wic[depends] += "virtual/bootloader:do_deploy" | 54 | do_image_wic[depends] += "virtual/bootloader:do_deploy" |
55 | 55 | ||
56 | 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/ti-falcon.inc b/meta-ti-bsp/conf/machine/include/ti-falcon.inc new file mode 100644 index 00000000..0b938470 --- /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" | ||
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/recipes-bsp/cm3-pm-firmware/amx3-cm3_git.bb b/meta-ti-bsp/recipes-bsp/cm3-pm-firmware/amx3-cm3_git.bb index ecdae123..099678b2 100644 --- a/meta-ti-bsp/recipes-bsp/cm3-pm-firmware/amx3-cm3_git.bb +++ b/meta-ti-bsp/recipes-bsp/cm3-pm-firmware/amx3-cm3_git.bb | |||
@@ -1,4 +1,4 @@ | |||
1 | DESCRIPTION = "Cortex-M3 binary blob for suspend-resume" | 1 | SUMMARY = "Cortex-M3 binary blob for suspend-resume" |
2 | 2 | ||
3 | LICENSE = "TI-TSPA" | 3 | LICENSE = "TI-TSPA" |
4 | LIC_FILES_CHKSUM = "file://License.txt;md5=7bdc54a749ab7a7dea999d25d99a41b8" | 4 | LIC_FILES_CHKSUM = "file://License.txt;md5=7bdc54a749ab7a7dea999d25d99a41b8" |
@@ -14,7 +14,7 @@ SRC_URI = "git://git.ti.com/git/processor-firmware/ti-amx3-cm3-pm-firmware.git;p | |||
14 | S = "${WORKDIR}/git" | 14 | S = "${WORKDIR}/git" |
15 | 15 | ||
16 | do_compile() { | 16 | do_compile() { |
17 | make CROSS_COMPILE="${TARGET_PREFIX}" CC="${TARGET_PREFIX}gcc ${TOOLCHAIN_OPTIONS} ${SECURITY_NOPIE_CFLAGS} ${DEBUG_PREFIX_MAP}" | 17 | make CROSS_COMPILE="${TARGET_PREFIX}" CC="${TARGET_PREFIX}gcc -std=gnu11 ${TOOLCHAIN_OPTIONS} ${SECURITY_NOPIE_CFLAGS} ${DEBUG_PREFIX_MAP}" |
18 | } | 18 | } |
19 | 19 | ||
20 | do_install() { | 20 | do_install() { |
diff --git a/meta-ti-bsp/recipes-bsp/cnm-wave-fw/cnm-wave-fw_git.bb b/meta-ti-bsp/recipes-bsp/cnm-wave-fw/cnm-wave-fw_git.bb index 43624183..6a65992f 100644 --- a/meta-ti-bsp/recipes-bsp/cnm-wave-fw/cnm-wave-fw_git.bb +++ b/meta-ti-bsp/recipes-bsp/cnm-wave-fw/cnm-wave-fw_git.bb | |||
@@ -5,7 +5,7 @@ require recipes-bsp/ti-linux-fw/ti-linux-fw.inc | |||
5 | inherit update-alternatives | 5 | inherit update-alternatives |
6 | 6 | ||
7 | LICENSE = "BSD-3-Clause" | 7 | LICENSE = "BSD-3-Clause" |
8 | LIC_FILES_CHKSUM = "file://LICENCE.cnm;md5=93b67e6bac7f8fec22b96b8ad0a1a9d0" | 8 | LIC_FILES_CHKSUM = "file://LICENCE.cnm;md5=df3992006621b797e36de43f36336e36" |
9 | 9 | ||
10 | PV = "${CNM_WAVE521_FW_VERSION}" | 10 | PV = "${CNM_WAVE521_FW_VERSION}" |
11 | PR = "${INC_PR}.1" | 11 | PR = "${INC_PR}.1" |
diff --git a/meta-ti-bsp/recipes-bsp/gc320-drivers/ti-gc320-driver_5.0.11.p7.bb b/meta-ti-bsp/recipes-bsp/gc320-drivers/ti-gc320-driver_5.0.11.p7.bb index a6dc3e25..bc2b7fc2 100644 --- a/meta-ti-bsp/recipes-bsp/gc320-drivers/ti-gc320-driver_5.0.11.p7.bb +++ b/meta-ti-bsp/recipes-bsp/gc320-drivers/ti-gc320-driver_5.0.11.p7.bb | |||
@@ -1,4 +1,4 @@ | |||
1 | DESCRIPTION = "Kernel drivers for the Vivante GC320 chipset found in TI SoCs" | 1 | SUMMARY = "Kernel drivers for the Vivante GC320 chipset found in TI SoCs" |
2 | HOMEPAGE = "https://git.ti.com/graphics/ti-gc320-driver" | 2 | HOMEPAGE = "https://git.ti.com/graphics/ti-gc320-driver" |
3 | LICENSE = "MIT | GPL-2.0-only" | 3 | LICENSE = "MIT | GPL-2.0-only" |
4 | LIC_FILES_CHKSUM = "file://../LICENSE;md5=78d9818a51b9a8e9bb89dea418bac297" | 4 | LIC_FILES_CHKSUM = "file://../LICENSE;md5=78d9818a51b9a8e9bb89dea418bac297" |
diff --git a/meta-ti-bsp/recipes-bsp/goodix-fw/goodix-fw_git.bb b/meta-ti-bsp/recipes-bsp/goodix-fw/goodix-fw_git.bb index ee3a94dc..c43afb5b 100644 --- a/meta-ti-bsp/recipes-bsp/goodix-fw/goodix-fw_git.bb +++ b/meta-ti-bsp/recipes-bsp/goodix-fw/goodix-fw_git.bb | |||
@@ -1,4 +1,4 @@ | |||
1 | DESCRIPTION = "Goodix GT9271 config firmware" | 1 | SUMMARY = "Goodix GT9271 config firmware" |
2 | 2 | ||
3 | require recipes-bsp/ti-linux-fw/ti-linux-fw.inc | 3 | require recipes-bsp/ti-linux-fw/ti-linux-fw.inc |
4 | 4 | ||
diff --git a/meta-ti-bsp/recipes-bsp/powervr-drivers/ti-img-rogue-driver_23.3.6512818.bb b/meta-ti-bsp/recipes-bsp/powervr-drivers/ti-img-rogue-driver_23.3.6512818.bb index f7c871e1..dc55ef9b 100644 --- a/meta-ti-bsp/recipes-bsp/powervr-drivers/ti-img-rogue-driver_23.3.6512818.bb +++ b/meta-ti-bsp/recipes-bsp/powervr-drivers/ti-img-rogue-driver_23.3.6512818.bb | |||
@@ -1,4 +1,4 @@ | |||
1 | DESCRIPTION = "Kernel drivers for the PowerVR Rogue GPU found in the TI SoCs" | 1 | SUMMARY = "Kernel drivers for the PowerVR Rogue GPU found in the TI SoCs" |
2 | HOMEPAGE = "http://git.ti.com/graphics/ti-img-rogue-driver" | 2 | HOMEPAGE = "http://git.ti.com/graphics/ti-img-rogue-driver" |
3 | LICENSE = "MIT | GPL-2.0-only" | 3 | LICENSE = "MIT | GPL-2.0-only" |
4 | LIC_FILES_CHKSUM = "file://README;beginline=14;endline=19;md5=0403c7dea01a2b8232261e805325fac2" | 4 | LIC_FILES_CHKSUM = "file://README;beginline=14;endline=19;md5=0403c7dea01a2b8232261e805325fac2" |
diff --git a/meta-ti-bsp/recipes-bsp/powervr-drivers/ti-img-rogue-driver_24.2.6643903.bb b/meta-ti-bsp/recipes-bsp/powervr-drivers/ti-img-rogue-driver_24.2.6643903.bb index b356ce48..513429bd 100644 --- a/meta-ti-bsp/recipes-bsp/powervr-drivers/ti-img-rogue-driver_24.2.6643903.bb +++ b/meta-ti-bsp/recipes-bsp/powervr-drivers/ti-img-rogue-driver_24.2.6643903.bb | |||
@@ -1,4 +1,4 @@ | |||
1 | DESCRIPTION = "Kernel drivers for the PowerVR Rogue GPU found in the TI SoCs" | 1 | SUMMARY = "Kernel drivers for the PowerVR Rogue GPU found in the TI SoCs" |
2 | HOMEPAGE = "http://git.ti.com/graphics/ti-img-rogue-driver" | 2 | HOMEPAGE = "http://git.ti.com/graphics/ti-img-rogue-driver" |
3 | LICENSE = "MIT | GPL-2.0-only" | 3 | LICENSE = "MIT | GPL-2.0-only" |
4 | LIC_FILES_CHKSUM = "file://README;beginline=14;endline=19;md5=0403c7dea01a2b8232261e805325fac2" | 4 | LIC_FILES_CHKSUM = "file://README;beginline=14;endline=19;md5=0403c7dea01a2b8232261e805325fac2" |
diff --git a/meta-ti-bsp/recipes-bsp/powervr-drivers/ti-sgx-ddk-km_1.17.4948957.bb b/meta-ti-bsp/recipes-bsp/powervr-drivers/ti-sgx-ddk-km_1.17.4948957.bb index 18b81d2f..8a4a04ae 100644 --- a/meta-ti-bsp/recipes-bsp/powervr-drivers/ti-sgx-ddk-km_1.17.4948957.bb +++ b/meta-ti-bsp/recipes-bsp/powervr-drivers/ti-sgx-ddk-km_1.17.4948957.bb | |||
@@ -1,4 +1,4 @@ | |||
1 | DESCRIPTION = "Kernel drivers for the PowerVR SGX chipset found in the TI SoCs" | 1 | SUMMARY = "Kernel drivers for the PowerVR SGX chipset found in the TI SoCs" |
2 | HOMEPAGE = "https://git.ti.com/graphics/omap5-sgx-ddk-linux" | 2 | HOMEPAGE = "https://git.ti.com/graphics/omap5-sgx-ddk-linux" |
3 | LICENSE = "MIT | GPL-2.0-only" | 3 | LICENSE = "MIT | GPL-2.0-only" |
4 | LIC_FILES_CHKSUM = "file://GPL-COPYING;md5=60422928ba677faaa13d6ab5f5baaa1e" | 4 | LIC_FILES_CHKSUM = "file://GPL-COPYING;md5=60422928ba677faaa13d6ab5f5baaa1e" |
diff --git a/meta-ti-bsp/recipes-bsp/ti-dm-fw/ti-dm-fw.bb b/meta-ti-bsp/recipes-bsp/ti-dm-fw/ti-dm-fw.bb index 638138f4..03016993 100644 --- a/meta-ti-bsp/recipes-bsp/ti-dm-fw/ti-dm-fw.bb +++ b/meta-ti-bsp/recipes-bsp/ti-dm-fw/ti-dm-fw.bb | |||
@@ -7,8 +7,6 @@ COMPATIBLE_MACHINE = "k3" | |||
7 | 7 | ||
8 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 8 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
9 | 9 | ||
10 | INHIBIT_DEFAULT_DEPS = "1" | ||
11 | |||
12 | inherit deploy | 10 | inherit deploy |
13 | inherit update-alternatives | 11 | inherit update-alternatives |
14 | 12 | ||
@@ -31,6 +29,7 @@ PLAT_SFX:am65xx = "am65xx" | |||
31 | PLAT_SFX:am64xx = "am64xx" | 29 | PLAT_SFX:am64xx = "am64xx" |
32 | PLAT_SFX:am62xx = "am62xx" | 30 | PLAT_SFX:am62xx = "am62xx" |
33 | PLAT_SFX:am62axx = "am62axx" | 31 | PLAT_SFX:am62axx = "am62axx" |
32 | PLAT_SFX:am62dxx = "am62axx" | ||
34 | PLAT_SFX:am62lxx = "am62lxx" | 33 | PLAT_SFX:am62lxx = "am62lxx" |
35 | PLAT_SFX:am62pxx = "am62pxx" | 34 | PLAT_SFX:am62pxx = "am62pxx" |
36 | 35 | ||
@@ -39,6 +38,8 @@ DM_FW_DIR = "ti-dm/${PLAT_SFX}" | |||
39 | INSTALL_DM_FW_DIR = "${nonarch_base_libdir}/firmware/${DM_FW_DIR}" | 38 | INSTALL_DM_FW_DIR = "${nonarch_base_libdir}/firmware/${DM_FW_DIR}" |
40 | 39 | ||
41 | DM_FIRMWARE = "ipc_echo_testb_mcu1_0_release_strip.xer5f" | 40 | DM_FIRMWARE = "ipc_echo_testb_mcu1_0_release_strip.xer5f" |
41 | DM_FIRMWARE:am62axx = "dm_edgeai_mcu1_0_release_strip.out" | ||
42 | DM_FIRMWARE:am62pxx = "${@oe.utils.conditional('DISPLAY_CLUSTER_ENABLE', '1', 'dss_display_share.wkup-r5f0_0.release.strip.out', 'ipc_echo_testb_mcu1_0_release_strip.xer5f', d)}" | ||
42 | 43 | ||
43 | DM_FW_LIST = "" | 44 | DM_FW_LIST = "" |
44 | DM_FW_LIST:j721e = "${DM_FIRMWARE}" | 45 | DM_FW_LIST:j721e = "${DM_FIRMWARE}" |
@@ -51,6 +52,7 @@ DM_FW_LIST:am65xx = "" | |||
51 | DM_FW_LIST:am64xx = "" | 52 | DM_FW_LIST:am64xx = "" |
52 | DM_FW_LIST:am62xx = "${DM_FIRMWARE}" | 53 | DM_FW_LIST:am62xx = "${DM_FIRMWARE}" |
53 | DM_FW_LIST:am62axx = "${DM_FIRMWARE}" | 54 | DM_FW_LIST:am62axx = "${DM_FIRMWARE}" |
55 | DM_FW_LIST:am62dxx = "${DM_FIRMWARE}" | ||
54 | DM_FW_LIST:am62lxx = "" | 56 | DM_FW_LIST:am62lxx = "" |
55 | DM_FW_LIST:am62pxx = "${DM_FIRMWARE}" | 57 | DM_FW_LIST:am62pxx = "${DM_FIRMWARE}" |
56 | 58 | ||
@@ -85,6 +87,7 @@ do_deploy() { | |||
85 | ALTERNATIVE:${PN}:am62xx = "am62-main-r5f0_0-fw" | 87 | ALTERNATIVE:${PN}:am62xx = "am62-main-r5f0_0-fw" |
86 | ALTERNATIVE:${PN}:am62pxx = "am62p-main-r5f0_0-fw" | 88 | ALTERNATIVE:${PN}:am62pxx = "am62p-main-r5f0_0-fw" |
87 | ALTERNATIVE:${PN}:am62axx = "am62a-main-r5f0_0-fw" | 89 | ALTERNATIVE:${PN}:am62axx = "am62a-main-r5f0_0-fw" |
90 | ALTERNATIVE:${PN}:am62dxx = "am62a-main-r5f0_0-fw" | ||
88 | ALTERNATIVE:${PN}:j721e = "j7-mcu-r5f0_0-fw" | 91 | ALTERNATIVE:${PN}:j721e = "j7-mcu-r5f0_0-fw" |
89 | ALTERNATIVE:${PN}:j7200 = "j7200-mcu-r5f0_0-fw" | 92 | ALTERNATIVE:${PN}:j7200 = "j7200-mcu-r5f0_0-fw" |
90 | ALTERNATIVE:${PN}:j721s2 = "j721s2-mcu-r5f0_0-fw" | 93 | ALTERNATIVE:${PN}:j721s2 = "j721s2-mcu-r5f0_0-fw" |
diff --git a/meta-ti-bsp/recipes-bsp/ti-eth-fw/ti-eth-fw.bb b/meta-ti-bsp/recipes-bsp/ti-eth-fw/ti-eth-fw.bb index cf9566dc..04e43609 100644 --- a/meta-ti-bsp/recipes-bsp/ti-eth-fw/ti-eth-fw.bb +++ b/meta-ti-bsp/recipes-bsp/ti-eth-fw/ti-eth-fw.bb | |||
@@ -3,11 +3,7 @@ SUMMARY = "TI Ethernet prebuilt binary firmware images" | |||
3 | LICENSE = "TI-TFL" | 3 | LICENSE = "TI-TFL" |
4 | LIC_FILES_CHKSUM = "file://${THISDIR}/../../licenses/TI-TFL;md5=a1b59cb7ba626b9dbbcbf00f3fbc438a" | 4 | LIC_FILES_CHKSUM = "file://${THISDIR}/../../licenses/TI-TFL;md5=a1b59cb7ba626b9dbbcbf00f3fbc438a" |
5 | 5 | ||
6 | COMPATIBLE_MACHINE = "k3" | 6 | COMPATIBLE_MACHINE = "j721e|j7200|j784s4" |
7 | |||
8 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
9 | |||
10 | INHIBIT_DEFAULT_DEPS = "1" | ||
11 | 7 | ||
12 | inherit update-alternatives | 8 | inherit update-alternatives |
13 | 9 | ||
@@ -19,66 +15,60 @@ PR = "${INC_PR}.0" | |||
19 | # Secure Build | 15 | # Secure Build |
20 | inherit ti-secdev | 16 | inherit ti-secdev |
21 | 17 | ||
22 | PLAT_SFX = "" | 18 | PACKAGES += " \ |
23 | PLAT_SFX:j721e = "j721e" | 19 | ${PN}-j721e \ |
24 | PLAT_SFX:j7200 = "j7200" | 20 | ${PN}-j7200 \ |
25 | PLAT_SFX:j721s2 = "j721s2" | 21 | ${PN}-j784s4 \ |
26 | PLAT_SFX:j784s4 = "j784s4" | 22 | " |
27 | PLAT_SFX:j722s = "j722s" | 23 | # Disable arch checking as firmware is likely to be a different arch from the Yocto build |
28 | PLAT_SFX:j742s2 = "j742s2" | 24 | INSANE_SKIP:${PN}-j721e += "arch" |
29 | PLAT_SFX:am65xx = "am65xx" | 25 | INSANE_SKIP:${PN}-j7200 += "arch" |
30 | PLAT_SFX:am64xx = "am64xx" | 26 | INSANE_SKIP:${PN}-j784s4 += "arch" |
31 | PLAT_SFX:am62xx = "am62xx" | 27 | |
32 | PLAT_SFX:am62pxx = "am62pxx" | 28 | RDEPENDS:${PN} += " \ |
33 | PLAT_SFX:am62axx = "am62axx" | 29 | ${PN}-j721e \ |
34 | 30 | ${PN}-j7200 \ | |
35 | ETH_FW_DIR = "ti-eth/${PLAT_SFX}" | 31 | ${PN}-j784s4 \ |
36 | 32 | " | |
37 | INSTALL_ETH_FW_DIR = "${nonarch_base_libdir}/firmware/${ETH_FW_DIR}" | 33 | |
34 | PLATS = "\ | ||
35 | j721e \ | ||
36 | j7200 \ | ||
37 | j784s4 \ | ||
38 | " | ||
38 | 39 | ||
39 | ETH_FW = "app_remoteswitchcfg_server_strip.xer5f" | 40 | ETH_FW = "app_remoteswitchcfg_server_strip.xer5f" |
40 | 41 | ||
41 | ETH_FW_LIST = "" | ||
42 | ETH_FW_LIST:j721e = "${ETH_FW}" | ||
43 | ETH_FW_LIST:j7200 = "${ETH_FW}" | ||
44 | ETH_FW_LIST:j721s2 = "" | ||
45 | ETH_FW_LIST:j784s4 = "${ETH_FW}" | ||
46 | ETH_FW_LIST:j722s = "" | ||
47 | ETH_FW_LIST:j742s2 = "" | ||
48 | ETH_FW_LIST:am65xx = "" | ||
49 | ETH_FW_LIST:am64xx = "" | ||
50 | ETH_FW_LIST:am62xx = "" | ||
51 | ETH_FW_LIST:am62pxx = "" | ||
52 | ETH_FW_LIST:am62axx = "" | ||
53 | |||
54 | do_install() { | 42 | do_install() { |
55 | # ETH firmware | 43 | for PLAT in ${PLATS} |
56 | for FW_NAME in ${ETH_FW_LIST} | ||
57 | do | 44 | do |
58 | ${TI_SECURE_DEV_PKG}/scripts/secure-binary-image.sh ${S}/${ETH_FW_DIR}/${FW_NAME} ${S}/${ETH_FW_DIR}/${FW_NAME}.signed | 45 | # Sign ETH firmware |
59 | done | 46 | ${TI_SECURE_DEV_PKG}/scripts/secure-binary-image.sh ${S}/ti-eth/${PLAT}/${ETH_FW} ${S}/ti-eth/${PLAT}/${ETH_FW}.signed |
60 | 47 | ||
61 | # ETH firmware | 48 | # Install ETH firmware |
62 | install -d ${D}${INSTALL_ETH_FW_DIR} | 49 | install -d ${D}${nonarch_base_libdir}/firmware/ti-eth/${PLAT} |
63 | for FW_NAME in ${ETH_FW_LIST} | 50 | install -m 0644 ${S}/ti-eth/${PLAT}/${ETH_FW} ${D}${nonarch_base_libdir}/firmware/ti-eth/${PLAT} |
64 | do | 51 | install -m 0644 ${S}/ti-eth/${PLAT}/${ETH_FW}.signed ${D}${nonarch_base_libdir}/firmware/ti-eth/${PLAT} |
65 | install -m 0644 ${S}/${ETH_FW_DIR}/${FW_NAME} ${D}${INSTALL_ETH_FW_DIR} | ||
66 | install -m 0644 ${S}/${ETH_FW_DIR}/${FW_NAME}.signed ${D}${INSTALL_ETH_FW_DIR} | ||
67 | done | 52 | done |
68 | } | 53 | } |
69 | 54 | ||
55 | FILES:${PN} = "" | ||
56 | FILES:${PN}-j721e = "${nonarch_base_libdir}/firmware/ti-eth/j721e" | ||
57 | FILES:${PN}-j7200 = "${nonarch_base_libdir}/firmware/ti-eth/j7200" | ||
58 | FILES:${PN}-j784s4 = "${nonarch_base_libdir}/firmware/ti-eth/j784s4" | ||
59 | |||
70 | # Set up names for the firmwares | 60 | # Set up names for the firmwares |
71 | ALTERNATIVE:${PN}:j721e = "\ | 61 | ALTERNATIVE:${PN}-j721e = "\ |
72 | j7-main-r5f0_0-fw \ | 62 | j7-main-r5f0_0-fw \ |
73 | j7-main-r5f0_0-fw-sec \ | 63 | j7-main-r5f0_0-fw-sec \ |
74 | " | 64 | " |
75 | 65 | ||
76 | ALTERNATIVE:${PN}:j7200 = "\ | 66 | ALTERNATIVE:${PN}-j7200 = "\ |
77 | j7200-main-r5f0_0-fw \ | 67 | j7200-main-r5f0_0-fw \ |
78 | j7200-main-r5f0_0-fw-sec \ | 68 | j7200-main-r5f0_0-fw-sec \ |
79 | " | 69 | " |
80 | 70 | ||
81 | ALTERNATIVE:${PN}:j784s4 = "\ | 71 | ALTERNATIVE:${PN}-j784s4 = "\ |
82 | j784s4-main-r5f0_0-fw \ | 72 | j784s4-main-r5f0_0-fw \ |
83 | j784s4-main-r5f0_0-fw-sec \ | 73 | j784s4-main-r5f0_0-fw-sec \ |
84 | " | 74 | " |
@@ -94,13 +84,13 @@ ALTERNATIVE_LINK_NAME[j784s4-main-r5f0_0-fw] = "${nonarch_base_libdir}/firmw | |||
94 | ALTERNATIVE_LINK_NAME[j784s4-main-r5f0_0-fw-sec] = "${nonarch_base_libdir}/firmware/j784s4-main-r5f0_0-fw-sec" | 84 | ALTERNATIVE_LINK_NAME[j784s4-main-r5f0_0-fw-sec] = "${nonarch_base_libdir}/firmware/j784s4-main-r5f0_0-fw-sec" |
95 | 85 | ||
96 | # Create the firmware alternatives | 86 | # Create the firmware alternatives |
97 | ALTERNATIVE_TARGET[j7-main-r5f0_0-fw] = "${INSTALL_ETH_FW_DIR}/${ETH_FW}" | 87 | ALTERNATIVE_TARGET[j7-main-r5f0_0-fw] = "${nonarch_base_libdir}/firmware/ti-eth/j721e/${ETH_FW}" |
98 | ALTERNATIVE_TARGET[j7-main-r5f0_0-fw-sec] = "${INSTALL_ETH_FW_DIR}/${ETH_FW}.signed" | 88 | ALTERNATIVE_TARGET[j7-main-r5f0_0-fw-sec] = "${nonarch_base_libdir}/firmware/ti-eth/j721e/${ETH_FW}.signed" |
99 | 89 | ||
100 | ALTERNATIVE_TARGET[j7200-main-r5f0_0-fw] = "${INSTALL_ETH_FW_DIR}/${ETH_FW}" | 90 | ALTERNATIVE_TARGET[j7200-main-r5f0_0-fw] = "${nonarch_base_libdir}/firmware/ti-eth/j7200/${ETH_FW}" |
101 | ALTERNATIVE_TARGET[j7200-main-r5f0_0-fw-sec] = "${INSTALL_ETH_FW_DIR}/${ETH_FW}.signed" | 91 | ALTERNATIVE_TARGET[j7200-main-r5f0_0-fw-sec] = "${nonarch_base_libdir}/firmware/ti-eth/j7200/${ETH_FW}.signed" |
102 | 92 | ||
103 | ALTERNATIVE_TARGET[j784s4-main-r5f0_0-fw] = "${INSTALL_ETH_FW_DIR}/${ETH_FW}" | 93 | ALTERNATIVE_TARGET[j784s4-main-r5f0_0-fw] = "${nonarch_base_libdir}/firmware/ti-eth/j784s4/${ETH_FW}" |
104 | ALTERNATIVE_TARGET[j784s4-main-r5f0_0-fw-sec] = "${INSTALL_ETH_FW_DIR}/${ETH_FW}.signed" | 94 | ALTERNATIVE_TARGET[j784s4-main-r5f0_0-fw-sec] = "${nonarch_base_libdir}/firmware/ti-eth/j784s4/${ETH_FW}.signed" |
105 | 95 | ||
106 | ALTERNATIVE_PRIORITY = "5" | 96 | ALTERNATIVE_PRIORITY = "5" |
diff --git a/meta-ti-bsp/recipes-bsp/ti-hsm-fw/ti-hsm-demo-fw_git.bb b/meta-ti-bsp/recipes-bsp/ti-hsm-fw/ti-hsm-demo-fw_git.bb new file mode 100644 index 00000000..f6a7b43f --- /dev/null +++ b/meta-ti-bsp/recipes-bsp/ti-hsm-fw/ti-hsm-demo-fw_git.bb | |||
@@ -0,0 +1,24 @@ | |||
1 | SUMMARY = "TI HSM demo Firmware" | ||
2 | |||
3 | inherit deploy | ||
4 | |||
5 | require recipes-bsp/ti-linux-fw/ti-linux-fw.inc | ||
6 | |||
7 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
8 | |||
9 | PV = "${TI_HSM_DEMO_FW_VERSION}" | ||
10 | PR = "${INC_PR}.0" | ||
11 | |||
12 | COMPATIBLE_MACHINE = "j721s2|j784s4" | ||
13 | |||
14 | HSM_FW_SOC:j721s2 = "j721s2" | ||
15 | HSM_FW_SOC:j784s4 = "j784s4" | ||
16 | |||
17 | HSM_BINARY = "hsm-demo-firmware-${HSM_FW_SOC}*.bin" | ||
18 | |||
19 | do_deploy() { | ||
20 | install -d ${DEPLOYDIR}/ti-hsm | ||
21 | install -m 644 ${S}/ti-hsm/${HSM_BINARY} ${DEPLOYDIR}/ti-hsm | ||
22 | } | ||
23 | |||
24 | addtask deploy before do_build after do_compile | ||
diff --git a/meta-ti-bsp/recipes-bsp/ti-linux-fw/ti-linux-fw.inc b/meta-ti-bsp/recipes-bsp/ti-linux-fw/ti-linux-fw.inc index 287f3bb7..3c9836a0 100644 --- a/meta-ti-bsp/recipes-bsp/ti-linux-fw/ti-linux-fw.inc +++ b/meta-ti-bsp/recipes-bsp/ti-linux-fw/ti-linux-fw.inc | |||
@@ -13,11 +13,12 @@ PRUETH_FW_AM65X_SR2_VERSION = "02.02.15.04" | |||
13 | GOODIX_FW_VERSION = "1.0.0.0" | 13 | GOODIX_FW_VERSION = "1.0.0.0" |
14 | CADENCE_MHDP_FW_VERSION = "2.1.0" | 14 | CADENCE_MHDP_FW_VERSION = "2.1.0" |
15 | IMG_DEC_FW_VERSION = "1.0" | 15 | IMG_DEC_FW_VERSION = "1.0" |
16 | CNM_WAVE521_FW_VERSION = "1.0.7" | 16 | CNM_WAVE521_FW_VERSION = "1.0.8" |
17 | TI_DM_FW_VERSION = "11.00.09" | 17 | TI_DM_FW_VERSION = "11.00.09" |
18 | TI_SYSFW_VERSION = "11.00.07" | 18 | TI_SYSFW_VERSION = "11.00.07" |
19 | TI_HSM_DEMO_FW_VERSION = "11.00.09" | ||
19 | 20 | ||
20 | TI_LINUX_FW_SRCREV ?= "c3ad8113c766bee7b8ddfae222e9b8017b565ea3" | 21 | TI_LINUX_FW_SRCREV ?= "1ea29f4b3ec17bdc1a3431a014ea5224962dc779" |
21 | SRCREV = "${TI_LINUX_FW_SRCREV}" | 22 | SRCREV = "${TI_LINUX_FW_SRCREV}" |
22 | 23 | ||
23 | BRANCH ?= "ti-linux-firmware" | 24 | BRANCH ?= "ti-linux-firmware" |
@@ -42,6 +43,9 @@ INHIBIT_SYSROOT_STRIP = "1" | |||
42 | # This is used to prevent the build system from splitting out the firmware debug info into a separate file | 43 | # This is used to prevent the build system from splitting out the firmware debug info into a separate file |
43 | INHIBIT_PACKAGE_DEBUG_SPLIT = "1" | 44 | INHIBIT_PACKAGE_DEBUG_SPLIT = "1" |
44 | 45 | ||
46 | # Firmware here are prebuilt with no external dependencies | ||
47 | INHIBIT_DEFAULT_DEPS = "1" | ||
48 | |||
45 | # Disable arch checking as firmware is likely to be a different arch from the Yocto build | 49 | # Disable arch checking as firmware is likely to be a different arch from the Yocto build |
46 | INSANE_SKIP:${PN} += "arch" | 50 | INSANE_SKIP:${PN} += "arch" |
47 | 51 | ||
diff --git a/meta-ti-bsp/recipes-bsp/ti-rtos-fw/ti-rtos-echo-test-fw.bb b/meta-ti-bsp/recipes-bsp/ti-rtos-fw/ti-rtos-echo-test-fw.bb index 00112017..1fe67be8 100644 --- a/meta-ti-bsp/recipes-bsp/ti-rtos-fw/ti-rtos-echo-test-fw.bb +++ b/meta-ti-bsp/recipes-bsp/ti-rtos-fw/ti-rtos-echo-test-fw.bb | |||
@@ -7,8 +7,6 @@ COMPATIBLE_MACHINE = "k3" | |||
7 | 7 | ||
8 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 8 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
9 | 9 | ||
10 | INHIBIT_DEFAULT_DEPS = "1" | ||
11 | |||
12 | inherit update-alternatives | 10 | inherit update-alternatives |
13 | 11 | ||
14 | PLAT_SFX = "" | 12 | PLAT_SFX = "" |
@@ -22,6 +20,7 @@ PLAT_SFX:am65xx = "am65xx" | |||
22 | PLAT_SFX:am64xx = "am64xx" | 20 | PLAT_SFX:am64xx = "am64xx" |
23 | PLAT_SFX:am62xx = "am62xx" | 21 | PLAT_SFX:am62xx = "am62xx" |
24 | PLAT_SFX:am62axx = "am62axx" | 22 | PLAT_SFX:am62axx = "am62axx" |
23 | PLAT_SFX:am62dxx = "am62axx" | ||
25 | PLAT_SFX:am62pxx = "am62pxx" | 24 | PLAT_SFX:am62pxx = "am62pxx" |
26 | 25 | ||
27 | FILESEXTRAPATHS:prepend := "${METATIBASE}/recipes-bsp/ti-sci-fw/files/:" | 26 | FILESEXTRAPATHS:prepend := "${METATIBASE}/recipes-bsp/ti-sci-fw/files/:" |
@@ -37,20 +36,21 @@ IPC_FW_DIR = "ti-ipc/${PLAT_SFX}" | |||
37 | 36 | ||
38 | INSTALL_IPC_FW_DIR = "${nonarch_base_libdir}/firmware/${IPC_FW_DIR}" | 37 | INSTALL_IPC_FW_DIR = "${nonarch_base_libdir}/firmware/${IPC_FW_DIR}" |
39 | 38 | ||
40 | MCU_1_0_FW = "ipc_echo_test_mcu1_0_release_strip.xer5f" | 39 | MCU_1_0_FW = "ipc_echo_test_mcu1_0_release_strip.xer5f" |
41 | MCU_1_1_FW = "ipc_echo_test_mcu1_1_release_strip.xer5f" | 40 | MCU_1_1_FW = "ipc_echo_test_mcu1_1_release_strip.xer5f" |
42 | MCU_2_0_FW = "ipc_echo_test_mcu2_0_release_strip.xer5f" | 41 | MCU_2_0_FW = "ipc_echo_test_mcu2_0_release_strip.xer5f" |
43 | MCU_2_1_FW = "ipc_echo_test_mcu2_1_release_strip.xer5f" | 42 | MCU_2_1_FW = "ipc_echo_test_mcu2_1_release_strip.xer5f" |
44 | MCU_3_0_FW = "ipc_echo_test_mcu3_0_release_strip.xer5f" | 43 | MCU_3_0_FW = "ipc_echo_test_mcu3_0_release_strip.xer5f" |
45 | MCU_3_1_FW = "ipc_echo_test_mcu3_1_release_strip.xer5f" | 44 | MCU_3_1_FW = "ipc_echo_test_mcu3_1_release_strip.xer5f" |
46 | MCU_4_0_FW = "ipc_echo_test_mcu4_0_release_strip.xer5f" | 45 | MCU_4_0_FW = "ipc_echo_test_mcu4_0_release_strip.xer5f" |
47 | MCU_4_1_FW = "ipc_echo_test_mcu4_1_release_strip.xer5f" | 46 | MCU_4_1_FW = "ipc_echo_test_mcu4_1_release_strip.xer5f" |
48 | C66_1_FW = "ipc_echo_test_c66xdsp_1_release_strip.xe66" | 47 | C66_1_FW = "ipc_echo_test_c66xdsp_1_release_strip.xe66" |
49 | C66_2_FW = "ipc_echo_test_c66xdsp_2_release_strip.xe66" | 48 | C66_2_FW = "ipc_echo_test_c66xdsp_2_release_strip.xe66" |
50 | C7X_1_FW = "ipc_echo_test_c7x_1_release_strip.xe71" | 49 | C7X_1_FW = "ipc_echo_test_c7x_1_release_strip.xe71" |
51 | C7X_2_FW = "ipc_echo_test_c7x_2_release_strip.xe71" | 50 | C7X_1_FW:am62axx = "dsp_edgeai_c7x_1_release_strip.out" |
52 | C7X_3_FW = "ipc_echo_test_c7x_3_release_strip.xe71" | 51 | C7X_2_FW = "ipc_echo_test_c7x_2_release_strip.xe71" |
53 | C7X_4_FW = "ipc_echo_test_c7x_4_release_strip.xe71" | 52 | C7X_3_FW = "ipc_echo_test_c7x_3_release_strip.xe71" |
53 | C7X_4_FW = "ipc_echo_test_c7x_4_release_strip.xe71" | ||
54 | 54 | ||
55 | IPC_FW_LIST = "" | 55 | IPC_FW_LIST = "" |
56 | IPC_FW_LIST:am65xx = "${MCU_1_0_FW} ${MCU_1_1_FW}" | 56 | IPC_FW_LIST:am65xx = "${MCU_1_0_FW} ${MCU_1_1_FW}" |
@@ -58,6 +58,7 @@ IPC_FW_LIST:am64xx = "${MCU_1_0_FW} ${MCU_1_1_FW} ${MCU_2_0_FW} ${MCU_2_1_FW} $ | |||
58 | IPC_FW_LIST:am62xx = " ${MCU_2_0_FW}" | 58 | IPC_FW_LIST:am62xx = " ${MCU_2_0_FW}" |
59 | IPC_FW_LIST:am62pxx = " ${MCU_2_0_FW}" | 59 | IPC_FW_LIST:am62pxx = " ${MCU_2_0_FW}" |
60 | IPC_FW_LIST:am62axx = " ${MCU_2_0_FW} ${C7X_1_FW}" | 60 | IPC_FW_LIST:am62axx = " ${MCU_2_0_FW} ${C7X_1_FW}" |
61 | IPC_FW_LIST:am62dxx = " ${MCU_2_0_FW} ${C7X_1_FW}" | ||
61 | IPC_FW_LIST:j721e = " ${MCU_1_1_FW} ${MCU_2_0_FW} ${MCU_2_1_FW} ${MCU_3_0_FW} ${MCU_3_1_FW} ${C66_1_FW} ${C66_2_FW} ${C7X_1_FW}" | 62 | IPC_FW_LIST:j721e = " ${MCU_1_1_FW} ${MCU_2_0_FW} ${MCU_2_1_FW} ${MCU_3_0_FW} ${MCU_3_1_FW} ${C66_1_FW} ${C66_2_FW} ${C7X_1_FW}" |
62 | IPC_FW_LIST:j7200 = " ${MCU_1_1_FW} ${MCU_2_0_FW} ${MCU_2_1_FW}" | 63 | IPC_FW_LIST:j7200 = " ${MCU_1_1_FW} ${MCU_2_0_FW} ${MCU_2_1_FW}" |
63 | IPC_FW_LIST:j721s2 = " ${MCU_1_1_FW} ${MCU_2_0_FW} ${MCU_2_1_FW} ${MCU_3_0_FW} ${MCU_3_1_FW} ${C7X_1_FW} ${C7X_2_FW}" | 64 | IPC_FW_LIST:j721s2 = " ${MCU_1_1_FW} ${MCU_2_0_FW} ${MCU_2_1_FW} ${MCU_3_0_FW} ${MCU_3_1_FW} ${C7X_1_FW} ${C7X_2_FW}" |
@@ -97,6 +98,13 @@ do_install:prepend:am62axx() { | |||
97 | ) | 98 | ) |
98 | } | 99 | } |
99 | 100 | ||
101 | # Update the am62dxx ipc binaries to be consistent with other platforms | ||
102 | do_install:prepend:am62dxx() { | ||
103 | ( cd ${S}/${IPC_FW_DIR}; \ | ||
104 | ln -sf am62a-mcu-r5f0_0-fw ${MCU_2_0_FW}; \ | ||
105 | ) | ||
106 | } | ||
107 | |||
100 | do_install() { | 108 | do_install() { |
101 | # IPC Firmware | 109 | # IPC Firmware |
102 | for FW_NAME in ${IPC_FW_LIST} | 110 | for FW_NAME in ${IPC_FW_LIST} |
@@ -140,6 +148,11 @@ ALTERNATIVE:${PN}:am62axx = "\ | |||
140 | am62a-c71_0-fw am62a-c71_0-fw-sec \ | 148 | am62a-c71_0-fw am62a-c71_0-fw-sec \ |
141 | " | 149 | " |
142 | 150 | ||
151 | ALTERNATIVE:${PN}:am62dxx = "\ | ||
152 | am62a-mcu-r5f0_0-fw am62a-mcu-r5f0_0-fw-sec \ | ||
153 | am62a-c71_0-fw am62a-c71_0-fw-sec \ | ||
154 | " | ||
155 | |||
143 | ALTERNATIVE:${PN}:j721e = "\ | 156 | ALTERNATIVE:${PN}:j721e = "\ |
144 | j7-mcu-r5f0_1-fw j7-mcu-r5f0_1-fw-sec \ | 157 | j7-mcu-r5f0_1-fw j7-mcu-r5f0_1-fw-sec \ |
145 | j7-main-r5f0_0-fw j7-main-r5f0_0-fw-sec \ | 158 | j7-main-r5f0_0-fw j7-main-r5f0_0-fw-sec \ |
diff --git a/meta-ti-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a-ti.inc b/meta-ti-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a-ti.inc index 9541d605..594a4930 100644 --- a/meta-ti-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a-ti.inc +++ b/meta-ti-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a-ti.inc | |||
@@ -1,7 +1,7 @@ | |||
1 | # NOTE: This .inc file with customizations only gets included for K3 platforms | 1 | # NOTE: This .inc file with customizations only gets included for K3 platforms |
2 | 2 | ||
3 | PV = "2.12+git" | 3 | PV = "2.12+git" |
4 | SRCREV_tfa = "b11beb2b6bd30b75c4bfb0e9925c0e72f16ca53f" | 4 | SRCREV_tfa = "a70f82d5a439cb9e21426908c7410c4f2a646364" |
5 | SRC_URI_TRUSTED_FIRMWARE_A = "git://github.com/TexasInstruments/arm-trusted-firmware.git;protocol=https" | 5 | SRC_URI_TRUSTED_FIRMWARE_A = "git://github.com/TexasInstruments/arm-trusted-firmware.git;protocol=https" |
6 | SRCBRANCH = "ti-master" | 6 | SRCBRANCH = "ti-master" |
7 | SRC_URI = "${SRC_URI_TRUSTED_FIRMWARE_A};name=tfa;branch=${SRCBRANCH}" | 7 | SRC_URI = "${SRC_URI_TRUSTED_FIRMWARE_A};name=tfa;branch=${SRCBRANCH}" |
@@ -19,3 +19,4 @@ TFA_SPD:am62lxx = "" | |||
19 | 19 | ||
20 | EXTRA_OEMAKE += "${@ 'K3_USART=' + d.getVar('TFA_K3_USART') if d.getVar('TFA_K3_USART') else ''}" | 20 | EXTRA_OEMAKE += "${@ 'K3_USART=' + d.getVar('TFA_K3_USART') if d.getVar('TFA_K3_USART') else ''}" |
21 | EXTRA_OEMAKE += "${@ 'K3_PM_SYSTEM_SUSPEND=' + d.getVar('TFA_K3_SYSTEM_SUSPEND') if d.getVar('TFA_K3_SYSTEM_SUSPEND') else ''}" | 21 | EXTRA_OEMAKE += "${@ 'K3_PM_SYSTEM_SUSPEND=' + d.getVar('TFA_K3_SYSTEM_SUSPEND') if d.getVar('TFA_K3_SYSTEM_SUSPEND') else ''}" |
22 | EXTRA_OEMAKE:append:ti-falcon = " PRELOADED_BL33_BASE=0x82000000 K3_HW_CONFIG_BASE=0x88000000" | ||
diff --git a/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti-mainline_git.bb b/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti-mainline_git.bb index c58511f3..ba7a6e8d 100644 --- a/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti-mainline_git.bb +++ b/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti-mainline_git.bb | |||
@@ -2,10 +2,8 @@ require u-boot-ti.inc | |||
2 | 2 | ||
3 | SUMMARY = "Mainline U-Boot for TI devices" | 3 | SUMMARY = "Mainline U-Boot for TI devices" |
4 | 4 | ||
5 | PV = "2025.01" | 5 | PV = "2025.04" |
6 | 6 | ||
7 | UBOOT_GIT_URI = "git://source.denx.de/u-boot/u-boot.git" | 7 | UBOOT_GIT_URI = "git://source.denx.de/u-boot/u-boot.git" |
8 | 8 | ||
9 | SRC_URI += "file://0001-scripts-dtc-pylibfdt-libfdt.i_shipped-Use-SWIG_Appen.patch" | 9 | SRCREV = "34820924edbc4ec7803eb89d9852f4b870fa760a" |
10 | |||
11 | SRCREV = "6d41f0a39d6423c8e57e92ebbe9f8c0333a63f72" | ||
diff --git a/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti-staging_2025.01.bb b/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti-staging_2025.01.bb index eb2a22bf..57a29737 100644 --- a/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti-staging_2025.01.bb +++ b/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti-staging_2025.01.bb | |||
@@ -6,4 +6,4 @@ PR = "r0" | |||
6 | 6 | ||
7 | BRANCH = "ti-u-boot-2025.01" | 7 | BRANCH = "ti-u-boot-2025.01" |
8 | 8 | ||
9 | SRCREV = "70667128cb5b2c2a7621965ba948b5a56a2e756f" | 9 | SRCREV = "1d6ba4a32cdd8c987533d5789b5bc7b84c41fabe" |
diff --git a/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc b/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc index 41d4abdd..c348c99b 100644 --- a/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc +++ b/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc | |||
@@ -14,6 +14,8 @@ require u-boot-mergeconfig.inc | |||
14 | 14 | ||
15 | FILESEXTRAPATHS:prepend := "${THISDIR}/u-boot:" | 15 | FILESEXTRAPATHS:prepend := "${THISDIR}/u-boot:" |
16 | 16 | ||
17 | FILES:${PN}-falcon = "boot/tispl_falcon.bin" | ||
18 | |||
17 | SUMMARY = "u-boot bootloader for TI devices" | 19 | SUMMARY = "u-boot bootloader for TI devices" |
18 | 20 | ||
19 | LICENSE = "GPL-2.0-or-later" | 21 | LICENSE = "GPL-2.0-or-later" |
@@ -40,7 +42,13 @@ DEPENDS += "python3-pyelftools-native python3-pyyaml-native python3-jsonschema-n | |||
40 | DEPENDS:append:k3 = " ti-sci-fw" | 42 | DEPENDS:append:k3 = " ti-sci-fw" |
41 | DEPENDS:append:k3r5 = " ti-sci-fw" | 43 | DEPENDS:append:k3r5 = " ti-sci-fw" |
42 | 44 | ||
45 | # HSM Demo Firmware is only applicable for J721S2 & J784S4 devices | ||
46 | DEPENDS:append:j721s2 = " ti-hsm-demo-fw" | ||
47 | DEPENDS:append:j784s4 = " ti-hsm-demo-fw" | ||
48 | |||
43 | DM_FIRMWARE = "ipc_echo_testb_mcu1_0_release_strip.xer5f" | 49 | DM_FIRMWARE = "ipc_echo_testb_mcu1_0_release_strip.xer5f" |
50 | DM_FIRMWARE:am62axx = "dm_edgeai_mcu1_0_release_strip.out" | ||
51 | DM_FIRMWARE:am62pxx = "${@oe.utils.conditional('DISPLAY_CLUSTER_ENABLE', '1', 'dss_display_share.wkup-r5f0_0.release.strip.out', 'ipc_echo_testb_mcu1_0_release_strip.xer5f', d)}" | ||
44 | 52 | ||
45 | PLAT_SFX = "" | 53 | PLAT_SFX = "" |
46 | PLAT_SFX:j721e = "j721e" | 54 | PLAT_SFX:j721e = "j721e" |
@@ -53,13 +61,14 @@ PLAT_SFX:am65xx = "am65xx" | |||
53 | PLAT_SFX:am64xx = "am64xx" | 61 | PLAT_SFX:am64xx = "am64xx" |
54 | PLAT_SFX:am62xx = "am62xx" | 62 | PLAT_SFX:am62xx = "am62xx" |
55 | PLAT_SFX:am62axx = "am62axx" | 63 | PLAT_SFX:am62axx = "am62axx" |
64 | PLAT_SFX:am62dxx = "am62axx" | ||
56 | PLAT_SFX:am62lxx = "am62lxx" | 65 | PLAT_SFX:am62lxx = "am62lxx" |
57 | PLAT_SFX:am62pxx = "am62pxx" | 66 | PLAT_SFX:am62pxx = "am62pxx" |
58 | 67 | ||
59 | PACKAGECONFIG[ap-trusted-rom] = "BL1=${STAGING_DIR_HOST}/firmware/bl1.bin,,trusted-firmware-a" | 68 | PACKAGECONFIG[ap-trusted-rom] = "BL1=${STAGING_DIR_HOST}/firmware/bl1.bin,,trusted-firmware-a" |
60 | PACKAGECONFIG[atf] = "BL31=${STAGING_DIR_HOST}/firmware/bl31.bin,,trusted-firmware-a" | 69 | PACKAGECONFIG[atf] = "BL31=${STAGING_DIR_HOST}/firmware/bl31.bin,,trusted-firmware-a" |
61 | PACKAGECONFIG[optee] = "TEE=${STAGING_DIR_HOST}${nonarch_base_libdir}/firmware/bl32.bin,,optee-os" | 70 | PACKAGECONFIG[optee] = "TEE=${STAGING_DIR_HOST}${nonarch_base_libdir}/firmware/bl32.bin,,optee-os" |
62 | PACKAGECONFIG[dm] = "DM=${STAGING_DIR_HOST}${nonarch_base_libdir}/firmware/ti-dm/${PLAT_SFX}/${DM_FIRMWARE},,ti-dm-fw" | 71 | PACKAGECONFIG[dm] = "TI_DM=${STAGING_DIR_HOST}${nonarch_base_libdir}/firmware/ti-dm/${PLAT_SFX}/${DM_FIRMWARE},,ti-dm-fw" |
63 | 72 | ||
64 | PACKAGECONFIG:append:aarch64 = " atf optee" | 73 | PACKAGECONFIG:append:aarch64 = " atf optee" |
65 | PACKAGECONFIG:append:j721e = " dm" | 74 | PACKAGECONFIG:append:j721e = " dm" |
@@ -70,12 +79,13 @@ PACKAGECONFIG:append:j722s = " dm" | |||
70 | PACKAGECONFIG:append:j742s2 = " dm" | 79 | PACKAGECONFIG:append:j742s2 = " dm" |
71 | PACKAGECONFIG:append:am62xx = " dm" | 80 | PACKAGECONFIG:append:am62xx = " dm" |
72 | PACKAGECONFIG:append:am62axx = " dm" | 81 | PACKAGECONFIG:append:am62axx = " dm" |
82 | PACKAGECONFIG:append:am62dxx = " dm" | ||
73 | PACKAGECONFIG:append:am62lxx = " ap-trusted-rom" | 83 | PACKAGECONFIG:append:am62lxx = " ap-trusted-rom" |
74 | PACKAGECONFIG:append:am62pxx = " dm" | 84 | PACKAGECONFIG:append:am62pxx = " dm" |
75 | 85 | ||
76 | COMPATIBLE_MACHINE = "(ti-soc)" | 86 | COMPATIBLE_MACHINE = "(ti-soc)" |
77 | 87 | ||
78 | BINMAN_INDIRS="${STAGING_DIR_HOST}${nonarch_base_libdir}/firmware" | 88 | BINMAN_INDIRS = "${STAGING_DIR_HOST}${nonarch_base_libdir}/firmware" |
79 | 89 | ||
80 | EXTRA_OEMAKE += "${PACKAGECONFIG_CONFARGS} BINMAN_INDIRS=${BINMAN_INDIRS}" | 90 | EXTRA_OEMAKE += "${PACKAGECONFIG_CONFARGS} BINMAN_INDIRS=${BINMAN_INDIRS}" |
81 | 91 | ||
@@ -353,24 +363,26 @@ uboot_deploy:append () { | |||
353 | fi | 363 | fi |
354 | } | 364 | } |
355 | 365 | ||
356 | do_install:append:am62xx() { | ||
357 | install -d ${D}/boot | ||
358 | install -m 0644 ${S}/tools/logos/ti_logo_414x97_32bpp.bmp.gz ${D}/boot | ||
359 | } | ||
360 | |||
361 | do_deploy:append:am62xx() { | 366 | do_deploy:append:am62xx() { |
362 | install -d ${DEPLOYDIR} | 367 | install -d ${DEPLOYDIR} |
363 | install -m 0644 ${S}/tools/logos/ti_logo_414x97_32bpp.bmp.gz ${DEPLOYDIR} | 368 | install -m 0644 ${S}/tools/logos/ti_logo_414x97_32bpp.bmp.gz ${DEPLOYDIR} |
364 | } | 369 | } |
365 | 370 | ||
366 | do_install:append:am62pxx() { | ||
367 | install -d ${D}/boot | ||
368 | install -m 0644 ${S}/tools/logos/ti_logo_414x97_32bpp.bmp.gz ${D}/boot | ||
369 | } | ||
370 | |||
371 | do_deploy:append:am62pxx() { | 371 | do_deploy:append:am62pxx() { |
372 | install -d ${DEPLOYDIR} | 372 | install -d ${DEPLOYDIR} |
373 | install -m 0644 ${S}/tools/logos/ti_logo_414x97_32bpp.bmp.gz ${DEPLOYDIR} | 373 | install -m 0644 ${S}/tools/logos/ti_logo_414x97_32bpp.bmp.gz ${DEPLOYDIR} |
374 | } | 374 | } |
375 | 375 | ||
376 | do_install:append:ti-falcon() { | ||
377 | install -m 0644 ${B}/tispl_falcon.bin ${D}/boot | ||
378 | } | ||
379 | |||
380 | FALCON_PKG = "" | ||
381 | FALCON_PKG:ti-falcon = "${PN}-falcon " | ||
382 | |||
383 | PACKAGES:prepend:am62xx-evm = "${FALCON_PKG} " | ||
384 | PACKAGES:prepend:am62axx-evm = "${FALCON_PKG} " | ||
385 | PACKAGES:prepend:am62pxx-evm = "${FALCON_PKG} " | ||
386 | PACKAGES:prepend:am62xx-lp-evm = "${FALCON_PKG} " | ||
387 | |||
376 | TOOLCHAIN = "gcc" | 388 | TOOLCHAIN = "gcc" |
diff --git a/meta-ti-bsp/recipes-bsp/vis-fw/vis_01.50.07.15.bb b/meta-ti-bsp/recipes-bsp/vis-fw/vis_01.50.07.15.bb index c0e2595a..c83b2145 100644 --- a/meta-ti-bsp/recipes-bsp/vis-fw/vis_01.50.07.15.bb +++ b/meta-ti-bsp/recipes-bsp/vis-fw/vis_01.50.07.15.bb | |||
@@ -1,4 +1,4 @@ | |||
1 | DESCRIPTION = "Radio Application Firmware" | 1 | SUMMARY = "Radio Application Firmware" |
2 | LICENSE = "TI-TSPA" | 2 | LICENSE = "TI-TSPA" |
3 | LIC_FILES_CHKSUM = "file://${S}/J6_VIS_DEMO_LINUX_BINARY_01.50.07.15-Manifest.html;md5=a59aa54b9470f555cf086b91dca0afa3" | 3 | LIC_FILES_CHKSUM = "file://${S}/J6_VIS_DEMO_LINUX_BINARY_01.50.07.15-Manifest.html;md5=a59aa54b9470f555cf086b91dca0afa3" |
4 | 4 | ||
diff --git a/meta-ti-bsp/recipes-bsp/vpdma-fw/vpdma-fw_03-2012.bb b/meta-ti-bsp/recipes-bsp/vpdma-fw/vpdma-fw_03-2012.bb index 8af49577..a8d9d800 100644 --- a/meta-ti-bsp/recipes-bsp/vpdma-fw/vpdma-fw_03-2012.bb +++ b/meta-ti-bsp/recipes-bsp/vpdma-fw/vpdma-fw_03-2012.bb | |||
@@ -1,4 +1,4 @@ | |||
1 | DESCRIPTION = "VPDMA firmware for Video Input Port and Video Processing Engine" | 1 | SUMMARY = "VPDMA firmware for Video Input Port and Video Processing Engine" |
2 | 2 | ||
3 | LICENSE = "TI-TSPA" | 3 | LICENSE = "TI-TSPA" |
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=fd463c9500441ed91d07a0331baa635c" | 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=fd463c9500441ed91d07a0331baa635c" |
diff --git a/meta-ti-bsp/recipes-bsp/vpe-tests/vpe-tests_git.bb b/meta-ti-bsp/recipes-bsp/vpe-tests/vpe-tests_git.bb index 7f4e8b77..274cc735 100644 --- a/meta-ti-bsp/recipes-bsp/vpe-tests/vpe-tests_git.bb +++ b/meta-ti-bsp/recipes-bsp/vpe-tests/vpe-tests_git.bb | |||
@@ -1,4 +1,4 @@ | |||
1 | DESCRIPTION = "VPE test program" | 1 | SUMMARY = "VPE test program" |
2 | 2 | ||
3 | LICENSE = "BSD-3-Clause" | 3 | LICENSE = "BSD-3-Clause" |
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=74d2f71d8898c54e3d1c9d0058c484aa" | 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=74d2f71d8898c54e3d1c9d0058c484aa" |
diff --git a/meta-ti-bsp/recipes-devtools/k3conf/k3conf_git.bb b/meta-ti-bsp/recipes-devtools/k3conf/k3conf_git.bb index 77094c81..8691e523 100644 --- a/meta-ti-bsp/recipes-devtools/k3conf/k3conf_git.bb +++ b/meta-ti-bsp/recipes-devtools/k3conf/k3conf_git.bb | |||
@@ -10,7 +10,7 @@ PV = "0.3+git" | |||
10 | COMPATIBLE_MACHINE = "k3" | 10 | COMPATIBLE_MACHINE = "k3" |
11 | 11 | ||
12 | BRANCH ?= "master" | 12 | BRANCH ?= "master" |
13 | SRCREV = "30a1d5b2d08c0da39d4e62b3ebee591a9882fa21" | 13 | SRCREV = "ea9938bf9cafd9c0cb05ef060a713ab4ac72270f" |
14 | 14 | ||
15 | SRC_URI = "git://git.ti.com/git/k3conf/k3conf.git;protocol=https;branch=${BRANCH}" | 15 | SRC_URI = "git://git.ti.com/git/k3conf/k3conf.git;protocol=https;branch=${BRANCH}" |
16 | 16 | ||
diff --git a/meta-ti-bsp/recipes-graphics/libgal/ti-gc320-libs_5.0.11.p7.bb b/meta-ti-bsp/recipes-graphics/libgal/ti-gc320-libs_5.0.11.p7.bb index fc70e1ed..636ed359 100644 --- a/meta-ti-bsp/recipes-graphics/libgal/ti-gc320-libs_5.0.11.p7.bb +++ b/meta-ti-bsp/recipes-graphics/libgal/ti-gc320-libs_5.0.11.p7.bb | |||
@@ -1,4 +1,4 @@ | |||
1 | DESCRIPTION = "Userspace libraries for GC320 chipset on TI SoCs" | 1 | SUMMARY = "Userspace libraries for GC320 chipset on TI SoCs" |
2 | HOMEPAGE = "https://git.ti.com/graphics/ti-gc320-libs" | 2 | HOMEPAGE = "https://git.ti.com/graphics/ti-gc320-libs" |
3 | LICENSE = "TI-TSPA" | 3 | LICENSE = "TI-TSPA" |
4 | LIC_FILES_CHKSUM = "file://Manifest.html;md5=a9121e8936ace09820d23f7626daaca5" | 4 | LIC_FILES_CHKSUM = "file://Manifest.html;md5=a9121e8936ace09820d23f7626daaca5" |
diff --git a/meta-ti-bsp/recipes-graphics/mesa/mesa-pvr.inc b/meta-ti-bsp/recipes-graphics/mesa/mesa-pvr.inc new file mode 100644 index 00000000..45d5ada3 --- /dev/null +++ b/meta-ti-bsp/recipes-graphics/mesa/mesa-pvr.inc | |||
@@ -0,0 +1,370 @@ | |||
1 | # Copy of mesa.inc from OE-core before commit f9eb0468e45e ("mesa: upgrade 24.0.7 -> 25.0.2") | ||
2 | |||
3 | SUMMARY = "A free implementation of the OpenGL API" | ||
4 | DESCRIPTION = "Mesa is an open-source implementation of the OpenGL specification - \ | ||
5 | a system for rendering interactive 3D graphics. \ | ||
6 | A variety of device drivers allows Mesa to be used in many different environments \ | ||
7 | ranging from software emulation to complete hardware acceleration for modern GPUs. \ | ||
8 | Mesa is used as part of the overall Direct Rendering Infrastructure and X.org \ | ||
9 | environment." | ||
10 | |||
11 | HOMEPAGE = "http://mesa3d.org" | ||
12 | BUGTRACKER = "https://bugs.freedesktop.org" | ||
13 | SECTION = "x11" | ||
14 | LICENSE = "MIT" | ||
15 | LIC_FILES_CHKSUM = "file://docs/license.rst;md5=63779ec98d78d823a9dc533a0735ef10" | ||
16 | |||
17 | PE = "2" | ||
18 | |||
19 | SRC_URI = "https://archive.mesa3d.org/mesa-${PV}.tar.xz \ | ||
20 | file://0001-meson-misdetects-64bit-atomics-on-mips-clang.patch \ | ||
21 | file://0001-drisw-fix-build-without-dri3.patch \ | ||
22 | file://0002-glxext-don-t-try-zink-if-not-enabled-in-mesa.patch \ | ||
23 | file://0001-Revert-meson-do-not-pull-in-clc-for-clover.patch \ | ||
24 | file://0001-amd-Include-missing-llvm-IR-header-Module.h.patch \ | ||
25 | file://0001-freedreno-don-t-encode-build-path-into-binaries.patch\ | ||
26 | " | ||
27 | |||
28 | SRC_URI[sha256sum] = "7454425f1ed4a6f1b5b107e1672b30c88b22ea0efea000ae2c7d96db93f6c26a" | ||
29 | PV = "24.0.7" | ||
30 | |||
31 | UPSTREAM_CHECK_GITTAGREGEX = "mesa-(?P<pver>\d+(\.\d+)+)" | ||
32 | |||
33 | #because we cannot rely on the fact that all apps will use pkgconfig, | ||
34 | #make eglplatform.h independent of MESA_EGL_NO_X11_HEADER | ||
35 | do_install:append() { | ||
36 | # sed can't find EGL/eglplatform.h as it doesn't get installed when glvnd enabled. | ||
37 | # So, check if EGL/eglplatform.h exists before running sed. | ||
38 | if ${@bb.utils.contains('PACKAGECONFIG', 'egl', 'true', 'false', d)} && [ -f ${D}${includedir}/EGL/eglplatform.h ]; then | ||
39 | sed -i -e 's/^#elif defined(__unix__) && defined(EGL_NO_X11)$/#elif defined(__unix__) \&\& defined(EGL_NO_X11) || ${@bb.utils.contains('PACKAGECONFIG', 'x11', '0', '1', d)}/' ${D}${includedir}/EGL/eglplatform.h | ||
40 | fi | ||
41 | } | ||
42 | |||
43 | DEPENDS = "expat makedepend-native flex-native bison-native libxml2-native zlib chrpath-replacement-native python3-mako-native gettext-native" | ||
44 | DEPENDS:append:class-target = " ${@bb.utils.contains('PACKAGECONFIG', 'opencl', 'mesa-native', '', d)}" | ||
45 | EXTRANATIVEPATH += "chrpath-native" | ||
46 | PROVIDES = " \ | ||
47 | ${@bb.utils.contains('PACKAGECONFIG', 'opengl', 'virtual/libgl', '', d)} \ | ||
48 | ${@bb.utils.contains('PACKAGECONFIG', 'glvnd', 'virtual/libglx', '', d)} \ | ||
49 | ${@bb.utils.contains('PACKAGECONFIG', 'gles', 'virtual/libgles1 virtual/libgles2 virtual/libgles3', '', d)} \ | ||
50 | ${@bb.utils.contains('PACKAGECONFIG', 'egl', 'virtual/egl', '', d)} \ | ||
51 | ${@bb.utils.contains('PACKAGECONFIG', 'gbm', 'virtual/libgbm', '', d)} \ | ||
52 | virtual/mesa \ | ||
53 | " | ||
54 | |||
55 | inherit meson pkgconfig python3native gettext features_check | ||
56 | |||
57 | BBCLASSEXTEND = "native nativesdk" | ||
58 | |||
59 | ANY_OF_DISTRO_FEATURES = "opengl vulkan" | ||
60 | |||
61 | PLATFORMS ??= "${@bb.utils.filter('PACKAGECONFIG', 'x11 wayland', d)}" | ||
62 | |||
63 | # set the MESA_BUILD_TYPE to either 'release' (default) or 'debug' | ||
64 | # by default the upstream mesa sources build a debug release | ||
65 | # here we assume the user will want a release build by default | ||
66 | MESA_BUILD_TYPE ?= "release" | ||
67 | def check_buildtype(d): | ||
68 | _buildtype = d.getVar('MESA_BUILD_TYPE') | ||
69 | if _buildtype not in ['release', 'debug']: | ||
70 | bb.fatal("unknown build type (%s), please set MESA_BUILD_TYPE to either 'release' or 'debug'" % _buildtype) | ||
71 | if _buildtype == 'debug': | ||
72 | return 'debugoptimized' | ||
73 | return 'plain' | ||
74 | MESON_BUILDTYPE = "${@check_buildtype(d)}" | ||
75 | |||
76 | EXTRA_OEMESON = " \ | ||
77 | -Dshared-glapi=enabled \ | ||
78 | -Dglx-read-only-text=true \ | ||
79 | -Dplatforms='${@",".join("${PLATFORMS}".split())}' \ | ||
80 | " | ||
81 | |||
82 | EXTRA_OEMESON:append:class-target = " ${@bb.utils.contains('PACKAGECONFIG', 'opencl', '-Dintel-clc=system', '', d)}" | ||
83 | EXTRA_OEMESON:append:class-native = " ${@bb.utils.contains('PACKAGECONFIG', 'opencl', '-Dintel-clc=enabled', '', d)}" | ||
84 | |||
85 | def strip_comma(s): | ||
86 | return s.strip(',') | ||
87 | |||
88 | PACKAGECONFIG = " \ | ||
89 | gallium \ | ||
90 | video-codecs \ | ||
91 | ${@bb.utils.filter('DISTRO_FEATURES', 'x11 vulkan wayland', d)} \ | ||
92 | ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'opengl egl gles gbm virgl', '', d)} \ | ||
93 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11 opengl', 'dri3', '', d)} \ | ||
94 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11 vulkan', 'dri3', '', d)} \ | ||
95 | ${@bb.utils.contains('DISTRO_FEATURES', 'vulkan', 'zink', '', d)} \ | ||
96 | " | ||
97 | |||
98 | PACKAGECONFIG:append:class-native = " gallium-llvm r600" | ||
99 | |||
100 | # "gbm" requires "opengl" | ||
101 | PACKAGECONFIG[gbm] = "-Dgbm=enabled,-Dgbm=disabled" | ||
102 | |||
103 | X11_DEPS = "xorgproto virtual/libx11 libxext libxxf86vm libxdamage libxfixes xrandr" | ||
104 | # "x11" requires "opengl" | ||
105 | PACKAGECONFIG[x11] = ",-Dglx=disabled,${X11_DEPS}" | ||
106 | PACKAGECONFIG[wayland] = ",,wayland-native wayland libdrm wayland-protocols" | ||
107 | |||
108 | PACKAGECONFIG[dri3] = "-Ddri3=enabled, -Ddri3=disabled, xorgproto libxshmfence" | ||
109 | |||
110 | # Vulkan drivers need dri3 enabled | ||
111 | # amd could be enabled as well but requires gallium-llvm with llvm >= 3.9 | ||
112 | VULKAN_DRIVERS = "" | ||
113 | VULKAN_DRIVERS:append:x86 = ",intel,amd" | ||
114 | VULKAN_DRIVERS:append:x86-64 = ",intel,amd" | ||
115 | # i686 is a 32 bit override for mesa-native | ||
116 | VULKAN_DRIVERS:append:i686 = ",intel,amd" | ||
117 | VULKAN_DRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'freedreno', ',freedreno', '', d)}" | ||
118 | VULKAN_DRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'broadcom', ',broadcom', '', d)}" | ||
119 | VULKAN_DRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'gallium-llvm', ',swrast', '', d)}" | ||
120 | VULKAN_DRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'imagination', ',imagination-experimental', '', d)}" | ||
121 | PACKAGECONFIG[vulkan] = "-Dvulkan-drivers=${@strip_comma('${VULKAN_DRIVERS}')}, -Dvulkan-drivers='',glslang-native vulkan-loader vulkan-headers" | ||
122 | |||
123 | # mesa development and testing tools support, per driver | ||
124 | TOOLS = "" | ||
125 | TOOLS_DEPS = "" | ||
126 | TOOLS:append = "${@bb.utils.contains('PACKAGECONFIG', 'etnaviv', ',etnaviv', '', d)}" | ||
127 | TOOLS:append = "${@bb.utils.contains('PACKAGECONFIG', 'freedreno', ',freedreno', '', d)}" | ||
128 | TOOLS:append = "${@bb.utils.contains('PACKAGECONFIG', 'lima', ',lima', '', d)}" | ||
129 | TOOLS:append = "${@bb.utils.contains('PACKAGECONFIG', 'panfrost', ',panfrost', '', d)}" | ||
130 | TOOLS:append = "${@bb.utils.contains('PACKAGECONFIG', 'imagination', ',imagination', '', d)}" | ||
131 | |||
132 | # dependencies for tools. | ||
133 | TOOLS_DEPS:append = "${@bb.utils.contains('PACKAGECONFIG', 'freedreno', ' ncurses libxml2 ', '', d)}" | ||
134 | |||
135 | # the fdperf tool requires libconfig (a part of meta-oe) so it needs special | ||
136 | # treatment in addition to the usual 'freedreno tools'. | ||
137 | PACKAGECONFIG[freedreno-fdperf] = ",,libconfig" | ||
138 | |||
139 | PACKAGECONFIG[tools] = "-Dtools=${@strip_comma('${TOOLS}')}, -Dtools='', ${TOOLS_DEPS}" | ||
140 | |||
141 | PACKAGECONFIG[opengl] = "-Dopengl=true, -Dopengl=false" | ||
142 | PACKAGECONFIG[glvnd] = "-Dglvnd=true, -Dglvnd=false, libglvnd" | ||
143 | |||
144 | # "gles" requires "opengl" | ||
145 | PACKAGECONFIG[gles] = "-Dgles1=enabled -Dgles2=enabled, -Dgles1=disabled -Dgles2=disabled" | ||
146 | |||
147 | # "egl" requires "opengl" | ||
148 | PACKAGECONFIG[egl] = "-Degl=enabled, -Degl=disabled" | ||
149 | |||
150 | # "opencl" requires libclc from meta-clang and spirv-tools from OE-Core | ||
151 | OPENCL_NATIVE = "${@bb.utils.contains('PACKAGECONFIG', 'freedreno', '-Dopencl-native=true', '', d)}" | ||
152 | PACKAGECONFIG[opencl] = "-Dgallium-opencl=icd -Dopencl-spirv=true ${OPENCL_NATIVE},-Dgallium-opencl=disabled -Dopencl-spirv=false,libclc spirv-tools python3-ply-native" | ||
153 | |||
154 | PACKAGECONFIG[broadcom] = "" | ||
155 | PACKAGECONFIG[etnaviv] = ",,python3-pycparser-native" | ||
156 | PACKAGECONFIG[freedreno] = "" | ||
157 | PACKAGECONFIG[kmsro] = "" | ||
158 | PACKAGECONFIG[vc4] = "" | ||
159 | PACKAGECONFIG[v3d] = "" | ||
160 | PACKAGECONFIG[zink] = "" | ||
161 | |||
162 | GALLIUMDRIVERS = "swrast" | ||
163 | # gallium swrast was found to crash Xorg on startup in x32 qemu | ||
164 | GALLIUMDRIVERS:x86-x32 = "" | ||
165 | GALLIUMDRIVERS:append:x86 = ",i915,iris,crocus" | ||
166 | GALLIUMDRIVERS:append:x86-64 = ",i915,iris,crocus" | ||
167 | # i686 is a 32 bit override for mesa-native | ||
168 | GALLIUMDRIVERS:append:i686 = ",i915,iris,crocus" | ||
169 | |||
170 | GALLIUMDRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'etnaviv', ',etnaviv', '', d)}" | ||
171 | GALLIUMDRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'freedreno', ',freedreno', '', d)}" | ||
172 | GALLIUMDRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'kmsro', ',kmsro', '', d)}" | ||
173 | GALLIUMDRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'vc4', ',vc4', '', d)}" | ||
174 | GALLIUMDRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'v3d', ',v3d', '', d)}" | ||
175 | GALLIUMDRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'zink', ',zink', '', d)}" | ||
176 | |||
177 | # radeonsi requires LLVM | ||
178 | GALLIUMDRIVERS_RADEONSI = "${@bb.utils.contains('PACKAGECONFIG', 'r600', ',radeonsi', '', d)}" | ||
179 | GALLIUMDRIVERS_LLVM = ",r300,nouveau${GALLIUMDRIVERS_RADEONSI}" | ||
180 | GALLIUMDRIVERS_LLVM:append:x86 = ",svga" | ||
181 | GALLIUMDRIVERS_LLVM:append:x86-64 = ",svga" | ||
182 | # i686 is a 32 bit override for mesa-native | ||
183 | GALLIUMDRIVERS_LLVM:append:i686 = ",svga" | ||
184 | |||
185 | PACKAGECONFIG[r600] = "" | ||
186 | PACKAGECONFIG[virgl] = "" | ||
187 | |||
188 | GALLIUMDRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'gallium-llvm', '${GALLIUMDRIVERS_LLVM}', '', d)}" | ||
189 | GALLIUMDRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'r600', ',r600', '', d)}" | ||
190 | GALLIUMDRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'virgl', ',virgl', '', d)}" | ||
191 | |||
192 | PACKAGECONFIG[gallium] = "-Dgallium-drivers=${@strip_comma('${GALLIUMDRIVERS}')}, -Dgallium-drivers='', libdrm" | ||
193 | PACKAGECONFIG[gallium-llvm] = "-Dllvm=enabled -Dshared-llvm=enabled, -Dllvm=disabled, llvm llvm-native elfutils" | ||
194 | PACKAGECONFIG[xa] = "-Dgallium-xa=enabled, -Dgallium-xa=disabled" | ||
195 | PACKAGECONFIG[va] = "-Dgallium-va=enabled,-Dgallium-va=disabled,libva-initial" | ||
196 | PACKAGECONFIG[vdpau] = "-Dgallium-vdpau=enabled,-Dgallium-vdpau=disabled,libvdpau" | ||
197 | |||
198 | PACKAGECONFIG[imagination] = "-Dimagination-srv=true,-Dimagination-srv=false" | ||
199 | |||
200 | PACKAGECONFIG[lima] = "" | ||
201 | GALLIUMDRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'lima', ',lima', '', d)}" | ||
202 | |||
203 | PACKAGECONFIG[panfrost] = "" | ||
204 | GALLIUMDRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'panfrost', ',panfrost', '', d)}" | ||
205 | |||
206 | PACKAGECONFIG[tegra] = "" | ||
207 | GALLIUMDRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'tegra', ',tegra,nouveau', '', d)}" | ||
208 | |||
209 | PACKAGECONFIG[vulkan-beta] = "-Dvulkan-beta=true,-Dvulkan-beta=false" | ||
210 | |||
211 | PACKAGECONFIG[osmesa] = "-Dosmesa=true,-Dosmesa=false" | ||
212 | |||
213 | PACKAGECONFIG[perfetto] = "-Dperfetto=true,-Dperfetto=false,libperfetto" | ||
214 | |||
215 | PACKAGECONFIG[unwind] = "-Dlibunwind=enabled,-Dlibunwind=disabled,libunwind" | ||
216 | |||
217 | PACKAGECONFIG[lmsensors] = "-Dlmsensors=enabled,-Dlmsensors=disabled,lmsensors" | ||
218 | |||
219 | VIDEO_CODECS ?= "${@bb.utils.contains('LICENSE_FLAGS_ACCEPTED', 'commercial', 'all', 'all_free', d)}" | ||
220 | PACKAGECONFIG[video-codecs] = "-Dvideo-codecs=${VIDEO_CODECS}, -Dvideo-codecs=''" | ||
221 | |||
222 | # llvmpipe is slow if compiled with -fomit-frame-pointer (e.g. -O2) | ||
223 | FULL_OPTIMIZATION:append = " -fno-omit-frame-pointer" | ||
224 | |||
225 | CFLAGS:append:armv5 = " -DMISSING_64BIT_ATOMICS" | ||
226 | CFLAGS:append:armv6 = " -DMISSING_64BIT_ATOMICS" | ||
227 | |||
228 | # Remove the mesa dependency on mesa-dev, as mesa is empty | ||
229 | DEV_PKG_DEPENDENCY = "" | ||
230 | |||
231 | # GLES2 and GLES3 implementations are packaged in a single library in libgles2-mesa. | ||
232 | # Add a dependency so the GLES3 dev package is associated with its implementation. | ||
233 | RPROVIDES:libgles2-mesa += "libgles3-mesa" | ||
234 | RPROVIDES:libgles2-mesa-dev += "libgles3-mesa-dev" | ||
235 | |||
236 | RDEPENDS:libopencl-mesa += "${@bb.utils.contains('PACKAGECONFIG', 'opencl', 'libclc spirv-tools', '', d)}" | ||
237 | |||
238 | PACKAGES =+ "libegl-mesa libegl-mesa-dev \ | ||
239 | libosmesa libosmesa-dev \ | ||
240 | libgl-mesa libgl-mesa-dev \ | ||
241 | libglx-mesa libglx-mesa-dev \ | ||
242 | libglapi libglapi-dev \ | ||
243 | libgbm libgbm-dev \ | ||
244 | libgles1-mesa libgles1-mesa-dev \ | ||
245 | libgles2-mesa libgles2-mesa-dev \ | ||
246 | libopencl-mesa libopencl-mesa-dev \ | ||
247 | libxatracker libxatracker-dev \ | ||
248 | mesa-megadriver mesa-vulkan-drivers \ | ||
249 | mesa-vdpau-drivers mesa-tools \ | ||
250 | " | ||
251 | |||
252 | do_install:append () { | ||
253 | # Drivers never need libtool .la files | ||
254 | rm -f ${D}${libdir}/dri/*.la | ||
255 | rm -f ${D}${libdir}/egl/*.la | ||
256 | rm -f ${D}${libdir}/gallium-pipe/*.la | ||
257 | rm -f ${D}${libdir}/gbm/*.la | ||
258 | |||
259 | # libwayland-egl has been moved to wayland 1.15+ | ||
260 | rm -f ${D}${libdir}/libwayland-egl* | ||
261 | rm -f ${D}${libdir}/pkgconfig/wayland-egl.pc | ||
262 | } | ||
263 | |||
264 | do_install:append:class-native () { | ||
265 | if ${@bb.utils.contains('PACKAGECONFIG', 'opencl', 'true', 'false', d)}; then | ||
266 | install -d ${D}${bindir} | ||
267 | install -m0755 ${B}/src/intel/compiler/intel_clc ${D}${bindir} | ||
268 | fi | ||
269 | } | ||
270 | |||
271 | # For the packages that make up the OpenGL interfaces, inject variables so that | ||
272 | # they don't get Debian-renamed (which would remove the -mesa suffix), and | ||
273 | # RPROVIDEs/RCONFLICTs on the generic libgl name. | ||
274 | python __anonymous() { | ||
275 | pkgconfig = (d.getVar('PACKAGECONFIG') or "").split() | ||
276 | suffix = "" | ||
277 | if "-native" in d.getVar("PN"): | ||
278 | suffix = "-native" | ||
279 | for p in (("egl", "libegl", "libegl1"), | ||
280 | ("opengl", "libgl", "libgl1"), | ||
281 | ("glvnd", "libglx",), | ||
282 | ("gles", "libgles1", "libglesv1-cm1"), | ||
283 | ("gles", "libgles2", "libglesv2-2", "libgles3"), | ||
284 | ("opencl", "libopencl",)): | ||
285 | if not p[0] in pkgconfig: | ||
286 | continue | ||
287 | mlprefix = d.getVar("MLPREFIX") | ||
288 | fullp = mlprefix + p[1] + "-mesa" + suffix | ||
289 | mlprefix = d.getVar("MLPREFIX") | ||
290 | pkgs = " " + " ".join(mlprefix + x + suffix for x in p[1:]) | ||
291 | d.setVar("DEBIAN_NOAUTONAME:" + fullp, "1") | ||
292 | d.appendVar("RREPLACES:" + fullp, pkgs) | ||
293 | d.appendVar("RPROVIDES:" + fullp, pkgs) | ||
294 | d.appendVar("RCONFLICTS:" + fullp, pkgs) | ||
295 | |||
296 | d.appendVar("RRECOMMENDS:" + fullp, " ${MLPREFIX}mesa-megadriver" + suffix) | ||
297 | |||
298 | # For -dev, the first element is both the Debian and original name | ||
299 | fullp = mlprefix + p[1] + "-mesa-dev" + suffix | ||
300 | pkgs = " " + mlprefix + p[1] + "-dev" + suffix | ||
301 | d.setVar("DEBIAN_NOAUTONAME:" + fullp, "1") | ||
302 | d.appendVar("RREPLACES:" + fullp, pkgs) | ||
303 | d.appendVar("RPROVIDES:" + fullp, pkgs) | ||
304 | d.appendVar("RCONFLICTS:" + fullp, pkgs) | ||
305 | } | ||
306 | |||
307 | python mesa_populate_packages() { | ||
308 | pkgs = ['mesa', 'mesa-dev', 'mesa-dbg'] | ||
309 | for pkg in pkgs: | ||
310 | d.setVar("RPROVIDES:%s" % pkg, pkg.replace("mesa", "mesa-dri", 1)) | ||
311 | d.setVar("RCONFLICTS:%s" % pkg, pkg.replace("mesa", "mesa-dri", 1)) | ||
312 | d.setVar("RREPLACES:%s" % pkg, pkg.replace("mesa", "mesa-dri", 1)) | ||
313 | |||
314 | import re | ||
315 | dri_drivers_root = oe.path.join(d.getVar('PKGD'), d.getVar('libdir'), "dri") | ||
316 | if os.path.isdir(dri_drivers_root): | ||
317 | dri_pkgs = sorted(os.listdir(dri_drivers_root)) | ||
318 | lib_name = d.expand("${MLPREFIX}mesa-megadriver") | ||
319 | for p in dri_pkgs: | ||
320 | m = re.match(r'^(.*)_dri\.so$', p) | ||
321 | if m: | ||
322 | pkg_name = " ${MLPREFIX}mesa-driver-%s" % legitimize_package_name(m.group(1)) | ||
323 | d.appendVar("RPROVIDES:%s" % lib_name, pkg_name) | ||
324 | d.appendVar("RCONFLICTS:%s" % lib_name, pkg_name) | ||
325 | d.appendVar("RREPLACES:%s" % lib_name, pkg_name) | ||
326 | |||
327 | pipe_drivers_root = os.path.join(d.getVar('libdir'), "gallium-pipe") | ||
328 | do_split_packages(d, pipe_drivers_root, r'^pipe_(.*)\.so$', 'mesa-driver-pipe-%s', 'Mesa %s pipe driver', extra_depends='') | ||
329 | } | ||
330 | |||
331 | PACKAGESPLITFUNCS =+ "mesa_populate_packages" | ||
332 | |||
333 | PACKAGES_DYNAMIC += "^mesa-driver-.*" | ||
334 | PACKAGES_DYNAMIC:class-native = "^mesa-driver-.*-native" | ||
335 | |||
336 | FILES:mesa-megadriver = "${libdir}/dri/* ${datadir}/drirc.d" | ||
337 | FILES:mesa-vulkan-drivers = "${libdir}/libvulkan_*.so ${libdir}/libpowervr_rogue.so ${datadir}/vulkan" | ||
338 | FILES:${PN}-vdpau-drivers = "${libdir}/vdpau/*.so.*" | ||
339 | FILES:libegl-mesa = "${libdir}/libEGL*.so.* ${datadir}/glvnd/egl_vendor.d" | ||
340 | FILES:libgbm = "${libdir}/libgbm.so.*" | ||
341 | FILES:libgles1-mesa = "${libdir}/libGLESv1*.so.*" | ||
342 | FILES:libgles2-mesa = "${libdir}/libGLESv2.so.*" | ||
343 | FILES:libgl-mesa = "${libdir}/libGL.so.*" | ||
344 | FILES:libglx-mesa = "${libdir}/libGLX*.so.*" | ||
345 | FILES:libopencl-mesa = "${libdir}/libMesaOpenCL.so.* ${libdir}/gallium-pipe/*.so ${sysconfdir}/OpenCL/vendors/mesa.icd" | ||
346 | FILES:libglapi = "${libdir}/libglapi.so.*" | ||
347 | FILES:libosmesa = "${libdir}/libOSMesa.so.*" | ||
348 | FILES:libxatracker = "${libdir}/libxatracker.so.*" | ||
349 | |||
350 | FILES:${PN}-dev = "${libdir}/pkgconfig/dri.pc ${includedir}/vulkan ${libdir}/vdpau/*.so" | ||
351 | FILES:libegl-mesa-dev = "${libdir}/libEGL*.* ${includedir}/EGL ${includedir}/KHR ${libdir}/pkgconfig/egl.pc" | ||
352 | FILES:libgbm-dev = "${libdir}/libgbm.* ${libdir}/pkgconfig/gbm.pc ${includedir}/gbm.h" | ||
353 | FILES:libgl-mesa-dev = "${libdir}/libGL.* ${includedir}/GL ${libdir}/pkgconfig/gl.pc" | ||
354 | FILES:libglx-mesa-dev = "${libdir}/libGLX*.*" | ||
355 | FILES:libglapi-dev = "${libdir}/libglapi.*" | ||
356 | FILES:libgles1-mesa-dev = "${libdir}/libGLESv1*.* ${includedir}/GLES ${libdir}/pkgconfig/glesv1*.pc" | ||
357 | FILES:libgles2-mesa-dev = "${libdir}/libGLESv2.* ${includedir}/GLES2 ${includedir}/GLES3 ${libdir}/pkgconfig/glesv2.pc" | ||
358 | FILES:libopencl-mesa-dev = "${libdir}/libMesaOpenCL.so" | ||
359 | FILES:libosmesa-dev = "${libdir}/libOSMesa.* ${includedir}/GL/osmesa.h ${libdir}/pkgconfig/osmesa.pc" | ||
360 | FILES:libxatracker-dev = "${libdir}/libxatracker.so ${libdir}/libxatracker.la \ | ||
361 | ${includedir}/xa_tracker.h ${includedir}/xa_composite.h ${includedir}/xa_context.h \ | ||
362 | ${libdir}/pkgconfig/xatracker.pc" | ||
363 | # catch all to get all the tools and data | ||
364 | FILES:${PN}-tools = "${bindir} ${datadir}" | ||
365 | ALLOW_EMPTY:${PN}-tools = "1" | ||
366 | |||
367 | # Fix upgrade path from mesa to mesa-megadriver | ||
368 | RREPLACES:mesa-megadriver = "mesa" | ||
369 | RCONFLICTS:mesa-megadriver = "mesa" | ||
370 | RPROVIDES:mesa-megadriver = "mesa" | ||
diff --git a/meta-ti-bsp/recipes-graphics/mesa/mesa-pvr_22.3.5.bb b/meta-ti-bsp/recipes-graphics/mesa/mesa-pvr_22.3.5.bb index bdc9ce16..cdf3cd83 100644 --- a/meta-ti-bsp/recipes-graphics/mesa/mesa-pvr_22.3.5.bb +++ b/meta-ti-bsp/recipes-graphics/mesa/mesa-pvr_22.3.5.bb | |||
@@ -2,9 +2,9 @@ | |||
2 | # upstream yet. This allows us to build the shims we need without completely | 2 | # upstream yet. This allows us to build the shims we need without completely |
3 | # clobbering mesa. | 3 | # clobbering mesa. |
4 | 4 | ||
5 | require recipes-graphics/mesa/mesa.inc | 5 | require recipes-graphics/mesa/mesa-pvr.inc |
6 | 6 | ||
7 | SUMMARY += " (with PowerVR support for TI platforms)" | 7 | SUMMARY += " (with PowerVR for TI parts)" |
8 | 8 | ||
9 | LIC_FILES_CHKSUM = "file://docs/license.rst;md5=63779ec98d78d823a9dc533a0735ef10" | 9 | LIC_FILES_CHKSUM = "file://docs/license.rst;md5=63779ec98d78d823a9dc533a0735ef10" |
10 | 10 | ||
diff --git a/meta-ti-bsp/recipes-graphics/mesa/mesa-pvr_24.0.1.bb b/meta-ti-bsp/recipes-graphics/mesa/mesa-pvr_24.0.1.bb index 1ac022d2..1697dc80 100644 --- a/meta-ti-bsp/recipes-graphics/mesa/mesa-pvr_24.0.1.bb +++ b/meta-ti-bsp/recipes-graphics/mesa/mesa-pvr_24.0.1.bb | |||
@@ -2,9 +2,9 @@ | |||
2 | # upstream yet. This allows us to build the shims we need without completely | 2 | # upstream yet. This allows us to build the shims we need without completely |
3 | # clobbering mesa. | 3 | # clobbering mesa. |
4 | 4 | ||
5 | require recipes-graphics/mesa/mesa.inc | 5 | require recipes-graphics/mesa/mesa-pvr.inc |
6 | 6 | ||
7 | SUMMARY += " (with PowerVR support for TI platforms)" | 7 | SUMMARY += " (with PowerVR for TI parts)" |
8 | 8 | ||
9 | LIC_FILES_CHKSUM = "file://docs/license.rst;md5=63779ec98d78d823a9dc533a0735ef10" | 9 | LIC_FILES_CHKSUM = "file://docs/license.rst;md5=63779ec98d78d823a9dc533a0735ef10" |
10 | 10 | ||
diff --git a/meta-ti-bsp/recipes-graphics/powervr-umlibs/ti-img-rogue-umlibs_23.3.6512818.bb b/meta-ti-bsp/recipes-graphics/powervr-umlibs/ti-img-rogue-umlibs_23.3.6512818.bb index 675edc14..592a0e80 100644 --- a/meta-ti-bsp/recipes-graphics/powervr-umlibs/ti-img-rogue-umlibs_23.3.6512818.bb +++ b/meta-ti-bsp/recipes-graphics/powervr-umlibs/ti-img-rogue-umlibs_23.3.6512818.bb | |||
@@ -1,4 +1,4 @@ | |||
1 | DESCRIPTION = "Userspace libraries for PowerVR Rogue GPU on TI SoCs" | 1 | SUMMARY = "Userspace libraries for PowerVR Rogue GPU on TI SoCs" |
2 | HOMEPAGE = "http://git.ti.com/graphics/ti-img-rogue-umlibs" | 2 | HOMEPAGE = "http://git.ti.com/graphics/ti-img-rogue-umlibs" |
3 | LICENSE = "TI-TFL" | 3 | LICENSE = "TI-TFL" |
4 | LIC_FILES_CHKSUM = "file://${WORKDIR}/git/LICENSE;md5=7232b98c1c58f99e3baa03de5207e76f" | 4 | LIC_FILES_CHKSUM = "file://${WORKDIR}/git/LICENSE;md5=7232b98c1c58f99e3baa03de5207e76f" |
diff --git a/meta-ti-bsp/recipes-graphics/powervr-umlibs/ti-img-rogue-umlibs_24.2.6643903.bb b/meta-ti-bsp/recipes-graphics/powervr-umlibs/ti-img-rogue-umlibs_24.2.6643903.bb index 565e92eb..57f48fec 100644 --- a/meta-ti-bsp/recipes-graphics/powervr-umlibs/ti-img-rogue-umlibs_24.2.6643903.bb +++ b/meta-ti-bsp/recipes-graphics/powervr-umlibs/ti-img-rogue-umlibs_24.2.6643903.bb | |||
@@ -1,4 +1,4 @@ | |||
1 | DESCRIPTION = "Userspace libraries for PowerVR Rogue GPU on TI SoCs" | 1 | SUMMARY = "Userspace libraries for PowerVR Rogue GPU on TI SoCs" |
2 | HOMEPAGE = "http://git.ti.com/graphics/ti-img-rogue-umlibs" | 2 | HOMEPAGE = "http://git.ti.com/graphics/ti-img-rogue-umlibs" |
3 | LICENSE = "TI-TFL" | 3 | LICENSE = "TI-TFL" |
4 | LIC_FILES_CHKSUM = "file://${WORKDIR}/git/LICENSE;md5=7232b98c1c58f99e3baa03de5207e76f" | 4 | LIC_FILES_CHKSUM = "file://${WORKDIR}/git/LICENSE;md5=7232b98c1c58f99e3baa03de5207e76f" |
diff --git a/meta-ti-bsp/recipes-graphics/powervr-umlibs/ti-sgx-ddk-um_1.17.4948957.bb b/meta-ti-bsp/recipes-graphics/powervr-umlibs/ti-sgx-ddk-um_1.17.4948957.bb index 21968fd8..b260abdf 100644 --- a/meta-ti-bsp/recipes-graphics/powervr-umlibs/ti-sgx-ddk-um_1.17.4948957.bb +++ b/meta-ti-bsp/recipes-graphics/powervr-umlibs/ti-sgx-ddk-um_1.17.4948957.bb | |||
@@ -1,4 +1,4 @@ | |||
1 | DESCRIPTION = "Userspace libraries for PowerVR SGX chipset on TI SoCs" | 1 | SUMMARY = "Userspace libraries for PowerVR SGX chipset on TI SoCs" |
2 | HOMEPAGE = "https://git.ti.com/graphics/omap5-sgx-ddk-um-linux" | 2 | HOMEPAGE = "https://git.ti.com/graphics/omap5-sgx-ddk-um-linux" |
3 | LICENSE = "TI-TSPA" | 3 | LICENSE = "TI-TSPA" |
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=7232b98c1c58f99e3baa03de5207e76f" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=7232b98c1c58f99e3baa03de5207e76f" |
diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.12.bb b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.12.bb index 9f1c96d3..c250a9a2 100644 --- a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.12.bb +++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.12.bb | |||
@@ -23,8 +23,8 @@ S = "${WORKDIR}/git" | |||
23 | 23 | ||
24 | BRANCH ?= "ti-linux-6.12.y" | 24 | BRANCH ?= "ti-linux-6.12.y" |
25 | 25 | ||
26 | SRCREV ?= "cdcaeac783e31f18edb6cb44b526228f44023b45" | 26 | SRCREV ?= "b0afb35642d79e776a4cf940945367cef87ba127" |
27 | PV = "6.12.17+git" | 27 | PV = "6.12.24+git" |
28 | 28 | ||
29 | KERNEL_REPRODUCIBILITY_PATCHES = " \ | 29 | KERNEL_REPRODUCIBILITY_PATCHES = " \ |
30 | file://0001-drivers-gpu-drm-msm-registers-improve-reproducibilit.patch \ | 30 | file://0001-drivers-gpu-drm-msm-registers-improve-reproducibilit.patch \ |
diff --git a/meta-ti-bsp/recipes-security/optee/optee-os-ti-overrides.inc b/meta-ti-bsp/recipes-security/optee/optee-os-ti-overrides.inc index ae6cca74..d1de4368 100644 --- a/meta-ti-bsp/recipes-security/optee/optee-os-ti-overrides.inc +++ b/meta-ti-bsp/recipes-security/optee/optee-os-ti-overrides.inc | |||
@@ -3,12 +3,13 @@ inherit ti-secdev | |||
3 | 3 | ||
4 | EXTRA_OEMAKE:remove = "CFG_MAP_EXT_DT_SECURE=y" | 4 | EXTRA_OEMAKE:remove = "CFG_MAP_EXT_DT_SECURE=y" |
5 | 5 | ||
6 | EXTRA_OEMAKE:append:k3 = "${@ ' CFG_CONSOLE_UART='+ d.getVar('OPTEE_K3_USART') if d.getVar('OPTEE_K3_USART') else ''}" | 6 | EXTRA_OEMAKE:append:k3 = " ${@ 'CFG_CONSOLE_UART='+ d.getVar('OPTEE_K3_USART') if d.getVar('OPTEE_K3_USART') else ''}" |
7 | 7 | ||
8 | EXTRA_OEMAKE:append:am62xx = " CFG_TEE_CORE_LOG_LEVEL=1" | 8 | EXTRA_OEMAKE:append:am62xx = " CFG_TEE_CORE_LOG_LEVEL=1" |
9 | EXTRA_OEMAKE:append:am62lxx = " CFG_TEE_CORE_LOG_LEVEL=1" | 9 | EXTRA_OEMAKE:append:am62lxx = " CFG_TEE_CORE_LOG_LEVEL=1" |
10 | EXTRA_OEMAKE:append:am62pxx = " CFG_TEE_CORE_LOG_LEVEL=1" | 10 | EXTRA_OEMAKE:append:am62pxx = " CFG_TEE_CORE_LOG_LEVEL=1" |
11 | EXTRA_OEMAKE:append:am62axx = " CFG_TEE_CORE_LOG_LEVEL=1" | 11 | EXTRA_OEMAKE:append:am62axx = " CFG_TEE_CORE_LOG_LEVEL=1" |
12 | EXTRA_OEMAKE:append:am62dxx = " CFG_TEE_CORE_LOG_LEVEL=1" | ||
12 | EXTRA_OEMAKE:append:j722s = " CFG_TEE_CORE_LOG_LEVEL=1" | 13 | EXTRA_OEMAKE:append:j722s = " CFG_TEE_CORE_LOG_LEVEL=1" |
13 | 14 | ||
14 | do_compile:append:k3() { | 15 | do_compile:append:k3() { |
diff --git a/meta-ti-bsp/recipes-security/optee/optee-test-ti-version.inc b/meta-ti-bsp/recipes-security/optee/optee-test-ti-version.inc index 3c1fedc9..e4b3a384 100644 --- a/meta-ti-bsp/recipes-security/optee/optee-test-ti-version.inc +++ b/meta-ti-bsp/recipes-security/optee/optee-test-ti-version.inc | |||
@@ -1,2 +1,5 @@ | |||
1 | FILESEXTRAPATHS:prepend := "${THISDIR}/optee-test:" | ||
2 | |||
1 | PV = "4.4.0+git" | 3 | PV = "4.4.0+git" |
2 | SRCREV = "695231ef8987866663a9ed5afd8f77d1bae3dc08" | 4 | SRCREV = "695231ef8987866663a9ed5afd8f77d1bae3dc08" |
5 | SRC_URI += "file://0001-Suppress-new-gcc-15-Wunterminated-string-initializat.patch" | ||
diff --git a/meta-ti-bsp/recipes-security/optee/optee-test/0001-Suppress-new-gcc-15-Wunterminated-string-initializat.patch b/meta-ti-bsp/recipes-security/optee/optee-test/0001-Suppress-new-gcc-15-Wunterminated-string-initializat.patch new file mode 100644 index 00000000..018952f8 --- /dev/null +++ b/meta-ti-bsp/recipes-security/optee/optee-test/0001-Suppress-new-gcc-15-Wunterminated-string-initializat.patch | |||
@@ -0,0 +1,68 @@ | |||
1 | From a8e58203dcb4c13ee340259cd2692202ac8414d1 Mon Sep 17 00:00:00 2001 | ||
2 | From: Denys Dmytriyenko <denys@konsulko.com> | ||
3 | Date: Tue, 6 May 2025 21:35:55 -0400 | ||
4 | Subject: [PATCH] Suppress new gcc-15 -Wunterminated-string-initialization | ||
5 | |||
6 | GCC 15 now warns when character arrays are being initialized by strings | ||
7 | and terminating NUL character doesn't fit. GCC 15.1 also allows marking | ||
8 | such arrays with nonstring attribute to suppress the warning. W/o such | ||
9 | attribute, the warning becomes error due to the global -Werror. Add the | ||
10 | attribute accordingly. | ||
11 | |||
12 | Fixes these errors: | ||
13 | |||
14 | | ./regression_4000_data.h:7919:9: error: initializer-string for array of 'unsigned char' truncates NUL terminator but destination lacks 'nonstring' attribute (20 chars into 19 available) [-Werror=unterminated-string-initialization] | ||
15 | | 7919 | "encryption standard"; | ||
16 | | | ^~~~~~~~~~~~~~~~~~~~~ | ||
17 | | ./regression_4000_data.h:8387:9: error: initializer-string for array of 'unsigned char' truncates NUL terminator but destination lacks 'nonstring' attribute (113 chars into 112 available) [-Werror=unterminated-string-initialization] | ||
18 | | 8387 | "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomn" | ||
19 | | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
20 | | ./regression_4000.c:1295:47: error: initializer-string for array of 'unsigned char' truncates NUL terminator but destination lacks 'nonstring' attribute (4 chars into 3 available) [-Werror=unterminated-string-initialization] | ||
21 | | 1295 | static const uint8_t hash_data_sm3_a1_in[3] = "abc"; | ||
22 | | | ^~~~~ | ||
23 | |||
24 | Upstream-Status: Pending | ||
25 | |||
26 | Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> | ||
27 | --- | ||
28 | host/xtest/regression_4000.c | 2 +- | ||
29 | host/xtest/regression_4000_data.h | 4 ++-- | ||
30 | 2 files changed, 3 insertions(+), 3 deletions(-) | ||
31 | |||
32 | diff --git a/host/xtest/regression_4000.c b/host/xtest/regression_4000.c | ||
33 | index 3aa15be..46e6f8e 100644 | ||
34 | --- a/host/xtest/regression_4000.c | ||
35 | +++ b/host/xtest/regression_4000.c | ||
36 | @@ -1292,7 +1292,7 @@ static const uint8_t hash_data_shake256_out2[] = { | ||
37 | * https://tools.ietf.org/html/draft-sca-cfrg-sm3-02 | ||
38 | * Appendix A.1 | ||
39 | */ | ||
40 | -static const uint8_t hash_data_sm3_a1_in[3] = "abc"; | ||
41 | +static const uint8_t hash_data_sm3_a1_in[3] __attribute__((nonstring)) = "abc"; | ||
42 | |||
43 | static const uint8_t hash_data_sm3_a1_out[] = { | ||
44 | 0x66, 0xc7, 0xf0, 0xf4, 0x62, 0xee, 0xed, 0xd9, | ||
45 | diff --git a/host/xtest/regression_4000_data.h b/host/xtest/regression_4000_data.h | ||
46 | index 0881ac3..eb101b2 100644 | ||
47 | --- a/host/xtest/regression_4000_data.h | ||
48 | +++ b/host/xtest/regression_4000_data.h | ||
49 | @@ -7914,7 +7914,7 @@ static struct derive_key_ecdh_t { | ||
50 | }; | ||
51 | |||
52 | /* G/MT 0003 (SM2) Part 5 Annex C.2 - encryption/decryption */ | ||
53 | -static const uint8_t gmt_0003_part5_c2_sm2_testvector_ptx[19] = | ||
54 | +static const uint8_t gmt_0003_part5_c2_sm2_testvector_ptx[19] __attribute__((nonstring)) = | ||
55 | /* M */ | ||
56 | "encryption standard"; | ||
57 | static const uint8_t gmt_0003_part5_c2_sm2_testvector_private[] = { | ||
58 | @@ -8383,7 +8383,7 @@ static const uint8_t mac_data_sha3_512_out1[] = { | ||
59 | * GM/T 0042-2015 | ||
60 | * Section D.3 Test vector 1 | ||
61 | */ | ||
62 | -static const uint8_t mac_data_sm3_d31_in[112] = | ||
63 | +static const uint8_t mac_data_sm3_d31_in[112] __attribute__((nonstring)) = | ||
64 | "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomn" | ||
65 | "opnopqabcdbcdecdefdefgefghfghighijhijkijkljklmklmn" | ||
66 | "lmnomnopnopq"; | ||
67 | -- | ||
68 | 2.25.1 | ||
diff --git a/meta-ti-bsp/recipes-ti/ipc/ti-ipc.inc b/meta-ti-bsp/recipes-ti/ipc/ti-ipc.inc index 44be2466..c6dfc517 100644 --- a/meta-ti-bsp/recipes-ti/ipc/ti-ipc.inc +++ b/meta-ti-bsp/recipes-ti/ipc/ti-ipc.inc | |||
@@ -1,5 +1,6 @@ | |||
1 | SUMMARY = "TI Inter Process Communication (IPC) Mechanisms" | ||
1 | DESCRIPTION = "TI Inter Process Communication (IPC) Mechanisms (for Uni- and Multi- Processor Configurations)" | 2 | DESCRIPTION = "TI Inter Process Communication (IPC) Mechanisms (for Uni- and Multi- Processor Configurations)" |
2 | HOMEPAGE="http://processors.wiki.ti.com/index.php/Category:IPC" | 3 | HOMEPAGE = "http://processors.wiki.ti.com/index.php/Category:IPC" |
3 | 4 | ||
4 | LICENSE = "BSD-3-Clause" | 5 | LICENSE = "BSD-3-Clause" |
5 | LIC_FILES_CHKSUM = "file://${S}/ipc-linux.mak;beginline=1;endline=30;md5=7b327f9b710fd7c95e545b91cec79255" | 6 | LIC_FILES_CHKSUM = "file://${S}/ipc-linux.mak;beginline=1;endline=30;md5=7b327f9b710fd7c95e545b91cec79255" |
diff --git a/meta-ti-bsp/recipes-ti/ipc/ti-ipc_git.bb b/meta-ti-bsp/recipes-ti/ipc/ti-ipc_git.bb index 431f245f..539a83f9 100644 --- a/meta-ti-bsp/recipes-ti/ipc/ti-ipc_git.bb +++ b/meta-ti-bsp/recipes-ti/ipc/ti-ipc_git.bb | |||
@@ -1,5 +1,6 @@ | |||
1 | SUMMARY = "TI Inter Process Communication (IPC) Mechanisms" | ||
1 | DESCRIPTION = "TI Inter Process Communication (IPC) Mechanisms (for Uni- and Multi- Processor Configurations)" | 2 | DESCRIPTION = "TI Inter Process Communication (IPC) Mechanisms (for Uni- and Multi- Processor Configurations)" |
2 | HOMEPAGE="http://processors.wiki.ti.com/index.php/Category:IPC" | 3 | HOMEPAGE = "http://processors.wiki.ti.com/index.php/Category:IPC" |
3 | 4 | ||
4 | require ti-ipc.inc | 5 | require ti-ipc.inc |
5 | require ti-ipc-common.inc | 6 | require ti-ipc-common.inc |
diff --git a/meta-ti-bsp/recipes-ti/secdev/ti-k3-secdev_git.bb b/meta-ti-bsp/recipes-ti/secdev/ti-k3-secdev_git.bb index e3267a23..543868a4 100644 --- a/meta-ti-bsp/recipes-ti/secdev/ti-k3-secdev_git.bb +++ b/meta-ti-bsp/recipes-ti/secdev/ti-k3-secdev_git.bb | |||
@@ -1,4 +1,4 @@ | |||
1 | DESCRIPTION = "Security development tools for High-Security(HS) TI K3 processors." | 1 | SUMMARY = "Security development tools for High-Security(HS) TI K3 processors." |
2 | HOMEPAGE = "https://git.ti.com/cgit/security-development-tools/core-secdev-k3" | 2 | HOMEPAGE = "https://git.ti.com/cgit/security-development-tools/core-secdev-k3" |
3 | SECTION = "devel" | 3 | SECTION = "devel" |
4 | LICENSE = "BSD-3-Clause" | 4 | LICENSE = "BSD-3-Clause" |