1 CAN benchmark FPGA design and software for MicroZed board.
6 1. Build Hardware Description File (system.hdf)
8 The compiled system.hdf file is itself versioned so if you did not modify
9 the system configuration, you do not have to build it.
11 1.1 Recreate the Vivado project
13 Run this step only once.
14 Make sure you have sourced $VIVADO_INSTALL_DIR/settings.sh.
20 $ make system/system.hdf
22 2. Configure TFTP server
24 3. Configure NFS server
26 The server must support NFSv2, otherwise it will not work and
27 no sensible error message will be printed.
29 4. Modify module IP, server IPs and paths in u-boot environment and bootscript
31 Set the variables "ipaddr", "serverip" in uEnv.txt
32 and "nfsserver", "nfspath" in bootscript.txt.
34 5. Modify the NFS server IP and path in bootscript (petalinux/bootscript.txt)
36 6.1 Configure PetaLinux and applications
38 Make sure you have sourced both $VIVADO_INSTALL_DIR/settings.sh
39 and $PETALINUX_INSTALL_DIR/settings.sh.
41 $ make petalinux_config
43 You may then configure PetaLinux or its components.
44 Set NFS server path in configuration (TODO: where).
45 The rootfs will be rsynced here by petalinux-build.
46 You may later change the NFS server IP and path in bootscript.
48 $ cd petalinux && petalinux-config
50 6.2 Build PetaLinux and applications
52 $ make petalinux_build
54 This should also rsync the rootfs and images to specified locations.
56 6. Copy images/linux/{image.ub,top_wrapper.bit,system.dtb,bootscript} into /tftpboot
58 7. Copy boot files to SD card
60 Copy the boot image (petalinux/images/linux/BOOT.IMG),
61 u-boot environment (petalinux/uEnv.txt)
62 to a FAT32 partition on SD card.
63 The internal QSPI flash may be used instead, however make sure
64 the jumpers on MicroZed board are set appropriately.