AIM

MSN

Website URL

ICQ

Yahoo

Jabber

Skype

Location

Interests

Hi all,
Currently I am working on a project with the aim to encrypt the communication between a drone and the ground station by using an PYNQ-Z1 board.
I am facing the issue of how to convert the standalone application (bare metal) to a Linux base application in Vivado 2019.1 SDK, in order to make use of the crypto++ libray which requires the presence of an perating system to work.
Does anyone know what to do to slove the issue?
Thanks
George

Hello Everyone, I just want to know Is linux interview tough? My interview has been scheduled in next week. Can anyone provide me list of interview questions for linux profile as a fresher level. I have covered some most important topics like Linux, BASH and DOS, symbolic links, daemons and some more.

Hi,
I am relatively new to working with the Zedboard.
I've managed to get an I2C/I2S audio example working (using bare-metal) , that i've downloaded from here. http://www.zynqbook.com/download-tuts.html
Now, I would like to get the same example working using the Linux Kernel.
However, I can't seem to be able to access the I2C bus.
The bus appears to be there, but denies access.
zynq> i2cdetect -l
i2c-0 i2c Cadence I2C at e0004000 I2C adapter
zynq> i2cdetect -y 0
Error: Can't use SMBus Quick Write command on this bus
From looking at the SDK, the I2C appears to be at 0xe0004000
Has any one got any suggestions, or point me in the right direction to find the correct settings..?
Everywhere I have googled seem to provide i2c solutions for different boards, or bespoke platform setups.
What I don't understand is why it just doesn't work "out-of-the-box" with the default settings.
Or perhaps, i have missed something.
I am using Xilinx SDK 2018.3, and the Xilinx kernel
My kernel settings are these:
CONFIG_REGMAP_I2C=y
CONFIG_I2C=y
CONFIG_I2C_BOARDINFO=y
CONFIG_I2C_COMPAT=y
CONFIG_I2C_CHARDEV=y
CONFIG_I2C_MUX=y
CONFIG_I2C_MUX_PCA954x=y
CONFIG_I2C_HELPER_AUTO=y
CONFIG_I2C_ALGOBIT=y
CONFIG_I2C_CADENCE=y
CONFIG_VIDEO_IR_I2C=y
CONFIG_SND_SOC_I2C_AND_SPI=y
CONFIG_RTC_I2C_AND_SPI=y
My device tree looks like this:
i2c@e0004000 {
compatible = "cdns,i2c-r1p10";
clocks = <0x1 0x26>;
interrupt-parent = <0x4>;
/*interrupts = <0x0 0x25 0x4>;*/
interrupts = <0x0 0x19 0x4>;
reg = <0xe0004000 0x1000>;
i2c-clk = <0x61a80>;
#address-cells = <0x1>;
#size-cells = <0x0>;
};
The default device tree entry for i2c was disabled, so i've tried different combinations.
Any help would be gratefully received
Dave

Hello everyone!
I'm trying to install Petalinux on a Cora Z7-10 I followed all the steps described here: github.com/Digilent/Petalinux-Cora-Z7-10 but when I try to boot it I get this message:
hwclock: can't open '/dev/misc/rtc': no such file or directory
after this, I can't write anything in Minicom.
As in my folder /dev didn't have the misc folder, following some advice that I found on the net I created the folder and first tried to soft-link /dev/rtc0 and then hard-link it also but none of those worked, I still get the same error.
Did anyone go through the same issue or has any idea to solve it?
Thanks you very much in advance.

