Hello all,
Is there any updated tutorials on how to get started with the MiniZed using the latest tools from Xilinx?
All I have found is old information and it's a real pain trying to figure out how this all works...
Thanks
Hello all,
Is there any updated tutorials on how to get started with the MiniZed using the latest tools from Xilinx?
All I have found is old information and it's a real pain trying to figure out how this all works...
Thanks
Hi, have you checked this?
https://www.hackster.io/workshops/minized
Gustavo,
I was not aware of the workshop. Thanks for the link.
The only issue with it is that the workshop appears to be based on 2019.1. I really would like to figure this out with the latest tools (2020.1).
Thanks
Progress... (Other than still running the Windows tools, still can't get the Linux tools to work reliably in Linux (Ubuntu VM).)
I have been successfully able to:
1) Create a 2010.1 Vivado/Vitis "Hello World" design for the MiniZed board. The main issue is remembering to change the stdin/stdout to ps7_uart_1 to match the hardware.
2) Create a design to toggle the PS LEDs and read the PS button on the MiniZed.
3) Create a design to toggle the PS and PL LEDs and read the PS button the PL switch on the MiniZed using AXI GPIO interfaces to the PL LEDs and switch.
4) Create a design with a simple 16-bit hardware multiplier as a custom IP AXI slave peripheral.
Now I'm trying to figure out how to make a more advanced Custom IP AXI slave peripheral.
What I would like is a AXI slave peripheral with 4 registers that are:
Register 0 - Writes to a FIFO, reads from same FIFO
Register 1 - Writes to a second FIFO, reads from same FIFO
Register 2 - Writes to a register that sets the PL LEDs, reads the PL LED state
Register 3 - Writes do nothing, reads the PL switch
But, I'm not sure what needs to be done in the Custom IP stuff to create and hookup the FIFOs or how to connect the LEDs and switch.
Any pointers?
Thanks
We have now posted the 2020.1 PetaLinux BSPs for all the various boards. Even though you aren't interested in PetaLinux at this point, you can still use the scripted flow that we provide to rebuild the default design, which may be a good starting point.
The 2020.1 release is documented here:
Updated Designed By Avnet BSP & Platforms for v2020.1 tools, the 1 command to rule them all edition!
Then you can follow these instructions, but you can limit what you run to the hardware build.
Avnet HDL git HOWTO (Vivado 2020.1 and earlier)
Bryan
Hello Bryan,
I gave up trying to get a stable Ubuntu VM running. I purchased a NUC and just installed Ubuntu on it. I now have Ubuntu 18.04.4 installed and the Xilinx 2020.2 tools.
With that setup I have had great success running Vivado/Vitis and have created a couple standalone examples from on the web. Everything seems to be going good.
I'm now trying the figure out PetaLinix but of course am running into problems.
I followed the Avnet HDL git HOWTO you referenced but since the BSPs are based on 2020.1 they are not working quite right.
The PetaLinux build succeeds and I the generated Vivado design opens and appears ok. I can JTAG boot the MiniZed using the 'xsdb boot_jtag_INITRD_MINIMAL.tcl' command. But when I try to boot from QSPI with 'sh boot_qspi_INITRD.sh' I get the following error:
[ERROR] : section avnet_qspi.scr.0 offset of 0xFC0000 overlaps with prior section end address of 4A921C0
My guess is that the INITRD is to large for the QSPI.
What do I need to do to modify the PetaLinux build so reduce the size of the INITRD?
Or, do you have any idea when the Avnet BSP and Platforms will be updated to work with 2020.2?
Thanks,
Hartley
It looks like you need to change the offsets in the petalinux-config. I will also run this by our Petalinux experts to see if they have different advice.
We are working on the 2020.2 BSPs now, but a couple issues were identified with the Ultra96-V2 Wi-Fi in 2020.1, so we are fixing those first. I expect we will have the 2020.2 BSPs done by the end of January (hopefully!). It always takes us a month or two after Xilinx releases new tools, and that assumes there aren't any problems. The 2020.1 release introduced a slew of issues that took us more time to correct. Our initial look at 2020.2 suggests that this update will be much simpler, so we are optimistic we can get it done quicker this time.
It looks like both 2020.1 and 2020.2 are compatible with Ubuntu 18.04.4, so you could install the 2020.1 tools and get comfortable with that first, which will give us time to work on 2020.2.
Bryan
Hello All
Not been on this forum -- I've been struggling with the MiniZED and getting PetaLinux working ---minized-petalinux-course from HacksterIO-
The videos are a nice touch, put the quality of the labs are NOT good. (sorry) --- way too many broken links, incomplete directions, incompatabilities, miss-matching scripts - -
I have been using the MicroZED PL and PS successfully -- I have built logic and did C++ code for the ZYNQ using Vivado 2020.1 on WIndows 10 - the orginal MiniZed tutorial from Hackster, for this was pretty good. Lots of success here. Passing messages through BRAM without issue, both ways.
Looking for advice, what is a clean way to get into the Petalinux, that the tutorial is straight-forward, hopefully using the WINDOWS envorirment, I do have Vivado and VITIS 2020.2 up on Linux 18.04 on VBOX --- so I can do it there, as well ---
Thanks in advance
Greg Casey
Hello Greg,
I am sorry to hear about your trouble with the 2019.1 labs. If you can provide some specifics as to what isn't working, we can correct the documentation. Also, note that the MiniZed trainings are also available on Element14 here:
Windows is not a supported development environment for PetaLinux. You can find the specific list in PetaLinux User Guide for the release you are using. For example, here is the list for PetaLinux 2019.1: https://www.xilinx.com/support/documentation/sw_manuals/xilinx2019_1/ug1144-petalinux-tools-reference-guide.pdf.
Supported OS:
- Red Hat Enterprise Workstation/Server 7.4, 7.5, 7.6 (64-bit)
- CentOS 7.4, 7.5, 7.6 (64-bit)
- Ubuntu Linux 16.04.5, 18.04.1 (64-bit)
I still think that the Avnet-provided PetaLinux training is the best place to start. Please make sure you are using the version for which the training was written (2019.1 for MiniZed, 2018.3 for Ultra96) and that you are using a supported OS, preferably the one referenced in the training (Ubuntu 18.04.1). If there are broken links or typos, please share here, and we will work to get those fixed.
Bryan
please highlight
Windows is not a supported development environment for PetaLinux
in future documentation as well.
Thanks
please highlight
Windows is not a supported development environment for PetaLinux
in future documentation as well.
Thanks