mirror of
https://git.yoctoproject.org/meta-ti
synced 2026-01-12 09:30:21 +00:00
Compare commits
136 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
72d4c5d37d | ||
|
|
5ff9feb881 | ||
|
|
383266ca96 | ||
|
|
d78b2c21c4 | ||
|
|
cc36865809 | ||
|
|
616f91bc32 | ||
|
|
5f945012c9 | ||
|
|
29719b15ee | ||
|
|
68c58484ab | ||
|
|
e2b3670c17 | ||
|
|
ede7a353b9 | ||
|
|
ac4d555544 | ||
|
|
ef12440225 | ||
|
|
1c09e95bef | ||
|
|
9826121536 | ||
|
|
428c9db65f | ||
|
|
4f776c4560 | ||
|
|
569af06fd2 | ||
|
|
c49e7d4275 | ||
|
|
e47e400d07 | ||
|
|
3e1ab248af | ||
|
|
9772c16b8b | ||
|
|
2091fb4ea2 | ||
|
|
03397a66d8 | ||
|
|
f2afcfee58 | ||
|
|
03fbb49000 | ||
|
|
418403ee99 | ||
|
|
22b2c79dd0 | ||
|
|
8f5baa2153 | ||
|
|
3b2d0910db | ||
|
|
8a6d2d49dd | ||
|
|
bb6646fd96 | ||
|
|
088a1dbea3 | ||
|
|
0bd05df9cf | ||
|
|
f817807842 | ||
|
|
2ad1fd65b8 | ||
|
|
7dc90eb9e2 | ||
|
|
4b0d898ffd | ||
|
|
8f7d03e4a1 | ||
|
|
aefef7fe95 | ||
|
|
891eddf7a2 | ||
|
|
8cf7df4efc | ||
|
|
abeba37a5f | ||
|
|
7c3ef24776 | ||
|
|
372e20c544 | ||
|
|
380d514d98 | ||
|
|
9fedd1c4d2 | ||
|
|
f6fa9fe735 | ||
|
|
9f4cd9900f | ||
|
|
913f722e9e | ||
|
|
1735c59bb7 | ||
|
|
233da46564 | ||
|
|
ca64840bab | ||
|
|
2d10089a70 | ||
|
|
0e11ce3049 | ||
|
|
881fcc9599 | ||
|
|
6a02716519 | ||
|
|
855ff4c8b0 | ||
|
|
6c4be0a29a | ||
|
|
45b73845d5 | ||
|
|
8173631f17 | ||
|
|
c670286002 | ||
|
|
6b8e4763e7 | ||
|
|
e268e5ab46 | ||
|
|
7a62fcc7db | ||
|
|
11573bda76 | ||
|
|
ae33b7ee8a | ||
|
|
34063f07ec | ||
|
|
a8a4e2b8b1 | ||
|
|
814aefd0c1 | ||
|
|
8a3f708383 | ||
|
|
ceb0f4897c | ||
|
|
597e23588a | ||
|
|
61dee71e3a | ||
|
|
f244c38393 | ||
|
|
900893454c | ||
|
|
2843ce6357 | ||
|
|
164d09c5a6 | ||
|
|
a81353cabb | ||
|
|
b585087534 | ||
|
|
adab80bfe5 | ||
|
|
8e7a3d837e | ||
|
|
f5530f4905 | ||
|
|
7321c84e48 | ||
|
|
dbc9679e93 | ||
|
|
aa8bdcbeff | ||
|
|
24111d70d6 | ||
|
|
918faa12ec | ||
|
|
67493ea858 | ||
|
|
14a20a715c | ||
|
|
5d0be86675 | ||
|
|
4c74132530 | ||
|
|
7251d2309b | ||
|
|
0c5a45b423 | ||
|
|
21ffcc7614 | ||
|
|
a7288a2712 | ||
|
|
7d68b3bd60 | ||
|
|
814a292394 | ||
|
|
159989762d | ||
|
|
36fde3ec41 | ||
|
|
2e71db8625 | ||
|
|
e7c7da790f | ||
|
|
3a000bd536 | ||
|
|
db2b57fd14 | ||
|
|
724db5b366 | ||
|
|
e851afed41 | ||
|
|
233882aa2b | ||
|
|
9ff3bd4b3d | ||
|
|
41159b9b78 | ||
|
|
1ac81a48bc | ||
|
|
81819baccb | ||
|
|
ae3d571f28 | ||
|
|
bbf54c833d | ||
|
|
44c42244aa | ||
|
|
800056c5d5 | ||
|
|
15420045f6 | ||
|
|
f3057de84d | ||
|
|
b8cbfa1437 | ||
|
|
746e85779b | ||
|
|
4689b0e62c | ||
|
|
e7c3920f9e | ||
|
|
353bd874f2 | ||
|
|
a587b90f98 | ||
|
|
a1934f3d95 | ||
|
|
e5875d9052 | ||
|
|
7cdc415098 | ||
|
|
61ecacbdf3 | ||
|
|
bf6acb5e04 | ||
|
|
2cc3f0ace5 | ||
|
|
47bc5e11ec | ||
|
|
6f1ea750be | ||
|
|
1e898d9b61 | ||
|
|
0a764d7336 | ||
|
|
ff74447a23 | ||
|
|
c2f1b57a6c | ||
|
|
b9276bfe02 |
9
README
9
README
@@ -8,7 +8,13 @@ This layer depends on:
|
||||
|
||||
URI: git://git.openembedded.org/openembedded-core
|
||||
layers: meta
|
||||
branch: krogoth
|
||||
branch: master
|
||||
|
||||
|
||||
When not depending on meta-openembedded and not using systemd, you may need to
|
||||
mask few miscellaneous recipes requiring systemd, by adding this to local.conf:
|
||||
|
||||
BBMASK = "meta-ti/recipes-misc"
|
||||
|
||||
|
||||
The base BSP part of meta-ti should work with different OpenEmbedded/Yocto
|
||||
@@ -21,3 +27,4 @@ Please follow the recommended setup procedures of your OE distribution.
|
||||
Send pull requests, patches, comments or questions to meta-ti@yoctoproject.org
|
||||
|
||||
Maintainers: Denys Dmytriyenko <denys@ti.com>
|
||||
Koen Kooi <koen@dominion.thruhere.net>
|
||||
|
||||
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"
|
||||
@@ -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.gz 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 5100"
|
||||
MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 3836"
|
||||
|
||||
# do ubiattach /dev/ubi_ctrl -m 7 -O 2048
|
||||
# from dmesg:
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -1,37 +0,0 @@
|
||||
#@TYPE: Machine
|
||||
#@NAME: AM437x EVM
|
||||
#@DESCRIPTION: Machine configuration for the TI AM437x EVM
|
||||
|
||||
require conf/machine/include/ti43x.inc
|
||||
|
||||
# Use built-in LCD by default
|
||||
XSERVER += "xf86-input-tslib"
|
||||
MACHINE_GUI_CLASS = "smallscreen"
|
||||
MACHINE_FEATURES += "touchscreen"
|
||||
|
||||
IMAGE_FSTYPES += "ubifs ubi tar.gz tar.xz"
|
||||
|
||||
SERIAL_CONSOLE = ""
|
||||
SERIAL_CONSOLES = "115200;ttyS0 115200;ttyO0"
|
||||
SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
|
||||
|
||||
# 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 11 -O 4096
|
||||
# From dmesg:
|
||||
# UBI: smallest flash I/O unit: 4096
|
||||
# UBI: logical eraseblock size: 253952 bytes
|
||||
# from ubiattach stdout:
|
||||
# UBI device number 0, total 994 LEBs
|
||||
MKUBIFS_ARGS = "-F -m 4096 -e 253952 -c 2400"
|
||||
|
||||
# do ubiattach /dev/ubi_ctrl -m 11 -O 4096
|
||||
# from dmesg:
|
||||
# UBI: smallest flash I/O unit: 4096
|
||||
# UBI: physical eraseblock size: 262144 bytes (256 KiB)
|
||||
# UBI: sub-page size: 4096
|
||||
# UBI: VID header offset: 4096 (aligned 4096)
|
||||
UBINIZE_ARGS = "-m 4096 -p 256KiB -s 4096 -O 4096"
|
||||
@@ -1,7 +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"
|
||||
@@ -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 += "ubifs ubi tar.gz 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,7 +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"
|
||||
@@ -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,14 @@
|
||||
#@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 += "ubifs ubi tar.gz tar.xz"
|
||||
SERIAL_CONSOLE = "115200 ttyO0"
|
||||
|
||||
SERIAL_CONSOLE = ""
|
||||
SERIAL_CONSOLES = "115200;ttyS0 115200;ttyO0"
|
||||
SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
|
||||
PREFERRED_PROVIDER_virtual/bootloader = "u-boot-dra7xx"
|
||||
PREFERRED_PROVIDER_u-boot = "u-boot-dra7xx"
|
||||
|
||||
UBOOT_MACHINE = "dra7xx_evm_config"
|
||||
|
||||
@@ -25,7 +24,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 +33,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,7 +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"
|
||||
@@ -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,27 +1,23 @@
|
||||
SOC_FAMILY = "keystone"
|
||||
require conf/machine/include/soc-family.inc
|
||||
|
||||
DEFAULTTUNE ?= "cortexa15thf-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 = "r6"
|
||||
|
||||
KERNEL_IMAGETYPE = "zImage"
|
||||
KERNEL_IMAGETYPE = "uImage"
|
||||
|
||||
UBOOT_MACHINE = "tci6638_evm_config"
|
||||
|
||||
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"
|
||||
MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat"
|
||||
|
||||
@@ -1,17 +1,16 @@
|
||||
SOC_FAMILY = "omap-a15"
|
||||
require conf/machine/include/soc-family.inc
|
||||
|
||||
DEFAULTTUNE ?= "cortexa15thf-neon"
|
||||
require conf/machine/include/tune-cortexa15.inc
|
||||
|
||||
# Increase this everytime you change something in the kernel
|
||||
MACHINE_KERNEL_PR = "r7"
|
||||
MACHINE_KERNEL_PR = "r1"
|
||||
|
||||
PREFERRED_PROVIDER_virtual/kernel = "linux-ti-staging"
|
||||
PREFERRED_PROVIDER_virtual/bootloader = "u-boot-ti-staging"
|
||||
PREFERRED_PROVIDER_u-boot = "u-boot-ti-staging"
|
||||
|
||||
KERNEL_IMAGETYPE = "zImage"
|
||||
KERNEL_IMAGETYPE = "uImage"
|
||||
|
||||
UBOOT_ARCH = "arm"
|
||||
UBOOT_ENTRYPOINT = "0x80008000"
|
||||
@@ -24,11 +23,4 @@ XSERVER = "xserver-xorg \
|
||||
xf86-input-evdev \
|
||||
xf86-video-fbdev"
|
||||
|
||||
MACHINE_GUI_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"
|
||||
GUI_MACHINE_CLASS = "smallscreen"
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
SOC_FAMILY = "omap3"
|
||||
require conf/machine/include/soc-family.inc
|
||||
|
||||
DEFAULTTUNE ?= "cortexa8thf-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,23 +1,24 @@
|
||||
SOC_FAMILY = "omap4"
|
||||
require conf/machine/include/soc-family.inc
|
||||
|
||||
DEFAULTTUNE ?= "cortexa9thf-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 \
|
||||
xserver-xorg-extension-dri \
|
||||
xserver-xorg-extension-dri2 \
|
||||
xserver-xorg-extension-glx \
|
||||
xserver-xorg-module-exa \
|
||||
xf86-input-evdev \
|
||||
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 ?= "cortexa8thf-neon"
|
||||
require conf/machine/include/tune-cortexa8.inc
|
||||
|
||||
PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg"
|
||||
@@ -14,17 +13,17 @@ 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 = "r19"
|
||||
|
||||
# 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"
|
||||
|
||||
KERNEL_IMAGETYPE = "zImage"
|
||||
KERNEL_IMAGETYPE = "uImage"
|
||||
|
||||
UBOOT_ARCH = "arm"
|
||||
UBOOT_MACHINE = "am335x_evm_config"
|
||||
@@ -32,10 +31,6 @@ UBOOT_MACHINE = "am335x_evm_config"
|
||||
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"
|
||||
|
||||
# List common SoC features, may need to add touchscreen for specific machines
|
||||
|
||||
@@ -1,42 +0,0 @@
|
||||
SOC_FAMILY = "ti43x"
|
||||
require conf/machine/include/soc-family.inc
|
||||
|
||||
DEFAULTTUNE ?= "cortexa9thf-neon"
|
||||
require conf/machine/include/tune-cortexa9.inc
|
||||
|
||||
PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg"
|
||||
|
||||
# For built-in LCD, add xf86-input-tslib
|
||||
XSERVER = "xserver-xorg \
|
||||
xf86-input-evdev \
|
||||
xf86-input-mouse \
|
||||
xf86-video-fbdev \
|
||||
xf86-input-keyboard"
|
||||
|
||||
# Default to external video, change to smallscreen for built-in LCD
|
||||
MACHINE_GUI_CLASS = "bigscreen"
|
||||
|
||||
# Increase this everytime you change something in the kernel
|
||||
MACHINE_KERNEL_PR = "r3"
|
||||
|
||||
# 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"
|
||||
|
||||
KERNEL_IMAGETYPE = "zImage"
|
||||
|
||||
UBOOT_ARCH = "arm"
|
||||
UBOOT_MACHINE = "am43xx_evm_config"
|
||||
|
||||
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"
|
||||
|
||||
# List common SoC features, may need to add touchscreen for specific machines
|
||||
MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen alsa ethernet sgx"
|
||||
36
conf/machine/include/tune-cortexa15.inc
Normal file
36
conf/machine/include/tune-cortexa15.inc
Normal file
@@ -0,0 +1,36 @@
|
||||
DEFAULTTUNE ?= "armv7a-neon"
|
||||
|
||||
require conf/machine/include/arm/arch-armv7a.inc
|
||||
|
||||
TUNEVALID[cortexa15] = "Enable Cortex-A15 specific processor optimizations"
|
||||
TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "cortexa15", "-mtune=cortex-a15", "", d)}"
|
||||
|
||||
# Little Endian base configs
|
||||
AVAILTUNES += "cortexa15 cortexa15t cortexa15-neon cortexa15t-neon"
|
||||
ARMPKGARCH_tune-cortexa15 = "cortexa15"
|
||||
ARMPKGARCH_tune-cortexa15t = "cortexa15"
|
||||
ARMPKGARCH_tune-cortexa15-neon = "cortexa15"
|
||||
ARMPKGARCH_tune-cortexa15t-neon = "cortexa15"
|
||||
TUNE_FEATURES_tune-cortexa15 = "${TUNE_FEATURES_tune-armv7a} cortexa15"
|
||||
TUNE_FEATURES_tune-cortexa15t = "${TUNE_FEATURES_tune-armv7at} cortexa15"
|
||||
TUNE_FEATURES_tune-cortexa15-neon = "${TUNE_FEATURES_tune-armv7a-neon} cortexa15"
|
||||
TUNE_FEATURES_tune-cortexa15t-neon = "${TUNE_FEATURES_tune-armv7at-neon} cortexa15"
|
||||
PACKAGE_EXTRA_ARCHS_tune-cortexa15 = "${PACKAGE_EXTRA_ARCHS_tune-armv7a} cortexa15-vfp"
|
||||
PACKAGE_EXTRA_ARCHS_tune-cortexa15t = "${PACKAGE_EXTRA_ARCHS_tune-armv7at} cortexa15-vfp cortexa15t2-vfp"
|
||||
PACKAGE_EXTRA_ARCHS_tune-cortexa15-neon = "${PACKAGE_EXTRA_ARCHS_tune-armv7a-neon} cortexa15-vfp cortexa15-vfp-neon"
|
||||
PACKAGE_EXTRA_ARCHS_tune-cortexa15t-neon = "${PACKAGE_EXTRA_ARCHS_tune-armv7at-neon} cortexa15-vfp cortexa15-vfp-neon cortexa15t2-vfp cortexa15t2-vfp-neon"
|
||||
|
||||
# VFP Tunes
|
||||
AVAILTUNES += "cortexa15hf cortexa15thf cortexa15hf-neon cortexa15thf-neon"
|
||||
ARMPKGARCH_tune-cortexa15hf = "cortexa15"
|
||||
ARMPKGARCH_tune-cortexa15thf = "cortexa15"
|
||||
ARMPKGARCH_tune-cortexa15hf-neon = "cortexa15"
|
||||
ARMPKGARCH_tune-cortexa15thf-neon = "cortexa15"
|
||||
TUNE_FEATURES_tune-cortexa15hf ?= "${TUNE_FEATURES_tune-armv7ahf} cortexa15"
|
||||
TUNE_FEATURES_tune-cortexa15thf ?= "${TUNE_FEATURES_tune-armv7athf} cortexa15"
|
||||
TUNE_FEATURES_tune-cortexa15hf-neon ?= "${TUNE_FEATURES_tune-armv7ahf-neon} cortexa15"
|
||||
TUNE_FEATURES_tune-cortexa15thf-neon ?= "${TUNE_FEATURES_tune-armv7athf-neon} cortexa15"
|
||||
PACKAGE_EXTRA_ARCHS_tune-cortexa15hf = "${PACKAGE_EXTRA_ARCHS_tune-armv7ahf} cortexa15hf-vfp"
|
||||
PACKAGE_EXTRA_ARCHS_tune-cortexa15thf = "${PACKAGE_EXTRA_ARCHS_tune-armv7athf} cortexa15hf-vfp cortexa15t2hf-vfp"
|
||||
PACKAGE_EXTRA_ARCHS_tune-cortexa15hf-neon = "${PACKAGE_EXTRA_ARCHS_tune-armv7ahf-neon} cortexa15hf-vfp cortexa15hf-vfp-neon"
|
||||
PACKAGE_EXTRA_ARCHS_tune-cortexa15thf-neon = "${PACKAGE_EXTRA_ARCHS_tune-armv7athf-neon} cortexa15hf-vfp cortexa15hf-vfp-neon cortexa15t2hf-vfp cortexa15t2hf-vfp-neon"
|
||||
36
conf/machine/include/tune-cortexa7.inc
Normal file
36
conf/machine/include/tune-cortexa7.inc
Normal file
@@ -0,0 +1,36 @@
|
||||
DEFAULTTUNE ?= "armv7a-neon"
|
||||
|
||||
require conf/machine/include/arm/arch-armv7a.inc
|
||||
|
||||
TUNEVALID[cortexa7] = "Enable Cortex-A7 specific processor optimizations"
|
||||
TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "cortexa7", "-mtune=cortex-a7", "", d)}"
|
||||
|
||||
# Little Endian base configs
|
||||
AVAILTUNES += "cortexa7 cortexa7t cortexa7-neon cortexa7t-neon"
|
||||
ARMPKGARCH_tune-cortexa7 = "cortexa7"
|
||||
ARMPKGARCH_tune-cortexa7t = "cortexa7"
|
||||
ARMPKGARCH_tune-cortexa7-neon = "cortexa7"
|
||||
ARMPKGARCH_tune-cortexa7t-neon = "cortexa7"
|
||||
TUNE_FEATURES_tune-cortexa7 = "${TUNE_FEATURES_tune-armv7a} cortexa7"
|
||||
TUNE_FEATURES_tune-cortexa7t = "${TUNE_FEATURES_tune-armv7at} cortexa7"
|
||||
TUNE_FEATURES_tune-cortexa7-neon = "${TUNE_FEATURES_tune-armv7a-neon} cortexa7"
|
||||
TUNE_FEATURES_tune-cortexa7t-neon = "${TUNE_FEATURES_tune-armv7at-neon} cortexa7"
|
||||
PACKAGE_EXTRA_ARCHS_tune-cortexa7 = "${PACKAGE_EXTRA_ARCHS_tune-armv7a} cortexa7-vfp"
|
||||
PACKAGE_EXTRA_ARCHS_tune-cortexa7t = "${PACKAGE_EXTRA_ARCHS_tune-armv7at} cortexa7-vfp cortexa7t2-vfp"
|
||||
PACKAGE_EXTRA_ARCHS_tune-cortexa7-neon = "${PACKAGE_EXTRA_ARCHS_tune-armv7a-neon} cortexa7-vfp cortexa7-vfp-neon"
|
||||
PACKAGE_EXTRA_ARCHS_tune-cortexa7t-neon = "${PACKAGE_EXTRA_ARCHS_tune-armv7at-neon} cortexa7-vfp cortexa7-vfp-neon cortexa7t2-vfp cortexa7t2-vfp-neon"
|
||||
|
||||
# VFP Tunes
|
||||
AVAILTUNES += "cortexa7hf cortexa7thf cortexa7hf-neon cortexa7thf-neon"
|
||||
ARMPKGARCH_tune-cortexa7hf = "cortexa7"
|
||||
ARMPKGARCH_tune-cortexa7thf = "cortexa7"
|
||||
ARMPKGARCH_tune-cortexa7hf-neon = "cortexa7"
|
||||
ARMPKGARCH_tune-cortexa7thf-neon = "cortexa7"
|
||||
TUNE_FEATURES_tune-cortexa7hf ?= "${TUNE_FEATURES_tune-armv7ahf} cortexa7"
|
||||
TUNE_FEATURES_tune-cortexa7thf ?= "${TUNE_FEATURES_tune-armv7athf} cortexa7"
|
||||
TUNE_FEATURES_tune-cortexa7hf-neon ?= "${TUNE_FEATURES_tune-armv7ahf-neon} cortexa7"
|
||||
TUNE_FEATURES_tune-cortexa7thf-neon ?= "${TUNE_FEATURES_tune-armv7athf-neon} cortexa7"
|
||||
PACKAGE_EXTRA_ARCHS_tune-cortexa7hf = "${PACKAGE_EXTRA_ARCHS_tune-armv7ahf} cortexa7hf-vfp"
|
||||
PACKAGE_EXTRA_ARCHS_tune-cortexa7thf = "${PACKAGE_EXTRA_ARCHS_tune-armv7athf} cortexa7hf-vfp cortexa7t2hf-vfp"
|
||||
PACKAGE_EXTRA_ARCHS_tune-cortexa7hf-neon = "${PACKAGE_EXTRA_ARCHS_tune-armv7ahf-neon} cortexa7hf-vfp cortexa7hf-vfp-neon"
|
||||
PACKAGE_EXTRA_ARCHS_tune-cortexa7thf-neon = "${PACKAGE_EXTRA_ARCHS_tune-armv7athf-neon} cortexa7hf-vfp cortexa7hf-vfp-neon cortexa7t2hf-vfp cortexa7t2hf-vfp-neon"
|
||||
36
conf/machine/include/tune-cortexa8.inc
Normal file
36
conf/machine/include/tune-cortexa8.inc
Normal file
@@ -0,0 +1,36 @@
|
||||
DEFAULTTUNE ?= "armv7a-neon"
|
||||
|
||||
require conf/machine/include/arm/arch-armv7a.inc
|
||||
|
||||
TUNEVALID[cortexa8] = "Enable Cortex-A8 specific processor optimizations"
|
||||
TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "cortexa8", "-mtune=cortex-a8", "", d)}"
|
||||
|
||||
# Little Endian base configs
|
||||
AVAILTUNES += "cortexa8 cortexa8t cortexa8-neon cortexa8t-neon"
|
||||
ARMPKGARCH_tune-cortexa8 = "cortexa8"
|
||||
ARMPKGARCH_tune-cortexa8t = "cortexa8"
|
||||
ARMPKGARCH_tune-cortexa8-neon = "cortexa8"
|
||||
ARMPKGARCH_tune-cortexa8t-neon = "cortexa8"
|
||||
TUNE_FEATURES_tune-cortexa8 = "${TUNE_FEATURES_tune-armv7a} cortexa8"
|
||||
TUNE_FEATURES_tune-cortexa8t = "${TUNE_FEATURES_tune-armv7at} cortexa8"
|
||||
TUNE_FEATURES_tune-cortexa8-neon = "${TUNE_FEATURES_tune-armv7a-neon} cortexa8"
|
||||
TUNE_FEATURES_tune-cortexa8t-neon = "${TUNE_FEATURES_tune-armv7at-neon} cortexa8"
|
||||
PACKAGE_EXTRA_ARCHS_tune-cortexa8 = "${PACKAGE_EXTRA_ARCHS_tune-armv7a} cortexa8-vfp"
|
||||
PACKAGE_EXTRA_ARCHS_tune-cortexa8t = "${PACKAGE_EXTRA_ARCHS_tune-armv7at} cortexa8-vfp cortexa8t2-vfp"
|
||||
PACKAGE_EXTRA_ARCHS_tune-cortexa8-neon = "${PACKAGE_EXTRA_ARCHS_tune-armv7a-neon} cortexa8-vfp cortexa8-vfp-neon"
|
||||
PACKAGE_EXTRA_ARCHS_tune-cortexa8t-neon = "${PACKAGE_EXTRA_ARCHS_tune-armv7at-neon} cortexa8-vfp cortexa8-vfp-neon cortexa8t2-vfp cortexa8t2-vfp-neon"
|
||||
|
||||
# VFP Tunes
|
||||
AVAILTUNES += "cortexa8hf cortexa8thf cortexa8hf-neon cortexa8thf-neon"
|
||||
ARMPKGARCH_tune-cortexa8hf = "cortexa8"
|
||||
ARMPKGARCH_tune-cortexa8thf = "cortexa8"
|
||||
ARMPKGARCH_tune-cortexa8hf-neon = "cortexa8"
|
||||
ARMPKGARCH_tune-cortexa8thf-neon = "cortexa8"
|
||||
TUNE_FEATURES_tune-cortexa8hf ?= "${TUNE_FEATURES_tune-armv7ahf} cortexa8"
|
||||
TUNE_FEATURES_tune-cortexa8thf ?= "${TUNE_FEATURES_tune-armv7athf} cortexa8"
|
||||
TUNE_FEATURES_tune-cortexa8hf-neon ?= "${TUNE_FEATURES_tune-armv7ahf-neon} cortexa8"
|
||||
TUNE_FEATURES_tune-cortexa8thf-neon ?= "${TUNE_FEATURES_tune-armv7athf-neon} cortexa8"
|
||||
PACKAGE_EXTRA_ARCHS_tune-cortexa8hf = "${PACKAGE_EXTRA_ARCHS_tune-armv7ahf} cortexa8hf-vfp"
|
||||
PACKAGE_EXTRA_ARCHS_tune-cortexa8thf = "${PACKAGE_EXTRA_ARCHS_tune-armv7athf} cortexa8hf-vfp cortexa8t2hf-vfp"
|
||||
PACKAGE_EXTRA_ARCHS_tune-cortexa8hf-neon = "${PACKAGE_EXTRA_ARCHS_tune-armv7ahf-neon} cortexa8hf-vfp cortexa8hf-vfp-neon"
|
||||
PACKAGE_EXTRA_ARCHS_tune-cortexa8thf-neon = "${PACKAGE_EXTRA_ARCHS_tune-armv7athf-neon} cortexa8hf-vfp cortexa8hf-vfp-neon cortexa8t2hf-vfp cortexa8t2hf-vfp-neon"
|
||||
36
conf/machine/include/tune-cortexa9.inc
Normal file
36
conf/machine/include/tune-cortexa9.inc
Normal file
@@ -0,0 +1,36 @@
|
||||
DEFAULTTUNE ?= "armv7a-neon"
|
||||
|
||||
require conf/machine/include/arm/arch-armv7a.inc
|
||||
|
||||
TUNEVALID[cortexa9] = "Enable Cortex-A9 specific processor optimizations"
|
||||
TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "cortexa9", "-mtune=cortex-a9", "", d)}"
|
||||
|
||||
# Little Endian base configs
|
||||
AVAILTUNES += "cortexa9 cortexa9t cortexa9-neon cortexa9t-neon"
|
||||
ARMPKGARCH_tune-cortexa9 = "cortexa9"
|
||||
ARMPKGARCH_tune-cortexa9t = "cortexa9"
|
||||
ARMPKGARCH_tune-cortexa9-neon = "cortexa9"
|
||||
ARMPKGARCH_tune-cortexa9t-neon = "cortexa9"
|
||||
TUNE_FEATURES_tune-cortexa9 = "${TUNE_FEATURES_tune-armv7a} cortexa9"
|
||||
TUNE_FEATURES_tune-cortexa9t = "${TUNE_FEATURES_tune-armv7at} cortexa9"
|
||||
TUNE_FEATURES_tune-cortexa9-neon = "${TUNE_FEATURES_tune-armv7a-neon} cortexa9"
|
||||
TUNE_FEATURES_tune-cortexa9t-neon = "${TUNE_FEATURES_tune-armv7at-neon} cortexa9"
|
||||
PACKAGE_EXTRA_ARCHS_tune-cortexa9 = "${PACKAGE_EXTRA_ARCHS_tune-armv7a} cortexa9-vfp"
|
||||
PACKAGE_EXTRA_ARCHS_tune-cortexa9t = "${PACKAGE_EXTRA_ARCHS_tune-armv7at} cortexa9-vfp cortexa9t2-vfp"
|
||||
PACKAGE_EXTRA_ARCHS_tune-cortexa9-neon = "${PACKAGE_EXTRA_ARCHS_tune-armv7a-neon} cortexa9-vfp cortexa9-vfp-neon"
|
||||
PACKAGE_EXTRA_ARCHS_tune-cortexa9t-neon = "${PACKAGE_EXTRA_ARCHS_tune-armv7at-neon} cortexa9-vfp cortexa9-vfp-neon cortexa9t2-vfp cortexa9t2-vfp-neon"
|
||||
|
||||
# VFP Tunes
|
||||
AVAILTUNES += "cortexa9hf cortexa9thf cortexa9hf-neon cortexa9thf-neon"
|
||||
ARMPKGARCH_tune-cortexa9hf = "cortexa9"
|
||||
ARMPKGARCH_tune-cortexa9thf = "cortexa9"
|
||||
ARMPKGARCH_tune-cortexa9hf-neon = "cortexa9"
|
||||
ARMPKGARCH_tune-cortexa9thf-neon = "cortexa9"
|
||||
TUNE_FEATURES_tune-cortexa9hf ?= "${TUNE_FEATURES_tune-armv7ahf} cortexa9"
|
||||
TUNE_FEATURES_tune-cortexa9thf ?= "${TUNE_FEATURES_tune-armv7athf} cortexa9"
|
||||
TUNE_FEATURES_tune-cortexa9hf-neon ?= "${TUNE_FEATURES_tune-armv7ahf-neon} cortexa9"
|
||||
TUNE_FEATURES_tune-cortexa9thf-neon ?= "${TUNE_FEATURES_tune-armv7athf-neon} cortexa9"
|
||||
PACKAGE_EXTRA_ARCHS_tune-cortexa9hf = "${PACKAGE_EXTRA_ARCHS_tune-armv7ahf} cortexa9hf-vfp"
|
||||
PACKAGE_EXTRA_ARCHS_tune-cortexa9thf = "${PACKAGE_EXTRA_ARCHS_tune-armv7athf} cortexa9hf-vfp cortexa9t2hf-vfp"
|
||||
PACKAGE_EXTRA_ARCHS_tune-cortexa9hf-neon = "${PACKAGE_EXTRA_ARCHS_tune-armv7ahf-neon} cortexa9hf-vfp cortexa9hf-vfp-neon"
|
||||
PACKAGE_EXTRA_ARCHS_tune-cortexa9thf-neon = "${PACKAGE_EXTRA_ARCHS_tune-armv7athf-neon} cortexa9hf-vfp cortexa9hf-vfp-neon cortexa9t2hf-vfp cortexa9t2hf-vfp-neon"
|
||||
@@ -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/keystone.inc
|
||||
|
||||
MACHINE_FEATURES += "alsa opencl"
|
||||
|
||||
UBOOT_MACHINE = "k2g_evm_config"
|
||||
|
||||
BOOT_MONITOR_MAKE_TARGET = "k2g"
|
||||
|
||||
IMAGE_FSTYPES += "ubifs ubi tar.gz tar.xz cpio"
|
||||
|
||||
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,34 +0,0 @@
|
||||
#@TYPE: Machine
|
||||
#@NAME: Keystone 2 K2HK machine
|
||||
#@DESCRIPTION: Machine configuration for the TI Keystone 2 K2HK EVM
|
||||
|
||||
require conf/machine/include/keystone.inc
|
||||
|
||||
MACHINE_FEATURES += "opencl"
|
||||
|
||||
UBOOT_MACHINE = "k2hk_evm_config"
|
||||
|
||||
BOOT_MONITOR_MAKE_TARGET = "k2hk"
|
||||
|
||||
IMAGE_FSTYPES += "ubifs ubi tar.gz tar.xz cpio"
|
||||
|
||||
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: 2048
|
||||
# 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"
|
||||
|
||||
# do ubiattach /dev/ubi_ctrl -m 4
|
||||
# from dmesg:
|
||||
# UBI: smallest flash I/O unit: 2048
|
||||
# UBI: physical eraseblock size: 131072 bytes (128 KiB)
|
||||
# UBI: sub-page size: 2048
|
||||
UBINIZE_ARGS = "-m 2048 -p 128KiB -s 2048 -O 2048"
|
||||
@@ -1,34 +0,0 @@
|
||||
#@TYPE: Machine
|
||||
#@NAME: Keystone 2 K2L machine
|
||||
#@DESCRIPTION: Machine configuration for the TI Keystone 2 K2L EVM
|
||||
|
||||
require conf/machine/include/keystone.inc
|
||||
|
||||
MACHINE_FEATURES += "opencl"
|
||||
|
||||
UBOOT_MACHINE = "k2l_evm_config"
|
||||
|
||||
BOOT_MONITOR_MAKE_TARGET = "k2l"
|
||||
|
||||
IMAGE_FSTYPES += "ubifs ubi tar.gz tar.xz cpio"
|
||||
|
||||
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,20 +1,12 @@
|
||||
#@TYPE: Machine
|
||||
#@NAME: Keystone 2 K2E machine
|
||||
#@DESCRIPTION: Machine configuration for the TI Keystone 2 K2E EVM
|
||||
#@NAME: Keystone 2 machine
|
||||
#@DESCRIPTION: Machine configuration for the TI Keystone 2
|
||||
|
||||
require conf/machine/include/keystone.inc
|
||||
|
||||
MACHINE_FEATURES += "opencl"
|
||||
IMAGE_FSTYPES += "ubi tar.gz cpio"
|
||||
|
||||
UBOOT_MACHINE = "k2e_evm_config"
|
||||
|
||||
BOOT_MONITOR_MAKE_TARGET = "k2e"
|
||||
|
||||
IMAGE_FSTYPES += "ubifs ubi tar.gz tar.xz cpio"
|
||||
|
||||
SERIAL_CONSOLE = ""
|
||||
SERIAL_CONSOLES = "115200;ttyS0 115200;ttyO0"
|
||||
SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
|
||||
SERIAL_CONSOLE = "115200 ttyS0"
|
||||
|
||||
SYSVINIT_ENABLED_GETTYS = ""
|
||||
|
||||
@@ -23,8 +15,9 @@ SYSVINIT_ENABLED_GETTYS = ""
|
||||
# UBI: smallest flash I/O unit: 2048
|
||||
# UBI: logical eraseblock size: 126976 bytes
|
||||
# from ubiattach stdout:
|
||||
# UBI device number 0, total 3856 LEBs
|
||||
MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 3856"
|
||||
# UBI device number 0, total 857 LEBs
|
||||
# MKUBIFS_ARGS = "-m 2048 -e 129024 -c 857"
|
||||
MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 857"
|
||||
|
||||
# do ubiattach /dev/ubi_ctrl -m 4
|
||||
# from dmesg:
|
||||
@@ -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,23 +0,0 @@
|
||||
SUMMARY = "Firmware for OMAP4 and OMAP5 ABE"
|
||||
HOMEPAGE = "http://git.ti.com"
|
||||
LICENSE = "BSD | GPLv2"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=923db086ed9463ab3215b24d87e05ec5"
|
||||
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
COMPATIBLE_MACHINE = "pandaboard|omap5-evm"
|
||||
|
||||
SRC_URI = "git://git.ti.com/glsdk/abefw-omap4plus.git;protocol=git"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
SRCREV = "ceccc0332264e39bdc51e54f80ea7256a3886c58"
|
||||
|
||||
PR = "r0"
|
||||
|
||||
do_install() {
|
||||
mkdir -p ${D}/lib/firmware
|
||||
cp ${S}/firmware/omap4_abe_new ${D}/lib/firmware/
|
||||
}
|
||||
|
||||
FILES_${PN} += "/lib/firmware/omap4_abe_new"
|
||||
@@ -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,46 +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"
|
||||
BOOT_MONITOR_MAKE_TARGET ?= "all"
|
||||
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=25fe219a6febf6e5bb45beda1b2eb315"
|
||||
|
||||
COMPATIBLE_MACHINE = "keystone"
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
COMPATIBLE_MACHINE = "keystone-evm"
|
||||
|
||||
SRC_URI = "git://git.ti.com/processor-firmware/ks2-boot-monitor.git;protocol=git;branch=${BRANCH}"
|
||||
SRC_URI = "git://arago-project.org/git/projects/boot-monitor.git;protocol=git;branch=${BRANCH}"
|
||||
|
||||
PV = "3.0+git${SRCPV}"
|
||||
PR = "r1"
|
||||
PV = "1.0"
|
||||
PR = "r1+gitr${SRCPV}"
|
||||
|
||||
BRANCH = "master"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
SRCREV = "035329caed63abe7193c855ad5d561ae783b19d7"
|
||||
|
||||
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
|
||||
SRCREV = "DEV.MCSDK-03.00.00.07"
|
||||
|
||||
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,29 +0,0 @@
|
||||
DESCRIPTION = "Cortex-M3 binary blob for suspend-resume"
|
||||
|
||||
LICENSE = "TI-TSPA"
|
||||
LIC_FILES_CHKSUM = "file://License.txt;md5=7bdc54a749ab7a7dea999d25d99a41b8"
|
||||
|
||||
PV = "1.9.0"
|
||||
PR = "r1"
|
||||
PE = "1"
|
||||
|
||||
SRCREV = "d85e6a17da1025adac9ab7f97dd7aa2a58c517ce"
|
||||
BRANCH ?= "ti-v3.14.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"
|
||||
@@ -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.1"
|
||||
PR = "r3"
|
||||
|
||||
SRCREV = "97c2c32d0bc8ca0254710dcb5df055aa9a569ae6"
|
||||
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"
|
||||
@@ -1,14 +0,0 @@
|
||||
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"
|
||||
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,14 +0,0 @@
|
||||
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"
|
||||
|
||||
BRANCH ?= "lu-next"
|
||||
# This corresponds to version 4.11.00.00_eng
|
||||
SRCREV = "852e97b5584cbdb6aa0fdef02a7c4e245409bcb6"
|
||||
|
||||
PV = "4.11.00.00+git${SRCPV}"
|
||||
|
||||
SRC_URI = "git://git.ti.com/ipc/ludev.git;protocol=git;branch=${BRANCH}"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
@@ -1,13 +0,0 @@
|
||||
DESCRIPTION = "The cmem component supports contiguous memory allocation from userspace"
|
||||
|
||||
include cmem.inc
|
||||
|
||||
RDEPENDS_${PN} = "cmem-mod"
|
||||
|
||||
PR = "r0"
|
||||
|
||||
PACKAGES =+ "${PN}-test"
|
||||
|
||||
FILES_${PN}-test = "${bindir}/*"
|
||||
|
||||
inherit autotools
|
||||
@@ -1,22 +0,0 @@
|
||||
require common-csl-ip.inc
|
||||
PR = "${INC_PR}.3"
|
||||
|
||||
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-evm = "k2e"
|
||||
LIMSOCS_k2g-evm = "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 = "3.3.0.3C"
|
||||
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.03C"
|
||||
CSL_SRCREV = "ccd8dc29a5edce1a4d6409cb06b460bec6d3ecac"
|
||||
|
||||
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-evm = "k2e"
|
||||
XDCARGS_k2l-evm = "k2l"
|
||||
XDCARGS_k2g-evm = "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-evm = "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 = "3b9cea492f23d7dabb9ffa0e69631b858ba8e90a"
|
||||
|
||||
PV = "1.00.00.06"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
require recipes-ti/includes/ti-paths.inc
|
||||
require recipes-ti/includes/ti-staging.inc
|
||||
|
||||
PR = "r3"
|
||||
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-evm = "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.3.0
|
||||
SRCREV = "4d92879b632ba70402b61fa65cc58f5373eb5217"
|
||||
PV = "1.3.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}.1"
|
||||
|
||||
S = "${WORKDIR}/git/dsptop"
|
||||
|
||||
DEVICE = ""
|
||||
DEVICE_dra7xx = "DRA7xx"
|
||||
DEVICE_keystone = "C66AK2Hxx"
|
||||
|
||||
EXTRA_OEMAKE = "release DEVICE=${DEVICE} CROSS_COMPILE=${TARGET_PREFIX}"
|
||||
|
||||
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
|
||||
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,117 +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
|
||||
sourceipk_do_create_srcipk
|
||||
}
|
||||
|
||||
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_01_24"
|
||||
EDMA3_LLD_SRCREV = "e864a057032b070fc04628bac1345ecef01e2224"
|
||||
|
||||
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.01.24"
|
||||
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,3 @@
|
||||
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
|
||||
THISDIR := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}"
|
||||
FILESPATH =. "${@base_set_filespath(["${THISDIR}/${PN}"], d)}:"
|
||||
|
||||
|
||||
@@ -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-evm = "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.07"
|
||||
HPLIB_SRCREV = "74dde26bfcdeb248fae29eb883ac78db89263f9f"
|
||||
|
||||
BRANCH = "${HPLIB_GIT_BRANCH}"
|
||||
SRC_URI = "${HPLIB_GIT_URI};protocol=${HPLIB_GIT_PROTOCOL};branch=${BRANCH}"
|
||||
SRCREV = "${HPLIB_SRCREV}"
|
||||
|
||||
PV = "01.01.00.07+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-evm"
|
||||
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-evm = "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,35 +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://MMIP-${PV}-Manifest.doc;md5=81f4b23808c36c9223523f43e35d291c"
|
||||
|
||||
COMPATIBLE_MACHINE = "dra7xx"
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
RDEPENDS_${PN} = " libdce"
|
||||
|
||||
SRC_URI = "http://downloads.ti.com/infotainment/esd/jacinto6/glsdk/ipumm/3_00_08_02/exports/ipumm-dra7xx-evm-${PV}.tar.gz;protocol=http"
|
||||
|
||||
SRC_URI[md5sum] = "53f47909c2e2575b188bba9ddc325437"
|
||||
SRC_URI[sha256sum] = "4ac7598bbbb5dd0cd6504906afe0e09d76ba612a3c326e45425e67535e5f2d09"
|
||||
|
||||
S = "${WORKDIR}/ipumm-dra7xx-evm-${PV}"
|
||||
|
||||
TARGET = "dra7-ipu2-fw.xem4"
|
||||
|
||||
do_install() {
|
||||
mkdir -p ${D}${base_libdir}/firmware
|
||||
cp ${S}/firmware/${TARGET} ${D}${base_libdir}/firmware/${TARGET}
|
||||
}
|
||||
|
||||
FILES_${PN} += "${base_libdir}/firmware/${TARGET}"
|
||||
|
||||
PR = "r2"
|
||||
@@ -1,69 +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=036f6300761559fbc5ce7d06e1ccea5a"
|
||||
|
||||
COMPATIBLE_MACHINE = "dra7xx"
|
||||
|
||||
RDEPENDS_${PN} = " libdce"
|
||||
|
||||
SRC_URI = "git://git.ti.com/ivimm/ipumm.git;protocol=git"
|
||||
|
||||
SRCREV = "1627fec802da688fe44c6b0cac43ff811b08f064"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
PV = "3.00.10.01"
|
||||
|
||||
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"
|
||||
|
||||
do_install() {
|
||||
install -d ${D}${base_libdir}/firmware
|
||||
install -m 0644 ${S}/${TARGET} ${D}${base_libdir}/firmware/${TARGET}.${BPN}
|
||||
}
|
||||
|
||||
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/*"
|
||||
|
||||
PR = "r1"
|
||||
@@ -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-evm = "k2e"
|
||||
DEVICELIST_k2l-evm = "k2l"
|
||||
DEVICELIST_k2g-evm = "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-evm"
|
||||
|
||||
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.10A"
|
||||
NWAL_LLD_SRCREV = "e7ed8c5abc4b93b99a5f45699eef8f3b8ca51d1e"
|
||||
|
||||
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.10"
|
||||
INC_PR = "r1"
|
||||
|
||||
BASEDIR = "${WORKDIR}/git"
|
||||
S = "${BASEDIR}/ti/drv/nwal"
|
||||
|
||||
DEVICELIST_k2hk-evm = "k2h k2k"
|
||||
DEVICELIST_k2l-evm = "k2l"
|
||||
DEVICELIST_k2e-evm = "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,30 +0,0 @@
|
||||
From 60a938e6902c7cb8bec34abbc5a3723c8094d728 Mon Sep 17 00:00:00 2001
|
||||
From: Denys Dmytriyenko <denys@ti.com>
|
||||
Date: Tue, 1 Dec 2015 00:00:00 -0500
|
||||
Subject: [PATCH] makefile_armv7: fix missing separator error
|
||||
|
||||
Doesn't seem to work in all versions of Make, fails like this:
|
||||
makefile_armv7:27: *** missing separator. Stop.
|
||||
|
||||
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
|
||||
---
|
||||
makefile_armv7 | 3 ---
|
||||
1 file changed, 3 deletions(-)
|
||||
|
||||
diff --git a/makefile_armv7 b/makefile_armv7
|
||||
index a2bc4f6..1ae6e0a 100644
|
||||
--- a/makefile_armv7
|
||||
+++ b/makefile_armv7
|
||||
@@ -24,9 +24,6 @@ else
|
||||
export LLD_NAME=pa
|
||||
endif
|
||||
|
||||
-echo DEVICE=$(DEVICE)
|
||||
-echo LLD_NAME=$(LLD_NAME)
|
||||
-
|
||||
# Output for prebuilt generated libraries
|
||||
export ARMV7LIBDIR ?= ./lib
|
||||
export ARMV7OBJDIR ?= ./obj/$(DEVICE)
|
||||
--
|
||||
2.2.0
|
||||
|
||||
@@ -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,33 +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.01.12"
|
||||
PA_LLD_SRCREV = "d3f3f5d93d3febc24099974bbc77e67c80a83b1e"
|
||||
|
||||
BRANCH = "${PA_LLD_GIT_BRANCH}"
|
||||
SRC_URI = "${PA_LLD_GIT_URI};destsuffix=${PA_LLD_GIT_DESTSUFFIX};protocol=${PA_LLD_GIT_PROTOCOL};branch=${BRANCH} \
|
||||
file://0001-makefile_armv7-fix-missing-separator-error.patch"
|
||||
SRCREV = "${PA_LLD_SRCREV}"
|
||||
|
||||
PV = "03.00.01.12"
|
||||
INC_PR = "r2"
|
||||
|
||||
S = "${WORKDIR}/${PA_LLD_GIT_DESTSUFFIX}"
|
||||
|
||||
DEVICELIST = "k2h k2k k2l k2e"
|
||||
DEVICELIST_k2hk-evm = "k2h k2k"
|
||||
DEVICELIST_k2l-evm = "k2l"
|
||||
DEVICELIST_k2e-evm = "k2e"
|
||||
|
||||
LIBPA = "libpa"
|
||||
LIBPA_k2hk-evm = "libpa"
|
||||
LIBPA_k2e-evm = "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-evm = "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,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@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;
|
||||
45
recipes-bsp/powervr-drivers/omap3-sgx-modules_1.6.16.3977.bb
Normal file
45
recipes-bsp/powervr-drivers/omap3-sgx-modules_1.6.16.3977.bb
Normal file
@@ -0,0 +1,45 @@
|
||||
DESCRIPTION = "Kernel drivers for the PowerVR SGX chipset found in the omap3 SoCs"
|
||||
LICENSE = "GPLv2"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=21228a42e27d1d104b31a83f7c9da935"
|
||||
|
||||
TI_BIN_UNPK_CMDS="Y: qY:workdir:Y"
|
||||
require ../../recipes-ti/includes/ti-eula-unpack.inc
|
||||
|
||||
SGXPV = "4_03_00_02"
|
||||
IMGPV = "1.6.16.3977"
|
||||
BINFILE := "Graphics_SDK_setuplinux_${SGXPV}.bin"
|
||||
|
||||
inherit module
|
||||
|
||||
MACHINE_KERNEL_PR_append = "b"
|
||||
PR = "${MACHINE_KERNEL_PR}"
|
||||
|
||||
SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/gfxsdk/${SGXPV}/exports/${BINFILE} \
|
||||
file://Compile-fixes-for-38-kernel.patch \
|
||||
file://kernel-30.patch \
|
||||
"
|
||||
SRC_URI[md5sum] = "ff8c1f2b8e4cb42f4ced6a613b081ada"
|
||||
SRC_URI[sha256sum] = "cdb0bd3964e107733d632aa8224e0537b05c1ffac34befc036423458c8d75255"
|
||||
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_ti816x = "ti81xx"
|
||||
|
||||
MODULESLOCATION_omap3 = "dc_omap3430_linux"
|
||||
MODULESLOCATION_ti816x = "dc_ti81xx_linux"
|
||||
|
||||
MAKE_TARGETS = " BUILD=${PVRBUILD} TI_PLATFORM=${TI_PLATFORM}"
|
||||
|
||||
do_install() {
|
||||
mkdir -p ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/gpu/pvr
|
||||
cp ${S}/pvrsrvkm.ko \
|
||||
${S}/services4/3rdparty/${MODULESLOCATION}/omaplfb.ko \
|
||||
${S}/services4/3rdparty/bufferclass_ti/bufferclass_ti.ko \
|
||||
${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/gpu/pvr
|
||||
}
|
||||
46
recipes-bsp/powervr-drivers/omap3-sgx-modules_4.05.00.03.bb
Normal file
46
recipes-bsp/powervr-drivers/omap3-sgx-modules_4.05.00.03.bb
Normal file
@@ -0,0 +1,46 @@
|
||||
DESCRIPTION = "Kernel drivers for the PowerVR SGX chipset found in the omap3 SoCs"
|
||||
LICENSE = "GPLv2"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=21228a42e27d1d104b31a83f7c9da935"
|
||||
|
||||
TI_BIN_UNPK_CMDS="Y: qY:workdir:Y"
|
||||
require ../../recipes-ti/includes/ti-eula-unpack.inc
|
||||
|
||||
SGXPV = "4_05_00_03"
|
||||
BINFILE := "Graphics_SDK_setuplinux_${SGXPV}.bin"
|
||||
|
||||
inherit module
|
||||
|
||||
MACHINE_KERNEL_PR_append = "b"
|
||||
PR = "${MACHINE_KERNEL_PR}"
|
||||
|
||||
SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/gfxsdk/${SGXPV}/exports/Graphics_SDK_setuplinux_${SGXPV}.bin \
|
||||
"
|
||||
SRC_URI[md5sum] = "0e651eaa92bb91760f0b40a17697a7dc"
|
||||
SRC_URI[sha256sum] = "bfe764a8959556195545d6fff76f63a489642f345c105bbbc309a3f243c2dd0e"
|
||||
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"
|
||||
|
||||
MAKE_TARGETS = " BUILD=${PVRBUILD} TI_PLATFORM=${TI_PLATFORM}"
|
||||
|
||||
do_install() {
|
||||
mkdir -p ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/gpu/pvr
|
||||
cp ${S}/pvrsrvkm.ko \
|
||||
${S}/services4/3rdparty/${MODULESLOCATION}/omaplfb.ko \
|
||||
${S}/services4/3rdparty/bufferclass_ti/bufferclass_ti.ko \
|
||||
${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/gpu/pvr
|
||||
}
|
||||
56
recipes-bsp/powervr-drivers/omap3-sgx-modules_4.08.00.01.bb
Normal file
56
recipes-bsp/powervr-drivers/omap3-sgx-modules_4.08.00.01.bb
Normal file
@@ -0,0 +1,56 @@
|
||||
DESCRIPTION = "Kernel drivers for the PowerVR SGX chipset found in the omap3 SoCs"
|
||||
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_08_00_01"
|
||||
IMGPV = "1.9.2139099"
|
||||
BINFILE = "Graphics_SDK_setuplinux_${SGXPV}.bin"
|
||||
|
||||
inherit module
|
||||
|
||||
MACHINE_KERNEL_PR_append = "a"
|
||||
PR = "${MACHINE_KERNEL_PR}"
|
||||
|
||||
DEFAULT_PREFERENCE = "-1"
|
||||
|
||||
SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/gfxsdk/${SGXPV}/exports/${BINFILE}"
|
||||
|
||||
SRC_URI[md5sum] = "dd0d994a48ecc4293f272a1fddddf159"
|
||||
SRC_URI[sha256sum] = "fd721288c95314e0d676dd89462e1dec994e185cb608bcb8ac4a4b5809f9693a"
|
||||
|
||||
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 ?= "${@base_contains('DISTRO_FEATURES', 'x11', '1', '0', d)}"
|
||||
|
||||
MAKE_TARGETS = " 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/${MODULESLOCATION}/omaplfb.ko \
|
||||
${S}/services4/3rdparty/bufferclass_ti/bufferclass_ti.ko \
|
||||
${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/gpu/pvr
|
||||
|
||||
if [ "${SUPPORT_XORG}" = "1" ]; then
|
||||
cp ${S}/services4/3rdparty/linux_drm/drm.ko ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/gpu/pvr
|
||||
fi
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user