Hi,
We have a custom embedded board with a Zynq processor. There is a JTAG-SMT2 on the board connected to the JTAG chain of other boards. We want to use this for Fpga configuration as well as remote ChipScope debugging.
I think I've the runtime code installed correctly (/dev/ptmx is created when the JTAG-SMT2 is detected). But I can't compile the DjtgDemo program to compile:
armv7l-timesys-linux-gnueabi-gcc-color -O3 -Wall -I../include -I../include -I../drivers -DCPC_TARGET -I ./Digilent/digilent.adept.sdk_2.4.2/inc -L ./Digilent/digilent.adept.runtime_2.19.2-armhf/data/usr/lib/digilent/adept -ldjtg -ldmgr -ldpcutil -ldpcomm -ldepp -ldspi -ldstm -ldpio -ldabs -ldftd2xx -o DjtgDemo DjtgDemo.cpp
./Digilent/digilent.adept.runtime_2.19.2-armhf/data/usr/lib/digilent/adept/libdpcomm.so: undefined reference to `operator delete(void*, unsigned int)@CXXABI_1.3.9'
collect2: error: ld returned 1 exit status
That looks like a C++ class operator overload definition even though the sample Makefile uses gcc. Using g++ instead of gcc doesn't change anything.
Anyway, how can I satisfy this missing reference?
Thanks,
Marc Howard

Can someone guide me how to get Petalinux working on Zybo Z7-20?
I am using Vivado and SDK 2018.3 on Windows 10. I prefer using prebuilt images and files if they are available.
I found this link, but it seems it is very old, and I am not sure if I can use it on my version of Vivado and SDK:
https://github.com/Digilent/Petalinux-Zybo-Z7-20
The Xilinx links for Petalinux are available here:
https://www.xilinx.com/support/download/index.html/content/xilinx/en/downloadNav/embedded-design-tools.html
If there exists any other easy method for installing any type of Linux please help me.

Hello,
I am having trouble outputting sound on Linux using SSM2603.
The SSM2603 device driver loads normally.
It is also registered in ALSA sound card list.
However, "input / output error" is raised in "alsactl init". ("amixer" is also the same.)
It plays when I play wave file with "aplay" but it does not output to "R/LOUT pin" of SSM2603.
Regards,
Namio

So I have the BeagleWire FPGA cape for the BeagleBone Black and I want to send interrupts from the FPGA to the linux os on the BeagleBone every time a switch on the cape . The BeagleWire consists of the Lattice iCE40HX4K FPGA. I understand this is done through GPIO and that an interrupt request line has to be set up but I need specifics and a better explanation of how to actually code this is Verilog. I'm new to FPGAs, just starting out, so any help would be appreciated. Details regarding the BeagleWire including its open source software, can be found below:
https://www.crowdsupply.com/qwerty-embedded-design/beaglewire
https://github.com/pmezydlo/BeagleWire

Hello,
I have a new open logger and want to put it to use soon. I have a couple of issues. I'm hoping Digilent can respond.
First, I cannot update firmware from ubuntu ... I have a windows 10 partition and have used that, but that is a pain. When will the linux system function normally?
Second, I want to log some data using wifi as having a usb cable attached is not an option in my application. I cannot get the thing to connect to my system or even show any wifi networks. This happens in linux and windows. When will I be able to connect this way?
Finally, will I be able to log to the sd card in a headless way? That is can I configure the system to start logging on power up or something like that?
This device has great potential, but these kind of things need to be sorted out and documented clearly
Thank you.
Steve

Hello everybody,
I'm new to this forum and to fpga programing and I got a question: is it possible to implement a linux on microblaze and having non linux-managed blocks (classic logical blocks) at the same time?
and how to realize that. I got the webpack suite of Xilinx (vivado + sdk), i'm working on windows but got a ubuntu virtual machine ready.
To define the project, a little draw:
For the linux implementation, i found @loberman manual, i was close by myself but it's realy helpfull.
Thanks guys

I need to make a UI on C#.NET or LabVIEW and wirelessly(WLAN) speak with an communicate with an application for hardware control running on linux fundamentals based Single Board Computerr. What is the best and simple approach to complete it?
NOTE: linux based application will be written in C/C++.

I am trying to boot Linux with Linaro file system on Zybo Z7-10 without Petalinux. I would like to connect a monitor to HDMI TX output to be able to see Linaro graphical interface but I am getting errors while Linaro Ubuntu is booting, and nothing is being shown on the monitor.
I am sure that HDMI output works on my board since I got HDMI demo project to work.
I am using Zybo base system design from here, adapted to Zybo Z7 on Vivado 2018.2. I have generated device tree from this design using Xilinx SDK following this tutorial.
I am using Digilent's u-boot and Linux kernel and I've downloaded Linaro file system from here (last file).
These are the errors that are showing up when Linaro Ubuntu is booting:
systemd-bootchart.service failed.
[ OK ] Started Remount Root and Kernel File Systems.
[ OK ] Started Create Static Device Nodes in /dev.
Starting udev Kernel Device Manager...
Starting Load/Save Random Seed...
[ OK ] Reached target Local File Systems (Pre).
[FAILED] Failed to start Load Kernel Modules.
See "systemctl status systemd-modules-load.service" for details.
systemd-modules-load.service failed.
Starting Apply Kernel Variables...
[ OK ] Started udev Coldplug all Devices.
[ OK ] Started Increase datagram queue length.
[FAILED] Failed to mount Temporary Directory.
See "systemctl status tmp.mount" for details.
[FAILED] Failed to start RealtimeKit Scheduling Policy Service.
See "systemctl status rtkit-daemon.service" for details.
My goal is to enable HDMI output on Zybo Z7. I suspect that these errors are the cause of the problem, but I am not sure if there is any additional step I need to perform to get HDMI to work, like enabling some drivers in Linux kernel, or configuring the device tree.
I have tried using different Linux kernel versions (by checking out different tags from Digilent's repository), using different versions of Linaro file system, using default device tree for Zybo Z7 provided with Linux kernel, but I've had no success since various errors are always showing up.
I would appreciate any help or someone pointing me in the right direction, since I am not sure what is the cause of the problem.
Thank you!

Hello:
I am unable to get Ethernet interface to work on Genesys-2 in my design which is migrated from a Xilinx board. I have a Microblaze based design that I am trying to port to Genesys-2 Board. This design is working on Xilinx KC705 evaluation board which uses the same Kintex-7 FPGA as Genesys-2. On this design I have Ethernet interface, DDR3 Interface and some other peripherals. We are using Linux for this design. This design was originally developed by another company and was used for evaluating their chip. It was developed on Xilinx evaluation board KC705. This company does not support any other evaluation board. I am hoping to get some help from forum experts to bring-up this design.
For this design on Xilinx KC705 board after power up, downloading the bit file and running the SW from *.elf file we can open a PUTTY terminal and issue 'ifconfig' command to check whether the ethernet interface is up and which IP address it got. This works for Xilinx board. But the same does not work for Genesys-2 board, I can issue 'ifconfig' command but I don't see the ethernet interface active. I had looked for pinout differences and made changes accordingly. When I described the symptoms to the original authors of the design they said that because the PHY is different between the two boards I have to update the device tree. Below is the device tree from Xilinx KC705 design.
Ethernet Device Tree
axi_ethernet: ethernet@40e00000 {
compatible = "xlnx,xps-ethernetlite-1.00.a";
device_type = "network";
interrupt-parent = <&axi_intc>;
interrupts = <1 0>;
local-mac-address = [00 0a 35 00 00 02];
phy-handle = <&phy0>;
reg = <0x40e00000 0x2000>;
xlnx,duplex = <0x1>;
xlnx,include-global-buffers = <0x1>;
xlnx,include-internal-loopback = <0x0>;
xlnx,include-mdio = <0x1>;
xlnx,rx-ping-pong = <0x1>;
xlnx,s-axi-id-width = <0x1>;
xlnx,select-xpm = <0x1>;
xlnx,tx-ping-pong = <0x1>;
xlnx,use-internal = <0x0>;
axi_ethernet_mdio: mdio {
#address-cells = <1>;
#size-cells = <0>;
phy0: phy@7 {
device_type = "ethernet-phy";
reg = <7>;
};
};
};
PHY on Xilinx KC705 board is Marvell 88e1111. PHY on Genesys-2 is RealTek RTL8211E. The original authors of the design had suggested that at a minimum the line "reg = <7>;' should be changed for Genesys-2. My questions on the forum are below.
1) How should I modify the device tree for Ethernet for Genesys-2 board?
2) Does it seem that just changing the device tree for Ethernet will fix our issue?
3) Any suggestions on how to debug this issue?
Thank you so much.
Best regards,

Hello,
i have a problem with the Vivado SDK. I like to include some c Header:
#include <stdio.h>
#include <unistd.h>
#include <stdbool.h>
#include <string.h>
#include <arpa/inet.h>
#include <sys/select.h>
#include <sys/socket.h>
Eclipse tell me, that my includes are unresolved. I think that is because i have nearly thirty directories in my Vivado 2017.2 SDK Installation, but it is not defined what directory exactly should be used.
Can anybody tell me what is the correct include path for a 32 bit Linux application for my arty board?
Thank you...

Hi, guys,
I am in need of a Digilent board to run Linux with a GUI to have access to IOpins and peripherals, and also to work together with the vhdl codes on the FPGA. I am not sure how to install Linux on SD card, start a boot from there, ANDhave at the same time a vhdl code running on FPGA that I could edit and compile using the vivado (2018.2).
The idea is to have the vhdl code running the hardware and the GUI on linux to present values of input, output, make the configuration on-line of the vhdl variables, etc...
I was thinking about the Zybo board.
Can someone give me, please, some directions and/or suggestions?
Regards,

Hi,
I came across this tutorial that @Commanderfranz created for the Zybo https://www.instructables.com/id/Embedded-Linux-Tutorial-Zybo/. It is also referenced here: https://blog.digilentinc.com/zybo-embedded-linux-hands-on-tutorial/, which also includes the "Embedded Linux Tutorial for the Zedboard". As far as I can tell the Embedded Linux Tutorial for the Zedboard uses the Xilinx ISE instead of Vivado. What differences will there be to follow the "Embedded Linux Tutorial for the Zedboard" tutorial in Vivado?
Likewise, what differences will I have to make if I follow the https://www.instructables.com/id/Embedded-Linux-Tutorial-Zybo/ on the Zedboard? My initial skimming of the tutorial makes me think that the most obvious thing will be changing the constraints to match the Zedboard for the custom LED IP that is being created. The only other thing that I see that would need to be changed is creating the base system. The base Zybo system looks like a simple Zynq IP with a few GPIO modules to support the LEDS, switches and buttons. Is there anything else that I would need to include for it? Or perhaps is there a better/bigger image of what the Zybo base system looks like?
Thanks,
Stuart

Hello,
I recently received a PMOD wifi (the digilent one).
I want to connect it to my zybo, already running linux-yocto with spi interface etc ... So I don't think I need the IP pmod wifi, I can make the connection myself.
My question is, is there a getting started to make work the PMOD wifi ? e.g. some code to comminucate with the module.
regards,
Yohan

I'm trying to install the Linux Runtime under cygwin on a Windows 10 platform. Getting this message on the first library file:
I checked to make sure lib64/libdabs.so exists, and it does, so I don't understand the error. Could this be a privileges issue? I am the administrator on the PC. Do I need to do something to run with root privilege? I did install the SDK without this problem. Hope someone can help.
Thanks,
Vic

There do not seem to be any specifications for CPU platforms and Linux OSes that work best with the Analog Discovery 2 (i.e. that run the software and can keep up with the sample rate of the device). I see from past questions that it doesn't work properly with any model of Raspberry Pi (seems to be a Pi hardware problem, not Digilent's fault) and there are problems installing certain libraries on various Linux versions.
From my experience with the HackRF One, you need a powerful enough CPU that can keep up with the sample rate being generated by the device without overruns or totally consuming the CPU capacity. Plus the operating system and library versions need to be compatible with what the software was compiled on (preferably identical).
Since Digilent doesn't publish such detailed information on their website, I thought I'd ask forum members - what Linux systems are people using successfully with the Analog Discovery 2 and are happy with? Exact OS and platform would be helpful (i.e. Dell XPS 13 laptop running Ubuntu version 9999.1).
Thank you.

Hi, I'm running Arch Linux (https://archlinuxarm.org/platforms/armv7/xilinx/zedboard) on Zedboard and I'd like to use the OTG-USB as a host, but my Zedboard doesn't seem to detect the device plugged in (I've tried a USB flash drive). What are your suggestions? I've followed the instructions on http://zedboard.org/sites/default/files/documentations/GS-AES-Z7EV-7Z020-G-V7-1.pdf , but Zedboard just won't see the device.