1
0
mirror of https://git.yoctoproject.org/meta-ti synced 2026-01-12 01:20:20 +00:00

Compare commits

...

12 Commits

Author SHA1 Message Date
Dan Murphy
ca209d8cab uboot-ti-staging: update to ti2017.00-rc6 tag
Signed-off-by: Dan Murphy <dmurphy@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-03-28 17:21:07 -04:00
Dan Murphy
00533fa70a linux-ti-staging: update to ti2017.00-rc6 tag
Signed-off-by: Dan Murphy <dmurphy@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-03-28 17:21:06 -04:00
Denys Dmytriyenko
f6090d5a8b ti-ipc: add module dependency between omap_remoteproc and virtio_rpmsg_bus
This is required to workaround the remoteproc crash due to watchdog interrupt
conflicts - LCPD-9490

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Cc: Sam Nelson <sam.nelson@ti.com>
Cc: Suman Anna <s-anna@ti.com>
Reviewed-by: Suman Anna <s-anna@ti.com>
2017-03-28 17:07:09 -04:00
Sam Nelson
e65502c42e ti-ipc-examples: Update with change of directory structure
Separated Linux host examples into separate package ti-ipc-examples-
linux and installed into /usr/bin directory.

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-03-27 10:56:25 -04:00
Denys Dmytriyenko
ae9edd5f1e beaglebone: setup wic to produce SD card image
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-03-21 21:17:54 -04:00
Denys Dmytriyenko
3d731d4004 beagle-x15: add separate config for BeagleBoard X15
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-03-21 21:14:06 -04:00
Denys Dmytriyenko
fbe3f7f6e5 omapl138: rename old am180x platform into new generic omapl138-lcdk
Updated all corresponding defconfigs as well.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-03-20 16:42:52 -04:00
Denys Dmytriyenko
b8cfbcdb0f am57xx-evm: fix description
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-03-20 16:42:48 -04:00
Denys Dmytriyenko
e32835a8bf k2g-hs-evm: add new machine config
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-03-20 16:42:42 -04:00
Fathi Boudra
dbf9269bea kselftests: fix up run_kselftest.sh due to spurious lines
run_kselftests.sh contains randomly spurious lines starting by "make[1]:".
The way the script is generated is most likely broken.
Until, we've got a proper fix, get rid of the lines after the generated
script is installed.

Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-03-20 16:42:37 -04:00
Karthik Ramanan
c42f1c0891 ti-sgx-ddk-um: Add INSANE_SKIP with already-stripped
Without this option, there is build failure on poky

