News:

Attention: For security reasons,please choose a user name *different* from your login name.
Also make sure to choose a secure password and change it regularly.

Main Menu

Is there any BSP for TE0726?

Started by gelssen, February 11, 2017, 07:16:49 PM

Previous topic - Next topic

gelssen

Hello,

Is there any BSP for TE0726?
I tried to create a petalinux project by "petalinux-create -t project -n name -s (bsp_?)"
But, I don't know what bsp should I use for TE0726.
Xilinx only provides its own product bsps.

Regards,

JH

Hello,
we provided petalinux template projects in our reference designs (subfolder os/petalinux) instead of BSPs. You can download reference design on:
Here are some instructions:
br
John

gelssen

Thank you for your reply.

I'll check it out.

Thanks,

mugurumov

Same doubt here, which BSP files do I need to download?
The KickStart

https://wiki.trenz-electronic.de/display/PD/PetaLinux+KICKstart#PetaLinuxKICKstart-PetaLinux2016.2

does not state which one is required. I have installed Xilnx 2016.4 software versions and I don't see any "Zynq", here the Xilinx download link

https://www.xilinx.com/support/download/index.html/content/xilinx/en/downloadNav/embedded-design-tools/2016-4.html.

The first one that states "Zynq" is the version 2014.4 https://www.xilinx.com/support/download/index.html/content/xilinx/en/downloadNav/embedded-design-tools/2014-4.html. Should we use this one or any 2016.4 version "ZC70x" is gonna work?

Thanks

JH

Hi,
there is no special BSP for zynq. Zynq is also configurable and configuration depends on the PCB, you used.  It's possible to generate a BSP for a board. Xilinx do this for his evaluation board. We didn't do this.
We provide complete reference designs with petalinux template project for different Vivado/Petalinux version.
Normal Xilinx Designflow:

  • Vivado Design
  • Export Hardware definition file
  • Create Software with SDK or Linux (Petalinux) with this HDF-File
  • Create Bootfile for Zynq Module
We have add some references to Xilinx documents, to understand the design flow:

Which Zynq module has you bought?

br
John

mugurumov

Hi John,

I have aquired the "ZynqBerry" board,

Thanks

JH

Hi,
you can download reference design and other documents on:
At the moment there are only Vivado 2015.4 and 2016.2 reference designs available. But we will update our reference design to vivado 2016.4. It will be take a little bit time to update all our reference designs, because petalinux build environment has a lot of changes  from 2016.2/3 to 2016.4

At moment you should generate the projects with 2016.2 and use the IP upgrade function from Vivado to upgrade to 2016.4. But you must create a new petalinux project, the template from 2016.2do not work with petalinux 2016.4

br
John

mugurumov

OK @John,

I'm finishing to install the version 2016.2. Meanwhile, I'm looking the example you proposed and I have downloaded this:

https://shop.trenz-electronic.de/en/Download/?path=Trenz_Electronic/TE0726/Reference_Design/2016.2/test_board

But is quite hard to me understanding all this files. As I'm working under linux, I bat files are also not useful. So any further explanation or basic tutorial for starters??

I'm also trying to follw this basic tutorial:

https://www.xilinx.com/support/documentation/sw_manuals/xilinx2016_3/ug1165-zynq-embedded-design-tutorial.pdf

But not succesful, I have just created a template only including a UART to print "Hello World" message but cannot go further than page 27. I cannot open serial port. I have tried flashing the Flash memory with the SDK utility, but I'm not able. Is really probable that I have configured some wrong.

Thanks in advance

JH

Hi,
you can generate the reference design on Linux, like described on:

If the project is generated, generate bitfile and export HDF to SDK and generate Hello World example, see:

If you had generate the Hello World example, you can try at first to start Hello World with debugger:
Hello World appears only one time, so you must open serial link before you start the hello world -> uart interface settings:
If debbuging works, you can generate a boot.bin and configure the flash. ZynqBerry with 7010 SoC can only primäre boot from flash. sd can used for secondary boot. For example  Boot.bin on SD, Linux image on SD and Uboot read the image.

PS: We provide part part file to initialize PS correct, if you do not use our reference designs, installation see:

br
John

mugurumov

Hi @John,

I have followed the steps you've mentioned, and reach the last step of PetaLinux KickStart:

https://wiki.trenz-electronic.de/display/PD/PetaLinux+KICKstart

My doubt is a bit silly, but I don't get the meaning of this sentence:

"Take u-boot.elf and image.ub from "<plnx-proj-root>/images/linux" and make BOOT.BIN"

It means that I have to create a SD including the u-boot.elf and image.ub? Firstly, I need to flash the BOOT.BIN (FSBL) so it will load properly the Linux Kernel. In case I'm right, do I have to take the files under this linux folder to create my image? How can I make it?

Thanks in advance

JH

You can use SDK, to generate the Boot.bin.
Include FSBL.elf, Bitfile and u-boot.elf. See *.bif file in the prebuilt folder of our reference design.
You must configure the flash with this Boot.bin and put image.ub on SD.
See:
Boot-ROM loads FSBL, FSBL loads U-Boot and Bitfile, U-Boot loads Linux image.
We listed also references to Xilinx documentation and design flow on:
br
John

mugurumov

Great @John, those resources where really helpful.

Thanks