Search the Community

Showing results for tags 'linux'.

More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • News
    • New Users Introduction
    • Announcements
  • Digilent Technical Forums
    • FPGA
    • Digilent Microcontroller Boards
    • Non-Digilent Microcontrollers
    • Add-on Boards
    • Scopes & Instruments and the WaveForms software
    • LabVIEW
    • FRC
    • Other
  • General Discussion
    • Project Vault
    • Learn
    • Suggestions & Feedback
    • Buy, Sell, Trade
    • Sales Questions
    • Off Topic
    • Educators
    • Technical Based Off-Topic Discussions

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start





Website URL







Found 123 results

  1. I'm fairly new to Linux and Waveforms, so apologies if I am missing something obvious. I am trying to install Waveforms on a Chromebook with Linux support enabled. The version of Waveforms I am attempting to install: digilent.waveforms_3.12.2_amd64.deb The version of my OS: $ cat /etc/*-release PRETTY_NAME="Debian GNU/Linux 10 (buster)" NAME="Debian GNU/Linux" VERSION_ID="10" VERSION="10 (buster)" VERSION_CODENAME=buster ID=debian The error I get when trying to install: The following packages have unmet dependencies: digilent.waveforms: Depends: libc6 (>= 2.14) but it is not installable Depends: digilent.adept.runtime (>= 2.17.1) but it is not installable So, it seems like dependency issues. I checked my version of libc6 and it is greater that 2.14. $ apt list libc6 Listing... Done libc6/stable,now 2.28-10 arm64 [installed] I have separately downloaded Adept 2 runtime version digilent.adept.runtime_2.20.1-amd64.deb. I get the following error when trying to install it. The following packages have unmet dependencies: digilent.adept.runtime: Depends: libc6 (>= 2.5) but it is not installable So, this seems like I need libc6 2.5 or greater, but I can't seems to find any higher version. So, I feel like I'm in a recursive loop. Any help is appreciated. Thanks!
  2. I burn a Linux image using Yocto, meta-xilinx and openembedded put after put all the required files on SD card and put it on my FPGA (ZYNQ-ZYBO-Z7020) and try to connect with it using serial communication (putty or realterm) the output is wrong I am using 115200 baudrate and this is the baudrate that recommended in the data sheet
  3. Just received a new Genesys 2 board. Flashed it and trying to boot the prebuilt version of linux from arian-sdk Programmed the board according to here: The board powers up fine, copies bbl & linux image from sdcard and then no tty output. Nothing at all. I built the sdcard using the prebuilt bbl.bin images from: (I tried bbl.bin files from both 4.2 release and OpenPiton + 4.2, same result for both.) Following instructions for creating sdcard here: Board sees the sdcard, copies the sectors, and then nothing! I've tried to set breakpoints at numerous places in the linux boot sequence but non of the are ever hit. Breaking in from gdb shows $pc at 0x10040 which seems wrong for linux running at 0x80000000. Main questions are: Are the prebuilt bbl.bin images known to work? Are instructions up to date? Any suggestions on how to move forward? Thank you! Uart output is below. I expected to see some linux boot lines following the 'done!' message below but I get nothing. Hello World! init SPI status: 0x0000000000000025 status: 0x0000000000000025 SPI initialized! initializing SD... SD command cmd0 response : 01 SD command cmd55 response : 01 ... SD command cmd41 response : 00 sd initialized! gpt partition table header: signature: 5452415020494645 revision: 00010000 size: 0000005C crc_header: 321D0047 reserved: 00000000 current lba: 0000000000000001 backup lda: 0000000003B723FF partition entries lba: 0000000000000002 number partition entries: 00000080 size partition entries: 00000080 gpt partition entry 00 partition type guid: D5F7127456A1134B81DC867174929325 partition guid: 7123B019FB971546B5847A236525E8D9 first lba: 0000000000000800 last lba: 00000000000107FF attributes: 0000000000000000 name: 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 gpt partition entry 01 partition type guid: AF3DC60F838472478E793D69D8477DE4 partition guid: 77C2133C1B594546B2902DC840F4A5C8 first lba: 0000000000010800 last lba: 0000000003B723DE attributes: 0000000000000000 name: 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 gpt partition entry 02 partition type guid: 00000000000000000000000000000000 partition guid: 00000000000000000000000000000000 first lba: 0000000000000000 last lba: 0000000000000000 attributes: 0000000000000000 name: 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 gpt partition entry 03 partition type guid: 00000000000000000000000000000000 partition guid: 00000000000000000000000000000000 first lba: 0000000000000000 last lba: 0000000000000000 attributes: 0000000000000000 name: 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 copying boot image ................................ done!
  4. Hi, I'm using a RPi4 with Analog Discovery 2 and I'd need to use AD2 at 64bit so I'm wondering why you are not sharing sources to build libraries for a specific system with proper optimization. Best, pz
  5. Analogue Discovery 2 Hi Firstly I would like to say what great product the Analogue Discovery 2 is, I have used it for 8 months to develop a product. It is by far the best PC scope that , I have used. Far better than a PICOSCOPE from the UK company PICOSCOPE or any of the Chinese PC scope knock offs. Analogue Discovery 2 is a serious peice of professional kit and not a toy. This a summary of all of the useful information I found when working with the Analogue Discovery 2 for 8 months 1. Always use the latest WaveformsSDK 2. driver rapper 3. C# complete .net rapper than can be used for as well as C# It is possible to take full control of the Analogue discovery 2 using C# or or python or labview. 4. C# oscilloscope GUI panel that works and can be used in both and C# I have tested this C# plugin and it works really well . 5. KICAD PCB tool projects that are very intersting This way you can make your own projects which plug onto the analog discovery 2 6. General <<<<-- linux command line interfasce for AD2 The question ============= Will the waveforms SDK every be compiled to work on the Windows10 ARM64 platfrom. ?? see
  6. Hello to everybody! I'm built custom Embedded Linux distro which based on Digilent Base-Linux FPGA design ( with help Xilinx Petalinux env. In this design was implemented XADC support. From the default BSP package from Digilent repository, I added support XADC to the device tree. How I can test this implementation from a working Linux image. I need to write a driver or I already can work with XADC?
  7. 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
  8. 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.
  9. 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. 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: [email protected] { 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
  10. Hello everyone! I'm trying to install Petalinux on a Cora Z7-10 I followed all the steps described here: 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.
  11. 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/ 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
  12. 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:
  13. 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
  14. 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: The Xilinx links for Petalinux are available here: If there exists any other easy method for installing any type of Linux please help me.
  15. Hello! I have the following question. Is it possible to read Zynq temperature via XADC when working with Digilent Linux distro on PYNQ-Z1 board? Thanks!
  16. 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++.
  17. 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
  18. Hi all, This is a quick and dirty howto. This howto describes how to use I2C modules (onboard and through PMOD connector) under embedded Linux. I've chosen to build my own Linux distro based on Linux kernel source for MicroBlaze softcore and busybox project for the init RAM DISK. My board is the Nexys4 DDR board. If you respect the following requirements for the HW design compatible with Linux, you can use Petalinux too. HW Vivado requirements (according to Xilinx UG1144) design to boot Linux: MicroBlaze with MMU support by selecting either Linux with MMU or Low-end Linux with MMU configuration template in the MicroBlaze configuration wizard. External memory controller with at least 32 MB of memory. Dual channel timer with interrupt connected. UART with interrupt connected. Ethernet with interrupt connected. Note that all peripherals you use must be interrupt capable. For the UART peripheral, if you have not enabled interrupts, you have no Linux console outputs. For the Nexys4 DDR, you can follow this online tutorial: At this stage, for the Nexys4 DDR board, you can add the onboard i2C temperature sensor (ADT7420) that uses the AXI IIC IP block. I've added a second external temperature sensor (PMOD TMP3) connected to PMOD JA pins of the Nexys4 DDR board. I've chosen to connect SCL TMP3 pin to JA1 PMOD JA pin (C17 FPGA pin) and SDA MP3 pin to JA2 PMOD JA pin (D18 FPGA pin). You connect GND and 3V3 pins from PMOD JA connector to corresponding TMP3 pins. You have finally 4 pins to connect. You obtain the Vivado design shown below. Notice that both AXI IIC IP blocks have interrupts connected for Linux compatibility. For the TMP3 sensor, I have an external port named temp3_sensor. I've created a XDC file containing: set_property -dict { PACKAGE_PIN D5 IOSTANDARD LVCMOS33 } [get_ports { eth_ref_clk }]; # Sch=eth_ref_clk set_property -dict { PACKAGE_PIN C17 IOSTANDARD LVCMOS33 } [get_ports { tmp3_sensor_scl_io }]; set_property -dict { PACKAGE_PIN D18 IOSTANDARD LVCMOS33 } [get_ports { tmp3_sensor_sda_io }]; You can see that: tmp3_sensor_scl_io signal is for SCL I2C signal. tmp3_sensor_sda_io signal is for SDA I2C signal Please respect notation: xxx external I2C port gives xxx_scl_io and xxx_sda_io signal names in the XDC file. Generate .bit file. Launch Vivado SDK tool, install the device tree plugin and generate Device Tree files. You can follow this link: Copy the generated pl.dtsi file (under project_1/project_1.sdk/device_tree_bsp_0/ directory) into arch/microblaze/boot/dts/ Linux directory. Use the generated system-top.dts file (under project_1/project_1.sdk/device_tree_bsp_0/ directory) to create the xilinx.dts file into arch/microblaze/boot/dts/ Linux directory. Be carefull with stdout options in the xilinx.dts file if you want Linux output enabled. Mine is: /dts-v1/; /include/ "pl.dtsi" / { chosen { bootargs = "console=ttyUL0,9600"; linux,stdout-path = &axi_uartlite_0; stdout-path = &axi_uartlite_0; }; aliases { ethernet0 = &axi_ethernetlite_0; serial0 = &axi_uartlite_0; i2c0 = &axi_iic_0; i2c1 = &axi_iic_1; }; memory { device_type = "memory"; reg = <0x80000000 0x8000000>; }; }; &axi_ethernetlite_0 { local-mac-address = [00 0a 35 00 00 00]; }; Generate your init RAM Disk for root File sytem. I suppose that you can do this. Generate your Linux kernel. I suppose that you can do this: $ make ARCH=microblaze CROSS_COMPILE=microblazeel-xilinx-linux-gnu- simpleImage.xilinx -j 4 Program the FPGA device and download the simpleImage.xilinx file (kernel + init RAM Disk) under arch/microblaze/boot directory into RAM with the JTAG interface and finally execute. That's all folks! Ramdisk addr 0x00000000, Compiled-in FDT at c03ad4f8 Linux version 4.14.0-00493-gb68293ad2c93-dirty ([email protected]) (gcc version 8 setup_cpuinfo: initialising setup_cpuinfo: Using full CPU PVR support wt_msr_noirq setup_memory: max_mapnr: 0x8000 setup_memory: min_low_pfn: 0x80000 setup_memory: max_low_pfn: 0x88000 setup_memory: max_pfn: 0x88000 Zone ranges: DMA [mem 0x0000000080000000-0x0000000087ffffff] Normal empty Movable zone start for each node Early memory node ranges node 0: [mem 0x0000000080000000-0x0000000087ffffff] Initmem setup node 0 [mem 0x0000000080000000-0x0000000087ffffff] On node 0 totalpages: 32768 free_area_init_node: node 0, pgdat c0525af4, node_mem_map c07a2000 DMA zone: 256 pages used for memmap DMA zone: 0 pages reserved DMA zone: 32768 pages, LIFO batch:7 pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 pcpu-alloc: [0] 0 Built 1 zonelists, mobility grouping on. Total pages: 32512 Kernel command line: console=ttyUL0,9600 PID hash table entries: 512 (order: -1, 2048 bytes) Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) Memory: 121948K/131072K available (3765K kernel code, 121K rwdata, 1312K rodata) Kernel virtual memory layout: * 0xffffe000..0xfffff000 : fixmap * 0xffffe000..0xffffe000 : early ioremap * 0xf0000000..0xffffe000 : vmalloc & ioremap NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0 irq-xilinx: /amba_pl/[email protected]: num_irq=5, edge=0x6 /amba_pl/[email protected]: irq=1 clocksource: xilinx_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_is xilinx_timer_shutdown xilinx_timer_set_periodic sched_clock: 32 bits at 100MHz, resolution 10ns, wraps every 21474836475ns Calibrating delay loop... 49.15 BogoMIPS (lpj=245760) pid_max: default: 4096 minimum: 301 Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) random: get_random_u32 called from bucket_table_alloc+0x2e4/0x35c with crng_ini0 clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 191s NET: Registered protocol family 16 clocksource: Switched to clocksource xilinx_clocksource NET: Registered protocol family 2 TCP established hash table entries: 1024 (order: 0, 4096 bytes) TCP bind hash table entries: 1024 (order: 2, 20480 bytes) TCP: Hash tables configured (established 1024 bind 1024) UDP hash table entries: 128 (order: 0, 6144 bytes) UDP-Lite hash table entries: 128 (order: 0, 6144 bytes) NET: Registered protocol family 1 RPC: Registered named UNIX socket transport module. RPC: Registered udp transport module. RPC: Registered tcp transport module. RPC: Registered tcp NFSv4.1 backchannel transport module. random: fast init done Skipping unavailable RESET gpio -2 (reset) workingset: timestamp_bits=30 max_order=15 bucket_order=0 io scheduler noop registered io scheduler deadline registered io scheduler cfq registered (default) io scheduler mq-deadline registered io scheduler kyber registered Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled 40600000.serial: ttyUL0 at MMIO 0x40600000 (irq = 5, base_baud = 0) is a uartlie console [ttyUL0] enabled brd: module loaded libphy: Fixed MDIO Bus: probed xilinx_emaclite 40e00000.ethernet: Device Tree Probing xilinx_emaclite 40e00000.ethernet: Failed to register mdio bus. xilinx_emaclite 40e00000.ethernet: MAC address is now 00:0a:35:00:00:00 xilinx_emaclite 40e00000.ethernet: Xilinx EmacLite at 0x40E00000 mapped to 0xF02 i2c /dev entries driver NET: Registered protocol family 17 Freeing unused kernel memory: 2296K This architecture does not have kernel memory protection. Hostname : nexys4ddr Kernel release : Linux 4.14.0-00493-gb68293ad2c93-dirty Kernel version : #120 Thu Dec 6 16:51:57 CET 2018 Please press Enter to activate this console. nexys4ddr:/# For the first I2C sensor (onboard ADT7420 sensor of the Nexys4 DDR board), we must use the /dev/i2c/0 (or /dev/i2c/i2c-0) character driver file (Major=89 minor=0). For the second I2C sensor (external TCN75A PMOD TMP3 sensor), we must use the /dev/i2c/1 (or /dev/i2c/i2c-1) character driver file (Major=89 minor=1). nexys4ddr:/# i2cdetect -y 0 0 1 2 3 4 5 6 7 8 9 a b c d e f 00: -- -- -- -- -- -- -- -- -- -- -- -- -- 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 40: -- -- -- -- -- -- -- -- -- -- -- 4b -- -- -- -- 50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 70: -- -- -- -- -- -- -- -- nexys4ddr:/# i2cdetect -y 1 0 1 2 3 4 5 6 7 8 9 a b c d e f 00: -- -- -- -- -- -- -- -- -- -- -- -- -- 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 40: -- -- -- -- -- -- -- -- 48 -- -- -- -- -- -- -- 50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 70: -- -- -- -- -- -- -- -- You can now use the Linux API for reading the I2C sensors... Pat.
  19. Hi all, I've built with the Nexyx4 DDR board a system running Linux. In my running HW design, I've added the onboard temperature sensor of the board and the PMOD A connector to connect a I2C TMP3 temperature sensor. The HW interface for the onboard temperature sensor is the AXI IIC interface. For the TMP3 sensor with the Digilent's vivado library (as explained in:, it's the AXI LITE IIC interface. With the Linux I2C tools, I see the onboard sensor: nexys4ddr:/# uname -r 4.14.0-00493-gb68293ad2c93-dirty nexys4ddr:/# i2cdetect -y 0 0 1 2 3 4 5 6 7 8 9 a b c d e f 00: -- -- -- -- -- -- -- -- -- -- -- -- -- 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 40: -- -- -- -- -- -- -- -- -- -- -- 4b -- -- -- -- 50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 70: -- -- -- -- -- -- -- -- And I can read temperature with the Linux I2C API: nexys4ddr:/# tsttemp TEMP=29.2 oC nexys4ddr:/# But I don't see the I2C TMP3 sensor. My questions are: - The vivado TMP3 instance has a I2C interface (AXI LITE IIC). Can I use the Linux I2C API? If yes, on the PMOD ja port, what are the pins of the connector corresponding to SCL, SDA (easy for ground and 3V3 ;-)? I didn't find this information in the Digilent's vivado library. - If I I can't use the Linux I2C API, I must generate by hand and by software the SCL and SDA signals and what is the role of AXI LITE IIC interface? In this case, would it better to use directly the IIC AXI interface as with the onboard sensor and precise after in a XDC file connexions between to the PMOD A port and TMP3 sensor? Thank you for your help. Pat.
  20. I'm using pynq z1board, use the pynq_z1_v2.3.img image file, when the board start the micro sd card has been automatically divided into 2 partition, the first partition is fat16 format and has BOOT.BIN and image.ub file, the second partition is linux ext3 foramt; the whole volume of my sd card is 32GB; when I use 'TAB' key there is warning as follows: -bash: cannot create temp file for here-document: No space left on device So I use command 'df -hl',as follows,the /dev/root/ is full, how can I solve the problem? [email protected]:~$ df -hl Filesystem Size Used Avail Use% Mounted on /dev/root 5.2G 5.2G 0 100% / devtmpfs 185M 0 185M 0% /dev tmpfs 249M 0 249M 0% /dev/shm tmpfs 249M 27M 223M 11% /run tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 249M 0 249M 0% /sys/fs/cgroup tmpfs 50M 0 50M 0% /run/user/1000
  21. 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!
  22. I am trying to access the audio codec SSM2603 on ZYBO over i2c interface from linux user-space for some register get and set, what i did so far I enabled in the device-tree PS I2C_0 in system-user.dtsi &i2c0 { ssm2603: [email protected]{ #sound-dai-cells = <0>; compatible = "adi,ssm2603"; reg = <0x1a>; }; i2cdetect -l output i2c-1 i2c Cadence I2C at e0004000 I2C adapter i suppose i2c coec should appear on address 0x1a but nothing i2cdetect -y -r 1 0 1 2 3 4 5 6 7 8 9 a b c d e f 00: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- if i add the codec drivers in my kernel snd_soc_ssm2602_i2c.ko and snd_soc_ssm2602.ko the i2cdetect -y -r 1 00: -- -- -- -- -- -- -- -- -- -- -- -- -- 10: -- -- -- -- -- -- -- -- -- -- UU -- -- -- -- -- which means the i2c device is detected on 0x1a address but its been used by the driver. what i want to do is to make the raw i2c register get /set using i2cget/i2cset but the codec didn't appear without driver, any clue?
  23. 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,
  24. Hi, I came across this tutorial that @Commanderfranz created for the Zybo It is also referenced here:, 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 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
  25. 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: [email protected] { 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: [email protected] { 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,