Trenz Electronic GmbH Support Forum

Trenz Electronic Products => Trenz Electronic FPGA Modules => Topic started by: sebo on October 11, 2016, 09:41:28 PM

Title: ZynqBerry
Post by: sebo on October 11, 2016, 09:41:28 PM
Hi,

I've just acquired the zynqberry board.
I've started by having a quick look on your site about any deliveries, etc... in terms of documentation, I found it quite poor... Could you please tell more about the board?
for instance, what's on PS and what's on PL.

Thanks.
Title: Re: ZynqBerry
Post by: JH on October 12, 2016, 10:35:04 AM
Hi,

here are all Links:
ZynqBerry Wiki (sorry the TRM is currently not complete, but you can use the schematics at first):https://wiki.trenz-electronic.de/pages/viewpage.action?pageId=24151598
Downloads (Schematics Reference Designs...): https://shop.trenz-electronic.de/en/Download/?path=Trenz_Electronic/TE0726
For Vivado 2016.2 we have 4 Reference designs (described on the web page):
   https://shop.trenz-electronic.de/en/Download/?path=Trenz_Electronic/TE0726/Reference_Design/2016.2/te0726_m_demo1
   https://shop.trenz-electronic.de/en/Download/?path=Trenz_Electronic/TE0726/Reference_Design/2016.2/te0726_m_demo2
   https://shop.trenz-electronic.de/en/Download/?path=Trenz_Electronic/TE0726/Reference_Design/2016.2/te0726_m_sdsoc
   https://shop.trenz-electronic.de/en/Download/?path=Trenz_Electronic/TE0726/Reference_Design/2016.2/test_board
Master Pinout Table:https://shop.trenz-electronic.de/en/Download/?path=Trenz_Electronic/Pinout
Dokumentation for Vivado/SDK/SDSoC:https://wiki.trenz-electronic.de/pages/viewpage.action?pageId=14746264
Reference design project delivery description:https://wiki.trenz-electronic.de/display/PD/Project+Delivery#ProjectDelivery-QuickStart
br
John
Title: Re: ZynqBerry
Post by: JH on October 12, 2016, 10:51:56 AM
Now with working Links   :)

Hi,

here are all Links:
ZynqBerry Wiki (sorry the TRM is currently not complete, but you can use the schematics at first):https://wiki.trenz-electronic.de/pages/viewpage.action?pageId=24151598
Downloads (Schematics Reference Designs...): https://shop.trenz-electronic.de/en/Download/?path=Trenz_Electronic/TE0726
For Vivado 2016.2 we have 4 Reference designs (described on the web page):
   https://shop.trenz-electronic.de/en/Download/?path=Trenz_Electronic/TE0726/Reference_Design/2016.2/te0726_m_demo1
   https://shop.trenz-electronic.de/en/Download/?path=Trenz_Electronic/TE0726/Reference_Design/2016.2/te0726_m_demo2
   https://shop.trenz-electronic.de/en/Download/?path=Trenz_Electronic/TE0726/Reference_Design/2016.2/te0726_m_sdsoc
   https://shop.trenz-electronic.de/en/Download/?path=Trenz_Electronic/TE0726/Reference_Design/2016.2/test_board
Master Pinout Table: https://shop.trenz-electronic.de/en/Download/?path=Trenz_Electronic/Pinout
Dokumentation for Vivado/SDK/SDSoC: https://wiki.trenz-electronic.de/pages/viewpage.action?pageId=14746264
Reference design project delivery description: https://wiki.trenz-electronic.de/display/PD/Project+Delivery#ProjectDelivery-QuickStart
br
John
Title: Re: ZynqBerry
Post by: sebo on October 12, 2016, 05:14:33 PM
Thank you John.
I'll have a look.

S.
Title: Re: ZynqBerry
Post by: sebo on October 14, 2016, 09:47:30 PM
I'd like to know which project the board comes loaded with? Is it test_board?
I have a prompt with petalinux.

thanks.

S/
Title: Re: ZynqBerry
Post by: JH on October 17, 2016, 01:56:43 PM
Hi,
no it's a older project, i think only PS with Linux.
br
John
Title: Re: ZynqBerry
Post by: sebo on October 26, 2016, 10:56:42 AM
hi,

