Xilinx Zynq & PetaLinux Project Demo

แชร์
ฝัง
  • เผยแพร่เมื่อ 27 ส.ค. 2024
  • Xilinx Zynq & PetaLinux Project Step-By-Step Demo
    Build the basic HW platform on ZC706 with Zynq7000 processing system. Build the petalinux OS and file system, with GPIO demo app and Busybox Web Server.
    #fpga #xilinx #zc706 #petalinux #zynq

ความคิดเห็น • 25

  • @lisun2060
    @lisun2060 ปีที่แล้ว +3

    Very helpful, I was able follow alone and create my own Petalinux project and got it running on my ZC706 board. I am new to Petalinux, are you able to give another demo how to run the PS SPI controller in Petalinux env? I have a PS SPI controller project running using Vivado and Vitis, but not sure how to get it to work on Petalinux. Again thanks for your time!

    • @StfuNGfys
      @StfuNGfys ปีที่แล้ว

      Please share the resources you know/ following to understand more about Petalinux tools

    • @weberluo
      @weberluo  ปีที่แล้ว

      th-cam.com/video/yMJrtXS_5iU/w-d-xo.html

  • @user-kl7jm9yd3x
    @user-kl7jm9yd3x 5 หลายเดือนก่อน

    hello sir , i'm follow your example on petalinux 2021.1 and i see that the advanced bootable image setting option is not avilable on this version , what i need to do in this case ?

  • @antonyjoseph6131
    @antonyjoseph6131 10 หลายเดือนก่อน

    Great Tutorial !!

  • @abdousmandous1851
    @abdousmandous1851 ปีที่แล้ว

    Thank you for this useful video. I have question about device tree. Here you didn't modify the dt as you have custom hw in PL. How petalinux create a dt from xsa file? And when creating a custom dt is required?

    • @weberluo
      @weberluo  ปีที่แล้ว

      I didn't really add my "custom" IP in PL, the axi_gpio IP is Xilinx's, guess it also takes care the dt creation. When checking the petalinux project created from this xsa, there is additional device-tree file pl.dtsi under /components/plnx_workspace/device-tree/device-tree directory, in which already defined axi_gpio device.

  • @zili8321
    @zili8321 11 หลายเดือนก่อน

    I'm using microblaze to build the petalinux. Could you please tell me why you can use eth0 without adding the eth ip in the block design? Or you add it in the petalinux-config? At what time? Thanks!

    • @weberluo
      @weberluo  11 หลายเดือนก่อน

      Hi, thanks for watching. Eth0 and some other IOs are built-in features in the hard Zynq core, so no need to add separate IPs. Versus microblaze is soft core CPU only. You may watch my other soft core CPU series of demo videos to get more info.

  • @user-kl7jm9yd3x
    @user-kl7jm9yd3x 5 หลายเดือนก่อน

    hello sir , why you need to compress the bit file ? do you need to do it every time when trying to build linux image ? what will happen if you didn't compress the bit file ?

    • @weberluo
      @weberluo  5 หลายเดือนก่อน

      Compress bit file save your flash space. Depends on how large the boot flash is, if it can comfortably contain all files and the Linux system, you don't have to use compressed bit file.

  • @Jonathan-ru9zl
    @Jonathan-ru9zl ปีที่แล้ว

    Hi! Thanks for the video! Why in this boot method we use only BOOT.BIN, boot.scr, image.ub, but in sd-card boot method we usually consist also rootfs.tar.gz file in ext4 partition?
    Is it redundant in our case?

    • @weberluo
      @weberluo  ปีที่แล้ว +1

      Thanks for watching. In my other video using SD card to boot, I also only used these three files. th-cam.com/video/yMJrtXS_5iU/w-d-xo.htmlsi=XsFnKvpcCEzd4Gfe
      I believe rootfs is already in the image.ub. Maybe you can configure uboot to use it externally so you have freedom to add/remove files in rootfs without rebuilding uboot. I haven't tried that. Please try and share to the community. Thanks.

    • @Jonathan-ru9zl
      @Jonathan-ru9zl ปีที่แล้ว

      @@weberluo Thanks, you right.

  • @Jonathan-ru9zl
    @Jonathan-ru9zl 10 หลายเดือนก่อน

    Hi again! I am trying to build petalinux to custom board, without uart channel as debug console. Is it possible to define JTAG as the debug console?
    (There is a similar driver in standalone called coresight)

    • @weberluo
      @weberluo  10 หลายเดือนก่อน

      Never tried that. If PS uart is not connected we usually bring it to PL and wire available pins for uart, mostly use GPIO or LED pins in design. Keep in mind that these pins only available after bitstream is loaded, so can't debug FSBL.

    • @Jonathan-ru9zl
      @Jonathan-ru9zl 10 หลายเดือนก่อน

      @@weberluo I read a little about it. In kernel hacking in petalinux kernel config there is coresight driver. also need to configure kgdboc to print boot massage through jtag

    • @weberluo
      @weberluo  10 หลายเดือนก่อน

      @@Jonathan-ru9zl thanks for sharing

  • @rafaymughal2639
    @rafaymughal2639 ปีที่แล้ว

    I am not finding boot script offset under petalinux-config -c u-boot also i am unable to run petalinux-build command i am very sad kindly help

    • @weberluo
      @weberluo  ปีที่แล้ว

      make sure Ubuntu and tool version same as defined, follow steps in video 13' ~ 15', did you get config menu? boot script offset is under "ARM architecture" sun menu.

  • @imranhussain-yq2of
    @imranhussain-yq2of 9 หลายเดือนก่อน

    Can i install OS in zedboard/PYNQ Z2 board? If Yes then how?

    • @weberluo
      @weberluo  28 วันที่ผ่านมา

      Not sure unless test with the real board, but I guess Linux would be too heavy for this small board, probably better use with standalone platform

  • @srikantachaitanya6561
    @srikantachaitanya6561 2 ปีที่แล้ว

    Thank you very much ...
    Please help me how to build for sd card

    • @weberluo
      @weberluo  ปีที่แล้ว +3

      Boot from SD card should be much easier because with the larger storage you don't need to carefully craft the memory address like this demo. While building the project, just leave all configure settings as default unless you have some special needs. After package, copy three files BOOT.BIN, image.ub and boot.scr to SD card root. Then boot ZC706 in SD mode (SW11 = 00110). The card should be FAT32, can be formatted in Windows just like normal usage of SD card, nothing special, no need to be Linux partition, no need to be set bootable. However, what I found is that you will need to find a Xilinx "compatible" SD card. I do have another card works completely fine in Windows full capacity, but couldn't boot with ZC706. When the "bad" card plug into ZC706 that boot from Flash, above demo project, the terminal show there are some IO error sectors. Change to a "good" card, no error show.

    • @srikantachaitanya6561
      @srikantachaitanya6561 ปีที่แล้ว

      @@weberluo Thank you very much