Skip to content

t-kuha/sd-blk-video

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Snickerdoodle Black video processing platform

  • Work in progress

  • Tool: Vitis 2021.2


Prerequisite

  • Install board files
    • XILINX_VIVADO is path to the installation directory of Vivado
$ git clone https://github.com/krtkl/snickerdoodle-board-files.git \
${XILINX_VIVADO}/data/xhub/boards/XilinxBoardStore/boards/snickerdoodle-board-files

Create hardware

$ vivado -mode batch -source create_xsa.tcl

Create PetaLinux project

$ export PRJ=petalinux
$ petalinux-config -p ${PRJ}

# Make additional configuration if necessary
$ petalinux-config -p ${PRJ} -c u-boot
$ petalinux-config -p ${PRJ} -c kernel
$ petalinux-config -p ${PRJ} -c rootfs

# Start build
$ petalinux-build -p ${PRJ}

# Generate SDK (optional)
$ petalinux-build -p ${PRJ} --sdk

Generate platform

$ xsct create_pfm.tcl

Generate BOOT.bin

$ petalinux-package -p ${PRJ} --boot --force \
--fsbl petalinux/images/linux/zynq_fsbl.elf \
--fpga petalinux/images/linux/system.bit \
--u-boot petalinux/images/linux/u-boot-dtb.elf

How to create PetaLinux project from scratch

$ export PRJ=petalinux
$ petalinux-create -t project -n ${PRJ} --template zynq
$ petalinux-config -p ${PRJ} --get-hw-description=.

# Do some configuration
$ petalinux-config -p ${PRJ} -c kernel
$ petalinux-config -p ${PRJ} -c u-boot
$ petalinux-config -p ${PRJ} -c rootfs

# Show actual build time of Kernel & u-boot
$ petalinux-build -p ${PRJ} -x cleansstate

# Build project
$ petalinux-build -p ${PRJ}

# Generate SDK
$ petalinux-build -p ${PRJ} --sdk

About

[Work in Progress] Video processing on Snickerdoodle Black & piSmasher board

Topics

Resources

Stars

Watchers

Forks