[meta-ti] [PATCH v2 31/37] board-rtos: Added board-rtos recipe

Denys Dmytriyenko denys at ti.com
Thu Aug 24 13:02:11 PDT 2017


On Tue, Jul 18, 2017 at 07:03:42PM -0400, Mahesh Radhakrishnan wrote:
> Upstreaming board library for RTOS
> Signed-off-by: Mahesh Radhakrishnan <m-radhakrishnan2 at ti.com>
> ---
> 
> v2 - Added summary & merged in to a single recipe
> 
>  recipes-bsp/board-rtos/board-rtos_git.bb | 71 ++++++++++++++++++++++++++++++++
>  1 file changed, 71 insertions(+)
>  create mode 100644 recipes-bsp/board-rtos/board-rtos_git.bb
> 
> diff --git a/recipes-bsp/board-rtos/board-rtos_git.bb b/recipes-bsp/board-rtos/board-rtos_git.bb
> new file mode 100644
> index 0000000..5ba672f
> --- /dev/null
> +++ b/recipes-bsp/board-rtos/board-rtos_git.bb
> @@ -0,0 +1,71 @@
> +SUMMARY = "TI RTOS Board Library"
> +
> +inherit ti-pdk
> +
> +LICENSE = "BSD-3-Clause"
> +LIC_FILES_CHKSUM = "file://board.h;beginline=1;endline=32;md5=0e3182ba6a963da159c37eafa9752ade"
> +
> +COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|keystone|omapl1"
> +PACKAGE_ARCH = "${MACHINE_ARCH}"
> +
> +BOARD_GIT_URI = "git://git.ti.com/keystone-rtos/board.git"
> +BOARD_GIT_PROTOCOL = "git"
> +BOARD_GIT_BRANCH = "master"
> +
> +# Below commit ID corresponds to "DEV.BOARD.01.00.07.00"
> +BOARD_SRCREV = "7d6a76ee65d75714740d468a48ca7e3668e66a94"
> +
> +BRANCH ="${BOARD_GIT_BRANCH}"
> +SRC_URI = "${BOARD_GIT_URI};protocol=${BOARD_GIT_PROTOCOL};branch=${BRANCH}"
> +
> +SRCREV = "${BOARD_SRCREV}"
> +PV = "01.00.07.00"
> +PR = "r0"
> +
> +DEPENDS_append = " i2c-lld-rtos \
> +                   spi-lld-rtos \
> +                   uart-lld-rtos \
> +"
> +
> +DEPENDS_append_omap-a15 = " osal-rtos \
> +                            ti-ndk \
> +"
> +
> +DEPENDS_append_am57xx-evm = " gpio-lld-rtos \
> +                              icss-emac-lld-rtos \
> +                              mmcsd-lld-rtos \
> +                              pruss-lld-rtos \
> +                              pm-lld-rtos \
> +"

What about dra7xx?


> +
> +DEPENDS_append_ti33x = " gpio-lld-rtos \
> +                         gpmc-lld-rtos \
> +                         icss-emac-lld-rtos \
> +                         mmcsd-lld-rtos \
> +                         osal-rtos \
> +                         pruss-lld-rtos \
> +                         starterware-rtos \
> +                         ti-ndk \

ti-ndk is patch #34 and is not yet merged, but a dependency here in #31

Please make sure the order is correct.


> +"
> +
> +DEPENDS_append_ti43x = " gpio-lld-rtos \
> +                         gpmc-lld-rtos \
> +                         icss-emac-lld-rtos \
> +                         mmcsd-lld-rtos \
> +                         osal-rtos \
> +                         pruss-lld-rtos \
> +                         starterware-rtos \
> +                         ti-ndk \
> +"
> +
> +
> +# Build with make instead of XDC
> +TI_PDK_XDCMAKE = "0"
> +
> +INHIBIT_SYSROOT_STRIP = "1"
> +INHIBIT_PACKAGE_STRIP = "1"
> +
> +export PDK_BOARD_ROOT_PATH ="${WORKDIR}/build"
> +export DEST_ROOT="${S}"
> +
> +XDCPATH_append = ";${PDK_INSTALL_DIR}/packages/ti/csl;${NDK_INSTALL_DIR}/packages"
> -- 
> 1.9.1
> 
> -- 
> _______________________________________________
> meta-ti mailing list
> meta-ti at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-ti


More information about the meta-ti mailing list