• Content Count

  • Joined

  • Last visited

  • Days Won


digicloud14 last won the day on April 7 2015

digicloud14 had the most liked content!

About digicloud14

  • Rank
    Frequent Visitor

Recent Profile Visitors

2427 profile views
  1. JColvin, I appreciate you doing that. I've been struggling for a while to figure out the VDMA driver, any help would be appreciated. Thanks, Chris
  2. Hi all,I have a Zybo Zynq 7000 and have been working on a custom design in Vivado 2014.4 which uses the VDMA IP core. I want to access the data stored in the VDMA in Linux userspace and am using embedded Linux (a Ubuntu 12.04 distribution). I have generated a device tree for the design and have verified that Linux recognizes the VDMA as a device (it is listed in /sys/bus/platform/devices).My question now is how to actually use the VDMA? I've been reading around on the forums and online and see that you must either use the Xilinx VDMA driver for Linux or use mmap, but many people reccomend using the driver instead of mmap.There does not seem to be a lot of documentation on the VDMA driver, so I was wondering if anyone could help me out with how to install/configure the VDMA driver and use it? I found this http://www.wiki.xilinx.com/DMA+Drivers+-+Soft+IPs#AXI%20VDMA but it is very brief. It mentions it can be configured through menuconfig but it does not explain how to do that. I am very new to Linux and have no experience with menuconfig but from what I've read I can mess up a lot of things if I don't know what I am doing with menuconfig.Can anyone show me how or point me towards a good guide or tutorial for configuring and using the VDMA driver,or Linux drivers in general?Thank you,Chris
  3. Resolved the issue. Appended the bindings for the ethernet from the zybot device tree into my device tree and the ethernet now works. Thanks for the suggestion Mendeln! -Chris
  4. HI Mendeln, Are you using the default device tree provided by Xillinux or some other? Yes I made modifications to my device tree to add a UART and VDMA. I can't seem to figure out why doing this messed up the ethernet. If it's not too much trouble, could you post your devicetree so that I can take a look and try to figure out why my ethernet isn't working? Thank you, Chris
  5. Hi Mendeln, I've since tried adding in the xillybus cores to my Vivado design in an attempt to get the graphical interface back but couldn't manage to successfully synthesize/generate a bitstream for the project. There were more issues than I knew what to do with. I did have a question for you however: Are you able to use ethernet with your current setup? I have ethernet set up in my Vivado configuration, I have an entry in it for my device tree, but whenever I try to boot Linux and connect to the internet (to install programs/packages), I cannot. When I do an ifconfig, the only address that shows up is that loopback address. I've gone into /etc/network/interfaces and used a text editor to manually assign an ip address, but no luck. When I do a demesg, something relevant I saw was "xemacps e000b000.ps7-ethernet: eth0: no PHY setup" I've tried changing the entry in the device tree but can't seem to get it to work. Any advice/tips? Thank you, Chris
  6. Mendeln, You're trying make use of the VGA or HDMI out with this kernal configuration? I currently am just using putty and the UART port to boot, but I am thinking I will try to add either vga or hdmi out to make use of the graphical interface. I have a feeling I'll run into complications with using Xillybus IP cores in my design, but we'll see. Once I start working on it I'll report back here to let you know how it went. Thanks again. Josh, Haha glad we could live up to your expectations of the forum. This place has been immensely helpful to me while working on my project, I cannot be thankful enough. Glad we were able to tackle this problem as well. Thanks all, Chris
  7. Mendeln, I cannot thank you enough. I just got it to boot following your instructions. For anyone else who comes along and has similar issues, here is what I did (thanks to Mendeln): 1. Mount Xillinux to SD card. 2. Get the uimage kernal from http://www.instructables.com/files/orig/FAJ/VKWE/I7CCBSBN/FAJVKWEI7CCBSBN.zip. Replace the uimage on the sd card with the uimage found in the boot folder. 3. Generate a BOOT.bin with fsbl.elf, your custom Vivado design .bit bitstream file, and the uboot.elf from here https://www.dropbox.com/s/8ldvbwd66k0i94d/zybo_bsd_hdmi.zip?dl=0 4. Using either your own devicetree or the one found here https://www.dropbox.com/s/ilwddtkzn2gdcmj/zybo_robot_dts.zip?dl=0 add the following line: bootargs = "console=ttyPS0,115200 root=/dev/mmcblk0p2 rw earlyprintk rootfstype=ext4 rootwait devtmpfs.mount=1"; 5. Add the devicetree.dtb, the BOOT.bin you generated, and your bitstream file to the sd card. You should now be able to boot into Xillinux.
  8. Okay, glad to know that I am trying to do the same thing as you and you got it working. Just to clarify the steps: 1. I have the Xillinux image mounted on the SD card. 2. I already have a devicetree that is specific to my custom Vivado design. I added the bootargs = "console=ttyPS0,115200 root=/dev/mmcblk0p2 rw earlyprintk rootfstype=ext4 rootwait devtmpfs.mount=1" to my device tree as you suggested. What do I do with the kernal downloaded from the instructables link? Do I replace the uimage that is on the SD card after mounting the Xillinux image with the kernal image from that download? 3. I have my own Vivado design from which I created a fsbl.elf and a device tree. I am using a uboot.elf I found from digilent. Using those, I made my own BOOT.bin. What uboot.elf did you use to make your BOOT.bin? Did you get it from the linaro project files? Sorry for so many questions, I am very new to this but your help is immensely appreciated. Thanks, Chris
  9. Hello, I think we do want to do the same thing. I'd like to use Xillinux, but I'm not using any Xillinux (Xillybus) IP cores. Since I didn't think that would work, I tried booting Linaro from the the above tutorial, but I am receiving the same error I did when trying to boot Xillinux. I have my own custom Vivado design, and I just want to boot Ubuntu on the Zybo. I am using Vivado 2014.4, and have a design I have been working on. From the design, I have generated the .bit bitstream, an fsbl.elf, I am using a uboot.elf from Digilent, and created a devicetree using the SDK. I can post my project or any relevant files you'd like to take a look at. At this point I don't care if it's Xillinux Ubuntu or the Linaro Ubuntu, I just want to boot one of them. I am just confused as to if I need a different fsbl.elf and uboot.elf. I don't really understand or know what ramdisk is, but it appears that Xillinux uses it and Linaro does not? Using Linaro, if I make the change to my device tree with that bootargs statement, should I then be able to boot? Thanks, Chris
  10. Follow up question: I followed the tutorial here http://www.instructables.com/id/Setting-up-the-Zybot-Software/?ALLSTEPS for booting Linaro (Ubuntu) on the Zybo. I partitioned the SD card as per instruction and have all the files loaded on the SD card. However, instead of following the Zybot project, I'd like to use my own Vivado design. Whenever I loaded my devicetree, BOOT.bin, and bitstream onto the ZYBO_BOOT partition of the SD card and tried to boot, I receive an error saying "wrong ramdisk image format" "ramdisk image is corrupt or invalid" Is this because I have the wrong uboot.elf or fsbl.elf? From my understanding, the Linaro tutorial is for booting without a ramdisk (there is no mention of it in the tutorial). I believe the uboot.elf and fsbl.elf that I am using in my BOOT.bin are for a linux distribution that uses the ramdisk image. In this case, do I need to regenerate my BOOT.bin with a fsbl.elf and uboot.elf that are made for not using the ramdisk image? I hope what I am asking makes sense, I am very new to Linux and still learning.
  11. Mendeln, Thank you for the response. After a lot of searching, I don't think the Zybo Linux Reference Design exists or has yet to be released. I'll take a look at the Zedboard one and also the links you posted. I had been using Ubuntu 12.04 from Xillinux image as well. I really liked the graphical interface, but since I changed my design I removed the VGA out for the GUI and have just been using the UART instead. I'd like to continue using Xillinux if possible just because I have already written some scripts for the project as well, but if I HAVE to switch hopefully nothing I've written will have issues on a different distribution. Since I made a lot of changes in my Vivado custom design, I had to regenerate a new BOOT.bin to incorporate my new .bit bitstream file, and also a new device tree. When I tried loading the BOOT.bin, bitstream, device tree onto an SD card with the Xillinux Image written on it, I got a boot error that reads "wrong ramdisk image format" In any case, I'd just like to run Ubuntu on the Zybo. Thanks, Chris
  12. Hi all, I've been working on a custom Vivado design that uses embedded Linux. I have been using Xillinux 1.3 but I've switched to using Vivado 2014.4 and Xillinux is not compatible with anything beyond 2014.1, I am looking to switch to a different distribution of Linux. I have been following the directions of the following tutorial https://www.digilentinc.com/Data/Products/ZYBO/Embedded_Linux_Hands-on_Tutorial.pdf I already have my own uboot.elf, fsbl.elf, boot.bin, bitstream, and device tree for the custom design. All I'm really looking for is a Linux kernal image for the Zybo Zynq that I can load onto an SD card with my other previously generated files. On page 25 of the tutorial, in the section "Test Kernel Image with Pre-built File System", there is a bullet that says "Pre-built File System Image: ramdisk Image is available in ZYBO Linux Reference Design" I've done a lot of googling and looking through the forums but I can't seem to find this "Zybo Linux Reference Design." Can anyone point me towards where I can find this? Or can someone provide me with the Linux Kernal image (uimage) for the Zybo?
  13. Hey Sam, Thanks for your post. That link was pretty helpful in bettering my understanding of a device tree. I am fairly new to embedded linux (and linux in general) so the documentation is useful. I was able to compile the .dts into .dtb. Turns out resolving the syntax error that came before the fatal error fixed everything. The culprits were the lines for the interrupt channels on the vdma, they were both initialized to <-1> in the device tree, which apparently is not an acceptable value. I'm not quite sure what the values should be, but changing them to a positive integer resolved the error and allowed me to compile the .dtb. Thanks for the help, Chris
  14. Run, Thank you, that makes a lot of sense. I'll also switch to the PLL for the clocking wizard. Marshall, If you find yourself with time to spare and wouldn't mind doing the design with the PS, I certainly won't say no to that. Thank you! Thanks, Chris
  15. Thanks for the responses. I have a virtual machine running now, but I am still having trouble using the DTC. Whenever I try to run the following command to compile the .dts, I get: [email protected]:~/device_tree_bsp_0$ dtc -I dts -O dtb -o system.dtb system.dts Error: pl.dtsi:76.22-23 syntax error FATAL ERROR: Unable to parse input tree It's driving me nuts. I've been trying for hours to compile the .dts and everything I've found online as suggestions to solve the issue are not working. Any ideas?