element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • 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 & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • 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
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • 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 & Tria Boards Community
  • Avnet Boards Forums
  • More
  • Cancel
Avnet Boards Forums
Ultrazed Hardware Design ultrazed recompile kernel
  • 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 7 replies
  • Subscribers 342 subscribers
  • Views 563 views
  • Users 0 members are here
Related

ultrazed recompile kernel

bbolen
bbolen over 8 years ago

I would like to recompile the ultrazed kernel to enable some gadget mode testing on the iocc carrier card.

I have found the zcy02 ( zu9 ) BSPs on the Xilinx web site. 

Will these work with a custom device tree file?  Can I pull the device tree file out of the existing 2016.2 BSP file?  If not then where do I get it?

I would like to use 2016.4, since we have other projects using it, but I can't find anythiog for the zu3. 

Is it just too new, or should I be looking someplace else.

Thanks!

b\375

  • Sign in to reply
  • Cancel
  • jafoste4
    0 jafoste4 over 8 years ago

    Hi Brettbolen,

    We currently only have support for the UltraZed 2016.2 BSP. You can find it at : http://zedboard.org/support/design/17596/131

    If you are interested in using a 2016.4 UltraZed BSP you will need to create it yourself. This post describes how to do so : http://zedboard.org/content/microzed-petalinux-20161-bsp

    --Josh

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • zedhed
    0 zedhed over 8 years ago

    Hi brettbolen,

    The 2016.2 PetaLinux BSP Josh mentioned above can be recreated using the build automation script that is available on our GitHub repository:

    https://github.com/Avnet

    You will need a copy of both the HDL repository to build the hardware platform with Vivado and also the software repository to setup the PetaLinux project but that entire build can be launched with software/petalinux/scripts/make_uz3eg_petalinux_bsp.sh

    Regards,

    -Kevin

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • bbolen
    0 bbolen over 8 years ago

    when I create a bsp, I have a couple of options :  standalone or freeos.  If I want to create a BSP for linux, do I choose standalone  or is there an option I'm not seeing.

    My goal is to recompile the kernel for usb gadget support.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • zedhed
    0 zedhed over 8 years ago

    Hi brettbolen,

    AFAIK, you cannot use SDK to create a Linux BSP.  This is what the PetaLinux tools are for.

    From a high level, this is what the tool flow would look like:

    1)  Design and implement your hardware platform in Vivado, then export to get the Hardware Definition File (HDF)

    2)  Create a new PetaLinux project and import the HDF file that you got from the Vivado export.

    3)  Run 'petalinux-config -c kernel' and turn on your desired USB gadget driver.

    4)  Run 'petalinux-build' to make sure that everything builds okay.

    5)  Run 'petalinux-package --bsp' to package your PetaLinux project up as a BSP container:

    petalinux-package --bsp -p <PETALINUX_PROJECT_NAME> --hwsource <HDL_PROJECT_FOLDER> --output <PETALINUX_PROJECT_NAME>

    This process is covered by the automation script that I mentioned in my earlier response above:

    https://github.com/Avnet/software/blob/master/petalinux/scripts/make_uz3eg_petalinux_bsp.sh

    I highly suggest looking through that BASH script as a reference to understanding the small details that are needed for creating UltraScale Linux BSPs.

    Regards,

    -Kevin

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • rgross_doble
    0 rgross_doble over 8 years ago in reply to zedhed

    Kevin,

    What version of PetaLinux do I need to use to recreate the BSP/Linux I have that came with my UltraZed board?  It boots out of eMMC with the following:

    Xilinx Zynq MP First Stage Boot Loader

    Release 2016.2   Nov 30 2016  -  22:14:22
    ...
      *********************************************************************
      ***                                                               ***
      ***   Avnet UltraZed Out Of Box PetaLinux Build V1.0              ***
      ***                                                               ***
      ***   Based Upon the UZ3EG 2016.2 PetaLinux BSP from Avnet        ***
      ***                                                               ***
      ***   More information available on UltraZed.org community site   ***
      ***                                                               ***
      *********************************************************************

     

    I am not interested in the Vivado portion, at the moment, so is the system.hdf file that came with the UltraZed_PCIe_CC_Tutorial_2016_4_v1 zip file the one I want to use?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • rgross_doble
    0 rgross_doble over 8 years ago in reply to zedhed

    Kevin,

    I want to just rebuild the BSP for our UltraZed,but not the stuff related to Vivado. I have installed the PetaLinux tools in /opt/petalinux-v2016.2-final/ (which matches the script file you mentioned) and loaded the hdl/software repos from git into /home/<username>/repos/hdl and software.

    Where am I supposed to run the software/petalinux/scripts/make_uz3eg_petalinux_bsp.sh from because there are hardcoded locations checked in the script files?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • jafoste4
    0 jafoste4 over 8 years ago

    Hello rgross,

    The Petalinux BSP that you can use to recreate the linux that came with your UltraZed Board it located here http://zedboard.org/support/design/17596/131 under the PetaLinux Board Support Package section labeled "UltraZed IO Carrier Card - PetaLinux 2016.2 Compressed BSP"

    --Josh

    • 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