Skip to content

Deploying to SD Card

RyBo edited this page Apr 22, 2019 · 3 revisions

Create a zynq petalinux project

$ petalinux-create --type project --template zynq --name myapp

Import hardware description file

$ petalinux-config --get-hw-description= <path to .hdf file>

Build the project

$ petalinux-build

Generate the BOOT file

$ petalinux-package --boot --fsbl sdk/FSBL/debug/FSBL.elf --fpga build/microblaze-ocm.sdk/hw_platform/design_1_wrapper.bit --u-boot

$ cp image/linux/BOOT.bin/ image/linux/image.ub PATH_TO_SD_CARD

Insert SD card to the Zynq board and set BOOT-MODE to 00110

Clone this wiki locally