sbobrowicz

Members
  • Content Count

    414
  • Joined

  • Last visited

  • Days Won

    29

sbobrowicz last won the day on July 10 2018

sbobrowicz had the most liked content!

2 Followers

About sbobrowicz

  • Rank
    Prolific Poster

Contact Methods

  • Website URL
    www.elite-embedded.com

Profile Information

  • Gender
    Male
  • Location
    Seattle, WA

Recent Profile Visitors

6530 profile views
  1. Seems to be a problem with your petalinux install. Try following the instructions here to install the tools: https://github.com/Digilent/Petalinux-Zybo-Z7-20/#install-the-petalinux-tools Also, you will need to set your shell to bash by running the following: dpkg-reconfigure dash
  2. Sorry about that, I fixed the link. Yup, 5 is optional. The best place to refer to is the linux kernel documentation inside the source code itself. You can find this here: https://github.com/Digilent/linux-digilent/tree/master/Documentation/devicetree/bindings Just browse to the device you are trying to use and you should be able to find what you need with some examples. For a more high level understanding of what the device tree is, check out this guide (or one of the similar ones out there): https://elinux.org/Device_Tree_Reference . As for learning how petalinux g
  3. @nardhini What version of petalinux are you using? I'm not super up to date on using the petalinux-create command, so I probably won't be able to answer your question right off the top of my head. You might want to hedge your bets here and also post your question on the Xilinx embedded linux forum to ensure you get the fastest possible response: https://forums.xilinx.com/t5/Embedded-Linux/bd-p/ELINUX
  4. Hi @patelviv There really isn't a tutorial for how to do this, but rather an example project that you can refer to. The Vivado project and petalinux project (that includes the properly configured device tree) are found here: https://github.com/Digilent/Zybo-base-linux https://github.com/Digilent/Petalinux-Zybo K, so technically that project doesn't use the VGA output, but rather uses the HDMI output. If that doesn't work for your purposes, then you will need to replace the rgb2dvi core with an rgb2vga core, and also remove the I2C controller attached to the DDC bus on the t
  5. @rfsweitzer Sorry for the delay. Unfortunately we don't have anything specifically for what you are asking, so all I can do is point you to some resources that should help out. First, I recommend starting with the 2018.2 Zedboard BSP from Xilinx (you can also check Zedboard.org for one). Then you can follow UG1144 from Xilinx to learn how to build in any libraries that you may need (petalinux-config -c rootfs) and USB gadget drivers you may need (petalinux-config -c kernel), and finally how to build your sysroot and setup Xilinx SDK so that it will properly link in the libraries you'
  6. @stefanardo Looks like it has been a long time since you asked this, but I've got some time to help out if you are still stuck. The first thing I'd ask is whether you obtained the project using git clone --recursive https://github.com/Digilent/Zybo-Z7-20-base-linux.git The important part is the --recursive. @jpeyron and @artvvb, can you provide a link to a good tutorial for how to properly clone and build a project such as the one above? Note that the base-linux projects don't have releases (maybe this should change though?)
  7. @juergenR Going back to your initial problem, you should have been able to start with this project (assuming you are using the -20, not the -10): https://github.com/Digilent/Arty-Z7-20-base-linux and then do the following: 1) modify that project to disable the I2C controllers (and make any other modifications). 2) Build the project and export the HDF. 3) Import the project into the Petalinux-Arty-Z7-20 project using petalinux-config --get-hw-description=<exported location> 4) Modify the project-spec/meta-user/recipes-bsp/device-tree/files/system-user.dtsi file t
  8. What yocto project and/or guide are you using? Hopefully this will give me more info, because I will need to know a lot more, including what version of yocto support and vivado you are using from Xilinx, and also how your VGA port is connected in your Vivado block diagram (VDMA?).
  9. @TAC Ahhhhh, I understand a bit more now... you are not using the PL (FPGA) in the Zynq, only the processors. I peaked at the meta-zybo layer hosted on github. I think you will need to do at least two things to make it work on any level: 1) Open https://github.com/emcongiu/meta-zybo/blob/master/conf/machine/boards/zybo/zybo-zynq7-board.dtsi and change the following: ps-clk-frequency = <50000000>; to: ps-clk-frequency = <33333333>; and also: ps7_ddr_0: [email protected] { device_type = "memory"; reg = <0x0 0x20000000>; } ; to:
  10. Any chance you are using the Zybo Z7-10, not the original ZYBO? The input oscillator on that board changed from 50MHz to 33.333MHz, which means if you try to run software made for the original ZYBO on it, I would expect things to run at about 66.66% of the expected speed, which explains your observation. I'd also expect a lot of other things to not function correctly, which would make me somewhat surprised you got as far as you did.
  11. @MauroChimenti Unfortunately we don't have Linux examples for the Pmod IP cores. In general, for devices that have good Linux support you should modify system-user.dtsi in your petalinux project to load the required drivers. Often times you will need to add the device as a child node of an existing I2C or SPI bus. To find out if the external device you are trying to use has drivers in the kernel, look for a document that corresponds to it here: https://github.com/Digilent/linux-digilent/tree/master/Documentation/devicetree/bindings . If you find one, then it will describe what your d
  12. @mmongu @nicmoseli Sorry for the delay, hit a couple unexpected speed bumps. Anyways, Pcam 5C support has now been integrated into the Petalinux project: https://github.com/Digilent/Petalinux-Zybo-Z7-20/ I'm on to reVISION support now.
  13. I'd bet this is a caching issue. You should try calling some functions to flush the cache after the DMA transfer completes. You could also try using the ACP port (instead of the HP0) to keep the cache coherent, but I'm not really sure if that requires some additional work in the PL or software. See here for some info on functions that can be used to flush the cache: http://www.infradead.org/~mchehab/kernel_docs/unsorted/cachetlb.html . Also, you should probably reserve the range of memory you are using for your buffers in your device tree so that the system doesn't try to use it. See
  14. @fandrei I'll admit I haven't used a Linaro image in a while, but I used to start by finding an armhf image here that seemed suitable for my needs: https://releases.linaro.org/debian/images/ . Here is one that is an example of a good, light-weight desktop that is built around Ubuntu 16.04 LTS: https://releases.linaro.org/debian/images/alip-armhf/16.04/linaro-jessie-alip-20160428-22.tar.gz . Then I would do the following to get it to work with my Petalinux system: 1) Set the root file system to "SD" using petalinux-config. Follow the instructions here to do this, but stop before you g
  15. @jacobfeder USB wifi drivers tend to require there to be firmware blobs installed into your rootfs at /lib/firmware. The drivers use these blobs to configure the proprietary SoC's in the wifi dongle. In your case, you need "/lib/firmware/rtlwifi/rtl8192cufw_TMSC.bin" and/or "/lib/firmware/rtlwifi/rtl8192cufw.bin" to be present. You can find these files in the linux-firmware package, which can be installed from standard linux distros using apt-get, dnf, yum, etc., and then simply copy them to where they need to be on your rootfs. If you are using petalinux, you could build a simple a