OpenCL Dependency Upgrades
cover OpenCL Dependency Upgrades
* This patch set updates dependencies so that OpenCL may be upgraded and extended to support keystone SOCs
Jacob Stiffler (13):
ti-cgt6x: Upgrade to version 8.1.0
ti-cg-xml: Add version 2.41.00
ti-pdk.bbclass: Add class for creating RTOS PDK components
common-csl-ip: Upgrade to version 3.3.0.1B
rm-lld: Seperate source info into .inc file
rm-lld: Bump version to 02.02.00.00
rm-lld-rtos: Add RTOS package of the RM LLD
qmss-lld: Upgrade to version 2.1.0.12
qmss-lld-rtos: Add RTOS package for QMSS LLD
cppi-lld: Upgrade version to 2.1.0.11
cppi-lld-rtos: Add RTOS package for CPPI LLD
openmp-rtos: Add the OpenMP RTOS package
gdbc6x: Extend support to keystone SOCs
.../ti-pdk.bbclass | 58 ++++++++++++-----
.../common-csl-ip/common-csl-ip-rtos_git.bb | 43 +++++--------
recipes-bsp/common-csl-ip/common-csl-ip.inc | 11 ++--
recipes-bsp/common-csl-ip/common-csl-ip_git.bb | 6 ++
.../cppi-lld-rtos_git.bb} | 16 ++---
recipes-bsp/cppi-lld/cppi-lld.inc | 8 +--
.../qmss-lld-rtos_git.bb} | 15 ++---
recipes-bsp/qmss-lld/qmss-lld-test_git.bb | 4 +-
recipes-bsp/qmss-lld/qmss-lld.inc | 14 +++--
.../qmss-ld-fix-firmware-installation.patch | 13 ++++
.../rm-lld-rtos_git.bb} | 15 ++---
recipes-bsp/rm-lld/{rm-lld_git.bb => rm-lld.inc} | 35 ++---------
recipes-bsp/rm-lld/rm-lld_git.bb | 24 +-------
recipes-devtools/gdbc6x/gdbc6x.inc | 7 ++-
.../devtools/ti-cg-xml_2.41.00.bb | 50 +++++++--------
.../{ti-cgt6x_8.0.3.bb => ti-cgt6x_8.1.0.bb} | 18 +++---
recipes-ti/includes/ti-paths.inc | 4 ++
.../openmp-rtos/openmp-rtos_git.bb | 72 +++++++++++++++-------
18 files changed, 223 insertions(+), 190 deletions(-)
copy recipes-bsp/common-csl-ip/common-csl-ip-rtos_git.bb => classes/ti-pdk.bbclass (26%)
copy recipes-bsp/{common-csl-ip/common-csl-ip_git.bb => cppi-lld/cppi-lld-rtos_git.bb} (6%)
copy recipes-bsp/{common-csl-ip/common-csl-ip_git.bb => qmss-lld/qmss-lld-rtos_git.bb} (6%)
create mode 100644 recipes-bsp/qmss-lld/qmss-lld/qmss-ld-fix-firmware-installation.patch
copy recipes-bsp/{common-csl-ip/common-csl-ip_git.bb => rm-lld/rm-lld-rtos_git.bb} (6%)
copy recipes-bsp/rm-lld/{rm-lld_git.bb => rm-lld.inc} (36%)
copy recipes-bsp/common-csl-ip/common-csl-ip-rtos_git.bb => recipes-ti/devtools/ti-cg-xml_2.41.00.bb (8%)
rename recipes-ti/devtools/{ti-cgt6x_8.0.3.bb => ti-cgt6x_8.1.0.bb} (82%)
copy recipes-bsp/common-csl-ip/common-csl-ip-rtos_git.bb => recipes-ti/openmp-rtos/openmp-rtos_git.bb (5%)Signature · 1 line
1.9.1
PATCH 1/13 ti-cgt6x: Upgrade to version 8.1.0
---
.../devtools/{ti-cgt6x_8.0.3.bb => ti-cgt6x_8.1.0.bb} | 18 ++++++++++--------
1 file changed, 10 insertions(+), 8 deletions(-)
rename recipes-ti/devtools/{ti-cgt6x_8.0.3.bb => ti-cgt6x_8.1.0.bb} (82%)recipes-ti/devtools/ti-cgt6x_8.1.0.bb renamed from recipes-ti/devtools/ti-cgt6x_8.0.3.bb +10 -8
@@ -2,12 +2,12 @@ DESCRIPTION = "TI DSP Code Generation Tools" HOMEPAGE = "https://www-a.ti.com/downloads/sds_support/TICodegenerationTools/download.htm" LICENSE = "(TI-TSPA & Thai-Open-Source-Software-Center) & BSD-3-Clause & BSL-1.0 & Hewlett-Packard & AFL-3.0 & MIT & BSD-2-Clause & PD" -LIC_FILES_CHKSUM = "file://ti-cgt-c6000_${PV}/LICENSE.txt;md5=b6311962635a4f15630e36ec2d875eca" -LIC_FILES_CHKSUM_class-target = "file://usr/share/doc/ti/cgt-c6x/LICENSE.txt;md5=b6311962635a4f15630e36ec2d875eca" +LIC_FILES_CHKSUM = "file://ti-cgt-c6000_${PV}/C6000_8.1.x_CodeGenerationTools_Manifest.htm;md5=458bf5fa55a865372515aeba0dfa9b72" +LIC_FILES_CHKSUM_class-target = "file://usr/share/doc/ti/cgt-c6x/C6000_8.1.x_CodeGenerationTools_Manifest.htm;md5=458bf5fa55a865372515aeba0dfa9b72" PE = "1" -require ../includes/ti-unpack.inc +require recipes-ti/includes/ti-unpack.inc COMPATIBLE_HOST_class-target = "arm.*-linux"
@@ -37,11 +37,11 @@ BINFILE_NAME_class-target = "cgt6x_arm_installer" SRC_URI = "http://software-dl.ti.com/codegen/esd/cgt_public_sw/C6000/${PV}/${BINFILE};name=${BINFILE_NAME}" -SRC_URI[cgt6x_x86_installer.md5sum] = "cac177c3b94bf308d5198230739639b4" -SRC_URI[cgt6x_x86_installer.sha256sum] = "9c9ebab9f29cfd55f7df1df888ede66da3c2ccc0440d602ef34564305f02b9fb" +SRC_URI[cgt6x_x86_installer.md5sum] = "43d9a9a6307c7ba0933050e4ba1b0e56" +SRC_URI[cgt6x_x86_installer.sha256sum] = "0ce82e2d338b8aab3c3d1eb52217d025bd07952ac40c8f5a9319652d0c8882ad" -SRC_URI[cgt6x_arm_installer.md5sum] = "7966f5ad2f055c3462ac6c3c13453ed7" -SRC_URI[cgt6x_arm_installer.sha256sum] = "f435f886610fc7df585a6ef898494e621b3bfa17f20658436f5e63af86a9a987" +SRC_URI[cgt6x_arm_installer.md5sum] = "52433a9ffdc6fbbb539a3c8e3e1c9ec0" +SRC_URI[cgt6x_arm_installer.sha256sum] = "286a96e3082086c37129cbbc6c3665c76028b68975d02fc30375a6aaba00532a" do_install() { install -d ${D}${bindir}
@@ -79,7 +79,9 @@ do_install() { install -d ${D}${datadir}/man/man1 for manfile in ${S}/ti-cgt-c6000_${PV}/man/man1/*; do - install -m 644 ${manfile} ${D}${datadir}/man/man1 + if [ -e ${manfile} ]; then + install -m 644 ${manfile} ${D}${datadir}/man/man1 + fi done install -d ${D}${datadir}/doc/ti/cgt-c6x
Signature · 1 line
1.9.1
PATCH 2/13 ti-cg-xml: Add version 2.41.00
In reply to Jacob Stiffler--- recipes-ti/devtools/ti-cg-xml_2.41.00.bb | 36 ++++++++++++++++++++++++++++++++ recipes-ti/includes/ti-paths.inc | 2 ++ 2 files changed, 38 insertions(+) create mode 100644 recipes-ti/devtools/ti-cg-xml_2.41.00.bb
recipes-ti/devtools/ti-cg-xml_2.41.00.bb new file +36 -0
@@ -0,0 +1,36 @@ +DESCRIPTION = "TI CG_XML" +HOMEPAGE = "http://software-dl.ti.com/ccs/non-esd/releases/other/applications_packages/cg_xml/index.htm" +SECTION = "devel" +LICENSE = "BSD" + +require recipes-ti/includes/ti-paths.inc +require recipes-ti/includes/ti-staging.inc +require recipes-ti/includes/ti-unpack.inc + +PV = "2_41_00" + +S = "${WORKDIR}/cg_xml_${PV}" + +SRC_URI = "\ + http://software-dl.ti.com/ccs/non-esd/releases/other/applications_packages/cg_xml/cg_xml_v${PV}/cg_xml-v${PV}-Linux-x86-Install;name=cgxmlbin_linux \ +" + +LIC_FILES_CHKSUM = "file://cg_xml_${PV}_Manifest.pdf;md5=ba23d76ef3d5ec111b03267105c91bd4" + +SRC_URI[cgxmlbin_linux.md5sum] = "9e421f25f6da455b0155570ce0e62628" +SRC_URI[cgxmlbin_linux.sha256sum] = "bbc25f4abe27a8b93bae1d8581c3dee87111c3769c305d086287038ee9038cbf" + +BINFILE="cg_xml-v${PV}-Linux-x86-Install" +TI_BIN_UNPK_CMDS="" +TI_BIN_UNPK_ARGS="--prefix ${S} --mode silent" + +do_install() { + install -d ${D}${CG_XML_INSTALL_DIR_RECIPE} + cp -pPrf ${S}/* ${D}${CG_XML_INSTALL_DIR_RECIPE} +} + +FILES_${PN} += "${CG_XML_INSTALL_DIR_RECIPE}" + +INSANE_SKIP_${PN} = "arch ldflags" + +BBCLASSEXTEND = "native nativesdk"
recipes-ti/includes/ti-paths.inc +2 -0
@@ -52,6 +52,7 @@ export TI_CGT_PRU_INSTALL_DIR_RECIPE = "${installdir}/cgt-pru" export DSPLIB_C66_INSTALL_DIR_RECIPE = "${installdir}/ti-dsplib-c66x-tree" export MATHLIB_C66_INSTALL_DIR_RECIPE = "${installdir}/ti-mathlib-c66x-tree" export IMGLIB_C66_INSTALL_DIR_RECIPE = "${installdir}/ti-imglib-c66x-tree" +export CG_XML_INSTALL_DIR_RECIPE = "${installdir}/ti-cg-xml-tree" # This is where the tools will end up in sysroot
@@ -95,6 +96,7 @@ export TI_CGT_PRU_INSTALL_DIR = "${STAGING_DIR_NATIVE}${TI_CGT_PRU_INSTALL_ export DSPLIB_C66_INSTALL_DIR = "${STAGING_DIR_TARGET}${DSPLIB_C66_INSTALL_DIR_RECIPE}" export MATHLIB_C66_INSTALL_DIR = "${STAGING_DIR_TARGET}${MATHLIB_C66_INSTALL_DIR_RECIPE}" export IMGLIB_C66_INSTALL_DIR = "${STAGING_DIR_TARGET}${IMGLIB_C66_INSTALL_DIR_RECIPE}" +export CG_XML_INSTALL_DIR = "${STAGING_DIR_NATIVE}${CG_XML_INSTALL_DIR_RECIPE}" DSPSUFFIX_omapl137 = "x674" DSPSUFFIX_omapl138 = "x674"
Signature · 1 line
1.9.1
PATCH 3/13 ti-pdk.bbclass: Add class for creating RTOS PDK components
In reply to Jacob Stiffler--- classes/ti-pdk.bbclass | 66 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100644 classes/ti-pdk.bbclass
classes/ti-pdk.bbclass new file +66 -0
@@ -0,0 +1,66 @@ +require recipes-ti/includes/ti-paths.inc +require recipes-ti/includes/ti-staging.inc + +inherit perlnative + +DEPENDS = "ti-xdctools ti-cg-xml-native ti-sysbios common-csl-ip-rtos libxml-simple-perl-native gcc-arm-none-eabi-native" + +DEPENDS_append_omap-a15 = " ti-cgt6x-native ti-ccsv6-native" +DEPENDS_append_keystone = " ti-cgt6x-native" + +S = "${WORKDIR}/git" +B = "${WORKDIR}/build" + +get_build_dir_bash() { + if [ -f ${S}/package.xdc ] + then + grep '^package' ${S}/package.xdc | sed -e 's|\[.*$||' | awk '{ print $2 }' | sed -e 's|\.|/|g' + else + echo ${S} + return 1 + fi +} + +export CROSS_TOOL_PRFX="arm-none-eabi-" +export TOOLCHAIN_PATH_A8 = "${GCC_ARM_NONE_TOOLCHAIN}" +export TOOLCHAIN_PATH_A9 = "${GCC_ARM_NONE_TOOLCHAIN}" +export TOOLCHAIN_PATH_A15 = "${GCC_ARM_NONE_TOOLCHAIN}" +export TOOLCHAIN_PATH_M4 = "${M4_TOOLCHAIN_INSTALL_DIR}" +export C6X_GEN_INSTALL_PATH = "${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x" + +export ROOTDIR = "${B}" +export BIOS_INSTALL_PATH = "${SYSBIOS_INSTALL_DIR}" +export XDC_INSTALL_PATH = "${XDC_INSTALL_DIR}" +export PDK_INSTALL_PATH = "${PDK_INSTALL_DIR}/packages" + +export XDCPATH = "${XDC_INSTALL_DIR}/packages;${SYSBIOS_INSTALL_DIR}/packages;${PDK_INSTALL_DIR}/packages" +export SECTTI="perl ${CG_XML_INSTALL_DIR}/ofd/sectti.pl" + +PARALLEL_XDC = "--jobs=${BB_NUMBER_THREADS}" + +do_configure() { + BUILD_DIR=${B}/`get_build_dir_bash` + + mkdir -p ${BUILD_DIR} + cp -r ${S}/* ${BUILD_DIR} + cd ${BUILD_DIR} + + sed -i "s/\ \"\.\\\\\\\\\"\ +//" src/Module.xs + find -name "*.xs" -exec sed -i "s/ofd6x\.exe/ofd6x/" {} \; + find -name "*.xs" -exec sed -i "s/sectti\.exe/sectti/" {} \; + find -name "*.xs" -exec sed -i "/\.chm/d" {} \; + find -name "*.xs" -exec sed -i "s/pasm\_dos/pasm\_linux/" {} \; +} + +do_compile() { + ${XDC_INSTALL_DIR}/xdc clean ${PARALLEL_XDC} -PR . + ${XDC_INSTALL_DIR}/xdc all ${PARALLEL_XDC} XDCARGS="${XDCARGS}" ROOTDIR="${ROOTDIR}" -PR . + ${XDC_INSTALL_DIR}/xdc release XDCARGS="${XDCARGS}" -PR . +} + +do_install () { + install -d ${D}${PDK_INSTALL_DIR_RECIPE}/packages + find -name "*.tar" -exec tar xf {} -C ${D}${PDK_INSTALL_DIR_RECIPE}/packages \; +} + +FILES_${PN} += "${PDK_INSTALL_DIR_RECIPE}/packages"
Signature · 1 line
1.9.1
Re: [PATCH 03/13] ti-pdk.bbclass: Add class for creating RTOS PDK components
Quoted 32 lines · Jacob Stiffler
Signed-off-by Jacob Stiffler <[email protected]>---
classes/ti-pdk.bbclass | 66 ++++++++++++++++++++++++++++++++++++++++++++++++++1 file changed, 66 insertions(+)create mode 100644 classes/ti-pdk.bbclass
classes/ti-pdk.bbclass new file +17
-0@@ -0,0 +1,66 @@ +require recipes-ti/includes/ti-paths.inc +require recipes-ti/includes/ti-staging.inc + +inherit perlnative + +DEPENDS = "ti-xdctools ti-cg-xml-native ti-sysbios common-csl-ip-rtos libxml-simple-perl-native gcc-arm-none-eabi-native" + +DEPENDS_append_omap-a15 = " ti-cgt6x-native ti-ccsv6-native" +DEPENDS_append_keystone = " ti-cgt6x-native" + +S = "${WORKDIR}/git" +B = "${WORKDIR}/build" + +get_build_dir_bash() { + if [ -f ${S}/package.xdc ] + then + grep '^package' ${S}/package.xdc | sed -e 's|\[.*$||' | awk '{ print $2 }' | sed -e 's|\.|/|g'
classes/ti-pdk.bbclass line 27
Quoted 10 lines
classes/ti-pdk.bbclass new file +10
-0+ else + echo ${S} + return 1 + fi +} + +export CROSS_TOOL_PRFX="arm-none-eabi-" +export TOOLCHAIN_PATH_A8 = "${GCC_ARM_NONE_TOOLCHAIN}" +export TOOLCHAIN_PATH_A9 = "${GCC_ARM_NONE_TOOLCHAIN}" +export TOOLCHAIN_PATH_A15 = "${GCC_ARM_NONE_TOOLCHAIN}”
Did you try using -ffreestanding option to internal toolchain ?
Quoted 47 lines
classes/ti-pdk.bbclass new file +39
-1+export TOOLCHAIN_PATH_M4 = "${M4_TOOLCHAIN_INSTALL_DIR}” +export C6X_GEN_INSTALL_PATH = "${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x" + +export ROOTDIR = "${B}" +export BIOS_INSTALL_PATH = "${SYSBIOS_INSTALL_DIR}" +export XDC_INSTALL_PATH = "${XDC_INSTALL_DIR}" +export PDK_INSTALL_PATH = "${PDK_INSTALL_DIR}/packages" + +export XDCPATH = "${XDC_INSTALL_DIR}/packages;${SYSBIOS_INSTALL_DIR}/packages;${PDK_INSTALL_DIR}/packages" +export SECTTI="perl ${CG_XML_INSTALL_DIR}/ofd/sectti.pl" + +PARALLEL_XDC = "--jobs=${BB_NUMBER_THREADS}" + +do_configure() { + BUILD_DIR=${B}/`get_build_dir_bash` + + mkdir -p ${BUILD_DIR} + cp -r ${S}/* ${BUILD_DIR} + cd ${BUILD_DIR} + + sed -i "s/\ \"\.\\\\\\\\\"\ +//" src/Module.xs + find -name "*.xs" -exec sed -i "s/ofd6x\.exe/ofd6x/" {} \; + find -name "*.xs" -exec sed -i "s/sectti\.exe/sectti/" {} \; + find -name "*.xs" -exec sed -i "/\.chm/d" {} \; + find -name "*.xs" -exec sed -i "s/pasm\_dos/pasm\_linux/" {} \; +} + +do_compile() { + ${XDC_INSTALL_DIR}/xdc clean ${PARALLEL_XDC} -PR . + ${XDC_INSTALL_DIR}/xdc all ${PARALLEL_XDC} XDCARGS="${XDCARGS}" ROOTDIR="${ROOTDIR}" -PR . + ${XDC_INSTALL_DIR}/xdc release XDCARGS="${XDCARGS}" -PR . +} + +do_install () { + install -d ${D}${PDK_INSTALL_DIR_RECIPE}/packages + find -name "*.tar" -exec tar xf {} -C ${D}${PDK_INSTALL_DIR_RECIPE}/packages \; +} + +FILES_${PN} += "${PDK_INSTALL_DIR_RECIPE}/packages" --1.9.1
--
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti
PATCH 4/13 common-csl-ip: Upgrade to version 3.3.0.1B
In reply to Jacob Stiffler* Re-implement common-csl-ip-rtos using the ti-pdk class
--- .../common-csl-ip/common-csl-ip-rtos_git.bb | 43 ++++++++-------------- recipes-bsp/common-csl-ip/common-csl-ip.inc | 11 ++---- recipes-bsp/common-csl-ip/common-csl-ip_git.bb | 6 +++ 3 files changed, 25 insertions(+), 35 deletions(-)
recipes-bsp/common-csl-ip/common-csl-ip-rtos_git.bb +15 -28
@@ -1,36 +1,23 @@ require common-csl-ip.inc - PR = "${INC_PR}.0" -require recipes-ti/includes/ti-paths.inc -require recipes-ti/includes/ti-staging.inc - -DEPENDS = "ti-xdctools ti-cgt6x-native ti-sysbios" - -CSL_GIT_DESTSUFFIX = "git/ti/csl" +inherit ti-pdk -export C6X_GEN_INSTALL_PATH="${STAGING_DIR_NATIVE}/usr" -export XDCCGROOT="${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x" -export XDCPATH="${XDCCGROOT}/include;${XDC_INSTALL_DIR}/packages;${SYSBIOS_INSTALL_DIR}/packages" +DEPENDS_remove = "${PN}" -do_configure() { - sed -i "s/\ \"\.\\\\\\\\\"\ +//" src/Module.xs - find -name "*.xs" -exec sed -i "s/ofd6x\.exe/ofd6x/" {} \; - find -name "*.xs" -exec sed -i "s/sectti\.exe/sectti/" {} \; - find -name "*.xs" -exec sed -i "/\.chm/d" {} \; - find -name "*.xs" -exec sed -i "s/pasm\_dos/pasm\_linux/" {} \; -} +XDCARGS_ti33x = "am335x" +XDCARGS_ti43x = "am437x" +XDCARGS_omap-a15 = "am571x am572x" +XDCARGS_k2hk-evm = "k2h k2k" +XDCARGS_k2l-evm = "k2l" +XDCARGS_k2e-evm = "k2e" -do_compile() { - ${XDC_INSTALL_DIR}/xdc .make - ${XDC_INSTALL_DIR}/xdc clean - ${XDC_INSTALL_DIR}/xdc release -} +do_configure_append() { + # Create empty makefile + # If libraries are supported for this device, then this will be overwritten + cat > ${BUILD_DIR}/makefile << __EOF__ +# Nothing to do +all: -do_install () { - install -d ${D}${PDK_INSTALL_DIR_RECIPE}/packages - find -name "*.tar" -exec tar xf {} -C ${D}${PDK_INSTALL_DIR_RECIPE}/packages \; +__EOF__ } - -ALLOW_EMPTY_${PN} = "1" -FILES_${PN}-dev += "${PDK_INSTALL_DIR_RECIPE}/packages"
recipes-bsp/common-csl-ip/common-csl-ip.inc +4 -7
@@ -5,19 +5,16 @@ LIC_FILES_CHKSUM = "file://COPYING.txt;md5=5857833e20836213677fac33f9aded21" COMPATIBLE_MACHINE = "keystone|dra7xx" PACKAGE_ARCH = "${MACHINE_ARCH}" -INC_PR = "r4" +PV = "3.3.0.1B" +INC_PR = "r0" CSL_GIT_URI = "git://git.ti.com/keystone-rtos/common-csl-ip.git" CSL_GIT_PROTOCOL ="git" CSL_GIT_BRANCH = "master" -CSL_GIT_BRANCH_dra7xx = "releases/PROCESSOR-SDK.01.00.00" CSL_GIT_DESTSUFFIX = "git" -# commit ID corresponds to DEV.CSL_KEYSTONE2.02.01.01.00A -CSL_SRCREV = "17bb083f0d5ed4ad6f38c991210a6a8e9aaf9c56" - -# commit ID corresponds to PROCESSOR-SDK-ALPHA-1 -CSL_SRCREV_dra7xx = "37c5311ddf289f83b1432a9422816722d264bf55" +# commit ID corresponds to DEV.CSL_PROCESSOR-SDK.03.03.00.01B +CSL_SRCREV = "48bb80a8d5919e17528a21be5d3ea6437dfc0425" BRANCH="${CSL_GIT_BRANCH}" SRC_URI = "${CSL_GIT_URI};protocol=${CSL_GIT_PROTOCOL};branch=${BRANCH};destsuffix=${CSL_GIT_DESTSUFFIX}"
recipes-bsp/common-csl-ip/common-csl-ip_git.bb +6 -0
@@ -4,6 +4,12 @@ PR = "${INC_PR}.0" ALLOW_EMPTY_${PN} = "1" +CLEANBROKEN = "1" + +do_compile() { + : +} + do_install () { install -d ${D}${includedir}/ti/csl find . -name "*.h" -type f | xargs -I {} cp --parents {} ${D}${includedir}/ti/csl
Signature · 1 line
1.9.1
PATCH 5/13 rm-lld: Seperate source info into .inc file
In reply to Jacob Stiffler---
recipes-bsp/rm-lld/{rm-lld_git.bb => rm-lld.inc} | 29 +-----------------------
recipes-bsp/rm-lld/rm-lld_git.bb | 24 ++------------------
2 files changed, 3 insertions(+), 50 deletions(-)
copy recipes-bsp/rm-lld/{rm-lld_git.bb => rm-lld.inc} (44%)recipes-bsp/rm-lld/rm-lld.inc renamed from recipes-bsp/rm-lld/rm-lld_git.bb +1 -28
@@ -15,36 +15,9 @@ SRC_URI = "${RM_LLD_GIT_URI};destsuffix=${RM_LLD_GIT_DESTSUFFIX};protocol=${RM_L SRCREV = "${RM_LLD_SRCREV}" PV = "02.01.02.00" -PR = "r2" +INC_PR = "r3" COMPATIBLE_MACHINE = "keystone" -DEPENDS = "ti-ipc libdaemon" - -PACKAGES =+ "${PN}-test" - -FILES_${PN}-test = "${bindir}/rmDspClientTest.out \ - ${bindir}/rmLinuxClientTest.out \ - ${bindir}/rmLinuxMtClientTest.out \ - ${bindir}/ti/drv/rm/test/dts_files/*.dtb" - -CHOICELIST = "yes no" - BASEDIR = "${WORKDIR}/git" S = "${BASEDIR}/ti/drv/rm" - -do_compile () { -# Now build the lld - make -f makefile_armv7 clean lib PDK_INSTALL_PATH=${STAGING_INCDIR} RM_SRC_DIR=${S} - for choice in ${CHOICELIST} - do - make -f makefile_armv7 tests IPC_DEVKIT_INSTALL_PATH=${STAGING_INCDIR} PDK_INSTALL_PATH=${BASEDIR} USEDYNAMIC_LIB="$choice" - done -} - -do_install () { - install -d ${D}${includedir}/ti/drv/rm - install -d ${D}${libdir} - install -d ${D}${bindir} - make -f makefile_armv7 install installbin installbin_test INSTALL_INC_BASE_DIR=${D}${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir} INSTALL_BIN_BASE_DIR=${D}${bindir} -}
recipes-bsp/rm-lld/rm-lld_git.bb +2 -22
@@ -1,23 +1,6 @@ -DESCRIPTION = "TI Resource Manager Low Level Driver" -LICENSE = "BSD-3-Clause" -LIC_FILES_CHKSUM = "file://${WORKDIR}/git/ti/drv/rm/COPYING.txt;md5=dc61631b65360e6beb73b6c337800afc" +require rm-lld.inc -RM_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/rm-lld.git" -RM_LLD_GIT_PROTOCOL = "git" -RM_LLD_GIT_BRANCH = "master" -RM_LLD_GIT_DESTSUFFIX = "git/ti/drv/rm" - -# Below commit ID corresponds to DEV.RM_LLD.02.01.02.00 -RM_LLD_SRCREV = "b3d711203c6b4cf99fb2f95dc2f4728dfd1b2639" - -BRANCH = "${RM_LLD_GIT_BRANCH}" -SRC_URI = "${RM_LLD_GIT_URI};destsuffix=${RM_LLD_GIT_DESTSUFFIX};protocol=${RM_LLD_GIT_PROTOCOL};branch=${BRANCH}" -SRCREV = "${RM_LLD_SRCREV}" - -PV = "02.01.02.00" -PR = "r2" - -COMPATIBLE_MACHINE = "keystone" +PR = "${INC_PR}.0" DEPENDS = "ti-ipc libdaemon"
@@ -30,9 +13,6 @@ FILES_${PN}-test = "${bindir}/rmDspClientTest.out \ CHOICELIST = "yes no" -BASEDIR = "${WORKDIR}/git" -S = "${BASEDIR}/ti/drv/rm" - do_compile () { # Now build the lld make -f makefile_armv7 clean lib PDK_INSTALL_PATH=${STAGING_INCDIR} RM_SRC_DIR=${S}
Signature · 1 line
1.9.1
PATCH 6/13 rm-lld: Bump version to 02.02.00.00
In reply to Jacob Stiffler--- recipes-bsp/rm-lld/rm-lld.inc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
recipes-bsp/rm-lld/rm-lld.inc +4 -4
@@ -7,15 +7,15 @@ RM_LLD_GIT_PROTOCOL = "git" RM_LLD_GIT_BRANCH = "master" RM_LLD_GIT_DESTSUFFIX = "git/ti/drv/rm" -# Below commit ID corresponds to DEV.RM_LLD.02.01.02.00 -RM_LLD_SRCREV = "b3d711203c6b4cf99fb2f95dc2f4728dfd1b2639" +# Below commit ID corresponds to DEV.RM_LLD.02.02.00.00 +RM_LLD_SRCREV = "48fc05bf1835f76760da4341a4c551398aeeb7cd" BRANCH = "${RM_LLD_GIT_BRANCH}" SRC_URI = "${RM_LLD_GIT_URI};destsuffix=${RM_LLD_GIT_DESTSUFFIX};protocol=${RM_LLD_GIT_PROTOCOL};branch=${BRANCH}" SRCREV = "${RM_LLD_SRCREV}" -PV = "02.01.02.00" -INC_PR = "r3" +PV = "02.02.00.00" +INC_PR = "r0" COMPATIBLE_MACHINE = "keystone"
Signature · 1 line
1.9.1
PATCH 7/13 rm-lld-rtos: Add RTOS package of the RM LLD
In reply to Jacob Stiffler--- recipes-bsp/rm-lld/rm-lld-rtos_git.bb | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 recipes-bsp/rm-lld/rm-lld-rtos_git.bb
recipes-bsp/rm-lld/rm-lld-rtos_git.bb new file +12 -0
@@ -0,0 +1,12 @@ +inherit ti-pdk + +require rm-lld.inc + +PR = "${INC_PR}.0" + +PACKAGE_ARCH = "${MACHINE_ARCH}" + +XDCARGS_k2hk-evm = "k2h k2k" +XDCARGS_k2e-evm = "k2e" +XDCARGS_k2l-evm = "k2l" +XDCARGS_k2g-evm = "k2g"
Signature · 1 line
1.9.1
PATCH 8/13 qmss-lld: Upgrade to version 2.1.0.12
In reply to Jacob Stiffler--- recipes-bsp/qmss-lld/qmss-lld-test_git.bb | 4 ++-- recipes-bsp/qmss-lld/qmss-lld.inc | 14 ++++++++++---- .../qmss-lld/qmss-ld-fix-firmware-installation.patch | 13 +++++++++++++ 3 files changed, 25 insertions(+), 6 deletions(-) create mode 100644 recipes-bsp/qmss-lld/qmss-lld/qmss-ld-fix-firmware-installation.patch
recipes-bsp/qmss-lld/qmss-lld-test_git.bb +2 -2
@@ -1,10 +1,10 @@ DESCRIPTION = "TI QMSS low level driver unit test and example binaries" -DEPENDS="common-csl-ip rm-lld cppi-lld qmss-lld" +DEPENDS="common-csl-ip rm-lld cppi-lld qmss-lld cmem" include qmss-lld.inc -PR = "${INC_PR}.1" +PR = "${INC_PR}.2" CHOICELIST = "yes no"
recipes-bsp/qmss-lld/qmss-lld.inc +10 -4
@@ -9,15 +9,15 @@ QMSS_LLD_GIT_PROTOCOL = "git" QMSS_LLD_GIT_BRANCH = "master" QMSS_LLD_GIT_DESTSUFFIX = "git/ti/drv/qmss" -# commit ID corresponding to DEV.QMSS_LLD.02.01.00.11 -QMSS_LLD_SRCREV = "2024ab2d411c1a6dd3f5e768a3cb30c2a685f1e4" +# commit ID corresponding to DEV.QMSS_LLD.02.01.00.12 +QMSS_LLD_SRCREV = "6b093515f38c6e4d3a8014903a563a9b89fd7c98" BRANCH ="${QMSS_LLD_GIT_BRANCH}" SRC_URI = "${QMSS_LLD_GIT_URI};destsuffix=${QMSS_LLD_GIT_DESTSUFFIX};protocol=${QMSS_LLD_GIT_PROTOCOL};branch=${BRANCH}" SRCREV = "${QMSS_LLD_SRCREV}" -PV = "02.01.00.11" -INC_PR = "r2" +PV = "02.01.00.12" +INC_PR = "r0" DEVICELIST = "k2h k2k k2l k2e" DEVICELIST_k2hk-evm = "k2h k2k"
@@ -25,3 +25,9 @@ DEVICELIST_k2l-evm = "k2l" DEVICELIST_k2e-evm = "k2e" S = "${WORKDIR}/${QMSS_LLD_GIT_DESTSUFFIX}" + +FILESEXTRAPATHS_prepend := "${THISDIR}/qmss-lld:" + +SRC_URI_append = " \ + file://qmss-ld-fix-firmware-installation.patch \ +"
recipes-bsp/qmss-lld/qmss-lld/qmss-ld-fix-firmware-installation.patch new file +13 -0
@@ -0,0 +1,13 @@ +diff --git a/makefile_armv7 b/makefile_armv7 +index a1fd5c0..d050ace 100644 +--- a/makefile_armv7 ++++ b/makefile_armv7 +@@ -117,7 +117,7 @@ install: + install -d $(INSTALL_LIB_BASE_DIR) + $(CP) ./*.h $(INSTALL_INC_BASE_DIR)/ti/drv/qmss + $(CP) ./include/*.h $(INSTALL_INC_BASE_DIR)/ti/drv/qmss/include +- $(CP) ./firmware/*.h $(INSTALL_INC_BASE_DIR)/ti/drv/qmss/firmware ++ $(CP) -r ./firmware/* $(INSTALL_INC_BASE_DIR)/ti/drv/qmss/firmware + $(CP) -r ./device $(INSTALL_INC_BASE_DIR)/ti/drv/qmss/ + @$(CP) -r $(ARMV7LIBDIR)/*.a $(INSTALL_LIB_BASE_DIR) + @$(CP) -r $(ARMV7LIBDIR)/*.so $(INSTALL_LIB_BASE_DIR)
Signature · 1 line
1.9.1
PATCH 9/13 qmss-lld-rtos: Add RTOS package for QMSS LLD
In reply to Jacob Stiffler--- recipes-bsp/qmss-lld/qmss-lld-rtos_git.bb | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 recipes-bsp/qmss-lld/qmss-lld-rtos_git.bb
recipes-bsp/qmss-lld/qmss-lld-rtos_git.bb new file +12 -0
@@ -0,0 +1,12 @@ +inherit ti-pdk + +require qmss-lld.inc + +PR = "${INC_PR}.0" + +DEPENDS_append = " rm-lld-rtos" + +XDCARGS_k2hk-evm = "k2h k2k" +XDCARGS_k2l-evm = "k2l" +XDCARGS_k2e-evm = "k2e" +XDCARGS_k2g-evm = "k2g"
Signature · 1 line
1.9.1
PATCH 10/13 cppi-lld: Upgrade version to 2.1.0.11
In reply to Jacob Stiffler--- recipes-bsp/cppi-lld/cppi-lld.inc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
recipes-bsp/cppi-lld/cppi-lld.inc +4 -4
@@ -9,15 +9,15 @@ CPPI_LLD_GIT_PROTOCOL = "git" CPPI_LLD_GIT_BRANCH = "master" CPPI_LLD_GIT_DESTSUFFIX = "git/ti/drv/cppi" -# Below Commit ID corresponds to "DEV.CPPI_LLD.02.01.00.10" -CPPI_LLD_SRCREV = "97c537fa544a78e83512db3499a49d0bd86fad32" +# Below Commit ID corresponds to "DEV.CPPI_LLD.02.01.00.11" +CPPI_LLD_SRCREV = "91047a01a6d64d7ffaf650c6ebb280de775af997" BRANCH = "${CPPI_LLD_GIT_BRANCH}" SRC_URI = "${CPPI_LLD_GIT_URI};destsuffix=${CPPI_LLD_GIT_DESTSUFFIX};protocol=${CPPI_LLD_GIT_PROTOCOL};branch=${BRANCH}" SRCREV = "${CPPI_LLD_SRCREV}" -PV = "02.01.00.10" -INC_PR = "r3" +PV = "02.01.00.11" +INC_PR = "r0" DEVICELIST = "k2h k2k k2l k2e" DEVICELIST_k2hk-evm = "k2h k2k"
Signature · 1 line
1.9.1
PATCH 11/13 cppi-lld-rtos: Add RTOS package for CPPI LLD
In reply to Jacob Stiffler--- recipes-bsp/cppi-lld/cppi-lld-rtos_git.bb | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 recipes-bsp/cppi-lld/cppi-lld-rtos_git.bb
recipes-bsp/cppi-lld/cppi-lld-rtos_git.bb new file +13 -0
@@ -0,0 +1,13 @@ +inherit ti-pdk +require cppi-lld.inc + +PR = "${INC_PR}.0" + +DEPENDS_append = " rm-lld-rtos \ + qmss-lld-rtos \ +" + +XDCARGS_k2hk-evm = "k2h k2k" +XDCARGS_k2e-evm = "k2e" +XDCARGS_k2l-evm = "k2l" +XDCARGS_k2g-evm = "k2g"
Signature · 1 line
1.9.1
PATCH 12/13 openmp-rtos: Add the OpenMP RTOS package
In reply to Jacob Stiffler* supports OpenMP on c66x cores
--- recipes-ti/includes/ti-paths.inc | 2 + recipes-ti/openmp-rtos/openmp-rtos_git.bb | 62 +++++++++++++++++++++++++++++++ 2 files changed, 64 insertions(+) create mode 100644 recipes-ti/openmp-rtos/openmp-rtos_git.bb
recipes-ti/includes/ti-paths.inc +2 -0
@@ -53,6 +53,7 @@ export DSPLIB_C66_INSTALL_DIR_RECIPE = "${installdir}/ti-dsplib-c66x-tree" export MATHLIB_C66_INSTALL_DIR_RECIPE = "${installdir}/ti-mathlib-c66x-tree" export IMGLIB_C66_INSTALL_DIR_RECIPE = "${installdir}/ti-imglib-c66x-tree" export CG_XML_INSTALL_DIR_RECIPE = "${installdir}/ti-cg-xml-tree" +export OMP_INSTALL_DIR_RECIPE = "${installdir}/ti-omp-tree" # This is where the tools will end up in sysroot
@@ -97,6 +98,7 @@ export DSPLIB_C66_INSTALL_DIR = "${STAGING_DIR_TARGET}${DSPLIB_C66_INSTALL_ export MATHLIB_C66_INSTALL_DIR = "${STAGING_DIR_TARGET}${MATHLIB_C66_INSTALL_DIR_RECIPE}" export IMGLIB_C66_INSTALL_DIR = "${STAGING_DIR_TARGET}${IMGLIB_C66_INSTALL_DIR_RECIPE}" export CG_XML_INSTALL_DIR = "${STAGING_DIR_NATIVE}${CG_XML_INSTALL_DIR_RECIPE}" +export OMP_INSTALL_DIR = "${STAGING_DIR_TARGET}${OMP_INSTALL_DIR_RECIPE}" DSPSUFFIX_omapl137 = "x674" DSPSUFFIX_omapl138 = "x674"
recipes-ti/openmp-rtos/openmp-rtos_git.bb new file +62 -0
62 lines not on this page · raw message
Signature · 1 line
1.9.1
PATCH 13/13 gdbc6x: Extend support to keystone SOCs
In reply to Jacob Stiffler--- recipes-devtools/gdbc6x/gdbc6x.inc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)
recipes-devtools/gdbc6x/gdbc6x.inc +6 -1
@@ -1,8 +1,13 @@ # This corresponds to version 1.1.0 SRCREV = "1ab06f8bcfe7540754558bac331a0312c4b59142" +SRCREV_keystone = "913f18db6325e08f634be6dda91f57fb0ec8c838" + PV = "1.1.0" -INC_PR = "r0" +INC_PR = "r1" SRC_URI = "git://git.ti.com/sdo-emu/gdbc6x.git;protocol=git;branch=${BRANCH}" BRANCH = "master" +BRANCH_keystone = "k2h" + +PACKAGE_ARCH = "${MACHINE_ARCH}"
Signature · 1 line
1.9.1