Commit 98a9b8f3 authored by Bergeron, Mario's avatar Bergeron, Mario
Browse files

Initial commit

parents
platform_repo/
PLATFORM ?= zcu104_mc4
CWD=$(shell pwd)
XSA_DIR ?= $(CWD)/vivado
XSCT = $(XILINX_VITIS)/bin/xsct
CPU_ARCH=a53
NCPUS ?= $(shell grep -c processor /proc/cpuinfo)
.phony: all
$(PLATOFORM): all
all: $(PLATFORM)
$(PLATFORM): xsa petalinux_proj pfm
@echo 'Platform build complete'
xsa:
@echo 'Using $(NCPUS) CPUs'
$(MAKE) -C vivado PLATFORM=$(PLATFORM) NCPU=$(NCPUS)
petalinux_proj:
$(MAKE) -C petalinux all XSA_DIR=$(XSA_DIR) PLATFORM=$(PLATFORM)
peta_sysroot:
$(MAKE) -C petalinux sysroot
peta_swcomp:
$(MAKE) -C petalinux sw_comp XSA_DIR=$(XSA_DIR)
peta_bootimg:
$(MAKE) -C petalinux bootimage PLATFORM=$(PLATFORM)
pfm:
$(XSCT) -sdx scripts/${PLATFORM}_pfm.tcl ${PLATFORM} ${XSA_DIR}
mkdir platform_repo/${PLATFORM}/export/${PLATFORM}/sw/${PLATFORM}/pre-built/
cp -rf platform_repo/tmp/sw_components/src/${CPU_ARCH}/BOOT.BIN platform_repo/${PLATFORM}/export/${PLATFORM}/sw/${PLATFORM}/pre-built/
cleanall:
${RM} -r platform_repo
$(MAKE) -C vivado clean PLATFORM=$(PLATFORM)
$(MAKE) -C petalinux ultraclean PLATFORM=$(PLATFORM)
# Vitis Multi-Camera FMC Platform for the zcu104 Board
This platform comes with PetaLinux and includes OpenCV. It is useful
as a platform for exercising Vitis capabilities and topologies on the zcu104 board
with the Avnet multi-camera FMC.
# Requirements
In addition to the VITIS unified development environment,
this design requires a license (or hardware evaluation license)
for the MIPI CSI2 RX core.
# Building the Platform
**Last Tested Vivado Release: 2019.2**
The platform build process is entirely scripted. Note that as this platform
build process involves cross-compiling Linux, build of the platform is supported
on Linux environments **only** (although it is possible to build inside a VM or
Docker container).
Also note that the default PetaLinux configuration uses local scratchpad areas. This
will *not* work if you are building on a networked file system; Yocto will error out.
Update PetaLinux to change the build area to a locally-mounted hard drive (most
Xilinx internal network servers have a /scratch or /tmp area for this purpose).
After cloning the platform source, and with both Vivado and PetaLinux set up, run
`make` from the top-level platform directory.
Note that by default this Makefile will install the platform to "platform_repo/zcu104_mc4/export/zcu104_mc4/"
# Installing the Yocto SDK
A bundled Yocto SDK "sysroot" is not available with this package by default. To build
non-trivial Linux software for this platform sysroot need to be built and installed.
This can be done with command "make peta_sysroot"
It is installed to "platform_repo/sysroot" once the build completes.
To cross-compile against this platform from the command line, source the
`environment-setup-aarch64-xilinx-linux` script to set up your environment (cross
compiler, build tools, libraries, etc).
# Build instructions
This packages comes with sources to generate hardware specification file (xsa) from Vivado,
petlainux sources to generate the image.ub and platform sources to generate the Vitis platform.
Build platform from scratch:
make all
Build a platform without modifying hardware:
make petalinux_proj XSA_DIR=<xsa dir path>
make pfm XSA_DIR=<xsa dir path>
example:
make petalinux_proj XSA_DIR=/home/user/zcu104_mc4/vivado
make pfm /home/user/zcu104_mc4/vivado
# Running on hardware
After the platform build completes you can copy the `petalinux/images/linux/BOOT.BIN`, `petalinux/images/linux/image.ub`,
and the sdcard directory to the root directory of a blank microSD card. After the board boots, source the
hdmi_display_4k30.sh script to set the display resolution to 4k30. Once the display is set up execute
the pass_1080p.sh script which will capture 1920x1080 frames from each camera at 30 Hz and display on a 4K HDMI
monitor in quadrants.
# Notes
By default the rootfs is packaged in image.ub in the generated platform. The zcu104 board is having limited
2GB DDR4 memory for PS. In case of adding more rootfs packages or running the applications that require larger
CMA memory, the recommended solution is to load the rootfs from SD card instead of from DDR.
Refer section "Configuring SD Card ext File System Boot" in page 65 of ug1144 for Petalinux 2019.2:
"https://www.xilinx.com/support/documentation/sw_manuals/xilinx2019_2/ug1144-petalinux-tools-reference-guide.pdf"
This platform is built with 2019.2 XRT tag: https://github.com/Xilinx/XRT/tree/2019.2_RC1.
To build the platforms with latest 2019.2 XRT branch, change the commit id in the following files by taking it
from https://github.com/Xilinx/XRT/tree/2019.2 and build the platform:
Xilinx_Official_Platforms/zcu104_base/petalinux/project-spec/meta-user/recipes-xrt/xrt/xrt_git.bb
Xilinx_Official_Platforms/zcu104_base/petalinux/project-spec/meta-user/recipes-xrt/zocl/zocl_git.bb
Once the Vitis platform is ready, some example applications to build with these platforms can be found here:
https://github.com/Xilinx/Vitis_Accel_Examples
*/*/config.old
*/*/rootfs_config.old
build/
images/linux/
pre-built/linux/
.petalinux/*
!.petalinux/metadata
*.o
*.jou
*.log
project-spec/meta-plnx-generated/
/components/plnx_workspace
project-spec/hw-description/system.xsa
project-spec/hw-description/zcu104_mc4.bit
CPU_ARCH=a53
OUTPUT=../platform_repo/tmp/sw_components/
SYSROOT=../platform_repo/sysroot
all: refresh_hw xrt zocl kernel_config rootfs_config linux sw_comp bootimage
refresh_hw:
petalinux-config --get-hw-description=${XSA_DIR} --silentconfig
sw_config: xrt zocl kernel_config rootfs_config
xrt:
petalinux-config -c xrt --silentconfig
zocl:
petalinux-config -c zocl --silentconfig
kernel_config:
petalinux-config -c kernel --silentconfig
rootfs_config:
petalinux-config -c rootfs --silentconfig
linux:
petalinux-build
sw_comp:
mkdir -p $(OUTPUT)
cp -rf $(XSA_DIR)/src $(OUTPUT)
mkdir -p ${OUTPUT}/src/boot
cp -f images/linux/image.ub ${OUTPUT}/src/${CPU_ARCH}/xrt/image/image.ub
cp -f images/linux/bl31.elf ${OUTPUT}/src/boot/bl31.elf
cp -f images/linux/pmufw.elf ${OUTPUT}/src/boot/pmufw.elf
cp -f images/linux/u-boot.elf ${OUTPUT}/src/boot/u-boot.elf
cp -f images/linux/zynqmp_fsbl.elf ${OUTPUT}/src/boot/fsbl.elf
bootimage:
@echo "BOOT image for base platforms"
petalinux-package --force --boot --fsbl images/linux/zynqmp_fsbl.elf --fpga project-spec/hw-description/$(PLATFORM).bit --u-boot images/linux/u-boot.elf --pmufw images/linux/pmufw.elf --atf images/linux/bl31.elf
cp -rf images/linux/BOOT.BIN ${OUTPUT}/src/${CPU_ARCH}/
sysroot:
mkdir -p ${SYSROOT}
petalinux-build --sdk
petalinux-package --sysroot -d ${SYSROOT}
clean:
petalinux-build -x cleanall
$(RM) -r images/linux/*
ultraclean: clean
${RM} -r build ip_cache components
##########################################################################
This is a brief document containing design specific details for : zcu104
This is auto-generated by Petalinux ref-design builder created @ Sun Oct 13 15:16:21 MDT 2019
##########################################################################
BOARD: xilinx.com:zcu104:part0:1.1
BLOCK DESIGN: bd_c902 design_1
------------------------------------------------------------------------------------------------------------------------------------------------------
MODULE INSTANCE NAME IP TYPE IP VERSION IP
------------------------------------------------------------------------------------------------------------------------------------------------------
design_1_axi_interconnect_0_0 axi_interconnect 2.1 xilinx.com:ip:axi_interconnect:2.1
design_1_axi_interconnect_1_0 axi_interconnect 2.1 xilinx.com:ip:axi_interconnect:2.1
design_1_axi_interconnect_2_0 axi_interconnect 2.1 xilinx.com:ip:axi_interconnect:2.1
design_1_axi_interconnect_3_0 axi_interconnect 2.1 xilinx.com:ip:axi_interconnect:2.1
design_1_axi_interconnect_5_0 axi_interconnect 2.1 xilinx.com:ip:axi_interconnect:2.1
design_1_axi_interconnect_6_0 axi_interconnect 2.1 xilinx.com:ip:axi_interconnect:2.1
design_1_axi_interconnect_hp0_0 axi_interconnect 2.1 xilinx.com:ip:axi_interconnect:2.1
design_1_axi_interconnect_hpm0_0 axi_interconnect 2.1 xilinx.com:ip:axi_interconnect:2.1
design_1_axi_interconnect_hpm1_0 axi_interconnect 2.1 xilinx.com:ip:axi_interconnect:2.1
design_1_clk_wiz_0_0 clk_wiz 6.0 xilinx.com:ip:clk_wiz:6.0
design_1_interrupts0_0 xlconcat 2.1 xilinx.com:ip:xlconcat:2.1
design_1_proc_sys_reset_1_0 proc_sys_reset 5.0 xilinx.com:ip:proc_sys_reset:5.0
design_1_proc_sys_reset_2_0 proc_sys_reset 5.0 xilinx.com:ip:proc_sys_reset:5.0
design_1_proc_sys_reset_3_0 proc_sys_reset 5.0 xilinx.com:ip:proc_sys_reset:5.0
design_1_v_frmbuf_rd_0_0 v_frmbuf_rd 2.1 xilinx.com:ip:v_frmbuf_rd:2.1
design_1_v_frmbuf_wr_0_0 v_frmbuf_wr 2.1 xilinx.com:ip:v_frmbuf_wr:2.1
design_1_vcu_0_0 vcu 1.2 xilinx.com:ip:vcu:1.2
design_1_vcu_ddr4_controller_0_0 vcu_ddr4_controller 1.1 xilinx.com:ip:vcu_ddr4_controller:1.1
design_1_xlconstant_0_0 xlconstant 1.1 xilinx.com:ip:xlconstant:1.1
design_1_xlconstant_1_0 xlconstant 1.1 xilinx.com:ip:xlconstant:1.1
design_1_xlslice_0_0 xlslice 1.0 xilinx.com:ip:xlslice:1.0
design_1_xlslice_1_0 xlslice 1.0 xilinx.com:ip:xlslice:1.0
design_1_xlslice_2_0 xlslice 1.0 xilinx.com:ip:xlslice:1.0
design_1_zynq_ultra_ps_e_0_0 zynq_ultra_ps_e 3.3 xilinx.com:ip:zynq_ultra_ps_e:3.3
#
# Automatically generated file; DO NOT EDIT.
# PetaLinux SDK Project Configuration
#
CONFIG_PROJECT_ADDITIONAL_COMPONENTS_SEARCH_PATH=""
#
# Subsystems of the project
#
CONFIG_PROJECT_SUBSYSTEM_LINUX_INSTANCE_LINUX=y
CONFIG_PROJECT_SUBSYSTEMS=y
#Virtual Providers
#defconfigs
UBOOT_DEFAULT_DEFCONFIG="xilinx_zynqmp_zcu102_revB_defconfig"
#
# Automatically generated file; DO NOT EDIT.
# misc/config System Configuration
#
CONFIG_SUBSYSTEM_TYPE_LINUX=y
CONFIG_SYSTEM_ZYNQMP=y
#
# Linux Components Selection
#
CONFIG_SUBSYSTEM_COMPONENT_DEVICE__TREE_NAME_DEVICE__TREE__GENERATOR=y
CONFIG_SUBSYSTEM_COMPONENT_BOOTLOADER_AUTO_FSBL=y
CONFIG_SUBSYSTEM_COMPONENT_BOOTLOADER_NAME_ZYNQMP_FSBL=y
CONFIG_SUBSYSTEM_COMPONENT_BOOTLOADER_AUTO_PS_INIT=y
CONFIG_SUBSYSTEM_COMPONENT_PMU_FIRMWARE=y
CONFIG_SUBSYSTEM_COMPONENT_U__BOOT_NAME_U__BOOT__XLNX=y
# CONFIG_SUBSYSTEM_COMPONENT_U__BOOT_NAME_REMOTE is not set
# CONFIG_SUBSYSTEM_COMPONENT_U__BOOT_NAME_EXT__LOCAL__SRC is not set
CONFIG_SUBSYSTEM_COMPONENT_ARM__TRUSTED__FIRMWARE_NAME_ARM__TRUSTED__FIRMWARE=y
# CONFIG_SUBSYSTEM_COMPONENT_ARM__TRUSTED__FIRMWARE_NAME_REMOTE is not set
# CONFIG_SUBSYSTEM_COMPONENT_ARM__TRUSTED__FIRMWARE_NAME_EXT__LOCAL__SRC is not set
CONFIG_SUBSYSTEM_COMPONENT_LINUX__KERNEL_NAME_LINUX__XLNX=y
# CONFIG_SUBSYSTEM_COMPONENT_LINUX__KERNEL_NAME_REMOTE is not set
# CONFIG_SUBSYSTEM_COMPONENT_LINUX__KERNEL_NAME_EXT__LOCAL__SRC is not set
#
# Auto Config Settings
#
CONFIG_SUBSYSTEM_AUTOCONFIG_FSBL=y
CONFIG_SUBSYSTEM_AUTOCONFIG_PMUFW=y
CONFIG_SUBSYSTEM_AUTOCONFIG_DEVICE__TREE=y
# CONFIG_SUBSYSTEM_DEVICE_TREE_MANUAL_INCLUDE is not set
CONFIG_SUBSYSTEM_DEVICE_TREE_INCLUDE_DIR="${STAGING_KERNEL_DIR}/include"
CONFIG_SUBSYSTEM_AUTOCONFIG_KERNEL=y
CONFIG_SUBSYSTEM_AUTOCONFIG_U__BOOT=y
CONFIG_SUBSYSTEM_HARDWARE_AUTO=y
CONFIG_SUBSYSTEM_PROCESSOR0_IP_NAME="psu_cortexa53_0"
CONFIG_SUBSYSTEM_PROCESSOR_psu_cortexa53_0_SELECT=y
CONFIG_SUBSYSTEM_ARCH_AARCH64=y
#
# Memory Settings
#
CONFIG_SUBSYSTEM_MEMORY_PSU_DDR_0_BANKLESS_SELECT=y
# CONFIG_SUBSYSTEM_MEMORY_SIMPLE_SELECT is not set
# CONFIG_SUBSYSTEM_MEMORY_MANUAL_SELECT is not set
CONFIG_SUBSYSTEM_MEMORY_PSU_DDR_0_BANKLESS_BASEADDR=0x0
CONFIG_SUBSYSTEM_MEMORY_PSU_DDR_0_BANKLESS_SIZE=0x80000000
CONFIG_SUBSYSTEM_MEMORY_PSU_DDR_0_BANKLESS_KERNEL_BASEADDR=0x0
CONFIG_SUBSYSTEM_MEMORY_PSU_DDR_0_BANKLESS_U__BOOT_TEXTBASE_OFFSET=0x100000
CONFIG_SUBSYSTEM_MEMORY_IP_NAME="PSU_DDR_0"
#
# Serial Settings
#
# CONFIG_SUBSYSTEM_SERIAL_PSU_UART_1_SELECT is not set
CONFIG_SUBSYSTEM_SERIAL_PSU_UART_0_SELECT=y
# CONFIG_SUBSYSTEM_SERIAL_MANUAL_SELECT is not set
# CONFIG_SUBSYSTEM_SERIAL_PSU_UART_0_BAUDRATE_600 is not set
# CONFIG_SUBSYSTEM_SERIAL_PSU_UART_0_BAUDRATE_9600 is not set
# CONFIG_SUBSYSTEM_SERIAL_PSU_UART_0_BAUDRATE_28800 is not set
CONFIG_SUBSYSTEM_SERIAL_PSU_UART_0_BAUDRATE_115200=y
# CONFIG_SUBSYSTEM_SERIAL_PSU_UART_0_BAUDRATE_230400 is not set
# CONFIG_SUBSYSTEM_SERIAL_PSU_UART_0_BAUDRATE_460800 is not set
# CONFIG_SUBSYSTEM_SERIAL_PSU_UART_0_BAUDRATE_921600 is not set
CONFIG_SUBSYSTEM_SERIAL_IP_NAME="psu_uart_0"
CONFIG_SUBSYSTEM_SERIAL_ATF_IP_NAME="cadence"
#
# Ethernet Settings
#
CONFIG_SUBSYSTEM_ETHERNET_PSU_ETHERNET_3_SELECT=y
# CONFIG_SUBSYSTEM_ETHERNET_MANUAL_SELECT is not set
# CONFIG_SUBSYSTEM_ETHERNET_PSU_ETHERNET_3_MAC_AUTO is not set
CONFIG_SUBSYSTEM_ETHERNET_PSU_ETHERNET_3_MAC="00:0a:35:00:22:01"
CONFIG_SUBSYSTEM_ETHERNET_PSU_ETHERNET_3_USE_DHCP=y
#
# Flash Settings
#
CONFIG_SUBSYSTEM_FLASH_PSU_QSPI_0_BANKLESS_SELECT=y
# CONFIG_SUBSYSTEM_FLASH_MANUAL_SELECT is not set
# CONFIG_SUBSYSTEM_FLASH__ADVANCED_AUTOCONFIG is not set
#
# partition 0
#
CONFIG_SUBSYSTEM_FLASH_PSU_QSPI_0_BANKLESS_PART0_NAME="boot"
CONFIG_SUBSYSTEM_FLASH_PSU_QSPI_0_BANKLESS_PART0_SIZE=0x01e00000
#
# partition 1
#
CONFIG_SUBSYSTEM_FLASH_PSU_QSPI_0_BANKLESS_PART1_NAME="bootenv"
CONFIG_SUBSYSTEM_FLASH_PSU_QSPI_0_BANKLESS_PART1_SIZE=0x40000
#
# partition 2
#
CONFIG_SUBSYSTEM_FLASH_PSU_QSPI_0_BANKLESS_PART2_NAME="kernel"
CONFIG_SUBSYSTEM_FLASH_PSU_QSPI_0_BANKLESS_PART2_SIZE=0x21c0000
#
# partition 3
#
CONFIG_SUBSYSTEM_FLASH_PSU_QSPI_0_BANKLESS_PART3_NAME=""
CONFIG_SUBSYSTEM_FLASH_IP_NAME="psu_qspi_0"
#
# SD/SDIO Settings
#
CONFIG_SUBSYSTEM_PRIMARY_SD_PSU_SD_1_SELECT=y
# CONFIG_SUBSYSTEM_PRIMARY_SD_MANUAL_SELECT is not set
CONFIG_SUBSYSTEM_SD_PSU_SD_1_SELECT=y
#
# RTC Settings
#
CONFIG_SUBSYSTEM_RTC_PSU_RTC_SELECT=y
# CONFIG_SUBSYSTEM_RTC_MANUAL_SELECT is not set
CONFIG_SUBSYSTEM_SATA_PSU_SATA_SELECT=y
CONFIG_SUBSYSTEM_I2C_PSU_I2C_1_SELECT=y
CONFIG_SUBSYSTEM_USB_PSU_USB_0_SELECT=y
CONFIG_SUBSYSTEM_DP_PSU_DP_SELECT=y
CONFIG_SUBSYSTEM_IMAGES_ADVANCED_AUTOCONFIG=y
#
# boot image settings
#
# CONFIG_SUBSYSTEM_IMAGES_ADVANCED_AUTOCONFIG_BOOT_MEDIA_FLASH_SELECT is not set
CONFIG_SUBSYSTEM_IMAGES_ADVANCED_AUTOCONFIG_BOOT_MEDIA_SD_SELECT=y
# CONFIG_SUBSYSTEM_IMAGES_ADVANCED_AUTOCONFIG_BOOT_MEDIA_MANUAL_SELECT is not set
CONFIG_SUBSYSTEM_IMAGES_ADVANCED_AUTOCONFIG_BOOT_IMAGE_NAME="BOOT.BIN"
#
# u-boot env partition settings
#
CONFIG_SUBSYSTEM_IMAGES_ADVANCED_AUTOCONFIG_BOOTENV_MEDIA_FLASH_SELECT=y
# CONFIG_SUBSYSTEM_IMAGES_ADVANCED_AUTOCONFIG_BOOTENV_MEDIA_SD_SELECT is not set
# CONFIG_SUBSYSTEM_IMAGES_ADVANCED_AUTOCONFIG_BOOTENV_MEDIA_MANUAL_SELECT is not set
CONFIG_SUBSYSTEM_IMAGES_ADVANCED_AUTOCONFIG_BOOTENV_PART_NAME="bootenv"
#
# kernel image settings
#
# CONFIG_SUBSYSTEM_IMAGES_ADVANCED_AUTOCONFIG_KERNEL_MEDIA_FLASH_SELECT is not set
CONFIG_SUBSYSTEM_IMAGES_ADVANCED_AUTOCONFIG_KERNEL_MEDIA_SD_SELECT=y
# CONFIG_SUBSYSTEM_IMAGES_ADVANCED_AUTOCONFIG_KERNEL_MEDIA_ETHERNET_SELECT is not set
# CONFIG_SUBSYSTEM_IMAGES_ADVANCED_AUTOCONFIG_KERNEL_MEDIA_MANUAL_SELECT is not set
CONFIG_SUBSYSTEM_IMAGES_ADVANCED_AUTOCONFIG_KERNEL_IMAGE_NAME="image.ub"
#
# jffs2 rootfs image settings
#
CONFIG_SUBSYSTEM_IMAGES_ADVANCED_AUTOCONFIG_JFFS2_MEDIA_FLASH_SELECT=y
# CONFIG_SUBSYSTEM_IMAGES_ADVANCED_AUTOCONFIG_JFFS2_MEDIA_MANUAL_SELECT is not set
CONFIG_SUBSYSTEM_IMAGES_ADVANCED_AUTOCONFIG_JFFS2_PART_NAME="jffs2"
CONFIG_SUBSYSTEM_IMAGES_ADVANCED_AUTOCONFIG_JFFS2_IMAGE_NAME="rootfs.jffs2"
#
# dtb image settings
#
CONFIG_SUBSYSTEM_IMAGES_ADVANCED_AUTOCONFIG_DTB_MEDIA_BOOTIMAGE_SELECT=y
# CONFIG_SUBSYSTEM_IMAGES_ADVANCED_AUTOCONFIG_DTB_MEDIA_FLASH_SELECT is not set
# CONFIG_SUBSYSTEM_IMAGES_ADVANCED_AUTOCONFIG_DTB_MEDIA_SD_SELECT is not set
# CONFIG_SUBSYSTEM_IMAGES_ADVANCED_AUTOCONFIG_DTB_MEDIA_ETHERNET_SELECT is not set
# CONFIG_SUBSYSTEM_IMAGES_ADVANCED_AUTOCONFIG_DTB_MEDIA_MANUAL_SELECT is not set
CONFIG_SUBSYSTEM_IMAGES_ADVANCED_AUTOCONFIG_DTB_IMAGE_NAME="system.dtb"
CONFIG_SUBSYSTEM_ENDIAN_LITTLE=y
#
# DTG Settings
#
CONFIG_SUBSYSTEM_MACHINE_NAME="zcu104-revc"
#
# Kernel Bootargs
#
CONFIG_SUBSYSTEM_BOOTARGS_AUTO=y
CONFIG_SUBSYSTEM_BOOTARGS_EARLYPRINTK=y
CONFIG_SUBSYSTEM_DEVICETREE_FLAGS=""
# CONFIG_SUBSYSTEM_DTB_OVERLAY is not set
CONFIG_SUBSYSTEM_REMOVE_PL_DTB=y
#
# ARM Trusted Firmware Compilation Configuration
#
# CONFIG_SUBSYSTEM_ATF_MEMORY_SETTINGS is not set
CONFIG_SUBSYSTEM_ATF_COMPILE_EXTRA_SETTINGS=""
CONFIG_SUBSYSTEM_PRELOADED_BL33_BASE=0x10080000
# CONFIG_SUBSYSTEM_ATF_DEBUG is not set
# CONFIG_SUBSYSTEM_PMUFW_POWER_KERNEL_CONFIGURATIONS is not set
#
# FPGA Manager
#
# CONFIG_SUBSYSTEM_FPGA_MANAGER is not set
#
# u-boot Configuration
#
CONFIG_SUBSYSTEM_UBOOT_CONFIG_PETALINUX=y
# CONFIG_SUBSYSTEM_UBOOT_CONFIG_OTHER is not set
CONFIG_SUBSYSTEM_UBOOT_CONFIG_TARGET="xilinx_zynqmp_zcu104_revC_defconfig"
CONFIG_SUBSYSTEM_NETBOOT_OFFSET=0x10000000
CONFIG_SUBSYSTEM_U__BOOT_TFTPSERVER_IP="AUTO"
#
# Image Packaging Configuration
#
CONFIG_SUBSYSTEM_ROOTFS_INITRAMFS=y
# CONFIG_SUBSYSTEM_ROOTFS_INITRD is not set
# CONFIG_SUBSYSTEM_ROOTFS_JFFS2 is not set
# CONFIG_SUBSYSTEM_ROOTFS_NFS is not set
# CONFIG_SUBSYSTEM_ROOTFS_EXT is not set
# CONFIG_SUBSYSTEM_ROOTFS_OTHER is not set
CONFIG_SUBSYSTEM_UIMAGE_NAME="image.ub"
CONFIG_SUBSYSTEM_RFS_FORMATS="cpio cpio.gz cpio.gz.u-boot tar.gz jffs2"
CONFIG_SUBSYSTEM_DTB_PADDING_SIZE=0x1000
CONFIG_SUBSYSTEM_COPY_TO_TFTPBOOT=y
CONFIG_SUBSYSTEM_TFTPBOOT_DIR="/tftpboot"
#
# Firmware Version Configuration
#
CONFIG_SUBSYSTEM_HOSTNAME="zcu104_mc4"
CONFIG_SUBSYSTEM_PRODUCT="zcu104_mc4"
CONFIG_SUBSYSTEM_FW_VERSION="1.00"
#
# Yocto Settings
#
CONFIG_YOCTO_MACHINE_NAME="zcu104-zynqmp"
#
# TMPDIR Location
#
CONFIG_TMP_DIR_LOCATION="${PROOT}/build/tmp"
CONFIG_BUILDTOOL_BITBAKE=y
# CONFIG_BUILDTOOL_DEVTOOL is not set
#
# Parallel thread execution
#
CONFIG_YOCTO_BB_NUMBER_THREADS=""
CONFIG_YOCTO_PARALLEL_MAKE=""
#
# Add pre-mirror url
#
CONFIG_PRE_MIRROR_URL="http://petalinux.xilinx.com/sswreleases/rel-v${PETALINUX_VER%%.*}/downloads"
#
# Local sstate feeds settings
#
#
# Default sstate feeds ${PETALINUX}/components/yocto always added
#
CONFIG_YOCTO_LOCAL_SSTATE_FEEDS_URL=""
CONFIG_YOCTO_ENABLE_DEBUG_TWEAKS=y
CONFIG_YOCTO_NETWORK_SSTATE_FEEDS=y
#
# Network sstate feeds URL
#
CONFIG_YOCTO_NETWORK_SSTATE_FEEDS_URL="http://petalinux.xilinx.com/sswreleases/rel-v${PETALINUX_VER%%.*}/aarch64/sstate-cache"
# CONFIG_YOCTO_BB_NO_NETWORK is not set
#
# User Layers
#
CONFIG_USER_LAYER_0=""
CONFIG_SUBSYSTEM_BOOTARGS_GENERATED="earlycon console=ttyPS0,115200 clk_ignore_unused"
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
This README file contains information on the contents of the
meta-user layer.
Please see the corresponding sections below for details.
Dependencies
============
This layer depends on:
URI: git://git.openembedded.org/bitbake
branch: master
URI: git://git.openembedded.org/openembedded-core
layers: meta
branch: master
URI: git://git.yoctoproject.org/xxxx
layers: xxxx
branch: master
Patches
=======
Please submit any patches against the meta-user layer to the
xxxx mailing list (xxxx@zzzz.org) and cc: the maintainer:
Maintainer: XXX YYYYYY <xxx.yyyyyy@zzzzz.com>
Table of Contents
=================
I. Adding the meta-user layer to your build
II. Misc
I. Adding the meta-user layer to your build
=================================================
--- replace with specific instructions for the meta-user layer ---
In order to use this layer, you need to make the build system aware of
it.
Assuming the meta-user layer exists at the top-level of your
yocto build tree, you can add it to the build system by adding the
location of the meta-user layer to bblayers.conf, along with any
other layers needed. e.g.:
BBLAYERS ?= " \
/path/to/yocto/meta \
/path/to/yocto/meta-poky \
/path/to/yocto/meta-yocto-bsp \
/path/to/yocto/meta-meta-user \
"
II. Misc
========
--- replace with specific information about the meta-user layer ---