Difference between revisions of "Ezynq"

From ElphelWiki
Jump to: navigation, search
(Develop (add support for new boards))
(Decription)
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
==Decription==
 
==Decription==
[https://github.com/Elphel/ezynq Ezynq] project is started to create a bootloader for systems based on the Xilinx Zynq SoC without the inconvenience of the non-free tools and/or files. The goal is not just to "free" the code, but to provide users with the higher degree of flexibility in fine-tuning of the configuration parameters.
+
[https://git.elphel.com/Elphel/ezynq Ezynq] project is started to create a bootloader for systems based on the Xilinx Zynq SoC without the inconvenience of the non-free tools and/or files. The goal is not just to "free" the code, but to provide users with the higher degree of flexibility in fine-tuning of the configuration parameters.
  
 
====="Free" the code part=====
 
====="Free" the code part=====
Line 11: Line 11:
 
<b>as of 2016/01/13...</b>
 
<b>as of 2016/01/13...</b>
 
* For a new board you still have to run an extra Xilinx program to generate ps7_init.c/h.
 
* For a new board you still have to run an extra Xilinx program to generate ps7_init.c/h.
 +
 +
<b>as of 2016/03/18...</b>
 +
* u-boot-xlnx master-next branch is removed long ago - so the link above is broken
 +
 +
<b>as of 2016/06/25...</b>
 +
* ezynq depends on original u-boot instead of u-boot-xlnx
  
 
==Supported boards==
 
==Supported boards==
Line 44: Line 50:
 
Boot: Copy them to SD card in order to boot from it.
 
Boot: Copy them to SD card in order to boot from it.
  
 +
==Build==
 +
For instructions please follow [[Poky_2.0_manual|this guide]].
 +
 +
<!--
 
==Install meta-toolchain (Kubuntu 13.04)==
 
==Install meta-toolchain (Kubuntu 13.04)==
 
* Build:
 
* Build:
Line 58: Line 68:
 
==Install Ezynq (Kubuntu 14.04)==
 
==Install Ezynq (Kubuntu 14.04)==
 
<font size='2'>
 
<font size='2'>
  git clone https://github.com/Elphel/ezynq.git
+
  git clone https://git.elphel.com/Elphel/ezynq.git
 
  cd ezynq
 
  cd ezynq
 
  ./install_uboot.sh (edit the toolchain path)
 
  ./install_uboot.sh (edit the toolchain path)
Line 86: Line 96:
 
==Develop (add support for new boards)==
 
==Develop (add support for new boards)==
 
* (not needed anymore?) Add a new board record to the list in the ''boards.cfg'' (or leave as is if the item already exists).
 
* (not needed anymore?) Add a new board record to the list in the ''boards.cfg'' (or leave as is if the item already exists).
* Create ''configs/zynq_microzed_defconfig'' file
+
* Create '''configs/zynq_microzed_defconfig''' file
 
* Create a configuration file for the new board - use ''include/configs/zynq_microzed.h'' as a reference
 
* Create a configuration file for the new board - use ''include/configs/zynq_microzed.h'' as a reference
 
* Edit (or create new for specific memory and chip) according to the board configuration the following files:
 
* Edit (or create new for specific memory and chip) according to the board configuration the following files:
Line 104: Line 114:
 
* Bitstream loading is not tested, current code does not enable level shifters - it may be more appropriate to do just before loading of the bitstream.
 
* Bitstream loading is not tested, current code does not enable level shifters - it may be more appropriate to do just before loading of the bitstream.
 
* Write level training for DDR memory doesn't work in MicroZed and ZC706
 
* Write level training for DDR memory doesn't work in MicroZed and ZC706
 +
-->

Latest revision as of 13:46, 20 November 2017

Decription

Ezynq project is started to create a bootloader for systems based on the Xilinx Zynq SoC without the inconvenience of the non-free tools and/or files. The goal is not just to "free" the code, but to provide users with the higher degree of flexibility in fine-tuning of the configuration parameters.

"Free" the code part

as of 2014/02/23...

Ezynq addresses the potential legal problems with distribution of a product/software based on Zynq platform:

as of 2016/01/13...

  • For a new board you still have to run an extra Xilinx program to generate ps7_init.c/h.

as of 2016/03/18...

  • u-boot-xlnx master-next branch is removed long ago - so the link above is broken

as of 2016/06/25...

  • ezynq depends on original u-boot instead of u-boot-xlnx

Supported boards

Board Chip Manufacturer Tested?
MicroZed Zynq 7Z010 Avnet Y
ZC706 Zynq 7Z045 Xilinx N
ZedBoard Zynq 7Z020 Digilent/Avnet N
10393 Zynq 7Z030 Elphel Y

Output

  • boot.bin (SPL) - loads u-boot.img, no FSBL needed.
  • u-boot-dtb.img (u-boot image)

Boot: Copy them to SD card in order to boot from it.

Build

For instructions please follow this guide.