Overview
Directory structure of (relevant) installed Petalinux 2019.2 (still based on “thud”).
TO DO:
- Figure out xsct.
- Installer oddities.
- New Vitis-related content.
Structure
- settings.sh
- tools/
- common/petalinux/
- bin/
- petalinux-boot
- petalinux-build
- petalinux-config
- petalinux-create
- petalinux-package
- petalinux-upgrade
- petalinux-util
- utils/
- petalinux-component
- petalinux-detect-arch
- petalinux-edit-searchpath
- petalinux-env-check
- petalinux-find-ipaddr
- petalinux-find-systool
- petalinux-gen-nfsroot
- petalinux-initbram
- petalinux-install
- petalinux-jtag-boot
- petalinux-kconfig-edit
- petalinux-linuxsys-utils
- petalinux-package-boot
- petalinux-package-bsp
- petalinux-package-prebuilt
- petalinux-package-sysroot
- petalinux-qemu-boot
- petalinux-simple-yaml-parser
- petalinux-tranwebt
- petalinux-yocto
- xsct/ [Xilinx Software Command-Line Tool]
- bin/
- gnu/
- aarch32/
- aarch64/
- lin/aarch64-none/
- aarch64-none-elf/
- bin/
- include/
- lib/
- lib64/
- libexec/
- share/
- armr5/
- microblaze/
- etc/
- template/
- apps/
- template-autoconf
- template-c
- template-c++
- template-install
- template-source
- modules/
- project/
- common/
- template-zynqMP/
2019.1/etc/template/project/
common/project-spec/meta-user/
No longer “recipes-core/” here.
- README
- conf/
- layer.conf
- petalinuxbsp.conf
- user-rootfs-config ⇐ NEW(?)
- recipes-bsp/
- device-tree/
- device-tree.bbappend
- files/
- system-user.dtsi
- pl-custom.dtsi ⇐ NEW(?)
- u-boot/
- u-boot-xlnx_%.bbappend (platform-top.h, next)
template-zynqMP/project-spec/
- attributes
- configs/
- config
- rootfs_config
- hw-description/
- metadata [empty]
- meta-user/
- recipes-bsp/
- u-boot/
- files/
- platform-top.h
components/
- apps/
- gpio-demo/
- peekpoke/
- misc/
- config/
- data/
- ipinfo.yaml
- sysconf_koptions.yaml
- hw-description/
- hw-description.tcl
- Kconfig.part
- plnx-generated/
- genprop.py
- layer.json
- meatdata.json
- metadata_mb.json
- metadata_versal.json
- metadata_zynqmp.json
- plnxgen.py
- rootfs_config/
- rootfs_config.py
- Kconfig-aarch64.part
- Kconfig-arm.part
- Kconfig-microblaze.part
- yocto/
- downloads/ (3.6G of local mirror)
- source/
- aarch64/
components/yocto/source/aarch64/
Files
- environment-setup-aarch64-xilinx-linux
conf/ files
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" DISTRO ?= "petalinux" PACKAGE_CLASSES ?= "package_rpm" EXTRA_IMAGE_FEATURES = "debug-tweaks" 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 = "2019.2" PMU_FIRMWARE_DEPLOY_DIR = "${DEPLOY_DIR_IMAGE}" PMU_FIRMWARE_IMAGE_NAME = "pmu-firmware-${MACHINE}" include conf/plnxbuild.conf INHERIT += "rm_work" TMPDIR = "${TOPDIR}/tmp" TCLIBCAPPEND = "" DL_DIR = "${TOPDIR}/downloads" INHERIT += "uninative" UNINATIVE_CHECKSUM[x86_64] = "c6954563dad3c95608117c6fc328099036c832bbd924ebf5fdccb622fc0a8684" 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" SSTATE_MIRRORS += " file://universal/(.*) file://universal-4.9/\1 file://universal-4.9/(.*) file://universal-4.8/\1" USE_XSCT_TARBALL = "0" require conf/locked-sigs.inc require conf/unlocked-sigs.inc # Extra settings from environment: MACHINE = "zynqmp-generic"
bblayers.conf
LCONF_VERSION = "7" BBPATH = "${TOPDIR}" SDKBASEMETAPATH = "${TOPDIR}" BBLAYERS := " \ ${SDKBASEMETAPATH}/layers/core/meta \ ${SDKBASEMETAPATH}/layers/core/meta-poky \ ${SDKBASEMETAPATH}/layers/meta-openembedded/meta-perl \ ${SDKBASEMETAPATH}/layers/meta-openembedded/meta-python \ ${SDKBASEMETAPATH}/layers/meta-openembedded/meta-filesystems \ ${SDKBASEMETAPATH}/layers/meta-openembedded/meta-gnome \ ${SDKBASEMETAPATH}/layers/meta-openembedded/meta-multimedia \ ${SDKBASEMETAPATH}/layers/meta-openembedded/meta-networking \ ${SDKBASEMETAPATH}/layers/meta-openembedded/meta-webserver \ ${SDKBASEMETAPATH}/layers/meta-openembedded/meta-xfce \ ${SDKBASEMETAPATH}/layers/meta-openembedded/meta-initramfs \ ${SDKBASEMETAPATH}/layers/meta-openembedded/meta-oe \ ${SDKBASEMETAPATH}/layers/meta-browser \ ${SDKBASEMETAPATH}/layers/meta-qt5 \ ${SDKBASEMETAPATH}/layers/meta-xilinx/meta-xilinx-bsp \ ${SDKBASEMETAPATH}/layers/meta-xilinx/meta-xilinx-pynq \ ${SDKBASEMETAPATH}/layers/meta-xilinx/meta-xilinx-contrib \ ${SDKBASEMETAPATH}/layers/meta-xilinx-tools \ ${SDKBASEMETAPATH}/layers/meta-petalinux \ ${SDKBASEMETAPATH}/layers/meta-virtualization \ ${SDKBASEMETAPATH}/layers/meta-openamp \ ${SDKBASEMETAPATH}/layers/meta-jupyter \ ${SDKBASEMETAPATH}/workspace \