mirror of
https://git.yoctoproject.org/meta-ti
synced 2026-01-12 01:20:20 +00:00
Compare commits
136 Commits
08.04.01.0
...
danny
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
72d4c5d37d | ||
|
|
5ff9feb881 | ||
|
|
383266ca96 | ||
|
|
d78b2c21c4 | ||
|
|
cc36865809 | ||
|
|
616f91bc32 | ||
|
|
5f945012c9 | ||
|
|
29719b15ee | ||
|
|
68c58484ab | ||
|
|
e2b3670c17 | ||
|
|
ede7a353b9 | ||
|
|
ac4d555544 | ||
|
|
ef12440225 | ||
|
|
1c09e95bef | ||
|
|
9826121536 | ||
|
|
428c9db65f | ||
|
|
4f776c4560 | ||
|
|
569af06fd2 | ||
|
|
c49e7d4275 | ||
|
|
e47e400d07 | ||
|
|
3e1ab248af | ||
|
|
9772c16b8b | ||
|
|
2091fb4ea2 | ||
|
|
03397a66d8 | ||
|
|
f2afcfee58 | ||
|
|
03fbb49000 | ||
|
|
418403ee99 | ||
|
|
22b2c79dd0 | ||
|
|
8f5baa2153 | ||
|
|
3b2d0910db | ||
|
|
8a6d2d49dd | ||
|
|
bb6646fd96 | ||
|
|
088a1dbea3 | ||
|
|
0bd05df9cf | ||
|
|
f817807842 | ||
|
|
2ad1fd65b8 | ||
|
|
7dc90eb9e2 | ||
|
|
4b0d898ffd | ||
|
|
8f7d03e4a1 | ||
|
|
aefef7fe95 | ||
|
|
891eddf7a2 | ||
|
|
8cf7df4efc | ||
|
|
abeba37a5f | ||
|
|
7c3ef24776 | ||
|
|
372e20c544 | ||
|
|
380d514d98 | ||
|
|
9fedd1c4d2 | ||
|
|
f6fa9fe735 | ||
|
|
9f4cd9900f | ||
|
|
913f722e9e | ||
|
|
1735c59bb7 | ||
|
|
233da46564 | ||
|
|
ca64840bab | ||
|
|
2d10089a70 | ||
|
|
0e11ce3049 | ||
|
|
881fcc9599 | ||
|
|
6a02716519 | ||
|
|
855ff4c8b0 | ||
|
|
6c4be0a29a | ||
|
|
45b73845d5 | ||
|
|
8173631f17 | ||
|
|
c670286002 | ||
|
|
6b8e4763e7 | ||
|
|
e268e5ab46 | ||
|
|
7a62fcc7db | ||
|
|
11573bda76 | ||
|
|
ae33b7ee8a | ||
|
|
34063f07ec | ||
|
|
a8a4e2b8b1 | ||
|
|
814aefd0c1 | ||
|
|
8a3f708383 | ||
|
|
ceb0f4897c | ||
|
|
597e23588a | ||
|
|
61dee71e3a | ||
|
|
f244c38393 | ||
|
|
900893454c | ||
|
|
2843ce6357 | ||
|
|
164d09c5a6 | ||
|
|
a81353cabb | ||
|
|
b585087534 | ||
|
|
adab80bfe5 | ||
|
|
8e7a3d837e | ||
|
|
f5530f4905 | ||
|
|
7321c84e48 | ||
|
|
dbc9679e93 | ||
|
|
aa8bdcbeff | ||
|
|
24111d70d6 | ||
|
|
918faa12ec | ||
|
|
67493ea858 | ||
|
|
14a20a715c | ||
|
|
5d0be86675 | ||
|
|
4c74132530 | ||
|
|
7251d2309b | ||
|
|
0c5a45b423 | ||
|
|
21ffcc7614 | ||
|
|
a7288a2712 | ||
|
|
7d68b3bd60 | ||
|
|
814a292394 | ||
|
|
159989762d | ||
|
|
36fde3ec41 | ||
|
|
2e71db8625 | ||
|
|
e7c7da790f | ||
|
|
3a000bd536 | ||
|
|
db2b57fd14 | ||
|
|
724db5b366 | ||
|
|
e851afed41 | ||
|
|
233882aa2b | ||
|
|
9ff3bd4b3d | ||
|
|
41159b9b78 | ||
|
|
1ac81a48bc | ||
|
|
81819baccb | ||
|
|
ae3d571f28 | ||
|
|
bbf54c833d | ||
|
|
44c42244aa | ||
|
|
800056c5d5 | ||
|
|
15420045f6 | ||
|
|
f3057de84d | ||
|
|
b8cbfa1437 | ||
|
|
746e85779b | ||
|
|
4689b0e62c | ||
|
|
e7c3920f9e | ||
|
|
353bd874f2 | ||
|
|
a587b90f98 | ||
|
|
a1934f3d95 | ||
|
|
e5875d9052 | ||
|
|
7cdc415098 | ||
|
|
61ecacbdf3 | ||
|
|
bf6acb5e04 | ||
|
|
2cc3f0ace5 | ||
|
|
47bc5e11ec | ||
|
|
6f1ea750be | ||
|
|
1e898d9b61 | ||
|
|
0a764d7336 | ||
|
|
ff74447a23 | ||
|
|
c2f1b57a6c | ||
|
|
b9276bfe02 |
21
README
21
README
@@ -8,11 +8,13 @@ This layer depends on:
|
||||
|
||||
URI: git://git.openembedded.org/openembedded-core
|
||||
layers: meta
|
||||
branch: dunfell
|
||||
branch: master
|
||||
|
||||
URI: git://git.yoctoproject.org/meta-arm
|
||||
layers: meta-arm
|
||||
branch: dunfell
|
||||
|
||||
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
|
||||
@@ -22,12 +24,7 @@ distro-less (only with OE-Core), with Yocto/Poky, with Angstrom or Arago.
|
||||
Please follow the recommended setup procedures of your OE distribution.
|
||||
|
||||
|
||||
Send pull requests, patches, comments or questions to:
|
||||
meta-ti@lists.yoctoproject.org
|
||||
Send pull requests, patches, comments or questions to meta-ti@yoctoproject.org
|
||||
|
||||
Please note - meta-ti mailing list requires subscription for posting:
|
||||
https://lists.yoctoproject.org/g/meta-ti
|
||||
|
||||
Maintainers:
|
||||
Ryan Eatmon <reatmon@ti.com>
|
||||
Denys Dmytriyenko <denys@konsulko.com>
|
||||
Maintainers: Denys Dmytriyenko <denys@ti.com>
|
||||
Koen Kooi <koen@dominion.thruhere.net>
|
||||
|
||||
156
classes/sdcard_image.bbclass
Normal file
156
classes/sdcard_image.bbclass
Normal file
@@ -0,0 +1,156 @@
|
||||
inherit image
|
||||
|
||||
# Add the fstypes we need
|
||||
IMAGE_FSTYPES_append = " tar.bz2 sdimg"
|
||||
|
||||
# Ensure required utilities are present
|
||||
IMAGE_DEPENDS_sdimg = "genext2fs-native e2fsprogs-native"
|
||||
|
||||
# Change this to match your host distro
|
||||
LOSETUP ?= "/sbin/losetup"
|
||||
|
||||
# Since these need to go in /etc/fstab we can hardcode them
|
||||
# Since the vars are weakly assigned, you can override them from your local.conf
|
||||
LOOPDEV ?= "/dev/loop1"
|
||||
LOOPDEV_BOOT ?= "/dev/loop2"
|
||||
LOOPDEV_FS ?= "/dev/loop3"
|
||||
|
||||
# Default to 4GiB images
|
||||
SDIMG_SIZE ?= "444"
|
||||
|
||||
# FS type for rootfs
|
||||
ROOTFSTYPE ?= "ext4"
|
||||
|
||||
BOOTPARTNAME_beaglebone = "BEAGLE_BONE"
|
||||
BOOTPARTNAME ?= "${MACHINE}"
|
||||
|
||||
IMAGEDATESTAMP = "${@time.strftime('%Y.%m.%d',time.gmtime())}"
|
||||
|
||||
# Files and/or directories to be copied into the vfat partition
|
||||
FATPAYLOAD ?= ""
|
||||
|
||||
IMAGE_CMD_sdimg () {
|
||||
SDIMG=${WORKDIR}/sd.img
|
||||
|
||||
# sanity check fstab entry for boot partition mounting
|
||||
if [ "x$(cat /etc/fstab | grep ${LOOPDEV_BOOT} | grep ${WORKDIR}/tmp-mnt-boot | grep user || true)" = "x" ]; then
|
||||
echo "/etc/fstab entries need to be created with the user flag for the loop devices like:"
|
||||
echo "${LOOPDEV_BOOT} ${WORKDIR}/tmp-mnt-boot vfat user 0 0"
|
||||
false
|
||||
fi
|
||||
|
||||
# cleanup loops
|
||||
for loop in ${LOOPDEV} ${LOOPDEV_BOOT} ${LOOPDEV_FS} ; do
|
||||
${LOSETUP} -d $loop || true
|
||||
done
|
||||
|
||||
# If an SD image is already present, reuse and reformat it
|
||||
if [ ! -e ${SDIMG} ] ; then
|
||||
dd if=/dev/zero of=${SDIMG} bs=$(echo '255 * 63 * 512' | bc) count=${SDIMG_SIZE}
|
||||
fi
|
||||
|
||||
${LOSETUP} ${LOOPDEV} ${SDIMG}
|
||||
|
||||
# Create partition table
|
||||
dd if=/dev/zero of=${LOOPDEV} bs=1024 count=1024
|
||||
SIZE=$(/sbin/fdisk -l ${LOOPDEV} | grep Disk | grep bytes | awk '{print $5}')
|
||||
CYLINDERS=$(echo $SIZE/255/63/512 | bc)
|
||||
{
|
||||
echo ,9,0x0C,*
|
||||
echo ,,,-
|
||||
} | /sbin/sfdisk -D -H 255 -S 63 -C ${CYLINDERS} ${LOOPDEV}
|
||||
|
||||
# Prepare loop devices for boot and filesystem partitions
|
||||
BOOT_OFFSET=32256
|
||||
FS_OFFSET_SECT=$(/sbin/fdisk -l -u ${LOOPDEV} 2>&1 | grep Linux | perl -p -i -e "s/\s+/ /"|cut -d " " -f 2)
|
||||
FS_OFFSET=$(echo "$FS_OFFSET_SECT * 512" | bc)
|
||||
FS_SIZE_BLOCKS=$(/sbin/fdisk -l -u ${LOOPDEV} 2>&1 | grep Linux | perl -p -i -e "s/\s+/ /g" \
|
||||
|cut -d " " -f 4 | cut -d "+" -f 1)
|
||||
|
||||
LOOPDEV_BLOCKS=$(/sbin/fdisk -l -u ${LOOPDEV} 2>&1 | grep FAT | perl -p -i -e "s/\s+/ /g"|cut -d " " -f 5)
|
||||
LOOPDEV_BYTES=$(echo "$LOOPDEV_BLOCKS * 1024" | bc)
|
||||
|
||||
${LOSETUP} -d ${LOOPDEV}
|
||||
|
||||
${LOSETUP} ${LOOPDEV_BOOT} ${SDIMG} -o ${BOOT_OFFSET}
|
||||
|
||||
/sbin/mkfs.vfat ${LOOPDEV_BOOT} -n ${BOOTPARTNAME} $LOOPDEV_BLOCKS
|
||||
|
||||
# Prepare filesystem partition
|
||||
# Copy ubi used by flashing scripts
|
||||
if [ -e ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ubi ] ; then
|
||||
echo "Copying UBIFS image to file system"
|
||||
cp ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ubi ${IMAGE_ROOTFS}/boot/fs.ubi
|
||||
fi
|
||||
|
||||
# Prepare boot partion. First mount the boot partition, and copy the boot loader and supporting files
|
||||
# from the root filesystem
|
||||
|
||||
mkdir -p ${WORKDIR}/tmp-mnt-boot
|
||||
mount $LOOPDEV_BOOT ${WORKDIR}/tmp-mnt-boot
|
||||
|
||||
echo "Copying bootloaders into the boot partition"
|
||||
if [ -e ${IMAGE_ROOTFS}/boot/MLO ] ; then
|
||||
cp -v ${IMAGE_ROOTFS}/boot/MLO ${WORKDIR}/tmp-mnt-boot
|
||||
else
|
||||
cp -v ${DEPLOY_DIR_IMAGE}/MLO ${WORKDIR}/tmp-mnt-boot
|
||||
fi
|
||||
|
||||
# Check for u-boot SPL
|
||||
if [ -e ${DEPLOY_DIR_IMAGE}/u-boot-${MACHINE}.img ] ; then
|
||||
suffix=img
|
||||
else
|
||||
suffix=bin
|
||||
fi
|
||||
|
||||
cp -v ${IMAGE_ROOTFS}/boot/uEnv.txt ${WORKDIR}/tmp-mnt-boot || true
|
||||
cp -v ${IMAGE_ROOTFS}/boot/user.txt ${WORKDIR}/tmp-mnt-boot || true
|
||||
cp -v ${IMAGE_ROOTFS}/boot/uImage ${WORKDIR}/tmp-mnt-boot || true
|
||||
|
||||
if [ -e ${IMAGE_ROOTFS}/boot/u-boot.$suffix ] ; then
|
||||
cp -v ${IMAGE_ROOTFS}/boot/{u-boot.$suffix} ${WORKDIR}/tmp-mnt-boot || true
|
||||
else
|
||||
cp -v ${DEPLOY_DIR_IMAGE}/u-boot-${MACHINE}.$suffix ${WORKDIR}/tmp-mnt-boot/u-boot.$suffix
|
||||
fi
|
||||
|
||||
if [ -n ${FATPAYLOAD} ] ; then
|
||||
echo "Copying payload into VFAT"
|
||||
for entry in ${FATPAYLOAD} ; do
|
||||
# add the || true to stop aborting on vfat issues like not supporting .~lock files
|
||||
cp -av ${IMAGE_ROOTFS}$entry ${WORKDIR}/tmp-mnt-boot || true
|
||||
done
|
||||
fi
|
||||
|
||||
echo "${IMAGE_NAME}-${IMAGEDATESTAMP}" > ${IMAGE_ROOTFS}/etc/image-version-info
|
||||
|
||||
# Cleanup VFAT mount
|
||||
echo "Cleaning up VFAT mount"
|
||||
umount ${WORKDIR}/tmp-mnt-boot
|
||||
${LOSETUP} -d ${LOOPDEV_BOOT} || true
|
||||
|
||||
# Prepare rootfs parition
|
||||
echo "Creating rootfs loopback"
|
||||
${LOSETUP} ${LOOPDEV_FS} ${SDIMG} -o ${FS_OFFSET}
|
||||
|
||||
FS_NUM_INODES=$(echo $FS_SIZE_BLOCKS / 4 | bc)
|
||||
|
||||
case "${ROOTFSTYPE}" in
|
||||
ext3)
|
||||
genext2fs -z -N $FS_NUM_INODES -b $FS_SIZE_BLOCKS -d ${IMAGE_ROOTFS} ${LOOPDEV_FS}
|
||||
tune2fs -L ${IMAGE_NAME} -j ${LOOPDEV_FS}
|
||||
;;
|
||||
ext4)
|
||||
genext2fs -z -N $FS_NUM_INODES -b $FS_SIZE_BLOCKS -d ${IMAGE_ROOTFS} ${LOOPDEV_FS}
|
||||
tune2fs -L ${IMAGE_NAME} -j -O extents,uninit_bg,dir_index ${LOOPDEV_FS}
|
||||
;;
|
||||
*)
|
||||
echo "Please set ROOTFSTYPE to something supported"
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
${LOSETUP} -d ${LOOPDEV_FS} || true
|
||||
|
||||
gzip -c ${WORKDIR}/sd.img > ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}-${IMAGEDATESTAMP}.img.gz
|
||||
rm -f ${WORKDIR}/sd.img
|
||||
}
|
||||
@@ -1,47 +0,0 @@
|
||||
TI_PDK_GIT_URI ?= "git://git.ti.com/git/processor-sdk/pdk.git"
|
||||
TI_PDK_GIT_BRANCH ?= "master"
|
||||
TI_PDK_GIT_PROTOCOL ?= "https"
|
||||
TI_PDK_SRCREV ?= "a1ace885998e9adbcbbd0abf8b9ded6ba9ec54ff"
|
||||
|
||||
TI_PDK_VERSION ?= "2020.5.6"
|
||||
|
||||
PV = "${TI_PDK_VERSION}"
|
||||
PE = "2"
|
||||
|
||||
TI_PDK_COMP ?= ""
|
||||
TI_PDK_COMP_PATH = "${@'${TI_PDK_COMP}'.replace('.','/')}"
|
||||
|
||||
TI_PDK_SOURCE_PN = "ti-pdk-source"
|
||||
TI_PDK_SOURCE_WORKDIR = "${TMPDIR}/work-shared/ti-pdk-${PV}"
|
||||
TI_PDK_SOURCE = "${TI_PDK_SOURCE_WORKDIR}/git"
|
||||
|
||||
S = "${@'${WORKDIR}/git/${TI_PDK_COMP_PATH}'.rstrip('/')}"
|
||||
|
||||
# Hard-link only required sources from PDK
|
||||
python do_unpack_append() {
|
||||
if len(d.getVar('TI_PDK_COMP') or '') > 0:
|
||||
import shutil
|
||||
|
||||
# Get src/dst paths
|
||||
src = os.path.join(d.getVar('TI_PDK_SOURCE'),'packages',d.getVar('TI_PDK_COMP_PATH'))
|
||||
s = d.getVar('S')
|
||||
|
||||
# Set up the directory structure, except for the root of the sources
|
||||
# hard-linked.
|
||||
bb.utils.mkdirhier(s)
|
||||
os.rmdir(s)
|
||||
|
||||
# Recursively hard-link the sources
|
||||
shutil.copytree(src, s, copy_function=os.link)
|
||||
|
||||
# Recursively hard-link the git directory
|
||||
shutil.copytree(os.path.join(d.getVar('TI_PDK_SOURCE'),'.git'), os.path.join(s,'.git'), copy_function=os.link)
|
||||
}
|
||||
|
||||
# Make sure that ti-pdk-source is unpacked before we set up the hardlinks.
|
||||
python __anonymous () {
|
||||
pn = d.getVar('PN')
|
||||
pdk_src_pn = d.getVar('TI_PDK_SOURCE_PN')
|
||||
if pn != pdk_src_pn:
|
||||
d.appendVarFlag('do_unpack', 'depends', ' ${TI_PDK_SOURCE_PN}:do_unpack')
|
||||
}
|
||||
@@ -1,144 +0,0 @@
|
||||
require recipes-ti/includes/ti-paths.inc
|
||||
require recipes-ti/includes/ti-staging.inc
|
||||
|
||||
inherit perlnative
|
||||
|
||||
DEPENDS = "ti-xdctools-native ti-cg-xml-native ti-sysbios common-csl-ip-rtos libxml-simple-perl-native gcc-arm-baremetal-native ti-cgt6x-native ti-cgt-pru-native ti-pdk-build-rtos doxygen-native"
|
||||
|
||||
DEPENDS_append_omap-a15 = " ti-cgt-arm-native"
|
||||
DEPENDS_remove_ti33x = "ti-cgt6x-native"
|
||||
DEPENDS_remove_ti43x = "ti-cgt6x-native"
|
||||
DEPENDS_append_omapl1 = " ti-cgt-arm-native"
|
||||
DEPENDS_remove_am65xx = "gcc-arm-baremetal-native ti-cgt6x-native"
|
||||
DEPENDS_append_am65xx = " ti-cgt-arm-native gcc-linaro-baremetal-aarch64-native"
|
||||
DEPENDS_remove_j7 = "gcc-arm-baremetal-native"
|
||||
DEPENDS_append_j7 = " ti-cgt-arm-native gcc-linaro-baremetal-aarch64-native ti-cgt7x-native"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
B = "${WORKDIR}/build"
|
||||
|
||||
# HTML hyperlink text
|
||||
PDK_COMP_LINK_TEXT ?= ""
|
||||
|
||||
DOC_FILE = "API_Documentation_${PN}.html"
|
||||
|
||||
create_doc_link () {
|
||||
PDK_COMP_DIR=`get_build_dir_bash`
|
||||
|
||||
echo "<a href=\"${PDK_COMP_DIR}/docs/doxygen/html/index.html\">${PDK_COMP_LINK_TEXT}</a>" >> ${D}${PDK_INSTALL_DIR_RECIPE}/packages/.extras/doc/${DOC_FILE}
|
||||
}
|
||||
|
||||
get_build_dir_bash() {
|
||||
if [ -f ${S}/package.xdc ]
|
||||
then
|
||||
grep '^package' ${S}/package.xdc | sed -e 's|\[.*$||' | awk '{ print $2 }' | sed -e 's|\.|/|g'
|
||||
else
|
||||
echo ${S}
|
||||
return 1
|
||||
fi
|
||||
}
|
||||
|
||||
export CROSS_TOOL_PRFX="arm-none-eabi-"
|
||||
export TOOLCHAIN_PATH_A8 = "${GCC_ARM_NONE_TOOLCHAIN}"
|
||||
export TOOLCHAIN_PATH_A9 = "${GCC_ARM_NONE_TOOLCHAIN}"
|
||||
export TOOLCHAIN_PATH_A15 = "${GCC_ARM_NONE_TOOLCHAIN}"
|
||||
export TOOLCHAIN_PATH_M4 = "${M4_TOOLCHAIN_INSTALL_DIR}"
|
||||
export TOOLCHAIN_PATH_Arm9 = "${M4_TOOLCHAIN_INSTALL_DIR}"
|
||||
export C6X_GEN_INSTALL_PATH = "${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x"
|
||||
export C7X_GEN_INSTALL_PATH = "${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c7x"
|
||||
export TOOLCHAIN_PATH_EVE = "${STAGING_DIR_NATIVE}/usr/share/ti/cgt-arp32"
|
||||
export CL_PRU_INSTALL_PATH = "${TI_CGT_PRU_INSTALL_DIR}"
|
||||
export TOOLCHAIN_PATH_GCC_ARCH64 = "${GCC_LINARO_BAREMETAL_AARCH64_TOOLCHAIN}"
|
||||
export TOOLCHAIN_PATH_R5 = "${M4_TOOLCHAIN_INSTALL_DIR}"
|
||||
|
||||
export ROOTDIR = "${B}"
|
||||
export BIOS_INSTALL_PATH = "${SYSBIOS_INSTALL_DIR}"
|
||||
export XDC_INSTALL_PATH = "${XDC_INSTALL_DIR}"
|
||||
export PDK_INSTALL_PATH = "${PDK_INSTALL_DIR}/packages"
|
||||
|
||||
export XDCPATH = "${XDC_INSTALL_DIR}/packages;${SYSBIOS_INSTALL_DIR}/packages;${PDK_INSTALL_DIR}/packages"
|
||||
export SECTTI="perl ${CG_XML_INSTALL_DIR}/ofd/sectti.pl"
|
||||
|
||||
TI_PDK_XDCMAKE ?= "1"
|
||||
|
||||
# By default, only build the cores with available toolchains
|
||||
TI_PDK_LIMIT_CORES ?= "a15_0 ipu1_0 ipu1_1 ipu2_0 ipu2_1 mpu1_0 mcu1_0 mcu1_1 mcu2_0 mcu2_1 mcu3_0 mcu3_1 c66x c66xdsp_1 c66xdsp_2 c7x_1 arm9_0 c674x a9host a8host pru_0 pru_1"
|
||||
TI_PDK_LIMIT_SOCS ?= ""
|
||||
TI_PDK_LIMIT_BOARDS ?= ""
|
||||
TI_PDK_MAKE_TARGET ?= "release"
|
||||
TI_PDK_EXTRA_MAKE ?= ""
|
||||
TI_PDK_DOXYGEN_SUPPORT ?= "1"
|
||||
|
||||
TI_PDK_XDC_ARGS ?= "${TI_PDK_LIMIT_SOCS}"
|
||||
|
||||
PARALLEL_XDC = "${@oe.utils.parallel_make_argument(d, '--jobs=%d')}"
|
||||
PARALLEL_MAKE = ""
|
||||
|
||||
def get_doxygen_support(d):
|
||||
if d.getVar('TI_PDK_DOXYGEN_SUPPORT') == '1':
|
||||
return ''
|
||||
return 'DOXYGEN_SUPPORT=no'
|
||||
|
||||
EXTRA_OEMAKE = " \
|
||||
LIMIT_SOCS="${TI_PDK_LIMIT_SOCS}" \
|
||||
LIMIT_BOARDS="${TI_PDK_LIMIT_BOARDS}" \
|
||||
LIMIT_CORES="${TI_PDK_LIMIT_CORES}" \
|
||||
${TI_PDK_EXTRA_MAKE} \
|
||||
${@get_doxygen_support(d)} \
|
||||
"
|
||||
|
||||
do_configure() {
|
||||
BUILD_DIR=${B}/`get_build_dir_bash`
|
||||
|
||||
mkdir -p ${BUILD_DIR}
|
||||
cp -r ${S}/* ${BUILD_DIR}
|
||||
|
||||
if [ "${TI_PDK_XDCMAKE}" == "1" ]
|
||||
then
|
||||
cd ${BUILD_DIR}
|
||||
|
||||
sed -i "s/\ \"\.\\\\\\\\\"\ +//" src/Module.xs
|
||||
find -name "*.xs" -exec sed -i "s/ofd6x\.exe/ofd6x/" {} \;
|
||||
find -name "*.xs" -exec sed -i "s/sectti\.exe/sectti/" {} \;
|
||||
find -name "*.xs" -exec sed -i "/\.chm/d" {} \;
|
||||
find -name "*.xs" -exec sed -i "s/pasm\_dos/pasm\_linux/" {} \;
|
||||
|
||||
cd ${B}
|
||||
${XDC_INSTALL_DIR}/xdc clean ${PARALLEL_XDC} -PR .
|
||||
else
|
||||
if [ "${CLEANBROKEN}" != "1" ]
|
||||
then
|
||||
cd ${BUILD_DIR}
|
||||
oe_runmake clean
|
||||
cd "${B}"
|
||||
fi
|
||||
fi
|
||||
|
||||
}
|
||||
|
||||
do_compile() {
|
||||
|
||||
if [ "${TI_PDK_XDCMAKE}" == "1" ]
|
||||
then
|
||||
${XDC_INSTALL_DIR}/xdc all ${PARALLEL_XDC} XDCARGS="${TI_PDK_XDC_ARGS}" ROOTDIR="${ROOTDIR}" -PR .
|
||||
${XDC_INSTALL_DIR}/xdc release XDCARGS="${TI_PDK_XDC_ARGS}" -PR .
|
||||
else
|
||||
BUILD_DIR=${B}/`get_build_dir_bash`
|
||||
cd ${BUILD_DIR}
|
||||
|
||||
oe_runmake ${TI_PDK_MAKE_TARGET}
|
||||
fi
|
||||
}
|
||||
|
||||
do_install () {
|
||||
install -d ${D}${PDK_INSTALL_DIR_RECIPE}/packages
|
||||
find -name "*.tar" -exec tar xf {} --no-same-owner -C ${D}${PDK_INSTALL_DIR_RECIPE}/packages \;
|
||||
|
||||
if [ "${PDK_COMP_LINK_TEXT}" != "" ]
|
||||
then
|
||||
install -d ${D}${PDK_INSTALL_DIR_RECIPE}/packages/.extras/doc
|
||||
create_doc_link
|
||||
fi
|
||||
}
|
||||
|
||||
FILES_${PN} += "${PDK_INSTALL_DIR_RECIPE}/packages"
|
||||
@@ -1,6 +1,5 @@
|
||||
# We have a conf and classes directory, append to BBPATH
|
||||
BBPATH .= ":${LAYERDIR}"
|
||||
METATIBASE := '${@os.path.normpath("${LAYERDIR}/")}'
|
||||
|
||||
# We have a recipes directory, add to BBFILES
|
||||
BBFILES += "${LAYERDIR}/recipes*/*/*.bb ${LAYERDIR}/recipes*/*/*.bbappend"
|
||||
@@ -8,28 +7,3 @@ BBFILES += "${LAYERDIR}/recipes*/*/*.bb ${LAYERDIR}/recipes*/*/*.bbappend"
|
||||
BBFILE_COLLECTIONS += "meta-ti"
|
||||
BBFILE_PATTERN_meta-ti := "^${LAYERDIR}/"
|
||||
BBFILE_PRIORITY_meta-ti = "6"
|
||||
|
||||
LAYERSERIES_COMPAT_meta-ti = "dunfell"
|
||||
|
||||
LICENSE_PATH += "${LAYERDIR}/licenses"
|
||||
|
||||
LAYERDEPENDS_meta-ti = " \
|
||||
core \
|
||||
meta-arm \
|
||||
"
|
||||
|
||||
SIGGEN_EXCLUDERECIPES_ABISAFE += " \
|
||||
ti-sgx-ddk-km \
|
||||
ti-sgx-ddk-um \
|
||||
cmem-mod \
|
||||
hplib-mod \
|
||||
gdbserverproxy-module-drv \
|
||||
debugss-module-drv \
|
||||
uio-module-drv \
|
||||
mpm-transport \
|
||||
cppi-lld \
|
||||
qmss-lld \
|
||||
multiprocmgr \
|
||||
"
|
||||
|
||||
HOSTTOOLS_NONFATAL += "truncate xxd comm"
|
||||
|
||||
18
conf/machine/am180x-evm.conf
Normal file
18
conf/machine/am180x-evm.conf
Normal file
@@ -0,0 +1,18 @@
|
||||
#@TYPE: Machine
|
||||
#@NAME: AM180x CPUs on an AM180x EVM board
|
||||
#@DESCRIPTION: Machine configuration for the TI AM180x EVM board
|
||||
|
||||
require conf/machine/include/davinci.inc
|
||||
require conf/machine/include/omapl138.inc
|
||||
|
||||
UBOOT_MACHINE = "da850evm_config"
|
||||
UBOOT_ENTRYPOINT = "0xc0008000"
|
||||
UBOOT_LOADADDRESS = "0xc0008000"
|
||||
|
||||
IMAGE_FSTYPES += "tar.gz ubi"
|
||||
|
||||
SERIAL_CONSOLE = "115200 ttyS2"
|
||||
|
||||
PREFERRED_PROVIDER_virtual/kernel = "linux-omapl138-psp"
|
||||
PREFERRED_PROVIDER_virtual/bootloader = "u-boot-am180x"
|
||||
PREFERRED_PROVIDER_u-boot = "u-boot-am180x"
|
||||
@@ -4,14 +4,14 @@
|
||||
|
||||
require conf/machine/include/ti33x.inc
|
||||
|
||||
MACHINE_GUI_CLASS = "smallscreen"
|
||||
# Use built-in LCD by default
|
||||
XSERVER += "xf86-input-tslib"
|
||||
GUI_MACHINE_CLASS = "smallscreen"
|
||||
MACHINE_FEATURES += "touchscreen"
|
||||
|
||||
IMAGE_FSTYPES += "ubifs ubi"
|
||||
IMAGE_FSTYPES += "ubi tar.gz"
|
||||
|
||||
# Normally AM335 boards use ttyS0, but ICE uses ttyS3, so try both
|
||||
SERIAL_CONSOLES = "115200;ttyS0 115200;ttyS3"
|
||||
SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
|
||||
SERIAL_CONSOLE = "115200 ttyO0"
|
||||
|
||||
# UBI information. Note that this is board and kernel specific. Changes
|
||||
# in your kernel port may require changes in these variables. For more
|
||||
@@ -24,7 +24,7 @@ SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
|
||||
# UBI: logical eraseblock size: 126976 bytes
|
||||
# from ubiattach stdout:
|
||||
# UBI device number 0, total 1988 LEBs
|
||||
MKUBIFS_ARGS ?= "-F -m 2048 -e 126976 -c 9900"
|
||||
MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 3836"
|
||||
|
||||
# do ubiattach /dev/ubi_ctrl -m 7 -O 2048
|
||||
# from dmesg:
|
||||
@@ -32,4 +32,4 @@ MKUBIFS_ARGS ?= "-F -m 2048 -e 126976 -c 9900"
|
||||
# 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"
|
||||
UBINIZE_ARGS = "-m 2048 -p 128KiB -s 512 -O 2048"
|
||||
|
||||
@@ -1,18 +0,0 @@
|
||||
#@TYPE: Machine
|
||||
#@NAME: AM335x HS EVM
|
||||
#@DESCRIPTION: Machine configuration for the TI AM335x HS EVM
|
||||
|
||||
require conf/machine/am335x-evm.conf
|
||||
|
||||
UBOOT_MACHINE = ""
|
||||
# Last config in the list is default
|
||||
UBOOT_CONFIG ??= "uart mmc"
|
||||
UBOOT_CONFIG[uart] = "am335x_hs_evm_uart_config"
|
||||
UBOOT_CONFIG[mmc] = "am335x_hs_evm_config"
|
||||
|
||||
UBOOT_ENTRYPOINT = "0x82000000"
|
||||
UBOOT_LOADADDRESS = "0x82000000"
|
||||
UBOOT_RD_LOADADDRESS = "0x84000000"
|
||||
UBOOT_RD_ENTRYPOINT = "0x84000000"
|
||||
|
||||
TI_SECURE_DEV_PKG = "${TI_SECURE_DEV_PKG_CAT}/am3x"
|
||||
@@ -4,16 +4,21 @@
|
||||
|
||||
require conf/machine/include/omap3.inc
|
||||
|
||||
MACHINE_GUI_CLASS = "smallscreen"
|
||||
# Use built-in LCD by default
|
||||
XSERVER += "xf86-input-tslib"
|
||||
GUI_MACHINE_CLASS = "smallscreen"
|
||||
MACHINE_FEATURES += "touchscreen ethernet"
|
||||
|
||||
IMAGE_FSTYPES += "ubi tar.xz"
|
||||
IMAGE_FSTYPES += "ubi tar.gz"
|
||||
EXTRA_IMAGECMD_jffs2 = "-lnp -e 0x20000 -s 2048"
|
||||
|
||||
SERIAL_CONSOLES = "115200;ttyS2"
|
||||
SERIAL_CONSOLE = "115200 ttyO2"
|
||||
USE_VT = "2"
|
||||
|
||||
KERNEL_DEVICETREE = "am3517-evm.dtb"
|
||||
PREFERRED_PROVIDER_virtual/kernel = "linux-omap-psp"
|
||||
|
||||
PREFERRED_PROVIDER_virtual/bootloader = "u-boot-am3517"
|
||||
PREFERRED_PROVIDER_u-boot = "u-boot-am3517"
|
||||
|
||||
UBOOT_MACHINE = "am3517_evm_config"
|
||||
XLOAD_MACHINE = "am3517evm_config"
|
||||
|
||||
@@ -4,15 +4,19 @@
|
||||
|
||||
require conf/machine/include/omap3.inc
|
||||
|
||||
MACHINE_GUI_CLASS = "smallscreen"
|
||||
# Use built-in LCD by default
|
||||
XSERVER += "xf86-input-tslib"
|
||||
GUI_MACHINE_CLASS = "smallscreen"
|
||||
MACHINE_FEATURES += "touchscreen ethernet"
|
||||
|
||||
IMAGE_FSTYPES += "ubi tar.xz"
|
||||
IMAGE_FSTYPES += "ubi tar.gz"
|
||||
EXTRA_IMAGECMD_jffs2 = "-lnp -e 0x20000 -s 2048"
|
||||
|
||||
KERNEL_DEVICETREE = "omap3-evm-37xx.dtb"
|
||||
SERIAL_CONSOLE = "115200 ttyO0"
|
||||
|
||||
SERIAL_CONSOLES = "115200;ttyS0"
|
||||
PREFERRED_PROVIDER_virtual/kernel = "linux-omap-psp"
|
||||
PREFERRED_PROVIDER_virtual/bootloader = "u-boot-am37x"
|
||||
PREFERRED_PROVIDER_u-boot = "u-boot-am37x"
|
||||
|
||||
# NOTE: there are NAND and OneNAND versions of this board...
|
||||
# do ubiattach /dev/ubi_ctrl -m 4
|
||||
|
||||
@@ -1,33 +0,0 @@
|
||||
#@TYPE: Machine
|
||||
#@NAME: AM437x EVM
|
||||
#@DESCRIPTION: Machine configuration for the TI AM437x EVM
|
||||
|
||||
require conf/machine/include/ti43x.inc
|
||||
|
||||
MACHINE_GUI_CLASS = "smallscreen"
|
||||
MACHINE_FEATURES += "touchscreen"
|
||||
|
||||
IMAGE_FSTYPES += "ubifs ubi"
|
||||
|
||||
SERIAL_CONSOLES = "115200;ttyS0"
|
||||
|
||||
# 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 4800"
|
||||
|
||||
# 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,18 +0,0 @@
|
||||
#@TYPE: Machine
|
||||
#@NAME: AM437x HS EVM
|
||||
#@DESCRIPTION: Machine configuration for the TI AM437x HS EVM
|
||||
|
||||
require conf/machine/am437x-evm.conf
|
||||
|
||||
UBOOT_MACHINE = "am43xx_hs_evm_config"
|
||||
|
||||
UBOOT_ENTRYPOINT = "0x82000000"
|
||||
UBOOT_LOADADDRESS = "0x82000000"
|
||||
UBOOT_RD_LOADADDRESS = "0x84000000"
|
||||
UBOOT_RD_ENTRYPOINT = "0x84000000"
|
||||
|
||||
TI_SECURE_DEV_PKG = "${TI_SECURE_DEV_PKG_CAT}/am4x"
|
||||
|
||||
OPTEEMACHINE = "ti-am43xx"
|
||||
OPTEEFLAVOR = "am43xx"
|
||||
OPTEEOUTPUTMACHINE = "ti"
|
||||
@@ -1,58 +0,0 @@
|
||||
#@TYPE: Machine
|
||||
#@NAME: AM57xx EVM
|
||||
#@DESCRIPTION: Machine configuration for the TI AM57xx EVM
|
||||
|
||||
require conf/machine/include/dra7xx.inc
|
||||
|
||||
MACHINE_FEATURES += "touchscreen"
|
||||
|
||||
SERIAL_CONSOLES = "115200;ttyS2"
|
||||
|
||||
KERNEL_DEVICETREE = " \
|
||||
am57xx-beagle-x15.dtb \
|
||||
am57xx-beagle-x15-revb1.dtb \
|
||||
am57xx-beagle-x15-revc.dtb \
|
||||
am5729-beagleboneai.dtb \
|
||||
${@oe.utils.conditional('ARAGO_BRAND', 'mainline', '', 'am57xx-evm.dtb', d)} \
|
||||
ti/am57xx-evm-common.dtbo \
|
||||
${@oe.utils.conditional('ARAGO_BRAND', 'mainline', '', 'am57xx-evm-reva3.dtb', d)} \
|
||||
ti/am57xx-evm-reva3.dtbo \
|
||||
am571x-idk.dtb \
|
||||
ti/am571x-idk-touchscreen.dtbo \
|
||||
am572x-idk.dtb \
|
||||
am574x-idk.dtb \
|
||||
ti/am57xx-idk-osd-lcd-common.dtbo \
|
||||
ti/am572x-idk-touchscreen.dtbo \
|
||||
ti/lcd-osd101t2587.dtbo \
|
||||
ti/lcd-osd101t2045.dtbo \
|
||||
${@oe.utils.conditional('ARAGO_BRAND', 'mainline', '', 'ti/ov10635.dtbo', d)} \
|
||||
"
|
||||
|
||||
KERNEL_DEVICETREE += "${@oe.utils.conditional('ENABLE_TI_UIO_DEVICES', '1', 'am574x-idk-pru-excl-uio.dtb am572x-idk-pru-excl-uio.dtb am571x-idk-pru-excl-uio.dtb', '', d)}"
|
||||
|
||||
UBOOT_MACHINE = "am57xx_evm_config"
|
||||
|
||||
# UBI information. Note that this is board and kernel specific. Changes
|
||||
# in your kernel port may require changes in these variables. For more
|
||||
# details about this board please see
|
||||
# http://processors.wiki.ti.com/index.php/UBIFS_Support
|
||||
|
||||
# do ubiattach /dev/ubi_ctrl -m 7 -O 2048
|
||||
# From dmesg:
|
||||
# UBI: smallest flash I/O unit: 2048
|
||||
# UBI: logical eraseblock size: 126976 bytes
|
||||
# from ubiattach stdout:
|
||||
# UBI device number 0, total 1988 LEBs
|
||||
MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 8192"
|
||||
|
||||
# do ubiattach /dev/ubi_ctrl -m 7 -O 2048
|
||||
# from dmesg:
|
||||
# UBI: smallest flash I/O unit: 2048
|
||||
# UBI: physical eraseblock size: 131072 bytes (128 KiB)
|
||||
# UBI: sub-page size: 512
|
||||
# UBI: VID header offset: 2048 (aligned 2048)
|
||||
UBINIZE_ARGS = "-m 2048 -p 128KiB -s 512 -O 2048"
|
||||
|
||||
# Set the list of device targets for ti-pdk class recipes
|
||||
TI_PDK_LIMIT_SOCS = "am571x am572x am574x"
|
||||
TI_PDK_LIMIT_BOARDS = "evmAM571x evmAM572x idkAM571x idkAM572x idkAM574x"
|
||||
@@ -1,19 +0,0 @@
|
||||
#@TYPE: Machine
|
||||
#@NAME: AM57xx HS EVM
|
||||
#@DESCRIPTION: Machine configuration for the TI AM57xx HS EVM
|
||||
|
||||
require conf/machine/am57xx-evm.conf
|
||||
|
||||
UBOOT_MACHINE = "am57xx_hs_evm_config"
|
||||
|
||||
UBOOT_ENTRYPOINT = "0x82000000"
|
||||
UBOOT_LOADADDRESS = "0x82000000"
|
||||
UBOOT_RD_LOADADDRESS = "0x84000000"
|
||||
UBOOT_RD_ENTRYPOINT = "0x84000000"
|
||||
|
||||
TI_SECURE_DEV_PKG = "${TI_SECURE_DEV_PKG_AUTO}/am5x"
|
||||
|
||||
OPTEEMACHINE = "ti-am57xx"
|
||||
OPTEEFLAVOR = "am57xx"
|
||||
OPTEEOUTPUTMACHINE = "ti"
|
||||
OPTEEPAGER = "y"
|
||||
@@ -1,11 +0,0 @@
|
||||
#@TYPE: Machine
|
||||
#@NAME: AM62XX EVM (R5F)
|
||||
#@DESCRIPTION: Machine configuration for the TI AM62xx EVM (R5F core)
|
||||
|
||||
require conf/machine/include/k3r5.inc
|
||||
|
||||
SYSFW_SOC = "am62x"
|
||||
SYSFW_CONFIG = "evm"
|
||||
SYSFW_SUFFIX = "gp"
|
||||
|
||||
UBOOT_MACHINE = "am62x_evm_r5_defconfig"
|
||||
@@ -1,16 +0,0 @@
|
||||
#@TYPE: Machine
|
||||
#@NAME: AM62XX EVM
|
||||
#@DESCRIPTION: Machine configuration for the TI AM62XX EVM
|
||||
|
||||
require conf/machine/include/am62xx.inc
|
||||
|
||||
MACHINE_FEATURES += "gpu"
|
||||
|
||||
KERNEL_DEVICETREE = " \
|
||||
ti/k3-am625-sk.dtb \
|
||||
ti/k3-am625-skeleton.dtb \
|
||||
ti/k3-am625-sk-lpmdemo.dtb \
|
||||
ti/k3-am625-sk-csi2-ov5640.dtbo \
|
||||
"
|
||||
|
||||
UBOOT_MACHINE = "am62x_evm_a53_defconfig"
|
||||
@@ -1,11 +0,0 @@
|
||||
#@TYPE: Machine
|
||||
#@NAME: AM62XX LP EVM (R5F)
|
||||
#@DESCRIPTION: Machine configuration for the TI AM62xx LP EVM (R5F core)
|
||||
|
||||
require conf/machine/include/k3r5.inc
|
||||
|
||||
SYSFW_SOC = "am62x"
|
||||
SYSFW_CONFIG = "evm"
|
||||
SYSFW_SUFFIX = "gp"
|
||||
|
||||
UBOOT_MACHINE = "am62x_lpsk_r5_defconfig"
|
||||
@@ -1,16 +0,0 @@
|
||||
#@TYPE: Machine
|
||||
#@NAME: AM62XX LP EVM
|
||||
#@DESCRIPTION: Machine configuration for the TI AM62XX LP EVM
|
||||
|
||||
require conf/machine/include/am62xx.inc
|
||||
|
||||
MACHINE_FEATURES += "gpu"
|
||||
|
||||
KERNEL_DEVICETREE = " \
|
||||
ti/k3-am62x-lp-sk.dtb \
|
||||
ti/k3-am625-skeleton.dtb \
|
||||
ti/k3-am625-sk-lpmdemo.dtb \
|
||||
ti/k3-am625-sk-csi2-ov5640.dtbo \
|
||||
"
|
||||
|
||||
UBOOT_MACHINE = "am62x_lpsk_a53_defconfig"
|
||||
@@ -1,20 +0,0 @@
|
||||
#@TYPE: Machine
|
||||
#@NAME: AM64xx GP EVM (R5F)
|
||||
#@DESCRIPTION: Machine configuration for the TI AM64xx GP EVM (R5F core)
|
||||
|
||||
# Booting GP requires different SYSFW, the rest is handled at runtime
|
||||
|
||||
require conf/machine/include/k3r5.inc
|
||||
SOC_FAMILY_append = ":k3r5-gp"
|
||||
|
||||
SYSFW_SOC = "am64x"
|
||||
SYSFW_CONFIG = "evm"
|
||||
SYSFW_SUFFIX = "gp"
|
||||
SYSFW_TIBOOT3_SYMLINK = ""
|
||||
|
||||
UBOOT_MACHINE = "am64x_evm_r5_defconfig"
|
||||
|
||||
SPL_BINARY = ""
|
||||
UBOOT_BINARY = "u-boot-spl.${UBOOT_SUFFIX}"
|
||||
UBOOT_IMAGE = "u-boot-r5spl-gp-${MAINMACHINE}-${PV}-${PR}.${UBOOT_SUFFIX}"
|
||||
UBOOT_SYMLINK = "u-boot-r5spl-gp.${UBOOT_SUFFIX}"
|
||||
@@ -1,14 +0,0 @@
|
||||
#@TYPE: Machine
|
||||
#@NAME: AM64xx SR2.0 HS-FS EVM (R5F)
|
||||
#@DESCRIPTION: Machine configuration for the TI AM64xx SR2.0 HS-FS EVM (R5F core)
|
||||
|
||||
# Booting SR2.0 HS-FS requires different SYSFW, the rest is handled at runtime
|
||||
|
||||
require conf/machine/include/k3r5.inc
|
||||
SOC_FAMILY_append = ":k3r5-sr2-hs-fs"
|
||||
|
||||
SYSFW_SOC = "am64x_sr2"
|
||||
SYSFW_CONFIG = "evm"
|
||||
SYSFW_SUFFIX = "hs-fs"
|
||||
|
||||
UBOOT_MACHINE = "am64x_evm_r5_defconfig"
|
||||
@@ -1,20 +0,0 @@
|
||||
#@TYPE: Machine
|
||||
#@NAME: AM64xx SR2.0 HS-SE EVM (R5F)
|
||||
#@DESCRIPTION: Machine configuration for the TI AM64xx SR2.0 HS-SE EVM (R5F core)
|
||||
|
||||
# Booting SR2.0 HS-SE requires different SYSFW, the rest is handled at runtime
|
||||
|
||||
require conf/machine/include/k3r5.inc
|
||||
SOC_FAMILY_append = ":k3r5-sr2-hs-se"
|
||||
|
||||
SYSFW_SOC = "am64x_sr2"
|
||||
SYSFW_CONFIG = "evm"
|
||||
SYSFW_SUFFIX = "hs"
|
||||
SYSFW_TIBOOT3_SYMLINK = ""
|
||||
|
||||
UBOOT_MACHINE = "am64x_evm_r5_defconfig"
|
||||
|
||||
SPL_BINARY = ""
|
||||
UBOOT_BINARY = "u-boot-spl.${UBOOT_SUFFIX}"
|
||||
UBOOT_IMAGE = "u-boot-r5spl-sr2-hs-se-${MAINMACHINE}-${PV}-${PR}.${UBOOT_SUFFIX}"
|
||||
UBOOT_SYMLINK = "u-boot-r5spl-sr2-hs-se.${UBOOT_SUFFIX}"
|
||||
@@ -1,7 +0,0 @@
|
||||
#@TYPE: Machine
|
||||
#@NAME: AM64xx EVM
|
||||
#@DESCRIPTION: Machine configuration for the TI AM64xx EVM
|
||||
|
||||
require conf/machine/include/am64xx.inc
|
||||
|
||||
UBOOT_MACHINE = "am64x_evm_a53_defconfig"
|
||||
@@ -1,11 +0,0 @@
|
||||
#@TYPE: Machine
|
||||
#@NAME: AM65xx SR2.0 EVM (R5F)
|
||||
#@DESCRIPTION: Machine configuration for the TI AM65xx SR2.0 EVM (R5F core)
|
||||
|
||||
# Booting SR2 requires different SYSFW, the rest is handled at runtime
|
||||
|
||||
require conf/machine/am65xx-evm-k3r5.conf
|
||||
SOC_FAMILY_append = ":k3r5-sr2"
|
||||
|
||||
SYSFW_SOC = "am65x_sr2"
|
||||
SYSFW_SYMLINK = "sysfw.itb"
|
||||
@@ -1,18 +0,0 @@
|
||||
#@TYPE: Machine
|
||||
#@NAME: AM65xx EVM (R5F)
|
||||
#@DESCRIPTION: Machine configuration for the TI AM65xx EVM (R5F core)
|
||||
|
||||
require conf/machine/include/k3r5.inc
|
||||
|
||||
SYSFW_SOC = "am65x"
|
||||
SYSFW_CONFIG = "evm"
|
||||
SYSFW_SUFFIX = "gp"
|
||||
SYSFW_SYMLINK = ""
|
||||
|
||||
SPL_BINARY = "spl/u-boot-spl.${UBOOT_SUFFIX}"
|
||||
SPL_SYMLINK = "u-boot-r5spl.${UBOOT_SUFFIX}"
|
||||
UBOOT_BINARY = "tiboot3.${UBOOT_SUFFIX}"
|
||||
UBOOT_IMAGE = "tiboot3-${MAINMACHINE}-${PV}-${PR}.${UBOOT_SUFFIX}"
|
||||
UBOOT_SYMLINK = "tiboot3-${MAINMACHINE}.${UBOOT_SUFFIX}"
|
||||
|
||||
UBOOT_MACHINE = "am65x_evm_r5_defconfig"
|
||||
@@ -1,7 +0,0 @@
|
||||
#@TYPE: Machine
|
||||
#@NAME: AM65xx EVM
|
||||
#@DESCRIPTION: Machine configuration for the TI AM65xx EVM
|
||||
|
||||
require conf/machine/include/am65xx.inc
|
||||
|
||||
UBOOT_MACHINE = "am65x_evm_a53_defconfig"
|
||||
@@ -1,11 +0,0 @@
|
||||
#@TYPE: Machine
|
||||
#@NAME: AM65xx SR2.0 HS EVM (R5F)
|
||||
#@DESCRIPTION: Machine configuration for the TI AM65xx SR2.0 HS EVM (R5F core)
|
||||
|
||||
# Booting SR2 requires different SYSFW, the rest is handled at runtime
|
||||
|
||||
require conf/machine/am65xx-hs-evm-k3r5.conf
|
||||
SOC_FAMILY_append = ":k3r5-sr2"
|
||||
|
||||
SYSFW_SOC = "am65x_sr2"
|
||||
SYSFW_SYMLINK = "sysfw.itb"
|
||||
@@ -1,18 +0,0 @@
|
||||
#@TYPE: Machine
|
||||
#@NAME: AM65xx HS EVM (R5F)
|
||||
#@DESCRIPTION: Machine configuration for the TI AM65xx HS EVM (R5F core)
|
||||
|
||||
require conf/machine/include/k3r5.inc
|
||||
|
||||
SYSFW_SOC = "am65x"
|
||||
SYSFW_CONFIG = "evm"
|
||||
SYSFW_SUFFIX = "hs"
|
||||
SYSFW_SYMLINK = ""
|
||||
|
||||
SPL_BINARY = "spl/u-boot-spl.${UBOOT_SUFFIX}"
|
||||
SPL_SYMLINK = "u-boot-r5spl.${UBOOT_SUFFIX}"
|
||||
UBOOT_BINARY = "tiboot3.${UBOOT_SUFFIX}"
|
||||
UBOOT_IMAGE = "tiboot3-${MAINMACHINE}-${PV}-${PR}.${UBOOT_SUFFIX}"
|
||||
UBOOT_SYMLINK = "tiboot3-${MAINMACHINE}.${UBOOT_SUFFIX}"
|
||||
|
||||
UBOOT_MACHINE = "am65x_hs_evm_r5_defconfig"
|
||||
@@ -1,19 +0,0 @@
|
||||
#@TYPE: Machine
|
||||
#@NAME: AM65xx HS EVM
|
||||
#@DESCRIPTION: Machine configuration for the TI AM65xx HS EVM
|
||||
|
||||
require conf/machine/include/am65xx.inc
|
||||
|
||||
UBOOT_MACHINE = "am65x_hs_evm_a53_defconfig"
|
||||
|
||||
UBOOT_ENTRYPOINT = "0x80080000"
|
||||
UBOOT_LOADADDRESS = "0x80080000"
|
||||
UBOOT_RD_LOADADDRESS = "0x84000000"
|
||||
UBOOT_RD_ENTRYPOINT = "0x84000000"
|
||||
UBOOT_DTB_LOADADDRESS = "0x83000000"
|
||||
UBOOT_DTBO_LOADADDRESS = "0x83080000"
|
||||
UBOOT_DTBO_OFFSET = "0x00010000"
|
||||
|
||||
SPL_BINARY = "tispl.bin_HS"
|
||||
UBOOT_BINARY = "u-boot.img_HS"
|
||||
UBOOT_SYMLINK = "u-boot.img"
|
||||
@@ -1,13 +0,0 @@
|
||||
#@TYPE: Machine
|
||||
#@NAME: BeagleBoard X15
|
||||
#@DESCRIPTION: Machine configuration for the BeagleBoard X15
|
||||
|
||||
require conf/machine/include/dra7xx.inc
|
||||
|
||||
KERNEL_DEVICETREE = "am57xx-beagle-x15.dtb am57xx-beagle-x15-revb1.dtb am57xx-beagle-x15-revc.dtb"
|
||||
|
||||
MACHINE_GUI_CLASS = "bigscreen"
|
||||
|
||||
SERIAL_CONSOLES = "115200;ttyS2"
|
||||
|
||||
UBOOT_MACHINE = "am57xx_evm_config"
|
||||
@@ -5,14 +5,16 @@
|
||||
require conf/machine/include/omap3.inc
|
||||
|
||||
# Only has DVI connector for external screen
|
||||
MACHINE_GUI_CLASS = "bigscreen"
|
||||
GUI_MACHINE_CLASS = "bigscreen"
|
||||
|
||||
IMAGE_FSTYPES += "tar.xz ubi"
|
||||
PREFERRED_PROVIDER_virtual/kernel = "linux-mainline"
|
||||
PREFERRED_PROVIDER_virtual/bootloader = "u-boot-beagleboard"
|
||||
PREFERRED_PROVIDER_u-boot = "u-boot-beagleboard"
|
||||
|
||||
IMAGE_FSTYPES += "tar.gz ubi"
|
||||
EXTRA_IMAGECMD_jffs2 = "-lnp"
|
||||
|
||||
KERNEL_DEVICETREE = "omap3-beagle.dtb omap3-beagle-xm.dtb omap3-beagle-xm-ab.dtb"
|
||||
|
||||
SERIAL_CONSOLES = "115200;ttyS2"
|
||||
SERIAL_CONSOLE = "115200 ttyO2"
|
||||
|
||||
UBOOT_MACHINE = "omap3_beagle_config"
|
||||
|
||||
|
||||
@@ -1,19 +1,14 @@
|
||||
#@TYPE: Machine
|
||||
#@NAME: BeagleBone machine
|
||||
#@DESCRIPTION: Machine configuration for the http://beagleboard.org/bone board
|
||||
#@DESCRIPTION: Machine configuration for the http://beagleboard.org/bone board
|
||||
|
||||
require conf/machine/include/ti33x.inc
|
||||
|
||||
KERNEL_DEVICETREE = "am335x-bone.dtb am335x-boneblue.dtb \
|
||||
am335x-boneblack.dtb am335x-boneblack-wireless.dtb \
|
||||
am335x-bonegreen.dtb am335x-bonegreen-wireless.dtb"
|
||||
|
||||
# Only has DVI connector for external screen
|
||||
MACHINE_GUI_CLASS = "bigscreen"
|
||||
GUI_MACHINE_CLASS = "bigscreen"
|
||||
|
||||
SERIAL_CONSOLES = "115200;ttyS0"
|
||||
IMAGE_FSTYPES += "tar.gz"
|
||||
|
||||
IMAGE_INSTALL_append = " kernel-devicetree kernel-image-zimage"
|
||||
SERIAL_CONSOLE = "115200 ttyO0"
|
||||
|
||||
# Refine the list of device targets for ti-pdk class recipes
|
||||
TI_PDK_LIMIT_BOARDS = "bbbAM335x"
|
||||
UBOOT_MACHINE = "am335x_evm_config"
|
||||
|
||||
@@ -1,9 +0,0 @@
|
||||
#@TYPE: Machine
|
||||
#@NAME: Keystone 1 c665x machine
|
||||
#@DESCRIPTION: Machine configuration for the TI Keystone 1 c665x EVM
|
||||
|
||||
require conf/machine/include/c66x.inc
|
||||
|
||||
# Set the list of device targets for ti-pdk class recipes
|
||||
TI_PDK_LIMIT_SOCS = "c6657"
|
||||
TI_PDK_LIMIT_BOARDS = "evmC6657"
|
||||
@@ -1,9 +0,0 @@
|
||||
#@TYPE: Machine
|
||||
#@NAME: Keystone 1 c667x machine
|
||||
#@DESCRIPTION: Machine configuration for the TI Keystone 1 c667x EVM
|
||||
|
||||
require conf/machine/include/c66x.inc
|
||||
|
||||
# Set the list of device targets for ti-pdk class recipes
|
||||
TI_PDK_LIMIT_SOCS = "c6678"
|
||||
TI_PDK_LIMIT_BOARDS = "evmC6678"
|
||||
@@ -2,27 +2,14 @@
|
||||
#@NAME: DRA7xx EVM
|
||||
#@DESCRIPTION: Machine configuration for the TI DRA7xx EVM
|
||||
|
||||
require conf/machine/include/dra7xx.inc
|
||||
require conf/machine/include/omap-a15.inc
|
||||
|
||||
MACHINE_FEATURES += "touchscreen"
|
||||
IMAGE_FSTYPES += "ubi tar.gz"
|
||||
|
||||
SERIAL_CONSOLES = "115200;ttyS0"
|
||||
SERIAL_CONSOLE = "115200 ttyO0"
|
||||
|
||||
KERNEL_DEVICETREE = " \
|
||||
dra7-evm.dtb \
|
||||
ti/dra7x-evm-osd-lcd-common.dtbo \
|
||||
dra71-evm.dtb \
|
||||
${@oe.utils.conditional('ARAGO_BRAND', 'mainline', '', 'dra71-evm-nand.dtb', d)} \
|
||||
ti/dra71-evm-lcd-auo-g101evn01.0.dtbo \
|
||||
dra72-evm.dtb \
|
||||
dra72-evm-revc.dtb \
|
||||
ti/dra72-evm-touchscreen.dtbo \
|
||||
ti/dra74-evm-touchscreen.dtbo \
|
||||
dra76-evm.dtb \
|
||||
ti/dra76-evm-tfp410.dtbo \
|
||||
ti/lcd-osd101t2045.dtbo \
|
||||
ti/lcd-osd101t2587.dtbo \
|
||||
"
|
||||
PREFERRED_PROVIDER_virtual/bootloader = "u-boot-dra7xx"
|
||||
PREFERRED_PROVIDER_u-boot = "u-boot-dra7xx"
|
||||
|
||||
UBOOT_MACHINE = "dra7xx_evm_config"
|
||||
|
||||
@@ -37,7 +24,7 @@ UBOOT_MACHINE = "dra7xx_evm_config"
|
||||
# UBI: logical eraseblock size: 126976 bytes
|
||||
# from ubiattach stdout:
|
||||
# UBI device number 0, total 1988 LEBs
|
||||
MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 8192"
|
||||
MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 3836"
|
||||
|
||||
# do ubiattach /dev/ubi_ctrl -m 7 -O 2048
|
||||
# from dmesg:
|
||||
@@ -47,6 +34,6 @@ MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 8192"
|
||||
# UBI: VID header offset: 2048 (aligned 2048)
|
||||
UBINIZE_ARGS = "-m 2048 -p 128KiB -s 512 -O 2048"
|
||||
|
||||
# Set the list of device targets for ti-pdk class recipes
|
||||
TI_PDK_LIMIT_BOARDS = "evmDRA72x evmDRA75x evmDRA78x"
|
||||
TI_PDK_LIMIT_SOCS = "dra72x dra75x dra78x"
|
||||
# Currently removing the sgx machine feature because there is no SGX package
|
||||
# available for omap5
|
||||
MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen touchscreen"
|
||||
|
||||
@@ -1,19 +0,0 @@
|
||||
#@TYPE: Machine
|
||||
#@NAME: DRA7xx HS EVM
|
||||
#@DESCRIPTION: Machine configuration for the TI DRA7xx HS EVM
|
||||
|
||||
require conf/machine/dra7xx-evm.conf
|
||||
|
||||
UBOOT_MACHINE = "dra7xx_hs_evm_config"
|
||||
|
||||
UBOOT_ENTRYPOINT = "0x82000000"
|
||||
UBOOT_LOADADDRESS = "0x82000000"
|
||||
UBOOT_RD_LOADADDRESS = "0x84000000"
|
||||
UBOOT_RD_ENTRYPOINT = "0x84000000"
|
||||
|
||||
TI_SECURE_DEV_PKG = "${TI_SECURE_DEV_PKG_AUTO}/dra7"
|
||||
|
||||
OPTEEMACHINE = "ti-dra7xx"
|
||||
OPTEEFLAVOR = "dra7xx"
|
||||
OPTEEOUTPUTMACHINE = "ti"
|
||||
OPTEEPAGER = "y"
|
||||
@@ -1,16 +0,0 @@
|
||||
require conf/machine/include/k3.inc
|
||||
SOC_FAMILY_append = ":am62xx"
|
||||
|
||||
MACHINE_FEATURES += "screen touchscreen"
|
||||
|
||||
SERIAL_CONSOLES = "115200;ttyS2"
|
||||
SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
|
||||
|
||||
TFA_K3_SYSTEM_SUSPEND = "1"
|
||||
|
||||
do_image_wic[mcdepends] = "mc::k3r5:ti-sci-fw:do_deploy"
|
||||
do_image_tar[mcdepends] = "mc::k3r5:ti-sci-fw:do_deploy"
|
||||
|
||||
TFA_BOARD = "lite"
|
||||
OPTEEMACHINE = "k3-am62x"
|
||||
OPTEEOUTPUTMACHINE = "k3"
|
||||
@@ -1,41 +0,0 @@
|
||||
require conf/machine/include/k3.inc
|
||||
SOC_FAMILY_append = ":am64xx"
|
||||
|
||||
MACHINE_FEATURES += "screen touchscreen"
|
||||
|
||||
SERIAL_CONSOLES = "115200;ttyS2 115200;ttyS1"
|
||||
SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
|
||||
|
||||
KERNEL_DEVICETREE = " \
|
||||
ti/k3-am642-evm.dtb \
|
||||
ti/k3-am642-sk.dtb \
|
||||
ti/k3-am642-evm-icssg1-dualemac.dtbo \
|
||||
ti/k3-am642-evm-icssg1-dualemac-mii.dtbo \
|
||||
ti/k3-am642-evm-nand.dtbo \
|
||||
"
|
||||
|
||||
# Default tiboot3.bin on AM64x is for SR2.0 HS-FS
|
||||
BBMULTICONFIG = "k3r5-sr2-hs-fs"
|
||||
do_image_wic[mcdepends] = "mc::k3r5-sr2-hs-fs:ti-sci-fw:do_deploy"
|
||||
do_image_tar[mcdepends] = "mc::k3r5-sr2-hs-fs:ti-sci-fw:do_deploy"
|
||||
|
||||
# Since default tiboot3.bin on AM64x is for SR2.0 HS-FS, add a version for GP
|
||||
BBMULTICONFIG += "k3r5-gp"
|
||||
IMAGE_BOOT_FILES += " tiboot3-am64x-gp-evm.bin"
|
||||
do_image_wic[mcdepends] += "mc::k3r5-gp:ti-sci-fw:do_deploy"
|
||||
do_image_tar[mcdepends] += "mc::k3r5-gp:ti-sci-fw:do_deploy"
|
||||
|
||||
# Since default tiboot3.bin on AM64x is for SR2.0 HS-FS, add a version for SR2.0 HS-SE
|
||||
BBMULTICONFIG += "k3r5-sr2-hs-se"
|
||||
IMAGE_BOOT_FILES += " tiboot3-am64x_sr2-hs-evm.bin"
|
||||
do_image_wic[mcdepends] += "mc::k3r5-sr2-hs-se:ti-sci-fw:do_deploy"
|
||||
do_image_tar[mcdepends] += "mc::k3r5-sr2-hs-se:ti-sci-fw:do_deploy"
|
||||
|
||||
TFA_BOARD = "lite"
|
||||
OPTEEMACHINE = "k3-am64x"
|
||||
OPTEEOUTPUTMACHINE = "k3"
|
||||
|
||||
# Set the list of device targets for ti-pdk class recipes
|
||||
TI_PDK_LIMIT_SOCS = "am64x"
|
||||
TI_PDK_LIMIT_BOARDS = "am64x_evm"
|
||||
TI_PDK_LIMIT_CORES = "mcu1_0 mpu1_0 mcu1_1 mcu2_0 mcu2_1"
|
||||
@@ -1,40 +0,0 @@
|
||||
require conf/machine/include/k3.inc
|
||||
SOC_FAMILY_append = ":am65xx"
|
||||
|
||||
MACHINE_FEATURES += "screen touchscreen gpu"
|
||||
|
||||
SERIAL_CONSOLES = "115200;ttyS2 115200;ttyS1"
|
||||
SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
|
||||
|
||||
KERNEL_DEVICETREE = " \
|
||||
ti/k3-am654-base-board.dtb \
|
||||
ti/k3-am654-base-board-sr1.dtbo \
|
||||
ti/k3-am654-gp.dtbo \
|
||||
ti/k3-am654-idk.dtbo \
|
||||
ti/k3-am654-idk-sr1.dtbo \
|
||||
ti/k3-am654-sr1.dtbo \
|
||||
ti/k3-am654-pcie-usb2.dtbo \
|
||||
ti/k3-am654-pcie-usb3.dtbo \
|
||||
ti/k3-am654-evm-tc358876.dtbo \
|
||||
ti/k3-am654-evm-oldi-lcd1evm.dtbo \
|
||||
ti/k3-am654-evm-ov5640.dtbo \
|
||||
"
|
||||
|
||||
BBMULTICONFIG += "k3r5-sr2"
|
||||
|
||||
# Since J721e does not support multi-cert tiboot3.bin add standalone sysfw.itb
|
||||
IMAGE_BOOT_FILES += "sysfw.itb"
|
||||
|
||||
# Since default sysfw.itb on AM65x is for SR2.0, add a version for SR1.0
|
||||
IMAGE_BOOT_FILES += "sysfw-am65x-evm.itb"
|
||||
|
||||
do_image_wic[mcdepends] += "mc::k3r5-sr2:ti-sci-fw:do_deploy"
|
||||
do_image_tar[mcdepends] += "mc::k3r5-sr2:ti-sci-fw:do_deploy"
|
||||
|
||||
OPTEEMACHINE = "k3-am65x"
|
||||
OPTEEOUTPUTMACHINE = "k3"
|
||||
|
||||
# Set the list of device targets for ti-pdk class recipes
|
||||
TI_PDK_LIMIT_SOCS = "am65xx"
|
||||
TI_PDK_LIMIT_BOARDS = "am65xx_evm am65xx_idk"
|
||||
TI_PDK_LIMIT_CORES = "mcu1_0 mpu1_0"
|
||||
@@ -1,9 +0,0 @@
|
||||
require conf/machine/include/keystone.inc
|
||||
SOC_FAMILY_append = ":c66x"
|
||||
|
||||
# HACK: The c66x family is composed of devices with only DSP cores, and no ARM
|
||||
# cores. The Linux kernel is not supported on these machines.
|
||||
PREFERRED_PROVIDER_virtual/kernel ?= "linux-dummy"
|
||||
EXTRA_IMAGEDEPENDS = ""
|
||||
|
||||
IMAGE_FSTYPES = "tar.xz"
|
||||
@@ -1,13 +1,12 @@
|
||||
require conf/machine/include/tune-arm926ejs.inc
|
||||
|
||||
# Increase this everytime you change something in the kernel
|
||||
MACHINE_KERNEL_PR = "r54"
|
||||
MACHINE_KERNEL_PR = "r53"
|
||||
|
||||
KERNEL_IMAGETYPE = "zImage"
|
||||
KERNEL_IMAGETYPE = "uImage"
|
||||
|
||||
PREFERRED_PROVIDER_virtual/kernel ?= "linux-ti-staging"
|
||||
PREFERRED_PROVIDER_virtual/bootloader = "u-boot-ti-staging"
|
||||
PREFERRED_PROVIDER_u-boot = "u-boot-ti-staging"
|
||||
PREFERRED_PROVIDER_virtual/kernel = "linux-davinci"
|
||||
PREFERRED_PROVIDER_virtual/bootloader = "u-boot"
|
||||
|
||||
UBOOT_MACHINE = "davinci_dvevm_config"
|
||||
|
||||
@@ -16,7 +15,7 @@ UBOOT_LOADADDRESS = "0x80008000"
|
||||
|
||||
EXTRA_IMAGEDEPENDS += "u-boot"
|
||||
|
||||
SERIAL_CONSOLES ?= "115200;ttyS0"
|
||||
SERIAL_CONSOLE ?= "115200 ttyS0"
|
||||
EXTRA_IMAGECMD_jffs2 = "--pad --little-endian --eraseblock=0x20000 -n"
|
||||
|
||||
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,10 +0,0 @@
|
||||
require conf/machine/include/k3.inc
|
||||
SOC_FAMILY_append = ":j7"
|
||||
|
||||
OPTEEMACHINE = "k3-j721e"
|
||||
OPTEEOUTPUTMACHINE = "k3"
|
||||
|
||||
# Set the list of device targets for ti-pdk class recipes
|
||||
TI_PDK_LIMIT_SOCS = "j721e j7200"
|
||||
TI_PDK_LIMIT_BOARDS = "j721e_evm j7200_evm"
|
||||
TI_PDK_LIMIT_CORES = "mpu1_0 mcu1_0 mcu1_1 mcu2_0 mcu2_1 mcu3_0 mcu3_1 c66xdsp_1 c66xdsp_2 c7x_1"
|
||||
@@ -1,6 +0,0 @@
|
||||
require conf/machine/include/keystone.inc
|
||||
SOC_FAMILY_append = ":k2e"
|
||||
|
||||
# Set the list of device targets for ti-pdk class recipes
|
||||
TI_PDK_LIMIT_SOCS = "k2e"
|
||||
TI_PDK_LIMIT_BOARDS = "evmK2E"
|
||||
@@ -1,6 +0,0 @@
|
||||
require conf/machine/include/keystone.inc
|
||||
SOC_FAMILY_append = ":k2g"
|
||||
|
||||
# Set the list of device targets for ti-pdk class recipes
|
||||
TI_PDK_LIMIT_SOCS = "k2g"
|
||||
TI_PDK_LIMIT_BOARDS = "evmK2G iceK2G"
|
||||
@@ -1,6 +0,0 @@
|
||||
require conf/machine/include/keystone.inc
|
||||
SOC_FAMILY_append = ":k2hk"
|
||||
|
||||
# Set the list of device targets for ti-pdk class recipes
|
||||
TI_PDK_LIMIT_SOCS = "k2h k2k"
|
||||
TI_PDK_LIMIT_BOARDS = "evmK2H evmK2K"
|
||||
@@ -1,6 +0,0 @@
|
||||
require conf/machine/include/keystone.inc
|
||||
SOC_FAMILY_append = ":k2l"
|
||||
|
||||
# Set the list of device targets for ti-pdk class recipes
|
||||
TI_PDK_LIMIT_SOCS = "k2l"
|
||||
TI_PDK_LIMIT_BOARDS = "evmK2L"
|
||||
@@ -1,51 +0,0 @@
|
||||
# TI K3 Aarch64 profile for Cortex-A53/A72 cores
|
||||
|
||||
require conf/machine/include/ti-soc.inc
|
||||
SOC_FAMILY_append = ":k3"
|
||||
|
||||
require conf/machine/include/arm/arch-arm64.inc
|
||||
|
||||
BBMULTICONFIG += "k3r5"
|
||||
|
||||
# Increase this everytime you change something in the kernel
|
||||
MACHINE_KERNEL_PR = "r0"
|
||||
|
||||
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 = "Image"
|
||||
KERNEL_IMAGETYPES = "Image vmlinux.gz fitImage"
|
||||
|
||||
UBOOT_ARCH = "arm"
|
||||
UBOOT_ENTRYPOINT = "0x80008000"
|
||||
UBOOT_LOADADDRESS = "0x80008000"
|
||||
|
||||
SPL_BINARY = "tispl.bin"
|
||||
SPL_BINARYNAME = "tispl.bin"
|
||||
UBOOT_SUFFIX = "img"
|
||||
|
||||
EXTRA_IMAGEDEPENDS += "virtual/bootloader"
|
||||
|
||||
TFA_PLATFORM = "k3"
|
||||
TFA_BOARD = "generic"
|
||||
|
||||
MACHINE_GUI_CLASS = "smallscreen"
|
||||
|
||||
# Use the expected value of the ubifs filesystem's volume name in the kernel
|
||||
# and u-boot.
|
||||
UBI_VOLNAME = "rootfs"
|
||||
|
||||
# List common SoC features, may need to add touchscreen for specific machines
|
||||
MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 alsa ethernet pci"
|
||||
|
||||
IMAGE_FSTYPES += "tar.xz wic.xz wic.bmap"
|
||||
|
||||
IMAGE_BOOT_FILES ?= "${SPL_BINARYNAME} u-boot.${UBOOT_SUFFIX} tiboot3.bin"
|
||||
|
||||
WKS_FILE ?= "sdimage-2part.wks"
|
||||
do_image_wic[depends] += "virtual/bootloader:do_deploy"
|
||||
do_image_wic[mcdepends] += "mc::k3r5:virtual/bootloader:do_deploy mc::k3r5:ti-sci-fw:do_deploy"
|
||||
do_image_tar[mcdepends] += "mc::k3r5:virtual/bootloader:do_deploy mc::k3r5:ti-sci-fw:do_deploy"
|
||||
|
||||
TI_SECURE_DEV_PKG = "${TI_SECURE_DEV_PKG_K3}"
|
||||
@@ -1,26 +0,0 @@
|
||||
# TI K3 Armv7 profile for Cortex-R5F cores
|
||||
|
||||
require conf/machine/include/ti-soc.inc
|
||||
SOC_FAMILY_append = ":k3r5"
|
||||
|
||||
# The closest of existing tunes for Cortex-R5F
|
||||
DEFAULTTUNE = "armv7athf"
|
||||
require conf/machine/include/tune-cortexa8.inc
|
||||
|
||||
# R5 runs early bootloader and loads SYSFW
|
||||
# https://git.ti.com/cgit/ti-u-boot/ti-u-boot/tree/board/ti/am65x/README
|
||||
# https://git.ti.com/cgit/ti-u-boot/ti-u-boot/tree/board/ti/j721e/README
|
||||
PREFERRED_PROVIDER_virtual/kernel = "linux-dummy"
|
||||
PREFERRED_PROVIDER_virtual/bootloader = "u-boot-ti-staging"
|
||||
PREFERRED_PROVIDER_u-boot = "u-boot-ti-staging"
|
||||
|
||||
SPL_BINARY = ""
|
||||
UBOOT_SUFFIX = "bin"
|
||||
UBOOT_BINARY = "u-boot-spl.${UBOOT_SUFFIX}"
|
||||
UBOOT_IMAGE = "u-boot-r5spl-${MAINMACHINE}-${PV}-${PR}.${UBOOT_SUFFIX}"
|
||||
UBOOT_SYMLINK = "u-boot-r5spl.${UBOOT_SUFFIX}"
|
||||
|
||||
PACKAGECONFIG_pn-u-boot-ti-staging = ""
|
||||
PACKAGECONFIG_pn-u-boot-ti-mainline = ""
|
||||
|
||||
TI_SECURE_DEV_PKG = "${TI_SECURE_DEV_PKG_K3}"
|
||||
@@ -1,30 +1,23 @@
|
||||
require conf/machine/include/ti-soc.inc
|
||||
SOC_FAMILY_append = ":keystone"
|
||||
SOC_FAMILY = "keystone"
|
||||
require conf/machine/include/soc-family.inc
|
||||
|
||||
DEFAULTTUNE ?= "armv7athf-neon"
|
||||
require conf/machine/include/tune-cortexa15.inc
|
||||
|
||||
PREFERRED_PROVIDER_virtual/kernel ?= "linux-ti-staging"
|
||||
PREFERRED_PROVIDER_virtual/bootloader = "u-boot-ti-staging"
|
||||
PREFERRED_PROVIDER_u-boot = "u-boot-ti-staging"
|
||||
PREFERRED_PROVIDER_virtual/kernel = "linux-keystone"
|
||||
PREFERRED_PROVIDER_virtual/bootloader = "u-boot-keystone"
|
||||
PREFERRED_PROVIDER_u-boot = "u-boot-keystone"
|
||||
|
||||
# Increase this everytime you change something in the kernel
|
||||
MACHINE_KERNEL_PR = "r10"
|
||||
MACHINE_KERNEL_PR = "r6"
|
||||
|
||||
KERNEL_IMAGETYPE = "zImage"
|
||||
KERNEL_IMAGETYPE = "uImage"
|
||||
|
||||
UBOOT_MACHINE = "tci6638_evm_config"
|
||||
|
||||
UBOOT_ENTRYPOINT = "0x80008000"
|
||||
UBOOT_LOADADDRESS = "0x80008000"
|
||||
|
||||
SPL_BINARY = "MLO"
|
||||
UBOOT_SUFFIX = "bin"
|
||||
|
||||
# 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 dsp"
|
||||
MACHINE_FEATURES_BACKFILL_CONSIDERED = "rtc"
|
||||
MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat"
|
||||
|
||||
@@ -1,38 +1,21 @@
|
||||
require conf/machine/include/ti-soc.inc
|
||||
SOC_FAMILY_append = ":omap-a15"
|
||||
SOC_FAMILY = "omap-a15"
|
||||
require conf/machine/include/soc-family.inc
|
||||
|
||||
DEFAULTTUNE ?= "armv7athf-neon"
|
||||
require conf/machine/include/tune-cortexa15.inc
|
||||
|
||||
# Increase this everytime you change something in the kernel
|
||||
MACHINE_KERNEL_PR = "r7"
|
||||
MACHINE_KERNEL_PR = "r1"
|
||||
|
||||
PREFERRED_PROVIDER_virtual/kernel ?= "linux-ti-staging"
|
||||
PREFERRED_PROVIDER_virtual/kernel = "linux-ti-staging"
|
||||
PREFERRED_PROVIDER_virtual/bootloader = "u-boot-ti-staging"
|
||||
PREFERRED_PROVIDER_u-boot = "u-boot-ti-staging"
|
||||
|
||||
KERNEL_IMAGETYPE = "zImage"
|
||||
KERNEL_IMAGETYPES = "zImage uImage"
|
||||
KERNEL_CLASSES += "kernel-uimage"
|
||||
KERNEL_IMAGETYPE = "uImage"
|
||||
|
||||
UBOOT_ARCH = "arm"
|
||||
UBOOT_ENTRYPOINT = "0x80008000"
|
||||
UBOOT_LOADADDRESS = "0x80008000"
|
||||
|
||||
DEVICETREE_FILE = "${@d.getVar('KERNEL_DEVICETREE').replace("ti/","")}"
|
||||
|
||||
# Generate an extlinux.conf file
|
||||
UBOOT_EXTLINUX = "1"
|
||||
UBOOT_EXTLINUX_ROOT = "root=PARTUUID=${uuid}"
|
||||
UBOOT_EXTLINUX_BOOT_FILES = " \
|
||||
extlinux.conf;extlinux/extlinux.conf \
|
||||
${KERNEL_IMAGETYPE} \
|
||||
${DEVICETREE_FILE} \
|
||||
"
|
||||
|
||||
SPL_BINARY = "MLO"
|
||||
UBOOT_SUFFIX = "img"
|
||||
|
||||
EXTRA_IMAGEDEPENDS += "virtual/bootloader"
|
||||
|
||||
PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg"
|
||||
@@ -40,16 +23,4 @@ XSERVER = "xserver-xorg \
|
||||
xf86-input-evdev \
|
||||
xf86-video-fbdev"
|
||||
|
||||
MACHINE_GUI_CLASS = "smallscreen"
|
||||
|
||||
# Use the expected value of the ubifs filesystem's volume name in the kernel
|
||||
# and u-boot.
|
||||
UBI_VOLNAME = "rootfs"
|
||||
|
||||
# List common SoC features, may need to add touchscreen for specific machines
|
||||
MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen alsa ethernet gpu mmip dsp gc320"
|
||||
|
||||
IMAGE_FSTYPES += "tar.xz wic.xz wic.bmap"
|
||||
WKS_FILE ?= "sdimage-2part.wks"
|
||||
IMAGE_BOOT_FILES ?= "${SPL_BINARY} u-boot.${UBOOT_SUFFIX} ${UBOOT_EXTLINUX_BOOT_FILES}"
|
||||
do_image_wic[depends] += "u-boot:do_deploy"
|
||||
GUI_MACHINE_CLASS = "smallscreen"
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
require conf/machine/include/ti-soc.inc
|
||||
SOC_FAMILY_append = ":omap3"
|
||||
SOC_FAMILY = "omap3"
|
||||
require conf/machine/include/soc-family.inc
|
||||
|
||||
DEFAULTTUNE ?= "armv7athf-neon"
|
||||
require conf/machine/include/tune-cortexa8.inc
|
||||
|
||||
PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg"
|
||||
@@ -10,23 +9,20 @@ PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg"
|
||||
XSERVER = "xserver-xorg \
|
||||
xf86-input-evdev \
|
||||
xf86-input-mouse \
|
||||
xf86-video-fbdev \
|
||||
xf86-video-omapfb \
|
||||
xf86-input-keyboard"
|
||||
|
||||
# Default to external video, change to smallscreen for built-in LCD
|
||||
MACHINE_GUI_CLASS = "bigscreen"
|
||||
GUI_MACHINE_CLASS = "bigscreen"
|
||||
|
||||
# Increase this everytime you change something in the kernel
|
||||
MACHINE_KERNEL_PR = "r127"
|
||||
MACHINE_KERNEL_PR = "r125"
|
||||
|
||||
KERNEL_IMAGETYPE = "zImage"
|
||||
KERNEL_IMAGETYPE = "uImage"
|
||||
|
||||
# Default providers, may need to override for specific machines
|
||||
PREFERRED_PROVIDER_virtual/kernel ?= "linux-ti-staging"
|
||||
PREFERRED_PROVIDER_virtual/bootloader = "u-boot-ti-staging"
|
||||
PREFERRED_PROVIDER_u-boot = "u-boot-ti-staging"
|
||||
|
||||
KERNEL_DEVICETREE = "omap3-beagle.dtb omap3-beagle-xm.dtb omap3-beagle-xm-ab.dtb omap3-evm.dtb omap3-evm-37xx.dtb am3517-evm.dtb"
|
||||
PREFERRED_PROVIDER_virtual/kernel = "linux-omap"
|
||||
PREFERRED_PROVIDER_virtual/bootloader = "u-boot"
|
||||
|
||||
UBOOT_ARCH = "arm"
|
||||
UBOOT_MACHINE = "omap3_evm_config"
|
||||
@@ -39,4 +35,4 @@ UBOOT_LOADADDRESS = "0x80008000"
|
||||
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 gpu"
|
||||
MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen alsa sgx"
|
||||
|
||||
@@ -1,22 +1,24 @@
|
||||
require conf/machine/include/ti-soc.inc
|
||||
SOC_FAMILY_append = ":omap4"
|
||||
SOC_FAMILY = "omap4"
|
||||
require conf/machine/include/soc-family.inc
|
||||
|
||||
DEFAULTTUNE ?= "armv7athf-neon"
|
||||
require conf/machine/include/tune-cortexa9.inc
|
||||
|
||||
PREFERRED_PROVIDER_virtual/kernel ?= "linux-ti-staging"
|
||||
PREFERRED_PROVIDER_virtual/bootloader = "u-boot-ti-staging"
|
||||
PREFERRED_PROVIDER_u-boot = "u-boot-ti-staging"
|
||||
PREFERRED_PROVIDER_virtual/kernel = "linux-omap4"
|
||||
PREFERRED_PROVIDER_virtual/bootloader = "u-boot"
|
||||
|
||||
PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg"
|
||||
XSERVER = "xserver-xorg \
|
||||
xserver-xorg-extension-dri \
|
||||
xserver-xorg-extension-dri2 \
|
||||
xserver-xorg-extension-glx \
|
||||
xserver-xorg-module-exa \
|
||||
xf86-input-evdev \
|
||||
xf86-video-fbdev"
|
||||
xf86-video-omap"
|
||||
|
||||
# Increase this everytime you change something in the kernel
|
||||
MACHINE_KERNEL_PR = "r4"
|
||||
MACHINE_KERNEL_PR = "r1"
|
||||
|
||||
KERNEL_IMAGETYPE = "zImage"
|
||||
KERNEL_IMAGETYPE = "uImage"
|
||||
|
||||
UBOOT_MACHINE = "omap4_panda_config"
|
||||
|
||||
|
||||
@@ -1,2 +0,0 @@
|
||||
require conf/machine/include/ti-soc.inc
|
||||
SOC_FAMILY_append = ":omapl1"
|
||||
@@ -1,5 +0,0 @@
|
||||
require conf/machine/include/omapl1.inc
|
||||
SOC_FAMILY_append = ":omapl137"
|
||||
|
||||
# Set the list of device targets for ti-pdk class recipes
|
||||
TI_PDK_LIMIT_SOCS = "omapl137"
|
||||
@@ -1,5 +1,2 @@
|
||||
require conf/machine/include/omapl1.inc
|
||||
SOC_FAMILY_append = ":omapl138"
|
||||
|
||||
# Set the list of device targets for ti-pdk class recipes
|
||||
TI_PDK_LIMIT_SOCS = "omapl138"
|
||||
SOC_FAMILY = "omapl138"
|
||||
require conf/machine/include/soc-family.inc
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
# This is a generic TI SOC family. It is a superset of all other SOCs
|
||||
# and platforms defined in meta-ti to allow BSP-level overrides.
|
||||
SOC_FAMILY = "ti-soc"
|
||||
KERNEL_DTB_OVERLAY_SUPPORT ?= "1"
|
||||
require conf/machine/include/soc-family.inc
|
||||
@@ -1,7 +1,6 @@
|
||||
require conf/machine/include/ti-soc.inc
|
||||
SOC_FAMILY_append = ":ti33x"
|
||||
SOC_FAMILY = "ti33x"
|
||||
require conf/machine/include/soc-family.inc
|
||||
|
||||
DEFAULTTUNE ?= "armv7athf-neon"
|
||||
require conf/machine/include/tune-cortexa8.inc
|
||||
|
||||
PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg"
|
||||
@@ -14,28 +13,17 @@ XSERVER = "xserver-xorg \
|
||||
xf86-input-keyboard"
|
||||
|
||||
# Default to external video, change to smallscreen for built-in LCD
|
||||
MACHINE_GUI_CLASS = "bigscreen"
|
||||
GUI_MACHINE_CLASS = "bigscreen"
|
||||
|
||||
# Increase this everytime you change something in the kernel
|
||||
MACHINE_KERNEL_PR = "r22"
|
||||
MACHINE_KERNEL_PR = "r19"
|
||||
|
||||
# Default providers, may need to override for specific machines
|
||||
PREFERRED_PROVIDER_virtual/kernel ?= "linux-ti-staging"
|
||||
PREFERRED_PROVIDER_virtual/kernel = "linux-ti-staging"
|
||||
PREFERRED_PROVIDER_virtual/bootloader = "u-boot-ti-staging"
|
||||
PREFERRED_PROVIDER_u-boot = "u-boot-ti-staging"
|
||||
|
||||
KERNEL_IMAGETYPE = "zImage"
|
||||
|
||||
KERNEL_DEVICETREE = " \
|
||||
am335x-evm.dtb am335x-evmsk.dtb \
|
||||
am335x-icev2.dtb \
|
||||
am335x-pocketbeagle.dtb am335x-bone.dtb am335x-boneblue.dtb \
|
||||
am335x-bonegreen.dtb am335x-bonegreen-wireless.dtb \
|
||||
am335x-boneblack.dtb am335x-boneblack-wireless.dtb \
|
||||
am335x-sancloud-bbe.dtb \
|
||||
"
|
||||
|
||||
KERNEL_DEVICETREE += "${@oe.utils.conditional('ENABLE_TI_UIO_DEVICES', '1', 'am335x-icev2-pru-excl-uio.dtb', '', d)}"
|
||||
KERNEL_IMAGETYPE = "uImage"
|
||||
|
||||
UBOOT_ARCH = "arm"
|
||||
UBOOT_MACHINE = "am335x_evm_config"
|
||||
@@ -43,32 +31,7 @@ UBOOT_MACHINE = "am335x_evm_config"
|
||||
UBOOT_ENTRYPOINT = "0x80008000"
|
||||
UBOOT_LOADADDRESS = "0x80008000"
|
||||
|
||||
# Generate an extlinux.conf file
|
||||
UBOOT_EXTLINUX = "1"
|
||||
UBOOT_EXTLINUX_ROOT = "root=PARTUUID=${uuid}"
|
||||
UBOOT_EXTLINUX_BOOT_FILES = " \
|
||||
extlinux.conf;extlinux/extlinux.conf \
|
||||
${KERNEL_IMAGETYPE} \
|
||||
${KERNEL_DEVICETREE} \
|
||||
"
|
||||
|
||||
SPL_BINARY = "MLO"
|
||||
UBOOT_SUFFIX = "img"
|
||||
|
||||
# Use the expected value of the ubifs filesystem's volume name in the kernel
|
||||
# and u-boot.
|
||||
UBI_VOLNAME = "rootfs"
|
||||
|
||||
EXTRA_IMAGEDEPENDS += "virtual/bootloader"
|
||||
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 gpu"
|
||||
|
||||
# Set the list of device targets for ti-pdk class recipes
|
||||
TI_PDK_LIMIT_SOCS = "am335x"
|
||||
TI_PDK_LIMIT_BOARDS = "evmAM335x icev2AM335x iceAMIC110 bbbAM335x skAM335x"
|
||||
|
||||
IMAGE_FSTYPES += "tar.xz wic.xz wic.bmap"
|
||||
WKS_FILE ?= "sdimage-2part.wks"
|
||||
IMAGE_BOOT_FILES ?= "${SPL_BINARY} u-boot.${UBOOT_SUFFIX} ${UBOOT_EXTLINUX_BOOT_FILES}"
|
||||
do_image_wic[depends] += "virtual/bootloader:do_deploy"
|
||||
MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen alsa ethernet sgx"
|
||||
|
||||
@@ -1,73 +0,0 @@
|
||||
require conf/machine/include/ti-soc.inc
|
||||
SOC_FAMILY_append = ":ti43x"
|
||||
|
||||
DEFAULTTUNE ?= "armv7athf-neon"
|
||||
require conf/machine/include/tune-cortexa9.inc
|
||||
|
||||
PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg"
|
||||
|
||||
# For built-in LCD, add xf86-input-tslib
|
||||
XSERVER = "xserver-xorg \
|
||||
xf86-input-evdev \
|
||||
xf86-input-mouse \
|
||||
xf86-video-fbdev \
|
||||
xf86-input-keyboard"
|
||||
|
||||
# Default to external video, change to smallscreen for built-in LCD
|
||||
MACHINE_GUI_CLASS = "bigscreen"
|
||||
|
||||
# Increase this everytime you change something in the kernel
|
||||
MACHINE_KERNEL_PR = "r3"
|
||||
|
||||
# Default providers, may need to override for specific machines
|
||||
PREFERRED_PROVIDER_virtual/kernel ?= "linux-ti-staging"
|
||||
PREFERRED_PROVIDER_virtual/bootloader = "u-boot-ti-staging"
|
||||
PREFERRED_PROVIDER_u-boot = "u-boot-ti-staging"
|
||||
|
||||
KERNEL_IMAGETYPE = "zImage"
|
||||
|
||||
KERNEL_DEVICETREE = " \
|
||||
am437x-gp-evm.dtb \
|
||||
${@oe.utils.conditional('ARAGO_BRAND', 'mainline', '', 'am437x-gp-evm-hdmi.dtb', d)} \
|
||||
am437x-sk-evm.dtb am437x-idk-evm.dtb \
|
||||
am43x-epos-evm.dtb \
|
||||
${@oe.utils.conditional('ARAGO_BRAND', 'mainline', '', 'am43x-epos-evm-hdmi.dtb', d)} \
|
||||
"
|
||||
|
||||
KERNEL_DEVICETREE += "${@oe.utils.conditional('ENABLE_TI_UIO_DEVICES', '1', 'am437x-idk-pru-excl-uio.dtb', '', d)}"
|
||||
|
||||
UBOOT_ARCH = "arm"
|
||||
UBOOT_MACHINE = "am43xx_evm_config"
|
||||
|
||||
UBOOT_ENTRYPOINT = "0x80008000"
|
||||
UBOOT_LOADADDRESS = "0x80008000"
|
||||
|
||||
# Generate an extlinux.conf file
|
||||
UBOOT_EXTLINUX = "1"
|
||||
UBOOT_EXTLINUX_ROOT = "root=PARTUUID=${uuid}"
|
||||
UBOOT_EXTLINUX_BOOT_FILES = " \
|
||||
extlinux.conf;extlinux/extlinux.conf \
|
||||
${KERNEL_IMAGETYPE} \
|
||||
${KERNEL_DEVICETREE} \
|
||||
"
|
||||
|
||||
SPL_BINARY = "MLO"
|
||||
UBOOT_SUFFIX = "img"
|
||||
|
||||
# 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 gpu"
|
||||
|
||||
# Set the list of device targets for ti-pdk class recipes
|
||||
TI_PDK_LIMIT_SOCS = "am437x"
|
||||
TI_PDK_LIMIT_BOARDS = "evmAM437x idkAM437x skAM437x"
|
||||
|
||||
IMAGE_FSTYPES += "tar.xz wic.xz wic.bmap"
|
||||
WKS_FILE ?= "sdimage-2part.wks"
|
||||
IMAGE_BOOT_FILES ?= "${SPL_BINARY} u-boot.${UBOOT_SUFFIX} ${UBOOT_EXTLINUX_BOOT_FILES}"
|
||||
do_image_wic[depends] += "u-boot:do_deploy"
|
||||
36
conf/machine/include/tune-cortexa15.inc
Normal file
36
conf/machine/include/tune-cortexa15.inc
Normal file
@@ -0,0 +1,36 @@
|
||||
DEFAULTTUNE ?= "armv7a-neon"
|
||||
|
||||
require conf/machine/include/arm/arch-armv7a.inc
|
||||
|
||||
TUNEVALID[cortexa15] = "Enable Cortex-A15 specific processor optimizations"
|
||||
TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "cortexa15", "-mtune=cortex-a15", "", d)}"
|
||||
|
||||
# Little Endian base configs
|
||||
AVAILTUNES += "cortexa15 cortexa15t cortexa15-neon cortexa15t-neon"
|
||||
ARMPKGARCH_tune-cortexa15 = "cortexa15"
|
||||
ARMPKGARCH_tune-cortexa15t = "cortexa15"
|
||||
ARMPKGARCH_tune-cortexa15-neon = "cortexa15"
|
||||
ARMPKGARCH_tune-cortexa15t-neon = "cortexa15"
|
||||
TUNE_FEATURES_tune-cortexa15 = "${TUNE_FEATURES_tune-armv7a} cortexa15"
|
||||
TUNE_FEATURES_tune-cortexa15t = "${TUNE_FEATURES_tune-armv7at} cortexa15"
|
||||
TUNE_FEATURES_tune-cortexa15-neon = "${TUNE_FEATURES_tune-armv7a-neon} cortexa15"
|
||||
TUNE_FEATURES_tune-cortexa15t-neon = "${TUNE_FEATURES_tune-armv7at-neon} cortexa15"
|
||||
PACKAGE_EXTRA_ARCHS_tune-cortexa15 = "${PACKAGE_EXTRA_ARCHS_tune-armv7a} cortexa15-vfp"
|
||||
PACKAGE_EXTRA_ARCHS_tune-cortexa15t = "${PACKAGE_EXTRA_ARCHS_tune-armv7at} cortexa15-vfp cortexa15t2-vfp"
|
||||
PACKAGE_EXTRA_ARCHS_tune-cortexa15-neon = "${PACKAGE_EXTRA_ARCHS_tune-armv7a-neon} cortexa15-vfp cortexa15-vfp-neon"
|
||||
PACKAGE_EXTRA_ARCHS_tune-cortexa15t-neon = "${PACKAGE_EXTRA_ARCHS_tune-armv7at-neon} cortexa15-vfp cortexa15-vfp-neon cortexa15t2-vfp cortexa15t2-vfp-neon"
|
||||
|
||||
# VFP Tunes
|
||||
AVAILTUNES += "cortexa15hf cortexa15thf cortexa15hf-neon cortexa15thf-neon"
|
||||
ARMPKGARCH_tune-cortexa15hf = "cortexa15"
|
||||
ARMPKGARCH_tune-cortexa15thf = "cortexa15"
|
||||
ARMPKGARCH_tune-cortexa15hf-neon = "cortexa15"
|
||||
ARMPKGARCH_tune-cortexa15thf-neon = "cortexa15"
|
||||
TUNE_FEATURES_tune-cortexa15hf ?= "${TUNE_FEATURES_tune-armv7ahf} cortexa15"
|
||||
TUNE_FEATURES_tune-cortexa15thf ?= "${TUNE_FEATURES_tune-armv7athf} cortexa15"
|
||||
TUNE_FEATURES_tune-cortexa15hf-neon ?= "${TUNE_FEATURES_tune-armv7ahf-neon} cortexa15"
|
||||
TUNE_FEATURES_tune-cortexa15thf-neon ?= "${TUNE_FEATURES_tune-armv7athf-neon} cortexa15"
|
||||
PACKAGE_EXTRA_ARCHS_tune-cortexa15hf = "${PACKAGE_EXTRA_ARCHS_tune-armv7ahf} cortexa15hf-vfp"
|
||||
PACKAGE_EXTRA_ARCHS_tune-cortexa15thf = "${PACKAGE_EXTRA_ARCHS_tune-armv7athf} cortexa15hf-vfp cortexa15t2hf-vfp"
|
||||
PACKAGE_EXTRA_ARCHS_tune-cortexa15hf-neon = "${PACKAGE_EXTRA_ARCHS_tune-armv7ahf-neon} cortexa15hf-vfp cortexa15hf-vfp-neon"
|
||||
PACKAGE_EXTRA_ARCHS_tune-cortexa15thf-neon = "${PACKAGE_EXTRA_ARCHS_tune-armv7athf-neon} cortexa15hf-vfp cortexa15hf-vfp-neon cortexa15t2hf-vfp cortexa15t2hf-vfp-neon"
|
||||
36
conf/machine/include/tune-cortexa7.inc
Normal file
36
conf/machine/include/tune-cortexa7.inc
Normal file
@@ -0,0 +1,36 @@
|
||||
DEFAULTTUNE ?= "armv7a-neon"
|
||||
|
||||
require conf/machine/include/arm/arch-armv7a.inc
|
||||
|
||||
TUNEVALID[cortexa7] = "Enable Cortex-A7 specific processor optimizations"
|
||||
TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "cortexa7", "-mtune=cortex-a7", "", d)}"
|
||||
|
||||
# Little Endian base configs
|
||||
AVAILTUNES += "cortexa7 cortexa7t cortexa7-neon cortexa7t-neon"
|
||||
ARMPKGARCH_tune-cortexa7 = "cortexa7"
|
||||
ARMPKGARCH_tune-cortexa7t = "cortexa7"
|
||||
ARMPKGARCH_tune-cortexa7-neon = "cortexa7"
|
||||
ARMPKGARCH_tune-cortexa7t-neon = "cortexa7"
|
||||
TUNE_FEATURES_tune-cortexa7 = "${TUNE_FEATURES_tune-armv7a} cortexa7"
|
||||
TUNE_FEATURES_tune-cortexa7t = "${TUNE_FEATURES_tune-armv7at} cortexa7"
|
||||
TUNE_FEATURES_tune-cortexa7-neon = "${TUNE_FEATURES_tune-armv7a-neon} cortexa7"
|
||||
TUNE_FEATURES_tune-cortexa7t-neon = "${TUNE_FEATURES_tune-armv7at-neon} cortexa7"
|
||||
PACKAGE_EXTRA_ARCHS_tune-cortexa7 = "${PACKAGE_EXTRA_ARCHS_tune-armv7a} cortexa7-vfp"
|
||||
PACKAGE_EXTRA_ARCHS_tune-cortexa7t = "${PACKAGE_EXTRA_ARCHS_tune-armv7at} cortexa7-vfp cortexa7t2-vfp"
|
||||
PACKAGE_EXTRA_ARCHS_tune-cortexa7-neon = "${PACKAGE_EXTRA_ARCHS_tune-armv7a-neon} cortexa7-vfp cortexa7-vfp-neon"
|
||||
PACKAGE_EXTRA_ARCHS_tune-cortexa7t-neon = "${PACKAGE_EXTRA_ARCHS_tune-armv7at-neon} cortexa7-vfp cortexa7-vfp-neon cortexa7t2-vfp cortexa7t2-vfp-neon"
|
||||
|
||||
# VFP Tunes
|
||||
AVAILTUNES += "cortexa7hf cortexa7thf cortexa7hf-neon cortexa7thf-neon"
|
||||
ARMPKGARCH_tune-cortexa7hf = "cortexa7"
|
||||
ARMPKGARCH_tune-cortexa7thf = "cortexa7"
|
||||
ARMPKGARCH_tune-cortexa7hf-neon = "cortexa7"
|
||||
ARMPKGARCH_tune-cortexa7thf-neon = "cortexa7"
|
||||
TUNE_FEATURES_tune-cortexa7hf ?= "${TUNE_FEATURES_tune-armv7ahf} cortexa7"
|
||||
TUNE_FEATURES_tune-cortexa7thf ?= "${TUNE_FEATURES_tune-armv7athf} cortexa7"
|
||||
TUNE_FEATURES_tune-cortexa7hf-neon ?= "${TUNE_FEATURES_tune-armv7ahf-neon} cortexa7"
|
||||
TUNE_FEATURES_tune-cortexa7thf-neon ?= "${TUNE_FEATURES_tune-armv7athf-neon} cortexa7"
|
||||
PACKAGE_EXTRA_ARCHS_tune-cortexa7hf = "${PACKAGE_EXTRA_ARCHS_tune-armv7ahf} cortexa7hf-vfp"
|
||||
PACKAGE_EXTRA_ARCHS_tune-cortexa7thf = "${PACKAGE_EXTRA_ARCHS_tune-armv7athf} cortexa7hf-vfp cortexa7t2hf-vfp"
|
||||
PACKAGE_EXTRA_ARCHS_tune-cortexa7hf-neon = "${PACKAGE_EXTRA_ARCHS_tune-armv7ahf-neon} cortexa7hf-vfp cortexa7hf-vfp-neon"
|
||||
PACKAGE_EXTRA_ARCHS_tune-cortexa7thf-neon = "${PACKAGE_EXTRA_ARCHS_tune-armv7athf-neon} cortexa7hf-vfp cortexa7hf-vfp-neon cortexa7t2hf-vfp cortexa7t2hf-vfp-neon"
|
||||
36
conf/machine/include/tune-cortexa8.inc
Normal file
36
conf/machine/include/tune-cortexa8.inc
Normal file
@@ -0,0 +1,36 @@
|
||||
DEFAULTTUNE ?= "armv7a-neon"
|
||||
|
||||
require conf/machine/include/arm/arch-armv7a.inc
|
||||
|
||||
TUNEVALID[cortexa8] = "Enable Cortex-A8 specific processor optimizations"
|
||||
TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "cortexa8", "-mtune=cortex-a8", "", d)}"
|
||||
|
||||
# Little Endian base configs
|
||||
AVAILTUNES += "cortexa8 cortexa8t cortexa8-neon cortexa8t-neon"
|
||||
ARMPKGARCH_tune-cortexa8 = "cortexa8"
|
||||
ARMPKGARCH_tune-cortexa8t = "cortexa8"
|
||||
ARMPKGARCH_tune-cortexa8-neon = "cortexa8"
|
||||
ARMPKGARCH_tune-cortexa8t-neon = "cortexa8"
|
||||
TUNE_FEATURES_tune-cortexa8 = "${TUNE_FEATURES_tune-armv7a} cortexa8"
|
||||
TUNE_FEATURES_tune-cortexa8t = "${TUNE_FEATURES_tune-armv7at} cortexa8"
|
||||
TUNE_FEATURES_tune-cortexa8-neon = "${TUNE_FEATURES_tune-armv7a-neon} cortexa8"
|
||||
TUNE_FEATURES_tune-cortexa8t-neon = "${TUNE_FEATURES_tune-armv7at-neon} cortexa8"
|
||||
PACKAGE_EXTRA_ARCHS_tune-cortexa8 = "${PACKAGE_EXTRA_ARCHS_tune-armv7a} cortexa8-vfp"
|
||||
PACKAGE_EXTRA_ARCHS_tune-cortexa8t = "${PACKAGE_EXTRA_ARCHS_tune-armv7at} cortexa8-vfp cortexa8t2-vfp"
|
||||
PACKAGE_EXTRA_ARCHS_tune-cortexa8-neon = "${PACKAGE_EXTRA_ARCHS_tune-armv7a-neon} cortexa8-vfp cortexa8-vfp-neon"
|
||||
PACKAGE_EXTRA_ARCHS_tune-cortexa8t-neon = "${PACKAGE_EXTRA_ARCHS_tune-armv7at-neon} cortexa8-vfp cortexa8-vfp-neon cortexa8t2-vfp cortexa8t2-vfp-neon"
|
||||
|
||||
# VFP Tunes
|
||||
AVAILTUNES += "cortexa8hf cortexa8thf cortexa8hf-neon cortexa8thf-neon"
|
||||
ARMPKGARCH_tune-cortexa8hf = "cortexa8"
|
||||
ARMPKGARCH_tune-cortexa8thf = "cortexa8"
|
||||
ARMPKGARCH_tune-cortexa8hf-neon = "cortexa8"
|
||||
ARMPKGARCH_tune-cortexa8thf-neon = "cortexa8"
|
||||
TUNE_FEATURES_tune-cortexa8hf ?= "${TUNE_FEATURES_tune-armv7ahf} cortexa8"
|
||||
TUNE_FEATURES_tune-cortexa8thf ?= "${TUNE_FEATURES_tune-armv7athf} cortexa8"
|
||||
TUNE_FEATURES_tune-cortexa8hf-neon ?= "${TUNE_FEATURES_tune-armv7ahf-neon} cortexa8"
|
||||
TUNE_FEATURES_tune-cortexa8thf-neon ?= "${TUNE_FEATURES_tune-armv7athf-neon} cortexa8"
|
||||
PACKAGE_EXTRA_ARCHS_tune-cortexa8hf = "${PACKAGE_EXTRA_ARCHS_tune-armv7ahf} cortexa8hf-vfp"
|
||||
PACKAGE_EXTRA_ARCHS_tune-cortexa8thf = "${PACKAGE_EXTRA_ARCHS_tune-armv7athf} cortexa8hf-vfp cortexa8t2hf-vfp"
|
||||
PACKAGE_EXTRA_ARCHS_tune-cortexa8hf-neon = "${PACKAGE_EXTRA_ARCHS_tune-armv7ahf-neon} cortexa8hf-vfp cortexa8hf-vfp-neon"
|
||||
PACKAGE_EXTRA_ARCHS_tune-cortexa8thf-neon = "${PACKAGE_EXTRA_ARCHS_tune-armv7athf-neon} cortexa8hf-vfp cortexa8hf-vfp-neon cortexa8t2hf-vfp cortexa8t2hf-vfp-neon"
|
||||
36
conf/machine/include/tune-cortexa9.inc
Normal file
36
conf/machine/include/tune-cortexa9.inc
Normal file
@@ -0,0 +1,36 @@
|
||||
DEFAULTTUNE ?= "armv7a-neon"
|
||||
|
||||
require conf/machine/include/arm/arch-armv7a.inc
|
||||
|
||||
TUNEVALID[cortexa9] = "Enable Cortex-A9 specific processor optimizations"
|
||||
TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "cortexa9", "-mtune=cortex-a9", "", d)}"
|
||||
|
||||
# Little Endian base configs
|
||||
AVAILTUNES += "cortexa9 cortexa9t cortexa9-neon cortexa9t-neon"
|
||||
ARMPKGARCH_tune-cortexa9 = "cortexa9"
|
||||
ARMPKGARCH_tune-cortexa9t = "cortexa9"
|
||||
ARMPKGARCH_tune-cortexa9-neon = "cortexa9"
|
||||
ARMPKGARCH_tune-cortexa9t-neon = "cortexa9"
|
||||
TUNE_FEATURES_tune-cortexa9 = "${TUNE_FEATURES_tune-armv7a} cortexa9"
|
||||
TUNE_FEATURES_tune-cortexa9t = "${TUNE_FEATURES_tune-armv7at} cortexa9"
|
||||
TUNE_FEATURES_tune-cortexa9-neon = "${TUNE_FEATURES_tune-armv7a-neon} cortexa9"
|
||||
TUNE_FEATURES_tune-cortexa9t-neon = "${TUNE_FEATURES_tune-armv7at-neon} cortexa9"
|
||||
PACKAGE_EXTRA_ARCHS_tune-cortexa9 = "${PACKAGE_EXTRA_ARCHS_tune-armv7a} cortexa9-vfp"
|
||||
PACKAGE_EXTRA_ARCHS_tune-cortexa9t = "${PACKAGE_EXTRA_ARCHS_tune-armv7at} cortexa9-vfp cortexa9t2-vfp"
|
||||
PACKAGE_EXTRA_ARCHS_tune-cortexa9-neon = "${PACKAGE_EXTRA_ARCHS_tune-armv7a-neon} cortexa9-vfp cortexa9-vfp-neon"
|
||||
PACKAGE_EXTRA_ARCHS_tune-cortexa9t-neon = "${PACKAGE_EXTRA_ARCHS_tune-armv7at-neon} cortexa9-vfp cortexa9-vfp-neon cortexa9t2-vfp cortexa9t2-vfp-neon"
|
||||
|
||||
# VFP Tunes
|
||||
AVAILTUNES += "cortexa9hf cortexa9thf cortexa9hf-neon cortexa9thf-neon"
|
||||
ARMPKGARCH_tune-cortexa9hf = "cortexa9"
|
||||
ARMPKGARCH_tune-cortexa9thf = "cortexa9"
|
||||
ARMPKGARCH_tune-cortexa9hf-neon = "cortexa9"
|
||||
ARMPKGARCH_tune-cortexa9thf-neon = "cortexa9"
|
||||
TUNE_FEATURES_tune-cortexa9hf ?= "${TUNE_FEATURES_tune-armv7ahf} cortexa9"
|
||||
TUNE_FEATURES_tune-cortexa9thf ?= "${TUNE_FEATURES_tune-armv7athf} cortexa9"
|
||||
TUNE_FEATURES_tune-cortexa9hf-neon ?= "${TUNE_FEATURES_tune-armv7ahf-neon} cortexa9"
|
||||
TUNE_FEATURES_tune-cortexa9thf-neon ?= "${TUNE_FEATURES_tune-armv7athf-neon} cortexa9"
|
||||
PACKAGE_EXTRA_ARCHS_tune-cortexa9hf = "${PACKAGE_EXTRA_ARCHS_tune-armv7ahf} cortexa9hf-vfp"
|
||||
PACKAGE_EXTRA_ARCHS_tune-cortexa9thf = "${PACKAGE_EXTRA_ARCHS_tune-armv7athf} cortexa9hf-vfp cortexa9t2hf-vfp"
|
||||
PACKAGE_EXTRA_ARCHS_tune-cortexa9hf-neon = "${PACKAGE_EXTRA_ARCHS_tune-armv7ahf-neon} cortexa9hf-vfp cortexa9hf-vfp-neon"
|
||||
PACKAGE_EXTRA_ARCHS_tune-cortexa9thf-neon = "${PACKAGE_EXTRA_ARCHS_tune-armv7athf-neon} cortexa9hf-vfp cortexa9hf-vfp-neon cortexa9t2hf-vfp cortexa9t2hf-vfp-neon"
|
||||
@@ -1,17 +0,0 @@
|
||||
#@TYPE: Machine
|
||||
#@NAME: J7 EVM (R5F)
|
||||
#@DESCRIPTION: Machine configuration for the TI J7 EVM (R5F core)
|
||||
|
||||
require conf/machine/include/k3r5.inc
|
||||
|
||||
SYSFW_SOC = "j721e"
|
||||
SYSFW_CONFIG = "evm"
|
||||
SYSFW_SUFFIX = "gp"
|
||||
|
||||
SPL_BINARY = "spl/u-boot-spl.${UBOOT_SUFFIX}"
|
||||
SPL_SYMLINK = "u-boot-r5spl.${UBOOT_SUFFIX}"
|
||||
UBOOT_BINARY = "tiboot3.${UBOOT_SUFFIX}"
|
||||
UBOOT_IMAGE = "tiboot3-${MAINMACHINE}-${PV}-${PR}.${UBOOT_SUFFIX}"
|
||||
UBOOT_SYMLINK = "tiboot3-${MAINMACHINE}.${UBOOT_SUFFIX}"
|
||||
|
||||
UBOOT_MACHINE = "j721e_evm_r5_defconfig"
|
||||
@@ -1,22 +0,0 @@
|
||||
#@TYPE: Machine
|
||||
#@NAME: J7 EVM
|
||||
#@DESCRIPTION: Machine configuration for the TI J7 EVM
|
||||
|
||||
require conf/machine/include/j7.inc
|
||||
|
||||
MACHINE_FEATURES += "gpu"
|
||||
|
||||
SERIAL_CONSOLES = "115200;ttyS2 115200;ttyS3"
|
||||
SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
|
||||
|
||||
# Since J721e does not support multi-cert tiboot3.bin add standalone sysfw.itb
|
||||
IMAGE_BOOT_FILES += "sysfw.itb"
|
||||
|
||||
KERNEL_DEVICETREE = " \
|
||||
ti/k3-j721e-common-proc-board.dtb \
|
||||
ti/k3-j721e-proc-board-tps65917.dtb \
|
||||
ti/k3-j721e-common-proc-board-infotainment.dtbo \
|
||||
ti/k3-j721e-sk.dtb \
|
||||
"
|
||||
|
||||
UBOOT_MACHINE = "j721e_evm_a72_config"
|
||||
@@ -1,11 +0,0 @@
|
||||
#@TYPE: Machine
|
||||
#@NAME: J7 SR1.1 HS EVM (R5F)
|
||||
#@DESCRIPTION: Machine configuration for the TI J7 SR1.1 HS EVM (R5F core)
|
||||
|
||||
# Booting SR1.1 requires different SYSFW, the rest is handled at runtime
|
||||
|
||||
require conf/machine/j7-hs-evm-k3r5.conf
|
||||
SOC_FAMILY_append = ":k3r5-sr1-1"
|
||||
|
||||
SYSFW_SOC = "j721e_sr1_1"
|
||||
SYSFW_SYMLINK = "sysfw.itb"
|
||||
@@ -1,18 +0,0 @@
|
||||
#@TYPE: Machine
|
||||
#@NAME: J7 HS EVM (R5F)
|
||||
#@DESCRIPTION: Machine configuration for the TI J7 HS EVM (R5F core)
|
||||
|
||||
require conf/machine/include/k3r5.inc
|
||||
|
||||
SYSFW_SOC = "j721e"
|
||||
SYSFW_CONFIG = "evm"
|
||||
SYSFW_SUFFIX = "hs"
|
||||
SYSFW_SYMLINK = ""
|
||||
|
||||
SPL_BINARY = "spl/u-boot-spl.${UBOOT_SUFFIX}"
|
||||
SPL_SYMLINK = "u-boot-r5spl.${UBOOT_SUFFIX}"
|
||||
UBOOT_BINARY = "tiboot3.${UBOOT_SUFFIX}"
|
||||
UBOOT_IMAGE = "tiboot3-${MAINMACHINE}-${PV}-${PR}.${UBOOT_SUFFIX}"
|
||||
UBOOT_SYMLINK = "tiboot3-${MAINMACHINE}.${UBOOT_SUFFIX}"
|
||||
|
||||
UBOOT_MACHINE = "j721e_hs_evm_r5_defconfig"
|
||||
@@ -1,27 +0,0 @@
|
||||
#@TYPE: Machine
|
||||
#@NAME: J7 HS EVM
|
||||
#@DESCRIPTION: Machine configuration for the TI J7 HS EVM
|
||||
|
||||
require conf/machine/j7-evm.conf
|
||||
|
||||
UBOOT_MACHINE = "j721e_hs_evm_a72_defconfig"
|
||||
|
||||
UBOOT_ENTRYPOINT = "0x80080000"
|
||||
UBOOT_LOADADDRESS = "0x80080000"
|
||||
UBOOT_RD_LOADADDRESS = "0x84000000"
|
||||
UBOOT_RD_ENTRYPOINT = "0x84000000"
|
||||
UBOOT_DTB_LOADADDRESS = "0x83000000"
|
||||
UBOOT_DTBO_LOADADDRESS = "0x83080000"
|
||||
UBOOT_DTBO_OFFSET = "0x00010000"
|
||||
|
||||
SPL_BINARY = "tispl.bin_HS"
|
||||
UBOOT_BINARY = "u-boot.img_HS"
|
||||
UBOOT_SYMLINK = "u-boot.img"
|
||||
SYSFW_SYMLINK = ""
|
||||
|
||||
BBMULTICONFIG += "k3r5-sr1-1"
|
||||
|
||||
# Since default sysfw.itb on J7 is for SR1.1, add a version for SR1.0
|
||||
IMAGE_BOOT_FILES += "sysfw-j721e-evm.itb"
|
||||
do_image_wic[mcdepends] += "mc::k3r5-sr1-1:ti-sci-fw:do_deploy"
|
||||
do_image_tar[mcdepends] += "mc::k3r5-sr1-1:ti-sci-fw:do_deploy"
|
||||
@@ -1,11 +0,0 @@
|
||||
#@TYPE: Machine
|
||||
#@NAME: J7200 EVM (R5F)
|
||||
#@DESCRIPTION: Machine configuration for the TI J7200 EVM (R5F core)
|
||||
|
||||
require conf/machine/include/k3r5.inc
|
||||
|
||||
SYSFW_SOC = "j7200"
|
||||
SYSFW_CONFIG = "evm"
|
||||
SYSFW_SUFFIX = "gp"
|
||||
|
||||
UBOOT_MACHINE = "j7200_evm_r5_defconfig"
|
||||
@@ -1,17 +0,0 @@
|
||||
#@TYPE: Machine
|
||||
#@NAME: J7200 EVM
|
||||
#@DESCRIPTION: Machine configuration for the TI J7200 EVM
|
||||
|
||||
require conf/machine/include/j7.inc
|
||||
|
||||
SERIAL_CONSOLES = "115200;ttyS2 115200;ttyS3"
|
||||
SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
|
||||
|
||||
KERNEL_DEVICETREE = " \
|
||||
ti/k3-j7200-common-proc-board.dtb \
|
||||
"
|
||||
|
||||
UBOOT_MACHINE = "j7200_evm_a72_config"
|
||||
|
||||
do_image_wic[mcdepends] = "mc::k3r5:ti-sci-fw:do_deploy"
|
||||
do_image_tar[mcdepends] = "mc::k3r5:ti-sci-fw:do_deploy"
|
||||
@@ -1,11 +0,0 @@
|
||||
#@TYPE: Machine
|
||||
#@NAME: J7200 HS EVM (R5F)
|
||||
#@DESCRIPTION: Machine configuration for the TI J7200 HS EVM (R5F core)
|
||||
|
||||
require conf/machine/include/k3r5.inc
|
||||
|
||||
SYSFW_SOC = "j7200_sr2"
|
||||
SYSFW_CONFIG = "evm"
|
||||
SYSFW_SUFFIX = "hs"
|
||||
|
||||
UBOOT_MACHINE = "j7200_hs_evm_r5_defconfig"
|
||||
@@ -1,19 +0,0 @@
|
||||
#@TYPE: Machine
|
||||
#@NAME: J7200 HS EVM
|
||||
#@DESCRIPTION: Machine configuration for the TI J7200 HS EVM
|
||||
|
||||
require conf/machine/j7200-evm.conf
|
||||
|
||||
UBOOT_MACHINE = "j7200_hs_evm_a72_defconfig"
|
||||
|
||||
UBOOT_ENTRYPOINT = "0x80080000"
|
||||
UBOOT_LOADADDRESS = "0x80080000"
|
||||
UBOOT_RD_LOADADDRESS = "0x84000000"
|
||||
UBOOT_RD_ENTRYPOINT = "0x84000000"
|
||||
UBOOT_DTB_LOADADDRESS = "0x83000000"
|
||||
UBOOT_DTBO_LOADADDRESS = "0x83080000"
|
||||
UBOOT_DTBO_OFFSET = "0x00010000"
|
||||
|
||||
SPL_BINARY = "tispl.bin_HS"
|
||||
UBOOT_BINARY = "u-boot.img_HS"
|
||||
UBOOT_SYMLINK = "u-boot.img"
|
||||
@@ -1,11 +0,0 @@
|
||||
#@TYPE: Machine
|
||||
#@NAME: J721S2 EVM (R5F)
|
||||
#@DESCRIPTION: Machine configuration for the TI J721S2 EVM (R5F core)
|
||||
|
||||
require conf/machine/include/k3r5.inc
|
||||
|
||||
SYSFW_SOC = "j721s2"
|
||||
SYSFW_CONFIG = "evm"
|
||||
SYSFW_SUFFIX = "gp"
|
||||
|
||||
UBOOT_MACHINE = "j721s2_evm_r5_defconfig"
|
||||
@@ -1,22 +0,0 @@
|
||||
#@TYPE: Machine
|
||||
#@NAME: J721S2 EVM
|
||||
#@DESCRIPTION: Machine configuration for the TI J721S2 EVM
|
||||
|
||||
require conf/machine/include/j7.inc
|
||||
|
||||
MACHINE_FEATURES += "gpu"
|
||||
|
||||
SERIAL_CONSOLES = "115200;ttyS10"
|
||||
SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
|
||||
TFA_K3_USART = "0x8"
|
||||
OPTEE_K3_USART = "0x8"
|
||||
|
||||
KERNEL_DEVICETREE = " \
|
||||
ti/k3-j721s2-common-proc-board.dtb \
|
||||
ti/k3-j721s2-gesi-exp-board.dtbo \
|
||||
"
|
||||
|
||||
UBOOT_MACHINE = "j721s2_evm_a72_defconfig"
|
||||
|
||||
do_image_wic[mcdepends] = "mc::k3r5:ti-sci-fw:do_deploy"
|
||||
do_image_tar[mcdepends] = "mc::k3r5:ti-sci-fw:do_deploy"
|
||||
@@ -1,11 +0,0 @@
|
||||
#@TYPE: Machine
|
||||
#@NAME: J721S2 HS EVM (R5F)
|
||||
#@DESCRIPTION: Machine configuration for the TI J721S2 HS EVM (R5F core)
|
||||
|
||||
require conf/machine/include/k3r5.inc
|
||||
|
||||
SYSFW_SOC = "j721s2"
|
||||
SYSFW_CONFIG = "evm"
|
||||
SYSFW_SUFFIX = "hs"
|
||||
|
||||
UBOOT_MACHINE = "j721s2_hs_evm_r5_defconfig"
|
||||
@@ -1,19 +0,0 @@
|
||||
#@TYPE: Machine
|
||||
#@NAME: J721S2 HS EVM
|
||||
#@DESCRIPTION: Machine configuration for the TI J721S2 HS EVM
|
||||
|
||||
require conf/machine/j721s2-evm.conf
|
||||
|
||||
UBOOT_MACHINE = "j721s2_hs_evm_a72_defconfig"
|
||||
|
||||
UBOOT_ENTRYPOINT = "0x80080000"
|
||||
UBOOT_LOADADDRESS = "0x80080000"
|
||||
UBOOT_RD_LOADADDRESS = "0x84000000"
|
||||
UBOOT_RD_ENTRYPOINT = "0x84000000"
|
||||
UBOOT_DTB_LOADADDRESS = "0x83000000"
|
||||
UBOOT_DTBO_LOADADDRESS = "0x83080000"
|
||||
UBOOT_DTBO_OFFSET = "0x00010000"
|
||||
|
||||
SPL_BINARY = "tispl.bin_HS"
|
||||
UBOOT_BINARY = "u-boot.img_HS"
|
||||
UBOOT_SYMLINK = "u-boot.img"
|
||||
@@ -1,32 +0,0 @@
|
||||
#@TYPE: Machine
|
||||
#@NAME: Keystone 2 K2E machine
|
||||
#@DESCRIPTION: Machine configuration for the TI Keystone 2 K2E EVM
|
||||
|
||||
require conf/machine/include/k2e.inc
|
||||
|
||||
KERNEL_DEVICETREE = "keystone-k2e-evm.dtb"
|
||||
|
||||
UBOOT_MACHINE = "k2e_evm_config"
|
||||
|
||||
BOOT_MONITOR_MAKE_TARGET = "k2e"
|
||||
|
||||
IMAGE_FSTYPES += "ubifs ubi tar.xz"
|
||||
|
||||
SERIAL_CONSOLES = "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,15 +0,0 @@
|
||||
#@TYPE: Machine
|
||||
#@NAME: Keystone 2 K2E HS EVM
|
||||
#@DESCRIPTION: Machine configuration for the TI Keystone 2 K2E HS EVM
|
||||
|
||||
require conf/machine/k2e-evm.conf
|
||||
|
||||
UBOOT_MACHINE = "k2e_hs_evm_config"
|
||||
SPL_BINARY = ""
|
||||
|
||||
UBOOT_ENTRYPOINT = "0x82000000"
|
||||
UBOOT_LOADADDRESS = "0x82000000"
|
||||
UBOOT_RD_LOADADDRESS = "0x84000000"
|
||||
UBOOT_RD_ENTRYPOINT = "0x84000000"
|
||||
|
||||
TI_SECURE_DEV_PKG = "${TI_SECURE_DEV_PKG_CAT}/k2e"
|
||||
@@ -1,35 +0,0 @@
|
||||
#@TYPE: Machine
|
||||
#@NAME: Keystone 2 K2G machine
|
||||
#@DESCRIPTION: Machine configuration for the TI Keystone 2 K2G EVM
|
||||
|
||||
require conf/machine/include/k2g.inc
|
||||
|
||||
MACHINE_FEATURES += "alsa"
|
||||
|
||||
KERNEL_DEVICETREE = "keystone-k2g-evm.dtb keystone-k2g-ice.dtb \
|
||||
${@oe.utils.conditional('ENABLE_TI_UIO_DEVICES', '1', 'keystone-k2g-ice-pru-excl-uio.dtb', '', d)}"
|
||||
|
||||
UBOOT_MACHINE = "k2g_evm_config"
|
||||
|
||||
BOOT_MONITOR_MAKE_TARGET = "k2g"
|
||||
|
||||
IMAGE_FSTYPES += "ubifs ubi tar.xz"
|
||||
|
||||
SERIAL_CONSOLES = "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"
|
||||
@@ -1,15 +0,0 @@
|
||||
#@TYPE: Machine
|
||||
#@NAME: Keystone 2 K2G HS EVM
|
||||
#@DESCRIPTION: Machine configuration for the TI Keystone 2 K2G HS EVM
|
||||
|
||||
require conf/machine/k2g-evm.conf
|
||||
|
||||
UBOOT_MACHINE = "k2g_hs_evm_config"
|
||||
SPL_BINARY = ""
|
||||
|
||||
UBOOT_ENTRYPOINT = "0x82000000"
|
||||
UBOOT_LOADADDRESS = "0x82000000"
|
||||
UBOOT_RD_LOADADDRESS = "0x84000000"
|
||||
UBOOT_RD_ENTRYPOINT = "0x84000000"
|
||||
|
||||
TI_SECURE_DEV_PKG = "${TI_SECURE_DEV_PKG_CAT}/k2g"
|
||||
@@ -1,32 +0,0 @@
|
||||
#@TYPE: Machine
|
||||
#@NAME: Keystone 2 K2HK machine
|
||||
#@DESCRIPTION: Machine configuration for the TI Keystone 2 K2HK EVM
|
||||
|
||||
require conf/machine/include/k2hk.inc
|
||||
|
||||
KERNEL_DEVICETREE = "keystone-k2hk-evm.dtb"
|
||||
|
||||
UBOOT_MACHINE = "k2hk_evm_config"
|
||||
|
||||
BOOT_MONITOR_MAKE_TARGET = "k2hk"
|
||||
|
||||
IMAGE_FSTYPES += "ubifs ubi tar.xz"
|
||||
|
||||
SERIAL_CONSOLES = "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,15 +0,0 @@
|
||||
#@TYPE: Machine
|
||||
#@NAME: Keystone 2 K2HK HS EVM
|
||||
#@DESCRIPTION: Machine configuration for the TI Keystone 2 K2HK HS EVM
|
||||
|
||||
require conf/machine/k2hk-evm.conf
|
||||
|
||||
UBOOT_MACHINE = "k2hk_hs_evm_config"
|
||||
SPL_BINARY = ""
|
||||
|
||||
UBOOT_ENTRYPOINT = "0x82000000"
|
||||
UBOOT_LOADADDRESS = "0x82000000"
|
||||
UBOOT_RD_LOADADDRESS = "0x84000000"
|
||||
UBOOT_RD_ENTRYPOINT = "0x84000000"
|
||||
|
||||
TI_SECURE_DEV_PKG = "${TI_SECURE_DEV_PKG_CAT}/k2hk"
|
||||
@@ -1,32 +0,0 @@
|
||||
#@TYPE: Machine
|
||||
#@NAME: Keystone 2 K2L machine
|
||||
#@DESCRIPTION: Machine configuration for the TI Keystone 2 K2L EVM
|
||||
|
||||
require conf/machine/include/k2l.inc
|
||||
|
||||
KERNEL_DEVICETREE = "keystone-k2l-evm.dtb"
|
||||
|
||||
UBOOT_MACHINE = "k2l_evm_config"
|
||||
|
||||
BOOT_MONITOR_MAKE_TARGET = "k2l"
|
||||
|
||||
IMAGE_FSTYPES += "ubifs ubi tar.xz"
|
||||
|
||||
SERIAL_CONSOLES = "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"
|
||||
@@ -1,15 +0,0 @@
|
||||
#@TYPE: Machine
|
||||
#@NAME: Keystone 2 K2L HS EVM
|
||||
#@DESCRIPTION: Machine configuration for the TI Keystone 2 K2L HS EVM
|
||||
|
||||
require conf/machine/k2l-evm.conf
|
||||
|
||||
UBOOT_MACHINE = "k2l_hs_evm_config"
|
||||
SPL_BINARY = ""
|
||||
|
||||
UBOOT_ENTRYPOINT = "0x82000000"
|
||||
UBOOT_LOADADDRESS = "0x82000000"
|
||||
UBOOT_RD_LOADADDRESS = "0x84000000"
|
||||
UBOOT_RD_ENTRYPOINT = "0x84000000"
|
||||
|
||||
TI_SECURE_DEV_PKG = "${TI_SECURE_DEV_PKG_CAT}/k2l"
|
||||
27
conf/machine/keystone-evm.conf
Normal file
27
conf/machine/keystone-evm.conf
Normal file
@@ -0,0 +1,27 @@
|
||||
#@TYPE: Machine
|
||||
#@NAME: Keystone 2 machine
|
||||
#@DESCRIPTION: Machine configuration for the TI Keystone 2
|
||||
|
||||
require conf/machine/include/keystone.inc
|
||||
|
||||
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 857 LEBs
|
||||
# MKUBIFS_ARGS = "-m 2048 -e 129024 -c 857"
|
||||
MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 857"
|
||||
|
||||
# do ubiattach /dev/ubi_ctrl -m 4
|
||||
# from dmesg:
|
||||
# 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,22 +0,0 @@
|
||||
#@TYPE: Machine
|
||||
#@NAME: LEGO Mindstorms EV3
|
||||
#@DESCRIPTION: Machine configuration for the LEGO Mindstorms EV3
|
||||
|
||||
require conf/machine/include/davinci.inc
|
||||
require conf/machine/include/omapl138.inc
|
||||
|
||||
UBOOT_MACHINE = "legoev3_config"
|
||||
UBOOT_SUFFIX = "bin"
|
||||
UBOOT_ENTRYPOINT = "0xC0008000"
|
||||
UBOOT_LOADADDRESS = "0xC0008000"
|
||||
SPL_BINARY = ""
|
||||
|
||||
KERNEL_DEVICETREE = "da850-lego-ev3.dtb"
|
||||
KERNEL_IMAGETYPES = "uImage"
|
||||
KERNEL_DEVICETREE_BUNDLE = "1"
|
||||
SERIAL_CONSOLES = "115200;ttyS1"
|
||||
|
||||
IMAGE_FSTYPES += " wic"
|
||||
WKS_FILE ?= "sdimage-bootpart.wks"
|
||||
WIC_CREATE_EXTRA_ARGS += " --no-fstab-update"
|
||||
IMAGE_BOOT_FILES = "${KERNEL_IMAGETYPES}"
|
||||
@@ -4,15 +4,19 @@
|
||||
|
||||
require conf/machine/include/omap3.inc
|
||||
|
||||
MACHINE_GUI_CLASS = "smallscreen"
|
||||
# Use built-in LCD by default
|
||||
XSERVER += "xf86-input-tslib"
|
||||
GUI_MACHINE_CLASS = "smallscreen"
|
||||
MACHINE_FEATURES += "touchscreen ethernet"
|
||||
|
||||
IMAGE_FSTYPES += "jffs2 tar.xz"
|
||||
IMAGE_FSTYPES += "jffs2 tar.gz"
|
||||
EXTRA_IMAGECMD_jffs2 = "-lnp -e 0x20000 -s 2048"
|
||||
|
||||
SERIAL_CONSOLES = "115200;ttyS0"
|
||||
SERIAL_CONSOLE = "115200 ttyS0"
|
||||
USE_VT = "0"
|
||||
|
||||
PREFERRED_PROVIDER_virtual/kernel = "linux-omap-psp"
|
||||
|
||||
EXTRA_IMAGEDEPENDS += "x-load"
|
||||
|
||||
# NOTE: there are NAND and OneNAND versions of this board...
|
||||
|
||||
@@ -4,11 +4,9 @@
|
||||
|
||||
require conf/machine/include/omap-a15.inc
|
||||
|
||||
IMAGE_FSTYPES += "ubi tar.xz"
|
||||
IMAGE_FSTYPES += "ubi tar.gz"
|
||||
|
||||
KERNEL_DEVICETREE = "omap5-uevm.dtb"
|
||||
|
||||
SERIAL_CONSOLES = "115200;ttyS2"
|
||||
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
|
||||
@@ -21,7 +19,7 @@ SERIAL_CONSOLES = "115200;ttyS2"
|
||||
# UBI: logical eraseblock size: 126976 bytes
|
||||
# from ubiattach stdout:
|
||||
# UBI device number 0, total 1988 LEBs
|
||||
MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 4300"
|
||||
MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 3836"
|
||||
|
||||
# do ubiattach /dev/ubi_ctrl -m 7 -O 2048
|
||||
# from dmesg:
|
||||
@@ -32,3 +30,7 @@ MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 4300"
|
||||
UBINIZE_ARGS = "-m 2048 -p 128KiB -s 512 -O 2048"
|
||||
|
||||
UBOOT_MACHINE = "omap5_uevm_config"
|
||||
|
||||
# Currently removing the sgx machine feature because there is no SGX package
|
||||
# available for omap5
|
||||
MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen touchscreen"
|
||||
|
||||
@@ -1,15 +0,0 @@
|
||||
#@TYPE: Machine
|
||||
#@NAME: OMAP-L137 EVM
|
||||
#@DESCRIPTION: Machine configuration for the TI OMAP-L137 EVM board
|
||||
|
||||
require conf/machine/include/davinci.inc
|
||||
require conf/machine/include/omapl137.inc
|
||||
|
||||
# HACK: The omapl137 family does not have linux kernel support.
|
||||
PREFERRED_PROVIDER_virtual/kernel ?= "linux-dummy"
|
||||
EXTRA_IMAGEDEPENDS = ""
|
||||
|
||||
IMAGE_FSTYPES = "tar.xz"
|
||||
|
||||
# Set the list of device targets for ti-pdk class recipes
|
||||
TI_PDK_LIMIT_BOARDS = "evmOMAPL137"
|
||||
@@ -1,22 +0,0 @@
|
||||
#@TYPE: Machine
|
||||
#@NAME: OMAP-L138 LCDK
|
||||
#@DESCRIPTION: Machine configuration for the TI OMAP-L138 LCDK board
|
||||
|
||||
require conf/machine/include/davinci.inc
|
||||
require conf/machine/include/omapl138.inc
|
||||
|
||||
UBOOT_MACHINE = "omapl138_lcdk_config"
|
||||
UBOOT_SUFFIX = "ais"
|
||||
SPL_BINARY = ""
|
||||
|
||||
UBOOT_ENTRYPOINT = "0xc0008000"
|
||||
UBOOT_LOADADDRESS = "0xc0008000"
|
||||
|
||||
IMAGE_FSTYPES += "tar.xz"
|
||||
|
||||
SERIAL_CONSOLES = "115200;ttyS2"
|
||||
|
||||
KERNEL_DEVICETREE = "da850-evm.dtb da850-lcdk.dtb"
|
||||
|
||||
# Set the list of device targets for ti-pdk class recipes
|
||||
TI_PDK_LIMIT_BOARDS = "lcdkOMAPL138"
|
||||
@@ -4,13 +4,11 @@
|
||||
|
||||
require conf/machine/include/omap4.inc
|
||||
|
||||
MACHINE_GUI_CLASS = "bigscreen"
|
||||
GUI_MACHINE_CLASS = "bigscreen"
|
||||
|
||||
IMAGE_FSTYPES += "tar.xz"
|
||||
IMAGE_FSTYPES += "tar.gz"
|
||||
|
||||
KERNEL_DEVICETREE = "omap4-panda.dtb omap4-panda-a4.dtb omap4-panda-es.dtb"
|
||||
|
||||
SERIAL_CONSOLES = "115200;ttyS2"
|
||||
SERIAL_CONSOLE = "115200 ttyO2"
|
||||
|
||||
MACHINE_EXTRA_RRECOMMENDS = " kernel-modules"
|
||||
MACHINE_FEATURES = "kernel26 wifi bluetooth alsa apm ext2 screen usbgadget usbhost vfat gpu"
|
||||
MACHINE_FEATURES = "kernel26 wifi bluetooth alsa apm ext2 screen usbgadget usbhost vfat sgx"
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
require k3r5.conf
|
||||
|
||||
MACHINE_append = "-gp"
|
||||
@@ -1,3 +0,0 @@
|
||||
require k3r5.conf
|
||||
|
||||
MACHINE_append = "-sr1-1"
|
||||
@@ -1,3 +0,0 @@
|
||||
require k3r5-sr2.conf
|
||||
|
||||
MACHINE_append = "-hs-fs"
|
||||
@@ -1,3 +0,0 @@
|
||||
require k3r5-sr2.conf
|
||||
|
||||
MACHINE_append = "-hs-se"
|
||||
@@ -1,3 +0,0 @@
|
||||
require k3r5.conf
|
||||
|
||||
MACHINE_append = "-sr2"
|
||||
@@ -1,5 +0,0 @@
|
||||
MAINMACHINE := "${MACHINE}"
|
||||
|
||||
DEPLOY_DIR_IMAGE = "${DEPLOY_DIR}/images/${MAINMACHINE}"
|
||||
|
||||
MACHINE_append = "-k3r5"
|
||||
@@ -1,13 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) 1994
|
||||
* Hewlett-Packard Company
|
||||
*
|
||||
* Permission to use, copy, modify, distribute and sell this software
|
||||
* and its documentation for any purpose is hereby granted without fee,
|
||||
* provided that the above copyright notice appear in all copies and
|
||||
* that both that copyright notice and this permission notice appear
|
||||
* in supporting documentation. Hewlett-Packard Company makes no
|
||||
* representations about the suitability of this software for any
|
||||
* purpose. It is provided "as is" without express or implied warranty.
|
||||
*
|
||||
*/
|
||||
@@ -1,4 +0,0 @@
|
||||
Copyright Patrick Powell 1995
|
||||
This code is based on code written by Patrick Powell (papowell@astart.com)
|
||||
It may be used for any purpose as long as this notice remains intact
|
||||
on all source code distributions
|
||||
@@ -1,63 +0,0 @@
|
||||
This license applies to the Imagination D5520 firmware image, pvdec_full_bin.fw.
|
||||
|
||||
Copyright (C) 2019 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.
|
||||
@@ -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.
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user