1
0
mirror of https://git.yoctoproject.org/meta-ti synced 2026-01-12 01:20:20 +00:00

Compare commits

...

12 Commits

Author SHA1 Message Date
Denys Dmytriyenko
5357bcf01c trusted-firmware-a: override named SRC_URI and SRCREV
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-05-21 01:04:31 +00:00
Dan Murphy
23ae1c7a05 u-boot-ti-staging: update to 07.00.00.003 tag
Signed-off-by: Dan Murphy <dmurphy@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-05-21 01:04:05 +00:00
Dan Murphy
609a14ffaa linux-ti-staging: update to 5.4.40 and 07.00.00.003 tag
Signed-off-by: Dan Murphy <dmurphy@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-05-21 01:03:49 +00:00
Denys Dmytriyenko
0f99cfb94c trusted-firmware-a: upstreamed and unified to meta-arm, drop locally
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-05-19 20:30:29 +00:00
Prasad Jondhale
f152e696d9 recipes-bsp: cpsw9g-eth-fw: Update SRCREV to latest
Signed-off-by: Prasad Jondhale <prasad.jondhale@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-05-18 19:34:17 +00:00
Nikhil Devshatwar
6793ca0970 recipes-kernel: jailhouse: Update SRCREV to latest
Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-05-18 19:33:23 +00:00
Denys Dmytriyenko
d91a615686 ti-sci-fw: introduce recipe to package sources for MAINMACHINE
ti-sci-fw builds multiple config variants via multiconfig and the number
is expected to grow. Provide a recipe to package a single set of sources
for MAINMACHINE.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-05-16 04:47:55 +00:00
Roger Quadros
2cb5121e0f am65xx-evm: Add missing k3-am654-idk-sr1.dtbo
For SR1.0 we use a different overlay for IDK card.

Signed-off-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-05-16 04:47:49 +00:00
Denys Dmytriyenko
d8cc5fb4af atf, sciclient: add missing j7-hs-evm support
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-05-14 00:13:45 +00:00
Dan Murphy
86c16be6cd linux-ti-staging: update to 5.4.39 and 07.00.00.002 tag
Signed-off-by: Dan Murphy <dmurphy@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-05-13 00:55:32 +00:00
Jacob Stiffler
d3bda926d2 ti-xdctools: add more PRIVATE_LIBS
* libjli.so and libawt_xawt.so are now detected within the
  ti-xdctools packages.

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-05-13 00:55:10 +00:00
Denys Dmytriyenko
eea4166cba ti-img-encode-decode: not compatible with K5.4 - remove
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-05-13 00:54:29 +00:00
20 changed files with 102 additions and 197 deletions

View File

@@ -16,6 +16,7 @@ KERNEL_DEVICETREE = " \
ti/k3-am654-base-board-sr1.dtb \
ti/k3-am654-gp.dtbo \
ti/k3-am654-idk.dtbo \
ti/k3-am654-idk-sr1.dtbo \
ti/k3-am654-evm-hdmi.dtbo \
ti/k3-am654-evm-oldi-lcd1evm.dtbo \
ti/k3-am654-evm-tc358876.dtbo \

View File

@@ -12,6 +12,7 @@ SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
KERNEL_DEVICETREE = " \
ti/k3-am654-base-board.dtb ti/k3-am654-gp.dtbo \
ti/k3-am654-evm-hdmi.dtbo ti/k3-am654-idk.dtbo \
ti/k3-am654-idk-sr1.dtbo \
ti/k3-am654-evm-oldi-lcd1evm.dtbo ti/k3-am654-evm-tc358876.dtbo \
ti/k3-am654-pcie-usb2.dtbo ti/k3-am654-pcie-usb3.dtbo \
ti/k3-am654-base-board-jailhouse.dtbo \

View File

@@ -26,6 +26,9 @@ UBOOT_SUFFIX = "img"
EXTRA_IMAGEDEPENDS += "virtual/bootloader"
TFA_PLATFORM = "k3"
TFA_BOARD = "generic"
MACHINE_GUI_CLASS = "smallscreen"
# Use the expected value of the ubifs filesystem's volume name in the kernel

View File

