SDSoC platform for Snickerdoodle Black (Compatible with SDSoC 2018.2)
- Simple SDSoC Platform
# Source setting file
$ source <SDx installation directory>/SDx/2018.2/settings64.sh
# Generate platform (with prebuilt HW)
$ make pfm2
# Setup petalinux
source <Petalinux Installation DIrectory>/settings.sh
# Set petalinux project name
export PRJ_NAME=petalinux
# Create & configure project
petalinux-create -t project -n ${PRJ_NAME} --template zynq
# Load ${PRJ_NAME}.dsa
petalinux-config -p ${PRJ_NAME} --get-hw-description=./vivado
# Apply modification for SDSoC platform according to UG1146 (SDSoC Environment Platform Development Guide)
## Add SDSoC driver
petalinux-config -p ${PRJ_NAME} -c kernel
## Add libstdc++
petalinux-config -p ${PRJ_NAME} -c rootfs
## Modify setting ad necesssary
petalinux-config -p ${PRJ_NAME} -c u-boot
# Copy device tree source (system-user.dtsi)
cp src/petalinux/system-user.dtsi ${PRJ_NAME}/project-spec/meta-user/recipes-bsp/device-tree/files/system-user.dtsi
# Start build
petalinux-build -p ${PRJ_NAME}
# Package BSP
petalinux-package --bsp -o ${PRJ_NAME}.bsp -p ${PRJ_NAME}