Jump to content

Zynq: Difference between revisions

From HW wiki
Pisa (talk | contribs)
No edit summary
Pisa (talk | contribs)
No edit summary
Line 29: Line 29:


Install Debian ARMhf distribution to the media on x86 host with use of chroot and qemu
Install Debian ARMhf distribution to the media on x86 host with use of chroot and qemu
Preparation of FPGA configuration files
bootgen -image system.bif -w -process_bitstream bin
Runtime FPGA reconfiguration
cat system.bit.bin > /dev/xdevcfg

Revision as of 11:04, 20 May 2016

  • Toolchain for Debian or Ubuntu
echo "deb http://debian.pengutronix.de/debian/ sid main contrib non-free" >/etc/apt/sources.list.d/pengutronix.list
aptitude update
aptitude install oselas.toolchain-2014.12.2-arm-cortexa8-linux-gnueabihf-gcc-4.9.2-glibc-2.20-binutils-2.24-kernel-3.16-sanitized

Build kernel

mkdir zynq
git clone git://rtime.felk.cvut.cz/zynq/linux-build.git
cd linux-build
git submodule update --init

Check that toolchain location matches CROSS_COMPILE variable in build/xlnx_4.0.8-rt6/linux/GNUmakefile. Then invoke

cd build/xlnx_4.0.8-rt6/linux/
make

U-boot arguments for MicroZed board

bootargs=root=/dev/mmcblk0p2 rw console=ttyPS1,115200 earlyprintk

Install Debian ARMhf distribution to the media on x86 host with use of chroot and qemu

Preparation of FPGA configuration files

bootgen -image system.bif -w -process_bitstream bin

Runtime FPGA reconfiguration

cat system.bit.bin > /dev/xdevcfg