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
Ultra96 Hardware Design Avnet's BSP script and system.bit file
  • 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 1 reply
  • Subscribers 330 subscribers
  • Views 887 views
  • Users 0 members are here
  • petalinux
  • ultra96
  • bsp
  • 2020.1
Related

Avnet's BSP script and system.bit file

ece7498
ece7498 over 4 years ago

Hello again!

 

I am digging to the Avnet's build script and trying to understand it so I can modify and add layers on top of it (meta-ros for example, I will give more information when succeed).


I am trying to get information about system.bit file, where it come from, which script produces it and if there is a difference between system.bit and system_wrapper.bit .

 

https://github.com/Avnet/petalinux/blob/2020.1/scripts/common.sh#L388

 

In the common.sh script there is no production of system.bit file, so I am assuming that `avnet-image-full` does the production of this file (I really can't think how a meta-layer can produce a .bit file).
1) Could you give me information of what's this file and what's the difference from system_wrapper.bit ? Can I use system_wrapper.bit instead?

 

2) Also what's the purpose of https://github.com/Avnet/petalinux/blob/2020.1/scripts/common.sh#L405  :

 

`echo "write_cfgmem -format bin -interface spix1 -loadbit \"up 0x0 ./images/linux/system.bit\" -force ./images/linux/system.bit.bin" > swap_bits.tcl`

 

Is this used only for the BSP or someone needs that to update fsbl or other files? (I am not using BSP at all, just import files to Vitis from images/linux folder)

 

3) In the end when I replicate avnet's image-full on my custom project I get in the end the following error and stuck when running an OpenCL application:

image

No ERT scheduler on MPSoC, using KDS : How is this possible when I am using the same .xsa as you do and same system_wrapper.bit file?

 

Attached is the boot.log which has all the information available.


Thanks,

AE

Attachments:
boot.log.zip
  • Sign in to reply
  • Cancel
  • narrucmot
    0 narrucmot over 4 years ago

    Hi Alexander,

     

    The <project>/images/linux/system.bit file is the bitstream - the configuration file - for the programmable logic (PL) of the Zynq MPSoC device.  It is added to the PetaLinux project during the step to import the hw platform from the Vivado <>.xsa file design archive:

    https://github.com/Avnet/petalinux/blob/2020.1/scripts/common.sh#L313

     

    Recall that the <>.xsa file is copied from the Vivado project folder to the PetaLinux project folder previously in the common.sh script:

    https://github.com/Avnet/petalinux/blob/2020.1/scripts/common.sh#L299

     

    Sometimes users prefer to load the PL bitstream through the processing system (PS) PCAP interface once the OS has booted.  This is a way to speed up boot time for devices that need to boot as fast as possible.  We provide this capability as an option in the build script just for these users.

    https://github.com/Avnet/petalinux/blob/2020.1/scripts/common.sh#L405

    Normally this option is not used by most users.

     

    --Tom

    • 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