keystone llds: Clean up recipes
cover keystone llds: Clean up recipes
Clean up the keystone LLD recipes and only install the device-specific biaries on the supported machine.
Jacob Stiffler (27):
aif2-lld: Clean up recipes
common-csl-ip: Clean up recipes
cppi-lld: Clean up recipes
cppi-lld: Only build binaries relevent to the machine
dfe-lld: Clean up recipes
edma3-lld: Clean up recipes
hplib: Clean up recipes
hplib: Only build binaries relevent to the machine
hyplnk-lld: Clean up recipes
hyplnk-lld: Only build binaries relevent to the machine
iqn2-lld: Clean up recipes
mmap-lld: Clean up recipes
mmap-lld-test: Only build binaries relevent to the machine
nwal-lld: Clean up recipes
nwal-lld: Only build binaries relevent to the machine
pa-lld: Clean up recipes
pa-lld: Only build binaries relevent to the machine
pktlib: Clean up recipes
qmss-lld: Clean up recipes
qmss-lld: Only build binaries relevent to the machine
rm-lld: Clean up recipes
sa-lld: Clean up recipes
sa-lld-test: Only build binaries relevent to the machine
srio-lld: Clean up recipes
srio-lld: Only compatible with k2hk-evm
traceframework: Clean up recipes
traceframework: Only build binaries relevent to the machine
recipes-bsp/aif2-lld/aif2-lld-test_git.bb | 2 + recipes-bsp/aif2-lld/aif2-lld.inc | 17 ++++++-- recipes-bsp/aif2-lld/aif2-lld_git.bb | 2 + .../common-csl-ip/common-csl-ip-rtos_git.bb | 6 +-- recipes-bsp/common-csl-ip/common-csl-ip.inc | 19 ++++++--- recipes-bsp/common-csl-ip/common-csl-ip_git.bb | 4 +- recipes-bsp/cppi-lld/cppi-lld-test_git.bb | 3 +- recipes-bsp/cppi-lld/cppi-lld.inc | 24 ++++++++--- recipes-bsp/cppi-lld/cppi-lld_git.bb | 20 +++++---- recipes-bsp/cppi-lld/files/init_cppi.sh | 47 ---------------------- recipes-bsp/dfe-lld/dfe-lld-test_git.bb | 2 + recipes-bsp/dfe-lld/dfe-lld.inc | 17 ++++++-- recipes-bsp/dfe-lld/dfe-lld_git.bb | 2 + recipes-bsp/edma3-lld/edma3-lld-rtos_git.bb | 2 +- recipes-bsp/edma3-lld/edma3-lld.inc | 13 ++++-- recipes-bsp/edma3-lld/edma3-lld_git.bb | 2 +- recipes-bsp/hplib/hplib-test_git.bb | 2 + recipes-bsp/hplib/hplib.inc | 18 +++++++-- recipes-bsp/hplib/hplib_git.bb | 2 + recipes-bsp/hyplnk-lld/files/init_hyplnk.sh | 43 -------------------- recipes-bsp/hyplnk-lld/hyplnk-lld-test_git.bb | 2 + recipes-bsp/hyplnk-lld/hyplnk-lld.inc | 30 ++++++++------ recipes-bsp/hyplnk-lld/hyplnk-lld_git.bb | 24 +++++------ recipes-bsp/iqn2-lld/iqn2-lld-test_git.bb | 2 + recipes-bsp/iqn2-lld/iqn2-lld.inc | 16 ++++++-- recipes-bsp/iqn2-lld/iqn2-lld_git.bb | 2 + recipes-bsp/mmap-lld/mmap-lld-test_git.bb | 10 +++-- recipes-bsp/mmap-lld/mmap-lld.inc | 17 +++++--- recipes-bsp/mmap-lld/mmap-lld_git.bb | 2 + recipes-bsp/nwal-lld/nwal-lld-test_git.bb | 2 + recipes-bsp/nwal-lld/nwal-lld.inc | 18 +++++++-- recipes-bsp/nwal-lld/nwal-lld_git.bb | 2 + recipes-bsp/pa-lld/files/init_pa.sh | 47 ---------------------- recipes-bsp/pa-lld/pa-lld-test_git.bb | 2 +- recipes-bsp/pa-lld/pa-lld.inc | 27 ++++++++++--- recipes-bsp/pa-lld/pa-lld_git.bb | 19 ++++----- recipes-bsp/pktlib/pktlib_git.bb | 13 ++++-- recipes-bsp/qmss-lld/files/init_qmss.sh | 47 ---------------------- recipes-bsp/qmss-lld/qmss-lld-test_git.bb | 3 +- recipes-bsp/qmss-lld/qmss-lld.inc | 24 ++++++++--- recipes-bsp/qmss-lld/qmss-lld_git.bb | 22 +++++----- recipes-bsp/rm-lld/rm-lld_git.bb | 16 ++++++-- recipes-bsp/sa-lld/sa-lld-test_git.bb | 8 +++- recipes-bsp/sa-lld/sa-lld.inc | 18 ++++++--- recipes-bsp/sa-lld/sa-lld_git.bb | 2 + recipes-bsp/srio-lld/srio-lld-test_git.bb | 3 +- recipes-bsp/srio-lld/srio-lld.inc | 16 ++++++-- recipes-bsp/srio-lld/srio-lld_git.bb | 3 +- recipes-bsp/traceframework/traceframework_git.bb | 19 +++++++-- 49 files changed, 329 insertions(+), 334 deletions(-) delete mode 100755 recipes-bsp/cppi-lld/files/init_cppi.sh delete mode 100755 recipes-bsp/hyplnk-lld/files/init_hyplnk.sh delete mode 100755 recipes-bsp/pa-lld/files/init_pa.sh delete mode 100755 recipes-bsp/qmss-lld/files/init_qmss.sh
Signature · 1 line
1.9.1
PATCH 1/27 aif2-lld: Clean up recipes
* Use INC_PR to track recipe revisions
* Define variables for GIT SRC_URI parameters
--- recipes-bsp/aif2-lld/aif2-lld-test_git.bb | 2 ++ recipes-bsp/aif2-lld/aif2-lld.inc | 17 +++++++++++++---- recipes-bsp/aif2-lld/aif2-lld_git.bb | 2 ++ 3 files changed, 17 insertions(+), 4 deletions(-)
recipes-bsp/aif2-lld/aif2-lld-test_git.bb +2 -0
@@ -4,6 +4,8 @@ DEPENDS = "common-csl-ip aif2-lld qmss-lld cppi-lld" include aif2-lld.inc +PR = "${INC_PR}.0" + EXTRA_OEMAKE = "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR} AIF2_SRC_DIR=${WORKDIR}/git" do_compile () {
recipes-bsp/aif2-lld/aif2-lld.inc +13 -4
@@ -1,13 +1,22 @@ LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://COPYING.txt;md5=5bdceac872dffdec915b819654ee23ea" -BRANCH = "master" -SRC_URI = "git://git.ti.com/keystone-rtos/aif2-lld.git;destsuffix=git/ti/drv/aif2;protocol=git;branch=${BRANCH}" + +AIF2_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/aif2-lld.git" +AIF2_LLD_GIT_PROTOCOL = "git" +AIF2_LLD_GIT_BRANCH = "master" +AIF2_LLD_GIT_DESTSUFFIX = "git/ti/drv/aif2" + # The following commit correspond to DEV.AIF2LLD.01.02.00.00A -SRCREV = "7f394ec9975cd4cef982b11763c882c4c763ddce" +AIF2_LLD_SRCREV = "7f394ec9975cd4cef982b11763c882c4c763ddce" + +BRANCH = "${AIF2_LLD_GIT_BRANCH}" +SRC_URI = "${AIF2_LLD_GIT_URI};destsuffix=${AIF2_LLD_GIT_DESTSUFFIX};protocol=${AIF2_LLD_GIT_PROTOCOL};branch=${BRANCH}" +SRCREV = "${AIF2_LLD_SRCREV}" PV = "1.2.0.0" +INC_PR = "r1" COMPATIBLE_MACHINE = "k2hk-evm" -S = "${WORKDIR}/git/ti/drv/aif2" +S = "${WORKDIR}/${AIF2_LLD_GIT_DESTSUFFIX}"
recipes-bsp/aif2-lld/aif2-lld_git.bb +2 -0
@@ -4,6 +4,8 @@ DEPENDS = "common-csl-ip qmss-lld cppi-lld" include aif2-lld.inc +PR = "${INC_PR}.0" + EXTRA_OEMAKE = "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR}" do_compile () {
Signature · 1 line
1.9.1
PATCH 2/27 common-csl-ip: Clean up recipes
In reply to Jacob Stiffler* Use INC_PR to track recipe revisions
* Define variables for GIT SRC_URI parameters
--- recipes-bsp/common-csl-ip/common-csl-ip-rtos_git.bb | 6 +++--- recipes-bsp/common-csl-ip/common-csl-ip.inc | 19 ++++++++++++++----- recipes-bsp/common-csl-ip/common-csl-ip_git.bb | 4 +--- 3 files changed, 18 insertions(+), 11 deletions(-)
recipes-bsp/common-csl-ip/common-csl-ip-rtos_git.bb +3 -3
@@ -1,13 +1,13 @@ require common-csl-ip.inc +PR = "${INC_PR}.0" + require recipes-ti/includes/ti-paths.inc require recipes-ti/includes/ti-staging.inc -PR = "r1" - DEPENDS = "ti-xdctools ti-cgt6x-native ti-sysbios" -S = "${WORKDIR}/ti/csl" +CSL_GIT_DESTSUFFIX = "git/ti/csl" export C6X_GEN_INSTALL_PATH="${STAGING_DIR_NATIVE}/usr" export XDCCGROOT="${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x"
recipes-bsp/common-csl-ip/common-csl-ip.inc +14 -5
@@ -5,13 +5,22 @@ LIC_FILES_CHKSUM = "file://COPYING.txt;md5=5857833e20836213677fac33f9aded21" COMPATIBLE_MACHINE = "keystone|dra7xx" PACKAGE_ARCH = "${MACHINE_ARCH}" -BRANCH="master" -BRANCH_dra7xx = "releases/PROCESSOR-SDK.01.00.00" +INC_PR = "r4" -SRC_URI = "git://git.ti.com/keystone-rtos/common-csl-ip.git;protocol=git;branch=${BRANCH};destsuffix=${S}" +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 -SRCREV = "17bb083f0d5ed4ad6f38c991210a6a8e9aaf9c56" +CSL_SRCREV = "17bb083f0d5ed4ad6f38c991210a6a8e9aaf9c56" # commit ID corresponds to PROCESSOR-SDK-ALPHA-1 -SRCREV_dra7xx = "37c5311ddf289f83b1432a9422816722d264bf55" +CSL_SRCREV_dra7xx = "37c5311ddf289f83b1432a9422816722d264bf55" + +BRANCH="${CSL_GIT_BRANCH}" +SRC_URI = "${CSL_GIT_URI};protocol=${CSL_GIT_PROTOCOL};branch=${BRANCH};destsuffix=${CSL_GIT_DESTSUFFIX}" +SRCREV = "${CSL_SRCREV}" + +S = "${WORKDIR}/${CSL_GIT_DESTSUFFIX}"
recipes-bsp/common-csl-ip/common-csl-ip_git.bb +1 -3
@@ -1,11 +1,9 @@ require common-csl-ip.inc -PR = "r3" +PR = "${INC_PR}.0" ALLOW_EMPTY_${PN} = "1" -S = "${WORKDIR}/git" - 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 3/27 cppi-lld: Clean up recipes
In reply to Jacob Stiffler* Use INC_PR to track recipe revisions
* Define variables for GIT SRC_URI parameters
--- recipes-bsp/cppi-lld/cppi-lld-test_git.bb | 2 ++ recipes-bsp/cppi-lld/cppi-lld.inc | 17 ++++++++++++----- recipes-bsp/cppi-lld/cppi-lld_git.bb | 2 ++ 3 files changed, 16 insertions(+), 5 deletions(-)
recipes-bsp/cppi-lld/cppi-lld-test_git.bb +2 -0
@@ -4,6 +4,8 @@ DEPENDS = "common-csl-ip rm-lld cppi-lld qmss-lld" include cppi-lld.inc +PR = "${INC_PR}.0" + CHOICELIST = "yes no" do_compile () {
recipes-bsp/cppi-lld/cppi-lld.inc +12 -5
@@ -1,14 +1,21 @@ LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://${WORKDIR}/git/ti/drv/cppi/COPYING.txt;md5=e8f6789acdcda76d02ed9203fc2e603d" -BRANCH = "master" -SRC_URI = "git://git.ti.com/keystone-rtos/cppi-lld.git;destsuffix=git/ti/drv/cppi;protocol=git;branch=${BRANCH}" +CPPI_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/cppi-lld.git" +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" -SRCREV = "97c537fa544a78e83512db3499a49d0bd86fad32" +CPPI_LLD_SRCREV = "97c537fa544a78e83512db3499a49d0bd86fad32" + +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 = "r1" DEVICELIST = "k2h k2k k2l k2e" -BASEDIR = "${WORKDIR}/git" -S = "${BASEDIR}/ti/drv/cppi" +S = "${WORKDIR}/${CPPI_LLD_GIT_DESTSUFFIX}"
recipes-bsp/cppi-lld/cppi-lld_git.bb +2 -0
@@ -5,6 +5,8 @@ DEPENDS = "common-csl-ip rm-lld qmss-lld" include cppi-lld.inc +PR = "${INC_PR}.0" + SRC_URI += "file://init_cppi.sh" inherit update-rc.d
Signature · 1 line
1.9.1
PATCH 4/27 cppi-lld: Only build binaries relevent to the machine
In reply to Jacob Stiffler* Due to this change, the init script is no longer needed
--- recipes-bsp/cppi-lld/cppi-lld-test_git.bb | 1 - recipes-bsp/cppi-lld/cppi-lld.inc | 9 ++++-- recipes-bsp/cppi-lld/cppi-lld_git.bb | 22 ++++++--------- recipes-bsp/cppi-lld/files/init_cppi.sh | 47 ------------------------------- 4 files changed, 16 insertions(+), 63 deletions(-) delete mode 100755 recipes-bsp/cppi-lld/files/init_cppi.sh
recipes-bsp/cppi-lld/cppi-lld-test_git.bb +0 -1
@@ -1,5 +1,4 @@ DESCRIPTION = "TI CPPI low level driver unit test and example binaries" -COMPATIBLE_MACHINE = "keystone" DEPENDS = "common-csl-ip rm-lld cppi-lld qmss-lld" include cppi-lld.inc
recipes-bsp/cppi-lld/cppi-lld.inc +7 -2
@@ -1,6 +1,9 @@ LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://${WORKDIR}/git/ti/drv/cppi/COPYING.txt;md5=e8f6789acdcda76d02ed9203fc2e603d" +COMPATIBLE_MACHINE = "keystone" +PACKAGE_ARCH = "${MACHINE_ARCH}" + CPPI_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/cppi-lld.git" CPPI_LLD_GIT_PROTOCOL = "git" CPPI_LLD_GIT_BRANCH = "master"
@@ -14,8 +17,10 @@ SRC_URI = "${CPPI_LLD_GIT_URI};destsuffix=${CPPI_LLD_GIT_DESTSUFFIX};protocol=${ SRCREV = "${CPPI_LLD_SRCREV}" PV = "02.01.00.10" -INC_PR = "r1" +INC_PR = "r2" -DEVICELIST = "k2h k2k k2l k2e" +DEVICELIST_k2hk-evm = "k2h k2k" +DEVICELIST_k2l-evm = "k2l" +DEVICELIST_k2e-evm = "k2e" S = "${WORKDIR}/${CPPI_LLD_GIT_DESTSUFFIX}"
recipes-bsp/cppi-lld/cppi-lld_git.bb +9 -13
@@ -1,18 +1,10 @@ DESCRIPTION = "TI CPPI Module low level driver" -COMPATIBLE_MACHINE = "keystone" DEPENDS = "common-csl-ip rm-lld qmss-lld" include cppi-lld.inc -PR = "${INC_PR}.0" - -SRC_URI += "file://init_cppi.sh" - -inherit update-rc.d - -INITSCRIPT_NAME = "init_cppi.sh" -INITSCRIPT_PARAMS = "defaults 10" +PR = "${INC_PR}.1" do_compile () { # Now build the lld in the updated directory
@@ -25,11 +17,15 @@ do_compile () { do_install () { make -f makefile_armv7 install PDK_INSTALL_PATH=${STAGING_INCDIR} INSTALL_INC_BASE_DIR=${D}/${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir} + # Set the generic device library symbolic link to default k2h cd ${D}${libdir} - ln -sf libcppi_k2h.so.1.0.0 libcppi_device.so.1 + + # Link only the first device in the list + for device in ${DEVICELIST} + do + ln -sf libcppi_${device}.so.1.0.0 libcppi_device.so.1 + break + done ln -sf libcppi_device.so.1 libcppi_device.so -# Copy init scripts - install -d ${D}${sysconfdir}/init.d/ - install -c -m 755 ${WORKDIR}/init_cppi.sh ${D}${sysconfdir}/init.d/${INITSCRIPT_NAME} }
recipes-bsp/cppi-lld/files/init_cppi.sh deleted +0 -47
47 lines not on this page · raw message
Signature · 1 line
1.9.1
PATCH 5/27 dfe-lld: Clean up recipes
In reply to Jacob Stiffler* Use INC_PR to track recipe revisions
* Define variables for GIT SRC_URI parameters
--- recipes-bsp/dfe-lld/dfe-lld-test_git.bb | 2 ++ recipes-bsp/dfe-lld/dfe-lld.inc | 17 +++++++++++++---- recipes-bsp/dfe-lld/dfe-lld_git.bb | 2 ++ 3 files changed, 17 insertions(+), 4 deletions(-)
recipes-bsp/dfe-lld/dfe-lld-test_git.bb +2 -0
@@ -4,6 +4,8 @@ DEPENDS = "common-csl-ip dfe-lld iqn2-lld" include dfe-lld.inc +PR = "${INC_PR}.0" + EXTRA_OEMAKE = "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR} DFE_SRC_DIR=${S}" do_compile () {
recipes-bsp/dfe-lld/dfe-lld.inc +13 -4
@@ -1,13 +1,22 @@ LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://COPYING.txt;md5=1f4217b705bf98762a302fd720649dcc" -BRANCH = "master" -SRC_URI = "git://git.ti.com/keystone-rtos/dfe-lld.git;destsuffix=git/ti/drv/dfe;protocol=git;branch=${BRANCH}" + +DFE_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/dfe-lld.git" +DFE_LLD_GIT_PROTOCOL = "git" +DFE_LLD_GIT_BRANCH = "master" +DFE_LLD_GIT_DESTSUFFIX = "git/ti/drv/dfe" + # The following commit correspond to DEV.DFE_LLD.01.00.00.05E -SRCREV = "42e9df0108d208c92b9d2fee7e8b1b1ab62f4b69" +DFE_LLD_SRCREV = "42e9df0108d208c92b9d2fee7e8b1b1ab62f4b69" + +BRANCH = "${DFE_LLD_GIT_BRANCH}" +SRC_URI = "${DFE_LLD_GIT_URI};destsuffix=${DFE_LLD_GIT_DESTSUFFIX};protocol=${DFE_LLD_GIT_PROTOCOL};branch=${BRANCH}" +SRCREV = "${DFE_LLD_SRCREV}" PV = "1.0.0.5" +INC_PR = "r1" COMPATIBLE_MACHINE = "k2l-evm" -S = "${WORKDIR}/git/ti/drv/dfe" +S = "${WORKDIR}/${DFE_LLD_GIT_DESTSUFFIX}"
recipes-bsp/dfe-lld/dfe-lld_git.bb +2 -0
@@ -4,6 +4,8 @@ DEPENDS = "common-csl-ip" include dfe-lld.inc +PR = "${INC_PR}.0" + EXTRA_OEMAKE = "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR}" do_compile () {
Signature · 1 line
1.9.1
PATCH 6/27 edma3-lld: Clean up recipes
In reply to Jacob Stiffler* Use INC_PR to track recipe revisions
* Define variables for GIT SRC_URI parameters
--- recipes-bsp/edma3-lld/edma3-lld-rtos_git.bb | 2 +- recipes-bsp/edma3-lld/edma3-lld.inc | 13 ++++++++++--- recipes-bsp/edma3-lld/edma3-lld_git.bb | 2 +- 3 files changed, 12 insertions(+), 5 deletions(-)
recipes-bsp/edma3-lld/edma3-lld-rtos_git.bb +1 -1
@@ -2,7 +2,7 @@ require edma3-lld.inc require recipes-ti/includes/ti-paths.inc require recipes-ti/includes/ti-staging.inc -PR = "r1" +PR = "${INC_PR}.0" DEPENDS = "ti-cgt6x-native ti-sysbios ti-xdctools"
recipes-bsp/edma3-lld/edma3-lld.inc +10 -3
@@ -2,9 +2,16 @@ DESCRIPTION = "TI EDMA3 low level driver and test code" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://COPYING.txt;md5=5bdceac872dffdec915b819654ee23ea" -BRANCH = "master" -SRC_URI = "git://git.ti.com/keystone-rtos/edma3_lld.git;protocol=git;branch=${BRANCH}" +EDMA3_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/edma3_lld.git" +EDMA3_LLD_GIT_PROTOCOL = "git" +EDMA3_LLD_GIT_BRANCH = "master" + # The following commit corresponds to tag DEV_EDMA3_LLD_02_12_01_21_RC1 -SRCREV = "562cba36ccd53e89e6979e99a58374513b543f93" +EDMA3_LLD_SRCREV = "562cba36ccd53e89e6979e99a58374513b543f93" + +BRANCH = "${EDMA3_LLD_GIT_BRANCH}" +SRC_URI = "${EDMA3_LLD_GIT_URI};protocol=${EDMA3_LLD_GIT_PROTOCOL};branch=${BRANCH}" +SRCREV = "${EDMA3_LLD_SRCREV}" PV = "2.12.01.21" +INC_PR = "r2"
recipes-bsp/edma3-lld/edma3-lld_git.bb +1 -1
@@ -1,6 +1,6 @@ require edma3-lld.inc -PR = "r0" +PR = "${INC_PR}.0" COMPATIBLE_MACHINE = "keystone"
Signature · 1 line
1.9.1
PATCH 7/27 hplib: Clean up recipes
In reply to Jacob Stiffler* Use INC_PR to track recipe revisions
* Define variables for GIT SRC_URI parameters
--- recipes-bsp/hplib/hplib-test_git.bb | 2 ++ recipes-bsp/hplib/hplib.inc | 13 ++++++++++--- recipes-bsp/hplib/hplib_git.bb | 2 ++ 3 files changed, 14 insertions(+), 3 deletions(-)
recipes-bsp/hplib/hplib-test_git.bb +2 -0
@@ -6,6 +6,8 @@ DEPENDS = "common-csl-ip qmss-lld sa-lld pktlib hplib" include hplib.inc +PR = "${INC_PR}.0" + CHOICELIST = "yes no" S = "${WORKDIR}/git/ti/runtime/hplib"
recipes-bsp/hplib/hplib.inc +10 -3
@@ -2,9 +2,16 @@ COMPATIBLE_MACHINE = "keystone" DEVICELIST = "k2h k2k k2l k2e" -BRANCH = "master" -SRC_URI = "git://git.ti.com/keystone-rtos/hplib.git;protocol=git;branch=${BRANCH}" +HPLIB_GIT_URI = "git://git.ti.com/keystone-rtos/hplib.git" +HPLIB_GIT_PROTOCOL = "git" +HPLIB_GIT_BRANCH = "master" # Below Commit ID corresponds to "DEV.HPLIB.01.01.00.06" -SRCREV = "1cbe6a41926c131d9cab63b40d43807c6e56e2fd" +HPLIB_SRCREV = "1cbe6a41926c131d9cab63b40d43807c6e56e2fd" + +BRANCH = "${HPLIB_GIT_BRANCH}" +SRC_URI = "${HPLIB_GIT_URI};protocol=${HPLIB_GIT_PROTOCOL};branch=${BRANCH}" +SRCREV = "${HPLIB_SRCREV}" + PV = "01.01.00.06+git${SRCPV}" +INC_PR = "r1"
recipes-bsp/hplib/hplib_git.bb +2 -0
@@ -7,6 +7,8 @@ RDEPENDS_${PN} = "hplib-mod" include hplib.inc +PR = "${INC_PR}.0" + CHOICELIST = "yes no" S = "${WORKDIR}/git/ti/runtime/hplib"
Signature · 1 line
1.9.1
PATCH 8/27 hplib: Only build binaries relevent to the machine
In reply to Jacob Stiffler--- recipes-bsp/hplib/hplib.inc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
recipes-bsp/hplib/hplib.inc +4 -1
@@ -1,6 +1,9 @@ COMPATIBLE_MACHINE = "keystone" +PACKAGE_ARCH = "${MACHINE_ARCH}" -DEVICELIST = "k2h k2k k2l k2e" +DEVICELIST_k2hk-evm = "k2h k2k" +DEVICELIST_k2l-evm = "k2l" +DEVICELIST_k2e-evm = "k2e" HPLIB_GIT_URI = "git://git.ti.com/keystone-rtos/hplib.git" HPLIB_GIT_PROTOCOL = "git"
Signature · 1 line
1.9.1
PATCH 9/27 hyplnk-lld: Clean up recipes
In reply to Jacob Stiffler* Use INC_PR to track recipe revisions
* Define variables for GIT SRC_URI parameters
--- recipes-bsp/hyplnk-lld/hyplnk-lld-test_git.bb | 2 ++ recipes-bsp/hyplnk-lld/hyplnk-lld.inc | 21 +++++++++++++-------- recipes-bsp/hyplnk-lld/hyplnk-lld_git.bb | 2 ++ 3 files changed, 17 insertions(+), 8 deletions(-)
recipes-bsp/hyplnk-lld/hyplnk-lld-test_git.bb +2 -0
@@ -1,5 +1,7 @@ include hyplnk-lld.inc +PR = "${INC_PR}.0" + DEPENDS = "common-csl-ip hyplnk-lld" do_compile () {
recipes-bsp/hyplnk-lld/hyplnk-lld.inc +13 -8
@@ -5,21 +5,26 @@ COMPATIBLE_MACHINE = "keystone" LLDNAME="hyplnk" -LIC_FILES_CHKSUM = "file://${WORKDIR}/git/ti/drv/${LLDNAME}/COPYING.txt;md5=623325cc19e613a4e770fbb749922592" +LIC_FILES_CHKSUM = "file://${WORKDIR}/${HYPLNK_GIT_DESTSUFFIX}/COPYING.txt;md5=623325cc19e613a4e770fbb749922592" + +HYPLNK_GIT_URI = "git://git.ti.com/keystone-rtos/hyplnk-lld.git" +HYPLNK_GIT_PROTOCOL = "git" +HYPLNK_GIT_BRANCH = "master" +HYPLNK_GIT_DESTSUFFIX = "git/ti/drv/${LLDNAME}" -BRANCH="master" -SRC_URI = "git://git.ti.com/keystone-rtos/hyplnk-lld.git;destsuffix=git/ti/drv/${LLDNAME};protocol=git;branch=${BRANCH}" -FILESPATH_prepend := "${THISDIR}/files" # Following commit corresponds to tag DEV.HYPLNK_LLD.02.01.00.05 -SRCREV = "ea2a634578626deaa69608a189d5d7e84e5b7127" +HYPLNK_SRCREV = "ea2a634578626deaa69608a189d5d7e84e5b7127" + +BRANCH="${HYPLNK_GIT_BRANCH}" +SRC_URI = "${HYPLNK_GIT_URI};destsuffix=${HYPLNK_GIT_DESTSUFFIX};protocol=${HYPLNK_GIT_PROTOCOL};branch=${BRANCH}" +SRCREV = "${HYPLNK_SRCREV}" PV = "2.1.0.5" -PR = "r1" +INC_PR = "r2" DEVICELIST = " k2h \ k2k \ k2e \ " -BASEDIR = "${WORKDIR}/git" -S = "${BASEDIR}/ti/drv/${LLDNAME}" +S = "${WORKDIR}/${HYPLNK_GIT_DESTSUFFIX}"
recipes-bsp/hyplnk-lld/hyplnk-lld_git.bb +2 -0
@@ -1,5 +1,7 @@ include hyplnk-lld.inc +PR = "${INC_PR}.0" + DEPENDS = "common-csl-ip" SRC_URI += "file://init_hyplnk.sh"
Signature · 1 line
1.9.1
PATCH 10/27 hyplnk-lld: Only build binaries relevent to the machine
In reply to Jacob Stiffler* Due to this change, the init script is no longer needed
--- recipes-bsp/hyplnk-lld/files/init_hyplnk.sh | 43 ----------------------------- recipes-bsp/hyplnk-lld/hyplnk-lld.inc | 9 +++--- recipes-bsp/hyplnk-lld/hyplnk-lld_git.bb | 24 +++++++--------- 3 files changed, 14 insertions(+), 62 deletions(-) delete mode 100755 recipes-bsp/hyplnk-lld/files/init_hyplnk.sh
recipes-bsp/hyplnk-lld/files/init_hyplnk.sh deleted +0 -43
@@ -1,43 +0,0 @@ -#* -#* Copyright (C) 2015 Texas Instruments Incorporated - http://www.ti.com/ -#* -#* -#* Redistribution and use in source and binary forms, with or without -#* modification, are permitted provided that the following conditions -#* are met: -#* -#* Redistributions of source code must retain the above copyright -#* notice, this list of conditions and the following disclaimer. -#* -#* Redistributions in binary form must reproduce the above copyright -#* notice, this list of conditions and the following disclaimer in the -#* documentation and/or other materials provided with the -#* distribution. -#* -#* Neither the name of Texas Instruments Incorporated nor the names of -#* its contributors may be used to endorse or promote products derived -#* from this software without specific prior written permission. -#* - -#! /bin/sh -compatible=$(cat /proc/device-tree/compatible) - -cd /usr/lib -case "$compatible" in - *k2hk*) - device=k2hk - ln -sf libhyplnk_k2h.so.1.0.0 libhyplnk_device.so.1 - ;; - *k2e*) - device=k2e - ln -sf libhyplnk_k2e.so.1.0.0 libhyplnk_device.so.1 - ;; - *) - device=unknown - ;; -esac - -if [ $device != unknown ]; then - ln -sf libhyplnk_device.so.1 libhyplnk_device.so - echo hyplnk library link established for device : $device -fi
recipes-bsp/hyplnk-lld/hyplnk-lld.inc +4 -5
@@ -1,7 +1,8 @@ DESCRIPTION = "TI Hyperlink Low Level Driver" LICENSE = "BSD-3-Clause" -COMPATIBLE_MACHINE = "keystone" +COMPATIBLE_MACHINE = "k2hk-evm|k2e-evm" +PACKAGE_ARCH = "${MACHINE_ARCH}" LLDNAME="hyplnk"
@@ -22,9 +23,7 @@ SRCREV = "${HYPLNK_SRCREV}" PV = "2.1.0.5" INC_PR = "r2" -DEVICELIST = " k2h \ - k2k \ - k2e \ -" +DEVICELIST_k2hk-evm = "k2h k2k" +DEVICELIST_k2e-evm = "k2e" S = "${WORKDIR}/${HYPLNK_GIT_DESTSUFFIX}"
recipes-bsp/hyplnk-lld/hyplnk-lld_git.bb +10 -14
@@ -1,16 +1,9 @@ include hyplnk-lld.inc -PR = "${INC_PR}.0" +PR = "${INC_PR}.1" DEPENDS = "common-csl-ip" -SRC_URI += "file://init_hyplnk.sh" - -inherit update-rc.d - -INITSCRIPT_NAME = "init_hyplnk.sh" -INITSCRIPT_PARAMS = "defaults 10" - do_compile () { make -f makefile_armv7 clean PDK_INSTALL_PATH="${STAGING_INCDIR}" \ HYPLNK_SRC_DIR="${S}"
@@ -25,12 +18,15 @@ do_install () { make -f makefile_armv7 install PDK_INSTALL_PATH="${STAGING_INCDIR}" \ INSTALL_INC_BASE_DIR="${D}/${includedir}" \ INSTALL_LIB_BASE_DIR="${D}${libdir}" HYPLNK_SRC_DIR="${S}" -# Set the generic device library symbolic link to default k2h + + # Set the generic device library symbolic link to default k2h cd ${D}${libdir} - ln -sf libhyplnk_k2h.so.1.0.0 libhyplnk_device.so.1 - ln -sf libhyplnk_device.so.1 libhyplnk_device.so -# Copy init scripts - install -d ${D}${sysconfdir}/init.d/ - install -c -m 755 ${WORKDIR}/init_hyplnk.sh ${D}${sysconfdir}/init.d/${INITSCRIPT_NAME} + # Link only the first device in the list + for device in ${DEVICELIST} + do + ln -sf libhyplnk_${device}.so.1.0.0 libhyplnk_device.so.1 + break + done + ln -sf libhyplnk_device.so.1 libhyplnk_device.so }
Signature · 1 line
1.9.1
PATCH 11/27 iqn2-lld: Clean up recipes
In reply to Jacob Stiffler* Use INC_PR to track recipe revisions
* Define variables for GIT SRC_URI parameters
--- recipes-bsp/iqn2-lld/iqn2-lld-test_git.bb | 2 ++ recipes-bsp/iqn2-lld/iqn2-lld.inc | 16 ++++++++++++---- recipes-bsp/iqn2-lld/iqn2-lld_git.bb | 2 ++ 3 files changed, 16 insertions(+), 4 deletions(-)
recipes-bsp/iqn2-lld/iqn2-lld-test_git.bb +2 -0
@@ -4,6 +4,8 @@ DEPENDS = "common-csl-ip iqn2-lld dfe-lld" include iqn2-lld.inc +PR = "${INC_PR}.0" + EXTRA_OEMAKE = "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR} IQN2_SRC_DIR=${WORKDIR}/git" do_compile () {
recipes-bsp/iqn2-lld/iqn2-lld.inc +12 -4
@@ -1,13 +1,21 @@ LIC_FILES_CHKSUM = "file://COPYING.txt;md5=5bdceac872dffdec915b819654ee23ea" LICENSE = "BSD-3-Clause" -BRANCH = "master" -SRC_URI = "git://git.ti.com/keystone-rtos/iqn2-lld.git;destsuffix=git/ti/drv/iqn2;protocol=git;branch=${BRANCH}" +IQN2_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/iqn2-lld.git" +IQN2_LLD_GIT_PROTOCOL = "git" +IQN2_LLD_GIT_BRANCH = "master" +IQN2_LLD_GIT_DESTSUFFIX = "git/ti/drv/iqn2" + # Following commit corresponds to DEV.IQN_LLD.01.00.00.08F -SRCREV = "29d5358b944f1447c024263f86e8c71784440b99" +IQN2_LLD_SRCREV = "29d5358b944f1447c024263f86e8c71784440b99" + +BRANCH = "${IQN2_LLD_GIT_BRANCH}" +SRC_URI = "${IQN2_LLD_GIT_URI};destsuffix=${IQN2_LLD_GIT_DESTSUFFIX};protocol=${IQN2_LLD_GIT_PROTOCOL};branch=${BRANCH}" +SRCREV = "${IQN2_LLD_SRCREV}" PV = "1.0.0.8" +INC_PR = "r1" COMPATIBLE_MACHINE = "k2l-evm" -S = "${WORKDIR}/git/ti/drv/iqn2" +S = "${WORKDIR}/${IQN2_LLD_GIT_DESTSUFFIX}"
recipes-bsp/iqn2-lld/iqn2-lld_git.bb +2 -0
@@ -4,6 +4,8 @@ DEPENDS = "common-csl-ip" include iqn2-lld.inc +PR = "${INC_PR}.0" + EXTRA_OEMAKE = "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR}" do_compile () {
Signature · 1 line
1.9.1
PATCH 12/27 mmap-lld: Clean up recipes
In reply to Jacob Stiffler* Use INC_PR to track recipe revisions
* Define variables for GIT SRC_URI parameters
--- recipes-bsp/mmap-lld/mmap-lld-test_git.bb | 2 ++ recipes-bsp/mmap-lld/mmap-lld.inc | 15 +++++++++++---- recipes-bsp/mmap-lld/mmap-lld_git.bb | 2 ++ 3 files changed, 15 insertions(+), 4 deletions(-)
recipes-bsp/mmap-lld/mmap-lld-test_git.bb +2 -0
@@ -1,6 +1,8 @@ DESCRIPTION = "TI KEYSTONE MMAP driver test binaries " include mmap-lld.inc +PR = "${INC_PR}.0" + DEPENDS="common-csl-ip mmap-lld" RDEPENDS_${PN}="uio-module-drv"
recipes-bsp/mmap-lld/mmap-lld.inc +11 -4
@@ -4,12 +4,19 @@ COMPATIBLE_MACHINE = "keystone" LIC_FILES_CHKSUM = "file://COPYING.txt;md5=b3315b8190036fe1c6a8263d02e15606" -BRANCH="master" -SRC_URI = "git://git.ti.com/keystone-rtos/mmap-lld.git;destsuffix=git/ti/runtime/mmap;protocol=git;branch=${BRANCH}" +MMAP_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/mmap-lld.git" +MMAP_LLD_GIT_PROTOCOL = "git" +MMAP_LLD_GIT_BRANCH = "master" +MMAP_LLD_GIT_DESTSUFFIX = "git/ti/runtime/mmap" + # Commit correspond to DEV.MMAP.02.00.00.04 -SRCREV = "306895eb2d5decd14a760e70d273946958ff716f" +MMAP_LLD_SRCREV = "306895eb2d5decd14a760e70d273946958ff716f" + +BRANCH="${MMAP_LLD_GIT_BRANCH}" +SRC_URI = "${MMAP_LLD_GIT_URI};destsuffix=${MMAP_LLD_GIT_DESTSUFFIX};protocol=${MMAP_LLD_GIT_PROTOCOL};branch=${BRANCH}" +SRCREV = "${MMAP_LLD_SRCREV}" PV = "2.0.0.4" -PR = "r1" +INC_PR = "r2" S = "${WORKDIR}/git/ti/runtime/mmap"
recipes-bsp/mmap-lld/mmap-lld_git.bb +2 -0
@@ -1,6 +1,8 @@ DESCRIPTION = "TI KEYSTONE mmap driver using Keystone MPAX Programming" include mmap-lld.inc +PR = "${INC_PR}.0" + DEPENDS="common-csl-ip" do_compile () {
Signature · 1 line
1.9.1
PATCH 13/27 mmap-lld-test: Only build binaries relevent to the machine
In reply to Jacob Stiffler--- recipes-bsp/mmap-lld/mmap-lld-test_git.bb | 10 +++++----- recipes-bsp/mmap-lld/mmap-lld.inc | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-)
recipes-bsp/mmap-lld/mmap-lld-test_git.bb +5 -5
@@ -1,15 +1,15 @@ DESCRIPTION = "TI KEYSTONE MMAP driver test binaries " include mmap-lld.inc -PR = "${INC_PR}.0" +PR = "${INC_PR}.1" + +PACKAGE_ARCH = "${MACHINE_ARCH}" DEPENDS="common-csl-ip mmap-lld" RDEPENDS_${PN}="uio-module-drv" -DEVICELIST = "k2h \ - k2k \ - k2e \ -" +DEVICELIST_k2hk-evm = "k2h k2k" +DEVICELIST_k2e-evm = "k2e" CHOICELIST = " yes \ no \
recipes-bsp/mmap-lld/mmap-lld.inc +2 -2
@@ -1,6 +1,6 @@ LICENSE = "BSD-3-Clause" -COMPATIBLE_MACHINE = "keystone" +COMPATIBLE_MACHINE = "k2hk-evm|k2e-evm" LIC_FILES_CHKSUM = "file://COPYING.txt;md5=b3315b8190036fe1c6a8263d02e15606"
@@ -17,6 +17,6 @@ SRC_URI = "${MMAP_LLD_GIT_URI};destsuffix=${MMAP_LLD_GIT_DESTSUFFIX};protocol=${ SRCREV = "${MMAP_LLD_SRCREV}" PV = "2.0.0.4" -INC_PR = "r2" +INC_PR = "r3" S = "${WORKDIR}/git/ti/runtime/mmap"
Signature · 1 line
1.9.1
PATCH 14/27 nwal-lld: Clean up recipes
In reply to Jacob Stiffler* Use INC_PR to track recipe revisions
* Define variables for GIT SRC_URI parameters
--- recipes-bsp/nwal-lld/nwal-lld-test_git.bb | 2 ++ recipes-bsp/nwal-lld/nwal-lld.inc | 13 ++++++++++--- recipes-bsp/nwal-lld/nwal-lld_git.bb | 2 ++ 3 files changed, 14 insertions(+), 3 deletions(-)
recipes-bsp/nwal-lld/nwal-lld-test_git.bb +2 -0
@@ -4,6 +4,8 @@ DEPENDS = "common-csl-ip rm-lld qmss-lld hplib pa-lld sa-lld pktlib nwal-lld" include nwal-lld.inc +PR = "${INC_PR}.0" + EXTRA_OEMAKE += "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR}" do_compile () {
recipes-bsp/nwal-lld/nwal-lld.inc +10 -3
@@ -3,12 +3,19 @@ LIC_FILES_CHKSUM = "file://${WORKDIR}/git/COPYING.txt;md5=b7982a377c680ad71ca2fb COMPATIBLE_MACHINE = "keystone" -BRANCH = "master" -SRC_URI = "git://git.ti.com/keystone-rtos/nwal-lld.git;protocol=git;branch=${BRANCH}" +NWAL_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/nwal-lld.git" +NWAL_LLD_GIT_PROTOCOL = "git" +NWAL_LLD_GIT_BRANCH = "master" # Below commit ID corresponds to "DEV.NWAL.02.01.00.08" -SRCREV = "e6df99e59a848c7afffe90fc9710b7dcb8067c31" +NWAL_LLD_SRCREV = "e6df99e59a848c7afffe90fc9710b7dcb8067c31" + +BRANCH = "${NWAL_LLD_GIT_BRANCH}" +SRC_URI = "${NWAL_LLD_GIT_URI};protocol=${NWAL_LLD_GIT_PROTOCOL};branch=${BRANCH}" +SRCREV = "${NWAL_LLD_SRCREV}" + PV = "02.01.00.08" +INC_PR = "r1" BASEDIR = "${WORKDIR}/git" S = "${BASEDIR}/ti/drv/nwal"
recipes-bsp/nwal-lld/nwal-lld_git.bb +2 -0
@@ -4,6 +4,8 @@ DEPENDS = "common-csl-ip rm-lld qmss-lld hplib pa-lld sa-lld pktlib" include nwal-lld.inc +PR = "${INC_PR}.0" + EXTRA_OEMAKE += "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR}" do_compile () {
Signature · 1 line
1.9.1
PATCH 15/27 nwal-lld: Only build binaries relevent to the machine
In reply to Jacob Stiffler--- recipes-bsp/nwal-lld/nwal-lld.inc | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-)
recipes-bsp/nwal-lld/nwal-lld.inc +5 -2
@@ -2,6 +2,7 @@ LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://${WORKDIR}/git/COPYING.txt;md5=b7982a377c680ad71ca2fbb735982462" COMPATIBLE_MACHINE = "keystone" +PACKAGE_ARCH = "${MACHINE_ARCH}" NWAL_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/nwal-lld.git" NWAL_LLD_GIT_PROTOCOL = "git"
@@ -15,11 +16,13 @@ SRC_URI = "${NWAL_LLD_GIT_URI};protocol=${NWAL_LLD_GIT_PROTOCOL};branch=${BRANCH SRCREV = "${NWAL_LLD_SRCREV}" PV = "02.01.00.08" -INC_PR = "r1" +INC_PR = "r2" BASEDIR = "${WORKDIR}/git" S = "${BASEDIR}/ti/drv/nwal" -DEVICELIST = "k2h k2k k2l k2e" +DEVICELIST_k2hk-evm = "k2h k2k" +DEVICELIST_k2l-evm = "k2l" +DEVICELIST_k2e-evm = "k2e" CHOICELIST = "yes no"
Signature · 1 line
1.9.1
PATCH 16/27 pa-lld: Clean up recipes
In reply to Jacob Stiffler* Use INC_PR to track recipe revisions
* Define variables for GIT SRC_URI parameters
--- recipes-bsp/pa-lld/pa-lld-test_git.bb | 2 ++ recipes-bsp/pa-lld/pa-lld.inc | 18 ++++++++++++------ recipes-bsp/pa-lld/pa-lld_git.bb | 2 ++ 3 files changed, 16 insertions(+), 6 deletions(-)
recipes-bsp/pa-lld/pa-lld-test_git.bb +2 -0
@@ -4,6 +4,8 @@ DEPENDS = "common-csl-ip pa-lld cppi-lld qmss-lld sa-lld" include pa-lld.inc +PR = "${INC_PR}.0" + DEVICELIST = "k2h k2k k2l k2e" CHOICELIST = "yes no"
recipes-bsp/pa-lld/pa-lld.inc +12 -6
@@ -3,13 +3,19 @@ LIC_FILES_CHKSUM = "file://${WORKDIR}/git/ti/drv/pa/COPYING.txt;md5=e8f6789acdcd COMPATIBLE_MACHINE = "keystone" -BRANCH = "master" -SRC_URI = "git://git.ti.com/keystone-rtos/pa-lld.git;destsuffix=git/ti/drv/pa;protocol=git;branch=${BRANCH}" +PA_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/pa-lld.git" +PA_LLD_GIT_PROTOCOL = "git" +PA_LLD_GIT_BRANCH = "master" +PA_LLD_GIT_DESTSUFFIX = "git/ti/drv/pa" # Below Commit ID corresponds to "DEV.PA_LLD.03.00.01.05A" -SRCREV = "ae3aa3e80ecf64fe5a16515d134a6bc217220e2e" +PA_LLD_SRCREV = "ae3aa3e80ecf64fe5a16515d134a6bc217220e2e" + +BRANCH = "${PA_LLD_GIT_BRANCH}" +SRC_URI = "${PA_LLD_GIT_URI};destsuffix=${PA_LLD_GIT_DESTSUFFIX};protocol=${PA_LLD_GIT_PROTOCOL};branch=${BRANCH}" +SRCREV = "${PA_LLD_SRCREV}" + PV = "03.00.01.05" -PR = "r1" +INC_PR = "r2" -BASEDIR = "${WORKDIR}/git" -S = "${BASEDIR}/ti/drv/pa" +S = "${WORKDIR}/${PA_LLD_GIT_DESTSUFFIX}"
recipes-bsp/pa-lld/pa-lld_git.bb +2 -0
@@ -4,6 +4,8 @@ DEPENDS = "common-csl-ip rm-lld" include pa-lld.inc +PR = "${INC_PR}.0" + SRC_URI += "file://init_pa.sh" inherit update-rc.d
Signature · 1 line
1.9.1
PATCH 17/27 pa-lld: Only build binaries relevent to the machine
In reply to Jacob Stiffler* Due to this change, the init script is no longer needed
--- recipes-bsp/pa-lld/files/init_pa.sh | 47 ----------------------------------- recipes-bsp/pa-lld/pa-lld-test_git.bb | 4 +-- recipes-bsp/pa-lld/pa-lld.inc | 9 +++++++ recipes-bsp/pa-lld/pa-lld_git.bb | 21 ++++++---------- 4 files changed, 17 insertions(+), 64 deletions(-) delete mode 100755 recipes-bsp/pa-lld/files/init_pa.sh
recipes-bsp/pa-lld/files/init_pa.sh deleted +0 -47
@@ -1,47 +0,0 @@ -#* -#* Copyright (C) 2015 Texas Instruments Incorporated - http://www.ti.com/ -#* -#* -#* Redistribution and use in source and binary forms, with or without -#* modification, are permitted provided that the following conditions -#* are met: -#* -#* Redistributions of source code must retain the above copyright -#* notice, this list of conditions and the following disclaimer. -#* -#* Redistributions in binary form must reproduce the above copyright -#* notice, this list of conditions and the following disclaimer in the -#* documentation and/or other materials provided with the -#* distribution. -#* -#* Neither the name of Texas Instruments Incorporated nor the names of -#* its contributors may be used to endorse or promote products derived -#* from this software without specific prior written permission. -#* - -#! /bin/sh -compatible=$(cat /proc/device-tree/compatible) - -cd /usr/lib -case "$compatible" in - *k2hk*) - device=k2hk - ln -sf libpa.so.1.0.0 libpa_device.so.1 - ;; - *k2l*) - device=k2l - ln -sf libpa2.so.1.0.0 libpa_device.so.1 - ;; - *k2e*) - device=k2e - ln -sf libpa2.so.1.0.0 libpa_device.so.1 - ;; - *) - device=unknown - ;; -esac - -if [ $device != unknown ]; then - ln -sf libpa_device.so.1 libpa_device.so - echo PA library link established for device : $device -fi
recipes-bsp/pa-lld/pa-lld-test_git.bb +1 -3
@@ -4,9 +4,7 @@ DEPENDS = "common-csl-ip pa-lld cppi-lld qmss-lld sa-lld" include pa-lld.inc -PR = "${INC_PR}.0" - -DEVICELIST = "k2h k2k k2l k2e" +PR = "${INC_PR}.1" CHOICELIST = "yes no"
recipes-bsp/pa-lld/pa-lld.inc +9 -0
@@ -2,6 +2,7 @@ LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://${WORKDIR}/git/ti/drv/pa/COPYING.txt;md5=e8f6789acdcda76d02ed9203fc2e603d" COMPATIBLE_MACHINE = "keystone" +PACKAGE_ARCH = "${MACHINE_ARCH}" PA_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/pa-lld.git" PA_LLD_GIT_PROTOCOL = "git"
@@ -19,3 +20,11 @@ PV = "03.00.01.05" INC_PR = "r2" S = "${WORKDIR}/${PA_LLD_GIT_DESTSUFFIX}" + +DEVICELIST_k2hk-evm = "k2h k2k" +DEVICELIST_k2l-evm = "k2l" +DEVICELIST_k2e-evm = "k2e" + +LIBPA_k2hk-evm = "libpa" +LIBPA_k2e-evm = "libpa2" +LIBPA_k2l-evm = "libpa2"
recipes-bsp/pa-lld/pa-lld_git.bb +7 -14
@@ -4,27 +4,20 @@ DEPENDS = "common-csl-ip rm-lld" include pa-lld.inc -PR = "${INC_PR}.0" - -SRC_URI += "file://init_pa.sh" - -inherit update-rc.d - -INITSCRIPT_NAME = "init_pa.sh" -INITSCRIPT_PARAMS = "defaults 10" +PR = "${INC_PR}.1" do_compile () { # Now build the lld in the updated directory - make -f makefile_armv7 DEVICE=k2h clean lib PDK_INSTALL_PATH=${STAGING_INCDIR} - make -f makefile_armv7 DEVICE=k2l lib PDK_INSTALL_PATH=${STAGING_INCDIR} + for device in ${DEVICELIST} + do + make -f makefile_armv7 DEVICE=$device lib PDK_INSTALL_PATH=${STAGING_INCDIR} + done } do_install () { make -f makefile_armv7 install PDK_INSTALL_PATH=${STAGING_INCDIR} INSTALL_INC_BASE_DIR=${D}${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir} + # Set the generic device library symbolic link - ln -sf libpa.so.1.0.0 ${D}${libdir}/libpa_device.so.1 + ln -sf ${LIBPA}.so.1.0.0 ${D}${libdir}/libpa_device.so.1 ln -sf libpa_device.so.1 ${D}${libdir}/libpa_device.so -# Copy init scripts - install -d ${D}${sysconfdir}/init.d/ - install -c -m 755 ${WORKDIR}/${INITSCRIPT_NAME} ${D}${sysconfdir}/init.d/${INITSCRIPT_NAME} }
Signature · 1 line
1.9.1
PATCH 18/27 pktlib: Clean up recipes
In reply to Jacob Stiffler* Define variables for GIT SRC_URI parameters
--- recipes-bsp/pktlib/pktlib_git.bb | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-)
recipes-bsp/pktlib/pktlib_git.bb +10 -3
@@ -5,12 +5,19 @@ LIC_FILES_CHKSUM = "file://${WORKDIR}/git/COPYING.txt;md5=b7982a377c680ad71ca2fb DEPENDS = "common-csl-ip rm-lld qmss-lld cppi-lld" COMPATIBLE_MACHINE = "keystone" -BRANCH = "master" -SRC_URI = "git://git.ti.com/keystone-rtos/pktlib.git;protocol=git;branch=${BRANCH}" +PKTLIB_GIT_URI = "git://git.ti.com/keystone-rtos/pktlib.git" +PKTLIB_GIT_PROTOCOL = "git" +PKTLIB_GIT_BRANCH = "master" # Corresponds to DEV.PKTLIB.2.1.0.5 -SRCREV = "d757026f3d6a837711f4b44b5ffdefed761fc186" +PKTLIB_SRCREV = "d757026f3d6a837711f4b44b5ffdefed761fc186" + +BRANCH = "${PKTLIB_GIT_BRANCH}" +SRC_URI = "${PKTLIB_GIT_URI};protocol=${PKTLIB_GIT_PROTOCOL};branch=${BRANCH}" +SRCREV = "${PKTLIB_SRCREV}" + PV = "2.1.0.5" +PR = "r1" S = "${WORKDIR}/git/ti/runtime/pktlib"
Signature · 1 line
1.9.1
PATCH 19/27 qmss-lld: Clean up recipes
In reply to Jacob Stiffler* Use INC_PR to track recipe revisions
* Define variables for GIT SRC_URI parameters
--- recipes-bsp/qmss-lld/qmss-lld-test_git.bb | 2 ++ recipes-bsp/qmss-lld/qmss-lld.inc | 17 ++++++++++++----- recipes-bsp/qmss-lld/qmss-lld_git.bb | 1 + 3 files changed, 15 insertions(+), 5 deletions(-)
recipes-bsp/qmss-lld/qmss-lld-test_git.bb +2 -0
@@ -5,6 +5,8 @@ DEPENDS="common-csl-ip rm-lld cppi-lld qmss-lld" include qmss-lld.inc +PR = "${INC_PR}.0" + CHOICELIST = "yes no" do_compile () {
recipes-bsp/qmss-lld/qmss-lld.inc +12 -5
@@ -1,14 +1,21 @@ LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://${WORKDIR}/git/ti/drv/qmss/COPYING.txt;md5=e8f6789acdcda76d02ed9203fc2e603d" -BRANCH ="master" -SRC_URI = "git://git.ti.com/keystone-rtos/qmss-lld.git;destsuffix=git/ti/drv/qmss;protocol=git;branch=${BRANCH}" +QMSS_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/qmss-lld.git" +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 -SRCREV = "2024ab2d411c1a6dd3f5e768a3cb30c2a685f1e4" +QMSS_LLD_SRCREV = "2024ab2d411c1a6dd3f5e768a3cb30c2a685f1e4" + +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 = "r1" DEVICELIST = "k2h k2k k2l k2e" -BASEDIR = "${WORKDIR}/git" -S = "${BASEDIR}/ti/drv/qmss" +S = "${WORKDIR}/${QMSS_LLD_GIT_DESTSUFFIX}"
recipes-bsp/qmss-lld/qmss-lld_git.bb +1 -0
@@ -5,6 +5,7 @@ DEPENDS="common-csl-ip rm-lld" include qmss-lld.inc +PR = "${INC_PR}.0" SRC_URI += "file://init_qmss.sh"
Signature · 1 line
1.9.1
PATCH 20/27 qmss-lld: Only build binaries relevent to the machine
In reply to Jacob Stiffler* Due to this change, the init script is no longer needed
--- recipes-bsp/qmss-lld/files/init_qmss.sh | 47 ------------------------------- recipes-bsp/qmss-lld/qmss-lld-test_git.bb | 3 +- recipes-bsp/qmss-lld/qmss-lld.inc | 7 ++++- recipes-bsp/qmss-lld/qmss-lld_git.bb | 23 ++++++--------- 4 files changed, 16 insertions(+), 64 deletions(-) delete mode 100755 recipes-bsp/qmss-lld/files/init_qmss.sh
recipes-bsp/qmss-lld/files/init_qmss.sh deleted +0 -47
@@ -1,47 +0,0 @@ -#* -#* Copyright (C) 2015 Texas Instruments Incorporated - http://www.ti.com/ -#* -#* -#* Redistribution and use in source and binary forms, with or without -#* modification, are permitted provided that the following conditions -#* are met: -#* -#* Redistributions of source code must retain the above copyright -#* notice, this list of conditions and the following disclaimer. -#* -#* Redistributions in binary form must reproduce the above copyright -#* notice, this list of conditions and the following disclaimer in the -#* documentation and/or other materials provided with the -#* distribution. -#* -#* Neither the name of Texas Instruments Incorporated nor the names of -#* its contributors may be used to endorse or promote products derived -#* from this software without specific prior written permission. -#* - -#! /bin/sh -compatible=$(cat /proc/device-tree/compatible) - -cd /usr/lib -case "$compatible" in - *k2hk*) - device=k2hk - ln -sf libqmss_k2h.so.1.0.0 libqmss_device.so.1 - ;; - *k2l*) - device=k2l - ln -sf libqmss_k2l.so.1.0.0 libqmss_device.so.1 - ;; - *k2e*) - device=k2e - ln -sf libqmss_k2e.so.1.0.0 libqmss_device.so.1 - ;; - *) - device=unknown - ;; -esac - -if [ $device != unknown ]; then - ln -sf libqmss_device.so.1 libqmss_device.so - echo qmss library link established for device : $device -fi
recipes-bsp/qmss-lld/qmss-lld-test_git.bb +1 -2
@@ -1,11 +1,10 @@ DESCRIPTION = "TI QMSS low level driver unit test and example binaries" -COMPATIBLE_MACHINE = "keystone" DEPENDS="common-csl-ip rm-lld cppi-lld qmss-lld" include qmss-lld.inc -PR = "${INC_PR}.0" +PR = "${INC_PR}.1" CHOICELIST = "yes no"
recipes-bsp/qmss-lld/qmss-lld.inc +6 -1
@@ -1,6 +1,9 @@ LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://${WORKDIR}/git/ti/drv/qmss/COPYING.txt;md5=e8f6789acdcda76d02ed9203fc2e603d" +COMPATIBLE_MACHINE = "keystone" +PACKAGE_ARCH = "${MACHINE_ARCH}" + QMSS_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/qmss-lld.git" QMSS_LLD_GIT_PROTOCOL = "git" QMSS_LLD_GIT_BRANCH = "master"
@@ -16,6 +19,8 @@ SRCREV = "${QMSS_LLD_SRCREV}" PV = "02.01.00.11" INC_PR = "r1" -DEVICELIST = "k2h k2k k2l k2e" +DEVICELIST_k2hk-evm = "k2h k2k" +DEVICELIST_k2l-evm = "k2l" +DEVICELIST_k2e-evm = "k2e" S = "${WORKDIR}/${QMSS_LLD_GIT_DESTSUFFIX}"
recipes-bsp/qmss-lld/qmss-lld_git.bb +9 -14
@@ -1,18 +1,10 @@ DESCRIPTION = "TI QMSS low level driver library" -COMPATIBLE_MACHINE = "keystone" DEPENDS="common-csl-ip rm-lld" include qmss-lld.inc -PR = "${INC_PR}.0" - -SRC_URI += "file://init_qmss.sh" - -inherit update-rc.d - -INITSCRIPT_NAME = "init_qmss.sh" -INITSCRIPT_PARAMS = "defaults 10" +PR = "${INC_PR}.1" do_compile () { # Now build the lld
@@ -27,11 +19,14 @@ do_compile () { do_install () { make -f makefile_armv7 install PDK_INSTALL_PATH=${STAGING_INCDIR} INSTALL_INC_BASE_DIR=${D}${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir} -# Set the generic device library symbolic link to default k2h + # Set the generic device library symbolic link to default k2h cd ${D}${libdir} - ln -sf libqmss_k2h.so.1.0.0 libqmss_device.so.1 + + # Link only the first device in the list + for device in ${DEVICELIST} + do + ln -sf libqmss_${device}.so.1.0.0 libqmss_device.so.1 + break + done ln -sf libqmss_device.so.1 libqmss_device.so -# Copy init scripts - install -d ${D}${sysconfdir}/init.d/ - install -c -m 755 ${WORKDIR}/init_qmss.sh ${D}${sysconfdir}/init.d/${INITSCRIPT_NAME} }
Signature · 1 line
1.9.1
PATCH 21/27 rm-lld: Clean up recipes
In reply to Jacob Stiffler* Define variables for GIT SRC_URI parameters
--- recipes-bsp/rm-lld/rm-lld_git.bb | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-)
recipes-bsp/rm-lld/rm-lld_git.bb +12 -4
@@ -2,12 +2,20 @@ DESCRIPTION = "TI Resource Manager Low Level Driver" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://${WORKDIR}/git/ti/drv/rm/COPYING.txt;md5=dc61631b65360e6beb73b6c337800afc" -BRANCH="master" -SRC_URI = "git://git.ti.com/keystone-rtos/rm-lld.git;destsuffix=git/ti/drv/rm;protocol=git;branch=${BRANCH}" +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 -SRCREV = "b3d711203c6b4cf99fb2f95dc2f4728dfd1b2639" +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 = "r1" +PR = "r2" COMPATIBLE_MACHINE = "keystone"
Signature · 1 line
1.9.1
PATCH 22/27 sa-lld: Clean up recipes
In reply to Jacob Stiffler* Use INC_PR to track recipe revisions
* Define variables for GIT SRC_URI parameters
--- recipes-bsp/sa-lld/sa-lld-test_git.bb | 2 ++ recipes-bsp/sa-lld/sa-lld.inc | 18 +++++++++++++----- recipes-bsp/sa-lld/sa-lld_git.bb | 2 ++ 3 files changed, 17 insertions(+), 5 deletions(-)
recipes-bsp/sa-lld/sa-lld-test_git.bb +2 -0
@@ -4,6 +4,8 @@ DEPENDS = "common-csl-ip cppi-lld qmss-lld pa-lld sa-lld" include sa-lld.inc +PR = "${INC_PR}.0" + DEVICELIST = "k2h k2k k2l k2e" CHOICELIST = "no yes"
recipes-bsp/sa-lld/sa-lld.inc +13 -5
@@ -3,11 +3,19 @@ COMPATIBLE_MACHINE = "keystone" LIC_FILES_CHKSUM = "file://${WORKDIR}/git/ti/drv/sa/COPYING.txt;md5=4709d353574a9569e129ebdf20e732dd" -BRANCH = "master" -SRC_URI = "git://git.ti.com/keystone-rtos/sa-lld.git;destsuffix=git/ti/drv/sa;protocol=git;branch=${BRANCH}" +SA_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/sa-lld.git" +SA_LLD_GIT_PROTOCOL = "git" +SA_LLD_GIT_BRANCH = "master" +SA_LLD_GIT_DESTSUFFIX = "git/ti/drv/sa" + # Following commit DEV.SA_LLD.03.00.00.11A -SRCREV = "bf5b097e868b20d23d386abc34a1902903d7d9ea" +SA_LLD_SRCREV = "bf5b097e868b20d23d386abc34a1902903d7d9ea" + +BRANCH = "${SA_LLD_GIT_BRANCH}" +SRC_URI = "${SA_LLD_GIT_URI};destsuffix=${SA_LLD_GIT_DESTSUFFIX};protocol=${SA_LLD_GIT_PROTOCOL};branch=${BRANCH}" +SRCREV = "${SA_LLD_SRCREV}" + PV = "03.00.00.11" +INC_PR = "r1" -BASEDIR = "${WORKDIR}/git" -S = "${BASEDIR}/ti/drv/sa" +S = "${WORKDIR}/${SA_LLD_GIT_DESTSUFFIX}"
recipes-bsp/sa-lld/sa-lld_git.bb +2 -0
@@ -4,6 +4,8 @@ DEPENDS = "common-csl-ip" include sa-lld.inc +PR = "${INC_PR}.0" + do_compile () { # Now build the lld in the updated directory make -f makefile_armv7 clean lib PDK_INSTALL_PATH=${STAGING_INCDIR}
Signature · 1 line
1.9.1
PATCH 23/27 sa-lld-test: Only build binaries relevent to the machine
In reply to Jacob Stiffler--- recipes-bsp/sa-lld/sa-lld-test_git.bb | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-)
recipes-bsp/sa-lld/sa-lld-test_git.bb +6 -2
@@ -4,9 +4,13 @@ DEPENDS = "common-csl-ip cppi-lld qmss-lld pa-lld sa-lld" include sa-lld.inc -PR = "${INC_PR}.0" +PR = "${INC_PR}.1" -DEVICELIST = "k2h k2k k2l k2e" +PACKAGE_ARCH = "${MACHINE_ARCH}" + +DEVICELIST_k2hk-evm = "k2h k2k" +DEVICELIST_k2l-evm = "k2l" +DEVICELIST_k2e-evm = "k2e" CHOICELIST = "no yes"
Signature · 1 line
1.9.1
PATCH 24/27 srio-lld: Clean up recipes
In reply to Jacob Stiffler* Use INC_PR to track recipe revisions
* Define variables for GIT SRC_URI parameters
--- recipes-bsp/srio-lld/srio-lld-test_git.bb | 2 ++ recipes-bsp/srio-lld/srio-lld.inc | 14 +++++++++++--- recipes-bsp/srio-lld/srio-lld_git.bb | 2 ++ 3 files changed, 15 insertions(+), 3 deletions(-)
recipes-bsp/srio-lld/srio-lld-test_git.bb +2 -0
@@ -4,6 +4,8 @@ DEPENDS="common-csl-ip rm-lld cppi-lld qmss-lld srio-lld cmem" include srio-lld.inc +PR = "${INC_PR}.0" + CHOICELIST = "yes no" do_compile () {
recipes-bsp/srio-lld/srio-lld.inc +11 -3
@@ -1,12 +1,20 @@ LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://${WORKDIR}/git/ti/drv/srio/srio_drv.h;beginline=1;endline=41;md5=469096088e072d883ff7eef301b34093" -BRANCH = "master" -SRC_URI = "git://git.ti.com/keystone-rtos/srio-lld.git;destsuffix=git/ti/drv/srio;protocol=git;branch=${BRANCH}" +SRIO_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/srio-lld.git" +SRIO_LLD_GIT_PROTOCOL = "git" +SRIO_LLD_GIT_BRANCH = "master" +SRIO_LLD_GIT_DESTSUFFIX = "git/ti/drv/srio" # commit ID corresponding to DEV.SRIO_LLD.02.00.00.13 -SRCREV = "dc49972265afd3ffd3b29ca235b8ca6daf790bd1" +SRIO_LLD_SRCREV = "dc49972265afd3ffd3b29ca235b8ca6daf790bd1" + +BRANCH = "${SRIO_LLD_GIT_BRANCH}" +SRC_URI = "${SRIO_LLD_GIT_URI};destsuffix=${SRIO_LLD_GIT_DESTSUFFIX};protocol=${SRIO_LLD_GIT_PROTOCOL};branch=${BRANCH}" +SRCREV = "${SRIO_LLD_SRCREV}" + PV = "02.00.00.13" +INC_PR = "r1" DEVICELIST = "k2h k2k"
recipes-bsp/srio-lld/srio-lld_git.bb +2 -0
@@ -5,6 +5,8 @@ DEPENDS="common-csl-ip rm-lld cppi-lld" include srio-lld.inc +PR = "${INC_PR}.0" + do_compile () { # Now build the lld oe_runmake clean
Signature · 1 line
1.9.1
PATCH 25/27 srio-lld: Only compatible with k2hk-evm
In reply to Jacob Stiffler--- recipes-bsp/srio-lld/srio-lld-test_git.bb | 1 - recipes-bsp/srio-lld/srio-lld.inc | 4 +++- recipes-bsp/srio-lld/srio-lld_git.bb | 1 - 3 files changed, 3 insertions(+), 3 deletions(-)
recipes-bsp/srio-lld/srio-lld-test_git.bb +0 -1
@@ -1,5 +1,4 @@ DESCRIPTION = "TI SRIO peripheral low level driver unit test and example binaries" -COMPATIBLE_MACHINE = "keystone" DEPENDS="common-csl-ip rm-lld cppi-lld qmss-lld srio-lld cmem" include srio-lld.inc
recipes-bsp/srio-lld/srio-lld.inc +3 -1
@@ -1,6 +1,8 @@ LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://${WORKDIR}/git/ti/drv/srio/srio_drv.h;beginline=1;endline=41;md5=469096088e072d883ff7eef301b34093" +COMPATIBLE_MACHINE = "k2hk-evm" + SRIO_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/srio-lld.git" SRIO_LLD_GIT_PROTOCOL = "git" SRIO_LLD_GIT_BRANCH = "master"
@@ -14,7 +16,7 @@ SRC_URI = "${SRIO_LLD_GIT_URI};destsuffix=${SRIO_LLD_GIT_DESTSUFFIX};protocol=${ SRCREV = "${SRIO_LLD_SRCREV}" PV = "02.00.00.13" -INC_PR = "r1" +INC_PR = "r2" DEVICELIST = "k2h k2k"
recipes-bsp/srio-lld/srio-lld_git.bb +0 -1
@@ -1,5 +1,4 @@ DESCRIPTION = "TI SRIO peripheral low level driver" -COMPATIBLE_MACHINE = "keystone" DEPENDS="common-csl-ip rm-lld cppi-lld"
Signature · 1 line
1.9.1
PATCH 26/27 traceframework: Clean up recipes
In reply to Jacob Stiffler* Define variables for GIT SRC_URI parameters
--- recipes-bsp/traceframework/traceframework_git.bb | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-)
recipes-bsp/traceframework/traceframework_git.bb +11 -3
@@ -2,12 +2,20 @@ DESCRIPTION = "TI Trace Framework library" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://${WORKDIR}/git/ti/instrumentation/traceframework/COPYING.txt;md5=e8f6789acdcda76d02ed9203fc2e603d" -BRANCH="master" -SRC_URI = "git://git.ti.com/keystone-rtos/traceframework.git;destsuffix=git/ti/instrumentation/traceframework;protocol=git;branch=${BRANCH}" +TRACEFRAMEWORK_GIT_URI = "git://git.ti.com/keystone-rtos/traceframework.git" +TRACEFRAMEWORK_GIT_PROTOCOL = "git" +TRACEFRAMEWORK_GIT_BRANCH = "master" +TRACEFRAMEWORK_GIT_DESTSUFFIX = "git/ti/instrumentation/traceframework" # Below commit ID corresponds to DEV.TFWK-01.01.01.07 -SRCREV = "8d9c0e3a5bcb43aad98a794c31f42b652c6b3b53" +TRACEFRAMEWORK_SRCREV = "8d9c0e3a5bcb43aad98a794c31f42b652c6b3b53" + +BRANCH="${TRACEFRAMEWORK_GIT_BRANCH}" +SRC_URI = "${TRACEFRAMEWORK_GIT_URI};destsuffix=${TRACEFRAMEWORK_GIT_DESTSUFFIX};protocol=${TRACEFRAMEWORK_GIT_PROTOCOL};branch=${BRANCH}" +SRCREV = "${TRACEFRAMEWORK_SRCREV}" + PV = "01.01.01.07" +PR = "r1" COMPATIBLE_MACHINE = "(tci6614-evm|keystone)" DEPENDS = "cuia"
Signature · 1 line
1.9.1
PATCH 27/27 traceframework: Only build binaries relevent to the machine
In reply to Jacob Stiffler--- recipes-bsp/traceframework/traceframework_git.bb | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-)
recipes-bsp/traceframework/traceframework_git.bb +5 -2
@@ -15,14 +15,17 @@ SRC_URI = "${TRACEFRAMEWORK_GIT_URI};destsuffix=${TRACEFRAMEWORK_GIT_DESTSUFFIX} SRCREV = "${TRACEFRAMEWORK_SRCREV}" PV = "01.01.01.07" -PR = "r1" +PR = "r2" COMPATIBLE_MACHINE = "(tci6614-evm|keystone)" +PACKAGE_ARCH = "${MACHINE_ARCH}" DEPENDS = "cuia" DEVICELIST = "" DEVICELIST_append_tci6614-evm = "c6614" -DEVICELIST_append_keystone = "k2k k2h k2e k2l" +DEVICELIST_append_k2hk-evm = "k2k k2h" +DEVICELIST_append_k2e-evm = "k2e" +DEVICELIST_append_k2l-evm = "k2l" PACKAGES =+ "${PN}-test"
Signature · 1 line
1.9.1