pa-lld: Add recipes for PA low level driver and test code
PATCH 1/2 pa-lld: Add recipes for PA low level driver and test code
- Provides low level driver for Packet accelerator module
- Supports k2h, k2k, k2l & k2e devices
--- recipes-bsp/pa-lld/pa-lld-test_git.bb | 28 ++++++++++++++++++++++++++++ recipes-bsp/pa-lld/pa-lld.inc | 15 +++++++++++++++ recipes-bsp/pa-lld/pa-lld_git.bb | 15 +++++++++++++++ 3 files changed, 58 insertions(+) create mode 100644 recipes-bsp/pa-lld/pa-lld-test_git.bb create mode 100644 recipes-bsp/pa-lld/pa-lld.inc create mode 100644 recipes-bsp/pa-lld/pa-lld_git.bb
recipes-bsp/pa-lld/pa-lld-test_git.bb new file +28 -0
@@ -0,0 +1,28 @@ +DESCRIPTION = "TI PA LLD unit test and example binaries" + +DEPENDS = "common-csl-ip pa-lld cppi-lld qmss-lld sa-lld" + +include pa-lld.inc + +DEVICELIST = "k2h k2k k2l k2e" + +CHOICELIST = "yes no" + +do_compile () { +# Now build the lld unit test examples + for device in ${DEVICELIST} + do + make -f makefile_armv7 clean PDK_INSTALL_PATH=${STAGING_INCDIR} DEVICE="$device" PA_SRC_DIR=${S} + for choice in ${CHOICELIST} + do + make -f makefile_armv7 tests examples PDK_INSTALL_PATH=${STAGING_INCDIR} DEVICE="$device" PA_SRC_DIR=${S} USEDYNAMIC_LIB="$choice" + done + done +} + +do_install () { + for device in ${DEVICELIST} + do + make -f makefile_armv7 installbin PDK_INSTALL_PATH=${STAGING_INCDIR} DEVICE="$device" PA_SRC_DIR=${S} INSTALL_BIN_BASE_DIR=${D}${bindir} + done +}
recipes-bsp/pa-lld/pa-lld.inc new file +15 -0
@@ -0,0 +1,15 @@ +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://${WORKDIR}/git/ti/drv/pa/COPYING.txt;md5=e8f6789acdcda76d02ed9203fc2e603d" + +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}" + +# Below Commit ID corresponds to "DEV.PA_LLD.03.00.01.01" +SRCREV = "55207930b4491f33776f2c4c2c0707a73c69314c" +PV = "03.00.01.01" +PR = "r0" + +BASEDIR = "${WORKDIR}/git" +S = "${BASEDIR}/ti/drv/pa"
recipes-bsp/pa-lld/pa-lld_git.bb new file +15 -0
@@ -0,0 +1,15 @@ +DESCRIPTION = "TI PA LLD library" + +DEPENDS = "common-csl-ip rm-lld" + +include pa-lld.inc + +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} +} + +do_install () { + make -f makefile_armv7 install PDK_INSTALL_PATH=${STAGING_INCDIR} INSTALL_INC_BASE_DIR=${D}${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir} +}
Signature · 1 line
1.7.9.5
PATCH 2/2 sa-lld: Add recipes for SA module low level driver
- Provides library and test code for Security accelerator module
- Supports k2h, k2k, k2l & k2e devices
--- recipes-bsp/sa-lld/sa-lld-test_git.bb | 33 +++++++++++++++++++++++++++++++++ recipes-bsp/sa-lld/sa-lld.inc | 14 ++++++++++++++ recipes-bsp/sa-lld/sa-lld_git.bb | 14 ++++++++++++++ 3 files changed, 61 insertions(+) create mode 100644 recipes-bsp/sa-lld/sa-lld-test_git.bb create mode 100644 recipes-bsp/sa-lld/sa-lld.inc create mode 100644 recipes-bsp/sa-lld/sa-lld_git.bb
recipes-bsp/sa-lld/sa-lld-test_git.bb new file +33 -0
@@ -0,0 +1,33 @@ +DESCRIPTION = "TI Security Accelerator LLD (SA LLD) Examples" + +DEPENDS = "common-csl-ip cppi-lld qmss-lld pa-lld sa-lld" + +include sa-lld.inc + +DEVICELIST = "k2h k2k k2l k2e" + +CHOICELIST = "no yes" + +do_compile () { +# Now build the lld in the updated directory + for device in ${DEVICELIST} + do + make -f makefile_armv7 clean PDK_INSTALL_PATH=${STAGING_INCDIR} DEVICE="$device" SA_SRC_DIR=${S} + for choice in ${CHOICELIST} + do + make -f makefile_armv7 examples PDK_INSTALL_PATH=${STAGING_INCDIR} DEVICE="$device" SA_SRC_DIR=${S} USEDYNAMIC_LIB="$choice" + done + done +} + +do_install () { + install -d ${D}${bindir}/ti/drv/sa/example/SaBasicExample/vectors + +# copy all the test vectors + find example/SaBasicExample/vectors -name *.bin -type f | xargs -I {} cp --parents {} ${D}${bindir}/ti/drv/sa + + for device in ${DEVICELIST} + do + make -f makefile_armv7 installbin PDK_INSTALL_PATH=${STAGING_INCDIR} DEVICE="$device" SA_SRC_DIR=${S} INSTALL_BIN_BASE_DIR=${D}${bindir} + done +}
recipes-bsp/sa-lld/sa-lld.inc new file +14 -0
@@ -0,0 +1,14 @@ +LICENSE = "BSD-3-Clause" +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}" +# Following commit DEV.SA_LLD.03.00.00.08 +SRCREV = "4da032c600ded79ab226a2a0100c1d8178a9da39" +PV = "03.00.00.08" +PR = "r0" + +BASEDIR = "${WORKDIR}/git" +S = "${BASEDIR}/ti/drv/sa"
recipes-bsp/sa-lld/sa-lld_git.bb new file +14 -0
@@ -0,0 +1,14 @@ +DESCRIPTION = "TI Security Accelerator LLD (SA LLD) Library" + +DEPENDS = "common-csl-ip" + +include sa-lld.inc + +do_compile () { +# Now build the lld in the updated directory + make -f makefile_armv7 clean lib PDK_INSTALL_PATH=${STAGING_INCDIR} +} + +do_install () { + make -f makefile_armv7 install PDK_INSTALL_PATH=${STAGING_INCDIR} INSTALL_INC_BASE_DIR=${D}/${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir} +}
Signature · 1 line
1.7.9.5
Quoted 19 lines · Sam Nelson
- Provides low level driver for Packet accelerator module
- Supports k2h, k2k, k2l & k2e devicesSigned-off-by Sam Nelson <[email protected]>--- recipes-bsp/pa-lld/pa-lld-test_git.bb | 28 ++++++++++++++++++++++++++++ recipes-bsp/pa-lld/pa-lld.inc | 15 +++++++++++++++ recipes-bsp/pa-lld/pa-lld_git.bb | 15 +++++++++++++++ 3 files changed, 58 insertions(+) create mode 100644 recipes-bsp/pa-lld/pa-lld-test_git.bb create mode 100644 recipes-bsp/pa-lld/pa-lld.inc create mode 100644 recipes-bsp/pa-lld/pa-lld_git.bbrecipes-bsp/pa-lld/pa-lld-test_git.bb new file +0
-0
recipes-bsp/pa-lld/pa-lld-test_git.bb line 1
Quoted 1 line
recipes-bsp/pa-lld/pa-lld-test_git.bb new file +1
-0@@ -0,0 +1,28 @@ +DESCRIPTION = "TI PA LLD unit test and example binaries"
What's PA? At least you spelled out SA in the next patch... :)
Quoted 77 lines
recipes-bsp/pa-lld/pa-lld-test_git.bb new file +27
-0+ +DEPENDS = "common-csl-ip pa-lld cppi-lld qmss-lld sa-lld" + +include pa-lld.inc + +DEVICELIST = "k2h k2k k2l k2e" + +CHOICELIST = "yes no" + +do_compile () { +# Now build the lld unit test examples + for device in ${DEVICELIST} + do + make -f makefile_armv7 clean PDK_INSTALL_PATH=${STAGING_INCDIR} DEVICE="$device" PA_SRC_DIR=${S} + for choice in ${CHOICELIST} + do + make -f makefile_armv7 tests examples PDK_INSTALL_PATH=${STAGING_INCDIR} DEVICE="$device" PA_SRC_DIR=${S} USEDYNAMIC_LIB="$choice" + done + done +} + +do_install () { + for device in ${DEVICELIST} + do + make -f makefile_armv7 installbin PDK_INSTALL_PATH=${STAGING_INCDIR} DEVICE="$device" PA_SRC_DIR=${S} INSTALL_BIN_BASE_DIR=${D}${bindir} + done +}recipes-bsp/pa-lld/pa-lld.inc new file +15
-0@@ -0,0 +1,15 @@ +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://${WORKDIR}/git/ti/drv/pa/COPYING.txt;md5=e8f6789acdcda76d02ed9203fc2e603d" + +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}" + +# Below Commit ID corresponds to "DEV.PA_LLD.03.00.01.01" +SRCREV = "55207930b4491f33776f2c4c2c0707a73c69314c" +PV = "03.00.01.01" +PR = "r0" + +BASEDIR = "${WORKDIR}/git" +S = "${BASEDIR}/ti/drv/pa"recipes-bsp/pa-lld/pa-lld_git.bb new file +15
-0@@ -0,0 +1,15 @@ +DESCRIPTION = "TI PA LLD library" + +DEPENDS = "common-csl-ip rm-lld" + +include pa-lld.inc + +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} +} + +do_install () { + make -f makefile_armv7 install PDK_INSTALL_PATH=${STAGING_INCDIR} INSTALL_INC_BASE_DIR=${D}${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir} +}Signature · 7 lines
1.7.9.5 -- _______________________________________________ meta-ti mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-ti
Quoted 27 lines
-----Original Message-----
From: Dmytriyenko, Denys
Sent: Thursday, December 18, 2014 6:42 PM
To: Nelson, Sam
Cc: [email protected]
Subject: Re: [meta-ti] [PATCH 1/2] pa-lld: Add recipes for PA low level driver and test codeQuoted 6 lines · Sam Nelson
- Provides low level driver for Packet accelerator module
- Supports k2h, k2k, k2l & k2e devicesSigned-off-by Sam Nelson <[email protected]>--- recipes-bsp/pa-lld/pa-lld-test_git.bb | 28++++++++++++++++++++++++++++
recipes-bsp/pa-lld/pa-
Quoted 8 lines
recipes-bsp/pa-lld/pa-lld.inc | 15 +++++++++++++++ recipes-bsp/pa-lld/pa-lld_git.bb | 15 +++++++++++++++ 3 files changed, 58 insertions(+) create mode 100644 recipes-bsp/pa-lld/pa-lld-test_git.bb create mode 100644 recipes-bsp/pa-lld/pa-lld.inc create mode 100644 recipes-bsp/pa-lld/pa-lld_git.bbrecipes-bsp/pa-lld/pa- renamed from recipes-bsp/pa-lld/pa-lld-test_git.bb +0
-0lld-test_git.bb
Quoted 9 lines
recipes-bsp/pa-lld/pa-lld-test_git.bb line 1
Quoted 6 lines
new file mode 100644
index 0000000..b70daddrecipes-bsp/pa-lld/pa-lld-test_git.bb new file +1
-0@@ -0,0 +1,28 @@ +DESCRIPTION = "TI PA LLD unit test and example binaries"What's PA? At least you spelled out SA in the next patch... :)
[Sam] Packet accelerator module. I did add the following in the commit notes. " - Provides low level driver for Packet accelerator module"
Quoted 93 lines
Quoted 5 lines
recipes-bsp/pa-lld/pa-lld-test_git.bb new file +4
-0+ +DEPENDS = "common-csl-ip pa-lld cppi-lld qmss-lld sa-lld" + +include pa-lld.increcipes-bsp/pa-lld/pa-lld-test_git.bb
Quoted 10 lines
recipes-bsp/pa-lld/pa-lld-test_git.bb new file +10
-0+ +DEVICELIST = "k2h k2k k2l k2e" + +CHOICELIST = "yes no" + +do_compile () { +# Now build the lld unit test examples + for device in ${DEVICELIST} + do + make -f makefile_armv7 cleanPDK_INSTALL_PATH=${STAGING_INCDIR} DEVICE="$device" PA_SRC_DIR=${S}
recipes-bsp/pa-lld/pa-lld-test_git.bb
Quoted 3 lines
recipes-bsp/pa-lld/pa-lld-test_git.bb new file +3
-0+ for choice in ${CHOICELIST} + do + make -f makefile_armv7 tests examplesPDK_INSTALL_PATH=${STAGING_INCDIR} DEVICE="$device" PA_SRC_DIR=${S} USEDYNAMIC_LIB="$choice"
recipes-bsp/pa-lld/pa-lld-test_git.bb
Quoted 8 lines
recipes-bsp/pa-lld/pa-lld-test_git.bb new file +8
-0+ done + done +} + +do_install () { + for device in ${DEVICELIST} + do + make -f makefile_armv7 installbinPDK_INSTALL_PATH=${STAGING_INCDIR} DEVICE="$device" PA_SRC_DIR=${S} INSTALL_BIN_BASE_DIR=${D}${bindir}
recipes-bsp/pa-lld/pa-lld.inc line 2
Quoted 10 lines
recipes-bsp/pa-lld/pa-lld-test_git.bb new file +2
-0+ done +}recipes-bsp/pa-lld/pa-lld.inc new file +2
-0@@ -0,0 +1,15 @@ +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM ="file://${WORKDIR}/git/ti/drv/pa/COPYING.txt;md5=e8f6789acdcda76d02ed
9203fc2e603d"recipes-bsp/pa-lld/pa-lld.inc
Quoted 5 lines
recipes-bsp/pa-lld/pa-lld.inc new file +5
-0+ +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}"
recipes-bsp/pa-lld/pa-
Quoted 9 lines
recipes-bsp/pa-lld/pa-lld.inc new file +8
-0+ +# Below Commit ID corresponds to "DEV.PA_LLD.03.00.01.01" +SRCREV = "55207930b4491f33776f2c4c2c0707a73c69314c" +PV = "03.00.01.01" +PR = "r0" + +BASEDIR = "${WORKDIR}/git" +S = "${BASEDIR}/ti/drv/pa"recipes-bsp/pa-lld/pa- renamed from recipes-bsp/pa-lld/pa-lld_git.bb +0
-0lld_git.bb
Quoted 5 lines
new file mode 100644
index 0000000..63e34adrecipes-bsp/pa-lld/pa-lld_git.bb line 9
Quoted 9 lines
recipes-bsp/pa-lld/pa-lld_git.bb new file +9
-0@@ -0,0 +1,15 @@ +DESCRIPTION = "TI PA LLD library" + +DEPENDS = "common-csl-ip rm-lld" + +include pa-lld.inc + +do_compile () { +# Now build the lld in the updated directory + make -f makefile_armv7 DEVICE=k2h clean libPDK_INSTALL_PATH=${STAGING_INCDIR}
recipes-bsp/pa-lld/pa-lld_git.bb line 10
Quoted 1 line
recipes-bsp/pa-lld/pa-lld_git.bb new file +1
-0+ make -f makefile_armv7 DEVICE=k2l libPDK_INSTALL_PATH=${STAGING_INCDIR}
recipes-bsp/pa-lld/pa-lld_git.bb line 14
Quoted 4 lines
recipes-bsp/pa-lld/pa-lld_git.bb new file +4
-0+} + +do_install () { + make -f makefile_armv7 installPDK_INSTALL_PATH=${STAGING_INCDIR}
INSTALL_INC_BASE_DIR=${D}${includedir}
INSTALL_LIB_BASE_DIR=${D}${libdir}Quoted 9 lines
recipes-bsp/pa-lld/pa-lld_git.bb new file +1
-1+} --1.7.9.5
--
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti
Quoted 36 lines · Sam
Quoted 27 lines
-----Original Message-----
From: Dmytriyenko, Denys
Sent: Thursday, December 18, 2014 6:42 PM
To: Nelson, Sam
Cc: [email protected]
Subject: Re: [meta-ti] [PATCH 1/2] pa-lld: Add recipes for PA low level driver and test codeQuoted 6 lines · Sam Nelson
- Provides low level driver for Packet accelerator module
- Supports k2h, k2k, k2l & k2e devicesSigned-off-by Sam Nelson <[email protected]>--- recipes-bsp/pa-lld/pa-lld-test_git.bb | 28++++++++++++++++++++++++++++
recipes-bsp/pa-lld/pa-
Quoted 8 lines
recipes-bsp/pa-lld/pa-lld.inc | 15 +++++++++++++++ recipes-bsp/pa-lld/pa-lld_git.bb | 15 +++++++++++++++ 3 files changed, 58 insertions(+) create mode 100644 recipes-bsp/pa-lld/pa-lld-test_git.bb create mode 100644 recipes-bsp/pa-lld/pa-lld.inc create mode 100644 recipes-bsp/pa-lld/pa-lld_git.bbrecipes-bsp/pa-lld/pa- renamed from recipes-bsp/pa-lld/pa-lld-test_git.bb +0
-0lld-test_git.bb
Quoted 9 lines
recipes-bsp/pa-lld/pa-lld-test_git.bb line 1
Quoted 6 lines
new file mode 100644
index 0000000..b70daddrecipes-bsp/pa-lld/pa-lld-test_git.bb new file +1
-0@@ -0,0 +1,28 @@ +DESCRIPTION = "TI PA LLD unit test and example binaries"What's PA? At least you spelled out SA in the next patch... :)
Quoted 2 lines
[Sam] Packet accelerator module. I did add the following in the commit notes. " - Provides low level driver for Packet accelerator module"
Yeah, byt that's in git log, not in the recipe...
If possible, can you spell out abbrevs in the recipe itself for future submissions?
Quoted 92 lines
Quoted 92 lines
Quoted 4 lines
recipes-bsp/pa-lld/pa-lld-test_git.bb new file +4
-0+ +DEPENDS = "common-csl-ip pa-lld cppi-lld qmss-lld sa-lld" + +include pa-lld.increcipes-bsp/pa-lld/pa-lld-test_git.bb
Quoted 10 lines
recipes-bsp/pa-lld/pa-lld-test_git.bb new file +10
-0+ +DEVICELIST = "k2h k2k k2l k2e" + +CHOICELIST = "yes no" + +do_compile () { +# Now build the lld unit test examples + for device in ${DEVICELIST} + do + make -f makefile_armv7 cleanPDK_INSTALL_PATH=${STAGING_INCDIR} DEVICE="$device" PA_SRC_DIR=${S}
recipes-bsp/pa-lld/pa-lld-test_git.bb
Quoted 3 lines
recipes-bsp/pa-lld/pa-lld-test_git.bb new file +3
-0+ for choice in ${CHOICELIST} + do + make -f makefile_armv7 tests examplesPDK_INSTALL_PATH=${STAGING_INCDIR} DEVICE="$device" PA_SRC_DIR=${S} USEDYNAMIC_LIB="$choice"
recipes-bsp/pa-lld/pa-lld-test_git.bb
Quoted 8 lines
recipes-bsp/pa-lld/pa-lld-test_git.bb new file +8
-0+ done + done +} + +do_install () { + for device in ${DEVICELIST} + do + make -f makefile_armv7 installbinPDK_INSTALL_PATH=${STAGING_INCDIR} DEVICE="$device" PA_SRC_DIR=${S} INSTALL_BIN_BASE_DIR=${D}${bindir}
recipes-bsp/pa-lld/pa-lld.inc line 2
Quoted 10 lines
recipes-bsp/pa-lld/pa-lld-test_git.bb new file +2
-0+ done +}recipes-bsp/pa-lld/pa-lld.inc new file +2
-0@@ -0,0 +1,15 @@ +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM ="file://${WORKDIR}/git/ti/drv/pa/COPYING.txt;md5=e8f6789acdcda76d02ed
9203fc2e603d"recipes-bsp/pa-lld/pa-lld.inc
Quoted 5 lines
recipes-bsp/pa-lld/pa-lld.inc new file +5
-0+ +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}"
recipes-bsp/pa-lld/pa-
Quoted 9 lines
recipes-bsp/pa-lld/pa-lld.inc new file +8
-0+ +# Below Commit ID corresponds to "DEV.PA_LLD.03.00.01.01" +SRCREV = "55207930b4491f33776f2c4c2c0707a73c69314c" +PV = "03.00.01.01" +PR = "r0" + +BASEDIR = "${WORKDIR}/git" +S = "${BASEDIR}/ti/drv/pa"recipes-bsp/pa-lld/pa- renamed from recipes-bsp/pa-lld/pa-lld_git.bb +0
-0lld_git.bb
Quoted 5 lines
new file mode 100644
index 0000000..63e34adrecipes-bsp/pa-lld/pa-lld_git.bb line 9
Quoted 9 lines
recipes-bsp/pa-lld/pa-lld_git.bb new file +9
-0@@ -0,0 +1,15 @@ +DESCRIPTION = "TI PA LLD library" + +DEPENDS = "common-csl-ip rm-lld" + +include pa-lld.inc + +do_compile () { +# Now build the lld in the updated directory + make -f makefile_armv7 DEVICE=k2h clean libPDK_INSTALL_PATH=${STAGING_INCDIR}
recipes-bsp/pa-lld/pa-lld_git.bb line 10
Quoted 1 line
recipes-bsp/pa-lld/pa-lld_git.bb new file +1
-0+ make -f makefile_armv7 DEVICE=k2l libPDK_INSTALL_PATH=${STAGING_INCDIR}
recipes-bsp/pa-lld/pa-lld_git.bb line 14
Quoted 4 lines
recipes-bsp/pa-lld/pa-lld_git.bb new file +4
-0+} + +do_install () { + make -f makefile_armv7 installPDK_INSTALL_PATH=${STAGING_INCDIR}
INSTALL_INC_BASE_DIR=${D}${includedir}
INSTALL_LIB_BASE_DIR=${D}${libdir}Quoted 9 lines
recipes-bsp/pa-lld/pa-lld_git.bb new file +1
-1+} --1.7.9.5
--
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti
Quoted 49 lines
-----Original Message-----
From: Dmytriyenko, Denys
Sent: Thursday, December 18, 2014 6:51 PM
To: Nelson, Sam
Cc: [email protected]
Subject: Re: [meta-ti] [PATCH 1/2] pa-lld: Add recipes for PA low level driver and test codeQuoted 8 lines · Sam
Quoted 8 lines
-----Original Message-----
From: Dmytriyenko, Denys
Sent: Thursday, December 18, 2014 6:42 PM
To: Nelson, Sam
Cc: [email protected]
Subject: Re: [meta-ti] [PATCH 1/2] pa-lld: Add recipes for PA low leveldriver
Quoted 10 lines
Quoted 10 lines
and test code
Quoted 6 lines · Sam Nelson
- Provides low level driver for Packet accelerator module
- Supports k2h, k2k, k2l & k2e devicesSigned-off-by Sam Nelson <[email protected]>--- recipes-bsp/pa-lld/pa-lld-test_git.bb | 28++++++++++++++++++++++++++++
Quoted 8 lines
Quoted 8 lines
recipes-bsp/pa-
Quoted 8 lines
recipes-bsp/pa-lld/pa-lld.inc | 15 +++++++++++++++ recipes-bsp/pa-lld/pa-lld_git.bb | 15 +++++++++++++++ 3 files changed, 58 insertions(+) create mode 100644 recipes-bsp/pa-lld/pa-lld-test_git.bb create mode 100644 recipes-bsp/pa-lld/pa-lld.inc create mode 100644 recipes-bsp/pa-lld/pa-lld_git.bbrecipes-bsp/pa- renamed from recipes-bsp/pa-lld/pa-lld-test_git.bb +0
-0lld/pa-
Quoted 10 lines
Quoted 10 lines
lld-test_git.bb
recipes-bsp/pa-lld/pa-lld-test_git.bb line 1
Quoted 6 lines
new file mode 100644
index 0000000..b70daddrecipes-bsp/pa-lld/pa-lld-test_git.bb new file +1
-0@@ -0,0 +1,28 @@ +DESCRIPTION = "TI PA LLD unit test and example binaries"What's PA? At least you spelled out SA in the next patch... :)
Quoted 7 lines
Quoted 1 line
[Sam] Packet accelerator module. I did add the following in the commit
notes.
Quoted 1 line
" - Provides low level driver for Packet accelerator module"
Yeah, byt that's in git log, not in the recipe...
If possible, can you spell out abbrevs in the recipe itself for future submissions?
[Sam] Ok. That makes sense. I will take care of this with update.
Quoted 95 lines
Quoted 33 lines
Quoted 33 lines
Quoted 6 lines
recipes-bsp/pa-lld/pa-lld-test_git.bb new file +4
-0+ +DEPENDS = "common-csl-ip pa-lld cppi-lld qmss-lld sa-lld" + +include pa-lld.increcipes-bsp/pa-lld/pa-lld-test_git.bb
Quoted 10 lines
recipes-bsp/pa-lld/pa-lld-test_git.bb new file +10
-0+ +DEVICELIST = "k2h k2k k2l k2e" + +CHOICELIST = "yes no" + +do_compile () { +# Now build the lld unit test examples + for device in ${DEVICELIST} + do + make -f makefile_armv7 cleanPDK_INSTALL_PATH=${STAGING_INCDIR} DEVICE="$device" PA_SRC_DIR=${S}
recipes-bsp/pa-lld/pa-lld-test_git.bb
Quoted 3 lines
recipes-bsp/pa-lld/pa-lld-test_git.bb new file +3
-0+ for choice in ${CHOICELIST} + do + make -f makefile_armv7 tests examplesPDK_INSTALL_PATH=${STAGING_INCDIR} DEVICE="$device" PA_SRC_DIR=${S} USEDYNAMIC_LIB="$choice"
recipes-bsp/pa-lld/pa-lld-test_git.bb
Quoted 8 lines
recipes-bsp/pa-lld/pa-lld-test_git.bb new file +8
-0+ done + done +} + +do_install () { + for device in ${DEVICELIST} + do + make -f makefile_armv7 installbinPDK_INSTALL_PATH=${STAGING_INCDIR} DEVICE="$device" PA_SRC_DIR=${S} INSTALL_BIN_BASE_DIR=${D}${bindir}
Quoted 11 lines
Quoted 11 lines
recipes-bsp/pa-lld/pa-lld.inc line 2
Quoted 10 lines
recipes-bsp/pa-lld/pa-lld-test_git.bb new file +2
-0+ done +}recipes-bsp/pa-lld/pa-lld.inc new file +2
-0@@ -0,0 +1,15 @@ +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM ="file://${WORKDIR}/git/ti/drv/pa/COPYING.txt;md5=e8f6789acdcda76d02ed
Quoted 50 lines
Quoted 50 lines
9203fc2e603d"recipes-bsp/pa-lld/pa-lld.inc
Quoted 5 lines
recipes-bsp/pa-lld/pa-lld.inc new file +5
-0+ +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}"
recipes-bsp/pa-lld/pa-
Quoted 9 lines
recipes-bsp/pa-lld/pa-lld.inc new file +8
-0+ +# Below Commit ID corresponds to "DEV.PA_LLD.03.00.01.01" +SRCREV = "55207930b4491f33776f2c4c2c0707a73c69314c" +PV = "03.00.01.01" +PR = "r0" + +BASEDIR = "${WORKDIR}/git" +S = "${BASEDIR}/ti/drv/pa"recipes-bsp/pa-lld/pa- renamed from recipes-bsp/pa-lld/pa-lld_git.bb +0
-0lld_git.bb
Quoted 5 lines
new file mode 100644
index 0000000..63e34adrecipes-bsp/pa-lld/pa-lld_git.bb line 9
Quoted 9 lines
recipes-bsp/pa-lld/pa-lld_git.bb new file +9
-0@@ -0,0 +1,15 @@ +DESCRIPTION = "TI PA LLD library" + +DEPENDS = "common-csl-ip rm-lld" + +include pa-lld.inc + +do_compile () { +# Now build the lld in the updated directory + make -f makefile_armv7 DEVICE=k2h clean libPDK_INSTALL_PATH=${STAGING_INCDIR}
recipes-bsp/pa-lld/pa-lld_git.bb line 10
Quoted 1 line
recipes-bsp/pa-lld/pa-lld_git.bb new file +1
-0+ make -f makefile_armv7 DEVICE=k2l libPDK_INSTALL_PATH=${STAGING_INCDIR}
recipes-bsp/pa-lld/pa-lld_git.bb line 14
Quoted 4 lines
recipes-bsp/pa-lld/pa-lld_git.bb new file +4
-0+} + +do_install () { + make -f makefile_armv7 installPDK_INSTALL_PATH=${STAGING_INCDIR}
INSTALL_INC_BASE_DIR=${D}${includedir}
INSTALL_LIB_BASE_DIR=${D}${libdir}Quoted 9 lines
recipes-bsp/pa-lld/pa-lld_git.bb new file +1
-1+} --1.7.9.5
--
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti