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
Software Application Development Loading bitmap after boot with Zynq MMP bsp and petalinux?
  • 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 Verified Answer
  • Replies 2 replies
  • Subscribers 328 subscribers
  • Views 348 views
  • Users 0 members are here
Related

Loading bitmap after boot with Zynq MMP bsp and petalinux?

Former Member
Former Member over 9 years ago

I would like to boot petalinux on my Zynq MMP 7z045 without a bitmap and then program the bitmap at a later time via the /dev/xdevcfg dev node.  I had this working on a MicroZed 7z020 board, but I now need more fabric.  I was hoping this just meant I would move up to the 7z045.

The problem I have now is that it's hanging during boot at "Starting kernel ..."  Looking around in the forums, it sounds like this is probably due to the kernel trying to probe for stuff in the device tree and since I don't have the fabric loaded, the AXI bus gets locked up when it tries to probe the fabric.

I'm using the BSP from http://microzed.org/sites/default/files/design/Zynq_MMP_z7045_PetaLinux_BSP_2014_4.zip.  And it appears that it includes some components out in the fabric:  There are 3 gpio blocks and another component listed in subsystems/linux/configs/device-tree/pl.dtsi.

Formerly, I used the BSP from http://microzed.org/sites/default/files/design/Avnet-MicroZed-7z020-v2014.4_v2.zip, and the resulting pl.dtsi in my petalinux project is empty.

Three questions:
  1. Does my hypothesis make sense that the MMP BSP includes assumptions about components in the fabric?
  2. If so, why does the new BSP include those?  Is there a board level reason they're required?
  3. What's the easiest way for me to get a BSP that will allow me to boot linux without loading the fabric?

  • Sign in to reply
  • Cancel
  • bhfletcher
    0 bhfletcher over 9 years ago
    1.   Yes
    2.   The fabric components are not necessary, but included for convenience. MicroZed can operate standalone, so the default hardware platform is pretty basic -- no PL peripherals at all since the PL I/Os are not available when MicroZed operates standalone.
    3.   Remove those peripherals from the devicetree, and you should be OK. If you wanted to remove all traces, you'd need to take the hardware platform provided in the BSP and strip out the PL peripherals. Then update your kernel.

     

    Bryan

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

    Thanks Bryan,

    I think that there are some fabric components; they show up in pl.dtsi file, and I suspect that its when their drivers try to probe for them during boot, that's when the system hangs.

    I assume that the pl.dtsi file is the one that you're talking about in paragraph 3.  It has a big warning at the top that it's "automatically generated by Xilinx", so I figured I shouldn't touch it and instead try to figure out how it's generated.  It also seems to get overwritten every time I do a petalinux-config, for example to modify the rootfs configuration.

    In any event, the solution that I have now gotten working was to use an *.hdf file instead of a *.bsp file as described on pages 19 through 26 of http://www.xilinx.com/support/documentation/sw_manuals/petalinux2015_4/ug1144-petalinux-tools-reference-guide.pdf.  I was able to load the 2015.2 reference design into vivado 2015.4 and then strip out the offending components and export the *.hdf.

    Tom

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Reject 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