Presentation is loading. Please wait.

Presentation is loading. Please wait.

WP1- Documentation Booting Petalinux from TFTP and using Network file system Section for developers Zynq 7020 R. Assiro.

Similar presentations


Presentation on theme: "WP1- Documentation Booting Petalinux from TFTP and using Network file system Section for developers Zynq 7020 R. Assiro."— Presentation transcript:

1 WP1- Documentation Booting Petalinux from TFTP and using Network file system
Section for developers Zynq 7020 R. Assiro

2 Boot a PetaLinux Image on Hardware with
Trivial File Trasfer Protocoll (TFTP) TFTP boot saves a lot of time because it is much faster than booting through JTAG and you don’t have to flash the image for every change in kernel source. This section assumes that the following prerequisites have been satisfied: - FSBL installed on QSPI partition - (Bitstream file is optional) - UBOOT installed on QSPI partition - UUB Ethernet connection works - UUB console connection works R. Assiro

3 R. Assiro Running Petalinux (QSPI memory map) First Stage Boot Loader
To build a linux image for QSPI memory on UUB’s Zynq you need: Software Xilinx SDK Files: FSBL (generated by petalinux builder) Bitstream file (generated from Vivado for the PL side of the FPGA) Universal Booloader for Zynq (folder images of petalinux builder) Kernel image (zImage) Device tree file and image of root file system compressed. All of this file are generated in petalinux compliling process. I will describe this process in my next document. The QSPI memory allocation: FBSL from the address 0x runs U-boot for the second stage of the boot U-Boot runs automatically the kernel image from the address memory 0x of the QSPI flash. (to change this parameter I think is necessary to recompile U-BOOT). By serial terminal windows is possible to stop the process to control U-boot directly. For developing is possible to run Petalinux (Image.ub) by TFTP istead the QSPI. First Stage Boot Loader FSBL.elf RUN Bitstream (optional but neede final) design_wrapper.bit Second stage bootloader U-BOOT U-boot.elf RUN Kernel start address 0x Linux Kernel Devicetree.dtb Image.ub RAM Disk image (compressed) rootfs.cpio.gz R. Assiro

4 QSPI Flash Memory partitions
Image.ub generated from petalinux build QSPI memory map Memory Address 0x Header zone FSBL 0x bitstream Image.ub 0x U-boot 0x KERNEL Devicetre.dtb Image.ub Root File System R. Assiro

5 Boot a Petalinux image on UUB with TFTP
When U-boot is startedUUB cans get a IP number from Network. This can be done using the following command: U-Boot – Petalinux> print serverip Set the server IP address to the host address with: U-Boot – Petalinux> set serverip <host ip addr> U-Boot – Petalinux> saveenv Boot the kernel from your host U-Boot – Petalinux> run netboot Jtag USB Serial console USB LAN Network R. Assiro


Download ppt "WP1- Documentation Booting Petalinux from TFTP and using Network file system Section for developers Zynq 7020 R. Assiro."

Similar presentations


Ads by Google