@@ -1,71 +0,0 @@
SUMMARY = "ARM Trusted Firmware"
DESCRIPTION = "ARM Trusted Firmware provides a reference implementation of \
Secure World software for ARMv8-A, including Exception Level 3 (EL3) software. \
It provides implementations of various ARM interface standards such as the \
Power State Coordination Interface (PSCI), Trusted Board Boot Requirements \
(TBBR) and Secure monitor code."
HOMEPAGE = "http://infocenter.arm.com/help/topic/com.arm.doc.dui0928e/CJHIDGJF.html"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://docs/license.rst;md5=189505435dbcdcc8caa63c46fe93fa89"
inherit deploy
DEPENDS += "dtc-native openssl-native"
PACKAGE_ARCH = "${MACHINE_ARCH}"
S = "${WORKDIR}/git"
PV_append = "+git${SRCPV}"
BRANCH = "ti-atf"
SRC_URI = "git://git.ti.com/atf/arm-trusted-firmware.git;branch=${BRANCH}"
SRCREV ?= "e516a389ac12fbe1597f61fea80ed3f230b9c5fd"
# Make ATF "aware" of OPTEE, no build dependency
PACKAGECONFIG[optee] = "SPD=opteed"
COMPATIBLE_MACHINE = "k3"
ATFPLATFORM_k3 = "k3"
ATFBOARD_k3 = "generic"
PACKAGECONFIG_k3 = "optee"
CFLAGS[unexport] = "1"
LDFLAGS[unexport] = "1"
AS[unexport] = "1"
LD[unexport] = "1"
do_configure[noexec] = "1"
EXTRA_OEMAKE = 'CROSS_COMPILE="${TARGET_PREFIX}" PLAT="${ATFPLATFORM}" TARGET_BOARD="${ATFBOARD}" ${PACKAGECONFIG_CONFARGS}'
do_compile() {
oe_runmake all
}
do_compile_append_am65xx-hs-evm() {
export TI_SECURE_DEV_PKG=${TI_SECURE_DEV_PKG}
( cd ${S}/build/${ATFPLATFORM}/${ATFBOARD}/release/; \
mv bl31.bin bl31.bin.unsigned; \
${TI_SECURE_DEV_PKG}/scripts/secure-binary-image.sh bl31.bin.unsigned bl31.bin; \
)
}
do_install() {
install -d ${D}/boot
install -m 0644 ${S}/build/${ATFPLATFORM}/${ATFBOARD}/release/bl31.bin ${D}/boot/
install -m 0644 ${S}/build/${ATFPLATFORM}/${ATFBOARD}/release/bl31/bl31.elf ${D}/boot/
}
do_deploy() {
install -d ${DEPLOYDIR}
install -m 0644 ${S}/build/${ATFPLATFORM}/${ATFBOARD}/release/bl31.bin ${DEPLOYDIR}/
install -m 0644 ${S}/build/${ATFPLATFORM}/${ATFBOARD}/release/bl31/bl31.elf ${DEPLOYDIR}/
}
addtask deploy before do_build after do_compile
FILES_${PN} = "/boot"
SYSROOT_DIRS += "/boot"

2
recipes-bsp/cpsw9g-eth-fw/cpsw9g-eth-fw_git.bb Normal file → Executable file
View File

@@ -11,7 +11,7 @@ inherit update-alternatives
PROTOCOL = "git"
BRANCH = "master"
SRCREV = "2f55ffedf0787f9c4c935473967fb88737d22778"
SRCREV = "afe62ada2e91e2665f597ca16eb3888b752016de"
SRC_URI = "git://git.ti.com/glsdk/ti-eth-fw.git;protocol=${PROTOCOL};branch=${BRANCH}"

View File

@@ -27,6 +27,7 @@ export PDK_SCICLIENT_ROOT_PATH = "${SCICLIENT_PACKAGE_BASE}/package/all/pdk_/pac
BUILD_HS = ""
BUILD_HS_am65xx-hs-evm = "yes"
BUILD_HS_j7-hs-evm = "yes"
export BUILD_HS
# Sciclient for am65x supports mcu1_1 in addition to the default cores in TI_PDK_LIMIT_CORES

View File

