Ionel

Technical Forum Moderator
  • Content Count

    15
  • Joined

  • Last visited

About Ionel

  • Rank
    Member

Profile Information

  • Gender
    Male
  • Location
    Cluj-Napoca

Recent Profile Visitors

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

  1. Hi @Baig. SDR ADRV9361 board is not from Digilent. It is not clear which version of Qt you have on your board(target) and against which version you link your app. Please make sure it is the same. Also make sure qtmodules you use in your app are properly working on the board. You can run examples that are provided with QT to do that. If you want to debug, build/install Qt framework in debug mode, usually the lib files have 'd' at the and of name: libQtCored.so You can use `ldd` tool to inspect dependencies for your app on target to make sure something is not missing which seams to be the case. Also note that QWS was repalced in Qt > 5.0.0 with QPA.
  2. The BSP for zybo-z7-20 will work properly only with petalinux 2017.4. Upgrade for the BSP is estimated to take place after petalinux 2019.2 is released Q1 next year.
  3. There is no code to draw any shape as you observed since it was/is a work in progress. Thus it was excluded by default from `rootfs`. However it was mentioned by mistake in the first link you mentioned. https://reference.digilentinc.com/reference/software/petalinux/start The issue has been corrected.
  4. Hi @kuc3, You mention Ubuntu 16.04 on the ARM. Do you use a rootfs from Ubuntu instead of the rootfs generated by petalinux? Additionally can you provide the block design for your project?
  5. @kotra sharmila Running petalinux-build twice should do. If not: try running: petalinux-build -x mrproper petalinux-build petalinux-build If this also fails please provide more information: 1. Attach compile log file (/path/to/temp/log.do_compile.?????) 2. Attach the system.hdf file if possible.
  6. Hello @tkoroknai the `kmsdemo` module is not included by default in rootfs. To have it included we have to rebuild the petalinux image. Steps: 1. Source petalinux environment: https://github.com/Digilent/Petalinux-Zybo-Z7-10#source-the-petalinux-tools 2. Change directory to petalinux project directory(contains project-spec directory) by default: Zybo-Z7-10 3. Issue command: petalinux-config -c rootfs 4. In menuconfig open section apps. 5. Select kmsdemo and press space to mark it for inclusion. 6. Save and exit. 7. Continue with petalinux-build command as you did first time. 8. After deploying the new petalinux image file `/usr/bin/kmsdemo` should exist.
  7. Hi @kotra sharmila , Your rootfs is too large to be properly loaded into RAM. See instructions on how to make rootfs used from SD card.
  8. Hello @m3atwad Here are some steps you can use to build u-boot for Pynq-Z1 clone git https://github.com/Xilinx/u-boot-xlnx.git checkout commit under tag `xilinx-v2018.3` apply attached patches (git am 000* #whitespace errors can be ignored ) export ARCH=arm export CROSS_COMPILE=arm-linux-gnueabihf- make zynq_pynqz1_defconfig make 0001-add-preliminary-support-for-artyz.patch 0002-allow-to-read-mac-address-from-SPI-flash.patch 0003-add-pynqz1-derivative.patch 0004-disable-gpio-command-and-fix-warnings.patch
  9. Hello @gmodia Please try picocom: $ sudo picocom -b 115200 /dev/ttyUSB1 Note: this will work only after the device is powered on and the device /dev/ttyUSB1 is provided by your machine kernel. You could watch when that happens in a second terminal window by issuing: dmesg -w
  10. From "Building User Application´╗┐" section running `petalinux-build` command is the only required step. This will trigger the build for petalinux-user-image which in turn will trigger the build for your c++ app. After a successful build the components get packed then installed in the rootfs. Then the rootfs gets included in image.ub. The issue you have found can be solved by issuing: $ petalinux-build -x mrproper #clean entire build output $ petalunix-build #build linux image which includes your newly added component since it is included in rootfs $ petalinux-package --boot --force --fsbl images/linux/zynq_fsbl.elf --fpga images/linux/cora_z7_10_wrapper.bit --u-boot # builds the bootloader image BOOT.BIN Steps above are same as a clean build, this solves the issue. After changing your c++ application running `petilinux-build` command is enough to build a new image.ub. No need to regenerate the `BOOT.BIN` file. Additional explications given in "Building User Application´╗┐" section is for how you can build your component without building the entire system images and where you can find build directory in the build system. In case of Cora-Z7-10 is <TMPDIR>/work/cortexa9hf-neon-xilinx-linux-gnueabi/myapp/1.0-r0/
  11. `SRC_URI` for `project-spec/meta-user/recipes-apps/digilent-apps/libuio.bb` should look similar to this `SRC_URI = "git://${HOME}/projects/libuio/.git"` where `${HOME}/projects/libuio` is a normal clone of `git://github.com/digilent/libuio.git` or `SRC_URI = "git://${HOME}/projects/libuio.git"` for a bare git repository: `${HOME}/projects/libuio.git`
  12. @elliottal In `project-spec/meta-user/recipes-apps/digilent-apps/libuio.bb` recipe you can change the `SRC_URI` to point to a local git repository clone of `git://github.com/digilent/libuio.git` previously `git://github.com/mitchellorsucci/libuio.git` Also the recipe can be modified to use a tar file if it is more convenient.
  13. It seems that something went wrong when preparing first partition with BOOT.BIN and image.ub files. First method : A minimal test that we can do is to prepare only one FAT32 partition and copy BOOT.BIN and image.ub files. Then start the board with this setup. This way it should only start the Linux kernel, however no rootfs. The UART should be initialize. and the green LED should be on. Step 1: format SD card as FAT32 file system Step 2: copy BOOT.BIN and image.ub files to the SD card (then safety remove the SD card) Step 3: insert SD card in zybo-z7-20 and power the board Step 4: The green LED turns on then it means that the UART(via FTDI) is ready. Note: Alternative: The second file attached was z7-20.img.zip which is a snapshot off a 2GB SD card containing both partitions. The image can be written to the micro SD card with `dd` tool on Linux or a similar tool for Windows (writing this image to SD card from windows 10 worked for me using Win32DiskImager). Step 1: extract the z7-20.img.zip Step 1.A : insert micro SD card if not already inserted. Step 2: run Win32DiskImager Step 3: For `Image File` field set the path to z7-20.img file. z7-20.img sha1sum: e08516edb24ff65d32ce7a43a946f0be9b9f0ebe (If you want to check) Step 4: In `Device` field make sure the Drive letter for microSD is selected (If not you risk loosing data from other devices). Step 5: Pres write.(If you are prompted to format partitions please do not. The second partition filesystem is ext4 which is not recognized by the OS) Step 6: After the process ended, safety remove the micro SD. Step 7: Plug the micro SD into the z7-20 board. Power up the board.
  14. When you boot using the microSD card that you have prepared is the green led [LD12 DONE] turned on?
  15. Hi @Amin, Inside `image.zip` you will find necessary files to obtain a micro SD card with a persistent rootfs . sha1sum: 228ec31bbfaf465310c1894983964a5fa33cc668 image.zip To prepare it please follow instructions found here https://github.com/Digilent/Petalinux-Zybo-Z7-20#note-if-you-wish-to-change-back-to-initramfs-in-the-future-you-will-need-to-undo-this-change-to-the-bootargs-line staring from "Format an SD card.." paragraph. `z7-20.img.zip` is an image of a 2G disk it can be written to the micro SD card directly however the rootfs partition needs to be resized if additional space is needed. If you want more control over the rootfs please consider installing petalinux. image.zip z7-20.img.zip