This is an old revision of the document!


Directory structure of new (generic) ZCU102 project, project-spec/ directory.

UBOOT_DEFAULT_DEFCONFIG="xilinx_zynqmp_zcu102_revB_defconfig"

Empty metadata file.

CONFIG_mtd-utils=y
CONFIG_canutils=y
CONFIG_openssh-sftp-server=y
CONFIG_pciutils=y
CONFIG_run-postinsts=y
CONFIG_haveged=y
CONFIG_packagegroup-core-boot=y
CONFIG_packagegroup-core-ssh-dropbear=y
CONFIG_tcf-agent=y
CONFIG_bridge-utils=y
CONFIG_hellopm=y
CONFIG_udev-extraconf=y
CONFIG_imagefeature-ssh-server-dropbear=y
CONFIG_imagefeature-hwcodecs=y
CONFIG_ROOTFS_ROOT_PASSWD="root"
CONFIG_watchdog-init=y

layer.conf

petalinuxbsp.conf

#User Configuration

#OE_TERMINAL = "tmux"

# Add EXTRA_IMAGEDEPENDS default components
EXTRA_IMAGEDEPENDS_append = " virtual/fsbl virtual/pmu-firmware arm-trusted-firmware qemu-devicetrees"

# prevent U-Boot from deploying the boot.bin
SPL_BINARY = ""

#Remove all qemu contents
IMAGE_CLASSES_remove = "image-types-xilinx-qemu qemuboot-xilinx"
IMAGE_FSTYPES_remove = "wic.qemu-sd"

EXTRA_IMAGEDEPENDS_remove = "qemu-helper-native virtual/boot-bin"

user-rootfsconfig

#Note: Mention Each package in individual line
#These packages will get added into rootfs menu entry

CONFIG_gpio-demo
CONFIG_peekpoke
  • gpio-demo
  • peekpoke
  • device-tree/
  • u-boot/
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"

SRC_URI += "file://system-user.dtsi"

system-user.dtsi

/include/ "system-conf.dtsi"
/ {
};

pl-custom.dtsi

/ {
};
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"

SRC_URI += "file://platform-top.h"
#include <configs/platform-auto.h>
#define CONFIG_SYS_BOOTM_LEN 0xF000000

#define DFU_ALT_INFO_RAM \
                "dfu_ram_info=" \
        "setenv dfu_alt_info " \
        "image.ub ram $netstart 0x1e00000\0" \
        "dfu_ram=run dfu_ram_info && dfu 0 ram 0\0" \
        "thor_ram=run dfu_ram_info && thordown 0 ram 0\0"

#define DFU_ALT_INFO_MMC \
        "dfu_mmc_info=" \
        "set dfu_alt_info " \
        "${kernel_image} fat 0 1\\\\;" \
        "dfu_mmc=run dfu_mmc_info && dfu 0 mmc 0\0" \
        "thor_mmc=run dfu_mmc_info && thordown 0 mmc 0\0"

/*Required for uartless designs */
#ifndef CONFIG_BAUDRATE
#define CONFIG_BAUDRATE 115200
#ifdef CONFIG_DEBUG_UART
#undef CONFIG_DEBUG_UART
#endif
#endif
  • petalinux_2019.2_zcu102_project_structure.1573126487.txt.gz
  • Last modified: 2019/11/07 11:34
  • by rpjday