rick chaney

Members
  • Content Count

    7
  • Joined

  • Last visited

  1. https://github.com/Digilent/Cora-Z7-07S-base-linux zip file doesnt contain anyVivado Project files? The Readme file is blank?
  2. Which PetaLinux config file do I modify to exclude the XADC interface?
  3. Where can I get the Vivado project files that will with the CoraZ7s Petalinux ?
  4. I have developed a bit file for a standalone operation for the CoraZ7s. Then attempted to the use the Digilent https://github.com/Digilent/Petalinux-Cora-Z7-07S/blob/master/README.md I first ran the Petalinux with the supplied system_wrapper.bit. Work fine. Then replaced the bit file in the /images/linux directory with my own bit file. Then ran the "petalinux-package --boot --force --fsbl images/linux/zynq_fsbl.elf --fpga images/linux/system_wrapper.bit --u-boot" command. And booted from SD card. The error indications suggests there are some IP definitions required for this to run. From the error indicated above it appears there is a XADC ip core included in the Digilent bit file. So I am left with 2 choices; 1. re-create my bit design -with the Digilent defined XADC interface. 2. modify the Petalinux build to remove the XADC(USB HID ) driver. Any suggestions? Thanks Rick
  5. When a custom bit files is used the petalinux fails. I am assuming the Petalinux build is expecting a PL XADC support? Is the a way to exclude this from the Petalinux build? Thanks Rick Linux version 4.9.0-xilinx-v2017.4 (setup@usrd23715) (gcc version 6.2.1 20161016 (Linaro GCC 6.2-2016.11) ) #1 SMP PREEMPT Thu Oct 11 15:36:08 EDT 2018 ........ usbcore: registered new interface driver usbhid usbhid: USB HID core driver Unhandled fault: imprecise external abort (0x406) at 0x000bc834 pgd = c0004000 [000bc834] *pgd=00000000 Internal error: Oops - BUG: 406 [#1] PREEMPT SMP ARM Modules linked in: CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.9.0-xilinx-v2017.4 #1 Hardware name: Xilinx Zynq Platform task: de44b640 task.stack: de44c000 PC is at xadc_axi_read_adc_reg+0x14/0x20 LR is at xadc_probe+0x430/0x6bc ....... [<c04e6eac>] (xadc_axi_read_adc_reg) from [<c04e8108>] (xadc_probe+0x430/0x6bc) [<c04e8108>] (xadc_probe) from [<c039dd38>] (platform_drv_probe+0x50/0x9c) [<c039dd38>] (platform_drv_probe) from [<c039c7d4>] (driver_probe_device+0x1b0/0x274) [<c039c7d4>] (driver_probe_device) from [<c039c914>] (__driver_attach+0x7c/0xa8) [<c039c914>] (__driver_attach) from [<c039b044>] (bus_for_each_dev+0x7c/0x8c) [<c039b044>] (bus_for_each_dev) from [<c039bf34>] (bus_add_driver+0x16c/0x1dc) [<c039bf34>] (bus_add_driver) from [<c039d030>] (driver_register+0xa0/0xe0) [<c039d030>] (driver_register) from [<c0101858>] (do_one_initcall+0x100/0x120) [<c0101858>] (do_one_initcall) from [<c0900da4>] (kernel_init_freeable+0x190/0x1d8) [<c0900da4>] (kernel_init_freeable) from [<c0603a98>] (kernel_init+0x8/0x10c) [<c0603a98>] (kernel_init) from [<c0106d18>] (ret_from_fork+0x14/0x3c)
  6. Jon, It appears the standalone build function is not supported for the Digilent Boards.I finally go it to work; # 1) Retrieve the following Digilent apps: a) libuio b) libpwm c) libgpio d) gpioutil e) pwmdemo # 2) Extract these source files into a specified directory # (ie: <petalinx_prj>/downloads) # 3) Modify the digilent app *.bb files found in <petalinux prj>/project-spec/meta-user/recipes-apps/digilent-apps # a) In each *.bb change the SRC_URI and S variables to point to their associated local directory. eg: SRC_URI = "file:///<petalinx_prj>/downloads/libuio-master/libuio.c \ file:///<petalinx_prj>/downloads/libuio-master/libuio.h \ file:///<petalinx_prj>/downloads/libuio-master/Makefile \ " and S = "${WORKDIR}/<petalinx_prj>/downloads/libuio-master" Thanks Rick
  7. CoraZ7s Petalinux Standalone build failed Petalinux 2017.4 - build failed in github.com/digilent/libuio.git I have downloaded and configured the sstate cache tar files. Also performed the AR#71198 fixed for PREMIRRORS conf file. I guess I need to add the digilent libuio file to the sstate cahe? How would I do this? Thanks Rick