element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Members
    Members
    • Benefits of Membership
    • Achievement Levels
    • Members Area
    • Personal Blogs
    • Feedback and Support
    • What's New on element14
  • Learn
    Learn
    • Learning Center
    • eBooks
    • STEM Academy
    • Webinars, Training and Events
    • More
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • More
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • More
  • Products
    Products
    • Arduino
    • Dev Tools
    • Manufacturers
    • Raspberry Pi
    • RoadTests & Reviews
    • Avnet Boards Community
    • More
  • 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
Avnet Boards Forums
  • Products
  • Dev Tools
  • Avnet Boards Community
  • Avnet Boards Forums
  • More
  • Cancel
Avnet Boards Forums
ZedBoard Hardware Design linux crash after PL load
  • Forums
  • Documents
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Avnet Boards Forums requires membership for participation - click to join
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Not Answered
  • Replies 18 replies
  • Subscribers 45 subscribers
  • Views 492 views
  • Users 0 members are here
Related

linux crash after PL load

Former Member
Former Member over 9 years ago

I have made a simple hardware design for the PL. I can load it with either JTAG or by cat'ing the file into xdevcfg. Once the hardware is loaded, it functions properly. Howver, all contact with the PS (running Linux) is gone. No terminal, no ethernet. Is it not possible to just load a bit file with no reference to the processor? Looking in the UCF there doesn't appear to be any reference to any processor specific IOs. I'm guessing that I need to route some PS dedicated pins to some specific hardware pins, but I would have thought that could be done without anything loaded into the PL at all. Any insight would be appreciated.

  • Reply
  • Cancel
  • Cancel
Parents
  • Former Member
    0 Former Member over 9 years ago

    Bump

    I'm running a QNX port to the Zedboard (from a ZC702 version). I have a PL configuration file that uses the GP and ACP interfaces for interrupts and reading values from some BRAM using a CDMA.

    Everything runs great when I boot and the FSBL configures the logic. If I try and reconfigure the PL with the exact same PL configuration (bin file instead of a bit file), QNX still runs fine. But as soon as I try to access anything over the AXI, the whole system hangs as described above.

    Does anyone have any insight to this? Could it be a problem with the silicon revision shipped with the Zedboard...? I haven't seen anyone else describing this scenario on other forums except for a random errata case when you try and access OCM and DDR from the PL at the same time (which I'm not doing).

    Looking at the FSBL code compared to the Linux and QNX PL drivers, there seems to be a PL "initialization" that happens at boot. I'm wondering if something like that might be necessary when reconfiguring...

    I guess it could also be a problem with my PL design. Maybe a reset isn't going to every piece from the PS, so the PL is cranking away while the PS tries to reconfigure the PL. I wouldn't think this would result in a system crash, but this new kind of SoC has some strange quirks to it.

    Anyone else make any progress?

    • Cancel
    • Vote Up 0 Vote Down
    • Reply
    • Verify Answer
    • Cancel
Reply
  • Former Member
    0 Former Member over 9 years ago

    Bump

    I'm running a QNX port to the Zedboard (from a ZC702 version). I have a PL configuration file that uses the GP and ACP interfaces for interrupts and reading values from some BRAM using a CDMA.

    Everything runs great when I boot and the FSBL configures the logic. If I try and reconfigure the PL with the exact same PL configuration (bin file instead of a bit file), QNX still runs fine. But as soon as I try to access anything over the AXI, the whole system hangs as described above.

    Does anyone have any insight to this? Could it be a problem with the silicon revision shipped with the Zedboard...? I haven't seen anyone else describing this scenario on other forums except for a random errata case when you try and access OCM and DDR from the PL at the same time (which I'm not doing).

    Looking at the FSBL code compared to the Linux and QNX PL drivers, there seems to be a PL "initialization" that happens at boot. I'm wondering if something like that might be necessary when reconfiguring...

    I guess it could also be a problem with my PL design. Maybe a reset isn't going to every piece from the PS, so the PL is cranking away while the PS tries to reconfigure the PL. I wouldn't think this would result in a system crash, but this new kind of SoC has some strange quirks to it.

    Anyone else make any progress?

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

    I just found this forum discussion:

    http://forums.xilinx.com/t5/Embedded-Linux/Zynq-Loading-bitfile-into-FPGA-from-Linux-xdevcfg/m-p/237872#M4062

    Sounds similar to what we're describing. I've been using the promgen method so I'm going to double check my command options. If there's nothing there, I'm going to try the bootgen method. I'll report back if I have any success.

    • Cancel
    • Vote Up 0 Vote Down
    • 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 © 2022 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

  • Facebook
  • Twitter
  • linkedin
  • YouTube