@@ -1,31 +0,0 @@
SUMMARY = "Kernel drivers for the IMG VXE384 MP2 and D5520 encoder/decoder found in TI SoCs"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://driver/common/dq.c;beginline=1;endline=16;md5=e015e28ff5e88576dab9fdf641e3dbfe"
inherit module
MACHINE_KERNEL_PR_append = "g"
PR = "${MACHINE_KERNEL_PR}"
COMPATIBLE_MACHINE = "j7"
SRCREV = "0eba3678300f649e49f03d92d1b624cf0e008008"
EXTRA_OEMAKE = "KPATH=${STAGING_KERNEL_DIR} KCONF=${STAGING_KERNEL_BUILDDIR}"
TARGET_CC_ARCH += "${LDFLAGS}"
BRANCH = "master"
SRC_URI = "git://git.ti.com/jacinto7_multimedia/ti-img-encode-decode.git;protocol=git;branch=${BRANCH}"
S = "${WORKDIR}/git"
do_compile() {
oe_runmake all -C ${S}/linux/decoder
oe_runmake all -C ${S}/linux/encoder
}
do_install() {
install -d ${D}/${base_libdir}/modules/${KERNEL_VERSION}/extra
install -m 644 ${S}/linux/decoder/vxd-dec.ko ${D}/${base_libdir}/modules/${KERNEL_VERSION}/extra
install -m 644 ${S}/linux/encoder/vxe-enc.ko ${D}/${base_libdir}/modules/${KERNEL_VERSION}/extra
}

View File

@@ -1,18 +0,0 @@
SUMMARY = "Test applications for TI DEC (v4l2 decoder for IMG D5520)"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://main.c;beginline=1;endline=14;md5=f17e17d664f72942124e4fcf06c178ee"
DEPENDS = "libdrm ffmpeg"
inherit autotools pkgconfig
PR = "r1"
SRCREV = "94a80c8c090dbfdc7fafd4e5bb78c2091e715af2"
EXTRA_OEMAKE = "CC="${CC}""
TARGET_CC_ARCH += "${LDFLAGS}"
BRANCH = "master"
SRC_URI = "git://git.ti.com/jacinto7_multimedia/viddec-test-app.git;protocol=git;branch=${BRANCH}"
S = "${WORKDIR}/git"

View File

@@ -1,18 +0,0 @@
SUMMARY = "Test applications for TI ENC (v4l2 encoder for IMG VXE384)"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://main.c;beginline=1;endline=14;md5=3545dd5bdf513840937d38c10b866605"
DEPENDS = "libdrm"
inherit autotools pkgconfig
PR = "r0"
SRCREV = "a5e7d820bea1be24f25a8369d4d4521c784f869a"
EXTRA_OEMAKE = "CC="${CC}""
TARGET_CC_ARCH += "${LDFLAGS}"
BRANCH = "master"
SRC_URI = "git://git.ti.com/jacinto7_multimedia/videnc-test-app.git;protocol=git;branch=${BRANCH}"
S = "${WORKDIR}/git"

View File

@@ -1,34 +0,0 @@
SUMMARY = "Video Decoding Firmware Packaging recipe"
LICENSE = "TI-TFL"
LIC_FILES_CHKSUM = "file://LICENSE;md5=84ca7278930db001870686ad997d6bb1"
BRANCH = "master"
SRCREV = "0acbf1d0a7c7eaca0ef14c1a30ce313ea82147e5"
SRC_URI = "git://git.ti.com/jacinto7_multimedia/ti-img-encode-decode.git;protocol=git;branch=${BRANCH}"
S = "${WORKDIR}/git"
PV = "1.0-git${SRCPV}"
PACKAGE_ARCH = "${MACHINE_ARCH}"
VXD_FW_DIR = "${S}/decoder/firmware/"
# make sure that lib/firmware, and all its contents are part of the package
FILES_${PN} += "${base_libdir}/firmware"
do_install() {
install -d ${D}${base_libdir}/firmware
install -m 0755 ${VXD_FW_DIR}/pvdec_full_bin.fw ${D}${base_libdir}/firmware
}
# This is used to prevent the build system to strip the executables
INHIBIT_PACKAGE_STRIP = "1"
# This is used to prevent the build system to split the debug info in a separate file
INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
# As it likely to be a different arch from the Yocto build, disable checking by adding "arch" to INSANE_SKIP
INSANE_SKIP_${PN} += "arch"
# we don't want to configure and build the source code
do_compile[noexec] = "1"
do_configure[noexec] = "1"

View File

@@ -0,0 +1,45 @@
# ti-sci-fw builds and packages multiple config variants via multiconfig
# Let's take a page from gcc-source as a common recipe for all gcc stages,
# but also to provide a single package for MAINMACHINE of all multiconfigs
require recipes-bsp/ti-sci-fw/ti-sci-fw_${PV}.inc
SUMMARY += "- sources"
COMPATIBLE_MACHINE = "k3"
EXCLUDE_FROM_WORLD = "1"
INHIBIT_DEFAULT_DEPS = "1"
DEPENDS = ""
PACKAGES = "${PN}"
PACKAGE_ARCH = "${MACHINE_ARCH}"
do_configure[noexec] = "1"
do_compile[noexec] = "1"
SRCIPK_SRC_DIR = "${WORKDIR}/imggen"
SRCIPK_INSTALL_DIR = "board-support/k3-image-gen-${PV}"
FILES_${PN} = "${SRCIPK_INSTALL_DIR}"
do_install() {
# Copy sources for packaging
mkdir -p ${D}/${SRCIPK_INSTALL_DIR}
if [ -e ${SRCIPK_SRC_DIR} ]; then
if [ "${SRCIPK_SRC_DIR}" = "${WORKDIR}" ]; then
excludes='--exclude ./temp --exclude ${D}'
fi
tar -C ${SRCIPK_SRC_DIR} -cO $excludes . | tar -C ${D}/${SRCIPK_INSTALL_DIR} -xpf -
fi
# Fix up patches/ directory to contain actual patches instead of symlinks
if [ -e ${D}/${SRCIPK_INSTALL_DIR}/patches ]
then
mv ${D}/${SRCIPK_INSTALL_DIR}/patches ${D}/${SRCIPK_INSTALL_DIR}/patches-links
cp -rL ${D}/${SRCIPK_INSTALL_DIR}/patches-links ${D}/${SRCIPK_INSTALL_DIR}/patches
rm -rf ${D}/${SRCIPK_INSTALL_DIR}/patches-links
fi
}
# Do not perform any QA checks on source package
INSANE_SKIP_${PN} += "${ALL_QA}"

View File

@@ -1,7 +1,4 @@
SUMMARY = "TI SCI firmware (SYSFW)"
LICENSE = "TI-TFL"
LIC_FILES_CHKSUM = "file://LICENSE.ti;md5=b5aebf0668bdf95621259288c4a46d76"
require recipes-bsp/ti-sci-fw/ti-sci-fw_${PV}.inc
DEPENDS = "openssl-native u-boot-mkimage-native dtc-native"
@@ -17,18 +14,6 @@ PACKAGE_ARCH = "${MACHINE_ARCH}"
TI_SECURE_DEV_PKG ?= ""
export TI_SECURE_DEV_PKG
SRCREV = "6b02b1ea07da65a68444e86439ad5b031e9fd5a2"
BRANCH ?= "ti-linux-firmware"
SRCREV_imggen = "a7d3909ed8ae23a7c90f7ef821713a8b0c3c061d"
SRCREV_FORMAT = "imggen"
SRC_URI = " \
git://git.ti.com/processor-firmware/ti-linux-firmware.git;protocol=git;branch=${BRANCH} \
git://git.ti.com/k3-image-gen/k3-image-gen.git;protocol=git;branch=master;destsuffix=imggen;name=imggen \
"
S = "${WORKDIR}/git"
SYSFW_SOC ?= "unknown"
SYSFW_CONFIG ?= "unknown"

View File

@@ -0,0 +1,16 @@
SUMMARY = "TI SCI firmware (SYSFW)"
LICENSE = "TI-TFL"
LIC_FILES_CHKSUM = "file://LICENSE.ti;md5=b5aebf0668bdf95621259288c4a46d76"
SRCREV = "6b02b1ea07da65a68444e86439ad5b031e9fd5a2"
BRANCH ?= "ti-linux-firmware"
SRCREV_imggen = "a7d3909ed8ae23a7c90f7ef821713a8b0c3c061d"
SRCREV_FORMAT = "imggen"
SRC_URI = " \
git://git.ti.com/processor-firmware/ti-linux-firmware.git;protocol=git;branch=${BRANCH} \
git://git.ti.com/k3-image-gen/k3-image-gen.git;protocol=git;branch=master;destsuffix=imggen;name=imggen \
"
S = "${WORKDIR}/git"

View File

@@ -0,0 +1,23 @@
BRANCH_k3 = "ti-atf"
SRC_URI_k3 = "git://git.ti.com/atf/arm-trusted-firmware.git;branch=${BRANCH};name=tfa"
SRCREV_tfa_k3 = "5b907a2813faf039d752cdeb6a7b94e95580c46b"
COMPATIBLE_MACHINE_k3 = "k3"
TFA_BUILD_TARGET_k3 = "all"
TFA_INSTALL_TARGET_k3 = "bl31"
TFA_SPD_k3 = "opteed"
do_compile_append_am65xx-hs-evm() {
export TI_SECURE_DEV_PKG=${TI_SECURE_DEV_PKG}
( cd ${B}/${BUILD_DIR}/release/; \
mv bl31.bin bl31.bin.unsigned; \
${TI_SECURE_DEV_PKG}/scripts/secure-binary-image.sh bl31.bin.unsigned bl31.bin; \
)
}
do_compile_append_j7-hs-evm() {
export TI_SECURE_DEV_PKG=${TI_SECURE_DEV_PKG}
( cd ${B}/${BUILD_DIR}/release/; \
mv bl31.bin bl31.bin.unsigned; \
${TI_SECURE_DEV_PKG}/scripts/secure-binary-image.sh bl31.bin.unsigned bl31.bin; \
)
}

View File

@@ -1,7 +1,7 @@
require u-boot-ti.inc
PR = "r9"
PR = "r10"
BRANCH = "ti-u-boot-2020.01"
SRCREV = "018f7f1c324fbd3f494a4e5e112853eb32b7bcdd"
SRCREV = "34fcb949aa53c57d13af1be920c15c5a2e68a019"

View File

@@ -33,7 +33,7 @@ PV_append = "+git${SRCPV}"
# u-boot needs devtree compiler to parse dts files
DEPENDS += "dtc-native bc-native lzop-native flex-native bison-native"
PACKAGECONFIG[atf] = "ATF=${STAGING_DIR_HOST}/boot/bl31.bin,,arm-trusted-firmware"
PACKAGECONFIG[atf] = "ATF=${STAGING_DIR_HOST}/firmware/bl31.bin,,trusted-firmware-a"
PACKAGECONFIG[optee] = "TEE=${STAGING_DIR_HOST}/boot/bl32.bin,,optee-os"
PACKAGECONFIG_append_aarch64 = " atf optee"

View File

@@ -11,7 +11,7 @@ LIC_FILES_CHKSUM = " \
"
PV = "0.12+git${SRCPV}"
SRCREV = "2c6516ce3d0e0c4e9372e4439562dd660877cb79"
SRCREV = "8fd88c37ae1a4f7130ef40899c0eadd737c64832"
BRANCH = "ti-jailhouse-0.12"
SRC_URI = " \

View File

@@ -6,5 +6,5 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-5.4:"
BRANCH = "ti-rt-linux-5.4.y"
SRCREV = "f9105a2c9d7c0fd514250ee3cb9397a3ff87d23e"
PV = "5.4.34+git${SRCPV}"
SRCREV = "83062031887b4a57d8e7761d56b6a08b931c8ad4"
PV = "5.4.40+git${SRCPV}"

View File

@@ -61,8 +61,8 @@ S = "${WORKDIR}/git"
BRANCH = "ti-linux-5.4.y"
SRCREV = "c8469270aa0e018913e0af1de913a70257742e6e"
PV = "5.4.38+git${SRCPV}"
SRCREV = "7f8dc0f36a11569b8e901d8a466b5fcb4f7f01b8"
PV = "5.4.40+git${SRCPV}"
# Append to the MACHINE_KERNEL_PR so that a new SRCREV will cause a rebuild
MACHINE_KERNEL_PR_append = "a"

View File

@@ -60,6 +60,8 @@ libjvm.so \
libhpi.so \
lib.so \
libcairo.so.2 \
libjli.so \
libawt_xawt.so \
"
COMPATIBLE_HOST ?= "null"