don't you have the sources somewhere for download on your wiki?
Moreover, do you have a description of you two demos: demo1 & demo2?

thanks.

S/
Title: Re: ZynqBerry
Post by: JH on October 26, 2016, 11:31:01 AM
Hi,

Short startup with prebuilt files is described on the download page of the project. There is also a doc folder with a export of the Block Design as PDF.
General Description about the project delivery:   https://wiki.trenz-electronic.de/display/PD/Project+Delivery

If you will use a linux only on console try DEMO3 or Test_board:
https://shop.trenz-electronic.de/en/Download/?path=Trenz_Electronic/TE0726/Reference_Design/2016.2/te0726_m_demo3

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

All sources of this projects are included in the zip files.

Br
John


Title: Re: ZynqBerry
Post by: sebo on November 02, 2016, 03:08:46 PM
Hello,

I've tried teh prebuilt version of demo3 and it works very well thanks.

Now, I'm trying to regenerate the prebuilt version of demo3 starting from the demo3 zip.
I can generate the PL bitfile ok. but I'm stuck for the SW part.
I have 2 questions:
* petalinux: I can't regenerate the linux image from demo3 can i? I need to follow the PetaLinux KICKstart form you wiki along with the Xilinx UG. Am I right?
* Once I've done this, which of your script should I use to generate the boot.bin and other stuff.

thanks.

S/
Title: Re: ZynqBerry
Post by: JH on November 02, 2016, 04:32:20 PM
Hello,
there's a petalinux template with our settings and changes in the subfolder /os/petalinux
Use this and copy your generated HDF into the /os/petalinux/hw-description and follow the rest of the steps from PetaLinux Kickstart Wiki.
Petalinux generate the image.ub and uboot.elf
Replace the Uboot.elf in the prebuilt/os... folder and run our scripts or use SDK.
br
John
Title: Re: ZynqBerry
Post by: sebo on November 10, 2016, 09:59:04 AM
Hello,

Just to make sure I understand. I've vivado running on Windows and Petalinux SDK is installed in a VM (ubuntu).
I've generated the bitfile using your scripts. OK.
Now in my VM, here is what i do:


$ petalinux-create -t project  --name Xilinx-demo3 --template zynq
$ cd Xilinx-demo3
$ cp -r /media/sf_Trenz-TE0726/SEBO/te0726_m_demo3/os/petalinux/ .
$ petalinux-config --get-hw-description=/media/sf_Trenz-TE0726/SEBO/te0726_m_demo3/workspace/sdk
$ petalinux-build


Is that correct?

Now regarding the Petalinux Kickstart page from the wiki, I'm not sure I understand the folloowing sentence:
QuoteTake u-boot.elf and image.ub from "<plnx-proj-root>/images/linux" and make BOOT.BIN.  It is recommended to create the FSBL with SDK/HSI tools.

Thanks.
S/
Title: Re: ZynqBerry
Post by: sebo on November 12, 2016, 05:03:38 PM
Ok. I figured it out.

I made some mistakes that I corrected.
First after calling the script TE::hw_build_design, I need to call it once more to export the hdf file into prebuilt.
then, in my petalinux projet, I need to replace and not symply copy your settings. so I suppressed subsystems/ and then copied os/petalinux/*.
I also need to make sure than FSBL is removed from config.

Thanks.

S/
Title: Re: ZynqBerry
Post by: JH on November 14, 2016, 04:20:35 PM
Hi,

the step "petalinux-create -t project  --name Xilinx-demo3 --template zynq" was not necessary. Only copy the HDF into the petalinux template from "/os/petalinux/hw-description" and start petalinux-config --get-hw-description to update HDF-based information to petalinux config.

"TE::hw_build_design" do not export automatically to the prebuilt folder. Run "TE::hw_build_design -export_prebuilt" to do this directly. Only "TE::sw_run_..." do this automatically, when files are available.
Use "TE::help" to show all additional TE-Functions with possible arguments.  Every function has also a -help argument.

br
John