03-04-2018 09:49 AM
Sorry in advance for my bad english.
I'm a student that should present a project based on zedboard, but for the moment I cannot use the board, thus, professor told me that I can use a simulation tool, he has not been more detailed.
I'd like to start with a simplest code that make a led blinking. Is this possible?
Until now I launched sdk and generate an hello_world project zedboard-based, i try to start the qemu (I followed a guide) but it ask me about a "dtb" file. Sdk does not provide that file, so I think that I should generate it from "hdf" file like in this GUIDE.
So, that guide seems too long and I'm thinking that I'm completely out of way, could someone indicate me the correct approach to start from the beginning for my purpose? Thanks in advance.
03-04-2018 10:48 AM
you are on the right track, but there are few shortcuts to getting a simulation of an LED blinking. It's very easy without the Zynq processor, but much more complicated with the PS included. You will have the same long process to generate an image and bitstream for the zedboard, as you will to perform a simulation using qemu.
I think this zedboard tutorial on qemu will help you:
Try this with a linux machine (either native linux, or a virtual box machine). Good luck!
03-05-2018 06:58 AM
Thank you very much for your fast reply!
I think that guide is a little bit out of date, because I could not find tar archive, instead there is a git repo that I cloned, configured and compiled, but the shell commands to follow in the rest of the tutorial did not work.
Anyway, maybe I think that I have found another tutorial to start the emulation. Instead, what I couldn't understand until now is how to create "dtb" file following THIS guide (that I already mentioned in the first post).
In particular between point 3 and 4 it says:
# Otherwise for SDK 2014.2 use this repo: git clone git://github.com/Xilinx/device-tree-xlnx.git
SDK Menu: Xilinx Tools > Repositories > New... (<bsp repo>) > OK
It take for granted that one know what "BSP repository" is and how is correlated to git repository could you furtherly help me? Thank you again.