05-30-2017 11:48 PM
I have Zynq ZC706 board I want to generate random numbers from the pl part of this board and send this number to ps part of my board which is running Linux operation system and write this number a file.Is it possible to do that without using SDK .How can I use the AXI interfaces without SDK I cant use SDK because when I try to open new bsp or project on SDK it gives me hundreds error Error2 and Error 127 that is an another problem that I cant solve for more than one month
05-31-2017 12:45 AM
I think in your case the SDK can be very useful to generate the device tree, which is the one telling the Kernel where your peripherals (also the PL ones) are.
Maybe these two options are interesting for your project:
Creating all required components manually:
If you use the U-Boot also as fsbl, you just need to use SDK to create a BOOT.bin file to boot your board and the device tree. Actually, you could write the device tree manually and then compile it, but this would be quite complicated.
Components of the system:
The advantage of this solution is that you control every component and it's configuration.
If you create a project in Vivado with the hardware that you want and build a Petalinux Project using this hardware, you won't have to deal with SDK. If the rootfs that Petalinux creates for you is too "light" for your project, you can configure Petalinux to create a rootfs that is going to be in the SD card and then replace it for the one you like (for example, a Debian one). This way is the quickest one to get something working (also with your pl logic).
05-31-2017 01:10 AM
05-31-2017 01:24 AM
Sorry, I though you also had to "install" Linux.
In that case, you must be sure that your peripherals are included in the device tree. If not, you will have to create a new device tree, and SDK is useful for this.
You will need a device driver to read the information generated from the PL from the Linux side. If the application is not very complicated and doesn't require a very high performance, a user space driver could be a good solution (more info about this can be found here). No SDK is needed for this.
05-31-2017 01:27 AM