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 566 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
Parents
  • 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
Reply
  • 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
Children
  • 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
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