mirror of
https://git.yoctoproject.org/meta-ti
synced 2026-01-12 09:30:21 +00:00
Compare commits
56 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7f9f383521 | ||
|
|
62d8e1e443 | ||
|
|
dae960a070 | ||
|
|
b32bde4782 | ||
|
|
01b57041a1 | ||
|
|
1d49f5ba19 | ||
|
|
ae96afbbb0 | ||
|
|
544c6ee567 | ||
|
|
2ef919df5c | ||
|
|
64926476aa | ||
|
|
d35a191a91 | ||
|
|
3f07870e29 | ||
|
|
3414f851ac | ||
|
|
f4cc35d3ac | ||
|
|
9f7148c236 | ||
|
|
95e9cf6299 | ||
|
|
973138efa0 | ||
|
|
870a521c6b | ||
|
|
370ba3ef40 | ||
|
|
dc8fb1f257 | ||
|
|
1fdb503d8a | ||
|
|
8da73dfd14 | ||
|
|
8ebfd2afe9 | ||
|
|
41691840ea | ||
|
|
089bd2b7aa | ||
|
|
cd3dc72159 | ||
|
|
fb63adb28a | ||
|
|
ccfaad7d7b | ||
|
|
e615e05e0f | ||
|
|
fe1242c265 | ||
|
|
3b2ddaa0f3 | ||
|
|
22dd38e65c | ||
|
|
61a334523e | ||
|
|
f8f419d8dc | ||
|
|
df420fe6fd | ||
|
|
52011ad894 | ||
|
|
56e60917b2 | ||
|
|
eff601caff | ||
|
|
aa61e0a12b | ||
|
|
b7b8014c23 | ||
|
|
3bd7a48f0f | ||
|
|
ff0a5b8c4a | ||
|
|
3d7f21491e | ||
|
|
f9d860e068 | ||
|
|
9c103ce85a | ||
|
|
f95b2e51ea | ||
|
|
ced11b6121 | ||
|
|
f881dee736 | ||
|
|
463ddce7fe | ||
|
|
3efdcce639 | ||
|
|
2c590d9125 | ||
|
|
03b8defcdb | ||
|
|
020d9cdfb3 | ||
|
|
646ff9d602 | ||
|
|
7f25f16c99 | ||
|
|
5a053eb06a |
7
README
7
README
@@ -11,6 +11,12 @@ layers: meta
|
||||
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
|
||||
distributions and layer stacks, such as:
|
||||
distro-less (only with OE-Core), with Yocto/Poky, with Angstrom or Arago.
|
||||
@@ -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
|
||||
}
|
||||
@@ -7,16 +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 += " \
|
||||
omapdrm-pvr \
|
||||
omap5-sgx-ddk-um-linux \
|
||||
ti-ipc \
|
||||
cmem-mod \
|
||||
hplib-mod \
|
||||
gdbserverproxy-module-drv \
|
||||
debugss-module-drv \
|
||||
uio-module-drv \
|
||||
"
|
||||
|
||||
@@ -5,12 +5,15 @@
|
||||
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"
|
||||
|
||||
MACHINE_FEATURES = "kernel26 serial ethernet"
|
||||
|
||||
SERIAL_CONSOLE = "115200 ttyS2"
|
||||
|
||||
PREFERRED_PROVIDER_virtual/kernel = "linux-omapl138-psp"
|
||||
PREFERRED_PROVIDER_virtual/bootloader = "u-boot"
|
||||
|
||||
@@ -2,17 +2,21 @@
|
||||
#@NAME: AM335x EVM
|
||||
#@DESCRIPTION: Machine configuration for the TI AM335x EVM
|
||||
|
||||
require conf/machine/include/ti33x.inc
|
||||
PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg"
|
||||
XSERVER = "xserver-xorg \
|
||||
xf86-input-evdev \
|
||||
xf86-video-fbdev"
|
||||
|
||||
# Use built-in LCD by default
|
||||
XSERVER += "xf86-input-tslib"
|
||||
GUI_MACHINE_CLASS = "smallscreen"
|
||||
MACHINE_FEATURES += "touchscreen"
|
||||
|
||||
require conf/machine/include/ti33x.inc
|
||||
|
||||
IMAGE_FSTYPES += "ubi tar.gz"
|
||||
|
||||
SERIAL_CONSOLE = "115200 ttyO0"
|
||||
|
||||
PREFERRED_PROVIDER_virtual/kernel = "linux-ti33x-psp"
|
||||
|
||||
# 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
|
||||
@@ -24,7 +28,7 @@ SERIAL_CONSOLE = "115200 ttyO0"
|
||||
# UBI: logical eraseblock size: 126976 bytes
|
||||
# from ubiattach stdout:
|
||||
# UBI device number 0, total 1988 LEBs
|
||||
MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 4600"
|
||||
MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 1988"
|
||||
|
||||
# do ubiattach /dev/ubi_ctrl -m 7 -O 2048
|
||||
# from dmesg:
|
||||
@@ -33,3 +37,10 @@ MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 4600"
|
||||
# UBI: sub-page size: 512
|
||||
# UBI: VID header offset: 2048 (aligned 2048)
|
||||
UBINIZE_ARGS = "-m 2048 -p 128KiB -s 512 -O 2048"
|
||||
|
||||
PREFERRED_PROVIDER_virtual/bootloader = "u-boot"
|
||||
|
||||
UBOOT_ARCH = "arm"
|
||||
UBOOT_MACHINE = "am335x_evm_config"
|
||||
|
||||
MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen touchscreen"
|
||||
|
||||
@@ -2,12 +2,19 @@
|
||||
#@NAME: AM3517 EVM
|
||||
#@DESCRIPTION: Machine configuration for the TI Sitara AM3517 EVM
|
||||
|
||||
PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg"
|
||||
XSERVER = "xserver-xorg \
|
||||
xf86-input-evdev \
|
||||
xf86-input-mouse \
|
||||
xf86-input-tslib \
|
||||
xf86-video-omapfb \
|
||||
xf86-input-keyboard"
|
||||
|
||||
GUI_MACHINE_CLASS = "smallscreen"
|
||||
|
||||
require conf/machine/include/omap3.inc
|
||||
|
||||
# Use built-in LCD by default
|
||||
XSERVER += "xf86-input-tslib"
|
||||
GUI_MACHINE_CLASS = "smallscreen"
|
||||
MACHINE_FEATURES += "touchscreen ethernet"
|
||||
# Ship all kernel modules
|
||||
|
||||
IMAGE_FSTYPES += "ubi tar.gz"
|
||||
EXTRA_IMAGECMD_jffs2 = "-lnp -e 0x20000 -s 2048"
|
||||
@@ -15,10 +22,18 @@ 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"
|
||||
|
||||
UBOOT_ARCH = "arm"
|
||||
UBOOT_MACHINE = "am3517_evm_config"
|
||||
XLOAD_MACHINE = "am3517evm_config"
|
||||
|
||||
MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen touchscreen ethernet"
|
||||
|
||||
# NOTE: there are NAND and OneNAND versions of this board...
|
||||
|
||||
# do ubiattach /dev/ubi_ctrl -m 4
|
||||
# From dmesg:
|
||||
# UBI: smallest flash I/O unit: 2048
|
||||
@@ -33,3 +48,4 @@ MKUBIFS_ARGS = "-m 2048 -e 129024 -c 1996"
|
||||
# UBI: physical eraseblock size: 131072 bytes (128 KiB)
|
||||
# UBI: sub-page size: 512
|
||||
UBINIZE_ARGS = "-m 2048 -p 128KiB -s 512"
|
||||
|
||||
|
||||
@@ -2,19 +2,37 @@
|
||||
#@NAME: AM37x EVM
|
||||
#@DESCRIPTION: Machine configuration for the TI AM37x EVM
|
||||
|
||||
PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg"
|
||||
XSERVER = "xserver-xorg \
|
||||
xf86-input-evdev \
|
||||
xf86-input-mouse \
|
||||
xf86-input-tslib \
|
||||
xf86-video-omapfb \
|
||||
xf86-input-keyboard"
|
||||
|
||||
GUI_MACHINE_CLASS = "smallscreen"
|
||||
|
||||
require conf/machine/include/omap3.inc
|
||||
|
||||
# Use built-in LCD by default
|
||||
XSERVER += "xf86-input-tslib"
|
||||
GUI_MACHINE_CLASS = "smallscreen"
|
||||
MACHINE_FEATURES += "touchscreen ethernet"
|
||||
# Ship all kernel modules
|
||||
|
||||
IMAGE_FSTYPES += "ubi tar.gz"
|
||||
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"
|
||||
|
||||
UBOOT_ARCH = "arm"
|
||||
UBOOT_MACHINE = "omap3_evm_config"
|
||||
XLOAD_MACHINE = "omap3evm_config"
|
||||
|
||||
MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen touchscreen"
|
||||
|
||||
# NOTE: there are NAND and OneNAND versions of this board...
|
||||
|
||||
# do ubiattach /dev/ubi_ctrl -m 4
|
||||
# From dmesg:
|
||||
# UBI: smallest flash I/O unit: 2048
|
||||
@@ -29,3 +47,4 @@ MKUBIFS_ARGS = "-m 2048 -e 129024 -c 1996"
|
||||
# UBI: physical eraseblock size: 131072 bytes (128 KiB)
|
||||
# UBI: sub-page size: 512
|
||||
UBINIZE_ARGS = "-m 2048 -p 128KiB -s 512"
|
||||
|
||||
|
||||
7
conf/machine/am387x-evm.conf
Normal file
7
conf/machine/am387x-evm.conf
Normal file
@@ -0,0 +1,7 @@
|
||||
#@TYPE: Machine
|
||||
#@NAME: AM389x evm
|
||||
#@DESCRIPTION: Machine configuration for the AM389x evm
|
||||
|
||||
require conf/machine/include/ti814x.inc
|
||||
|
||||
IMAGE_FSTYPES += "ubi tar.gz"
|
||||
7
conf/machine/am389x-evm.conf
Normal file
7
conf/machine/am389x-evm.conf
Normal file
@@ -0,0 +1,7 @@
|
||||
#@TYPE: Machine
|
||||
#@NAME: am389x evm
|
||||
#@DESCRIPTION: Machine configuration for the am389x evm
|
||||
|
||||
require conf/machine/include/ti816x.inc
|
||||
|
||||
IMAGE_FSTYPES += "ubi tar.gz"
|
||||
@@ -1,35 +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"
|
||||
GUI_MACHINE_CLASS = "smallscreen"
|
||||
MACHINE_FEATURES += "touchscreen"
|
||||
|
||||
IMAGE_FSTYPES += "ubi tar.gz"
|
||||
|
||||
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
|
||||
# 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 2200"
|
||||
|
||||
# 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,34 +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 += "ubi tar.gz"
|
||||
|
||||
SERIAL_CONSOLE = "115200 ttyO2"
|
||||
|
||||
UBOOT_MACHINE = "beagle_x15_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 5120"
|
||||
|
||||
# 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"
|
||||
@@ -2,14 +2,27 @@
|
||||
#@NAME: Beagleboard machine
|
||||
#@DESCRIPTION: Machine configuration for the http://beagleboard.org/ board
|
||||
|
||||
require conf/machine/include/omap3.inc
|
||||
PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg"
|
||||
XSERVER = "xserver-xorg \
|
||||
xf86-input-evdev \
|
||||
xf86-input-mouse \
|
||||
xf86-video-omapfb \
|
||||
xf86-input-keyboard"
|
||||
|
||||
# Only has DVI connector for external screen
|
||||
GUI_MACHINE_CLASS = "bigscreen"
|
||||
|
||||
IMAGE_FSTYPES += "tar.gz ubi"
|
||||
EXTRA_IMAGECMD_jffs2 = "-lnp"
|
||||
require conf/machine/include/omap3.inc
|
||||
|
||||
# SPL build
|
||||
EXTRA_IMAGEDEPENDS = "u-boot"
|
||||
|
||||
PREFERRED_PROVIDER_virtual/kernel = "linux-mainline"
|
||||
|
||||
IMAGE_FSTYPES += "tar.gz ubi"
|
||||
EXTRA_IMAGECMD_jffs2 = "-lnp "
|
||||
|
||||
# Guesswork
|
||||
SERIAL_CONSOLE = "115200 ttyO2"
|
||||
|
||||
UBOOT_MACHINE = "omap3_beagle_config"
|
||||
@@ -31,6 +44,9 @@ MKUBIFS_ARGS = "-m 2048 -e 129024 -c 1996"
|
||||
# UBI: sub-page size: 512
|
||||
UBINIZE_ARGS = "-m 2048 -p 128KiB -s 512"
|
||||
|
||||
# and sdio
|
||||
MACHINE_FEATURES = "kernel26 screen apm usbgadget usbhost vfat alsa"
|
||||
|
||||
# For a modularized kernel we want to drag in networking, sound, rtc etc."
|
||||
MACHINE_EXTRA_RRECOMMENDS = "kernel-module-smsc95xx kernel-module-snd-soc-twl4030 kernel-module-rtc-twl \
|
||||
kernel-module-snd-soc-omap kernel-module-snd-soc-omap-mcbsp kernel-module-snd-soc-omap3beagle"
|
||||
|
||||
@@ -2,13 +2,25 @@
|
||||
#@NAME: BeagleBone machine
|
||||
#@DESCRIPTION: Machine configuration for the http://beagleboard.org/bone board
|
||||
|
||||
require conf/machine/include/ti33x.inc
|
||||
PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg"
|
||||
XSERVER = "xserver-xorg \
|
||||
xf86-input-evdev \
|
||||
xf86-video-fbdev"
|
||||
|
||||
# Only has DVI connector for external screen
|
||||
GUI_MACHINE_CLASS = "bigscreen"
|
||||
|
||||
IMAGE_FSTYPES += "tar.gz"
|
||||
require conf/machine/include/ti33x.inc
|
||||
EXTRA_IMAGEDEPENDS = "u-boot"
|
||||
|
||||
PREFERRED_PROVIDER_virtual/kernel = "linux-ti33x-psp"
|
||||
|
||||
IMAGE_FSTYPES += "tar.bz2 "
|
||||
|
||||
# Guesswork
|
||||
SERIAL_CONSOLE = "115200 ttyO0"
|
||||
|
||||
UBOOT_MACHINE = "am335x_boneblack_config"
|
||||
UBOOT_MACHINE = "am335x_evm_config"
|
||||
|
||||
# and sdio
|
||||
MACHINE_FEATURES = "kernel26 screen apm usbgadget usbhost vfat alsa"
|
||||
|
||||
5
conf/machine/c6a814x-evm.conf
Normal file
5
conf/machine/c6a814x-evm.conf
Normal file
@@ -0,0 +1,5 @@
|
||||
#@TYPE: Machine
|
||||
#@NAME: c6a814x evm
|
||||
#@DESCRIPTION: Machine configuration for the c6a814x evm
|
||||
|
||||
require conf/machine/include/ti814x.inc
|
||||
5
conf/machine/c6a816x-evm.conf
Normal file
5
conf/machine/c6a816x-evm.conf
Normal file
@@ -0,0 +1,5 @@
|
||||
#@TYPE: Machine
|
||||
#@NAME: c6a816x evm
|
||||
#@DESCRIPTION: Machine configuration for the c6a816x evm
|
||||
|
||||
require conf/machine/include/ti816x.inc
|
||||
5
conf/machine/dm814x-evm.conf
Normal file
5
conf/machine/dm814x-evm.conf
Normal file
@@ -0,0 +1,5 @@
|
||||
#@TYPE: Machine
|
||||
#@NAME: DM814x evm
|
||||
#@DESCRIPTION: Machine configuration for the DM814x evm
|
||||
|
||||
require conf/machine/include/ti814x.inc
|
||||
@@ -1,34 +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 += "ubi tar.gz"
|
||||
|
||||
SERIAL_CONSOLE = "115200 ttyO0"
|
||||
|
||||
UBOOT_MACHINE = "dra7xx_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 5120"
|
||||
|
||||
# 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"
|
||||
29
conf/machine/hawkboard.conf
Normal file
29
conf/machine/hawkboard.conf
Normal file
@@ -0,0 +1,29 @@
|
||||
#@TYPE: Machine
|
||||
#@NAME: OMAP-L138 based board
|
||||
#@DESCRIPTION: Machine configuration for the TI Hawkboard
|
||||
|
||||
require conf/machine/include/davinci.inc
|
||||
require conf/machine/include/omapl138.inc
|
||||
|
||||
UBOOT_MACHINE = "da850_omapl138_evm_config"
|
||||
UBOOT_ENTRYPOINT = "0xc0008000"
|
||||
UBOOT_LOADADDRESS = "0xc0008000"
|
||||
|
||||
MACHINE_FEATURES = "kernel26 serial ethernet ide screen"
|
||||
|
||||
# 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 971 LEBs (123293696 bytes, 117.6 MiB), available 958 LEBs (121643008 bytes, 116.0 MiB), LEB size 126976 bytes (124.0 KiB)
|
||||
MKUBIFS_ARGS = "-m 2048 -e 126976 -c 948"
|
||||
|
||||
# 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: 512
|
||||
UBINIZE_ARGS = "-m 2048 -p 128KiB -s 512"
|
||||
|
||||
SERIAL_CONSOLE = "115200 ttyS2"
|
||||
@@ -1,13 +1,14 @@
|
||||
require conf/machine/include/tune-arm926ejs.inc
|
||||
|
||||
# Increase this everytime you change something in the kernel
|
||||
MACHINE_KERNEL_PR = "r53"
|
||||
MACHINE_KERNEL_PR = "r52"
|
||||
|
||||
|
||||
KERNEL_IMAGETYPE = "uImage"
|
||||
|
||||
PREFERRED_PROVIDER_virtual/kernel = "linux-mainline"
|
||||
PREFERRED_PROVIDER_virtual/bootloader = "u-boot"
|
||||
PREFERRED_PROVIDER_virtual/kernel = "linux-davinci"
|
||||
|
||||
PREFERRED_PROVIDER_virtual/bootloader = "u-boot"
|
||||
UBOOT_MACHINE = "davinci_dvevm_config"
|
||||
|
||||
UBOOT_ENTRYPOINT = "0x80008000"
|
||||
@@ -18,4 +19,6 @@ EXTRA_IMAGEDEPENDS += "u-boot"
|
||||
SERIAL_CONSOLE ?= "115200 ttyS0"
|
||||
EXTRA_IMAGECMD_jffs2 = "--pad --little-endian --eraseblock=0x20000 -n"
|
||||
|
||||
#ROOT_FLASH_SIZE = "29"
|
||||
|
||||
MACHINE_FEATURES = "kernel26 serial ethernet usbhost usbgadget mmc alsa"
|
||||
|
||||
@@ -1,4 +0,0 @@
|
||||
require conf/machine/include/omap-a15.inc
|
||||
SOC_FAMILY_append = ":dra7xx"
|
||||
|
||||
MACHINE_FEATURES += "pci"
|
||||
@@ -1,27 +1,16 @@
|
||||
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"
|
||||
|
||||
# Increase this everytime you change something in the kernel
|
||||
MACHINE_KERNEL_PR = "r10"
|
||||
MACHINE_KERNEL_PR = "r5"
|
||||
|
||||
KERNEL_IMAGETYPE = "zImage"
|
||||
KERNEL_IMAGETYPE = "uImage"
|
||||
|
||||
UBOOT_ENTRYPOINT = "0x80008000"
|
||||
UBOOT_LOADADDRESS = "0x80008000"
|
||||
|
||||
# Use the expected value of the ubifs filesystem's volume name in the kernel
|
||||
# and u-boot.
|
||||
UBI_VOLNAME = "rootfs"
|
||||
|
||||
EXTRA_IMAGEDEPENDS += "u-boot"
|
||||
EXTRA_IMAGEDEPENDS += "boot-monitor"
|
||||
|
||||
MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat pci"
|
||||
MACHINE_FEATURES_BACKFILL_CONSIDERED = "rtc"
|
||||
|
||||
@@ -1,34 +0,0 @@
|
||||
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"
|
||||
|
||||
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_ENTRYPOINT = "0x80008000"
|
||||
UBOOT_LOADADDRESS = "0x80008000"
|
||||
|
||||
EXTRA_IMAGEDEPENDS += "virtual/bootloader"
|
||||
|
||||
PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg"
|
||||
XSERVER = "xserver-xorg \
|
||||
xf86-input-evdev \
|
||||
xf86-video-fbdev"
|
||||
|
||||
GUI_MACHINE_CLASS = "smallscreen"
|
||||
|
||||
# Use the expected value of the ubifs filesystem's volume name in the kernel
|
||||
# and u-boot.
|
||||
UBI_VOLNAME = "rootfs"
|
||||
|
||||
# List common SoC features, may need to add touchscreen for specific machines
|
||||
MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen alsa ethernet sgx mmip"
|
||||
@@ -1,39 +1,14 @@
|
||||
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"
|
||||
|
||||
# For built-in LCD, add xf86-input-tslib
|
||||
XSERVER = "xserver-xorg \
|
||||
xf86-input-evdev \
|
||||
xf86-input-mouse \
|
||||
xf86-video-omapfb \
|
||||
xf86-input-keyboard"
|
||||
|
||||
# Default to external video, change to smallscreen for built-in LCD
|
||||
GUI_MACHINE_CLASS = "bigscreen"
|
||||
|
||||
PREFERRED_PROVIDER_virtual/kernel = "linux-omap"
|
||||
# Increase this everytime you change something in the kernel
|
||||
MACHINE_KERNEL_PR = "r126"
|
||||
MACHINE_KERNEL_PR = "r123"
|
||||
|
||||
KERNEL_IMAGETYPE = "uImage"
|
||||
|
||||
# Default providers, may need to override for specific machines
|
||||
PREFERRED_PROVIDER_virtual/kernel = "linux-mainline"
|
||||
PREFERRED_PROVIDER_virtual/bootloader = "u-boot"
|
||||
|
||||
UBOOT_ARCH = "arm"
|
||||
UBOOT_MACHINE = "omap3_evm_config"
|
||||
XLOAD_MACHINE = "omap3evm_config"
|
||||
|
||||
UBOOT_ENTRYPOINT = "0x80008000"
|
||||
UBOOT_LOADADDRESS = "0x80008000"
|
||||
|
||||
# If SPL is not used, may need to add x-load
|
||||
EXTRA_IMAGEDEPENDS += "u-boot"
|
||||
|
||||
# List common SoC features, may need to add touchscreen/ethernet for specific machines
|
||||
MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen alsa sgx"
|
||||
EXTRA_IMAGEDEPENDS += "u-boot x-load"
|
||||
|
||||
@@ -1,24 +1,23 @@
|
||||
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_virtual/kernel = "linux-omap4"
|
||||
PREFERRED_PROVIDER_virtual/bootloader = "u-boot"
|
||||
|
||||
PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg"
|
||||
XSERVER = "xserver-xorg \
|
||||
xserver-xorg-module-exa \
|
||||
xserver-xorg-extension-dri \
|
||||
xserver-xorg-extension-dri2 \
|
||||
xserver-xorg-extension-glx \
|
||||
xf86-input-evdev \
|
||||
xf86-video-omap"
|
||||
xf86-video-fbdev"
|
||||
|
||||
# Increase this everytime you change something in the kernel
|
||||
MACHINE_KERNEL_PR = "r3"
|
||||
MACHINE_KERNEL_PR = "r1"
|
||||
|
||||
KERNEL_IMAGETYPE = "zImage"
|
||||
|
||||
UBOOT_MACHINE = "omap4_panda_config"
|
||||
KERNEL_IMAGETYPE = "uImage"
|
||||
|
||||
UBOOT_ENTRYPOINT = "0x80008000"
|
||||
UBOOT_LOADADDRESS = "0x80008000"
|
||||
|
||||
@@ -1,42 +1,14 @@
|
||||
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"
|
||||
|
||||
# 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
|
||||
GUI_MACHINE_CLASS = "bigscreen"
|
||||
|
||||
PREFERRED_PROVIDER_virtual/kernel = "linux-ti33x-psp"
|
||||
# Increase this everytime you change something in the kernel
|
||||
MACHINE_KERNEL_PR = "r22"
|
||||
MACHINE_KERNEL_PR = "r17"
|
||||
|
||||
# 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 = "am335x_evm_config"
|
||||
KERNEL_IMAGETYPE = "uImage"
|
||||
|
||||
UBOOT_ENTRYPOINT = "0x80008000"
|
||||
UBOOT_LOADADDRESS = "0x80008000"
|
||||
|
||||
# Use the expected value of the ubifs filesystem's volume name in the kernel
|
||||
# and u-boot.
|
||||
UBI_VOLNAME = "rootfs"
|
||||
|
||||
EXTRA_IMAGEDEPENDS += "u-boot"
|
||||
|
||||
# List common SoC features, may need to add touchscreen for specific machines
|
||||
MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen alsa ethernet sgx"
|
||||
|
||||
@@ -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
|
||||
GUI_MACHINE_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"
|
||||
26
conf/machine/include/ti814x.inc
Normal file
26
conf/machine/include/ti814x.inc
Normal file
@@ -0,0 +1,26 @@
|
||||
SOC_FAMILY = "ti814x"
|
||||
require conf/machine/include/soc-family.inc
|
||||
|
||||
require conf/machine/include/tune-cortexa8.inc
|
||||
|
||||
PREFERRED_PROVIDER_virtual/kernel = "linux-ti81xx-psp"
|
||||
PREFERRED_PROVIDER_virtual/bootloader = "u-boot"
|
||||
|
||||
# Increase this everytime you change something in the kernel
|
||||
MACHINE_KERNEL_PR = "r2"
|
||||
|
||||
KERNEL_IMAGETYPE = "uImage"
|
||||
|
||||
UBOOT_ARCH = "arm"
|
||||
UBOOT_MACHINE = "ti8148_evm_config_nand"
|
||||
UBOOT_ENTRYPOINT = "0x80008000"
|
||||
UBOOT_LOADADDRESS = "0x80008000"
|
||||
|
||||
# Only build u-boot
|
||||
EXTRA_IMAGEDEPENDS += "u-boot"
|
||||
|
||||
# Ship all kernel modules
|
||||
IMAGE_FSTYPES += "jffs2 tar.bz2"
|
||||
EXTRA_IMAGECMD_jffs2 = "-lqn -e 128"
|
||||
SERIAL_CONSOLE = "115200 ttyO0"
|
||||
MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 ethernet"
|
||||
26
conf/machine/include/ti816x.inc
Normal file
26
conf/machine/include/ti816x.inc
Normal file
@@ -0,0 +1,26 @@
|
||||
SOC_FAMILY = "ti816x"
|
||||
require conf/machine/include/soc-family.inc
|
||||
|
||||
require conf/machine/include/tune-cortexa8.inc
|
||||
|
||||
PREFERRED_PROVIDER_virtual/kernel = "linux-ti81xx-psp"
|
||||
PREFERRED_PROVIDER_virtual/bootloader = "u-boot"
|
||||
|
||||
# Increase this everytime you change something in the kernel
|
||||
MACHINE_KERNEL_PR = "r2"
|
||||
|
||||
KERNEL_IMAGETYPE = "uImage"
|
||||
|
||||
UBOOT_ARCH = "arm"
|
||||
UBOOT_MACHINE = "ti8168_evm_config"
|
||||
UBOOT_ENTRYPOINT = "0x80008000"
|
||||
UBOOT_LOADADDRESS = "0x80008000"
|
||||
|
||||
# Only build u-boot
|
||||
EXTRA_IMAGEDEPENDS += "u-boot"
|
||||
|
||||
# Ship all kernel modules
|
||||
IMAGE_FSTYPES += "jffs2 tar.bz2"
|
||||
EXTRA_IMAGECMD_jffs2 = "-lqn -e 128"
|
||||
SERIAL_CONSOLE = "115200 ttyO2"
|
||||
MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 ethernet"
|
||||
24
conf/machine/include/tune-cortexa15.inc
Normal file
24
conf/machine/include/tune-cortexa15.inc
Normal file
@@ -0,0 +1,24 @@
|
||||
DEFAULTTUNE ?= "cortexa15-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"
|
||||
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"
|
||||
PACKAGE_EXTRA_ARCHS_tune-cortexa15 = "${PACKAGE_EXTRA_ARCHS_tune-armv7a}"
|
||||
PACKAGE_EXTRA_ARCHS_tune-cortexa15t = "${PACKAGE_EXTRA_ARCHS_tune-armv7at}"
|
||||
PACKAGE_EXTRA_ARCHS_tune-cortexa15-neon = "${PACKAGE_EXTRA_ARCHS_tune-armv7a-neon}"
|
||||
|
||||
# VFP Tunes
|
||||
AVAILTUNES += "cortexa15hf cortexa15thf cortexa15hf-neon"
|
||||
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"
|
||||
PACKAGE_EXTRA_ARCHS_tune-cortexa15hf = "${PACKAGE_EXTRA_ARCHS_tune-armv7ahf}"
|
||||
PACKAGE_EXTRA_ARCHS_tune-cortexa15thf = "${PACKAGE_EXTRA_ARCHS_tune-armv7athf}"
|
||||
PACKAGE_EXTRA_ARCHS_tune-cortexa15hf-neon = "${PACKAGE_EXTRA_ARCHS_tune-armv7ahf-neon}"
|
||||
24
conf/machine/include/tune-cortexa7.inc
Normal file
24
conf/machine/include/tune-cortexa7.inc
Normal file
@@ -0,0 +1,24 @@
|
||||
DEFAULTTUNE ?= "cortexa7-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"
|
||||
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"
|
||||
PACKAGE_EXTRA_ARCHS_tune-cortexa7 = "${PACKAGE_EXTRA_ARCHS_tune-armv7a}"
|
||||
PACKAGE_EXTRA_ARCHS_tune-cortexa7t = "${PACKAGE_EXTRA_ARCHS_tune-armv7at}"
|
||||
PACKAGE_EXTRA_ARCHS_tune-cortexa7-neon = "${PACKAGE_EXTRA_ARCHS_tune-armv7a-neon}"
|
||||
|
||||
# VFP Tunes
|
||||
AVAILTUNES += "cortexa7hf cortexa7thf cortexa7hf-neon"
|
||||
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"
|
||||
PACKAGE_EXTRA_ARCHS_tune-cortexa7hf = "${PACKAGE_EXTRA_ARCHS_tune-armv7ahf}"
|
||||
PACKAGE_EXTRA_ARCHS_tune-cortexa7thf = "${PACKAGE_EXTRA_ARCHS_tune-armv7athf}"
|
||||
PACKAGE_EXTRA_ARCHS_tune-cortexa7hf-neon = "${PACKAGE_EXTRA_ARCHS_tune-armv7ahf-neon}"
|
||||
@@ -1,30 +0,0 @@
|
||||
#@TYPE: Machine
|
||||
#@NAME: Keystone 2 K2E machine
|
||||
#@DESCRIPTION: Machine configuration for the TI Keystone 2 K2E EVM
|
||||
|
||||
require conf/machine/include/keystone.inc
|
||||
|
||||
UBOOT_MACHINE = "k2e_evm_config"
|
||||
|
||||
BOOT_MONITOR_MAKE_TARGET = "k2e"
|
||||
|
||||
IMAGE_FSTYPES += "ubi tar.gz cpio"
|
||||
|
||||
SERIAL_CONSOLE = "115200 ttyS0"
|
||||
|
||||
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 3856"
|
||||
|
||||
# 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,30 +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
|
||||
|
||||
UBOOT_MACHINE = "k2hk_evm_config"
|
||||
|
||||
BOOT_MONITOR_MAKE_TARGET = "k2hk"
|
||||
|
||||
IMAGE_FSTYPES += "ubi tar.gz cpio"
|
||||
|
||||
SERIAL_CONSOLE = "115200 ttyS0"
|
||||
|
||||
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 3856"
|
||||
|
||||
# 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,30 +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
|
||||
|
||||
UBOOT_MACHINE = "k2l_evm_config"
|
||||
|
||||
BOOT_MONITOR_MAKE_TARGET = "k2l"
|
||||
|
||||
IMAGE_FSTYPES += "ubi tar.gz cpio"
|
||||
|
||||
SERIAL_CONSOLE = "115200 ttyS0"
|
||||
|
||||
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"
|
||||
25
conf/machine/keystone-evm.conf
Normal file
25
conf/machine/keystone-evm.conf
Normal file
@@ -0,0 +1,25 @@
|
||||
#@TYPE: Machine
|
||||
#@NAME: Keystone 2 machine
|
||||
#@DESCRIPTION: Machine configuration for the TI Keystone 2
|
||||
|
||||
PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg"
|
||||
XSERVER = "xserver-xorg \
|
||||
xf86-input-evdev \
|
||||
xf86-video-fbdev"
|
||||
|
||||
GUI_MACHINE_CLASS = "bigscreen"
|
||||
|
||||
require conf/machine/include/keystone.inc
|
||||
#EXTRA_IMAGEDEPENDS = "u-boot"
|
||||
|
||||
PREFERRED_PROVIDER_virtual/kernel = "linux-keystone"
|
||||
|
||||
IMAGE_FSTYPES += "tar.bz2 cpio"
|
||||
|
||||
SERIAL_CONSOLE = "115200 ttyS0"
|
||||
|
||||
SYSVINIT_ENABLED_GETTYS = ""
|
||||
|
||||
UBOOT_MACHINE = "tci6638_evm_config"
|
||||
|
||||
MACHINE_FEATURES = "kernel26 screen apm usbgadget usbhost vfat alsa"
|
||||
46
conf/machine/omap3-touchbook.conf
Normal file
46
conf/machine/omap3-touchbook.conf
Normal file
@@ -0,0 +1,46 @@
|
||||
#@TYPE: Machine
|
||||
#@NAME: Always Innovating touchbook
|
||||
#@DESCRIPTION: Machine configuration for the http://www.alwaysinnovating.com/touchbook/
|
||||
|
||||
PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg"
|
||||
XSERVER = "xserver-xorg \
|
||||
xf86-input-evdev \
|
||||
xf86-input-mouse \
|
||||
xf86-input-tslib \
|
||||
xf86-video-fbdev \
|
||||
xf86-video-omapfb \
|
||||
xf86-input-keyboard"
|
||||
|
||||
# Only has DVI connector for external screen
|
||||
GUI_MACHINE_CLASS = "bigscreen"
|
||||
|
||||
require conf/machine/include/omap3.inc
|
||||
|
||||
PREFERRED_PROVIDER_virtual/kernel = "linux-omap-psp"
|
||||
|
||||
IMAGE_FSTYPES += "tar.bz2"
|
||||
EXTRA_IMAGECMD_jffs2 = "-lnp "
|
||||
|
||||
# Guesswork
|
||||
SERIAL_CONSOLE = "115200 ttyS2"
|
||||
|
||||
UBOOT_MACHINE = "omap3_beagle_config"
|
||||
XLOAD_MACHINE = "beagleboard_config"
|
||||
|
||||
# do ubiattach /dev/ubi_ctrl -m 4
|
||||
# From dmesg:
|
||||
# UBI: smallest flash I/O unit: 2048
|
||||
# UBI: logical eraseblock size: 129024 bytes
|
||||
# from ubiattach stdout:
|
||||
# UBI device number 0, total 1996 LEBs
|
||||
MKUBIFS_ARGS = "-m 2048 -e 129024 -c 1996"
|
||||
|
||||
# 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: 512
|
||||
UBINIZE_ARGS = "-m 2048 -p 128KiB -s 512"
|
||||
|
||||
# and sdio
|
||||
MACHINE_FEATURES = "kernel26 screen apm usbgadget usbhost vfat alsa touchscreen"
|
||||
@@ -2,22 +2,38 @@
|
||||
#@NAME: OMAP3 EVM
|
||||
#@DESCRIPTION: Machine configuration for the TI OMAP3 EVM
|
||||
|
||||
PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg"
|
||||
XSERVER = "xserver-xorg \
|
||||
xf86-input-evdev \
|
||||
xf86-input-mouse \
|
||||
xf86-input-tslib \
|
||||
xf86-video-omapfb \
|
||||
xf86-input-keyboard"
|
||||
|
||||
GUI_MACHINE_CLASS = "smallscreen"
|
||||
|
||||
require conf/machine/include/omap3.inc
|
||||
|
||||
# Use built-in LCD by default
|
||||
XSERVER += "xf86-input-tslib"
|
||||
GUI_MACHINE_CLASS = "smallscreen"
|
||||
MACHINE_FEATURES += "touchscreen ethernet"
|
||||
# Ship all kernel modules
|
||||
|
||||
IMAGE_FSTYPES += "jffs2 tar.gz"
|
||||
IMAGE_FSTYPES += "jffs2 tar.bz2"
|
||||
EXTRA_IMAGECMD_jffs2 = "-lnp -e 0x20000 -s 2048"
|
||||
|
||||
SERIAL_CONSOLE = "115200 ttyS0"
|
||||
USE_VT = "0"
|
||||
|
||||
EXTRA_IMAGEDEPENDS += "x-load"
|
||||
PREFERRED_PROVIDER_virtual/kernel = "linux-omap-psp"
|
||||
|
||||
PREFERRED_PROVIDER_virtual/bootloader = "u-boot"
|
||||
|
||||
UBOOT_ARCH = "arm"
|
||||
UBOOT_MACHINE = "omap3_evm_config"
|
||||
XLOAD_MACHINE = "omap3evm_config"
|
||||
|
||||
MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen touchscreen"
|
||||
|
||||
# NOTE: there are NAND and OneNAND versions of this board...
|
||||
|
||||
# do ubiattach /dev/ubi_ctrl -m 4
|
||||
# From dmesg:
|
||||
# UBI: smallest flash I/O unit: 2048
|
||||
|
||||
@@ -1,32 +0,0 @@
|
||||
#@TYPE: Machine
|
||||
#@NAME: OMAP5 EVM
|
||||
#@DESCRIPTION: Machine configuration for the TI OMAP5 uEVM
|
||||
|
||||
require conf/machine/include/omap-a15.inc
|
||||
|
||||
IMAGE_FSTYPES += "ubi tar.gz"
|
||||
|
||||
SERIAL_CONSOLE = "115200 ttyO2"
|
||||
|
||||
# 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 3836"
|
||||
|
||||
# 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"
|
||||
|
||||
UBOOT_MACHINE = "omap5_uevm_config"
|
||||
@@ -4,11 +4,15 @@
|
||||
|
||||
require conf/machine/include/omap4.inc
|
||||
|
||||
UBOOT_MACHINE = "omap4_panda_config"
|
||||
|
||||
GUI_MACHINE_CLASS = "bigscreen"
|
||||
|
||||
IMAGE_FSTYPES += "tar.gz"
|
||||
IMAGE_FSTYPES += "tar.bz2"
|
||||
|
||||
SERIAL_CONSOLE = "115200 ttyO2"
|
||||
|
||||
MACHINE_EXTRA_RRECOMMENDS = " kernel-modules"
|
||||
MACHINE_FEATURES = "kernel26 wifi bluetooth alsa apm ext2 screen usbgadget usbhost vfat sgx"
|
||||
MACHINE_FEATURES = "kernel26 wifi bluetooth alsa apm ext2 screen touchscreen usbgadget usbhost vfat"
|
||||
|
||||
|
||||
|
||||
@@ -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,31 +1,26 @@
|
||||
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/keystone-linux/boot-monitor.git;protocol=git;branch=${BRANCH}"
|
||||
SRC_URI = "git://arago-project.org/git/projects/boot-monitor.git;protocol=git;branch=${BRANCH}"
|
||||
|
||||
PV = "2.0+git${SRCPV}"
|
||||
PR = "r6"
|
||||
PV = "1.0"
|
||||
PR = "r1+gitr${SRCPV}"
|
||||
|
||||
BRANCH = "master"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
#Tag "K2_BM_15.07"
|
||||
SRCREV = "62d198687a34a9df375c1686d75ad4f85515dcf9"
|
||||
|
||||
BOOT_MONITOR_IMAGE ?= "skern-${BOOT_MONITOR_MAKE_TARGET}.bin"
|
||||
|
||||
FLOATABI = "${@base_contains("TUNE_FEATURES", "vfp", base_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
|
||||
@@ -34,14 +29,11 @@ do_compile () {
|
||||
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 = "BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = "file://License.txt;md5=7bdc54a749ab7a7dea999d25d99a41b8"
|
||||
|
||||
PV = "1.9.0"
|
||||
PR = "r0"
|
||||
PE = "1"
|
||||
|
||||
SRCREV = "d85e6a17da1025adac9ab7f97dd7aa2a58c517ce"
|
||||
BRANCH ?= "ti-v3.14.y"
|
||||
|
||||
SRC_URI = "git://git.ti.com/ti-cm3-pm-firmware/amx3-cm3.git;protocol=git;branch=${BRANCH}"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
FLOATABI = "${@base_contains("TUNE_FEATURES", "vfp", base_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 = "BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = "file://License.txt;md5=7bdc54a749ab7a7dea999d25d99a41b8"
|
||||
|
||||
PV = "1.9.1"
|
||||
PR = "r1"
|
||||
|
||||
SRCREV = "730f0695ca2dda65abcff5763e8f108517bc0d43"
|
||||
BRANCH ?= "ti-v4.1.y"
|
||||
|
||||
SRC_URI = "git://git.ti.com/ti-cm3-pm-firmware/amx3-cm3.git;protocol=git;branch=${BRANCH}"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
FLOATABI = "${@base_contains("TUNE_FEATURES", "vfp", base_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.10.02.03
|
||||
SRCREV = "d47ac635699da6bee6daff31b87b0123e13af4ac"
|
||||
|
||||
PV = "4.10.02.03+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,36 +0,0 @@
|
||||
require common-csl-ip.inc
|
||||
|
||||
require recipes-ti/includes/ti-paths.inc
|
||||
require recipes-ti/includes/ti-staging.inc
|
||||
|
||||
PR = "r1"
|
||||
|
||||
DEPENDS = "ti-xdctools ti-cgt6x-native ti-sysbios"
|
||||
|
||||
S = "${WORKDIR}/ti/csl"
|
||||
|
||||
export C6X_GEN_INSTALL_PATH="${STAGING_DIR_NATIVE}/usr"
|
||||
export XDCCGROOT="${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x"
|
||||
export XDCPATH="${XDCCGROOT}/include;${XDC_INSTALL_DIR}/packages;${SYSBIOS_INSTALL_DIR}/packages"
|
||||
|
||||
do_configure() {
|
||||
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/" {} \;
|
||||
}
|
||||
|
||||
do_compile() {
|
||||
${XDC_INSTALL_DIR}/xdc .make
|
||||
${XDC_INSTALL_DIR}/xdc clean
|
||||
${XDC_INSTALL_DIR}/xdc release
|
||||
}
|
||||
|
||||
do_install () {
|
||||
install -d ${D}${PDK_INSTALL_DIR_RECIPE}/packages
|
||||
find -name "*.tar" -exec tar xf {} -C ${D}${PDK_INSTALL_DIR_RECIPE}/packages \;
|
||||
}
|
||||
|
||||
ALLOW_EMPTY_${PN} = "1"
|
||||
FILES_${PN}-dev += "${PDK_INSTALL_DIR_RECIPE}/packages"
|
||||
@@ -1,18 +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"
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
|
||||
BRANCH="master"
|
||||
BRANCH_dra7xx = "releases/PROCESSOR-SDK.01.00.00"
|
||||
|
||||
SRC_URI = "git://git.ti.com/keystone-rtos/common-csl-ip.git;protocol=git;branch=${BRANCH};destsuffix=${S}"
|
||||
|
||||
# commit ID corresponds to DEV.CSL_KEYSTONE2.02.01.00.07A
|
||||
SRCREV = "c78867df9165fdf8042fb692fcea776fc0102326"
|
||||
|
||||
# commit ID corresponds to PROCESSOR-SDK-ALPHA-1
|
||||
SRCREV_dra7xx = "37c5311ddf289f83b1432a9422816722d264bf55"
|
||||
@@ -1,13 +0,0 @@
|
||||
require common-csl-ip.inc
|
||||
|
||||
PR = "r3"
|
||||
|
||||
ALLOW_EMPTY_${PN} = "1"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
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,26 +0,0 @@
|
||||
DESCRIPTION = "TI CPPI low level driver unit test and example binaries"
|
||||
COMPATIBLE_MACHINE = "keystone"
|
||||
DEPENDS = "common-csl-ip rm-lld cppi-lld qmss-lld"
|
||||
|
||||
include cppi-lld.inc
|
||||
|
||||
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,15 +0,0 @@
|
||||
LICENSE = "BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = "file://${WORKDIR}/git/ti/drv/cppi/COPYING.txt;md5=e8f6789acdcda76d02ed9203fc2e603d"
|
||||
|
||||
BRANCH = "master"
|
||||
SRC_URI = "git://git.ti.com/keystone-rtos/cppi-lld.git;destsuffix=git/ti/drv/cppi;protocol=git;branch=${BRANCH}"
|
||||
|
||||
# Below Commit ID corresponds to "DEV.CPPI_LLD.02.01.00.08"
|
||||
SRCREV = "320af092dc382af52b9e68f14ca8acd5c1c467c1"
|
||||
PV = "02.01.00.09"
|
||||
PR = "r1"
|
||||
|
||||
DEVICELIST = "k2h k2k k2l k2e"
|
||||
|
||||
BASEDIR = "${WORKDIR}/git"
|
||||
S = "${BASEDIR}/ti/drv/cppi"
|
||||
@@ -1,33 +0,0 @@
|
||||
DESCRIPTION = "TI CPPI Module low level driver"
|
||||
COMPATIBLE_MACHINE = "keystone"
|
||||
|
||||
DEPENDS = "common-csl-ip rm-lld qmss-lld"
|
||||
|
||||
include cppi-lld.inc
|
||||
|
||||
SRC_URI += "file://init_cppi.sh"
|
||||
|
||||
inherit update-rc.d
|
||||
|
||||
INITSCRIPT_NAME = "init_cppi.sh"
|
||||
INITSCRIPT_PARAMS = "defaults 10"
|
||||
|
||||
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}
|
||||
ln -sf libcppi_k2h.so.1.0.0 libcppi_device.so.1
|
||||
ln -sf libcppi_device.so.1 libcppi_device.so
|
||||
# Copy init scripts
|
||||
install -d ${D}${sysconfdir}/init.d/
|
||||
install -c -m 755 ${WORKDIR}/init_cppi.sh ${D}${sysconfdir}/init.d/${INITSCRIPT_NAME}
|
||||
}
|
||||
@@ -1,47 +0,0 @@
|
||||
#*
|
||||
#* Copyright (C) 2015 Texas Instruments Incorporated - http://www.ti.com/
|
||||
#*
|
||||
#*
|
||||
#* Redistribution and use in source and binary forms, with or without
|
||||
#* modification, are permitted provided that the following conditions
|
||||
#* are met:
|
||||
#*
|
||||
#* Redistributions of source code must retain the above copyright
|
||||
#* notice, this list of conditions and the following disclaimer.
|
||||
#*
|
||||
#* Redistributions in binary form must reproduce the above copyright
|
||||
#* notice, this list of conditions and the following disclaimer in the
|
||||
#* documentation and/or other materials provided with the
|
||||
#* distribution.
|
||||
#*
|
||||
#* Neither the name of Texas Instruments Incorporated nor the names of
|
||||
#* its contributors may be used to endorse or promote products derived
|
||||
#* from this software without specific prior written permission.
|
||||
#*
|
||||
|
||||
#! /bin/sh
|
||||
compatible=$(cat /proc/device-tree/compatible)
|
||||
|
||||
cd /usr/lib
|
||||
case "$compatible" in
|
||||
*k2hk*)
|
||||
device=k2hk
|
||||
ln -sf libcppi_k2h.so.1.0.0 libcppi_device.so.1
|
||||
;;
|
||||
*k2l*)
|
||||
device=k2l
|
||||
ln -sf libcppi_k2l.so.1.0.0 libcppi_device.so.1
|
||||
;;
|
||||
*k2e*)
|
||||
device=k2e
|
||||
ln -sf libcppi_k2e.so.1.0.0 libcppi_device.so.1
|
||||
;;
|
||||
*)
|
||||
device=unknown
|
||||
;;
|
||||
esac
|
||||
|
||||
if [ $device != unknown ]; then
|
||||
ln -sf libcppi_device.so.1 libcppi_device.so
|
||||
echo cppi library link established for device : $device
|
||||
fi
|
||||
@@ -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,18 +0,0 @@
|
||||
DESCRIPTION = "TI Digital Radio Front End lld test application"
|
||||
|
||||
DEPENDS = "common-csl-ip dfe-lld iqn2-lld"
|
||||
|
||||
include dfe-lld.inc
|
||||
|
||||
EXTRA_OEMAKE = "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR} DFE_SRC_DIR=${S}"
|
||||
|
||||
do_compile () {
|
||||
# Now build the lld in the updated directory
|
||||
oe_runmake clean DEVICE=k2l
|
||||
oe_runmake tests DEVICE=k2l
|
||||
oe_runmake tests DEVICE=k2l USEDYNAMIC_LIB=yes
|
||||
}
|
||||
|
||||
do_install () {
|
||||
oe_runmake installbin INSTALL_BIN_BASE_DIR=${D}/${bindir}
|
||||
}
|
||||
@@ -1,13 +0,0 @@
|
||||
LICENSE = "BSD-3-Clause"
|
||||
|
||||
LIC_FILES_CHKSUM = "file://COPYING.txt;md5=1f4217b705bf98762a302fd720649dcc"
|
||||
BRANCH = "master"
|
||||
SRC_URI = "git://git.ti.com/keystone-rtos/dfe-lld.git;destsuffix=git/ti/drv/dfe;protocol=git;branch=${BRANCH}"
|
||||
# The following commit correspond to DEV.DFE_LLD.01.00.00.04C
|
||||
SRCREV = "62da141c1cf6224d24161f0c020091043a3d7c82"
|
||||
|
||||
PV = "1.0.0.4"
|
||||
|
||||
COMPATIBLE_MACHINE = "k2l-evm"
|
||||
|
||||
S = "${WORKDIR}/git/ti/drv/dfe"
|
||||
@@ -1,15 +0,0 @@
|
||||
DESCRIPTION = "Digital Radio Front End low level driver"
|
||||
|
||||
DEPENDS = "common-csl-ip"
|
||||
|
||||
include dfe-lld.inc
|
||||
|
||||
EXTRA_OEMAKE = "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR}"
|
||||
|
||||
do_compile () {
|
||||
oe_runmake lib DEVICE=k2l
|
||||
}
|
||||
|
||||
do_install () {
|
||||
oe_runmake install INSTALL_INC_BASE_DIR=${D}/${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir}
|
||||
}
|
||||
@@ -1,26 +0,0 @@
|
||||
DESCRIPTION = "Firmware for DSP for an example application called copycodectest"
|
||||
LICENSE = "TI-TSPA"
|
||||
LIC_FILES_CHKSUM = "file://DSPDCE-${PV}-Manifest.doc;md5=386d1802eefc2fcf00ab01a5b4556277"
|
||||
|
||||
COMPATIBLE_MACHINE = "dra7xx-evm"
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
SRC_URI = "http://downloads.ti.com/dsps/dsps_public_sw/glsdk/dspdce/1_00_00_05/exports/dspdce-${MACHINE}-1.00.00.05.tar.gz;protocol=ftp"
|
||||
|
||||
S = "${WORKDIR}/dspdce-${MACHINE}-${PV}"
|
||||
|
||||
SRC_URI[md5sum] = "4f3d5c6ef088019aa4804eaaedc8e949"
|
||||
SRC_URI[sha256sum] = "8d99c4f149613448a6d72c62a18cc7445c63c687b786658da1762c4e1c03a6a0"
|
||||
|
||||
TARGET = "dra7-dsp1-fw.xe66"
|
||||
|
||||
do_install() {
|
||||
mkdir -p ${D}${base_libdir}/firmware
|
||||
cp ${S}/firmware/${TARGET} ${D}${base_libdir}/firmware/${TARGET}
|
||||
}
|
||||
|
||||
FILES_${PN} += "${base_libdir}/firmware/${TARGET}"
|
||||
|
||||
INSANE_SKIP_${PN} = "arch"
|
||||
|
||||
PR = "r1"
|
||||
@@ -1,23 +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 = "b"
|
||||
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"
|
||||
|
||||
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.2.0
|
||||
SRCREV = "9893486936626e2d3de721f429a67fcac8a68151"
|
||||
PV = "1.2.0"
|
||||
INC_PR = "r0"
|
||||
|
||||
SRC_URI = "git://git.ti.com/sdo-emu/dsptop.git;protocol=git;branch=${BRANCH}"
|
||||
|
||||
BRANCH = "master"
|
||||
@@ -1,28 +0,0 @@
|
||||
DESCRIPTION = "TI dsptop utility."
|
||||
LICENSE = "BSD"
|
||||
LIC_FILES_CHKSUM = "file://debian/copyright;md5=309825aa8f5edfcf2c44912ac094b979"
|
||||
|
||||
DEPENDS = "libulm ncurses"
|
||||
|
||||
PR = "${INC_PR}.0"
|
||||
|
||||
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"
|
||||
|
||||
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,76 +0,0 @@
|
||||
require edma3-lld.inc
|
||||
require recipes-ti/includes/ti-paths.inc
|
||||
require recipes-ti/includes/ti-staging.inc
|
||||
|
||||
PR = "r1"
|
||||
|
||||
DEPENDS = "ti-cgt6x-native ti-sysbios ti-xdctools"
|
||||
|
||||
COMPATIBLE_MACHINE = "dra7xx|keystone"
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
PLATFORMLIST = ""
|
||||
PLATFORMLIST_keystone = " \
|
||||
tci6636k2h-evm \
|
||||
tci6638k2k-evm \
|
||||
tci6630k2l-evm \
|
||||
c66ak2e-evm \
|
||||
"
|
||||
|
||||
PLATFORMLIST_dra7xx = " \
|
||||
tda2xx-evm \
|
||||
dra72x-evm \
|
||||
am571x-evm \
|
||||
am572x-evm \
|
||||
"
|
||||
|
||||
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 = "${XDCCGROOT}"
|
||||
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"
|
||||
|
||||
|
||||
EXTRA_OEMAKE += " -C ${S}/packages TARGET=66 FORMAT=ELF"
|
||||
|
||||
do_configure () {
|
||||
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 () {
|
||||
for p in ${PLATFORMLIST}
|
||||
do
|
||||
oe_runmake PLATFORM=${p}
|
||||
done
|
||||
}
|
||||
|
||||
do_install () {
|
||||
install -d ${D}${EDMA3_LLD_INSTALL_DIR_RECIPE}
|
||||
cp -pPrf ${S}/* ${D}${EDMA3_LLD_INSTALL_DIR_RECIPE}
|
||||
}
|
||||
|
||||
INSANE_SKIP_${PN}-dev = "arch"
|
||||
|
||||
ALLOW_EMPTY_${PN} = "1"
|
||||
FILES_${PN}-dev += "${EDMA3_LLD_INSTALL_DIR_RECIPE}"
|
||||
@@ -1,10 +0,0 @@
|
||||
DESCRIPTION = "TI EDMA3 low level driver and test code"
|
||||
LICENSE = "BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = "file://COPYING.txt;md5=5bdceac872dffdec915b819654ee23ea"
|
||||
|
||||
BRANCH = "master"
|
||||
SRC_URI = "git://git.ti.com/keystone-rtos/edma3_lld.git;protocol=git;branch=${BRANCH}"
|
||||
# The following commit corresponds to tag DEV_EDMA3_LLD_02_12_01_21_RC1
|
||||
SRCREV = "562cba36ccd53e89e6979e99a58374513b543f93"
|
||||
|
||||
PV = "2.12.01.21"
|
||||
@@ -1,71 +0,0 @@
|
||||
require edma3-lld.inc
|
||||
|
||||
PR = "r0"
|
||||
|
||||
COMPATIBLE_MACHINE = "keystone"
|
||||
|
||||
DEPENDS = "common-csl-ip"
|
||||
|
||||
PLATFORMLIST = "tci6636k2h-evm \
|
||||
tci6638k2k-evm \
|
||||
tci6630k2l-evm \
|
||||
c66ak2e-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,20 +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 = "a"
|
||||
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}"
|
||||
}
|
||||
@@ -1,30 +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
|
||||
|
||||
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,10 +0,0 @@
|
||||
COMPATIBLE_MACHINE = "keystone"
|
||||
|
||||
DEVICELIST = "k2h k2k k2l k2e"
|
||||
|
||||
BRANCH = "master"
|
||||
SRC_URI = "git://git.ti.com/keystone-rtos/hplib.git;protocol=git;branch=${BRANCH}"
|
||||
|
||||
# Below Commit ID corresponds to "DEV.HPLIB.01.01.00.05"
|
||||
SRCREV = "97c2ce177c78c0f7a861c8dc9ac10657d85eae36"
|
||||
PV = "01.01.00.05+git${SRCPV}"
|
||||
@@ -1,31 +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
|
||||
|
||||
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,43 +0,0 @@
|
||||
#*
|
||||
#* Copyright (C) 2015 Texas Instruments Incorporated - http://www.ti.com/
|
||||
#*
|
||||
#*
|
||||
#* Redistribution and use in source and binary forms, with or without
|
||||
#* modification, are permitted provided that the following conditions
|
||||
#* are met:
|
||||
#*
|
||||
#* Redistributions of source code must retain the above copyright
|
||||
#* notice, this list of conditions and the following disclaimer.
|
||||
#*
|
||||
#* Redistributions in binary form must reproduce the above copyright
|
||||
#* notice, this list of conditions and the following disclaimer in the
|
||||
#* documentation and/or other materials provided with the
|
||||
#* distribution.
|
||||
#*
|
||||
#* Neither the name of Texas Instruments Incorporated nor the names of
|
||||
#* its contributors may be used to endorse or promote products derived
|
||||
#* from this software without specific prior written permission.
|
||||
#*
|
||||
|
||||
#! /bin/sh
|
||||
compatible=$(cat /proc/device-tree/compatible)
|
||||
|
||||
cd /usr/lib
|
||||
case "$compatible" in
|
||||
*k2hk*)
|
||||
device=k2hk
|
||||
ln -sf libhyplnk_k2h.so.1.0.0 libhyplnk_device.so.1
|
||||
;;
|
||||
*k2e*)
|
||||
device=k2e
|
||||
ln -sf libhyplnk_k2e.so.1.0.0 libhyplnk_device.so.1
|
||||
;;
|
||||
*)
|
||||
device=unknown
|
||||
;;
|
||||
esac
|
||||
|
||||
if [ $device != unknown ]; then
|
||||
ln -sf libhyplnk_device.so.1 libhyplnk_device.so
|
||||
echo hyplnk library link established for device : $device
|
||||
fi
|
||||
@@ -1,32 +0,0 @@
|
||||
include hyplnk-lld.inc
|
||||
|
||||
DEPENDS = "common-csl-ip hyplnk-lld"
|
||||
|
||||
CHOICELIST = " yes \
|
||||
no \
|
||||
"
|
||||
|
||||
do_compile () {
|
||||
make -f makefile_armv7 clean PDK_INSTALL_PATH="${STAGING_INCDIR}" \
|
||||
HYPLNK_SRC_DIR="${S}"
|
||||
for device in ${DEVICELIST}
|
||||
do
|
||||
for choice in ${CHOICELIST}
|
||||
do
|
||||
make -f makefile_armv7 tests examples \
|
||||
PDK_INSTALL_PATH="${STAGING_INCDIR}" \
|
||||
DEVICE="$device" HYPLNK_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" \
|
||||
HYPLNK_SRC_DIR="${S}" \
|
||||
INSTALL_BIN_BASE_DIR="${D}/${bindir}"
|
||||
done
|
||||
}
|
||||
@@ -1,24 +0,0 @@
|
||||
DESCRIPTION = "TI Hyperlink Low Level Driver"
|
||||
LICENSE = "BSD-3-Clause"
|
||||
|
||||
COMPATIBLE_MACHINE = "keystone"
|
||||
|
||||
LLDNAME="hyplnk"
|
||||
|
||||
LIC_FILES_CHKSUM = "file://${WORKDIR}/git/ti/drv/${LLDNAME}/COPYING.txt;md5=623325cc19e613a4e770fbb749922592"
|
||||
|
||||
BRANCH="master"
|
||||
SRC_URI = "git://git.ti.com/keystone-rtos/hyplnk-lld.git;destsuffix=git/ti/drv/${LLDNAME};protocol=git;branch=${BRANCH}"
|
||||
# Following commit corresponds to tag DEV.HYPLNK_LLD.02.01.00.02
|
||||
SRCREV = "8451586025a0cf561ed9bc6ab70a2cad88a7e95e"
|
||||
|
||||
PV = "2.1.0.2"
|
||||
PR = "r1"
|
||||
|
||||
DEVICELIST = " k2h \
|
||||
k2k \
|
||||
k2e \
|
||||
"
|
||||
|
||||
BASEDIR = "${WORKDIR}/git"
|
||||
S = "${BASEDIR}/ti/drv/${LLDNAME}"
|
||||
@@ -1,34 +0,0 @@
|
||||
include hyplnk-lld.inc
|
||||
|
||||
DEPENDS = "common-csl-ip"
|
||||
|
||||
SRC_URI += "file://init_hyplnk.sh"
|
||||
|
||||
inherit update-rc.d
|
||||
|
||||
INITSCRIPT_NAME = "init_hyplnk.sh"
|
||||
INITSCRIPT_PARAMS = "defaults 10"
|
||||
|
||||
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}
|
||||
ln -sf libhyplnk_k2h.so.1.0.0 libhyplnk_device.so.1
|
||||
ln -sf libhyplnk_device.so.1 libhyplnk_device.so
|
||||
# Copy init scripts
|
||||
install -d ${D}${sysconfdir}/init.d/
|
||||
install -c -m 755 ${WORKDIR}/init_hyplnk.sh ${D}${sysconfdir}/init.d/${INITSCRIPT_NAME}
|
||||
|
||||
}
|
||||
@@ -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=39a593dd8fc2a9654c74f679ed329c45"
|
||||
|
||||
COMPATIBLE_MACHINE = "omap5-evm"
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
RDEPENDS_${PN} = " libdce"
|
||||
|
||||
SRC_URI = "http://downloads.ti.com/dsps/dsps_public_sw/glsdk/ipumm/3_00_04_02/exports/ipumm-${MACHINE}-${PV}.tar.gz;protocol=http"
|
||||
|
||||
SRC_URI[md5sum] = "1572073ebd4f6d127c4e8cf47d270b6a"
|
||||
SRC_URI[sha256sum] = "2fdb469f19e3c9984854f5bc82444fca4d7da869f5e645da22ec0d5beaa5cc65"
|
||||
|
||||
S = "${WORKDIR}/ipumm-${MACHINE}-${PV}"
|
||||
|
||||
TARGET = "ducati-m3-core0.xem3"
|
||||
|
||||
do_install() {
|
||||
mkdir -p ${D}${base_libdir}/firmware
|
||||
cp ${S}/firmware/${TARGET} ${D}${base_libdir}/firmware/${TARGET}
|
||||
}
|
||||
|
||||
FILES_${PN} += "${base_libdir}/firmware/${TARGET}"
|
||||
|
||||
PR = "r4"
|
||||
@@ -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=caa45d993ac010abe2fd319f6613bc26"
|
||||
|
||||
COMPATIBLE_MACHINE = "dra7xx"
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
RDEPENDS_${PN} = " libdce"
|
||||
|
||||
SRC_URI = "http://downloads.ti.com/dsps/dsps_public_sw/glsdk/ipumm/3_00_07_02/exports/ipumm-dra7xx-evm-${PV}.tar.gz;protocol=http"
|
||||
|
||||
SRC_URI[md5sum] = "06aaf4f144d48ca16054e67e40cc7bc3"
|
||||
SRC_URI[sha256sum] = "0f07176e313a692a05fa6bfe9f7920b677b0924287121945c6e22b3f4408670c"
|
||||
|
||||
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 = "r5"
|
||||
@@ -1,33 +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=57d49afcca8f1be47b1c4e79aa06b3ba"
|
||||
|
||||
COMPATIBLE_MACHINE = "dra7xx"
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
RDEPENDS_${PN} = "libdce"
|
||||
|
||||
SRC_URI = "http://downloads.ti.com/dsps/dsps_public_sw/glsdk/ipumm/3_00_08_01/exports/ipumm-dra7xx-evm-${PV}.tar.gz;protocol=http"
|
||||
|
||||
SRC_URI[md5sum] = "a1873333e7676ec1b7fcb18fb8b90696"
|
||||
SRC_URI[sha256sum] = "d583d827191a3772f496145cbf81747e10e7ed553d4653379576ac891019d7fb"
|
||||
|
||||
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}"
|
||||
@@ -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,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=5803e271087f74d03239d868bebcc2c7"
|
||||
|
||||
COMPATIBLE_MACHINE = "dra7xx"
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
RDEPENDS_${PN} = " libdce"
|
||||
|
||||
SRC_URI = "http://downloads.ti.com/infotainment/esd/jacinto6/glsdk/ipumm/3_00_09_01/exports/ipumm-dra7xx-evm-${PV}.tar.gz;protocol=http"
|
||||
|
||||
SRC_URI[md5sum] = "bf15624e26bdef4dbb67b98ccd8b9754"
|
||||
SRC_URI[sha256sum] = "e70a38b62e3e4d11d5ce68f0980de4df5256bd597068f179e220fa5afcd065fe"
|
||||
|
||||
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 = "r0"
|
||||
@@ -1,16 +0,0 @@
|
||||
DESCRIPTION = "TI IQN2 peripheral module low level driver test binaries"
|
||||
|
||||
DEPENDS = "common-csl-ip iqn2-lld dfe-lld"
|
||||
|
||||
include iqn2-lld.inc
|
||||
|
||||
EXTRA_OEMAKE = "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR} IQN2_SRC_DIR=${WORKDIR}/git"
|
||||
|
||||
do_compile () {
|
||||
oe_runmake clean DEVICE=k2l
|
||||
oe_runmake tests DEVICE=k2l
|
||||
}
|
||||
|
||||
do_install () {
|
||||
oe_runmake installbin DEVICE=k2l IQN2_SRC_DIR=${WORKDIR}/git INSTALL_BIN_BASE_DIR=${D}/${bindir}
|
||||
}
|
||||
@@ -1,13 +0,0 @@
|
||||
LIC_FILES_CHKSUM = "file://COPYING.txt;md5=5bdceac872dffdec915b819654ee23ea"
|
||||
LICENSE = "BSD-3-Clause"
|
||||
|
||||
BRANCH = "master"
|
||||
SRC_URI = "git://git.ti.com/keystone-rtos/iqn2-lld.git;destsuffix=git/ti/drv/iqn2;protocol=git;branch=${BRANCH}"
|
||||
# Following commit corresponds to DEV.IQN_LLD.01.00.00.07A
|
||||
SRCREV = "94017e30c87853e48f6e947186c5075289b190c6"
|
||||
|
||||
PV = "1.0.0.7"
|
||||
|
||||
COMPATIBLE_MACHINE = "k2l-evm"
|
||||
|
||||
S = "${WORKDIR}/git/ti/drv/iqn2"
|
||||
@@ -1,16 +0,0 @@
|
||||
DESCRIPTION = "TI IQN2 peripheral module low level driver"
|
||||
|
||||
DEPENDS = "common-csl-ip"
|
||||
|
||||
include iqn2-lld.inc
|
||||
|
||||
EXTRA_OEMAKE = "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR}"
|
||||
|
||||
do_compile () {
|
||||
oe_runmake clean
|
||||
oe_runmake lib
|
||||
}
|
||||
|
||||
do_install () {
|
||||
oe_runmake install INSTALL_INC_BASE_DIR=${D}/${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir}
|
||||
}
|
||||
@@ -1,40 +0,0 @@
|
||||
DESCRIPTION = "TI KEYSTONE MMAP driver test binaries "
|
||||
include mmap-lld.inc
|
||||
|
||||
DEPENDS="common-csl-ip mmap-lld"
|
||||
RDEPENDS_${PN}="uio-module-drv"
|
||||
|
||||
DEVICELIST = "k2h \
|
||||
k2k \
|
||||
k2e \
|
||||
"
|
||||
|
||||
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,15 +0,0 @@
|
||||
LICENSE = "BSD-3-Clause"
|
||||
|
||||
COMPATIBLE_MACHINE = "keystone"
|
||||
|
||||
LIC_FILES_CHKSUM = "file://COPYING.txt;md5=b3315b8190036fe1c6a8263d02e15606"
|
||||
|
||||
BRANCH="master"
|
||||
SRC_URI = "git://git.ti.com/keystone-rtos/mmap-lld.git;destsuffix=git/ti/runtime/mmap;protocol=git;branch=${BRANCH}"
|
||||
# Commit correspond to DEV.MMAP.02.00.00.04
|
||||
SRCREV = "306895eb2d5decd14a760e70d273946958ff716f"
|
||||
|
||||
PV = "2.0.0.4"
|
||||
PR = "r1"
|
||||
|
||||
S = "${WORKDIR}/git/ti/runtime/mmap"
|
||||
@@ -1,12 +0,0 @@
|
||||
DESCRIPTION = "TI KEYSTONE mmap driver using Keystone MPAX Programming"
|
||||
include mmap-lld.inc
|
||||
|
||||
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,25 +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
|
||||
|
||||
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,18 +0,0 @@
|
||||
LICENSE = "BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = "file://${WORKDIR}/git/COPYING.txt;md5=b7982a377c680ad71ca2fbb735982462"
|
||||
|
||||
COMPATIBLE_MACHINE = "keystone"
|
||||
|
||||
BRANCH = "master"
|
||||
SRC_URI = "git://git.ti.com/keystone-rtos/nwal-lld.git;protocol=git;branch=${BRANCH}"
|
||||
|
||||
# Below commit ID corresponds to "DEV.NWAL.02.01.00.06"
|
||||
SRCREV = "a3494c9aaa2808f438d26b2c3b8b091448ffc445"
|
||||
PV = "02.01.00.06"
|
||||
|
||||
BASEDIR = "${WORKDIR}/git"
|
||||
S = "${BASEDIR}/ti/drv/nwal"
|
||||
|
||||
DEVICELIST = "k2h k2k k2l k2e"
|
||||
|
||||
CHOICELIST = "yes no"
|
||||
@@ -1,25 +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
|
||||
|
||||
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,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
|
||||
|
||||
DEVICELIST = "k2h k2k k2l k2e"
|
||||
|
||||
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,15 +0,0 @@
|
||||
LICENSE = "BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = "file://${WORKDIR}/git/ti/drv/pa/COPYING.txt;md5=e8f6789acdcda76d02ed9203fc2e603d"
|
||||
|
||||
COMPATIBLE_MACHINE = "keystone"
|
||||
|
||||
BRANCH = "master"
|
||||
SRC_URI = "git://git.ti.com/keystone-rtos/pa-lld.git;destsuffix=git/ti/drv/pa;protocol=git;branch=${BRANCH}"
|
||||
|
||||
# Below Commit ID corresponds to "DEV.PA_LLD.03.00.01.04"
|
||||
SRCREV = "92de8879be3712af684bd031ca0ed291c05d6050"
|
||||
PV = "03.00.01.04"
|
||||
PR = "r1"
|
||||
|
||||
BASEDIR = "${WORKDIR}/git"
|
||||
S = "${BASEDIR}/ti/drv/pa"
|
||||
@@ -1,15 +0,0 @@
|
||||
DESCRIPTION = "TI PA LLD library"
|
||||
|
||||
DEPENDS = "common-csl-ip rm-lld"
|
||||
|
||||
include pa-lld.inc
|
||||
|
||||
do_compile () {
|
||||
# Now build the lld in the updated directory
|
||||
make -f makefile_armv7 DEVICE=k2h clean lib PDK_INSTALL_PATH=${STAGING_INCDIR}
|
||||
make -f makefile_armv7 DEVICE=k2l 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,25 +0,0 @@
|
||||
DESCRIPTION = "Provides library for handling packet descriptors for keystone devices"
|
||||
LICENSE = "BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = "file://${WORKDIR}/git/COPYING.txt;md5=b7982a377c680ad71ca2fbb735982462"
|
||||
|
||||
DEPENDS = "common-csl-ip rm-lld qmss-lld cppi-lld"
|
||||
COMPATIBLE_MACHINE = "keystone"
|
||||
|
||||
BRANCH = "master"
|
||||
SRC_URI = "git://git.ti.com/keystone-rtos/pktlib.git;protocol=git;branch=${BRANCH}"
|
||||
|
||||
# Corresponds to DEV.PKTLIB.2.1.0.4
|
||||
SRCREV = "a9aa56afed54b0a04f36d2fdb248cad5dcac6ff6"
|
||||
PV = "2.1.0.4"
|
||||
|
||||
S = "${WORKDIR}/git/ti/runtime/pktlib"
|
||||
|
||||
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
|
||||
}
|
||||
@@ -1,52 +0,0 @@
|
||||
From e2db38959a70d1be604a297276a0b0c2ac219bf5 Mon Sep 17 00:00:00 2001
|
||||
From: Darren Etheridge <detheridge@ti.com>
|
||||
Date: Tue, 29 Jul 2014 16:06:17 -0500
|
||||
Subject: [PATCH 1/4] PoC: GFX: SDK: Make 5_01_01_01 work against 3.14 LTS
|
||||
|
||||
An API rename is the main change. Also hacked in some function prototypes
|
||||
for enabling use of the tilcdc DRM driver instead of the fbdev driver on
|
||||
AM335x. However this all really needs a good cleanup as it is hacky at
|
||||
the moment.
|
||||
|
||||
Signed-off-by: Darren Etheridge <detheridge@ti.com>
|
||||
---
|
||||
GFX_Linux_KM/services4/3rdparty/dc_ti335x_linux/omaplfb_linux.c | 5 +++++
|
||||
GFX_Linux_KM/services4/srvkm/env/linux/mutils.h | 6 +++++-
|
||||
2 files changed, 10 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/GFX_Linux_KM/services4/3rdparty/dc_ti335x_linux/omaplfb_linux.c b/GFX_Linux_KM/services4/3rdparty/dc_ti335x_linux/omaplfb_linux.c
|
||||
index 5c3fc48..3857b95 100644
|
||||
--- a/GFX_Linux_KM/services4/3rdparty/dc_ti335x_linux/omaplfb_linux.c
|
||||
+++ b/GFX_Linux_KM/services4/3rdparty/dc_ti335x_linux/omaplfb_linux.c
|
||||
@@ -93,6 +93,11 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
#include <linux/mutex.h>
|
||||
|
||||
#include <video/da8xx-fb.h>
|
||||
+/* used by SGX OMAPLFB drvier */
|
||||
+typedef void (*vsync_callback_t)(void *arg);
|
||||
+int register_vsync_cb(vsync_callback_t handler, void *arg, int idx);
|
||||
+int unregister_vsync_cb(vsync_callback_t handler, void *arg, int idx);
|
||||
+
|
||||
#if defined(PVR_OMAPLFB_DRM_FB)
|
||||
#if (LINUX_VERSION_CODE < KERNEL_VERSION(3,0,0))
|
||||
#include <plat/display.h>
|
||||
diff --git a/GFX_Linux_KM/services4/srvkm/env/linux/mutils.h b/GFX_Linux_KM/services4/srvkm/env/linux/mutils.h
|
||||
index 31e0dac..90ec41c 100644
|
||||
--- a/GFX_Linux_KM/services4/srvkm/env/linux/mutils.h
|
||||
+++ b/GFX_Linux_KM/services4/srvkm/env/linux/mutils.h
|
||||
@@ -79,7 +79,11 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
#define IOREMAP(pa, bytes) ioremap_cache(pa, bytes)
|
||||
#else
|
||||
#if defined(__arm__) && (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0))
|
||||
- #define IOREMAP(pa, bytes) ioremap_cached(pa, bytes)
|
||||
+ #if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,13,0))
|
||||
+ #define IOREMAP(pa, bytes) ioremap_cache(pa, bytes)
|
||||
+ #else
|
||||
+ #define IOREMAP(pa, bytes) ioremap_cached(pa, bytes)
|
||||
+ #endif
|
||||
#else
|
||||
#define IOREMAP(pa, bytes) ioremap(pa, bytes)
|
||||
#endif
|
||||
--
|
||||
1.9.1
|
||||
|
||||
@@ -1,121 +0,0 @@
|
||||
From 7886ef77e4b48a7edd14acbcbe48f6a898251e78 Mon Sep 17 00:00:00 2001
|
||||
From: Darren Etheridge <detheridge@ti.com>
|
||||
Date: Fri, 25 Jul 2014 16:03:14 -0500
|
||||
Subject: [PATCH 2/5] SGX: linux: use platform data to provide reset info
|
||||
|
||||
In ti-linux-3.14.y we will not have a reset driver unlike ti-linux-3.12.y
|
||||
so this commit removes the dependency on the reset driver and instead
|
||||
uses the platform data that in a dt environment is configured in
|
||||
mach-omap2/pdata-quirks.c
|
||||
|
||||
Signed-off-by: Darren Etheridge <detheridge@ti.com>
|
||||
---
|
||||
GFX_Linux_KM/services4/srvkm/env/linux/module.c | 34 ++++++++++++++++++++-----
|
||||
1 file changed, 28 insertions(+), 6 deletions(-)
|
||||
|
||||
diff --git a/GFX_Linux_KM/services4/srvkm/env/linux/module.c b/GFX_Linux_KM/services4/srvkm/env/linux/module.c
|
||||
index e03dc00..90e16ce 100644
|
||||
--- a/GFX_Linux_KM/services4/srvkm/env/linux/module.c
|
||||
+++ b/GFX_Linux_KM/services4/srvkm/env/linux/module.c
|
||||
@@ -47,6 +47,10 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
#endif
|
||||
#endif
|
||||
|
||||
+#ifndef CONFIG_RESET_CONTROLLER
|
||||
+#include <linux/platform_data/sgx-omap.h>
|
||||
+#endif
|
||||
+
|
||||
#if defined(SUPPORT_DRI_DRM) && !defined(SUPPORT_DRI_DRM_PLUGIN)
|
||||
#define PVR_MOD_STATIC
|
||||
#else
|
||||
@@ -344,9 +348,11 @@ static LDM_DRV powervr_driver = {
|
||||
LDM_DEV *gpsPVRLDMDev;
|
||||
|
||||
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,11,0))
|
||||
+#ifdef CONFIG_RESET_CONTROLLER
|
||||
struct reset_control *rstc;
|
||||
bool already_deasserted = false;
|
||||
#endif
|
||||
+#endif
|
||||
|
||||
#if defined(MODULE) && defined(PVR_LDM_PLATFORM_MODULE) && \
|
||||
!defined(PVR_USE_PRE_REGISTERED_PLATFORM_DEV)
|
||||
@@ -388,11 +394,14 @@ static int __devinit PVRSRVDriverProbe(LDM_DEV *pDevice, const struct pci_device
|
||||
#endif
|
||||
{
|
||||
SYS_DATA *psSysData;
|
||||
- int ret;
|
||||
+ int ret;
|
||||
+ struct device *dev = &pDevice->dev;
|
||||
+ struct gfx_sgx_platform_data *pdata = dev->platform_data;
|
||||
+
|
||||
PVR_TRACE(("PVRSRVDriverProbe(pDevice=%p)", pDevice));
|
||||
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,11,0))
|
||||
+#ifdef CONFIG_RESET_CONTROLLER
|
||||
rstc = reset_control_get(&pDevice->dev, NULL);
|
||||
-
|
||||
if (IS_ERR(rstc))
|
||||
{
|
||||
dev_err(&pDevice->dev, "%s: error: reset_control_get\n", __func__);
|
||||
@@ -403,7 +412,7 @@ static int __devinit PVRSRVDriverProbe(LDM_DEV *pDevice, const struct pci_device
|
||||
|
||||
if (ret < 0)
|
||||
{
|
||||
- dev_err(&pDevice->dev, "%s: error: reset_control_clear_reset\n", __func__);
|
||||
+ dev_err(dev, "%s: error: reset_control_clear_reset\n", __func__);
|
||||
return ret;
|
||||
}
|
||||
|
||||
@@ -413,11 +422,22 @@ static int __devinit PVRSRVDriverProbe(LDM_DEV *pDevice, const struct pci_device
|
||||
{
|
||||
already_deasserted = true;
|
||||
}
|
||||
- else if (ret < 0)
|
||||
+ else if (ret < 0)
|
||||
{
|
||||
- dev_err(&pDevice->dev, "%s: error: reset_control_deassert\n", __func__);
|
||||
+ dev_err(dev, "%s: error: reset_control_deassert\n", __func__);
|
||||
return ret;
|
||||
}
|
||||
+#else
|
||||
+ if (pdata && pdata->deassert_reset) {
|
||||
+ ret = pdata->deassert_reset(pDevice, pdata->reset_name);
|
||||
+ if (ret) {
|
||||
+ dev_err(dev, "Unable to reset SGX!\n");
|
||||
+ }
|
||||
+ } else {
|
||||
+ dev_err(dev, "SGX Platform data missing deassert_reset!\n");
|
||||
+ return -ENODEV;
|
||||
+ }
|
||||
+#endif /* CONFIG_RESET_CONTROLLER */
|
||||
#endif
|
||||
|
||||
#if 0 /* INTEGRATION_POINT */
|
||||
@@ -432,7 +452,7 @@ static int __devinit PVRSRVDriverProbe(LDM_DEV *pDevice, const struct pci_device
|
||||
{
|
||||
return -EINVAL;
|
||||
}
|
||||
-#endif
|
||||
+#endif
|
||||
/* SysInitialise only designed to be called once.
|
||||
*/
|
||||
psSysData = SysAcquireDataNoCheck();
|
||||
@@ -445,6 +465,7 @@ static int __devinit PVRSRVDriverProbe(LDM_DEV *pDevice, const struct pci_device
|
||||
}
|
||||
}
|
||||
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,11,0))
|
||||
+#ifdef CONFIG_RESET_CONTROLLER
|
||||
if (!already_deasserted)
|
||||
{
|
||||
ret = reset_control_is_reset(rstc);
|
||||
@@ -454,6 +475,7 @@ static int __devinit PVRSRVDriverProbe(LDM_DEV *pDevice, const struct pci_device
|
||||
}
|
||||
}
|
||||
reset_control_put(rstc);
|
||||
+#endif /* CONFIG_RESET_CONTROLLER */
|
||||
#endif
|
||||
|
||||
return PVRSRVIONClientCreate();
|
||||
--
|
||||
1.9.1
|
||||
|
||||
@@ -1,153 +0,0 @@
|
||||
From cf5156ff82e14fe01a194f9fa9a9adc528ac72f0 Mon Sep 17 00:00:00 2001
|
||||
From: Darren Etheridge <detheridge@ti.com>
|
||||
Date: Tue, 29 Jul 2014 15:39:56 -0500
|
||||
Subject: [PATCH 3/4] SGX: displayclass: am335x, am437x - fix mutex deadlock
|
||||
warning
|
||||
|
||||
Rearrange the locking semantics in the Unblank screen function to
|
||||
remove the kernel warning about a possible deadlock scenario.
|
||||
|
||||
The warning presents itself on the console like this:
|
||||
[ 2976.202979] ======================================================
|
||||
[ 2976.202983] [ INFO: possible circular locking dependency detected ]
|
||||
[ 2976.202994] 3.14.11-00997-gb20d0ac-dirty #53 Tainted: G O
|
||||
[ 2976.202997] -------------------------------------------------------
|
||||
[ 2976.203005] OGLES2Chameleon/1203 is trying to acquire lock:
|
||||
[ 2976.203058] (console_lock){+.+.+.}, at: [<bf07a310>]
|
||||
OMAPLFBUnblankDisplay+0x24/0xbc [omaplfb]
|
||||
[ 2976.203062]
|
||||
[ 2976.203062] but task is already holding lock:
|
||||
[ 2976.203087] (&fb_info->lock){+.+.+.}, at: [<c0312358>]
|
||||
lock_fb_info+0x18/0x3c
|
||||
[ 2976.203090]
|
||||
[ 2976.203090] which lock already depends on the new lock.
|
||||
[ 2976.203090]
|
||||
[ 2976.203093]
|
||||
[ 2976.203093] the existing dependency chain (in reverse order) is:
|
||||
[ 2976.203101]
|
||||
[ 2976.203101] -> #1 (&fb_info->lock){+.+.+.}:
|
||||
[ 2976.203112] [<c0312358>] lock_fb_info+0x18/0x3c
|
||||
[ 2976.203124] [<c0313a7c>] register_framebuffer+0x174/0x26c
|
||||
[ 2976.203146] [<c033c314>] omapfb_create_framebuffers+0x48c/0x7ac
|
||||
[ 2976.203157] [<c033d3c4>] omapfb_probe+0x4d4/0x848
|
||||
[ 2976.203170] [<c0381cc8>] platform_drv_probe+0x18/0x48
|
||||
[ 2976.203189] [<c038096c>] driver_probe_device+0x10c/0x238
|
||||
[ 2976.203199] [<c0380b2c>] __driver_attach+0x94/0x98
|
||||
[ 2976.203208] [<c037f0f0>] bus_for_each_dev+0x54/0x88
|
||||
[ 2976.203216] [<c03800f0>] bus_add_driver+0xd8/0x1d8
|
||||
[ 2976.203223] [<c038115c>] driver_register+0x78/0xf4
|
||||
[ 2976.203234] [<c0008968>] do_one_initcall+0xe4/0x144
|
||||
[ 2976.203250] [<c07d3c18>] kernel_init_freeable+0xfc/0x1cc
|
||||
[ 2976.203261] [<c0563260>] kernel_init+0x8/0xec
|
||||
[ 2976.203275] [<c000e648>] ret_from_fork+0x14/0x2c
|
||||
[ 2976.203284]
|
||||
[ 2976.203284] -> #0 (console_lock){+.+.+.}:
|
||||
[ 2976.203301] [<c008bc00>] console_lock+0x4c/0x60
|
||||
[ 2976.203328] [<bf07a310>] OMAPLFBUnblankDisplay+0x24/0xbc [omaplfb]
|
||||
[ 2976.203340] [<bf0797f4>] OpenDCDevice+0x60/0x78 [omaplfb]
|
||||
[ 2976.203459] [<bf041ac0>] PVRSRVOpenDCDeviceKM+0xec/0x178 [pvrsrvkm]
|
||||
[ 2976.203654] [<bf05645c>] PVRSRVOpenDCDeviceBW+0x6c/0xac [pvrsrvkm]
|
||||
[ 2976.203811] [<bf056d10>] BridgedDispatchKM+0xf4/0x14c [pvrsrvkm]
|
||||
[ 2976.203966] [<bf04f304>] PVRSRV_BridgeDispatchKM+0xf0/0x204
|
||||
[pvrsrvkm]
|
||||
[ 2976.203987] [<c0129500>] do_vfs_ioctl+0x78/0x61c
|
||||
[ 2976.203997] [<c0129b08>] SyS_ioctl+0x64/0x74
|
||||
[ 2976.204013] [<c000e580>] ret_fast_syscall+0x0/0x48
|
||||
[ 2976.204016]
|
||||
[ 2976.204016] other info that might help us debug this:
|
||||
[ 2976.204016]
|
||||
[ 2976.204019] Possible unsafe locking scenario:
|
||||
[ 2976.204019]
|
||||
[ 2976.204022] CPU0 CPU1
|
||||
[ 2976.204024] ---- ----
|
||||
[ 2976.204030] lock(&fb_info->lock);
|
||||
[ 2976.204036] lock(console_lock);
|
||||
[ 2976.204041] lock(&fb_info->lock);
|
||||
[ 2976.204046] lock(console_lock);
|
||||
[ 2976.204048]
|
||||
[ 2976.204048] *** DEADLOCK ***
|
||||
[ 2976.204048]
|
||||
[ 2976.204055] 2 locks held by OGLES2Chameleon/1203:
|
||||
[ 2976.204217] #0: (psPVRSRVMutex#2/1){+.+.+.}, at: [<bf04f238>]
|
||||
PVRSRV_BridgeDispatchKM+0x24/0x204 [pvrsrvkm]
|
||||
[ 2976.204240] #1: (&fb_info->lock){+.+.+.}, at: [<c0312358>]
|
||||
lock_fb_info+0x18/0x3c
|
||||
|
||||
Signed-off-by: Darren Etheridge <detheridge@ti.com>
|
||||
---
|
||||
GFX_Linux_KM/services4/3rdparty/dc_ti335x_linux/omaplfb_linux.c | 8 +++++---
|
||||
GFX_Linux_KM/services4/3rdparty/dc_ti43xx_linux/omaplfb_linux.c | 7 +++++--
|
||||
2 files changed, 10 insertions(+), 5 deletions(-)
|
||||
|
||||
diff --git a/GFX_Linux_KM/services4/3rdparty/dc_ti335x_linux/omaplfb_linux.c b/GFX_Linux_KM/services4/3rdparty/dc_ti335x_linux/omaplfb_linux.c
|
||||
index 3857b95..a5cc7d0 100644
|
||||
--- a/GFX_Linux_KM/services4/3rdparty/dc_ti335x_linux/omaplfb_linux.c
|
||||
+++ b/GFX_Linux_KM/services4/3rdparty/dc_ti335x_linux/omaplfb_linux.c
|
||||
@@ -812,10 +812,13 @@ static OMAPLFB_ERROR OMAPLFBBlankOrUnblankDisplay(OMAPLFB_DEVINFO *psDevInfo, IM
|
||||
{
|
||||
#ifdef FBDEV_PRESENT
|
||||
int res;
|
||||
+
|
||||
+ OMAPLFB_CONSOLE_LOCK();
|
||||
if (!lock_fb_info(psDevInfo->psLINFBInfo))
|
||||
{
|
||||
printk(KERN_ERR DRIVER_PREFIX
|
||||
": %s: Device %u: Couldn't lock FB info\n", __FUNCTION__, psDevInfo->uiFBDevID);
|
||||
+ OMAPLFB_CONSOLE_UNLOCK();
|
||||
return (OMAPLFB_ERROR_GENERIC);
|
||||
}
|
||||
|
||||
@@ -825,14 +828,13 @@ static OMAPLFB_ERROR OMAPLFBBlankOrUnblankDisplay(OMAPLFB_DEVINFO *psDevInfo, IM
|
||||
* notification.
|
||||
*/
|
||||
|
||||
-
|
||||
- OMAPLFB_CONSOLE_LOCK();
|
||||
psDevInfo->psLINFBInfo->flags |= FBINFO_MISC_USEREVENT;
|
||||
res = fb_blank(psDevInfo->psLINFBInfo, bBlank ? 1 : 0);
|
||||
psDevInfo->psLINFBInfo->flags &= ~FBINFO_MISC_USEREVENT;
|
||||
|
||||
- OMAPLFB_CONSOLE_UNLOCK();
|
||||
unlock_fb_info(psDevInfo->psLINFBInfo);
|
||||
+ OMAPLFB_CONSOLE_UNLOCK();
|
||||
+
|
||||
if (res != 0 && res != -EINVAL)
|
||||
{
|
||||
printk(KERN_ERR DRIVER_PREFIX
|
||||
diff --git a/GFX_Linux_KM/services4/3rdparty/dc_ti43xx_linux/omaplfb_linux.c b/GFX_Linux_KM/services4/3rdparty/dc_ti43xx_linux/omaplfb_linux.c
|
||||
index c79dbd0..58b8640 100755
|
||||
--- a/GFX_Linux_KM/services4/3rdparty/dc_ti43xx_linux/omaplfb_linux.c
|
||||
+++ b/GFX_Linux_KM/services4/3rdparty/dc_ti43xx_linux/omaplfb_linux.c
|
||||
@@ -948,10 +948,13 @@ static OMAPLFB_ERROR OMAPLFBBlankOrUnblankDisplay(OMAPLFB_DEVINFO *psDevInfo, IM
|
||||
{
|
||||
#ifdef FBDEV_PRESENT
|
||||
int res;
|
||||
+
|
||||
+ OMAPLFB_CONSOLE_LOCK();
|
||||
if (!lock_fb_info(psDevInfo->psLINFBInfo))
|
||||
{
|
||||
printk(KERN_ERR DRIVER_PREFIX
|
||||
": %s: Device %u: Couldn't lock FB info\n", __FUNCTION__, psDevInfo->uiFBDevID);
|
||||
+ OMAPLFB_CONSOLE_UNLOCK();
|
||||
return (OMAPLFB_ERROR_GENERIC);
|
||||
}
|
||||
|
||||
@@ -961,13 +964,13 @@ static OMAPLFB_ERROR OMAPLFBBlankOrUnblankDisplay(OMAPLFB_DEVINFO *psDevInfo, IM
|
||||
* notification.
|
||||
*/
|
||||
|
||||
- OMAPLFB_CONSOLE_LOCK();
|
||||
psDevInfo->psLINFBInfo->flags |= FBINFO_MISC_USEREVENT;
|
||||
res = fb_blank(psDevInfo->psLINFBInfo, bBlank ? 1 : 0);
|
||||
psDevInfo->psLINFBInfo->flags &= ~FBINFO_MISC_USEREVENT;
|
||||
|
||||
- OMAPLFB_CONSOLE_UNLOCK();
|
||||
unlock_fb_info(psDevInfo->psLINFBInfo);
|
||||
+ OMAPLFB_CONSOLE_UNLOCK();
|
||||
+
|
||||
if (res != 0 && res != -EINVAL)
|
||||
{
|
||||
printk(KERN_ERR DRIVER_PREFIX
|
||||
--
|
||||
1.9.1
|
||||
|
||||
@@ -1,45 +0,0 @@
|
||||
From c9258e090aec91e70efa814e5a38048b0c45754a Mon Sep 17 00:00:00 2001
|
||||
From: Darren Etheridge <detheridge@ti.com>
|
||||
Date: Tue, 29 Jul 2014 15:54:14 -0500
|
||||
Subject: [PATCH 4/4] SGX: linux: make it building against ti-linux-3.14.y
|
||||
|
||||
The fbdev drivers moved into their own directory under drivers/video.
|
||||
All of the omap2 dss stuff moved there as well so update the Makefile
|
||||
to point to the right place.
|
||||
|
||||
Keep the old directory around to not break builds against older kernel.
|
||||
|
||||
Signed-off-by: Darren Etheridge <detheridge@ti.com>
|
||||
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
|
||||
---
|
||||
GFX_Linux_KM/services4/3rdparty/dc_ti335x_linux/Kbuild | 1 +
|
||||
GFX_Linux_KM/services4/3rdparty/dc_ti43xx_linux/Kbuild | 1 +
|
||||
2 files changed, 2 insertions(+)
|
||||
|
||||
diff --git a/GFX_Linux_KM/services4/3rdparty/dc_ti335x_linux/Kbuild b/GFX_Linux_KM/services4/3rdparty/dc_ti335x_linux/Kbuild
|
||||
index 1ae2359..9e0c843 100755
|
||||
--- a/GFX_Linux_KM/services4/3rdparty/dc_ti335x_linux/Kbuild
|
||||
+++ b/GFX_Linux_KM/services4/3rdparty/dc_ti335x_linux/Kbuild
|
||||
@@ -15,6 +15,7 @@ EXTRA_CFLAGS = -DLINUX \
|
||||
-I$(PVR_BUILD_DIR)/services4/include \
|
||||
-I$(PVR_BUILD_DIR)/services4/system/$(PVR_SYSTEM) \
|
||||
-I$(KERNELDIR)/drivers/video/omap2 \
|
||||
+ -I$(KERNELDIR)/drivers/video/fbdev/omap2 \
|
||||
-I$(PVR_BUILD_DIR)/services4/system/include \
|
||||
$(SYS_CFLAGS.1) \
|
||||
|
||||
diff --git a/GFX_Linux_KM/services4/3rdparty/dc_ti43xx_linux/Kbuild b/GFX_Linux_KM/services4/3rdparty/dc_ti43xx_linux/Kbuild
|
||||
index 1ae2359..9e0c843 100755
|
||||
--- a/GFX_Linux_KM/services4/3rdparty/dc_ti43xx_linux/Kbuild
|
||||
+++ b/GFX_Linux_KM/services4/3rdparty/dc_ti43xx_linux/Kbuild
|
||||
@@ -15,6 +15,7 @@ EXTRA_CFLAGS = -DLINUX \
|
||||
-I$(PVR_BUILD_DIR)/services4/include \
|
||||
-I$(PVR_BUILD_DIR)/services4/system/$(PVR_SYSTEM) \
|
||||
-I$(KERNELDIR)/drivers/video/omap2 \
|
||||
+ -I$(KERNELDIR)/drivers/video/fbdev/omap2 \
|
||||
-I$(PVR_BUILD_DIR)/services4/system/include \
|
||||
$(SYS_CFLAGS.1) \
|
||||
|
||||
--
|
||||
2.0.2
|
||||
|
||||
@@ -1,81 +0,0 @@
|
||||
DESCRIPTION = "Kernel drivers for the PowerVR SGX chipset found in the omap3 SoCs (for X11)"
|
||||
LICENSE = "GPLv2"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=ea5743acf520dd81ca172e69f818a3d4"
|
||||
|
||||
TI_BIN_UNPK_CMDS="Y: qY:workdir:Y"
|
||||
require ../../recipes-ti/includes/ti-eula-unpack.inc
|
||||
|
||||
SGXPV = "4_09_00_01"
|
||||
IMGPV = "1.9.2188537"
|
||||
|
||||
inherit module
|
||||
|
||||
MACHINE_KERNEL_PR_append = "d"
|
||||
PR = "${MACHINE_KERNEL_PR}"
|
||||
|
||||
# Select the corresponding hardfp/softfp filename and checksums based on tune flags
|
||||
BINFILE_SOFTFP = "Graphics_SDK_setuplinux_${SGXPV}_minimal_demos.bin"
|
||||
MD5SUM_SOFTFP = "bd35e9d8843aff3a2aca9d41e7db1c7d"
|
||||
SHA256SUM_SOFTFP = "eb37f75ddde4640b09e760fa86e689beb394330ecdf68786188c34f249247647"
|
||||
|
||||
BINFILE_HARDFP = "Graphics_SDK_setuplinux_${SGXPV}_hardfp_minimal_demos.bin"
|
||||
MD5SUM_HARDFP = "c9f656dce062d1ab10afffd4dfb71b67"
|
||||
SHA256SUM_HARDFP = "dbfeba8e1298f139495816334edec1455e6b49b1e11bd1b2aa0a888e5788bb6b"
|
||||
|
||||
BINFILE = "${@base_contains('TUNE_FEATURES', 'callconvention-hard', '${BINFILE_HARDFP}', '${BINFILE_SOFTFP}', d)}"
|
||||
|
||||
SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/gfxsdk/${SGXPV}/exports/${BINFILE}"
|
||||
|
||||
SRC_URI[md5sum] := "${@base_contains('TUNE_FEATURES', 'callconvention-hard', '${MD5SUM_HARDFP}', '${MD5SUM_SOFTFP}', d)}"
|
||||
SRC_URI[sha256sum] := "${@base_contains('TUNE_FEATURES', 'callconvention-hard', '${SHA256SUM_HARDFP}', '${SHA256SUM_SOFTFP}', d)}"
|
||||
|
||||
TI_BIN_UNPK_WDEXT="/Graphics_SDK_${SGXPV}"
|
||||
S = "${WORKDIR}${TI_BIN_UNPK_WDEXT}/GFX_Linux_KM"
|
||||
|
||||
PVRBUILD = "release"
|
||||
export KERNELDIR = "${STAGING_KERNEL_DIR}"
|
||||
|
||||
INHIBIT_PACKAGE_STRIP = "1"
|
||||
|
||||
TI_PLATFORM_omap3 = "omap3630"
|
||||
TI_PLATFORM_ti814x = "ti81xx"
|
||||
TI_PLATFORM_ti816x = "ti81xx"
|
||||
TI_PLATFORM_ti33x = "ti335x"
|
||||
|
||||
MODULESLOCATION_omap3 = "dc_omapfb3_linux"
|
||||
MODULESLOCATION_ti814x = "dc_ti81xx_linux"
|
||||
MODULESLOCATION_ti816x = "dc_ti81xx_linux"
|
||||
MODULESLOCATION_ti33x = "dc_ti335x_linux"
|
||||
|
||||
export SUPPORT_XORG ?= "1"
|
||||
|
||||
MAKE_TARGETS = " BUILD=${PVRBUILD} TI_PLATFORM=${TI_PLATFORM} SUPPORT_XORG=${SUPPORT_XORG}"
|
||||
|
||||
do_compile() {
|
||||
export TOOLCHAIN="${TOOLCHAIN_PATH}"
|
||||
export PLAT_CC="${CC}"
|
||||
export PLAT_CPP="${CXX}"
|
||||
export PLAR_AR="${AR}"
|
||||
for kernelver in ${WORKDIR}/../../${PREFERRED_PROVIDER_virtual/kernel}/* ; do
|
||||
cp -f $kernelver/git/drivers/gpu/drm/*.c ${S}/services4/3rdparty/linux_drm/
|
||||
done
|
||||
if [ $(echo -e "${KERNEL_VERSION}\n3.3" | sort --version-sort | head -1) = "3.3" ] ; then
|
||||
cp -f ${S}/services4/3rdparty/linux_drm/Kbuild_3.3 \
|
||||
${S}/services4/3rdparty/linux_drm/Kbuild || true
|
||||
else
|
||||
if [ $(echo -e "${KERNEL_VERSION}\n3.2" | sort --version-sort | head -1) = "3.2" ] ; then
|
||||
cp -f ${S}/services4/3rdparty/linux_drm/Kbuild_3.2 \
|
||||
${S}/services4/3rdparty/linux_drm/Kbuild || true
|
||||
fi
|
||||
fi
|
||||
oe_runmake BUILD=${PVRBUILD} TI_PLATFORM=${TI_PLATFORM} SUPPORT_XORG=${SUPPORT_XORG}
|
||||
}
|
||||
|
||||
do_install() {
|
||||
mkdir -p ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/gpu/pvr
|
||||
cp ${S}/pvrsrvkm.ko \
|
||||
${S}/services4/3rdparty/bufferclass_ti/bufferclass_ti.ko \
|
||||
${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/gpu/pvr
|
||||
|
||||
cp ${S}/services4/3rdparty/linux_drm/drm.ko ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/gpu/pvr
|
||||
}
|
||||
@@ -1,38 +1,38 @@
|
||||
From: Steve Sakoman
|
||||
Subject: omap3-sgx-modules: Fix build for Linux 3.0
|
||||
|
||||
This patch implements the header change from plat/display.h to video/omapdss.h
|
||||
|
||||
Signed-off-by: Steve Sakoman <steve at sakoman.com>
|
||||
|
||||
--- GFX_Linux_KM/services4/3rdparty/dc_omap3430_linux/omaplfb_linux.c-orig 2011-08-01 07:21:45.000000000 -0700
|
||||
+++ GFX_Linux_KM/services4/3rdparty/dc_omap3430_linux/omaplfb_linux.c 2011-08-01 07:29:32.000000000 -0700
|
||||
@@ -47,12 +47,12 @@
|
||||
#if defined (SUPPORT_TI_DSS_FW)
|
||||
#include <asm/io.h>
|
||||
|
||||
-#if (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,26))
|
||||
-#if (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,31))
|
||||
+#if (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,39)))
|
||||
+#include <video/omapdss.h>
|
||||
+#elif (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,31))
|
||||
#include <plat/display.h>
|
||||
-#else
|
||||
+#elif (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,26))
|
||||
#include <mach/display.h>
|
||||
-#endif
|
||||
#else
|
||||
#include <asm/arch-omap/display.h>
|
||||
#endif
|
||||
@@ -64,7 +64,11 @@ extern int omap_dispc_request_irq(unsign
|
||||
extern void omap_dispc_free_irq(unsigned long, void (*)(void *), void *);
|
||||
extern void omap_dispc_set_plane_base(int plane, IMG_UINT32 phys_addr);
|
||||
#else
|
||||
+#if (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,39))
|
||||
+#include <video/omapdss.h>
|
||||
+#else
|
||||
#include <plat/display.h>
|
||||
+#endif
|
||||
#include <linux/console.h>
|
||||
#include <linux/fb.h>
|
||||
static omap_dispc_isr_t *pOMAPLFBVSyncISRHandle = NULL;
|
||||
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
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user