Technical Forum Moderator
  • Content Count

  • Joined

  • Last visited

About Ionel

  • Rank

Profile Information

  • Gender
  • Location

Recent Profile Visitors

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

  1. 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
  2. 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/
  3. `SRC_URI` for `project-spec/meta-user/recipes-apps/digilent-apps/` should look similar to this `SRC_URI = "git://${HOME}/projects/libuio/.git"` where `${HOME}/projects/libuio` is a normal clone of `git://` or `SRC_URI = "git://${HOME}/projects/libuio.git"` for a bare git repository: `${HOME}/projects/libuio.git`
  4. @elliottal In `project-spec/meta-user/recipes-apps/digilent-apps/` recipe you can change the `SRC_URI` to point to a local git repository clone of `git://` previously `git://` Also the recipe can be modified to use a tar file if it is more convenient.
  5. 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 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 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.
  6. When you boot using the microSD card that you have prepared is the green led [LD12 DONE] turned on?
  7. Hi @Amin, Inside `` you will find necessary files to obtain a micro SD card with a persistent rootfs . sha1sum: 228ec31bbfaf465310c1894983964a5fa33cc668 To prepare it please follow instructions found here staring from "Format an SD card.." paragraph. `` 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.