mirror of
https://git.yoctoproject.org/meta-ti
synced 2026-01-12 09:30:21 +00:00
Compare commits
167 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8beec1ca66 | ||
|
|
475c45d192 | ||
|
|
48f59a0765 | ||
|
|
0056050410 | ||
|
|
d8ca0d9739 | ||
|
|
4be60cf6cf | ||
|
|
39b137a069 | ||
|
|
61fdfef43e | ||
|
|
b76d4d740b | ||
|
|
14858daa69 | ||
|
|
dbc21e6e6d | ||
|
|
2139986702 | ||
|
|
625b43736f | ||
|
|
e4b90a654c | ||
|
|
8d59a8f6f2 | ||
|
|
082d640cf1 | ||
|
|
726a67e38f | ||
|
|
b5216d7f9c | ||
|
|
2c86c1957c | ||
|
|
3bca395fab | ||
|
|
975ce2d93d | ||
|
|
800105c4c2 | ||
|
|
5b56c0ce90 | ||
|
|
2ac3b4537f | ||
|
|
f3551ab724 | ||
|
|
7df8efba13 | ||
|
|
5b6c24b167 | ||
|
|
e5984623e9 | ||
|
|
bef5c59b8c | ||
|
|
71a8222476 | ||
|
|
89d2711fb4 | ||
|
|
51b183dcde | ||
|
|
db1e0b9f31 | ||
|
|
28a7655f79 | ||
|
|
d8d36acb07 | ||
|
|
87b39200b2 | ||
|
|
2bae56cfdc | ||
|
|
df6816424c | ||
|
|
5d77a6c878 | ||
|
|
f97d0f5b24 | ||
|
|
7f2773454b | ||
|
|
f894102725 | ||
|
|
5e6aed54ec | ||
|
|
c27ca998e2 | ||
|
|
dde9c84e16 | ||
|
|
007d3ff11b | ||
|
|
561b40ddf9 | ||
|
|
21f4d17302 | ||
|
|
6493ace690 | ||
|
|
c0de045840 | ||
|
|
3d32a8e701 | ||
|
|
3e172af061 | ||
|
|
2d22078fa2 | ||
|
|
c7237350bc | ||
|
|
ad434b55d1 | ||
|
|
9743993745 | ||
|
|
b764ba4c14 | ||
|
|
ac5e361a84 | ||
|
|
1738b8b572 | ||
|
|
7d91b3d793 | ||
|
|
802a01fd24 | ||
|
|
67499500f2 | ||
|
|
7923a08761 | ||
|
|
671713a344 | ||
|
|
c7320f2271 | ||
|
|
29ebd45c3d | ||
|
|
8d8b62c137 | ||
|
|
8f881dd965 | ||
|
|
a3932f6c66 | ||
|
|
d6b47b7cd7 | ||
|
|
5ae405999c | ||
|
|
dd58f81f92 | ||
|
|
802c10bc65 | ||
|
|
e0cd3a7e6f | ||
|
|
b4d07f3b7c | ||
|
|
dabd83e96f | ||
|
|
400dc74ceb | ||
|
|
39d7d9de23 | ||
|
|
7e054d1277 | ||
|
|
9f888be5ef | ||
|
|
4aca8bd063 | ||
|
|
b4349f8596 | ||
|
|
f61008a203 | ||
|
|
6d0651e0ac | ||
|
|
084544208a | ||
|
|
d486c82e49 | ||
|
|
fa4872bb1f | ||
|
|
76beabe375 | ||
|
|
07001d9115 | ||
|
|
a46b7207a3 | ||
|
|
db99578a19 | ||
|
|
1e928b703d | ||
|
|
c9a63ed5f4 | ||
|
|
c4b3772061 | ||
|
|
6b9525bd09 | ||
|
|
24edd661d5 | ||
|
|
1723eb0089 | ||
|
|
9e55646453 | ||
|
|
9d38e2e41b | ||
|
|
e8455c323f | ||
|
|
fd9313f1e1 | ||
|
|
edfd76fce4 | ||
|
|
06afc3984d | ||
|
|
9e595df297 | ||
|
|
6c1ab34c88 | ||
|
|
4fb79a828f | ||
|
|
f75224052b | ||
|
|
d2a65d09c8 | ||
|
|
124465369f | ||
|
|
3cd1ddb25e | ||
|
|
a27001ce6d | ||
|
|
c187c2c590 | ||
|
|
ebfbd8ee95 | ||
|
|
e923dfcaf3 | ||
|
|
c517bb7043 | ||
|
|
e2748c6cb2 | ||
|
|
84576bfff1 | ||
|
|
9be75edbe0 | ||
|
|
9bf0bc5611 | ||
|
|
87fe2c4653 | ||
|
|
ae4f09067c | ||
|
|
bbc9ae0c90 | ||
|
|
62b9360fef | ||
|
|
95d34de649 | ||
|
|
e9e944715a | ||
|
|
b90ba5a2db | ||
|
|
2abe4771ea | ||
|
|
c652f49c33 | ||
|
|
89a028b124 | ||
|
|
ee570b6331 | ||
|
|
ec83f7d77a | ||
|
|
acf1d6a980 | ||
|
|
cc1a67b39d | ||
|
|
c8377df0b4 | ||
|
|
f35d7c5849 | ||
|
|
673f6c08c1 | ||
|
|
f815f3aa4c | ||
|
|
988bc01988 | ||
|
|
fc01b1e984 | ||
|
|
23506a1771 | ||
|
|
72a9e98bfc | ||
|
|
1e463c7395 | ||
|
|
c5d939ad13 | ||
|
|
becf98b038 | ||
|
|
f31fba1c2a | ||
|
|
869c1a5de3 | ||
|
|
21f9705c8b | ||
|
|
14671da0be | ||
|
|
a6e3b7466f | ||
|
|
147715e937 | ||
|
|
74019397b8 | ||
|
|
60b90439f7 | ||
|
|
9971090bfc | ||
|
|
e6e536bc27 | ||
|
|
4b299c53e3 | ||
|
|
250f27d11f | ||
|
|
f1192cf401 | ||
|
|
519575bd04 | ||
|
|
5c395d6efb | ||
|
|
6049ce3cc2 | ||
|
|
41a59d395d | ||
|
|
59e12fdc29 | ||
|
|
5b1feb3a2b | ||
|
|
463ad61b83 | ||
|
|
51d77864e0 | ||
|
|
9d102914f9 | ||
|
|
e889ac6dec |
4
README
4
README
@@ -8,7 +8,7 @@ This layer depends on:
|
||||
|
||||
URI: git://git.openembedded.org/openembedded-core
|
||||
layers: meta
|
||||
branch: krogoth
|
||||
branch: master
|
||||
|
||||
|
||||
The base BSP part of meta-ti should work with different OpenEmbedded/Yocto
|
||||
@@ -19,7 +19,5 @@ Please follow the recommended setup procedures of your OE distribution.
|
||||
|
||||
|
||||
Send pull requests, patches, comments or questions to meta-ti@yoctoproject.org
|
||||
Please note - meta-ti mailing list requires subscription for posting:
|
||||
https://lists.yoctoproject.org/listinfo/meta-ti
|
||||
|
||||
Maintainers: Denys Dmytriyenko <denys@ti.com>
|
||||
|
||||
156
classes/sdcard_image.bbclass
Normal file
156
classes/sdcard_image.bbclass
Normal file
@@ -0,0 +1,156 @@
|
||||
inherit image
|
||||
|
||||
# Add the fstypes we need
|
||||
IMAGE_FSTYPES_append = " tar.bz2 sdimg"
|
||||
|
||||
# Ensure required utilities are present
|
||||
IMAGE_DEPENDS_sdimg = "genext2fs-native e2fsprogs-native"
|
||||
|
||||
# Change this to match your host distro
|
||||
LOSETUP ?= "/sbin/losetup"
|
||||
|
||||
# Since these need to go in /etc/fstab we can hardcode them
|
||||
# Since the vars are weakly assigned, you can override them from your local.conf
|
||||
LOOPDEV ?= "/dev/loop1"
|
||||
LOOPDEV_BOOT ?= "/dev/loop2"
|
||||
LOOPDEV_FS ?= "/dev/loop3"
|
||||
|
||||
# Default to 4GiB images
|
||||
SDIMG_SIZE ?= "444"
|
||||
|
||||
# FS type for rootfs
|
||||
ROOTFSTYPE ?= "ext4"
|
||||
|
||||
BOOTPARTNAME_beaglebone = "BEAGLE_BONE"
|
||||
BOOTPARTNAME ?= "${MACHINE}"
|
||||
|
||||
IMAGEDATESTAMP = "${@time.strftime('%Y.%m.%d',time.gmtime())}"
|
||||
|
||||
# Files and/or directories to be copied into the vfat partition
|
||||
FATPAYLOAD ?= ""
|
||||
|
||||
IMAGE_CMD_sdimg () {
|
||||
SDIMG=${WORKDIR}/sd.img
|
||||
|
||||
# sanity check fstab entry for boot partition mounting
|
||||
if [ "x$(cat /etc/fstab | grep ${LOOPDEV_BOOT} | grep ${WORKDIR}/tmp-mnt-boot | grep user || true)" = "x" ]; then
|
||||
echo "/etc/fstab entries need to be created with the user flag for the loop devices like:"
|
||||
echo "${LOOPDEV_BOOT} ${WORKDIR}/tmp-mnt-boot vfat user 0 0"
|
||||
false
|
||||
fi
|
||||
|
||||
# cleanup loops
|
||||
for loop in ${LOOPDEV} ${LOOPDEV_BOOT} ${LOOPDEV_FS} ; do
|
||||
${LOSETUP} -d $loop || true
|
||||
done
|
||||
|
||||
# If an SD image is already present, reuse and reformat it
|
||||
if [ ! -e ${SDIMG} ] ; then
|
||||
dd if=/dev/zero of=${SDIMG} bs=$(echo '255 * 63 * 512' | bc) count=${SDIMG_SIZE}
|
||||
fi
|
||||
|
||||
${LOSETUP} ${LOOPDEV} ${SDIMG}
|
||||
|
||||
# Create partition table
|
||||
dd if=/dev/zero of=${LOOPDEV} bs=1024 count=1024
|
||||
SIZE=$(/sbin/fdisk -l ${LOOPDEV} | grep Disk | grep bytes | awk '{print $5}')
|
||||
CYLINDERS=$(echo $SIZE/255/63/512 | bc)
|
||||
{
|
||||
echo ,9,0x0C,*
|
||||
echo ,,,-
|
||||
} | /sbin/sfdisk -D -H 255 -S 63 -C ${CYLINDERS} ${LOOPDEV}
|
||||
|
||||
# Prepare loop devices for boot and filesystem partitions
|
||||
BOOT_OFFSET=32256
|
||||
FS_OFFSET_SECT=$(/sbin/fdisk -l -u ${LOOPDEV} 2>&1 | grep Linux | perl -p -i -e "s/\s+/ /"|cut -d " " -f 2)
|
||||
FS_OFFSET=$(echo "$FS_OFFSET_SECT * 512" | bc)
|
||||
FS_SIZE_BLOCKS=$(/sbin/fdisk -l -u ${LOOPDEV} 2>&1 | grep Linux | perl -p -i -e "s/\s+/ /g" \
|
||||
|cut -d " " -f 4 | cut -d "+" -f 1)
|
||||
|
||||
LOOPDEV_BLOCKS=$(/sbin/fdisk -l -u ${LOOPDEV} 2>&1 | grep FAT | perl -p -i -e "s/\s+/ /g"|cut -d " " -f 5)
|
||||
LOOPDEV_BYTES=$(echo "$LOOPDEV_BLOCKS * 1024" | bc)
|
||||
|
||||
${LOSETUP} -d ${LOOPDEV}
|
||||
|
||||
${LOSETUP} ${LOOPDEV_BOOT} ${SDIMG} -o ${BOOT_OFFSET}
|
||||
|
||||
/sbin/mkfs.vfat ${LOOPDEV_BOOT} -n ${BOOTPARTNAME} $LOOPDEV_BLOCKS
|
||||
|
||||
# Prepare filesystem partition
|
||||
# Copy ubi used by flashing scripts
|
||||
if [ -e ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ubi ] ; then
|
||||
echo "Copying UBIFS image to file system"
|
||||
cp ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ubi ${IMAGE_ROOTFS}/boot/fs.ubi
|
||||
fi
|
||||
|
||||
# Prepare boot partion. First mount the boot partition, and copy the boot loader and supporting files
|
||||
# from the root filesystem
|
||||
|
||||
mkdir -p ${WORKDIR}/tmp-mnt-boot
|
||||
mount $LOOPDEV_BOOT ${WORKDIR}/tmp-mnt-boot
|
||||
|
||||
echo "Copying bootloaders into the boot partition"
|
||||
if [ -e ${IMAGE_ROOTFS}/boot/MLO ] ; then
|
||||
cp -v ${IMAGE_ROOTFS}/boot/MLO ${WORKDIR}/tmp-mnt-boot
|
||||
else
|
||||
cp -v ${DEPLOY_DIR_IMAGE}/MLO ${WORKDIR}/tmp-mnt-boot
|
||||
fi
|
||||
|
||||
# Check for u-boot SPL
|
||||
if [ -e ${DEPLOY_DIR_IMAGE}/u-boot-${MACHINE}.img ] ; then
|
||||
suffix=img
|
||||
else
|
||||
suffix=bin
|
||||
fi
|
||||
|
||||
cp -v ${IMAGE_ROOTFS}/boot/uEnv.txt ${WORKDIR}/tmp-mnt-boot || true
|
||||
cp -v ${IMAGE_ROOTFS}/boot/user.txt ${WORKDIR}/tmp-mnt-boot || true
|
||||
cp -v ${IMAGE_ROOTFS}/boot/uImage ${WORKDIR}/tmp-mnt-boot || true
|
||||
|
||||
if [ -e ${IMAGE_ROOTFS}/boot/u-boot.$suffix ] ; then
|
||||
cp -v ${IMAGE_ROOTFS}/boot/{u-boot.$suffix} ${WORKDIR}/tmp-mnt-boot || true
|
||||
else
|
||||
cp -v ${DEPLOY_DIR_IMAGE}/u-boot-${MACHINE}.$suffix ${WORKDIR}/tmp-mnt-boot/u-boot.$suffix
|
||||
fi
|
||||
|
||||
if [ -n ${FATPAYLOAD} ] ; then
|
||||
echo "Copying payload into VFAT"
|
||||
for entry in ${FATPAYLOAD} ; do
|
||||
# add the || true to stop aborting on vfat issues like not supporting .~lock files
|
||||
cp -av ${IMAGE_ROOTFS}$entry ${WORKDIR}/tmp-mnt-boot || true
|
||||
done
|
||||
fi
|
||||
|
||||
echo "${IMAGE_NAME}-${IMAGEDATESTAMP}" > ${IMAGE_ROOTFS}/etc/image-version-info
|
||||
|
||||
# Cleanup VFAT mount
|
||||
echo "Cleaning up VFAT mount"
|
||||
umount ${WORKDIR}/tmp-mnt-boot
|
||||
${LOSETUP} -d ${LOOPDEV_BOOT} || true
|
||||
|
||||
# Prepare rootfs parition
|
||||
echo "Creating rootfs loopback"
|
||||
${LOSETUP} ${LOOPDEV_FS} ${SDIMG} -o ${FS_OFFSET}
|
||||
|
||||
FS_NUM_INODES=$(echo $FS_SIZE_BLOCKS / 4 | bc)
|
||||
|
||||
case "${ROOTFSTYPE}" in
|
||||
ext3)
|
||||
genext2fs -z -N $FS_NUM_INODES -b $FS_SIZE_BLOCKS -d ${IMAGE_ROOTFS} ${LOOPDEV_FS}
|
||||
tune2fs -L ${IMAGE_NAME} -j ${LOOPDEV_FS}
|
||||
;;
|
||||
ext4)
|
||||
genext2fs -z -N $FS_NUM_INODES -b $FS_SIZE_BLOCKS -d ${IMAGE_ROOTFS} ${LOOPDEV_FS}
|
||||
tune2fs -L ${IMAGE_NAME} -j -O extents,uninit_bg,dir_index ${LOOPDEV_FS}
|
||||
;;
|
||||
*)
|
||||
echo "Please set ROOTFSTYPE to something supported"
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
${LOSETUP} -d ${LOOPDEV_FS} || true
|
||||
|
||||
gzip -c ${WORKDIR}/sd.img > ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}-${IMAGEDATESTAMP}.img.gz
|
||||
rm -f ${WORKDIR}/sd.img
|
||||
}
|
||||
@@ -1,101 +0,0 @@
|
||||
require recipes-ti/includes/ti-paths.inc
|
||||
require recipes-ti/includes/ti-staging.inc
|
||||
|
||||
inherit perlnative
|
||||
|
||||
DEPENDS = "ti-xdctools ti-cg-xml-native ti-sysbios common-csl-ip-rtos libxml-simple-perl-native gcc-arm-none-eabi-native ti-cgt6x-native ti-pdk-build-rtos"
|
||||
|
||||
DEPENDS_append_omap-a15 = " ti-ccsv6-native"
|
||||
DEPENDS_remove_ti33x = "ti-cgt6x-native"
|
||||
DEPENDS_remove_ti43x = "ti-cgt6x-native"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
B = "${WORKDIR}/build"
|
||||
|
||||
# HTML hyperlink text
|
||||
PDK_COMP_LINK_TEXT ?= ""
|
||||
|
||||
DOC_FILE = "API_Documentation_${PN}.html"
|
||||
|
||||
create_doc_link () {
|
||||
PDK_COMP_DIR=`get_build_dir_bash`
|
||||
|
||||
echo "<a href=\"${PDK_COMP_DIR}/docs/doxygen/html/index.html\">${PDK_COMP_LINK_TEXT}</a>" >> ${D}${PDK_INSTALL_DIR_RECIPE}/packages/.extras/doc/${DOC_FILE}
|
||||
}
|
||||
|
||||
get_build_dir_bash() {
|
||||
if [ -f ${S}/package.xdc ]
|
||||
then
|
||||
grep '^package' ${S}/package.xdc | sed -e 's|\[.*$||' | awk '{ print $2 }' | sed -e 's|\.|/|g'
|
||||
else
|
||||
echo ${S}
|
||||
return 1
|
||||
fi
|
||||
}
|
||||
|
||||
export CROSS_TOOL_PRFX="arm-none-eabi-"
|
||||
export TOOLCHAIN_PATH_A8 = "${GCC_ARM_NONE_TOOLCHAIN}"
|
||||
export TOOLCHAIN_PATH_A9 = "${GCC_ARM_NONE_TOOLCHAIN}"
|
||||
export TOOLCHAIN_PATH_A15 = "${GCC_ARM_NONE_TOOLCHAIN}"
|
||||
export TOOLCHAIN_PATH_M4 = "${M4_TOOLCHAIN_INSTALL_DIR}"
|
||||
export C6X_GEN_INSTALL_PATH = "${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x"
|
||||
|
||||
export ROOTDIR = "${B}"
|
||||
export BIOS_INSTALL_PATH = "${SYSBIOS_INSTALL_DIR}"
|
||||
export XDC_INSTALL_PATH = "${XDC_INSTALL_DIR}"
|
||||
export PDK_INSTALL_PATH = "${PDK_INSTALL_DIR}/packages"
|
||||
|
||||
export XDCPATH = "${XDC_INSTALL_DIR}/packages;${SYSBIOS_INSTALL_DIR}/packages;${PDK_INSTALL_DIR}/packages"
|
||||
export SECTTI="perl ${CG_XML_INSTALL_DIR}/ofd/sectti.pl"
|
||||
|
||||
XDCMAKE ?= "1"
|
||||
LIMSOCS ?= ""
|
||||
LIMBOARDS ?= ""
|
||||
|
||||
PARALLEL_XDC = "--jobs=${BB_NUMBER_THREADS}"
|
||||
|
||||
do_configure() {
|
||||
BUILD_DIR=${B}/`get_build_dir_bash`
|
||||
|
||||
mkdir -p ${BUILD_DIR}
|
||||
cp -r ${S}/* ${BUILD_DIR}
|
||||
|
||||
if [ "${XDCMAKE}" == "1" ]
|
||||
then
|
||||
cd ${BUILD_DIR}
|
||||
|
||||
sed -i "s/\ \"\.\\\\\\\\\"\ +//" src/Module.xs
|
||||
find -name "*.xs" -exec sed -i "s/ofd6x\.exe/ofd6x/" {} \;
|
||||
find -name "*.xs" -exec sed -i "s/sectti\.exe/sectti/" {} \;
|
||||
find -name "*.xs" -exec sed -i "/\.chm/d" {} \;
|
||||
find -name "*.xs" -exec sed -i "s/pasm\_dos/pasm\_linux/" {} \;
|
||||
fi
|
||||
}
|
||||
|
||||
do_compile() {
|
||||
|
||||
if [ "${XDCMAKE}" == "1" ]
|
||||
then
|
||||
${XDC_INSTALL_DIR}/xdc clean ${PARALLEL_XDC} -PR .
|
||||
${XDC_INSTALL_DIR}/xdc all ${PARALLEL_XDC} XDCARGS="${XDCARGS}" ROOTDIR="${ROOTDIR}" -PR .
|
||||
${XDC_INSTALL_DIR}/xdc release XDCARGS="${XDCARGS}" -PR .
|
||||
else
|
||||
BUILD_DIR=${B}/`get_build_dir_bash`
|
||||
cd ${BUILD_DIR}
|
||||
|
||||
make release LIMIT_SOCS="${LIMSOCS}" LIMIT_BOARDS="${LIMBOARDS}"
|
||||
fi
|
||||
}
|
||||
|
||||
do_install () {
|
||||
install -d ${D}${PDK_INSTALL_DIR_RECIPE}/packages
|
||||
find -name "*.tar" -exec tar xf {} -C ${D}${PDK_INSTALL_DIR_RECIPE}/packages \;
|
||||
|
||||
if [ "${PDK_COMP_LINK_TEXT}" != "" ]
|
||||
then
|
||||
install -d ${D}${PDK_INSTALL_DIR_RECIPE}/packages/.extras/doc
|
||||
create_doc_link
|
||||
fi
|
||||
}
|
||||
|
||||
FILES_${PN} += "${PDK_INSTALL_DIR_RECIPE}/packages"
|
||||
@@ -1,5 +1,5 @@
|
||||
# We have a conf and classes directory, append to BBPATH
|
||||
BBPATH .= ":${LAYERDIR}"
|
||||
BBPATH =. "${LAYERDIR}:"
|
||||
|
||||
# We have a recipes directory, add to BBFILES
|
||||
BBFILES += "${LAYERDIR}/recipes*/*/*.bb ${LAYERDIR}/recipes*/*/*.bbappend"
|
||||
@@ -7,21 +7,3 @@ BBFILES += "${LAYERDIR}/recipes*/*/*.bb ${LAYERDIR}/recipes*/*/*.bbappend"
|
||||
BBFILE_COLLECTIONS += "meta-ti"
|
||||
BBFILE_PATTERN_meta-ti := "^${LAYERDIR}/"
|
||||
BBFILE_PRIORITY_meta-ti = "6"
|
||||
|
||||
LICENSE_PATH += "${LAYERDIR}/licenses"
|
||||
|
||||
SIGGEN_EXCLUDERECIPES_ABISAFE += " \
|
||||
ti-sgx-ddk-km \
|
||||
ti-sgx-ddk-um \
|
||||
ti-ipc \
|
||||
ti-ipc-rtos \
|
||||
cmem-mod \
|
||||
hplib-mod \
|
||||
gdbserverproxy-module-drv \
|
||||
debugss-module-drv \
|
||||
uio-module-drv \
|
||||
mpm-transport \
|
||||
cppi-lld \
|
||||
qmss-lld \
|
||||
multiprocmgr \
|
||||
"
|
||||
|
||||
@@ -5,12 +5,14 @@
|
||||
require conf/machine/include/davinci.inc
|
||||
require conf/machine/include/omapl138.inc
|
||||
|
||||
UBOOT_MACHINE = "da850_am18xxevm_config"
|
||||
UBOOT_SUFFIX = "ais"
|
||||
|
||||
UBOOT_MACHINE = "da850evm_config"
|
||||
UBOOT_ENTRYPOINT = "0xc0008000"
|
||||
UBOOT_LOADADDRESS = "0xc0008000"
|
||||
|
||||
IMAGE_FSTYPES += "tar.gz"
|
||||
IMAGE_FSTYPES += "tar.gz ubi"
|
||||
|
||||
SERIAL_CONSOLE = "115200 ttyS2"
|
||||
|
||||
PREFERRED_PROVIDER_virtual/kernel = "linux-omapl138-psp"
|
||||
PREFERRED_PROVIDER_virtual/bootloader = "u-boot-am180x"
|
||||
PREFERRED_PROVIDER_u-boot = "u-boot-am180x"
|
||||
|
||||
@@ -6,14 +6,12 @@ require conf/machine/include/ti33x.inc
|
||||
|
||||
# Use built-in LCD by default
|
||||
XSERVER += "xf86-input-tslib"
|
||||
MACHINE_GUI_CLASS = "smallscreen"
|
||||
GUI_MACHINE_CLASS = "smallscreen"
|
||||
MACHINE_FEATURES += "touchscreen"
|
||||
|
||||
IMAGE_FSTYPES += "ubifs ubi tar.xz"
|
||||
IMAGE_FSTYPES += "ubi tar.gz"
|
||||
|
||||
SERIAL_CONSOLE = ""
|
||||
SERIAL_CONSOLES = "115200;ttyS0 115200;ttyO0 115200;ttyS3 115200;ttyO3"
|
||||
SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
|
||||
SERIAL_CONSOLE = "115200 ttyO0"
|
||||
|
||||
# UBI information. Note that this is board and kernel specific. Changes
|
||||
# in your kernel port may require changes in these variables. For more
|
||||
@@ -26,7 +24,7 @@ SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
|
||||
# UBI: logical eraseblock size: 126976 bytes
|
||||
# from ubiattach stdout:
|
||||
# UBI device number 0, total 1988 LEBs
|
||||
MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 5700"
|
||||
MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 3836"
|
||||
|
||||
# do ubiattach /dev/ubi_ctrl -m 7 -O 2048
|
||||
# from dmesg:
|
||||
|
||||
@@ -1,14 +0,0 @@
|
||||
#@TYPE: Machine
|
||||
#@NAME: AM335x HS EVM
|
||||
#@DESCRIPTION: Machine configuration for the TI AM435x HS EVM
|
||||
|
||||
require conf/machine/am335x-evm.conf
|
||||
|
||||
UBOOT_MACHINE = "am335x_hs_evm_mmc_config"
|
||||
|
||||
UBOOT_ENTRYPOINT = "0x82000000"
|
||||
UBOOT_LOADADDRESS = "0x82000000"
|
||||
UBOOT_RD_LOADADDRESS = "0x84000000"
|
||||
UBOOT_RD_ENTRYPOINT = "0x84000000"
|
||||
|
||||
TI_SECURE_DEV_PKG = "${TI_SECURE_DEV_PKG_CAT}/am3x"
|
||||
@@ -6,7 +6,7 @@ require conf/machine/include/omap3.inc
|
||||
|
||||
# Use built-in LCD by default
|
||||
XSERVER += "xf86-input-tslib"
|
||||
MACHINE_GUI_CLASS = "smallscreen"
|
||||
GUI_MACHINE_CLASS = "smallscreen"
|
||||
MACHINE_FEATURES += "touchscreen ethernet"
|
||||
|
||||
IMAGE_FSTYPES += "ubi tar.gz"
|
||||
@@ -15,6 +15,11 @@ EXTRA_IMAGECMD_jffs2 = "-lnp -e 0x20000 -s 2048"
|
||||
SERIAL_CONSOLE = "115200 ttyO2"
|
||||
USE_VT = "2"
|
||||
|
||||
PREFERRED_PROVIDER_virtual/kernel = "linux-omap-psp"
|
||||
|
||||
PREFERRED_PROVIDER_virtual/bootloader = "u-boot-am3517"
|
||||
PREFERRED_PROVIDER_u-boot = "u-boot-am3517"
|
||||
|
||||
UBOOT_MACHINE = "am3517_evm_config"
|
||||
XLOAD_MACHINE = "am3517evm_config"
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ require conf/machine/include/omap3.inc
|
||||
|
||||
# Use built-in LCD by default
|
||||
XSERVER += "xf86-input-tslib"
|
||||
MACHINE_GUI_CLASS = "smallscreen"
|
||||
GUI_MACHINE_CLASS = "smallscreen"
|
||||
MACHINE_FEATURES += "touchscreen ethernet"
|
||||
|
||||
IMAGE_FSTYPES += "ubi tar.gz"
|
||||
@@ -14,6 +14,10 @@ EXTRA_IMAGECMD_jffs2 = "-lnp -e 0x20000 -s 2048"
|
||||
|
||||
SERIAL_CONSOLE = "115200 ttyO0"
|
||||
|
||||
PREFERRED_PROVIDER_virtual/kernel = "linux-omap-psp"
|
||||
PREFERRED_PROVIDER_virtual/bootloader = "u-boot-am37x"
|
||||
PREFERRED_PROVIDER_u-boot = "u-boot-am37x"
|
||||
|
||||
# NOTE: there are NAND and OneNAND versions of this board...
|
||||
# do ubiattach /dev/ubi_ctrl -m 4
|
||||
# From dmesg:
|
||||
|
||||
@@ -6,14 +6,12 @@ require conf/machine/include/ti43x.inc
|
||||
|
||||
# Use built-in LCD by default
|
||||
XSERVER += "xf86-input-tslib"
|
||||
MACHINE_GUI_CLASS = "smallscreen"
|
||||
GUI_MACHINE_CLASS = "smallscreen"
|
||||
MACHINE_FEATURES += "touchscreen"
|
||||
|
||||
IMAGE_FSTYPES += "ubifs ubi tar.xz"
|
||||
IMAGE_FSTYPES += "ubi tar.gz"
|
||||
|
||||
SERIAL_CONSOLE = ""
|
||||
SERIAL_CONSOLES = "115200;ttyS0 115200;ttyO0"
|
||||
SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
|
||||
SERIAL_CONSOLE = "115200 ttyO0"
|
||||
|
||||
# UBI information. Note that this is board and kernel specific. Changes
|
||||
# in your kernel port may require changes in these variables. For more
|
||||
@@ -26,7 +24,7 @@ SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
|
||||
# UBI: logical eraseblock size: 253952 bytes
|
||||
# from ubiattach stdout:
|
||||
# UBI device number 0, total 994 LEBs
|
||||
MKUBIFS_ARGS = "-F -m 4096 -e 253952 -c 2700"
|
||||
MKUBIFS_ARGS = "-F -m 4096 -e 253952 -c 994"
|
||||
|
||||
# do ubiattach /dev/ubi_ctrl -m 11 -O 4096
|
||||
# from dmesg:
|
||||
|
||||
@@ -1,14 +0,0 @@
|
||||
#@TYPE: Machine
|
||||
#@NAME: AM437x HS EVM
|
||||
#@DESCRIPTION: Machine configuration for the TI AM437x HS EVM
|
||||
|
||||
require conf/machine/am437x-evm.conf
|
||||
|
||||
UBOOT_MACHINE = "am43xx_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}/am4x"
|
||||
@@ -1,36 +0,0 @@
|
||||
#@TYPE: Machine
|
||||
#@NAME: DRA7xx EVM
|
||||
#@DESCRIPTION: Machine configuration for the TI DRA7xx EVM
|
||||
|
||||
require conf/machine/include/dra7xx.inc
|
||||
|
||||
MACHINE_FEATURES += "touchscreen"
|
||||
|
||||
IMAGE_FSTYPES += "tar.xz"
|
||||
|
||||
SERIAL_CONSOLE = ""
|
||||
SERIAL_CONSOLES = "115200;ttyS2 115200;ttyO2"
|
||||
SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
|
||||
|
||||
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"
|
||||
@@ -1,18 +0,0 @@
|
||||
#@TYPE: Machine
|
||||
#@NAME: AM57xx HS EVM
|
||||
#@DESCRIPTION: Machine configuration for the TI AM57xx HS EVM
|
||||
|
||||
require conf/machine/am57xx-evm.conf
|
||||
|
||||
UBOOT_MACHINE = "am57xx_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_AUTO}/am5x"
|
||||
|
||||
OPTEEMACHINE = "ti"
|
||||
OPTEEFLAVOR = "am57xx"
|
||||
OPTEEOUTPUTMACHINE = "ti"
|
||||
@@ -5,7 +5,11 @@
|
||||
require conf/machine/include/omap3.inc
|
||||
|
||||
# Only has DVI connector for external screen
|
||||
MACHINE_GUI_CLASS = "bigscreen"
|
||||
GUI_MACHINE_CLASS = "bigscreen"
|
||||
|
||||
PREFERRED_PROVIDER_virtual/kernel = "linux-mainline"
|
||||
PREFERRED_PROVIDER_virtual/bootloader = "u-boot-beagleboard"
|
||||
PREFERRED_PROVIDER_u-boot = "u-boot-beagleboard"
|
||||
|
||||
IMAGE_FSTYPES += "tar.gz ubi"
|
||||
EXTRA_IMAGECMD_jffs2 = "-lnp"
|
||||
|
||||
@@ -5,10 +5,10 @@
|
||||
require conf/machine/include/ti33x.inc
|
||||
|
||||
# Only has DVI connector for external screen
|
||||
MACHINE_GUI_CLASS = "bigscreen"
|
||||
GUI_MACHINE_CLASS = "bigscreen"
|
||||
|
||||
IMAGE_FSTYPES += "tar.gz"
|
||||
|
||||
SERIAL_CONSOLE = "115200 ttyO0"
|
||||
|
||||
UBOOT_MACHINE = "am335x_boneblack_config"
|
||||
UBOOT_MACHINE = "am335x_evm_config"
|
||||
|
||||
@@ -2,15 +2,11 @@
|
||||
#@NAME: DRA7xx EVM
|
||||
#@DESCRIPTION: Machine configuration for the TI DRA7xx EVM
|
||||
|
||||
require conf/machine/include/dra7xx.inc
|
||||
require conf/machine/include/omap-a15.inc
|
||||
|
||||
MACHINE_FEATURES += "touchscreen"
|
||||
IMAGE_FSTYPES += "ubi tar.gz"
|
||||
|
||||
IMAGE_FSTYPES += "tar.xz"
|
||||
|
||||
SERIAL_CONSOLE = ""
|
||||
SERIAL_CONSOLES = "115200;ttyS0 115200;ttyO0"
|
||||
SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
|
||||
SERIAL_CONSOLE = "115200 ttyO0"
|
||||
|
||||
UBOOT_MACHINE = "dra7xx_evm_config"
|
||||
|
||||
@@ -25,7 +21,7 @@ UBOOT_MACHINE = "dra7xx_evm_config"
|
||||
# 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"
|
||||
MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 3836"
|
||||
|
||||
# do ubiattach /dev/ubi_ctrl -m 7 -O 2048
|
||||
# from dmesg:
|
||||
@@ -34,3 +30,7 @@ MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 8192"
|
||||
# UBI: sub-page size: 512
|
||||
# UBI: VID header offset: 2048 (aligned 2048)
|
||||
UBINIZE_ARGS = "-m 2048 -p 128KiB -s 512 -O 2048"
|
||||
|
||||
# Currently removing the sgx machine feature because there is no SGX package
|
||||
# available for omap5
|
||||
MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen touchscreen"
|
||||
|
||||
@@ -1,18 +0,0 @@
|
||||
#@TYPE: Machine
|
||||
#@NAME: DRA7xx HS EVM
|
||||
#@DESCRIPTION: Machine configuration for the TI DRA7xx HS EVM
|
||||
|
||||
require conf/machine/dra7xx-evm.conf
|
||||
|
||||
UBOOT_MACHINE = "dra7xx_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_AUTO}/dra7"
|
||||
|
||||
OPTEEMACHINE = "ti"
|
||||
OPTEEFLAVOR = "dra7xx"
|
||||
OPTEEOUTPUTMACHINE = "ti"
|
||||
@@ -1,13 +1,12 @@
|
||||
require conf/machine/include/tune-arm926ejs.inc
|
||||
|
||||
# Increase this everytime you change something in the kernel
|
||||
MACHINE_KERNEL_PR = "r54"
|
||||
MACHINE_KERNEL_PR = "r53"
|
||||
|
||||
KERNEL_IMAGETYPE = "zImage"
|
||||
KERNEL_IMAGETYPE = "uImage"
|
||||
|
||||
PREFERRED_PROVIDER_virtual/kernel = "linux-ti-staging"
|
||||
PREFERRED_PROVIDER_virtual/bootloader = "u-boot-ti-staging"
|
||||
PREFERRED_PROVIDER_u-boot = "u-boot-ti-staging"
|
||||
PREFERRED_PROVIDER_virtual/kernel = "linux-davinci"
|
||||
PREFERRED_PROVIDER_virtual/bootloader = "u-boot"
|
||||
|
||||
UBOOT_MACHINE = "davinci_dvevm_config"
|
||||
|
||||
|
||||
@@ -1,4 +0,0 @@
|
||||
require conf/machine/include/omap-a15.inc
|
||||
SOC_FAMILY_append = ":dra7xx"
|
||||
|
||||
MACHINE_FEATURES += "pci opencl"
|
||||
@@ -1,2 +0,0 @@
|
||||
require conf/machine/include/keystone.inc
|
||||
SOC_FAMILY_append = ":k2e"
|
||||
@@ -1,2 +0,0 @@
|
||||
require conf/machine/include/keystone.inc
|
||||
SOC_FAMILY_append = ":k2g"
|
||||
@@ -1,27 +1,21 @@
|
||||
SOC_FAMILY = "keystone"
|
||||
require conf/machine/include/soc-family.inc
|
||||
|
||||
DEFAULTTUNE ?= "armv7athf-neon"
|
||||
require conf/machine/include/tune-cortexa15.inc
|
||||
|
||||
PREFERRED_PROVIDER_virtual/kernel = "linux-ti-staging"
|
||||
PREFERRED_PROVIDER_virtual/bootloader = "u-boot-ti-staging"
|
||||
PREFERRED_PROVIDER_u-boot = "u-boot-ti-staging"
|
||||
PREFERRED_PROVIDER_virtual/kernel = "linux-keystone"
|
||||
PREFERRED_PROVIDER_virtual/bootloader = "u-boot-keystone"
|
||||
PREFERRED_PROVIDER_u-boot = "u-boot-keystone"
|
||||
|
||||
# Increase this everytime you change something in the kernel
|
||||
MACHINE_KERNEL_PR = "r10"
|
||||
MACHINE_KERNEL_PR = "r7"
|
||||
|
||||
KERNEL_IMAGETYPE = "zImage"
|
||||
KERNEL_IMAGETYPE = "uImage"
|
||||
|
||||
UBOOT_ENTRYPOINT = "0x80008000"
|
||||
UBOOT_LOADADDRESS = "0x80008000"
|
||||
|
||||
# Use the expected value of the ubifs filesystem's volume name in the kernel
|
||||
# and u-boot.
|
||||
UBI_VOLNAME = "rootfs"
|
||||
|
||||
EXTRA_IMAGEDEPENDS += "u-boot"
|
||||
EXTRA_IMAGEDEPENDS += "boot-monitor"
|
||||
|
||||
MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat pci"
|
||||
MACHINE_FEATURES_BACKFILL_CONSIDERED = "rtc"
|
||||
|
||||
@@ -1,11 +1,10 @@
|
||||
SOC_FAMILY = "omap-a15"
|
||||
require conf/machine/include/soc-family.inc
|
||||
|
||||
DEFAULTTUNE ?= "armv7athf-neon"
|
||||
require conf/machine/include/tune-cortexa15.inc
|
||||
|
||||
# Increase this everytime you change something in the kernel
|
||||
MACHINE_KERNEL_PR = "r7"
|
||||
MACHINE_KERNEL_PR = "r3"
|
||||
|
||||
PREFERRED_PROVIDER_virtual/kernel = "linux-ti-staging"
|
||||
PREFERRED_PROVIDER_virtual/bootloader = "u-boot-ti-staging"
|
||||
@@ -24,11 +23,8 @@ XSERVER = "xserver-xorg \
|
||||
xf86-input-evdev \
|
||||
xf86-video-fbdev"
|
||||
|
||||
MACHINE_GUI_CLASS = "smallscreen"
|
||||
GUI_MACHINE_CLASS = "smallscreen"
|
||||
|
||||
# Use the expected value of the ubifs filesystem's volume name in the kernel
|
||||
# and u-boot.
|
||||
UBI_VOLNAME = "rootfs"
|
||||
|
||||
# List common SoC features, may need to add touchscreen for specific machines
|
||||
MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen alsa ethernet sgx mmip"
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
SOC_FAMILY = "omap3"
|
||||
require conf/machine/include/soc-family.inc
|
||||
|
||||
DEFAULTTUNE ?= "armv7athf-neon"
|
||||
require conf/machine/include/tune-cortexa8.inc
|
||||
|
||||
PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg"
|
||||
@@ -14,17 +13,16 @@ XSERVER = "xserver-xorg \
|
||||
xf86-input-keyboard"
|
||||
|
||||
# Default to external video, change to smallscreen for built-in LCD
|
||||
MACHINE_GUI_CLASS = "bigscreen"
|
||||
GUI_MACHINE_CLASS = "bigscreen"
|
||||
|
||||
# Increase this everytime you change something in the kernel
|
||||
MACHINE_KERNEL_PR = "r127"
|
||||
MACHINE_KERNEL_PR = "r125"
|
||||
|
||||
KERNEL_IMAGETYPE = "zImage"
|
||||
KERNEL_IMAGETYPE = "uImage"
|
||||
|
||||
# Default providers, may need to override for specific machines
|
||||
PREFERRED_PROVIDER_virtual/kernel = "linux-ti-staging"
|
||||
PREFERRED_PROVIDER_virtual/bootloader = "u-boot-ti-staging"
|
||||
PREFERRED_PROVIDER_u-boot = "u-boot-ti-staging"
|
||||
PREFERRED_PROVIDER_virtual/kernel = "linux-omap"
|
||||
PREFERRED_PROVIDER_virtual/bootloader = "u-boot"
|
||||
|
||||
UBOOT_ARCH = "arm"
|
||||
UBOOT_MACHINE = "omap3_evm_config"
|
||||
|
||||
@@ -1,12 +1,10 @@
|
||||
SOC_FAMILY = "omap4"
|
||||
require conf/machine/include/soc-family.inc
|
||||
|
||||
DEFAULTTUNE ?= "armv7athf-neon"
|
||||
require conf/machine/include/tune-cortexa9.inc
|
||||
|
||||
PREFERRED_PROVIDER_virtual/kernel = "linux-ti-staging"
|
||||
PREFERRED_PROVIDER_virtual/bootloader = "u-boot-ti-staging"
|
||||
PREFERRED_PROVIDER_u-boot = "u-boot-ti-staging"
|
||||
PREFERRED_PROVIDER_virtual/kernel = "linux-omap4"
|
||||
PREFERRED_PROVIDER_virtual/bootloader = "u-boot"
|
||||
|
||||
PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg"
|
||||
XSERVER = "xserver-xorg \
|
||||
@@ -15,9 +13,9 @@ XSERVER = "xserver-xorg \
|
||||
xf86-video-omap"
|
||||
|
||||
# Increase this everytime you change something in the kernel
|
||||
MACHINE_KERNEL_PR = "r4"
|
||||
MACHINE_KERNEL_PR = "r1"
|
||||
|
||||
KERNEL_IMAGETYPE = "zImage"
|
||||
KERNEL_IMAGETYPE = "uImage"
|
||||
|
||||
UBOOT_MACHINE = "omap4_panda_config"
|
||||
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
SOC_FAMILY = "ti33x"
|
||||
require conf/machine/include/soc-family.inc
|
||||
|
||||
DEFAULTTUNE ?= "armv7athf-neon"
|
||||
require conf/machine/include/tune-cortexa8.inc
|
||||
|
||||
PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg"
|
||||
@@ -14,10 +13,10 @@ XSERVER = "xserver-xorg \
|
||||
xf86-input-keyboard"
|
||||
|
||||
# Default to external video, change to smallscreen for built-in LCD
|
||||
MACHINE_GUI_CLASS = "bigscreen"
|
||||
GUI_MACHINE_CLASS = "bigscreen"
|
||||
|
||||
# Increase this everytime you change something in the kernel
|
||||
MACHINE_KERNEL_PR = "r22"
|
||||
MACHINE_KERNEL_PR = "r21"
|
||||
|
||||
# Default providers, may need to override for specific machines
|
||||
PREFERRED_PROVIDER_virtual/kernel = "linux-ti-staging"
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
SOC_FAMILY = "ti43x"
|
||||
require conf/machine/include/soc-family.inc
|
||||
|
||||
DEFAULTTUNE ?= "armv7athf-neon"
|
||||
require conf/machine/include/tune-cortexa9.inc
|
||||
|
||||
PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg"
|
||||
@@ -14,10 +13,10 @@ XSERVER = "xserver-xorg \
|
||||
xf86-input-keyboard"
|
||||
|
||||
# Default to external video, change to smallscreen for built-in LCD
|
||||
MACHINE_GUI_CLASS = "bigscreen"
|
||||
GUI_MACHINE_CLASS = "bigscreen"
|
||||
|
||||
# Increase this everytime you change something in the kernel
|
||||
MACHINE_KERNEL_PR = "r3"
|
||||
MACHINE_KERNEL_PR = "r2"
|
||||
|
||||
# Default providers, may need to override for specific machines
|
||||
PREFERRED_PROVIDER_virtual/kernel = "linux-ti-staging"
|
||||
|
||||
@@ -2,19 +2,15 @@
|
||||
#@NAME: Keystone 2 K2E machine
|
||||
#@DESCRIPTION: Machine configuration for the TI Keystone 2 K2E EVM
|
||||
|
||||
require conf/machine/include/k2e.inc
|
||||
|
||||
MACHINE_FEATURES += "opencl"
|
||||
require conf/machine/include/keystone.inc
|
||||
|
||||
UBOOT_MACHINE = "k2e_evm_config"
|
||||
|
||||
BOOT_MONITOR_MAKE_TARGET = "k2e"
|
||||
|
||||
IMAGE_FSTYPES += "ubifs ubi tar.xz"
|
||||
IMAGE_FSTYPES += "ubi tar.gz cpio"
|
||||
|
||||
SERIAL_CONSOLE = ""
|
||||
SERIAL_CONSOLES = "115200;ttyS0 115200;ttyO0"
|
||||
SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
|
||||
SERIAL_CONSOLE = "115200 ttyS0"
|
||||
|
||||
SYSVINIT_ENABLED_GETTYS = ""
|
||||
|
||||
|
||||
@@ -1,14 +0,0 @@
|
||||
#@TYPE: Machine
|
||||
#@NAME: Keystone 2 K2E HS EVM
|
||||
#@DESCRIPTION: Machine configuration for the TI Keystone 2 K2E HS EVM
|
||||
|
||||
require conf/machine/k2e-evm.conf
|
||||
|
||||
UBOOT_MACHINE = "k2e_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}/k2e"
|
||||
@@ -1,34 +0,0 @@
|
||||
#@TYPE: Machine
|
||||
#@NAME: Keystone 2 K2G machine
|
||||
#@DESCRIPTION: Machine configuration for the TI Keystone 2 K2G EVM
|
||||
|
||||
require conf/machine/include/k2g.inc
|
||||
|
||||
MACHINE_FEATURES += "alsa opencl"
|
||||
|
||||
UBOOT_MACHINE = "k2g_evm_config"
|
||||
|
||||
BOOT_MONITOR_MAKE_TARGET = "k2g"
|
||||
|
||||
IMAGE_FSTYPES += "ubifs ubi tar.xz"
|
||||
|
||||
SERIAL_CONSOLE = ""
|
||||
SERIAL_CONSOLES = "115200;ttyS0 115200;ttyO0"
|
||||
SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
|
||||
|
||||
SYSVINIT_ENABLED_GETTYS = ""
|
||||
|
||||
# do ubiattach /dev/ubi_ctrl -m 4
|
||||
# From dmesg:
|
||||
# UBI: smallest flash I/O unit: 4096
|
||||
# UBI: logical eraseblock size: 253952 bytes
|
||||
# from ubiattach stdout:
|
||||
# UBI device number 0, total 1926 LEBs
|
||||
MKUBIFS_ARGS = "-F -m 4096 -e 253952 -c 1926"
|
||||
|
||||
# do ubiattach /dev/ubi_ctrl -m 4
|
||||
# from dmesg:
|
||||
# UBI: smallest flash I/O unit: 4096
|
||||
# UBI: physical eraseblock size: 256 KiB
|
||||
# UBI: sub-page size: 4096
|
||||
UBINIZE_ARGS = "-m 4096 -p 256KiB -s 4096 -O 4096"
|
||||
@@ -1,7 +0,0 @@
|
||||
#@TYPE: Machine
|
||||
#@NAME: Keystone 2 K2G ICE machine
|
||||
#@DESCRIPTION: Machine configuration for the TI Keystone 2 K2G ICE
|
||||
|
||||
require conf/machine/k2g-evm.conf
|
||||
|
||||
UBOOT_MACHINE = "k2g_ice_config"
|
||||
@@ -4,17 +4,13 @@
|
||||
|
||||
require conf/machine/include/keystone.inc
|
||||
|
||||
MACHINE_FEATURES += "opencl"
|
||||
|
||||
UBOOT_MACHINE = "k2hk_evm_config"
|
||||
|
||||
BOOT_MONITOR_MAKE_TARGET = "k2hk"
|
||||
|
||||
IMAGE_FSTYPES += "ubifs ubi tar.xz"
|
||||
IMAGE_FSTYPES += "ubi tar.gz cpio"
|
||||
|
||||
SERIAL_CONSOLE = ""
|
||||
SERIAL_CONSOLES = "115200;ttyS0 115200;ttyO0"
|
||||
SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
|
||||
SERIAL_CONSOLE = "115200 ttyS0"
|
||||
|
||||
SYSVINIT_ENABLED_GETTYS = ""
|
||||
|
||||
@@ -24,7 +20,7 @@ SYSVINIT_ENABLED_GETTYS = ""
|
||||
# UBI: logical eraseblock size: 126976 bytes
|
||||
# from ubiattach stdout:
|
||||
# UBI device number 0, total 3856 LEBs
|
||||
MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 3900"
|
||||
MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 3856"
|
||||
|
||||
# do ubiattach /dev/ubi_ctrl -m 4
|
||||
# from dmesg:
|
||||
|
||||
@@ -4,17 +4,13 @@
|
||||
|
||||
require conf/machine/include/keystone.inc
|
||||
|
||||
MACHINE_FEATURES += "opencl"
|
||||
|
||||
UBOOT_MACHINE = "k2l_evm_config"
|
||||
|
||||
BOOT_MONITOR_MAKE_TARGET = "k2l"
|
||||
|
||||
IMAGE_FSTYPES += "ubifs ubi tar.xz"
|
||||
IMAGE_FSTYPES += "ubi tar.gz cpio"
|
||||
|
||||
SERIAL_CONSOLE = ""
|
||||
SERIAL_CONSOLES = "115200;ttyS0 115200;ttyO0"
|
||||
SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
|
||||
SERIAL_CONSOLE = "115200 ttyS0"
|
||||
|
||||
SYSVINIT_ENABLED_GETTYS = ""
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ require conf/machine/include/omap3.inc
|
||||
|
||||
# Use built-in LCD by default
|
||||
XSERVER += "xf86-input-tslib"
|
||||
MACHINE_GUI_CLASS = "smallscreen"
|
||||
GUI_MACHINE_CLASS = "smallscreen"
|
||||
MACHINE_FEATURES += "touchscreen ethernet"
|
||||
|
||||
IMAGE_FSTYPES += "jffs2 tar.gz"
|
||||
@@ -15,6 +15,8 @@ EXTRA_IMAGECMD_jffs2 = "-lnp -e 0x20000 -s 2048"
|
||||
SERIAL_CONSOLE = "115200 ttyS0"
|
||||
USE_VT = "0"
|
||||
|
||||
PREFERRED_PROVIDER_virtual/kernel = "linux-omap-psp"
|
||||
|
||||
EXTRA_IMAGEDEPENDS += "x-load"
|
||||
|
||||
# NOTE: there are NAND and OneNAND versions of this board...
|
||||
|
||||
@@ -19,7 +19,7 @@ SERIAL_CONSOLE = "115200 ttyO2"
|
||||
# UBI: logical eraseblock size: 126976 bytes
|
||||
# from ubiattach stdout:
|
||||
# UBI device number 0, total 1988 LEBs
|
||||
MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 4300"
|
||||
MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 3836"
|
||||
|
||||
# do ubiattach /dev/ubi_ctrl -m 7 -O 2048
|
||||
# from dmesg:
|
||||
@@ -30,3 +30,7 @@ MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 4300"
|
||||
UBINIZE_ARGS = "-m 2048 -p 128KiB -s 512 -O 2048"
|
||||
|
||||
UBOOT_MACHINE = "omap5_uevm_config"
|
||||
|
||||
# Currently removing the sgx machine feature because there is no SGX package
|
||||
# available for omap5
|
||||
MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen touchscreen"
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
require conf/machine/include/omap4.inc
|
||||
|
||||
MACHINE_GUI_CLASS = "bigscreen"
|
||||
GUI_MACHINE_CLASS = "bigscreen"
|
||||
|
||||
IMAGE_FSTYPES += "tar.gz"
|
||||
|
||||
|
||||
@@ -1,62 +0,0 @@
|
||||
TEXAS INSTRUMENTS TEXT FILE LICENSE
|
||||
|
||||
Copyright (c) [earliest year] - [latest year] Texas Instruments Incorporated
|
||||
|
||||
All rights reserved not granted herein.
|
||||
|
||||
Limited License.
|
||||
|
||||
Texas Instruments Incorporated grants a world-wide, royalty-free,
|
||||
non-exclusive license under copyrights and patents it now or hereafter owns
|
||||
or controls to make, have made, use, import, offer to sell and sell
|
||||
("Utilize") this software subject to the terms herein. With respect to the
|
||||
foregoing patent license, such license is granted solely to the extent that
|
||||
any such patent is necessary to Utilize the software alone. The patent
|
||||
license shall not apply to any combinations which include this software,
|
||||
other than combinations with devices manufactured by or for TI ("TI
|
||||
Devices"). No hardware patent is licensed hereunder.
|
||||
|
||||
Redistributions must preserve existing copyright notices and reproduce this
|
||||
license (including the above copyright notice and the disclaimer and (if
|
||||
applicable) source code license limitations below) in the documentation
|
||||
and/or other materials provided with the distribution
|
||||
|
||||
Redistribution and use in binary form, without modification, are permitted
|
||||
provided that the following conditions are met:
|
||||
|
||||
* No reverse engineering, decompilation, or disassembly of this software is
|
||||
permitted with respect to any software provided in binary form.
|
||||
|
||||
* any redistribution and use are licensed by TI for use only with TI
|
||||
Devices.
|
||||
|
||||
* Nothing shall obligate TI to provide you with source code for the software
|
||||
licensed and provided to you in object code.
|
||||
|
||||
If software source code is provided to you, modification and redistribution
|
||||
of the source code are permitted provided that the following conditions are
|
||||
met:
|
||||
|
||||
* any redistribution and use of the source code, including any resulting
|
||||
derivative works, are licensed by TI for use only with TI Devices.
|
||||
|
||||
* any redistribution and use of any object code compiled from the source
|
||||
code and any resulting derivative works, are licensed by TI for use only
|
||||
with TI Devices.
|
||||
|
||||
Neither the name of Texas Instruments Incorporated nor the names of its
|
||||
suppliers may be used to endorse or promote products derived from this
|
||||
software without specific prior written permission.
|
||||
|
||||
DISCLAIMER.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY TI AND TI'S LICENSORS "AS IS" AND ANY EXPRESS
|
||||
OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
||||
OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
|
||||
NO EVENT SHALL TI AND TI'S LICENSORS BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
|
||||
OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
||||
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
||||
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
|
||||
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
206
licenses/TI-TSPA
206
licenses/TI-TSPA
@@ -1,206 +0,0 @@
|
||||
Texas Instruments Incorporated
|
||||
Technology and Software Publicly Available
|
||||
Software License Agreement
|
||||
|
||||
|
||||
Important - Please read the following license agreement carefully. This is
|
||||
a legally binding agreement. Do not click "i have read and agree" or use
|
||||
(as applicable) the Licensed Materials unless: (1) you are authorized to
|
||||
accept and agree to the terms of this license agreement on behalf of
|
||||
yourself or your company (as applicable) and (2) you intend to be bound by
|
||||
the terms of this license agreement on behalf of yourself or your company
|
||||
(as applicable).
|
||||
|
||||
This Software License Agreement ("Agreement") is a legal agreement between
|
||||
you (either an individual or entity) and Texas Instruments Incorporated
|
||||
("TI"), 12500 TI Boulevard, Dallas, Texas 75243. The "Licensed Materials"
|
||||
subject to this Agreement include the software programs (in whole or in
|
||||
part), that accompany this Agreement and set forth in the applicable
|
||||
software manifest and which you access "on-line" and/or electronic
|
||||
documentation (in whole or in part) associated and provided with these
|
||||
software programs. By installing, copying or otherwise using the Licensed
|
||||
Materials you agree to abide by the terms of this Agreement. If you choose
|
||||
not to accept or agree with these terms, do not download or install the
|
||||
Licensed Materials.
|
||||
|
||||
Note Regarding Possible Access to Open Source Software: The Licensed
|
||||
Materials may be bundled with Open Source Software. "Open Source Software"
|
||||
means any software licensed under terms requiring that (A) other software
|
||||
("Proprietary Software") incorporated, combined or distributed with such
|
||||
software or developed using such software: (i) be disclosed or distributed
|
||||
in source code form; or (ii) otherwise be licensed on terms inconsistent
|
||||
with the terms of this Agreement, including but not limited to permitting
|
||||
use of the Proprietary Software on or with devices other than TI Devices, or
|
||||
(B) require the owner of Proprietary Software to license any of its patents
|
||||
to users of the Open Source Software and/or Proprietary Software
|
||||
incorporated, combined or distributed with such Open Source Software or
|
||||
developed using such Open Source Software.
|
||||
|
||||
You may gain access to Open Source Software, in which case such Open Source
|
||||
Software will be listed in the applicable software manifest (in whole or in
|
||||
part, the "Open Source Materials"). Your use of the Open Source Materials
|
||||
is subject to the separate licensing terms applicable to such Open Source
|
||||
Materials as specified in the applicable software manifest. For
|
||||
clarification, this Agreement does not limit your rights under, or grant you
|
||||
rights that supersede, the license terms of any applicable Open Source
|
||||
Materials license agreement. If any of the Open Source Materials have been
|
||||
provided to you in object code only, TI will provide to you or show you
|
||||
where can access the source code versions of such Open Source Materials if
|
||||
you contact TI at Texas Instruments Incorporated, 12500 TI Boulevard, Mail
|
||||
Station 8638, Dallas, Texas 75243, Attention: Contracts Manager. You may
|
||||
terminate this Agreement in the event you choose not to accept or agree with
|
||||
the terms in any applicable Open Source Materials license agreement,
|
||||
provided that such termination occurs within five (5) calendar days of
|
||||
acceptance of this Agreement and you abide by all applicable license terms
|
||||
in this Agreement until such termination.
|
||||
|
||||
1. License.
|
||||
|
||||
a. Source Code License. For the Licensed Materials provided in source code
|
||||
format, TI hereby grants to you a limited, non-exclusive license to
|
||||
reproduce, use, and create modified or derivative works of the Licensed
|
||||
Materials provided to you in source code format and to distribute an
|
||||
unlimited number of copies of such source code Licensed Materials, or any
|
||||
derivatives thereof, in any format.
|
||||
|
||||
b. Object Code License. For the Licensed Materials provided in object code
|
||||
format, TI hereby grants to you a limited, non-exclusive license to
|
||||
reproduce and use the Licensed Materials provided to you in object code
|
||||
format and to distribute an unlimited number of object or executable copies
|
||||
of such object code Licensed Materials.
|
||||
|
||||
2. Termination. This Agreement is effective until terminated. Without
|
||||
prejudice to any other rights, TI may terminate your right to use the
|
||||
Licensed Materials under this Agreement if you fail to comply with the terms
|
||||
of this Agreement. In such event, you shall destroy all copies of the
|
||||
Licensed Materials, including all portions and derivatives thereof.
|
||||
|
||||
3. Intellectual Property Rights.
|
||||
|
||||
a. The Licensed Materials being provided to you hereunder are being made
|
||||
publicly available by TI, even though they contain copyrighted material of
|
||||
TI and its licensors, if applicable. In no event may you alter, remove or
|
||||
destroy any copyright notice included in the Licensed Materials. To the
|
||||
extent that any of the Licensed Materials are provided in binary or object
|
||||
code only, you may not unlock, decompile, reverse engineer, disassemble or
|
||||
otherwise translate such binary or object code to human-perceivable form.
|
||||
The source code of such reverse engineered code may contain TI trade secret
|
||||
and other proprietary information. TI reserves all rights not specifically
|
||||
granted under this Agreement.
|
||||
|
||||
b. Certain Licensed Materials may (i) require patent licenses from third
|
||||
parties claiming patent rights covering implementation of the Licensed
|
||||
Materials or (ii) be based on industry recognized standards or software
|
||||
programs published by industry recognized standards bodies and certain third
|
||||
parties may claim to own patents or copyrights that cover implementation of
|
||||
those standards. You acknowledge and agree that this Agreement does not
|
||||
convey a license to any such third party patents and copyrights.
|
||||
|
||||
c. YOU ACKNOWLEDGE AND AGREE THAT TI SHALL NOT BE LIABLE FOR AND SHALL NOT
|
||||
DEFEND OR INDEMNIFY YOU AGAINST ANY THIRD PARTY INFRINGEMENT CLAIM THAT
|
||||
RELATES TO OR IS BASED ON YOUR MANUFACTURE, USE, OR DISTRIBUTION OF THE
|
||||
LICENSED MATERIALS OR YOUR MANUFACTURE, USE, OFFER FOR SALE, SALE,
|
||||
IMPORTATION OR DISTRIBUTION OF YOUR PRODUCTS THAT INCLUDE OR INCORPORATE THE
|
||||
LICENSED MATERIALS.
|
||||
|
||||
d. You acknowledge and agree that you are responsible for any fees or
|
||||
royalties that may be payable to any third party based on such third party's
|
||||
interests in the Licensed Materials described in Section 3(b) above (the
|
||||
"Third Party Payment Obligations"). You agree to indemnify TI against any
|
||||
Third Party Payment Obligations and will defend any claim, suit or
|
||||
proceeding brought against TI insofar as such claim, suit or proceeding is
|
||||
based on your failure to pay any Third Party Payment Obligations.
|
||||
|
||||
4. Warranties and Limitations. THE LICENSED MATERIALS ARE PROVIDED "AS IS".
|
||||
TI AND ITS LICENSORS MAKE NO WARRANTY OR REPRESENTATION, EXPRESS, IMPLIED OR
|
||||
STATUTORY, INCLUDING ANY IMPLIED WARRANTIES OF MERCHANTIBILITY, FITNESS FOR
|
||||
A PARTICULAR PURPOSE, LACK OF VIRUSES, ACCURACY OR COMPLETENESS OF
|
||||
RESPONSES, RESULTS AND LACK OF NEGLIGENCE. TI DISCLAIMS ANY WARRANTY OF
|
||||
TITLE, QUIET ENJOYMENT, QUIET POSESSION, AND NON-INFRINGEMENT OF ANY THIRD
|
||||
PARTY INTELLECTUAL PROPERTY RIGHTS WITH REGARD TO THE LICENSED MATERIALS OR
|
||||
USE OF THOSE MATERIALS.
|
||||
|
||||
YOU ACKNOWLEDGE AND AGREE THAT THE LICENSED MATERIALS MAY NOT BE INTENDED
|
||||
FOR PRODUCTION APPLICATIONS AND MAY CONTAIN IRREGULARITIES AND DEFECTS NOT
|
||||
FOUND IN PRODUCTION SOFTWARE. FURTHERMORE, YOU ACKNOWLEDGE AND AGREE THAT
|
||||
THE LICENSED MATERIALS HAVE NOT BEEN TESTED OR CERTIFIED BY ANY GOVERNMENT
|
||||
AGENCY OR INDUSTRY REGULATORY ORGANIZATION OR ANY OTHER THIRD PARTY
|
||||
ORGANIZATION. YOU AGREE THAT PRIOR TO USING, INCORPORATING OR DISTRIBUTING
|
||||
THE LICENSED MATERIALS IN OR WITH ANY COMMERCIAL PRODUCT THAT YOU WILL
|
||||
THOROUGHLY TEST THE PRODUCT AND THE FUNCTIONALITY OF THE LICENSED MATERIALS
|
||||
IN OR WITH THAT PRODUCT AND BE SOLELY RESPONSIBLE FOR ANY PROBLEMS OR
|
||||
FAILURES.
|
||||
|
||||
IN NO EVENT SHALL TI OR ITS LICENSORS BE LIABLE FOR ANY SPECIAL, INDIRECT,
|
||||
INCIDENTAL, PUNITIVE OR CONSEQUENTIAL DAMAGES, HOWEVER CAUSED ON ANY THEORY
|
||||
OF LIABILITY, ARISING IN ANY WAY OUT OF THIS AGREEMENT, OR YOUR USE OF THE
|
||||
LICENSED MATERIALS, WHETHER OR NOT TI HAS BEEN ADVISED OF THE POSSIBILITY OF
|
||||
SUCH DAMAGES. EXCLUDED DAMAGES INCLUDE, BUT ARE NOT LIMITED TO, COST OF
|
||||
REMOVAL OR REINSTALLATION, OUTSIDE COMPUTER TIME, LABOR COSTS, LOSS OR
|
||||
CORRUPTION OF DATA, LOSS OF GOODWILL, LOSS OF PROFITS, LOSS OF SAVINGS, OR
|
||||
LOSS OF USE OR INTERRUPTION OF BUSINESS OR ANY OTHER ECONOMIC LOSS. IN NO
|
||||
EVENT WILL TI'S AGGREGATE LIABILITY UNDER THIS AGREEMENT OR ARISING OUT OF
|
||||
YOUR USE OF THE LICENSED MATERIALS EXCEED FIVE HUNDRED U.S. DOLLARS
|
||||
(US$500).
|
||||
|
||||
Because some jurisdictions do not allow the exclusion or limitation of
|
||||
incidental or consequential damages or limitation on how long an implied
|
||||
warranty lasts, the above limitations or exclusions may not apply to you.
|
||||
|
||||
5. Export Control. The Licensed Materials may be subject to the export or
|
||||
import regulations of certain countries. You agree to comply with all such
|
||||
regulations and acknowledge that you have the responsibility to obtain any
|
||||
licenses or other authorizations that may be required to export, re-export
|
||||
or import the Licensed Materials.
|
||||
|
||||
6. Governing Law, Jurisdiction and Severability. This Agreement will be
|
||||
governed by and interpreted in accordance with the laws of the State of
|
||||
Texas, without reference to conflict of laws principles. If for any reason
|
||||
a court of competent jurisdiction finds any provision of the Agreement to be
|
||||
unenforceable, that provision will be enforced to the maximum extent
|
||||
possible to effectuate the intent of the parties and the remainder of the
|
||||
Agreement shall continue in full force and effect. This Agreement shall not
|
||||
be governed by the United Nations Convention on Contracts for the
|
||||
International Sale of Goods, or by the Uniform Computer Information
|
||||
Transactions Act (UCITA). The parties agree that non-exclusive jurisdiction
|
||||
for any dispute arising out of or relating to this Agreement lies within the
|
||||
courts located in the State of Texas. Notwithstanding the foregoing, any
|
||||
judgment may be enforced in any United States or foreign court, and either
|
||||
party may seek injunctive relief in any United States or foreign court.
|
||||
Failure by TI to enforce any provision of this Agreement shall not be deemed
|
||||
a waiver of future enforcement of that or any other provision in this
|
||||
Agreement or any other agreement that may be in place between the parties.
|
||||
|
||||
7. PRC Provisions. If you are located in the People's Republic of China
|
||||
("PRC") or if the Licensed Materials will be sent to the PRC, the following
|
||||
provisions shall apply:
|
||||
|
||||
a. Registration Requirements. You shall be solely responsible for
|
||||
performing all acts and obtaining all approvals that may be required in
|
||||
connection with this Agreement by the government of the PRC, including but
|
||||
not limited to registering pursuant to, and otherwise complying with, the
|
||||
PRC Measures on the Administration of Software Products, Management
|
||||
Regulations on Technology Import-Export, and Technology Import and Export
|
||||
Contract Registration Management Rules. Upon receipt of such approvals from
|
||||
the government authorities, you shall forward evidence of all such approvals
|
||||
to TI for its records. In the event that you fail to obtain any such
|
||||
approval or registration, you shall be solely responsible for any and all
|
||||
losses, damages or costs resulting therefrom, and shall indemnify TI for all
|
||||
such losses, damages or costs.
|
||||
|
||||
b. Governing Language. This Agreement is written and executed in the
|
||||
English language. If a translation of this Agreement is required for any
|
||||
purpose, including but not limited to registration of the Agreement pursuant
|
||||
to any governmental laws, regulations or rules, you shall be solely
|
||||
responsible for creating such translation. Any translation of this
|
||||
Agreement into a language other than English is intended solely in order to
|
||||
comply with such laws or for reference purposes, and the English language
|
||||
version shall be authoritative and controlling.
|
||||
|
||||
8. Entire Agreement. This is the entire agreement between you and TI and
|
||||
supersedes any prior agreement between the parties related to the subject
|
||||
matter of this Agreement. No amendment or modification of this Agreement
|
||||
will be effective unless in writing and signed by a duly authorized
|
||||
representative of TI. You hereby warrant and represent that you have
|
||||
obtained all authorizations and other applicable consents required
|
||||
empowering you to enter into this Agreement.
|
||||
@@ -1,18 +0,0 @@
|
||||
DESCRIPTION = "TI Antenna Interface peripheral module low level driver test binaries"
|
||||
|
||||
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 () {
|
||||
oe_runmake clean DEVICE=k2hk
|
||||
oe_runmake tests DEVICE=k2hk
|
||||
}
|
||||
|
||||
do_install () {
|
||||
oe_runmake installbin DEVICE=k2hk AIF2_SRC_DIR=${WORKDIR}/git INSTALL_BIN_BASE_DIR=${D}/${bindir}
|
||||
}
|
||||
@@ -1,22 +0,0 @@
|
||||
LICENSE = "BSD-3-Clause"
|
||||
|
||||
LIC_FILES_CHKSUM = "file://COPYING.txt;md5=5bdceac872dffdec915b819654ee23ea"
|
||||
|
||||
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.01
|
||||
AIF2_LLD_SRCREV = "a701bbb5ed2976d5723c955c87a685f7517cffa3"
|
||||
|
||||
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.1"
|
||||
INC_PR = "r0"
|
||||
|
||||
COMPATIBLE_MACHINE = "k2hk-evm"
|
||||
|
||||
S = "${WORKDIR}/${AIF2_LLD_GIT_DESTSUFFIX}"
|
||||
@@ -1,17 +0,0 @@
|
||||
DESCRIPTION = "Antenna Interface low level driver"
|
||||
|
||||
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 () {
|
||||
oe_runmake lib DEVICE=k2hk
|
||||
}
|
||||
|
||||
do_install () {
|
||||
oe_runmake install INSTALL_INC_BASE_DIR=${D}/${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir}
|
||||
}
|
||||
@@ -1,47 +1,39 @@
|
||||
DESCRIPTION = "Boot Monitor - TI ARM Boot monitor code"
|
||||
EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX}"
|
||||
|
||||
LICENSE = "BSD"
|
||||
|
||||
BOOT_MONITOR_BINARY ?= "skern.bin"
|
||||
BOOT_MONITOR_IMAGE ?= "skern-${MACHINE}.bin"
|
||||
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=25fe219a6febf6e5bb45beda1b2eb315"
|
||||
|
||||
COMPATIBLE_MACHINE = "keystone"
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
DEPENDS = "u-boot-mkimage-native"
|
||||
SRC_URI = "git://git.ti.com/keystone-linux/boot-monitor.git;protocol=git;branch=${BRANCH}"
|
||||
|
||||
SRC_URI = "git://git.ti.com/processor-firmware/ks2-boot-monitor.git;protocol=git;branch=${BRANCH}"
|
||||
|
||||
PV = "4.0+git${SRCPV}"
|
||||
PV = "2.0"
|
||||
PR = "r1+gitr${SRCPV}"
|
||||
|
||||
BRANCH = "master"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
SRCREV = "cf8b431e8b3b2ee4a4aa08964d56d3ce1b11da24"
|
||||
|
||||
BOOT_MONITOR_IMAGE ?= "skern-${BOOT_MONITOR_MAKE_TARGET}.bin"
|
||||
|
||||
FLOATABI = "${@bb.utils.contains("TUNE_FEATURES", "vfp", bb.utils.contains("TUNE_FEATURES", "callconvention-hard", " -mfloat-abi=hard", " -mfloat-abi=softfp", d), "" ,d)}"
|
||||
|
||||
EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX} CC="${TARGET_PREFIX}gcc ${TOOLCHAIN_OPTIONS} ${FLOATABI}" LD="${TARGET_PREFIX}gcc ${TOOLCHAIN_OPTIONS} ${FLOATABI}""
|
||||
|
||||
FILES_${PN} = "/boot"
|
||||
|
||||
inherit deploy
|
||||
#Tag "K2_BM_14.05"
|
||||
SRCREV = "0e3ffe1ea4a0cee38ae2406901b7cf4d5324b5e9"
|
||||
|
||||
do_compile () {
|
||||
unset LDFLAGS
|
||||
unset CFLAGS
|
||||
unset CPPFLAGS
|
||||
oe_runmake image_${BOOT_MONITOR_MAKE_TARGET}
|
||||
oe_runmake ${BOOT_MONITOR_MAKE_TARGET}
|
||||
}
|
||||
|
||||
do_install () {
|
||||
install -d ${D}/boot
|
||||
install -m 0644 ${S}/${BOOT_MONITOR_IMAGE} ${D}/boot/
|
||||
}
|
||||
inherit deploy
|
||||
|
||||
addtask deploy before do_build after do_compile
|
||||
|
||||
do_deploy () {
|
||||
install -d ${DEPLOYDIR}
|
||||
install -m 0644 ${S}/${BOOT_MONITOR_IMAGE} ${DEPLOYDIR}/
|
||||
install ${S}/${BOOT_MONITOR_BINARY} ${DEPLOYDIR}/${BOOT_MONITOR_IMAGE}
|
||||
}
|
||||
|
||||
addtask deploy before do_build after do_compile
|
||||
|
||||
@@ -1,28 +0,0 @@
|
||||
DESCRIPTION = "Cortex-M3 binary blob for suspend-resume"
|
||||
|
||||
LICENSE = "TI-TSPA"
|
||||
LIC_FILES_CHKSUM = "file://License.txt;md5=7bdc54a749ab7a7dea999d25d99a41b8"
|
||||
|
||||
PV = "1.9.2"
|
||||
PR = "r0"
|
||||
|
||||
SRCREV = "7eb9c0856a9e8b3b42bf64f761da135852b8eea7"
|
||||
BRANCH ?= "ti-v4.1.y"
|
||||
|
||||
SRC_URI = "git://git.ti.com/processor-firmware/ti-amx3-cm3-pm-firmware.git;protocol=git;branch=${BRANCH}"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
FLOATABI = "${@bb.utils.contains("TUNE_FEATURES", "vfp", bb.utils.contains("TUNE_FEATURES", "callconvention-hard", " -mfloat-abi=hard", " -mfloat-abi=softfp", d), "" ,d)}"
|
||||
|
||||
do_compile() {
|
||||
make CROSS_COMPILE="${TARGET_PREFIX}" CC="${TARGET_PREFIX}gcc ${TOOLCHAIN_OPTIONS} ${FLOATABI}"
|
||||
}
|
||||
|
||||
do_install() {
|
||||
install -d ${D}${base_libdir}/firmware
|
||||
install -m 0644 bin/am335x-pm-firmware.elf ${D}${base_libdir}/firmware/
|
||||
install -m 0644 bin/*-scale-data.bin ${D}${base_libdir}/firmware/
|
||||
}
|
||||
|
||||
FILES_${PN} += "${base_libdir}/firmware"
|
||||
@@ -3,12 +3,10 @@ DESCRIPTION = "Kernel module for contiguous memory allocation from userspace"
|
||||
include cmem.inc
|
||||
|
||||
# This package builds a kernel module, use kernel PR as base and append a local
|
||||
MACHINE_KERNEL_PR_append = "b"
|
||||
MACHINE_KERNEL_PR_append = "a+gitr${SRCPV}"
|
||||
PR = "${MACHINE_KERNEL_PR}"
|
||||
|
||||
inherit module
|
||||
|
||||
EXTRA_OEMAKE += '-f lu.mak KERNEL_INSTALL_DIR="${STAGING_KERNEL_DIR}" TOOLCHAIN_PREFIX="${TOOLCHAIN_PREFIX}" EXEC_DIR="${D}/lib/modules/${KERNEL_VERSION}/extra"'
|
||||
MAKE_TARGETS = "module"
|
||||
|
||||
KERNEL_MODULE_AUTOLOAD += "cmemk"
|
||||
|
||||
@@ -1,13 +1,11 @@
|
||||
HOMEPAGE = "http://processors.wiki.ti.com/index.php/Category:CMEM"
|
||||
|
||||
LICENSE = "GPLv2"
|
||||
LIC_FILES_CHKSUM = "file://include/ti/cmem.h;beginline=1;endline=30;md5=9b745e2765a6ba8a636c91aed4b02ac1"
|
||||
LIC_FILES_CHKSUM = "file://include/ti/cmem.h;beginline=1;endline=30;md5=b86138d4028fb8310b3b983024edc620"
|
||||
|
||||
BRANCH = "lu-next"
|
||||
# This corresponds to version 4.13.00.01_eng
|
||||
SRCREV = "1389059f01eabc1e853a384f0e5f51c4f3e4f197"
|
||||
|
||||
PV = "4.13.00.01+git${SRCPV}"
|
||||
BRANCH ?= "master"
|
||||
# This corresponds to version 4.00.01.08
|
||||
SRCREV = "0b68dfe9f155a1978cdb2178e052dc0d6f1e705b"
|
||||
|
||||
SRC_URI = "git://git.ti.com/ipc/ludev.git;protocol=git;branch=${BRANCH}"
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ include cmem.inc
|
||||
|
||||
RDEPENDS_${PN} = "cmem-mod"
|
||||
|
||||
PR = "r1"
|
||||
PR = "r0+gitr${SRCPV}"
|
||||
|
||||
PACKAGES =+ "${PN}-test"
|
||||
|
||||
|
||||
@@ -1,22 +0,0 @@
|
||||
require common-csl-ip.inc
|
||||
PR = "${INC_PR}.4"
|
||||
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
inherit ti-pdk
|
||||
|
||||
DEPENDS_remove = "${PN}"
|
||||
|
||||
# Build with make instead of XDC
|
||||
XDCMAKE = "0"
|
||||
|
||||
LIMSOCS_ti33x = "am335x"
|
||||
LIMSOCS_ti43x = "am437x"
|
||||
LIMSOCS_omap-a15 = "am571x am572x"
|
||||
LIMSOCS_k2hk-evm = "k2h k2k"
|
||||
LIMSOCS_k2l-evm = "k2l"
|
||||
LIMSOCS_k2e = "k2e"
|
||||
LIMSOCS_k2g = "k2g"
|
||||
|
||||
export PDK_CSL_ROOT_PATH ="${WORKDIR}/build"
|
||||
export DEST_ROOT="${S}"
|
||||
@@ -1,22 +0,0 @@
|
||||
DESCRIPTION = "Chip support library low level interface"
|
||||
LICENSE = "BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = "file://COPYING.txt;md5=5857833e20836213677fac33f9aded21"
|
||||
|
||||
COMPATIBLE_MACHINE = "keystone|dra7xx"
|
||||
|
||||
PV = "03.03.00.05A"
|
||||
INC_PR = "r0"
|
||||
|
||||
CSL_GIT_URI = "git://git.ti.com/keystone-rtos/common-csl-ip.git"
|
||||
CSL_GIT_PROTOCOL ="git"
|
||||
CSL_GIT_BRANCH = "master"
|
||||
CSL_GIT_DESTSUFFIX = "git"
|
||||
|
||||
# Below commit ID corresponds to "DEV.CSL_PROCESSOR-SDK.03.03.00.05A"
|
||||
CSL_SRCREV = "811646f507d985dac04544c60c965cadf5e26a4f"
|
||||
|
||||
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}"
|
||||
@@ -1,17 +0,0 @@
|
||||
require common-csl-ip.inc
|
||||
|
||||
PR = "${INC_PR}.0"
|
||||
|
||||
ALLOW_EMPTY_${PN} = "1"
|
||||
|
||||
CLEANBROKEN = "1"
|
||||
|
||||
do_compile() {
|
||||
:
|
||||
}
|
||||
|
||||
do_install () {
|
||||
install -d ${D}${includedir}/ti/csl
|
||||
find . -name "*.h" -type f | xargs -I {} cp --parents {} ${D}${includedir}/ti/csl
|
||||
find ./src/ip/serdes_sb/V0 -name "*.c" -type f | xargs -I {} cp --parents {} ${D}${includedir}/ti/csl
|
||||
}
|
||||
@@ -1,13 +0,0 @@
|
||||
inherit ti-pdk
|
||||
require cppi-lld.inc
|
||||
|
||||
PR = "${INC_PR}.0"
|
||||
|
||||
DEPENDS_append = " rm-lld-rtos \
|
||||
qmss-lld-rtos \
|
||||
"
|
||||
|
||||
XDCARGS_k2hk-evm = "k2h k2k"
|
||||
XDCARGS_k2e = "k2e"
|
||||
XDCARGS_k2l-evm = "k2l"
|
||||
XDCARGS_k2g = "k2g"
|
||||
@@ -1,27 +0,0 @@
|
||||
DESCRIPTION = "TI CPPI low level driver unit test and example binaries"
|
||||
DEPENDS = "common-csl-ip rm-lld cppi-lld qmss-lld"
|
||||
|
||||
include cppi-lld.inc
|
||||
|
||||
PR = "${INC_PR}.0"
|
||||
|
||||
CHOICELIST = "yes no"
|
||||
|
||||
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" CPPI_SRC_DIR=${S}
|
||||
for choice in ${CHOICELIST}
|
||||
do
|
||||
make -f makefile_armv7 tests examples PDK_INSTALL_PATH=${STAGING_INCDIR} DEVICE="$device" CPPI_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" CPPI_SRC_DIR=${S} INSTALL_BIN_BASE_DIR=${D}${bindir}
|
||||
done
|
||||
}
|
||||
@@ -1,27 +0,0 @@
|
||||
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"
|
||||
CPPI_LLD_GIT_DESTSUFFIX = "git/ti/drv/cppi"
|
||||
|
||||
# Below Commit ID corresponds to "DEV.CPPI_LLD.02.01.00.12A"
|
||||
CPPI_LLD_SRCREV = "6a1d2891b3de9891dea71a069a261c6368209413"
|
||||
|
||||
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.12"
|
||||
INC_PR = "r1"
|
||||
|
||||
DEVICELIST = "k2h k2k k2l k2e"
|
||||
DEVICELIST_k2hk-evm = "k2h k2k"
|
||||
DEVICELIST_k2l-evm = "k2l"
|
||||
DEVICELIST_k2e = "k2e"
|
||||
|
||||
S = "${WORKDIR}/${CPPI_LLD_GIT_DESTSUFFIX}"
|
||||
@@ -1,31 +0,0 @@
|
||||
DESCRIPTION = "TI CPPI Module low level driver"
|
||||
|
||||
DEPENDS = "common-csl-ip rm-lld qmss-lld"
|
||||
|
||||
include cppi-lld.inc
|
||||
|
||||
PR = "${INC_PR}.1"
|
||||
|
||||
do_compile () {
|
||||
# Now build the lld in the updated directory
|
||||
make -f makefile_armv7 clean PDK_INSTALL_PATH=${STAGING_INCDIR}
|
||||
for device in ${DEVICELIST}
|
||||
do
|
||||
make -f makefile_armv7 lib PDK_INSTALL_PATH=${STAGING_INCDIR} DEVICE="${device}"
|
||||
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 to default k2h
|
||||
cd ${D}${libdir}
|
||||
|
||||
# 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
|
||||
}
|
||||
@@ -1,25 +0,0 @@
|
||||
DESCRIPTION = "TI Unified Instrumentation Architecture in C (cUIA)"
|
||||
LICENSE = "BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = "file://cuia_${CUIA_PV}_manifest.html;md5=0eea94e3bb94de4ddee77653eba1c7c5"
|
||||
|
||||
CUIA_PV = "1_00_00_13"
|
||||
CUIA_PVExtra = ""
|
||||
|
||||
SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_ccstudio/UIA/SCMCSDK/cuia_${CUIA_PV}${CUIA_PVExtra}.tar.gz;name=cuia"
|
||||
SRC_URI[cuia.md5sum] = "ef53989ac70c191841cd656cdc8770be"
|
||||
SRC_URI[cuia.sha256sum] = "f16d138a9146fdc7d52cba77bd30596da65835f6ffe4092baf2b33d1c1a4fb0d"
|
||||
|
||||
S = "${WORKDIR}/cuia_${CUIA_PV}${CUIA_PVExtra}"
|
||||
|
||||
CLEANBROKEN = "1"
|
||||
|
||||
do_compile () {
|
||||
cd ${S}
|
||||
oe_runmake clean
|
||||
oe_runmake all
|
||||
}
|
||||
|
||||
do_install() {
|
||||
cd ${S}
|
||||
oe_runmake DESTDIR=${D} libdir=${libdir} includedir=${includedir} install
|
||||
}
|
||||
@@ -1,20 +0,0 @@
|
||||
DESCRIPTION = "TI Digital Radio Front End lld test application"
|
||||
|
||||
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 () {
|
||||
# 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}
|
||||
}
|
||||
@@ -1,22 +0,0 @@
|
||||
LICENSE = "BSD-3-Clause"
|
||||
|
||||
LIC_FILES_CHKSUM = "file://COPYING.txt;md5=1f4217b705bf98762a302fd720649dcc"
|
||||
|
||||
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"
|
||||
|
||||
# Below commit ID corresponds to "DEV.DFE_LLD.01.00.00.08"
|
||||
DFE_LLD_SRCREV = "d51482ef18889bbbd8e9cdc207c6fe9e27b1ab03"
|
||||
|
||||
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.8"
|
||||
INC_PR = "r0"
|
||||
|
||||
COMPATIBLE_MACHINE = "k2l-evm"
|
||||
|
||||
S = "${WORKDIR}/${DFE_LLD_GIT_DESTSUFFIX}"
|
||||
@@ -1,17 +0,0 @@
|
||||
DESCRIPTION = "Digital Radio Front End low level driver"
|
||||
|
||||
DEPENDS = "common-csl-ip"
|
||||
|
||||
include dfe-lld.inc
|
||||
|
||||
PR = "${INC_PR}.0"
|
||||
|
||||
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}
|
||||
}
|
||||
@@ -1,62 +0,0 @@
|
||||
DESCRIPTION = "Firmware for DSP for an example application called copycodectest"
|
||||
LICENSE = "TI-TSPA"
|
||||
LIC_FILES_CHKSUM = "file://src/ti/framework/dce/dce.c;startline=1;endline=31;md5=2c6e9aba6ed75f22b1a2b7544b1c809d"
|
||||
|
||||
COMPATIBLE_MACHINE = "dra7xx"
|
||||
|
||||
SRC_URI = "git://git.ti.com/glsdk/dspdce.git;protocol=git"
|
||||
|
||||
SRCREV = "de6e599f067b25c46cc0c8f74a22cc3b8aafbae8"
|
||||
|
||||
PV = "1.00.00.07"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
require recipes-ti/includes/ti-paths.inc
|
||||
require recipes-ti/includes/ti-staging.inc
|
||||
|
||||
PR = "r4"
|
||||
inherit update-alternatives
|
||||
|
||||
DEPENDS = "ti-xdctools ti-sysbios ti-codec-engine ti-framework-components ti-xdais ti-ipc-rtos ti-osal ti-cgt6x-native"
|
||||
|
||||
export HWVERSION = "ES10"
|
||||
export BIOSTOOLSROOT = "${STAGING_DIR_TARGET}/usr/share/ti"
|
||||
|
||||
export XDCVERSION = "ti-xdctools-tree"
|
||||
export BIOSVERSION = "ti-sysbios-tree"
|
||||
export IPCVERSION = "ti-ipc-tree"
|
||||
export CEVERSION = "ti-codec-engine-tree"
|
||||
export FCVERSION = "ti-framework-components-tree"
|
||||
export XDAISVERSION = "ti-xdais-tree"
|
||||
export OSALVERSION = "ti-osal-tree"
|
||||
|
||||
export IPCSRC = "${STAGING_DIR_TARGET}/usr/share/ti/ti-ipc-tree"
|
||||
export C66XCGTOOLSPATH = "${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x"
|
||||
|
||||
do_configure() {
|
||||
cd ${S}
|
||||
make unconfig
|
||||
make vayu_config
|
||||
}
|
||||
|
||||
do_compile() {
|
||||
cd ${S}
|
||||
make dspbin
|
||||
}
|
||||
|
||||
TARGET = "dra7-dsp1-fw.xe66"
|
||||
|
||||
do_install() {
|
||||
install -d ${D}${base_libdir}/firmware
|
||||
install -m 0644 ${S}/dra7xx-c66x-dsp.xe66 ${D}${base_libdir}/firmware/${TARGET}.${BPN}
|
||||
}
|
||||
|
||||
ALTERNATIVE_${PN} = "dra7-dsp1-fw.xe66"
|
||||
ALTERNATIVE_LINK_NAME[dra7-dsp1-fw.xe66] = "${base_libdir}/firmware/${TARGET}"
|
||||
ALTERNATIVE_TARGET[dra7-dsp1-fw.xe66] = "${base_libdir}/firmware/${TARGET}.${BPN}"
|
||||
ALTERNATIVE_PRIORITY = "10"
|
||||
|
||||
INSANE_SKIP_${PN} = "arch"
|
||||
|
||||
FILES_${PN} += "${base_libdir}/firmware/*"
|
||||
@@ -1,24 +0,0 @@
|
||||
DESCRIPTION = "Debug Sub-System (DebugSS) driver for Keystone and DRA7xx devices"
|
||||
LICENSE = "GPLv2"
|
||||
LIC_FILES_CHKSUM = "file://COPYING.txt;md5=9d4316fe434ba450dca4da25348ca5a3"
|
||||
|
||||
# This package builds a kernel module, use kernel PR as base and append a local
|
||||
MACHINE_KERNEL_PR_append = "d"
|
||||
PR = "${MACHINE_KERNEL_PR}"
|
||||
PV_append = "+git${SRCPV}"
|
||||
|
||||
S = "${WORKDIR}/git/debugss_module/debugss-mod"
|
||||
|
||||
inherit module
|
||||
|
||||
PLATFORM = ""
|
||||
PLATFORM_dra7xx = "DRA7xx_PLATFORM"
|
||||
PLATFORM_keystone = "KEYSTONE_PLATFORM"
|
||||
PLATFORM_k2e = "K2E_PLATFORM"
|
||||
|
||||
EXTRA_OEMAKE = "'PLATFORM=${PLATFORM}' KVERSION=${KERNEL_VERSION} KERNEL_SRC=${STAGING_KERNEL_DIR}"
|
||||
|
||||
COMPATIBLE_MACHINE = "dra7xx|keystone"
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
include dsptop.inc
|
||||
@@ -1,8 +0,0 @@
|
||||
# This corresponds to version 1.4.0
|
||||
SRCREV = "0aedcabdbbcbfc7558f70fc50afc95583302a087"
|
||||
PV = "1.4.0"
|
||||
INC_PR = "r0"
|
||||
|
||||
SRC_URI = "git://git.ti.com/sdo-emu/dsptop.git;protocol=git;branch=${BRANCH}"
|
||||
|
||||
BRANCH = "master"
|
||||
@@ -1,29 +0,0 @@
|
||||
DESCRIPTION = "TI dsptop utility."
|
||||
LICENSE = "BSD"
|
||||
LIC_FILES_CHKSUM = "file://debian/copyright;md5=309825aa8f5edfcf2c44912ac094b979"
|
||||
|
||||
DEPENDS = "libulm ncurses"
|
||||
|
||||
PR = "${INC_PR}.2"
|
||||
|
||||
S = "${WORKDIR}/git/dsptop"
|
||||
|
||||
DEVICE = ""
|
||||
DEVICE_dra7xx = "DRA7xx"
|
||||
DEVICE_keystone = "C66AK2Hxx"
|
||||
|
||||
EXTRA_OEMAKE = "release DEVICE=${DEVICE} CROSS_COMPILE=${TARGET_PREFIX} CC="${CC}""
|
||||
|
||||
do_install() {
|
||||
oe_runmake install DESTDIR=${D}
|
||||
}
|
||||
|
||||
COMPATIBLE_MACHINE = "dra7xx|keystone"
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
RDEPENDS_${PN} = "debugss-module-drv"
|
||||
RDEPENDS_${PN}_append_keystone = " temperature-module-drv"
|
||||
|
||||
include dsptop.inc
|
||||
|
||||
PARALLEL_MAKE = ""
|
||||
@@ -1,42 +0,0 @@
|
||||
DESCRIPTION = "TI dsptop utility."
|
||||
LICENSE = "BSD"
|
||||
LIC_FILES_CHKSUM = "file://../debian/copyright;md5=309825aa8f5edfcf2c44912ac094b979"
|
||||
|
||||
DEPENDS = "ti-cgt6x-native"
|
||||
PR = "${INC_PR}.0"
|
||||
|
||||
S = "${WORKDIR}/git/dsptop/ulm"
|
||||
|
||||
DEVICE=""
|
||||
DEVICE_dra7xx = "DRA7xx"
|
||||
DEVICE_keystone = "C66AK2Hxx"
|
||||
|
||||
EXTRA_OEMAKE = "release DEVICE=${DEVICE} CROSS_COMPILE=${TARGET_PREFIX}"
|
||||
|
||||
do_compile() {
|
||||
oe_runmake arm XPORT_ONLY CC="${CC}"
|
||||
oe_runmake dsp C6X_C_DIR=${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x/include
|
||||
}
|
||||
|
||||
do_install() {
|
||||
install -d ${D}${includedir}
|
||||
install -d ${D}${libdir}
|
||||
install -d ${D}${datadir}/ti/ulm
|
||||
cp -f tiulm.h ${D}${includedir}
|
||||
cp -f release/libtiulm.a ${D}${libdir}
|
||||
cp -f tiulm.h ${D}${datadir}/ti/ulm
|
||||
cp -f release/libtiulm.ae66 ${D}${datadir}/ti/ulm
|
||||
}
|
||||
|
||||
COMPATIBLE_MACHINE = "dra7xx|keystone"
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
FILES_${PN}-dev += "\
|
||||
${datadir}/ti/ulm \
|
||||
"
|
||||
|
||||
include dsptop.inc
|
||||
|
||||
ALLOW_EMPTY_${PN} = "1"
|
||||
|
||||
PARALLEL_MAKE= ""
|
||||
@@ -1,18 +0,0 @@
|
||||
DESCRIPTION = "Smart Reflex Sub-System (SRSS) module driver for Keystone devices"
|
||||
LICENSE = "GPLv2"
|
||||
LIC_FILES_CHKSUM = "file://COPYING.txt;md5=9d4316fe434ba450dca4da25348ca5a3"
|
||||
|
||||
# This package builds a kernel module, use kernel PR as base and append a local
|
||||
MACHINE_KERNEL_PR_append = "a"
|
||||
PR = "${MACHINE_KERNEL_PR}"
|
||||
PV_append = "+git${SRCPV}"
|
||||
|
||||
S = "${WORKDIR}/git/temperature_module/temperature-mod"
|
||||
|
||||
inherit module
|
||||
|
||||
EXTRA_OEMAKE = "KVERSION=${KERNEL_VERSION} KERNEL_SRC=${STAGING_KERNEL_DIR}"
|
||||
|
||||
COMPATIBLE_MACHINE = "keystone"
|
||||
|
||||
include dsptop.inc
|
||||
@@ -1,116 +0,0 @@
|
||||
require edma3-lld.inc
|
||||
require recipes-ti/includes/ti-paths.inc
|
||||
require recipes-ti/includes/ti-staging.inc
|
||||
|
||||
PR = "${INC_PR}.0"
|
||||
|
||||
DEPENDS = "ti-sysbios ti-xdctools gcc-arm-none-eabi-native ti-ccsv6-native ti-cgt6x-native"
|
||||
|
||||
COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|keystone"
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
PLATFORMLIST = ""
|
||||
TARGETLIST = ""
|
||||
|
||||
PLATFORMLIST_ti33x = " \
|
||||
am335x-evm \
|
||||
"
|
||||
|
||||
TARGETLIST_ti33x = " \
|
||||
a8 \
|
||||
"
|
||||
|
||||
PLATFORMLIST_ti43x = " \
|
||||
am437x-evm \
|
||||
"
|
||||
|
||||
TARGETLIST_ti43x = " \
|
||||
arm9 \
|
||||
"
|
||||
|
||||
PLATFORMLIST_omap-a15 = " \
|
||||
tda2xx-evm \
|
||||
"
|
||||
|
||||
TARGETLIST_omap-a15 = " \
|
||||
66 \
|
||||
a15 \
|
||||
m4 \
|
||||
"
|
||||
|
||||
PLATFORMLIST_keystone = " \
|
||||
tci6636k2h-evm \
|
||||
tci6638k2k-evm \
|
||||
tci6630k2l-evm \
|
||||
c66ak2e-evm \
|
||||
tci66ak2g02-evm \
|
||||
"
|
||||
|
||||
TARGETLIST_keystone = " \
|
||||
66 \
|
||||
a15 \
|
||||
"
|
||||
|
||||
FORMAT="ELF"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
PARALLEL_MAKE = ""
|
||||
|
||||
export C6X_GEN_INSTALL_PATH = "${STAGING_DIR_NATIVE}/usr"
|
||||
export XDCCGROOT = "${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x"
|
||||
export CGTOOLS = "${XDCCGROOT}"
|
||||
export CGTOOLS_ELF = "${XDCCGROOT}"
|
||||
export CODEGEN_PATH_DSP = "${XDCCGROOT}"
|
||||
export CODEGEN_PATH_DSPELF = "${XDCCGROOT}"
|
||||
export TMS470_CGTOOLS = "${M4_TOOLCHAIN_INSTALL_DIR}"
|
||||
export UTILS_INSTALL_DIR = "${XDC_INSTALL_DIR}"
|
||||
export XDCPATH = "${XDCCGROOT}/include;${XDC_INSTALL_DIR}/packages;${SYSBIOS_INSTALL_DIR}/packages"
|
||||
export PATH := "${XDC_INSTALL_DIR}:${PATH}"
|
||||
export ROOTDIR="${S}"
|
||||
export INTERNAL_SW_ROOT="${S}"
|
||||
export CROSSCC="${TARGET_PREFIX}gcc"
|
||||
export CROSSAR="${TARGET_PREFIX}ar"
|
||||
export CROSSLNK="${TARGET_PREFIX}gcc"
|
||||
|
||||
do_configure () {
|
||||
sed -i -e "s|_config.bld|config.bld|g" ${S}/makerules/env.mk
|
||||
sed -i -e "s|^edma3_lld_PATH =.*$|edma3_lld_PATH = ${S}|g" ${S}/makerules/env.mk
|
||||
sed -i -e "s|^CODEGEN_PATH_M3 =.*$|CODEGEN_PATH_M3 = ${M4_TOOLCHAIN_INSTALL_DIR}|g" ${S}/makerules/env.mk
|
||||
sed -i -e "s|^CODEGEN_PATH_M4 =.*$|CODEGEN_PATH_M4 = ${M4_TOOLCHAIN_INSTALL_DIR}|g" ${S}/makerules/env.mk
|
||||
sed -i -e "s|^CODEGEN_PATH_A8 =.*$|CODEGEN_PATH_A8 = ${M4_TOOLCHAIN_INSTALL_DIR}|g" ${S}/makerules/env.mk
|
||||
sed -i -e "s|^CODEGEN_PATH_A8_GCC =.*$|CODEGEN_PATH_A8_GCC = ${GCC_ARM_NONE_TOOLCHAIN}|g" ${S}/makerules/env.mk
|
||||
sed -i -e "s|^CODEGEN_PATH_ARM9 =.*$|CODEGEN_PATH_ARM9 = ${M4_TOOLCHAIN_INSTALL_DIR}|g" ${S}/makerules/env.mk
|
||||
sed -i -e "s|^CODEGEN_PATH_A9_GCC =.*$|CODEGEN_PATH_A9_GCC = ${GCC_ARM_NONE_TOOLCHAIN}|g" ${S}/makerules/env.mk
|
||||
sed -i -e "s|^CODEGEN_PATH_A15 =.*$|CODEGEN_PATH_A15 = ${GCC_ARM_NONE_TOOLCHAIN}|g" ${S}/makerules/env.mk
|
||||
sed -i -e "s|^CODEGEN_PATH_A15_GCC =.*$|CODEGEN_PATH_A15_GCC = ${GCC_ARM_NONE_TOOLCHAIN}|g" ${S}/makerules/env.mk
|
||||
sed -i -e "s|^UTILS_INSTALL_DIR =.*$|UTILS_INSTALL_DIR = ${XDC_INSTALL_DIR}|g" ${S}/makerules/env.mk
|
||||
sed -i -e "s|^bios_PATH =.*$|bios_PATH = ${SYSBIOS_INSTALL_DIR}|g" ${S}/makerules/env.mk
|
||||
sed -i -e "s|^xdc_PATH =.*$|xdc_PATH = ${XDC_INSTALL_DIR}|g" ${S}/makerules/env.mk
|
||||
sed -i -e "s|^CODEGEN_PATH_DSP =.*$|CODEGEN_PATH_DSP = ${XDCCGROOT}|g" ${S}/makerules/env.mk
|
||||
sed -i -e "s|^CODEGEN_PATH_DSPELF =.*$|CODEGEN_PATH_DSPELF = ${XDCCGROOT}|g" ${S}/makerules/env.mk
|
||||
|
||||
cd ${S}/packages
|
||||
${XDC_INSTALL_DIR}/xdc .interfaces -PR .
|
||||
}
|
||||
|
||||
do_compile () {
|
||||
cd ${S}/packages
|
||||
for p in ${PLATFORMLIST}
|
||||
do
|
||||
for t in ${TARGETLIST}
|
||||
do
|
||||
make PLATFORM=${p} TARGET=${t} FORMAT=${FORMAT}
|
||||
done
|
||||
done
|
||||
}
|
||||
|
||||
do_install () {
|
||||
install -d ${D}${EDMA3_LLD_INSTALL_DIR_RECIPE}
|
||||
cp -pPrf ${S}/* ${D}${EDMA3_LLD_INSTALL_DIR_RECIPE}
|
||||
}
|
||||
|
||||
INSANE_SKIP_${PN}-dev = "arch ldflags"
|
||||
|
||||
ALLOW_EMPTY_${PN} = "1"
|
||||
FILES_${PN}-dev += "${EDMA3_LLD_INSTALL_DIR_RECIPE}"
|
||||
@@ -1,17 +0,0 @@
|
||||
DESCRIPTION = "TI EDMA3 low level driver and test code"
|
||||
LICENSE = "BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = "file://COPYING.txt;md5=5bdceac872dffdec915b819654ee23ea"
|
||||
|
||||
EDMA3_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/edma3_lld.git"
|
||||
EDMA3_LLD_GIT_PROTOCOL = "git"
|
||||
EDMA3_LLD_GIT_BRANCH = "master"
|
||||
|
||||
# Below commit ID corresponds to tag "DEV_EDMA3_LLD_02_12_02_26"
|
||||
EDMA3_LLD_SRCREV = "1c67565620f5a5305cf3293bba669c6aa1a7e40a"
|
||||
|
||||
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.02.26"
|
||||
INC_PR = "r0"
|
||||
@@ -1,73 +0,0 @@
|
||||
require edma3-lld.inc
|
||||
|
||||
PR = "${INC_PR}.0"
|
||||
|
||||
COMPATIBLE_MACHINE = "keystone"
|
||||
|
||||
DEPENDS = "common-csl-ip"
|
||||
|
||||
PLATFORMLIST = "tci6636k2h-evm \
|
||||
tci6636k2h-evm \
|
||||
tci6638k2k-evm \
|
||||
tci6630k2l-evm \
|
||||
c66ak2e-evm \
|
||||
tci66ak2g02-evm \
|
||||
"
|
||||
|
||||
PACKAGES =+ "${PN}-test"
|
||||
|
||||
FILES_${PN}-test = "${bindir}/*"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
do_compile () {
|
||||
cd ${S}/packages
|
||||
for platform in ${PLATFORMLIST}
|
||||
do
|
||||
ROOTDIR=${S} CROSSCC="${TARGET_PREFIX}gcc" CROSSAR="${TARGET_PREFIX}ar" \
|
||||
CROSSLNK="${TARGET_PREFIX}gcc" INTERNAL_SW_ROOT="${S}" make \
|
||||
PLATFORM="$platform" TARGET=a15 TOOLCHAIN_a15=GCC FORMAT=ELF \
|
||||
SONAME=libedma3.so all
|
||||
done
|
||||
}
|
||||
|
||||
do_install () {
|
||||
install -d ${D}/${libdir}
|
||||
|
||||
# Static Libraries
|
||||
cp ${S}/packages/ti/sdo/edma3/drv/lib/a15/release/edma3_lld_drv.aa15fg \
|
||||
${D}/${libdir}/libedma3.a
|
||||
cp ${S}/packages/ti/sdo/edma3/rm/lib/tci6636k2h-evm/a15/release/edma3_lld_rm.aa15fg \
|
||||
${D}/${libdir}/libedma3rm.a
|
||||
|
||||
# Shared Libraries
|
||||
cp -a ${S}/packages/ti/sdo/edma3/drv/lib/a15/release/libedma* ${D}/${libdir}
|
||||
cp -a ${S}/packages/ti/sdo/edma3/rm/lib/tci6636k2h-evm/a15/release/libedma* ${D}/${libdir}
|
||||
|
||||
# Copy Headers
|
||||
install -d ${D}/${includedir}/ti/sdo/edma3/drv/
|
||||
install -d ${D}/${includedir}/ti/sdo/edma3/rm
|
||||
cp ${S}/packages/ti/sdo/edma3/drv/*.h ${D}/${includedir}/ti/sdo/edma3/drv/
|
||||
cp ${S}/packages/ti/sdo/edma3/rm/*.h ${D}/${includedir}/ti/sdo/edma3/rm/
|
||||
|
||||
# Copy Sample Config
|
||||
install -d ${D}/${includedir}/ti/sdo/edma3/drv/sample/src/platforms
|
||||
cp ${S}/examples/edma3_user_space_driver/evmTCI6636K2H/evmTCI6636K2HSample.c \
|
||||
${D}/${includedir}/ti/sdo/edma3/drv/sample/src/platforms
|
||||
cp ${S}/examples/edma3_user_space_driver/evmTCI6638K2K/evmTCI6638K2KSample.c \
|
||||
${D}/${includedir}/ti/sdo/edma3/drv/sample/src/platforms
|
||||
cp ${S}/examples/edma3_user_space_driver/evmTCI6630K2L/evmTCI6630K2LSample.c \
|
||||
${D}/${includedir}/ti/sdo/edma3/drv/sample/src/platforms
|
||||
cp ${S}/examples/edma3_user_space_driver/evmC66AK2E/evmC66AK2ESample.c \
|
||||
${D}/${includedir}/ti/sdo/edma3/drv/sample/src/platforms
|
||||
|
||||
install -d ${D}/${bindir}
|
||||
install -c -m 755 ${S}/examples/edma3_user_space_driver/evmTCI6636K2H/bin/tci6636k2h-evm/edma3_drv_6636k2h_a15_sample_a15host_release.xa15fg \
|
||||
${D}/${bindir}/edma3_drv_6636k2h_a15_sample_a15host_release.xa15fg
|
||||
install -c -m 755 ${S}/examples/edma3_user_space_driver/evmTCI6638K2K/bin/tci6638k2k-evm/edma3_drv_6638k2k_a15_sample_a15host_release.xa15fg \
|
||||
${D}/${bindir}/edma3_drv_6638k2k_a15_sample_a15host_release.xa15fg
|
||||
install -c -m 755 ${S}/examples/edma3_user_space_driver/evmTCI6630K2L/bin/tci6630k2l-evm/edma3_drv_6630k2l_a15_sample_a15host_release.xa15fg \
|
||||
${D}/${bindir}/edma3_drv_6630k2l_a15_sample_a15host_release.xa15fg
|
||||
install -c -m 755 ${S}/examples/edma3_user_space_driver/evmC66AK2E/bin/c66ak2e-evm/edma3_drv_c66ak2e_a15_sample_a15host_release.xa15fg \
|
||||
${D}/${bindir}/edma3_drv_c66ak2e_a15_sample_a15host_release.xa15fg
|
||||
}
|
||||
@@ -1 +1,2 @@
|
||||
PRINC := "${@int(PRINC) + 1}"
|
||||
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
|
||||
|
||||
@@ -1,24 +0,0 @@
|
||||
DESCRIPTION = "Kernel drivers for the Vivante GC320 chipset found in TI SoCs"
|
||||
HOMEPAGE = "https://git.ti.com/graphics/ti-gc320-driver"
|
||||
LICENSE = "MIT | GPLv2"
|
||||
LIC_FILES_CHKSUM = "file://../LICENSE;md5=78d9818a51b9a8e9bb89dea418bac297"
|
||||
|
||||
inherit module
|
||||
|
||||
MACHINE_KERNEL_PR_append = "c"
|
||||
PR = "${MACHINE_KERNEL_PR}"
|
||||
|
||||
# Need to branch out with ${PV} var
|
||||
BRANCH = "ti-${PV}-k4.4"
|
||||
|
||||
SRCREV = "d188246f28ad52410bc303c26a873e2cc0f82090"
|
||||
|
||||
SRC_URI = "git://git.ti.com/graphics/ti-gc320-driver.git;protocol=git;branch=${BRANCH}"
|
||||
S = "${WORKDIR}/git/src"
|
||||
|
||||
EXTRA_OEMAKE += "-f Kbuild AQROOT=${S} KERNEL_DIR=${STAGING_KERNEL_DIR} TOOLCHAIN_PATH=${TOOLCHAIN_PATH} CROSS_COMPILE=${TARGET_PREFIX} ARCH_TYPE=${TARGET_ARCH}"
|
||||
|
||||
do_install() {
|
||||
install -d ${D}/${base_libdir}/modules/${KERNEL_VERSION}/extra
|
||||
install -m 644 ${S}/galcore.ko ${D}/${base_libdir}/modules/${KERNEL_VERSION}/extra
|
||||
}
|
||||
@@ -1,29 +0,0 @@
|
||||
DESCRIPTION = "Goodix GT9271 config firmware"
|
||||
|
||||
LICENSE = "BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = "file://LICENCE.Spectrum-GT9271;md5=2a6de6be7af1fe46370c684daf27c852"
|
||||
|
||||
PV = "1.0.0.0"
|
||||
PR = "r0"
|
||||
|
||||
CLEANBROKEN = "1"
|
||||
|
||||
COMPATIBLE_MACHINE = "dra7xx"
|
||||
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
SRCREV = "f1a8d1d0131f83bd1a775cde7075eb67c070892c"
|
||||
BRANCH ?= "ti-linux-firmware-4.1.y"
|
||||
|
||||
SRC_URI = "git://git.ti.com/processor-firmware/ti-linux-firmware.git;protocol=git;branch=${BRANCH}"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
ORIGIN = "DRA71x-RevA-GT9271_SpecDig_Config.bin"
|
||||
TARGET = "goodix_9271_cfg.bin"
|
||||
|
||||
do_install() {
|
||||
install -d ${D}${base_libdir}/firmware
|
||||
install -m 0644 ${S}/ti-evm/${ORIGIN} ${D}${base_libdir}/firmware/${TARGET}
|
||||
}
|
||||
|
||||
FILES_${PN} = "${base_libdir}/firmware"
|
||||
@@ -1,22 +0,0 @@
|
||||
DESCRIPTION = "TI High Performance Library kernel module"
|
||||
LICENSE = "GPLv2"
|
||||
LIC_FILES_CHKSUM = "file://${WORKDIR}/git/ti/runtime/hplib/module/COPYING.txt;md5=c1c4d3453cddc5b7f0ce84a277e66779"
|
||||
|
||||
DEPENDS = "hplib"
|
||||
|
||||
include hplib.inc
|
||||
|
||||
# This package builds a kernel module, use kernel PR as base and append a local
|
||||
MACHINE_KERNEL_PR_append = "b"
|
||||
PR = "${MACHINE_KERNEL_PR}"
|
||||
|
||||
S ="${WORKDIR}/git/ti/runtime/hplib/module"
|
||||
EXTRA_OEMAKE = "KDIR=${STAGING_KERNEL_DIR} PDK_INSTALL_PATH=${STAGING_INCDIR}"
|
||||
|
||||
inherit module
|
||||
|
||||
do_install () {
|
||||
oe_runmake install INSTALL_MOD_PATH="${D}"
|
||||
}
|
||||
|
||||
KERNEL_MODULE_AUTOLOAD += "hplibmod"
|
||||
@@ -1,32 +0,0 @@
|
||||
DESCRIPTION = "TI High performance library test binaries"
|
||||
LICENSE = "BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = "file://${WORKDIR}/git/ti/runtime/hplib/src/COPYING.txt;md5=b7982a377c680ad71ca2fbb735982462"
|
||||
|
||||
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"
|
||||
|
||||
EXTRA_OEMAKE += '-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR}'
|
||||
|
||||
do_compile () {
|
||||
for device in ${DEVICELIST}
|
||||
do
|
||||
for choice in ${CHOICELIST}
|
||||
do
|
||||
oe_runmake tests HPLIB_SRC_DIR=${S} USEDYNAMIC_LIB=$choice DEVICE="$device"
|
||||
done
|
||||
done
|
||||
}
|
||||
|
||||
do_install () {
|
||||
for device in ${DEVICELIST}
|
||||
do
|
||||
oe_runmake installbin INSTALL_INC_BASE_DIR=${D}${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir} INSTALL_BIN_BASE_DIR=${D}${bindir} DEVICE="$device"
|
||||
done
|
||||
}
|
||||
@@ -1,20 +0,0 @@
|
||||
COMPATIBLE_MACHINE = "keystone"
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
DEVICELIST_k2hk-evm = "k2h k2k"
|
||||
DEVICELIST_k2l-evm = "k2l"
|
||||
DEVICELIST_k2e = "k2e"
|
||||
|
||||
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.08"
|
||||
HPLIB_SRCREV = "5e9b27854f5d6f9f37a0ed8d7516d4874427cd8b"
|
||||
|
||||
BRANCH = "${HPLIB_GIT_BRANCH}"
|
||||
SRC_URI = "${HPLIB_GIT_URI};protocol=${HPLIB_GIT_PROTOCOL};branch=${BRANCH}"
|
||||
SRCREV = "${HPLIB_SRCREV}"
|
||||
|
||||
PV = "01.01.00.08+git${SRCPV}"
|
||||
INC_PR = "r0"
|
||||
@@ -1,33 +0,0 @@
|
||||
DESCRIPTION = "TI High performance libraries"
|
||||
LICENSE = "BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = "file://${WORKDIR}/git/ti/runtime/hplib/src/COPYING.txt;md5=b7982a377c680ad71ca2fbb735982462"
|
||||
|
||||
DEPENDS = "common-csl-ip rm-lld qmss-lld sa-lld pktlib"
|
||||
RDEPENDS_${PN} = "hplib-mod"
|
||||
|
||||
include hplib.inc
|
||||
|
||||
PR = "${INC_PR}.0"
|
||||
|
||||
CHOICELIST = "yes no"
|
||||
|
||||
S = "${WORKDIR}/git/ti/runtime/hplib"
|
||||
|
||||
EXTRA_OEMAKE += "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR}"
|
||||
|
||||
do_compile () {
|
||||
for device in ${DEVICELIST}
|
||||
do
|
||||
for choice in ${CHOICELIST}
|
||||
do
|
||||
oe_runmake lib HPLIB_SRC_DIR=${S} USEDYNAMIC_LIB=$choice DEVICE="$device"
|
||||
done
|
||||
done
|
||||
}
|
||||
|
||||
do_install () {
|
||||
for device in ${DEVICELIST}
|
||||
do
|
||||
oe_runmake install INSTALL_INC_BASE_DIR=${D}${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir} INSTALL_BIN_BASE_DIR=${D}${bindir} DEVICE="$device"
|
||||
done
|
||||
}
|
||||
@@ -1,26 +0,0 @@
|
||||
include hyplnk-lld.inc
|
||||
|
||||
PR = "${INC_PR}.0"
|
||||
|
||||
DEPENDS = "common-csl-ip hyplnk-lld"
|
||||
|
||||
do_compile () {
|
||||
make -f makefile_armv7 clean PDK_INSTALL_PATH="${STAGING_INCDIR}" \
|
||||
HYPLNK_SRC_DIR="${S}"
|
||||
for device in ${DEVICELIST}
|
||||
do
|
||||
make -f makefile_armv7 tests examples \
|
||||
PDK_INSTALL_PATH="${STAGING_INCDIR}" \
|
||||
DEVICE="$device" HYPLNK_SRC_DIR="${S}"
|
||||
done
|
||||
}
|
||||
|
||||
do_install () {
|
||||
for device in ${DEVICELIST}
|
||||
do
|
||||
make -f makefile_armv7 installbin \
|
||||
PDK_INSTALL_PATH="${STAGING_INCDIR}" DEVICE="$device" \
|
||||
HYPLNK_SRC_DIR="${S}" \
|
||||
INSTALL_BIN_BASE_DIR="${D}/${bindir}"
|
||||
done
|
||||
}
|
||||
@@ -1,29 +0,0 @@
|
||||
DESCRIPTION = "TI Hyperlink Low Level Driver"
|
||||
LICENSE = "BSD-3-Clause"
|
||||
|
||||
COMPATIBLE_MACHINE = "k2hk-evm|k2e"
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
LLDNAME="hyplnk"
|
||||
|
||||
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}"
|
||||
|
||||
# Following commit corresponds to tag DEV.HYPLNK_LLD.02.01.00.06
|
||||
HYPLNK_SRCREV = "a1953ca33114c5a4daca6289a7fb75b201f566d2"
|
||||
|
||||
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.6"
|
||||
INC_PR = "r0"
|
||||
|
||||
DEVICELIST_k2hk-evm = "k2h k2k"
|
||||
DEVICELIST_k2e = "k2e"
|
||||
|
||||
S = "${WORKDIR}/${HYPLNK_GIT_DESTSUFFIX}"
|
||||
@@ -1,32 +0,0 @@
|
||||
include hyplnk-lld.inc
|
||||
|
||||
PR = "${INC_PR}.1"
|
||||
|
||||
DEPENDS = "common-csl-ip"
|
||||
|
||||
do_compile () {
|
||||
make -f makefile_armv7 clean PDK_INSTALL_PATH="${STAGING_INCDIR}" \
|
||||
HYPLNK_SRC_DIR="${S}"
|
||||
for device in ${DEVICELIST}
|
||||
do
|
||||
make -f makefile_armv7 lib PDK_INSTALL_PATH="${STAGING_INCDIR}"\
|
||||
DEVICE="$device" HYPLNK_SRC_DIR="${S}"
|
||||
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}" HYPLNK_SRC_DIR="${S}"
|
||||
|
||||
# Set the generic device library symbolic link to default k2h
|
||||
cd ${D}${libdir}
|
||||
|
||||
# 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
|
||||
}
|
||||
@@ -1,70 +0,0 @@
|
||||
python __anonymous() {
|
||||
features = bb.data.getVar("MACHINE_FEATURES", d, 1)
|
||||
if not features:
|
||||
return
|
||||
if "mmip" not in features:
|
||||
raise bb.parse.SkipPackage('ipumm-fw does not apply to systems without the "mmip" flag in MACHINE_FEATURES')
|
||||
}
|
||||
|
||||
DESCRIPTION = "Firmware for IPU for supporting Accelerated MM decode and encode"
|
||||
LICENSE = "TI-TSPA"
|
||||
|
||||
LIC_FILES_CHKSUM = "file://Texas_Instruments_ipumm_Manifest.pdf;md5=5cc572579f07af266ab57fc17d762c7f"
|
||||
|
||||
COMPATIBLE_MACHINE = "dra7xx"
|
||||
|
||||
RDEPENDS_${PN} = " libdce"
|
||||
|
||||
SRC_URI = "git://git.ti.com/ivimm/ipumm.git;protocol=git"
|
||||
|
||||
SRCREV = "2aa80581cc7d1d82a1af9a46c37793b2fe8b9d42"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
PV = "3.00.13.00"
|
||||
PR = "r6"
|
||||
|
||||
require recipes-ti/includes/ti-paths.inc
|
||||
require recipes-ti/includes/ti-staging.inc
|
||||
|
||||
inherit update-alternatives
|
||||
|
||||
DEPENDS = "ti-xdctools ti-sysbios ti-codec-engine ti-framework-components ti-xdais ti-ccsv6-native ti-ipc-rtos"
|
||||
|
||||
export HWVERSION="ES10"
|
||||
export BIOSTOOLSROOT="${STAGING_DIR_TARGET}/usr/share/ti"
|
||||
|
||||
export XDCVERSION="ti-xdctools-tree"
|
||||
export BIOSVERSION="ti-sysbios-tree"
|
||||
export IPCVERSION="ti-ipc-tree"
|
||||
export CEVERSION="ti-codec-engine-tree"
|
||||
export FCVERSION="ti-framework-components-tree"
|
||||
export XDAISVERSION="ti-xdais-tree"
|
||||
|
||||
export TMS470CGTOOLPATH="${M4_TOOLCHAIN_INSTALL_DIR}"
|
||||
export IPCSRC="${STAGING_DIR_TARGET}/usr/share/ti/ti-ipc-tree"
|
||||
|
||||
do_configure() {
|
||||
oe_runmake unconfig
|
||||
oe_runmake vayu_smp_config
|
||||
}
|
||||
|
||||
do_compile() {
|
||||
oe_runmake
|
||||
}
|
||||
|
||||
TARGET = "dra7-ipu2-fw.xem4"
|
||||
TARGET_MAP = "platform/ti/dce/baseimage/package/cfg/out/ipu/release/ipu.xem4.map"
|
||||
|
||||
do_install() {
|
||||
install -d ${D}${base_libdir}/firmware
|
||||
install -m 0644 ${S}/${TARGET} ${D}${base_libdir}/firmware/${TARGET}.${BPN}
|
||||
install -m 0644 ${S}/${TARGET_MAP} ${D}${base_libdir}/firmware/${TARGET}.map
|
||||
}
|
||||
|
||||
ALTERNATIVE_${PN} = "dra7-ipu2-fw.xem4"
|
||||
ALTERNATIVE_LINK_NAME[dra7-ipu2-fw.xem4] = "${base_libdir}/firmware/${TARGET}"
|
||||
ALTERNATIVE_TARGET[dra7-ipu2-fw.xem4] = "${base_libdir}/firmware/${TARGET}.${BPN}"
|
||||
ALTERNATIVE_PRIORITY = "20"
|
||||
|
||||
FILES_${PN} += "${base_libdir}/firmware/*"
|
||||
@@ -1,18 +0,0 @@
|
||||
DESCRIPTION = "TI IQN2 peripheral module low level driver test binaries"
|
||||
|
||||
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 () {
|
||||
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}
|
||||
}
|
||||
@@ -1,21 +0,0 @@
|
||||
LIC_FILES_CHKSUM = "file://COPYING.txt;md5=5bdceac872dffdec915b819654ee23ea"
|
||||
LICENSE = "BSD-3-Clause"
|
||||
|
||||
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.10
|
||||
IQN2_LLD_SRCREV = "dfc6bdd3b397b58e234f74eadda6d79ee399e682"
|
||||
|
||||
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.10"
|
||||
INC_PR = "r0"
|
||||
|
||||
COMPATIBLE_MACHINE = "k2l-evm"
|
||||
|
||||
S = "${WORKDIR}/${IQN2_LLD_GIT_DESTSUFFIX}"
|
||||
@@ -1,22 +0,0 @@
|
||||
DESCRIPTION = "TI IQN2 peripheral module low level driver"
|
||||
|
||||
DEPENDS = "common-csl-ip"
|
||||
|
||||
include iqn2-lld.inc
|
||||
|
||||
PR = "${INC_PR}.0"
|
||||
|
||||
EXTRA_OEMAKE = "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR}"
|
||||
|
||||
do_configure () {
|
||||
sed -i -e 's/march=armv7-a/march=armv7ve/' build/armv7/libiqn2_aearmv7.mk
|
||||
}
|
||||
|
||||
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}
|
||||
}
|
||||
@@ -1,44 +0,0 @@
|
||||
DESCRIPTION = "TI KEYSTONE MMAP driver test binaries "
|
||||
include mmap-lld.inc
|
||||
|
||||
PR = "${INC_PR}.0"
|
||||
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
DEPENDS="common-csl-ip mmap-lld"
|
||||
RDEPENDS_${PN}="uio-module-drv"
|
||||
|
||||
DEVICELIST_k2hk-evm = "k2h k2k"
|
||||
DEVICELIST_k2e = "k2e"
|
||||
DEVICELIST_k2l-evm = "k2l"
|
||||
DEVICELIST_k2g = "k2g"
|
||||
|
||||
CHOICELIST = " yes \
|
||||
no \
|
||||
"
|
||||
|
||||
do_compile () {
|
||||
for device in ${DEVICELIST}
|
||||
do
|
||||
make -f makefile_armv7 clean \
|
||||
PDK_INSTALL_PATH="${STAGING_INCDIR}" \
|
||||
DEVICE="$device" MPAX_SRC_DIR="${S}"
|
||||
for choice in ${CHOICELIST}
|
||||
do
|
||||
make -f makefile_armv7 tests examples \
|
||||
PDK_INSTALL_PATH=${STAGING_INCDIR} \
|
||||
DEVICE="$device" MPAX_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" MPAX_SRC_DIR="${S}" \
|
||||
INSTALL_BIN_BASE_DIR="${D}/${bindir}"
|
||||
done
|
||||
}
|
||||
@@ -1,22 +0,0 @@
|
||||
LICENSE = "BSD-3-Clause"
|
||||
|
||||
COMPATIBLE_MACHINE = "keystone"
|
||||
|
||||
LIC_FILES_CHKSUM = "file://COPYING.txt;md5=b3315b8190036fe1c6a8263d02e15606"
|
||||
|
||||
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.07
|
||||
MMAP_LLD_SRCREV = "4426949ddfafdc8ea9408dbf5a642c3e840f4997"
|
||||
|
||||
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.7"
|
||||
INC_PR = "r0"
|
||||
|
||||
S = "${WORKDIR}/git/ti/runtime/mmap"
|
||||
@@ -1,14 +0,0 @@
|
||||
DESCRIPTION = "TI KEYSTONE mmap driver using Keystone MPAX Programming"
|
||||
include mmap-lld.inc
|
||||
|
||||
PR = "${INC_PR}.0"
|
||||
|
||||
DEPENDS="common-csl-ip"
|
||||
|
||||
do_compile () {
|
||||
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}
|
||||
}
|
||||
@@ -1,56 +0,0 @@
|
||||
DESCRIPTION = "NETCP PA firmware for Keystone"
|
||||
|
||||
LICENSE = "TI-TFL"
|
||||
LIC_FILES_CHKSUM = "file://LICENCE.ti-keystone;md5=3a86335d32864b0bef996bee26cc0f2c"
|
||||
|
||||
PV = "3.0.1.17"
|
||||
PR = "r0"
|
||||
|
||||
CLEANBROKEN = "1"
|
||||
|
||||
COMPATIBLE_MACHINE = "k2hk-evm|k2l-evm|k2e"
|
||||
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
SRCREV = "f43b4f61315e3642e05edb9c58b098f9cc69fdb6"
|
||||
BRANCH ?= "ti-linux-firmware-4.1.y"
|
||||
|
||||
SRC_URI = "git://git.ti.com/processor-firmware/ti-linux-firmware.git;protocol=git;branch=${BRANCH}"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
FWBASENAME = " \
|
||||
ks2_pa_eg0_pdsp0 \
|
||||
ks2_pa_eg0_pdsp1 \
|
||||
ks2_pa_eg0_pdsp2 \
|
||||
ks2_pa_eg1_pdsp0 \
|
||||
ks2_pa_eg2_pdsp0 \
|
||||
ks2_pa_in0_pdsp0 \
|
||||
ks2_pa_in0_pdsp1 \
|
||||
ks2_pa_in1_pdsp0 \
|
||||
ks2_pa_in1_pdsp1 \
|
||||
ks2_pa_in2_pdsp0 \
|
||||
ks2_pa_in3_pdsp0 \
|
||||
ks2_pa_in4_pdsp0 \
|
||||
ks2_pa_in4_pdsp1 \
|
||||
ks2_pa_post_pdsp0 \
|
||||
ks2_pa_post_pdsp1 \
|
||||
"
|
||||
|
||||
FWBASENAME_k2hk-evm = " \
|
||||
ks2_pa_pdsp0_classify1 \
|
||||
ks2_pa_pdsp1_classify1 \
|
||||
ks2_pa_pdsp2_classify1 \
|
||||
ks2_pa_pdsp3_classify2 \
|
||||
ks2_pa_pdsp4_pam \
|
||||
ks2_pa_pdsp5_pam \
|
||||
"
|
||||
|
||||
do_install() {
|
||||
install -d ${D}${base_libdir}/firmware
|
||||
for f in ${FWBASENAME}; do
|
||||
install -m 0644 ${S}/ti-keystone/$f.bin ${D}${base_libdir}/firmware/$f.bin
|
||||
done
|
||||
}
|
||||
|
||||
FILES_${PN} = "${base_libdir}/firmware"
|
||||
@@ -1,29 +0,0 @@
|
||||
DESCRIPTION = "NETCP SA firmware for Keystone"
|
||||
|
||||
LICENSE = "TI-TFL"
|
||||
LIC_FILES_CHKSUM = "file://LICENCE.ti-keystone;md5=3a86335d32864b0bef996bee26cc0f2c"
|
||||
|
||||
PV = "1.0.0"
|
||||
PR = "r0"
|
||||
|
||||
CLEANBROKEN = "1"
|
||||
|
||||
COMPATIBLE_MACHINE = "keystone"
|
||||
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
SRCREV = "588f602a21c62f90b1f4318b881c80a1e711317a"
|
||||
BRANCH ?= "ti-linux-firmware-4.1.y"
|
||||
|
||||
SRC_URI = "git://git.ti.com/processor-firmware/ti-linux-firmware.git;protocol=git;branch=${BRANCH}"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
TARGET = "sa_mci.fw"
|
||||
|
||||
do_install() {
|
||||
install -d ${D}${base_libdir}/firmware
|
||||
install -m 0644 ${S}/ti-keystone/${TARGET} ${D}${base_libdir}/firmware/${TARGET}
|
||||
}
|
||||
|
||||
FILES_${PN} = "${base_libdir}/firmware"
|
||||
@@ -1,27 +0,0 @@
|
||||
DESCRIPTION = "TI Network Abstraction Layer unit test binaries"
|
||||
|
||||
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 () {
|
||||
for device in ${DEVICELIST}
|
||||
do
|
||||
for choice in ${CHOICELIST}
|
||||
do
|
||||
oe_runmake clean NWAL_INC_DIR=${BASEDIR} NWAL_SRC_DIR=${S} USEDYNAMIC_LIB="$choice" DEVICE="$device"
|
||||
oe_runmake tests NWAL_INC_DIR=${BASEDIR} NWAL_SRC_DIR=${S} USEDYNAMIC_LIB="$choice" DEVICE="$device"
|
||||
done
|
||||
done
|
||||
}
|
||||
|
||||
do_install () {
|
||||
for device in ${DEVICELIST}
|
||||
do
|
||||
oe_runmake installbin INSTALL_INC_BASE_DIR=${D}${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir} INSTALL_BIN_BASE_DIR=${D}${bindir} DEVICE="$device"
|
||||
done
|
||||
}
|
||||
@@ -1,28 +0,0 @@
|
||||
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"
|
||||
NWAL_LLD_GIT_BRANCH = "master"
|
||||
|
||||
# Below commit ID corresponds to "DEV.NWAL.02.01.00.11A"
|
||||
NWAL_LLD_SRCREV = "a93303e3d682d7161030113b72c3e1adf755bf89"
|
||||
|
||||
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.11A"
|
||||
INC_PR = "r0"
|
||||
|
||||
BASEDIR = "${WORKDIR}/git"
|
||||
S = "${BASEDIR}/ti/drv/nwal"
|
||||
|
||||
DEVICELIST_k2hk-evm = "k2h k2k"
|
||||
DEVICELIST_k2l-evm = "k2l"
|
||||
DEVICELIST_k2e = "k2e"
|
||||
|
||||
CHOICELIST = "yes no"
|
||||
@@ -1,27 +0,0 @@
|
||||
DESCRIPTION = "TI Network abstraction layer LLD library "
|
||||
|
||||
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 () {
|
||||
for device in ${DEVICELIST}
|
||||
do
|
||||
for choice in ${CHOICELIST}
|
||||
do
|
||||
oe_runmake clean NWAL_INC_DIR=${BASEDIR} NWAL_SRC_DIR=${S} USEDYNAMIC_LIB="$choice" DEVICE="$device"
|
||||
oe_runmake lib NWAL_INC_DIR=${BASEDIR} NWAL_SRC_DIR=${S} USEDYNAMIC_LIB="$choice" DEVICE="$device"
|
||||
done
|
||||
done
|
||||
}
|
||||
|
||||
do_install () {
|
||||
for device in ${DEVICELIST}
|
||||
do
|
||||
oe_runmake install INSTALL_INC_BASE_DIR=${D}${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir} INSTALL_BIN_BASE_DIR=${D}${bindir} DEVICE="$device"
|
||||
done
|
||||
}
|
||||
@@ -1,20 +0,0 @@
|
||||
DESCRIPTION = "TI OSAL tests"
|
||||
|
||||
DEPENDS="common-csl-ip osal"
|
||||
|
||||
include osal.inc
|
||||
|
||||
PR = "${INC_PR}.0"
|
||||
|
||||
S = "${WORKDIR}/${OSAL_GIT_DESTSUFFIX}"
|
||||
|
||||
do_compile () {
|
||||
# Build the tests
|
||||
make -f makefile_armv7 clean PDK_INSTALL_PATH=${STAGING_INCDIR}
|
||||
make -f makefile_armv7 tests PDK_INSTALL_PATH=${STAGING_INCDIR} OSAL_SRC_DIR=${S}
|
||||
}
|
||||
|
||||
do_install () {
|
||||
# Install the binary
|
||||
make -f makefile_armv7 installbin PDK_INSTALL_PATH=${STAGING_INCDIR} INSTALL_BIN_BASE_DIR=${D}${bindir} OSAL_SRC_DIR=${S}
|
||||
}
|
||||
@@ -1,20 +0,0 @@
|
||||
LICENSE = "BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = "file://osal.h;beginline=1;endline=31;md5=8cbd8efb1460e4f16e6b00c8a7686be4"
|
||||
|
||||
COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|keystone"
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
OSAL_GIT_URI = "git://git.ti.com/keystone-rtos/osal.git"
|
||||
OSAL_GIT_PROTOCOL = "git"
|
||||
OSAL_GIT_BRANCH = "master"
|
||||
OSAL_GIT_DESTSUFFIX = "git/ti/osal"
|
||||
|
||||
# Below commit ID corresponds to "DEV.OSAL.01.00.00.05E"
|
||||
OSAL_SRCREV = "5125c71d756530513500b463d3301d03dee04497"
|
||||
|
||||
BRANCH = "${OSAL_GIT_BRANCH}"
|
||||
SRC_URI = "${OSAL_GIT_URI};destsuffix=${OSAL_GIT_DESTSUFFIX};protocol=${OSAL_GIT_PROTOCOL};branch=${BRANCH}"
|
||||
|
||||
SRCREV = "${OSAL_SRCREV}"
|
||||
PV = "01.00.00.05E"
|
||||
INC_PR = "r0"
|
||||
@@ -1,20 +0,0 @@
|
||||
DESCRIPTION = "TI OSAL library for Linux"
|
||||
|
||||
DEPENDS="common-csl-ip"
|
||||
|
||||
include osal.inc
|
||||
|
||||
PR = "${INC_PR}.0"
|
||||
|
||||
S = "${WORKDIR}/${OSAL_GIT_DESTSUFFIX}"
|
||||
|
||||
do_compile () {
|
||||
# Build the lib
|
||||
make -f makefile_armv7 clean PDK_INSTALL_PATH=${STAGING_INCDIR}
|
||||
make -f makefile_armv7 lib PDK_INSTALL_PATH=${STAGING_INCDIR}
|
||||
}
|
||||
|
||||
do_install () {
|
||||
# Install the lib
|
||||
make -f makefile_armv7 install PDK_INSTALL_PATH=${STAGING_INCDIR} INSTALL_INC_BASE_DIR=${D}${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir}
|
||||
}
|
||||
@@ -1,28 +0,0 @@
|
||||
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
|
||||
|
||||
PR = "${INC_PR}.1"
|
||||
|
||||
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
|
||||
}
|
||||
@@ -1,32 +0,0 @@
|
||||
LICENSE = "BSD-3-Clause & TI-TFL"
|
||||
LIC_FILES_CHKSUM = "file://${WORKDIR}/git/ti/drv/pa/COPYING.txt;md5=cd04fb087063a2a82c4ce61983836871"
|
||||
|
||||
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"
|
||||
PA_LLD_GIT_BRANCH = "master"
|
||||
PA_LLD_GIT_DESTSUFFIX = "git/ti/drv/pa"
|
||||
|
||||
# Below Commit ID corresponds to "DEV.PA_LLD.03.00.02.01"
|
||||
PA_LLD_SRCREV = "e95de49323678a55072c90fb213b94f96cf494b1"
|
||||
|
||||
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.02.01"
|
||||
INC_PR = "r0"
|
||||
|
||||
S = "${WORKDIR}/${PA_LLD_GIT_DESTSUFFIX}"
|
||||
|
||||
DEVICELIST = "k2h k2k k2l k2e"
|
||||
DEVICELIST_k2hk-evm = "k2h k2k"
|
||||
DEVICELIST_k2l-evm = "k2l"
|
||||
DEVICELIST_k2e = "k2e"
|
||||
|
||||
LIBPA = "libpa"
|
||||
LIBPA_k2hk-evm = "libpa"
|
||||
LIBPA_k2e = "libpa2"
|
||||
LIBPA_k2l-evm = "libpa2"
|
||||
@@ -1,23 +0,0 @@
|
||||
DESCRIPTION = "TI PA LLD library"
|
||||
|
||||
DEPENDS = "common-csl-ip rm-lld"
|
||||
|
||||
include pa-lld.inc
|
||||
|
||||
PR = "${INC_PR}.1"
|
||||
|
||||
do_compile () {
|
||||
# Now build the lld in the updated directory
|
||||
for device in ${DEVICELIST}
|
||||
do
|
||||
make -f makefile_armv7 lib PDK_INSTALL_PATH=${STAGING_INCDIR} DEVICE="$device"
|
||||
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_device.so.1 ${D}${libdir}/libpa_device.so
|
||||
}
|
||||
@@ -1,13 +0,0 @@
|
||||
inherit ti-pdk
|
||||
require pktlib.inc
|
||||
|
||||
PR = "${INC_PR}.0"
|
||||
|
||||
DEPENDS_append = " rm-lld-rtos \
|
||||
qmss-lld-rtos \
|
||||
cppi-lld-rtos \
|
||||
"
|
||||
|
||||
XDCARGS_k2hk-evm = "k2h k2k"
|
||||
XDCARGS_k2e = "k2e"
|
||||
XDCARGS_k2l-evm = "k2l"
|
||||
@@ -1,24 +0,0 @@
|
||||
DESCRIPTION = "Provides library for handling packet descriptors for keystone devices"
|
||||
LICENSE = "BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = "file://docs/Doxyfile;md5=91d01dc3788e1f405f000b2089191a0a"
|
||||
|
||||
COMPATIBLE_MACHINE = "keystone"
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
PKTLIB_GIT_URI = "git://git.ti.com/keystone-rtos/pktlib.git"
|
||||
PKTLIB_GIT_PROTOCOL = "git"
|
||||
PKTLIB_GIT_BRANCH = "master"
|
||||
PKTLIB_GIT_DESTSUFFIX = "git/ti/runtime/pktlib"
|
||||
|
||||
# Below commit ID corresponds to "DEV.PKTLIB.2.1.0.7"
|
||||
PKTLIB_SRCREV = "22f66931964c25f83d1971f7eb78902d10c17d8a"
|
||||
|
||||
BRANCH = "${PKTLIB_GIT_BRANCH}"
|
||||
# Don't use DESTSUFFIX when cloning since repo contains ti/runtime/pktlib directory tree
|
||||
SRC_URI = "${PKTLIB_GIT_URI};protocol=${PKTLIB_GIT_PROTOCOL};branch=${BRANCH}"
|
||||
|
||||
SRCREV = "${PKTLIB_SRCREV}"
|
||||
PV = "2.1.0.7"
|
||||
INC_PR = "r2"
|
||||
|
||||
S = "${WORKDIR}/${PKTLIB_GIT_DESTSUFFIX}"
|
||||
@@ -1,18 +0,0 @@
|
||||
DESCRIPTION = "Provides library for handling packet descriptors for keystone devices"
|
||||
LIC_FILES_CHKSUM = "file://${WORKDIR}/git/COPYING.txt;md5=b7982a377c680ad71ca2fbb735982462"
|
||||
|
||||
DEPENDS = "common-csl-ip rm-lld qmss-lld cppi-lld"
|
||||
|
||||
include pktlib.inc
|
||||
|
||||
PR = "${INC_PR}.1"
|
||||
|
||||
EXTRA_OEMAKE += "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR} INSTALL_INC_BASE_DIR=${D}${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir}"
|
||||
|
||||
do_compile () {
|
||||
oe_runmake lib
|
||||
}
|
||||
|
||||
do_install () {
|
||||
oe_runmake install
|
||||
}
|
||||
@@ -0,0 +1,81 @@
|
||||
DESCRIPTION = "Kernel drivers for the PowerVR SGX chipset found in the omap3 SoCs (for X11)"
|
||||
LICENSE = "GPLv2"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=ea5743acf520dd81ca172e69f818a3d4"
|
||||
|
||||
TI_BIN_UNPK_CMDS="Y: qY:workdir:Y"
|
||||
require ../../recipes-ti/includes/ti-eula-unpack.inc
|
||||
|
||||
SGXPV = "4_09_00_01"
|
||||
IMGPV = "1.9.2188537"
|
||||
|
||||
inherit module
|
||||
|
||||
MACHINE_KERNEL_PR_append = "d"
|
||||
PR = "${MACHINE_KERNEL_PR}"
|
||||
|
||||
# Select the corresponding hardfp/softfp filename and checksums based on tune flags
|
||||
BINFILE_SOFTFP = "Graphics_SDK_setuplinux_${SGXPV}_minimal_demos.bin"
|
||||
MD5SUM_SOFTFP = "bd35e9d8843aff3a2aca9d41e7db1c7d"
|
||||
SHA256SUM_SOFTFP = "eb37f75ddde4640b09e760fa86e689beb394330ecdf68786188c34f249247647"
|
||||
|
||||
BINFILE_HARDFP = "Graphics_SDK_setuplinux_${SGXPV}_hardfp_minimal_demos.bin"
|
||||
MD5SUM_HARDFP = "c9f656dce062d1ab10afffd4dfb71b67"
|
||||
SHA256SUM_HARDFP = "dbfeba8e1298f139495816334edec1455e6b49b1e11bd1b2aa0a888e5788bb6b"
|
||||
|
||||
BINFILE = "${@base_contains('TUNE_FEATURES', 'callconvention-hard', '${BINFILE_HARDFP}', '${BINFILE_SOFTFP}', d)}"
|
||||
|
||||
SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/gfxsdk/${SGXPV}/exports/${BINFILE}"
|
||||
|
||||
SRC_URI[md5sum] := "${@base_contains('TUNE_FEATURES', 'callconvention-hard', '${MD5SUM_HARDFP}', '${MD5SUM_SOFTFP}', d)}"
|
||||
SRC_URI[sha256sum] := "${@base_contains('TUNE_FEATURES', 'callconvention-hard', '${SHA256SUM_HARDFP}', '${SHA256SUM_SOFTFP}', d)}"
|
||||
|
||||
TI_BIN_UNPK_WDEXT="/Graphics_SDK_${SGXPV}"
|
||||
S = "${WORKDIR}${TI_BIN_UNPK_WDEXT}/GFX_Linux_KM"
|
||||
|
||||
PVRBUILD = "release"
|
||||
export KERNELDIR = "${STAGING_KERNEL_DIR}"
|
||||
|
||||
INHIBIT_PACKAGE_STRIP = "1"
|
||||
|
||||
TI_PLATFORM_omap3 = "omap3630"
|
||||
TI_PLATFORM_ti814x = "ti81xx"
|
||||
TI_PLATFORM_ti816x = "ti81xx"
|
||||
TI_PLATFORM_ti33x = "ti335x"
|
||||
|
||||
MODULESLOCATION_omap3 = "dc_omapfb3_linux"
|
||||
MODULESLOCATION_ti814x = "dc_ti81xx_linux"
|
||||
MODULESLOCATION_ti816x = "dc_ti81xx_linux"
|
||||
MODULESLOCATION_ti33x = "dc_ti335x_linux"
|
||||
|
||||
export SUPPORT_XORG ?= "1"
|
||||
|
||||
MAKE_TARGETS = " BUILD=${PVRBUILD} TI_PLATFORM=${TI_PLATFORM} SUPPORT_XORG=${SUPPORT_XORG}"
|
||||
|
||||
do_compile() {
|
||||
export TOOLCHAIN="${TOOLCHAIN_PATH}"
|
||||
export PLAT_CC="${CC}"
|
||||
export PLAT_CPP="${CXX}"
|
||||
export PLAR_AR="${AR}"
|
||||
for kernelver in ${WORKDIR}/../../${PREFERRED_PROVIDER_virtual/kernel}/* ; do
|
||||
cp -f $kernelver/git/drivers/gpu/drm/*.c ${S}/services4/3rdparty/linux_drm/
|
||||
done
|
||||
if [ $(echo -e "${KERNEL_VERSION}\n3.3" | sort --version-sort | head -1) = "3.3" ] ; then
|
||||
cp -f ${S}/services4/3rdparty/linux_drm/Kbuild_3.3 \
|
||||
${S}/services4/3rdparty/linux_drm/Kbuild || true
|
||||
else
|
||||
if [ $(echo -e "${KERNEL_VERSION}\n3.2" | sort --version-sort | head -1) = "3.2" ] ; then
|
||||
cp -f ${S}/services4/3rdparty/linux_drm/Kbuild_3.2 \
|
||||
${S}/services4/3rdparty/linux_drm/Kbuild || true
|
||||
fi
|
||||
fi
|
||||
oe_runmake BUILD=${PVRBUILD} TI_PLATFORM=${TI_PLATFORM} SUPPORT_XORG=${SUPPORT_XORG}
|
||||
}
|
||||
|
||||
do_install() {
|
||||
mkdir -p ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/gpu/pvr
|
||||
cp ${S}/pvrsrvkm.ko \
|
||||
${S}/services4/3rdparty/bufferclass_ti/bufferclass_ti.ko \
|
||||
${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/gpu/pvr
|
||||
|
||||
cp ${S}/services4/3rdparty/linux_drm/drm.ko ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/gpu/pvr
|
||||
}
|
||||
@@ -0,0 +1,346 @@
|
||||
--- GFX_Linux_KM/services4/3rdparty/dc_omap3430_linux/omaplfb_displayclass.c-orig 2011-03-08 04:27:35.000000000 -0800
|
||||
+++ GFX_Linux_KM/services4/3rdparty/dc_omap3430_linux/omaplfb_displayclass.c 2011-03-17 13:11:31.000000000 -0700
|
||||
@@ -235,9 +235,20 @@ static OMAP_ERROR UnblankDisplay(OMAPLFB
|
||||
{
|
||||
int res;
|
||||
|
||||
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,38)
|
||||
+ console_lock();
|
||||
+#else
|
||||
acquire_console_sem();
|
||||
+#endif
|
||||
+
|
||||
res = fb_blank(psDevInfo->psLINFBInfo, 0);
|
||||
+
|
||||
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,38)
|
||||
+ console_unlock();
|
||||
+#else
|
||||
release_console_sem();
|
||||
+#endif
|
||||
+
|
||||
#if !defined (CONFIG_OMAP2_DSS)
|
||||
if (res != 0 && res != -EINVAL)
|
||||
{
|
||||
@@ -1118,7 +1129,11 @@ static OMAP_ERROR InitDev(OMAPLFB_DEVINF
|
||||
OMAP_ERROR eError = OMAP_ERROR_GENERIC;
|
||||
unsigned long FBSize;
|
||||
|
||||
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,38)
|
||||
+ console_lock();
|
||||
+#else
|
||||
acquire_console_sem();
|
||||
+#endif
|
||||
|
||||
if (fb_idx < 0 || fb_idx >= num_registered_fb)
|
||||
{
|
||||
@@ -1254,7 +1269,11 @@ static OMAP_ERROR InitDev(OMAPLFB_DEVINF
|
||||
errModPut:
|
||||
module_put(psLINFBOwner);
|
||||
errRelSem:
|
||||
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,38)
|
||||
+ console_unlock();
|
||||
+#else
|
||||
release_console_sem();
|
||||
+#endif
|
||||
return eError;
|
||||
}
|
||||
|
||||
@@ -1263,7 +1282,11 @@ static void DeInitDev(OMAPLFB_DEVINFO *p
|
||||
struct fb_info *psLINFBInfo = psDevInfo->psLINFBInfo;
|
||||
struct module *psLINFBOwner;
|
||||
|
||||
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,38)
|
||||
+ console_lock();
|
||||
+#else
|
||||
acquire_console_sem();
|
||||
+#endif
|
||||
|
||||
psLINFBOwner = psLINFBInfo->fbops->owner;
|
||||
|
||||
@@ -1274,7 +1297,11 @@ static void DeInitDev(OMAPLFB_DEVINFO *p
|
||||
|
||||
module_put(psLINFBOwner);
|
||||
|
||||
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,38)
|
||||
+ console_unlock();
|
||||
+#else
|
||||
release_console_sem();
|
||||
+#endif
|
||||
}
|
||||
|
||||
OMAP_ERROR OMAPLFBInit(void)
|
||||
--- GFX_Linux_KM/services4/3rdparty/dc_omap3430_linux/omaplfb_linux.c-orig 2011-03-08 04:27:35.000000000 -0800
|
||||
+++ GFX_Linux_KM/services4/3rdparty/dc_omap3430_linux/omaplfb_linux.c 2011-03-17 13:40:15.000000000 -0700
|
||||
@@ -24,11 +24,14 @@
|
||||
*
|
||||
******************************************************************************/
|
||||
|
||||
+#include <linux/version.h>
|
||||
+
|
||||
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,38)
|
||||
#ifndef AUTOCONF_INCLUDED
|
||||
#include <linux/config.h>
|
||||
#endif
|
||||
+#endif
|
||||
|
||||
-#include <linux/version.h>
|
||||
#include <linux/module.h>
|
||||
|
||||
#include <linux/pci.h>
|
||||
--- GFX_Linux_KM/services4/srvkm/common/resman.c-orig 2011-03-08 04:27:36.000000000 -0800
|
||||
+++ GFX_Linux_KM/services4/srvkm/common/resman.c 2011-03-17 14:20:07.000000000 -0700
|
||||
@@ -24,15 +24,17 @@
|
||||
*
|
||||
******************************************************************************/
|
||||
|
||||
+#include <linux/version.h>
|
||||
#include "services_headers.h"
|
||||
#include "resman.h"
|
||||
|
||||
#ifdef __linux__
|
||||
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,38)
|
||||
#ifndef AUTOCONF_INCLUDED
|
||||
#include <linux/config.h>
|
||||
#endif
|
||||
+#endif
|
||||
|
||||
-#include <linux/version.h>
|
||||
#include <linux/sched.h>
|
||||
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,9)
|
||||
#include <linux/hardirq.h>
|
||||
--- GFX_Linux_KM/services4/srvkm/env/linux/pvr_debug.c-orig 2011-03-08 04:27:36.000000000 -0800
|
||||
+++ GFX_Linux_KM/services4/srvkm/env/linux/pvr_debug.c 2011-03-17 14:33:09.000000000 -0700
|
||||
@@ -24,9 +24,13 @@
|
||||
*
|
||||
******************************************************************************/
|
||||
|
||||
+#include <linux/version.h>
|
||||
+
|
||||
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,38)
|
||||
#ifndef AUTOCONF_INCLUDED
|
||||
#include <linux/config.h>
|
||||
#endif
|
||||
+#endif
|
||||
|
||||
#include <asm/io.h>
|
||||
#include <asm/uaccess.h>
|
||||
--- GFX_Linux_KM/services4/srvkm/env/linux/pvr_uaccess.h-orig 2011-03-08 04:27:36.000000000 -0800
|
||||
+++ GFX_Linux_KM/services4/srvkm/env/linux/pvr_uaccess.h 2011-03-17 14:39:14.000000000 -0700
|
||||
@@ -27,11 +27,14 @@
|
||||
#ifndef __PVR_UACCESS_H__
|
||||
#define __PVR_UACCESS_H__
|
||||
|
||||
+#include <linux/version.h>
|
||||
+
|
||||
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,38)
|
||||
#ifndef AUTOCONF_INCLUDED
|
||||
#include <linux/config.h>
|
||||
#endif
|
||||
+#endif
|
||||
|
||||
-#include <linux/version.h>
|
||||
#include <asm/uaccess.h>
|
||||
|
||||
static inline unsigned long pvr_copy_to_user(void __user *pvTo, const void *pvFrom, unsigned long ulBytes)
|
||||
--- GFX_Linux_KM/services4/srvkm/env/linux/mm.c-orig 2011-03-08 04:27:36.000000000 -0800
|
||||
+++ GFX_Linux_KM/services4/srvkm/env/linux/mm.c 2011-03-17 14:46:23.000000000 -0700
|
||||
@@ -24,11 +24,14 @@
|
||||
*
|
||||
******************************************************************************/
|
||||
|
||||
+#include <linux/version.h>
|
||||
+
|
||||
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,38)
|
||||
#ifndef AUTOCONF_INCLUDED
|
||||
#include <linux/config.h>
|
||||
#endif
|
||||
+#endif
|
||||
|
||||
-#include <linux/version.h>
|
||||
#include <linux/mm.h>
|
||||
#include <linux/vmalloc.h>
|
||||
#include <asm/io.h>
|
||||
--- GFX_Linux_KM/services4/srvkm/env/linux/mutils.h-orig 2011-03-08 04:27:36.000000000 -0800
|
||||
+++ GFX_Linux_KM/services4/srvkm/env/linux/mutils.h 2011-03-17 14:54:37.000000000 -0700
|
||||
@@ -27,11 +27,13 @@
|
||||
#ifndef __IMG_LINUX_MUTILS_H__
|
||||
#define __IMG_LINUX_MUTILS_H__
|
||||
|
||||
+#include <linux/version.h>
|
||||
+
|
||||
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,38)
|
||||
#ifndef AUTOCONF_INCLUDED
|
||||
#include <linux/config.h>
|
||||
#endif
|
||||
-
|
||||
-#include <linux/version.h>
|
||||
+#endif
|
||||
|
||||
#if !(defined(__i386__) && (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,26)))
|
||||
#if defined(SUPPORT_LINUX_X86_PAT)
|
||||
--- GFX_Linux_KM/services4/srvkm/env/linux/mm.h-orig 2011-03-08 04:27:36.000000000 -0800
|
||||
+++ GFX_Linux_KM/services4/srvkm/env/linux/mm.h 2011-03-17 15:33:56.000000000 -0700
|
||||
@@ -27,11 +27,14 @@
|
||||
#ifndef __IMG_LINUX_MM_H__
|
||||
#define __IMG_LINUX_MM_H__
|
||||
|
||||
+#include <linux/version.h>
|
||||
+
|
||||
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,38)
|
||||
#ifndef AUTOCONF_INCLUDED
|
||||
#include <linux/config.h>
|
||||
#endif
|
||||
+#endif
|
||||
|
||||
-#include <linux/version.h>
|
||||
#include <linux/slab.h>
|
||||
#include <linux/mm.h>
|
||||
#include <linux/list.h>
|
||||
--- GFX_Linux_KM/services4/srvkm/env/linux/mmap.c-orig 2011-03-17 20:39:31.000000000 -0700
|
||||
+++ GFX_Linux_KM/services4/srvkm/env/linux/mmap.c 2011-03-17 20:40:00.000000000 -0700
|
||||
@@ -24,11 +24,14 @@
|
||||
*
|
||||
******************************************************************************/
|
||||
|
||||
+#include <linux/version.h>
|
||||
+
|
||||
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,38)
|
||||
#ifndef AUTOCONF_INCLUDED
|
||||
#include <linux/config.h>
|
||||
#endif
|
||||
+#endif
|
||||
|
||||
-#include <linux/version.h>
|
||||
#include <linux/mm.h>
|
||||
#include <linux/module.h>
|
||||
#include <linux/vmalloc.h>
|
||||
--- GFX_Linux_KM/services4/srvkm/env/linux/proc.c-orig 2011-03-08 04:27:36.000000000 -0800
|
||||
+++ GFX_Linux_KM/services4/srvkm/env/linux/proc.c 2011-03-17 21:01:35.000000000 -0700
|
||||
@@ -24,13 +24,16 @@
|
||||
*
|
||||
******************************************************************************/
|
||||
|
||||
+#include <linux/version.h>
|
||||
+
|
||||
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,38)
|
||||
#ifndef AUTOCONF_INCLUDED
|
||||
#include <linux/config.h>
|
||||
#endif
|
||||
+#endif
|
||||
|
||||
#include <linux/init.h>
|
||||
#include <linux/module.h>
|
||||
-#include <linux/version.h>
|
||||
#include <linux/fs.h>
|
||||
#include <linux/proc_fs.h>
|
||||
#include <linux/seq_file.h>
|
||||
--- GFX_Linux_KM/services4/srvkm/env/linux/module.c-orig 2011-03-08 04:27:36.000000000 -0800
|
||||
+++ GFX_Linux_KM/services4/srvkm/env/linux/module.c 2011-03-17 21:32:19.000000000 -0700
|
||||
@@ -24,9 +24,13 @@
|
||||
*
|
||||
******************************************************************************/
|
||||
|
||||
+#include <linux/version.h>
|
||||
+
|
||||
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,38)
|
||||
#ifndef AUTOCONF_INCLUDED
|
||||
#include <linux/config.h>
|
||||
#endif
|
||||
+#endif
|
||||
|
||||
#if !defined(SUPPORT_DRI_DRM)
|
||||
|
||||
@@ -44,7 +48,6 @@
|
||||
#include <linux/init.h>
|
||||
#include <linux/kernel.h>
|
||||
#include <linux/module.h>
|
||||
-#include <linux/version.h>
|
||||
#include <linux/fs.h>
|
||||
#include <linux/proc_fs.h>
|
||||
|
||||
--- GFX_Linux_KM/services4/srvkm/env/linux/event.c-orig 2011-03-08 04:27:36.000000000 -0800
|
||||
+++ GFX_Linux_KM/services4/srvkm/env/linux/event.c 2011-03-18 08:51:42.000000000 -0700
|
||||
@@ -24,11 +24,14 @@
|
||||
*
|
||||
******************************************************************************/
|
||||
|
||||
+#include <linux/version.h>
|
||||
+
|
||||
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,38)
|
||||
#ifndef AUTOCONF_INCLUDED
|
||||
#include <linux/config.h>
|
||||
#endif
|
||||
+#endif
|
||||
|
||||
-#include <linux/version.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/page.h>
|
||||
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,22))
|
||||
--- GFX_Linux_KM/services4/srvkm/env/linux/osfunc.c-orig 2011-03-08 04:27:36.000000000 -0800
|
||||
+++ GFX_Linux_KM/services4/srvkm/env/linux/osfunc.c 2011-03-18 08:58:16.000000000 -0700
|
||||
@@ -24,11 +24,14 @@
|
||||
*
|
||||
******************************************************************************/
|
||||
|
||||
+#include <linux/version.h>
|
||||
+
|
||||
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,38)
|
||||
#ifndef AUTOCONF_INCLUDED
|
||||
#include <linux/config.h>
|
||||
#endif
|
||||
+#endif
|
||||
|
||||
-#include <linux/version.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/page.h>
|
||||
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,22))
|
||||
--- GFX_Linux_KM/services4/srvkm/env/linux/pvr_drm.c-orig 2011-03-08 04:27:36.000000000 -0800
|
||||
+++ GFX_Linux_KM/services4/srvkm/env/linux/pvr_drm.c 2011-03-18 09:01:06.000000000 -0700
|
||||
@@ -26,14 +26,17 @@
|
||||
|
||||
#if defined(SUPPORT_DRI_DRM)
|
||||
|
||||
+#include <linux/version.h>
|
||||
+
|
||||
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,38)
|
||||
#ifndef AUTOCONF_INCLUDED
|
||||
#include <linux/config.h>
|
||||
#endif
|
||||
+#endif
|
||||
|
||||
#include <linux/init.h>
|
||||
#include <linux/kernel.h>
|
||||
#include <linux/module.h>
|
||||
-#include <linux/version.h>
|
||||
#include <linux/fs.h>
|
||||
#include <linux/proc_fs.h>
|
||||
#include <asm/ioctl.h>
|
||||
--- GFX_Linux_KM/services4/srvkm/env/linux/mutils.c-orig 2011-03-08 04:27:36.000000000 -0800
|
||||
+++ GFX_Linux_KM/services4/srvkm/env/linux/mutils.c 2011-03-18 09:08:12.000000000 -0700
|
||||
@@ -24,10 +24,13 @@
|
||||
*
|
||||
******************************************************************************/
|
||||
|
||||
+#include <linux/version.h>
|
||||
+
|
||||
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,38)
|
||||
#ifndef AUTOCONF_INCLUDED
|
||||
#include <linux/config.h>
|
||||
#endif
|
||||
-#include <linux/version.h>
|
||||
+#endif
|
||||
|
||||
#include <linux/spinlock.h>
|
||||
#include <linux/mm.h>
|
||||
--- GFX_Linux_KM/services4/srvkm/env/linux/pvr_debug.c-orig 2011-03-31 13:46:48.000000000 -0700
|
||||
+++ GFX_Linux_KM/services4/srvkm/env/linux/pvr_debug.c 2011-03-31 15:14:10.000000000 -0700
|
||||
@@ -76,7 +76,8 @@ static IMG_CHAR gszBufferIRQ[PVR_MAX_MSG
|
||||
static PVRSRV_LINUX_MUTEX gsDebugMutexNonIRQ;
|
||||
|
||||
|
||||
-static spinlock_t gsDebugLockIRQ = SPIN_LOCK_UNLOCKED;
|
||||
+static DEFINE_SPINLOCK(gsDebugLockIRQ);
|
||||
+
|
||||
|
||||
#if !defined (USE_SPIN_LOCK)
|
||||
#define USE_SPIN_LOCK (in_interrupt() || !preemptible())
|
||||
@@ -0,0 +1,38 @@
|
||||
From: Steve Sakoman
|
||||
Subject: omap3-sgx-modules: Fix build for Linux 3.0
|
||||
|
||||
This patch implements the header change from plat/display.h to video/omapdss.h
|
||||
|
||||
Signed-off-by: Steve Sakoman <steve at sakoman.com>
|
||||
|
||||
--- GFX_Linux_KM/services4/3rdparty/dc_omap3430_linux/omaplfb_linux.c-orig 2011-08-01 07:21:45.000000000 -0700
|
||||
+++ GFX_Linux_KM/services4/3rdparty/dc_omap3430_linux/omaplfb_linux.c 2011-08-01 07:29:32.000000000 -0700
|
||||
@@ -47,12 +47,12 @@
|
||||
#if defined (SUPPORT_TI_DSS_FW)
|
||||
#include <asm/io.h>
|
||||
|
||||
-#if (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,26))
|
||||
-#if (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,31))
|
||||
+#if (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,39)))
|
||||
+#include <video/omapdss.h>
|
||||
+#elif (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,31))
|
||||
#include <plat/display.h>
|
||||
-#else
|
||||
+#elif (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,26))
|
||||
#include <mach/display.h>
|
||||
-#endif
|
||||
#else
|
||||
#include <asm/arch-omap/display.h>
|
||||
#endif
|
||||
@@ -64,7 +64,11 @@ extern int omap_dispc_request_irq(unsign
|
||||
extern void omap_dispc_free_irq(unsigned long, void (*)(void *), void *);
|
||||
extern void omap_dispc_set_plane_base(int plane, IMG_UINT32 phys_addr);
|
||||
#else
|
||||
+#if (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,39))
|
||||
+#include <video/omapdss.h>
|
||||
+#else
|
||||
#include <plat/display.h>
|
||||
+#endif
|
||||
#include <linux/console.h>
|
||||
#include <linux/fb.h>
|
||||
static omap_dispc_isr_t *pOMAPLFBVSyncISRHandle = NULL;
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user