Signed-off-by: Karthik Ramanan <a0393906@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-03-20 13:50:09 -04:00
Fathi Boudra
87d42d7dc7 kselftests: fix futex functional tests build
Recursive makefile is broken because it's using the same TARGETS variable
as selftests topdir and prevent to build futex functional tests:
make[2]: Nothing to be done for `all'.

Rename the variable to F_TARGETS in the futex functional tests Makefile.

Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-03-20 13:50:05 -04:00
16 changed files with 95 additions and 19 deletions

View File

@@ -1,6 +1,6 @@
#@TYPE: Machine
#@NAME: DRA7xx EVM
#@DESCRIPTION: Machine configuration for the TI DRA7xx EVM
#@NAME: AM57xx EVM
#@DESCRIPTION: Machine configuration for the TI AM57xx EVM
require conf/machine/include/dra7xx.inc

View File

@@ -0,0 +1,36 @@
#@TYPE: Machine
#@NAME: BeagleBoard X15
#@DESCRIPTION: Machine configuration for the BeagleBoard X15
require conf/machine/include/dra7xx.inc
MACHINE_GUI_CLASS = "bigscreen"
IMAGE_FSTYPES += "tar.xz"
SERIAL_CONSOLE = "115200 ttyS2"
KERNEL_DEVICETREE = "am57xx-beagle-x15.dtb am57xx-beagle-x15-revb1.dtb"
UBOOT_MACHINE = "am57xx_evm_config"
# UBI information. Note that this is board and kernel specific. Changes
# in your kernel port may require changes in these variables. For more
# details about this board please see
# http://processors.wiki.ti.com/index.php/UBIFS_Support
# do ubiattach /dev/ubi_ctrl -m 7 -O 2048
# From dmesg:
# UBI: smallest flash I/O unit: 2048
# UBI: logical eraseblock size: 126976 bytes
# from ubiattach stdout:
# UBI device number 0, total 1988 LEBs
MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 8192"
# do ubiattach /dev/ubi_ctrl -m 7 -O 2048
# from dmesg:
# UBI: smallest flash I/O unit: 2048
# UBI: physical eraseblock size: 131072 bytes (128 KiB)
# UBI: sub-page size: 512
# UBI: VID header offset: 2048 (aligned 2048)
UBINIZE_ARGS = "-m 2048 -p 128KiB -s 512 -O 2048"

View File

@@ -10,8 +10,12 @@ KERNEL_DEVICETREE = "am335x-bone.dtb am335x-boneblack.dtb am335x-bonegreen.dtb"
# Only has DVI connector for external screen
MACHINE_GUI_CLASS = "bigscreen"
IMAGE_FSTYPES += "tar.gz"
WKS_FILE = "sdimage-bootpart.wks"
IMAGE_BOOT_FILES = "MLO u-boot.img"
IMAGE_FSTYPES += "tar.xz wic.xz"
SERIAL_CONSOLE = "115200 ttyS0"
UBOOT_MACHINE = "am335x_boneblack_config"
do_image_wic[depends] += "mtools-native:do_populate_sysroot dosfstools-native:do_populate_sysroot"

View File

@@ -0,0 +1,14 @@
#@TYPE: Machine
#@NAME: Keystone 2 K2G HS EVM
#@DESCRIPTION: Machine configuration for the TI Keystone 2 K2G HS EVM
require conf/machine/k2g-evm.conf
UBOOT_MACHINE = "k2g_hs_evm_config"
UBOOT_ENTRYPOINT = "0x82000000"
UBOOT_LOADADDRESS = "0x82000000"
UBOOT_RD_LOADADDRESS = "0x84000000"
UBOOT_RD_ENTRYPOINT = "0x84000000"
TI_SECURE_DEV_PKG = "${TI_SECURE_DEV_PKG_CAT}/k2g"

View File

@@ -1,11 +1,11 @@
#@TYPE: Machine
#@NAME: AM180x CPUs on an AM180x EVM board
#@DESCRIPTION: Machine configuration for the TI AM180x EVM board
#@NAME: OMAP-L138 LCDK
#@DESCRIPTION: Machine configuration for the TI OMAP-L138 LCDK board
require conf/machine/include/davinci.inc
require conf/machine/include/omapl138.inc
UBOOT_MACHINE = "da850_am18xxevm_config"
UBOOT_MACHINE = "omapl138_lcdk_config"
UBOOT_SUFFIX = "ais"
UBOOT_ENTRYPOINT = "0xc0008000"

View File

@@ -2,4 +2,4 @@ require u-boot-ti.inc
BRANCH = "ti-u-boot-2017.01"
SRCREV = "734f6d49ae509f72bbd97893f2a98dea20c7bdc0"
SRCREV = "bc8176c3f14dfabd7ebb883b65b2b04b70f3cf0a"

View File

@@ -31,7 +31,7 @@ INITSCRIPT_PARAMS = "defaults 8"
inherit update-rc.d
PR = "r23"
PR = "r24"
PROVIDES += "virtual/egl virtual/libgles1 virtual/libgles2 omap5-sgx-ddk-um-linux"
DEPENDS += "libdrm udev libgbm wayland libffi"
@@ -73,5 +73,6 @@ INHIBIT_SYSROOT_STRIP = "1"
INSANE_SKIP_${PN} += "dev-so ldflags useless-rpaths"
INSANE_SKIP_${PN}-plugins = "dev-so"
INSANE_SKIP_${PN} += "already-stripped"
CLEANBROKEN = "1"

View File

@@ -59,6 +59,7 @@ do_configure () {
sed "s|^CC = .*||g" -i ${S}/tools/testing/selftests/memfd/Makefile
sed "s|^CC := .*||g" -i ${S}/tools/testing/selftests/powerpc/switch_endian/Makefile
sed "s|gcc|\$(CC)|g" -i ${S}/tools/testing/selftests/breakpoints/Makefile
sed "s|TARGETS|F_TARGETS|g" -i ${S}/tools/testing/selftests/futex/functional/Makefile
sed "s|^LDFLAGS += -lpthread|LDLIBS += -lpthread|g" -i ${S}/tools/testing/selftests/seccomp/Makefile
sed "s|^LDFLAGS += -lrt -lpthread|LDLIBS += -lrt -lpthread|g" -i ${S}/tools/testing/selftests/timers/Makefile
sed "s|BINARIES|TEST_PROGS|g" -i ${S}/tools/testing/selftests/sigaltstack/Makefile
@@ -71,6 +72,8 @@ do_compile () {
do_install () {
oe_runmake install
chown -R root:root ${D}
# fixup run_kselftest.sh due to spurious lines starting by "make[1]:"
sed -i '/^make/d' ${D}${bindir}/kselftests/run_kselftest.sh
}
PACKAGE_BEFORE_PN = " \

View File

@@ -0,0 +1 @@
use-tisdk-config=ti_sdk_omapl138_release

View File

@@ -6,4 +6,4 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-4.9:"
BRANCH = "ti-rt-linux-4.9.y"
SRCREV = "520e8f9cc5af10112715d011c1d83b3ee850d8ec"
SRCREV = "c308253f1425277c704e238445e3e4f85a3dd3fb"

View File

@@ -0,0 +1 @@
use-tisdk-config=ti_sdk_omapl138_debug

View File

@@ -55,7 +55,7 @@ S = "${WORKDIR}/git"
BRANCH = "ti-lsk-linux-4.9.y"
SRCREV = "102f61776e63e58bc75c13297a8fac34d99c8590"
SRCREV = "a2b4f0ec61a340268c6f87e49adf55d1920e6e3d"
PV = "4.9.13+git${SRCPV}"
# Append to the MACHINE_KERNEL_PR so that a new SRCREV will cause a rebuild

View File

@@ -1,5 +1,5 @@
PV = "3.45.00.00"
INC_PR = "r0"
INC_PR = "r1"
PACKAGE_ARCH = "${MACHINE_ARCH}"

View File

@@ -12,6 +12,11 @@ INSANE_SKIP_${PN} += "arch"
ALLOW_EMPTY_${PN} = "1"
PACKAGES =+ "${PN}-linux"
INSANE_SKIP_${PN}-linux += "arch"
ALLOW_EMPTY_${PN}-linux = "1"
IPC_INSTALL_DIR="${STAGING_DIR_TARGET}/usr/share/ti/ti-ipc-tree"
do_compile() {
@@ -56,31 +61,35 @@ do_install() {
cd ${S_ipc-examples}/src
IPC_VERSION=`echo ${PV}${RELEASE_SUFFIX} | sed -e 's|\.|_|g'`
install -d ${D}/ipc_${IPC_VERSION}/examples
if [ "${PLATFORM}" != "UNKNOWN" ]; then
# Install directory for bios examples
install -d ${D}/ipc_${IPC_VERSION}/examples/bios
# Install directory for linux examples
install -d ${D}${bindir}/ipc/examples
oe_runmake -C examples install IPC_INSTALL_DIR="${IPC_INSTALL_DIR}" \
HOSTOS="bios" EXEC_DIR="${D}/ipc_${IPC_VERSION}/examples"
HOSTOS="bios" EXEC_DIR="${D}/ipc_${IPC_VERSION}/examples/bios"
oe_runmake -C examples install_rov IPC_INSTALL_DIR="${IPC_INSTALL_DIR}" \
HOSTOS="bios" EXEC_DIR="${D}/ipc_${IPC_VERSION}/examples"
HOSTOS="bios" EXEC_DIR="${D}/ipc_${IPC_VERSION}/examples/bios"
oe_runmake -C examples install IPC_INSTALL_DIR="${IPC_INSTALL_DIR}" \
LINUX_SYSROOT_DIR="${STAGING_INCDIR}" \
HOSTOS="linux" EXEC_DIR="${D}/ipc_${IPC_VERSION}/examples"
HOSTOS="linux" EXEC_DIR="${D}/${bindir}/ipc/examples"
if [ ! -z ${ALT_PLATFORM} ]; then
oe_runmake -C examples install IPC_INSTALL_DIR="${IPC_INSTALL_DIR}" \
HOSTOS="bios" EXEC_DIR="${D}/ipc_${IPC_VERSION}/examples" \
oe_runmake -C examples install IPC_INSTALL_DIR="${IPC_INSTALL_DIR}" \
HOSTOS="bios" EXEC_DIR="${D}/ipc_${IPC_VERSION}/examples/bios" \
PLATFORM="${ALT_PLATFORM}"
oe_runmake -C examples install_rov IPC_INSTALL_DIR="${IPC_INSTALL_DIR}" \
HOSTOS="bios" EXEC_DIR="${D}/ipc_${IPC_VERSION}/examples" \
HOSTOS="bios" EXEC_DIR="${D}/ipc_${IPC_VERSION}/examples/bios" \
PLATFORM="${ALT_PLATFORM}"
oe_runmake -C examples install IPC_INSTALL_DIR="${IPC_INSTALL_DIR}" \
LINUX_SYSROOT_DIR="${STAGING_INCDIR}" \
HOSTOS="linux" EXEC_DIR="${D}/ipc_${IPC_VERSION}/examples" \
HOSTOS="linux" EXEC_DIR="${D}/${bindir}/ipc/examples" \
PLATFORM="${ALT_PLATFORM}"
fi
fi
}
FILES_${PN} += "ipc_*"
FILES_${PN}-linux += "${bindir}/*"

View File

@@ -0,0 +1 @@
softdep omap_remoteproc pre: virtio_rpmsg_bus

View File

@@ -9,6 +9,7 @@ PR = "${INC_PR}.0"
DEPENDS += "virtual/kernel"
SRC_URI += "file://tiipclad-daemon.sh \
file://omap_remoteproc.conf \
file://0001-Add-kernel-build-dir.patch \
"
@@ -43,6 +44,11 @@ do_install_append() {
install -c -m 755 ${WORKDIR}/tiipclad-daemon.sh ${D}${sysconfdir}/init.d/${INITSCRIPT_NAME}
}
do_install_append_dra7xx() {
install -d ${D}${sysconfdir}/modprobe.d/
install -c -m 644 ${WORKDIR}/omap_remoteproc.conf ${D}${sysconfdir}/modprobe.d/
}
PACKAGES =+ "${PN}-test"
RDEPENDS_${PN}-test += "${PN}"