Skip to content

pokitoz/xilinx_config_zynq

Repository files navigation

xilinx_config_zynq

= SD card boot image =

Platform: Application:

  1. Copy the contents of this directory to an SD card
  2. Set boot mode to SD
    • Jumper J1 non connected
    • Jumper J2 connected
  3. Insert SD card and turn board on

The DONE LED (red led) should be on: meaning the FPGA (PL) has been configured properly using the bitstream

Those scripts generates a complete system for a Myir board. The system contains:

  • Linux Kernel
  • Config of the FPGA (bitstream)

Please download: https://www.dropbox.com/s/0zn56diit0mqh2c/xilinx_source.tar.gz

and put it to the begining of the folder hierarchy.

#Run ./create_hierarchy.sh

  • Creates all the folders

  • Download (if not already) the "xilinx_source.tar.gz" archive

  • Uncompress and send the source to the proper folders

  • Make all the script executable (chmod)

    ./

    • build
      • make_bootbin.sh
    • clean_files.sh
    • copy_to_sd_card.sh
    • create_hierachy.sh
    • dev
      • applications
      • make_dtb.sh
      • make_fsbl.sh
      • projects
    • linux
      • linux-xlnx
      • linux-xlnx.tar.bz2
      • make_kernel.sh
      • make_uboot.sh
      • u-boot-xlnx
      • u-boot-xlnx.tar.bz2
    • make_all.sh
    • part_sd_card.sh
    • preset
      • zynq_preset.tcl
    • README.md
    • sd_write_image.sh
    • setup_env.sh
    • tools
      • CodeSourcery
      • Sourcery_CodeBench_Lite_for_Xilinx_GNU_Linux.tar.bz2
    • xilinx_source
      • filesystem
      • linux
      • tools
    • xilinx_source.tar.gz

#Source ./setup_env.sh To have all the necessary commands/variables

#./part_sd_card.sh <1 or 0> This script will create the partitions needed to run linux on the SD card You need to specify the path of the SD card: /dev/sdc

  • This script will create a partition vfat32 (named boot) and a partition ext4 (named rootfs)
  • If the second argument is 1, it calls ./sd_write_image.sh

#./sd_write_image.sh This script will copy the linux image located in ./filesystem/xillinux-1.3.img.gz to the SD card specified. All file in the SD card will be removed and the default configuration will be set

#./clean_file.sh Remove all the generated files

#./copy_to_sd_card.sh Copy all necessary files to the SD card.

#./make_all.sh

Kernel images (pick one, or use the one given in the dropbox link):

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published