dfe-lld: Add recipe for Digital Radio Front end low level driver & test code
PATCH 1/2 dfe-lld: Add recipe for Digital Radio Front end low level driver & test code
- Provides low level driver for Digital Radio front end
- Supports device k2l
--- recipes-bsp/dfe-lld/dfe-lld-test_git.bb | 18 ++++++++++++++++++ recipes-bsp/dfe-lld/dfe-lld.inc | 13 +++++++++++++ recipes-bsp/dfe-lld/dfe-lld_git.bb | 15 +++++++++++++++ 3 files changed, 46 insertions(+) create mode 100644 recipes-bsp/dfe-lld/dfe-lld-test_git.bb create mode 100644 recipes-bsp/dfe-lld/dfe-lld.inc create mode 100644 recipes-bsp/dfe-lld/dfe-lld_git.bb
recipes-bsp/dfe-lld/dfe-lld-test_git.bb new file +18 -0
@@ -0,0 +1,18 @@ +DESCRIPTION = "TI Digital Radio Front End lld test application" + +DEPENDS = "common-csl-ip dfe-lld iqn2-lld" + +include dfe-lld.inc + +EXTRA_OEMAKE = "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR} DFE_SRC_DIR=${S}" + +do_compile () { +# Now build the lld in the updated directory + oe_runmake clean DEVICE=k2l + oe_runmake tests DEVICE=k2l + oe_runmake tests DEVICE=k2l USEDYNAMIC_LIB=yes +} + +do_install () { + oe_runmake installbin INSTALL_BIN_BASE_DIR=${D}/${bindir} +}
recipes-bsp/dfe-lld/dfe-lld.inc new file +13 -0
@@ -0,0 +1,13 @@ +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}" +# The following commit correspond to DEV.DFE_LLD.01.00.00.03C +SRCREV = "ed20e87d3676e3e05ce2b78179b504a05083ad15" + +PV = "1.0.0.3" + +COMPATIBLE_MACHINE = "keystone" + +S = "${WORKDIR}/git/ti/drv/dfe"
recipes-bsp/dfe-lld/dfe-lld_git.bb new file +15 -0
@@ -0,0 +1,15 @@ +DESCRIPTION = "Digital Radio Front End low level driver" + +DEPENDS = "common-csl-ip" + +include dfe-lld.inc + +EXTRA_OEMAKE = "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR}" + +do_compile () { + oe_runmake lib DEVICE=k2l +} + +do_install () { + oe_runmake install INSTALL_INC_BASE_DIR=${D}/${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir} +}
Signature · 1 line
1.7.9.5
PATCH 2/2 iqn2-lld: Add recipes for TI iqn2 peripheral module low level driver
-Provides low level driver and test code for TI iqn2 peripheral module
- Supports k2l device
--- recipes-bsp/iqn2-lld/iqn2-lld-test_git.bb | 16 ++++++++++++++++ recipes-bsp/iqn2-lld/iqn2-lld.inc | 13 +++++++++++++ recipes-bsp/iqn2-lld/iqn2-lld_git.bb | 16 ++++++++++++++++ 3 files changed, 45 insertions(+) create mode 100644 recipes-bsp/iqn2-lld/iqn2-lld-test_git.bb create mode 100644 recipes-bsp/iqn2-lld/iqn2-lld.inc create mode 100644 recipes-bsp/iqn2-lld/iqn2-lld_git.bb
recipes-bsp/iqn2-lld/iqn2-lld-test_git.bb new file +16 -0
@@ -0,0 +1,16 @@ +DESCRIPTION = "TI IQN2 peripheral module low level driver test binaries" + +DEPENDS = "common-csl-ip iqn2-lld dfe-lld" + +include iqn2-lld.inc + +EXTRA_OEMAKE = "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR} IQN2_SRC_DIR=${WORKDIR}/git" + +do_compile () { + oe_runmake clean DEVICE=k2l + oe_runmake tests DEVICE=k2l +} + +do_install () { + oe_runmake installbin DEVICE=k2l IQN2_SRC_DIR=${WORKDIR}/git INSTALL_BIN_BASE_DIR=${D}/${bindir} +}
recipes-bsp/iqn2-lld/iqn2-lld.inc new file +13 -0
@@ -0,0 +1,13 @@ +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}" +# Following commit corresponds to DEV.IQN_LLD.01.00.00.05B +SRCREV = "ca35079f41d06259be39f992f55a9f815d305ef5" + +PV = "1.0.0.5" + +COMPATIBLE_MACHINE = "keystone" + +S = "${WORKDIR}/git/ti/drv/iqn2"
recipes-bsp/iqn2-lld/iqn2-lld_git.bb new file +16 -0
@@ -0,0 +1,16 @@ +DESCRIPTION = "TI IQN2 peripheral module low level driver" + +DEPENDS = "common-csl-ip" + +include iqn2-lld.inc + +EXTRA_OEMAKE = "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR}" + +do_compile () { + oe_runmake clean + oe_runmake lib +} + +do_install () { + oe_runmake install INSTALL_INC_BASE_DIR=${D}/${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir} +}
Signature · 1 line
1.7.9.5
Two comments, although not very critical:
1. dfe-lld-test defpends on iqn2-lld, which gets added in the second patch. I understand that iqn2-lld depends on dfe-lld, so the proper way to break it into patches and ensure bisectability, is to submit dfe-lld-test recipe separately as a third patch after dfe-lld and iqn2-lld/test.
2. Since you are only building for k2l, do you want to set a more stricter COMPATIBLE_MACHINE as "k2l-evm"?
Signature · 1 line
Denys
Quoted 85 lines · Sam Nelson
- Provides low level driver for Digital Radio front end
- Supports device k2lSigned-off-by Sam Nelson <[email protected]>--- recipes-bsp/dfe-lld/dfe-lld-test_git.bb | 18 ++++++++++++++++++ recipes-bsp/dfe-lld/dfe-lld.inc | 13 +++++++++++++ recipes-bsp/dfe-lld/dfe-lld_git.bb | 15 +++++++++++++++ 3 files changed, 46 insertions(+) create mode 100644 recipes-bsp/dfe-lld/dfe-lld-test_git.bb create mode 100644 recipes-bsp/dfe-lld/dfe-lld.inc create mode 100644 recipes-bsp/dfe-lld/dfe-lld_git.bbrecipes-bsp/dfe-lld/dfe-lld-test_git.bb new file +18
-0@@ -0,0 +1,18 @@ +DESCRIPTION = "TI Digital Radio Front End lld test application" + +DEPENDS = "common-csl-ip dfe-lld iqn2-lld" + +include dfe-lld.inc + +EXTRA_OEMAKE = "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR} DFE_SRC_DIR=${S}" + +do_compile () { +# Now build the lld in the updated directory + oe_runmake clean DEVICE=k2l + oe_runmake tests DEVICE=k2l + oe_runmake tests DEVICE=k2l USEDYNAMIC_LIB=yes +} + +do_install () { + oe_runmake installbin INSTALL_BIN_BASE_DIR=${D}/${bindir} +}recipes-bsp/dfe-lld/dfe-lld.inc new file +13
-0@@ -0,0 +1,13 @@ +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}" +# The following commit correspond to DEV.DFE_LLD.01.00.00.03C +SRCREV = "ed20e87d3676e3e05ce2b78179b504a05083ad15" + +PV = "1.0.0.3" + +COMPATIBLE_MACHINE = "keystone" + +S = "${WORKDIR}/git/ti/drv/dfe"recipes-bsp/dfe-lld/dfe-lld_git.bb new file +15
-0@@ -0,0 +1,15 @@ +DESCRIPTION = "Digital Radio Front End low level driver" + +DEPENDS = "common-csl-ip" + +include dfe-lld.inc + +EXTRA_OEMAKE = "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR}" + +do_compile () { + oe_runmake lib DEVICE=k2l +} + +do_install () { + oe_runmake install 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