vicentiu

Digilent Staff
  • Content Count

    22
  • Joined

  • Last visited

About vicentiu

  • Rank
    Member

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. vicentiu

    device-tree (spartan 6)

    We haven't come across this error before. You can look at the context around the panic in memblock.c. It could be some incompatibility, a misconfiguration of the kernel, device tree or memory ip(s) in EDK design.
  2. vicentiu

    PCAM elf on PetaLinux from SD card

    We have a PCAM demo in the Petalinux-Zybo-Z7-20 project. The PCAM support is not included in the Petalinux-Zybo-Z7-10 project because they were intended for SDSoC and the FPGA in the Z7-10 is too small for SDSoC usage. We modified the Z7-20 Vivado project to work on the Z7-10 (system.hdf file attached.) Follow these steps to have PCAM support on the Z7-10. Git clone Petalinux-Zybo-Z7-20 Unzip the attached system.hdf file in a folder and include the system.hdf in the unzipped folder itself. Copy & replace the folder contents into project-spec/hw-description of the petalinux project. Build the image with the petalinux-build command Follow the PCAM instructions at the bottom of the readme for Petalinux-Zybo-Z7-20 FYI, here are the steps to modifying the Z7-20 Vivado project to work on the Z7-10. A SDSoC license is needed for generating the bitstream. Download the Zybq-Z7-20-base-linux project from https://github.com/Digilent/Zybo-Z7-20-base-linux and unzip. Download the Vivado library from https://github.com/Digilent/vivado-library and unzip it in the Zybq-Z7-20-base-linux project, in the \repo\vivado-library folder. Make sure you have the Zybo Z7 board support files in your Vivado installation. If you don’t have them, download them from https://github.com/Digilent/vivado-boards, unzip the downloaded file, and copy the contents from the \vivado-boards-master\new\board_files folder to your Vivado 2017.4 installation folder (e.g. C:\Xilinx\Vivado\2017.4\data\boards\board_files). Open Vivado 2017.4, select Tools -> Run Script and run the create_project.tcl script from the \proj folder inside the Zybq-Z7-20-base-linux folder. Change the target board in Viado, by selecting Settings -> Project Device -> Zybo Z7-10 -> OK. Save the project. You will need to regenerate the IPs used in this project, due to the board change. Tools -> Report IP Status -> Upgrade Selected. The Zybo Z7-10 board has one less RGB LED than Zybo Z7-20 boards. Therefore, you will need to do several change to the project: In the Zybo-Z7-Master.xdc file, comment out the lines referring to RGB LED 5: #set_property -dict { PACKAGE_PIN Y11 IOSTANDARD LVCMOS33 } [get_ports { pwm_rgb[2] }]; #IO_L18N_T2_13 Sch=led5_r #set_property -dict { PACKAGE_PIN T5 IOSTANDARD LVCMOS33 } [get_ports { pwm_rgb[1] }]; #IO_L19P_T3_13 Sch=led5_g #set_property -dict { PACKAGE_PIN Y12 IOSTANDARD LVCMOS33 } [get_ports { pwm_rgb[0] }]; #IO_L20P_T3_13 Sch=led5_b In the same XDC file, change the indexes of the lines referring to RGB LED 6, so they look like this: set_property -dict { PACKAGE_PIN V16 IOSTANDARD LVCMOS33 } [get_ports { pwm_rgb[2] }]; #IO_L18P_T2_34 Sch=led6_r set_property -dict { PACKAGE_PIN F17 IOSTANDARD LVCMOS33 } [get_ports { pwm_rgb[1] }]; #IO_L6N_T0_VREF_35 Sch=led6_g set_property -dict { PACKAGE_PIN M17 IOSTANDARD LVCMOS33 } [get_ports { pwm_rgb[0] }]; #IO_L8P_T1_AD10P_35 Sch=led6_b In the project block diagram, double-click on pwm_rgb IP and change the Number of PWMs from 6 to 3. Select OK and save the project. Also in the project block diagram, double click on the output from the pwm_rgb IP (pwm_rgb signal), select Properties and then change the LEFT parameter from 5 to 2. Save the project. It may have happened that no top-level wrapper was generated for your project. If so, right-click on the system_i block diagram and select Create HDL Wrapper… Then right-click on the newly-created wrapper and select Set As Top. Save the project. You can now generate the bitstream and you should not see any issues while doing that.
  3. vicentiu

    I2C PMOD access under Linux

    Thanks for sharing your solution. Glad to see you figured it out.
  4. vicentiu

    qemu + microblaze

    Hi, Please refer to UG1144 and UG1157 on how to boot in QEMU. If you run into difficulties, posting on Xilinx's forum would reach a community more experienced with QEMU. Vicentiu
  5. vicentiu

    Zybo Z7-10 with Linaro

    Yes, CONFIG_DRM_DIGILENT_ENCODER is necessary along with CONFIG_COMMON_CLK_DGLNT_DYNCLK. For the device tree, the petalinux pl.dtsi has the correct definitions some of which are missing from the kernel build pl.dtsi. Also, you mentioned in the OP you're using the Zybo base system. You should be using the Zybo Z7 base system.
  6. vicentiu

    Zybo Z7-10 with Linaro

    Can you do a diff between the device trees and kernel configs when it's working and when it's not and see what the differences are?
  7. vicentiu

    Pmod Pack Demo issues with rsa

    Please use Ubuntu 14.04 or 16.04 as mentioned in the tutorial as each Petalinux release is tightly dependent on specific Linux versions. You can find Ubuntu VM images on osboxes.org
  8. vicentiu

    CoraZ7s custom bit file, usbhid: USB HID core driver

    You need to run the script proj/create_project.tcl from within Vivado to create the project files. We've noted to add a readme file to this repo. thanks
  9. vicentiu

    CoraZ7s custom bit file, usbhid: USB HID core driver

    It's in a device tree file. Look for "xadc" in *.dts and *.dtsi files in the project.
  10. vicentiu

    CoraZ7s custom bit file, usbhid: USB HID core driver

    Depending on which Cora board you have, it one of the following: https://github.com/Digilent/Cora-Z7-07S-base-linux https://github.com/Digilent/Cora-Z7-10-base-linux
  11. vicentiu

    CoraZ7s custom bit file, usbhid: USB HID core driver

    Either option is probably about the same effort... depending on which one you are more familiar with: Vivado or Petalinux. I recommend the one you're most familiar with.
  12. vicentiu

    CoraZ7s custom bit file, usbhid: USB HID core driver

    Hello, How did you introduce this custom bit file into Petalinux? What kind of changes did you make to the FPGA IP (contained in the bit file) compared to the original bit file? You may need to modify the device tree also to properly describe the resources available in your custom bit file. Is it the kernel booting that is giving you the Unhandled Fault error? Are you working with our reference Petalinux project for the Cora Z7? Vicentiu
  13. vicentiu

    Petalinux Microblaze: Sourcing BitBake failed?

    Regarding the warning /bin/sh is not bash!... Have you tried with a bash shell to see if the issue still happens?
  14. vicentiu

    ADDRCONF(NETDEV_UP): eth0: link is not ready

    You can find device tree documentation in the following places: https://elinux.org/Device_Tree_Usage https://elinux.org/Device_Tree_Reference https://github.com/Xilinx/linux-xlnx/tree/master/Documentation/devicetree https://github.com/devicetree-org/devicetree-specification/releases/download/v0.2/devicetree-specification-v0.2.pdf
  15. We haven't worked with the new method yet. I suggest asking on zedboard forums or the Xilinx forum. thanks