Skip to content

Instantly share code, notes, and snippets.

@vmayoral
Last active May 26, 2021 08:54
Show Gist options
  • Save vmayoral/f93d0070b93d9a7f43756ae9ae9c0bc3 to your computer and use it in GitHub Desktop.
Save vmayoral/f93d0070b93d9a7f43756ae9ae9c0bc3 to your computer and use it in GitHub Desktop.
TSN working local.conf
# WARNING: this configuration has been automatically generated and in
# most cases should not be edited. If you need more flexibility than
# this configuration provides, it is strongly suggested that you set
# up a proper instance of the full build system and use that instead.
#MACHINE ??= "qemuzynq" # refer to the TSN section below
DISTRO ?= "petalinux"
PACKAGE_CLASSES ?= "package_rpm"
USER_CLASSES ?= "buildstats image-mklibs"
PATCHRESOLVE = "noop"
BB_DISKMON_DIRS = "\
STOPTASKS,${TMPDIR},1G,100K \
STOPTASKS,${DL_DIR},1G,100K \
STOPTASKS,${SSTATE_DIR},1G,100K \
STOPTASKS,/tmp,100M,100K \
ABORT,${TMPDIR},100M,1K \
ABORT,${DL_DIR},100M,1K \
ABORT,${SSTATE_DIR},100M,1K \
ABORT,/tmp,10M,1K"
XILINX_VER_MAIN = "2020.2"
PMU_FIRMWARE_DEPLOY_DIR = "${DEPLOY_DIR_IMAGE}"
PMU_FIRMWARE_IMAGE_NAME = "pmu-firmware-${MACHINE}"
PNBLACKLIST[qemu-native]="blacklist"
PNBLACKLIST[nativesdk-qemu]="blacklist"
INHERIT += "rm_work"
SDK_EXT_TYPE = "minimal"
SDK_INCLUDE_BUILDTOOLS = "0"
TMPDIR = "${TOPDIR}/tmp"
TCLIBCAPPEND = ""
DL_DIR = "${TOPDIR}/downloads"
INHERIT += "uninative"
UNINATIVE_CHECKSUM[x86_64] = "9498d8bba047499999a7310ac2576d0796461184965351a56f6d32c888a1f216"
CONF_VERSION = "1"
INHERIT_remove = "buildhistory icecc"
CONNECTIVITY_CHECK_URIS = ""
SIGGEN_LOCKEDSIGS_SSTATE_EXISTS_CHECK = "none"
SIGGEN_LOCKEDSIGS_TASKSIG_CHECK = "warn"
BB_HASHCONFIG_WHITELIST_append = " SIGGEN_UNLOCKED_RECIPES"
BB_SETSCENE_ENFORCE_WHITELIST = "%:* *:do_shared_workdir *:do_rm_work wic-tools:* *:do_addto_recipe_sysroot"
BUILDCFG_HEADER = ""
# Provide a flag to indicate we are in the EXT_SDK Context
WITHIN_EXT_SDK = "1"
USE_XSCT_TARBALL = "0"
# Extra settings from environment:
#MACHINE = "zynqmp-generic"
######################
# TSN stuff
######################
# See https://docs.yoctoproject.org/bitbake/bitbake-user-manual/bitbake-user-manual-metadata.html and
# https://www.yoctoproject.org/pipermail/yocto/2012-March/005640.html
# on operators for asignation
#
# MACHINE ??= "zcu102-zynqmp"
MACHINE = "zcu102-zynqmp"
IMAGE_INSTALL_append = "gptp misc-utils linuxptp bridge-utils python curl lldpd strace lrzsz net-tools tcpdump netcat iperf3 ipic-module iproute2 python-flask python-werkzeug python-jinja2 python-itsdangerous inotify-tools"
RDEPENDS_${KERNEL_PACKAGE_NAME}-base = ""
TSNPACK = "${TOPDIR}/../project-spec/meta-tsn/tsn-packages"
HDF_BASE = "file://"
HDF_PATH = "${TSNPACK}/design/${MACHINE}/design_1_wrapper.xsa"
IMAGE_LINGUAS = " "
BIF_PARTITION_ATTR[bitstream]=" destination_device=pl "
BIF_PARTITION_IMAGE[bitstream]="${TSNPACK}/design/${MACHINE}/design_1_wrapper.bit"
######################
require conf/locked-sigs.inc
require conf/unlocked-sigs.inc
include conf/plnxtool.conf
include conf/petalinuxbsp.conf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment