element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Avnet Boards Forums
  • Products
  • Dev Tools
  • Avnet Boards Community
  • Avnet Boards Forums
  • More
  • Cancel
Avnet Boards Forums
Using Xilinx Tools Forum Building zedboard images
  • Forum
  • Documents
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Avnet Boards Forums to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Not Answered
  • Replies 9 replies
  • Subscribers 336 subscribers
  • Views 1328 views
  • Users 0 members are here
Related

Building zedboard images

Former Member
Former Member over 11 years ago

I would like to build the Yocto code for the zedboard, and was planning to use the Xilinx tools to put together and flash my images. But I would like to build on Linux using bitbake rather than the Xilinx tools for that.

If I add the meta-xilinx to my poky (have tried both dylan and dora) I get complaints about gdb, binutils, qemu not having the proper recipes under meta-xilinx/recipes-devtools.

That leads me to believe that I need to get the openembedded-core rather than yocto, possibly...the meta-xilinx states it's a required tree.

I'm puzzled on how to incorporate all of this in the conf files so I can use openembedded-core and meta-xilinx together, and not have the yocto and openembedded code fighting with each other.

Does that makes sense?

How do some of you others build the sources for your zedboard on Linux ?

  • Sign in to reply
  • Cancel
  • Former Member
    0 Former Member over 11 years ago

    Ok, I was able to build "world" but for some reason the u-boot-xlnx doesn't seem to incorporate correctly into the 9.0.2 tree I'm using.

    Does anyone know the exact version of poky that is used ?

    I had to make 2 minor casts in the elfutils sources, which I found odd, but the error was a char** being used for a float*.

    Anyway, if anyone can even hear my plea for help in getting all my images together (I have a .bit file already for the FPGA), I would appreciate any input.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 11 years ago

    I get errors from fetching u-boot-xlnx, and just can't seem to get around them. Seems it fails when using the git protocol but will transfer with https, yet it doesn't like it if I change to https and set the proocol.

    Any suggestions?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 11 years ago

    Wow, almost 5 days and not a peep from the zedboard folks...makes me wonder if another reference would have been more fruitful...:-(

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 11 years ago

    Hi there,
    Let me try and help. We have successfully built a Linux image to run on ZED board using Yocto and the xilinx meta layer.

    Here are some notes from a colleague on how we did it.


    BUILDING YOCTO XILINX ZEDBOARD
    We are using Yocto 1.5.1 and 'dora' tags on all layers.

    Config your local machine with packets needed to build Yocto Distro
    - sudo apt-get install gawk wget git-core diffstat unzip texinfo build-essential chrpath

    Download Yocto meta layer:
    - git clone -b dora git://git.yoctoproject.org/poky.git

    Download Xilinx meta layer:
    - git clone -b dora git://github.com/Xilinx/meta-xilinx

    Download meta-oe layer:
    - git clone -b dora git://github.com/openembedded/meta-oe

    Configure the machine in '~/poky/build/conf/local.conf' adding this line:
    - MACHINE ??= "zedboard-zynq7"

    Configure extra layers in '~/poky/build/conf/bblayer.conf' adding this lines:
    - BBLAYERS ?= "
    -   /home/user/poky/meta
    -   /home/user/poky/meta-yocto
    -   /home/user/poky/meta-yocto-bsp
    -   /home/user/poky/meta-xilinx
    -   /home/user/poky/meta-hob
    -   /home/user/poky/meta-oe/meta-oe
    -   "

    Build Poky distribution:
    - source poky/oe-init-build-env
    - bitbake core-image-minimal

    Files need to build the SD-card are inside directory '~/poky/build/tmp/deploy/images/zedboard-zynq7':
    - u-boot.elf
    - core-image-minimal-zedboard-zynq7-20131129153026.rootfs.ext2.gz.u-boot
    - uImage
    - uImage-zedboard-zynq7-mmcblk0p2.dtb

    read how-to-build-sdcard from xilinx doc
    http://git.yoctoproject.org/cgit/cgit.cgi/meta-xilinx/tree/docs/BOOT.sdcard?h=dora


    Reference links:
    https://github.com/Xilinx/meta-xilinx (see README)
    https://github.com/Xilinx/meta-xilinx/blob/master/docs/BOOT.sdcard


    I hope this helps.

    Many regards,
    Chris Young.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 11 years ago

    Chris,

    Thanks for your reply, if you read this. I'm currently using the meta-topic layer and I really like the Changes which Mike Looijmans added to that layer. It boots the SD card at blazing speed, no timeout for uboot, it's really quick to boot on the SD. Mike leaves all the files you need in deploy boot to create an SD....

    I'm working on the microZed right now and trying to get it up. I have both a 7Z010 and a 7Z020.

    I will revisit this zedboard after I can get some time.

    Cheers,

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 11 years ago

    Goal to add newer kernel to Zedboard & u-boot in hopes of fixing the no sound issue.
    Also adding the capability of dynamically downloading bit files to PL and the ability to generate
    Poky and FPGA builds on single system.
    gcc-4.7 to gcc-4.8

    Required meta-topic & poky dora needed to upgrade Xilinx Tools from 14.4 to 14.6.

    Problems in gnuradio-3.6.5, opencv & vlc in dora branch.

    Status
    * using dylan RPMs
    ** needing to use --force
    linux 3.12.0 kernel running on zedboard okay
    installed gnuradio-3.6.4.1 instead of gnuradio-3.6.5 okay Note *
    gnuplot okay
    gsl okay
    java092113 RPMs okay
    c920 camera modules okay
    lsmod
    Module                  Size  Used by
    ipv6                  258832  24
    pmodoled_gpio           7606  0
    snd_soc_zed_adau1761     3515  0
    snd_soc_adi_axi_i2s     3098  2
    snd_soc_adv7511_hdmi     2443  1
    snd_soc_adi_axi_spdif     3030  2
    regmap_mmio             2573  2 snd_soc_adi_axi_spdif,snd_soc_adi_axi_i2s
    adi_axi_hdmi            9755  0
    drm_kms_cma_helper      5735  3 adi_axi_hdmi
    syscopyarea             2739  1 drm_kms_cma_helper
    sysfillrect             3000  1 drm_kms_cma_helper
    sysimgblt               2024  1 drm_kms_cma_helper
    clk_axi_clkgen          5561  0
    adv7511                 9469  2 adi_axi_hdmi
    drm_kms_helper         32445  3 adi_axi_hdmi,adv7511,drm_kms_cma_helper
    xilinx_dma             11108  1
    snd_soc_adau1761       16799  1
    snd_soc_adau17x1       12855  1 snd_soc_adau1761
    snd_soc_sigmadsp        2087  1 snd_soc_adau17x1
    i2c_xiic                5952  0
    uvcvideo               61991  0
    videobuf2_vmalloc       2854  1 uvcvideo
    videobuf2_memops        2114  1 videobuf2_vmalloc
    videobuf2_core         29153  1 uvcvideo

    opencv facedetect okay Note *
    oled okay
    read_sw ???
    vlc okay Note * & ** 
    sound tone working on black jack
    modified the /etc/asound.conf as Mike L recommended
    diff asound.conf asound.conf.orig
    8a9,16
    > pcm.!default {
    >  type plug
    >  slave {
    >   pcm "hw:0,0"
    >   format S32_LE
    >   channels 2
    >  }
    > }
    Installed alsa-utils-speakertest-1.0.27.2-r0.armv7a_vfp_neon.rpm
    Installed alsa-utils-speakertest-1.0.27.2-r0.armv7a_vfp_neon.rpm
    speaker-test -c 2 -F S32_LE --device hw:ADAU1761

    speaker-test 1.0.27.2

    Playback device is hw:ADAU1761
    Stream parameters are 48000Hz, S32_LE, 2 channels
    Using 16 octaves of pink noise
    Rate set to 48000Hz (requested 48000Hz)
    Buffer size range from 64 to 65536
    Period size range from 32 to 32768
    Using max buffer size 65536
    Periods = 4
    was set period_size = 16384
    was set buffer_size = 65536
    0 - Front Left
    1 - Front Right
    Time per period = 4.105156
    0 - Front Left
    1 - Front Right
    Time per period = 5.461007
    AlSA Audio output
            HDMI monitor (HW:0,0)
    Playing Life_of_Pi.mp4 & Smurfs.avi w/vlc
    Stream 0
            Type Video
            Codec H264 -MPEG-4 AVC (part 10) (avc1)
            Resolution 720x400
            Frame rate 23 976024
    Stream 1
            Type Audio
            Codec MPGEGAAC Audio (mp4a)
            Language Englist
            Channel Stereo
            Sampling Rate 48000 Hz
            Bits per sample 16
    Creating a custom-image with meta-topic, meta-oe and poky dora branch.
    Starting with core-image-sato-sdk image added fpga-image-adi adi-hdmi-load from meta-topic.
    Need to ck on this item meta-oe/meta-oe/recipes-multimedia/x264/ from dylan branch added to dora branch
    git status
    # On branch dora
    # Untracked files:
    #   (use "git add <file>..." to include in what will be committed)
    #
    #       meta-oe/recipes-multimedia/x264/
    nothing added to commit but untracked files present (use "git add" to track)
    Looks like it's moved to oe-core:
    http://layers.openembedded.org/layerindex/branch/dora/recipes/?q=x264

    --
    Paul Barker

    poky/meta/receipes-sato/images/custom-image.bb

    require core-image-sato.bb
    DESCRIPTION = "Image with Sato support that includes everything within
    core-image-sato plus meta-toolchain, development headers and libraries to
    form a standalone SDK."

    IMAGE_FEATURES += "dev-pkgs tools-sdk qt4-pkgs
            tools-debug eclipse-debug tools-profile tools-testapps debug-tweaks ssh-server-openssh"

    IMAGE_INSTALL += "kernel-dev fpga-image-adi adi-hdmi-load
    kernel-modules modutils-loadscript zed-audio v4l-utils gsl gsl-dev gnuplot
    chkconfig git jasper  liba52 liba52-dev 
    libmad libmad-dev libmad-staticdev
    python-netserver   xterm
    python-pygtk python-pygtk-dev python-lxml opencv opencv-samples
    opencv-apps opencv-dev opencv-samples-dev
    opencv-staticdev python-cheetah x264 x264-dev lua5.1 lua5.1-dev
    lua5.1-staticdev fluidsynth fluidsynth-dev
    libav libav-dev"
    Build Configuration:
    Build Configuration:
    BB_VERSION        = "1.20.0"
    BUILD_SYS         = "x86_64-linux"
    NATIVELSBSTRING   = "Ubuntu-12.04"
    TARGET_SYS        = "arm-poky-linux-gnueabi"
    MACHINE           = "zedboard"
    DISTRO            = "poky"
    DISTRO_VERSION    = "1.5.1"
    TUNE_FEATURES     = "armv7a vfp neon"
    TARGET_FPU        = "vfp-neon"
    meta             
    meta-yocto        = "dora:c3cccbea7abd4af3d603b2be42b0c7291ff21946"
    meta-topic        = "master:63a952c04ba10b6f40edf635413181e2104f51cf"
    meta-oe          
    meta-multimedia  
    meta-gnome        = "dora:191499a2b54d04855284347ce5a067f998646be4"
    meta-yocto-bsp    = "dora:c3cccbea7abd4af3d603b2be42b0c7291ff21946"

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • 100gma
    0 100gma over 11 years ago in reply to Former Member

    same thing, here, no response on any of my question !!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 10 years ago

    Thank you for posting the recipe. Is there a place where one can find a BOOT.INI file which match the Yocto build? I will eventually create my own BOOT.INI and FPGA peripherals, but I would like to make sure that I can run through the full toolchain to verify the procedure before rolling my own.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 10 years ago

    Hi ,
    i have error with that configuration (Permalink), "ERROR: Task 670 ", what cold cause that. In order to avoid that, Im am trying to find meta-zedboard folder as in this link https://github.com/architech-boards/meta-microzed.git.

    Eny advice will be help, thx in advance


    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube