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 Zedboard & Fmcomms2 QSPI boot and Image
  • 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 5 replies
  • Subscribers 328 subscribers
  • Views 609 views
  • Users 0 members are here
Related

Zedboard & Fmcomms2 QSPI boot and Image

Former Member
Former Member over 10 years ago

Hello to all, i have some problem for creating the QSPI image form Sdk Vivado or Sdk 14.4 .

When i create the qspi.msc whit sdk 14_4 the board boot well and the fpga is programed but i have this message out on serial terminal

Copying ramdisk...
Wrong Image Format for bootm command
ERROR: can't get kernel image!
zynq-uboot>

i make the qspi image whit fsbl, fil.bit, u-boot.elf
zImage.bin, devitree and ramdisk image.

I had found the qspi address in zynq.dtsi file on petalinux_2014_r2, i think ... and add this qspi offset in qspi image procedure found on pdf files CTT. When i program the qspi flash the fpga is programmed and the u-boot start
but dont found the kernel image for zImage or uImage format

here the definition of qspi address :


primary_flash: ps7-qspi@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "st,m25p80";
reg = <0x0>;
spi-max-frequency = <50000000>;
partition@0x00000000 {
label = "boot";
reg = <0x00000000 0x00500000>;
};
partition@0x00500000 {
label = "bootenv";
reg = <0x00500000 0x00020000>;
};
partition@0x00520000 {
label = "config";
reg = <0x00520000 0x00020000>;
};
partition@0x00540000 {
label = "image";
reg = <0x00540000 0x00a80000>;
};
partition@0x00fc0000 {
label = "spare";
reg = <0x00fc0000 0x00000000>;
};
};

When i try to make the same file whit vivado 2014 the board doesn't boot or program the fpga and the i cant see the blue led done.

where i wrong ?

thanks in advance
-Nicolas

  • Sign in to reply
  • Cancel
  • Former Member
    0 Former Member over 10 years ago

    Hi Nicolas,

      When you are attempting to boot Linux using the u-boot version from 2014.2, it requires that the zImage be packaged in a wrapper.  This is called a uImage, and should also be available in your build image directory.  Just try using the uImage instead of the zImage.

    Ron

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

    Hi Ron,
    thank you for the quicly response, i had try to use the uImage whit extension changed in uImage.bin and prepare the qspi.mcs but i get the same error on booting

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

    Hi Nicolas,

      Which board are you using for your target?

      Seems like there might be several issues going on here.  Could be that you haven't correctly configured u-boot and/or Linux for QSPI booting, or the MTD partitions are incorrect or one of several related issues that are release dependent.  I would suggest trying a known good procedure for QSPI booting, just to familiarize yourself with the process, then you can go from a working model to your configuration and see what changes need to be made.

    Under the PicoZed reference designs on this site, there is a document there for QSPI and eMMC booting.  Take a look at the section on QSPI booting, which uses Linux loaded from SD to program the QSPI.  You can also verify the MTD partitions you expect are the correct ones that correspond to your image, and there is a section in the document on modifying the MTD partitions if you need to.  The material in the document, apart from eMMC, is common to all Zynq devices.

    Ron

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

    Hi Ron,
    my target board is ZedBoard and Fmcomms2-EZB, my system enviroment is :

       Virtual Machine Linux Centos and Petalinux 2014_R2
       Vivado 2014 2 and SDK

    Im need to program the Qspi Flash whit a linux boostrap image whitout Sd card

    i will see the PicoZed reference documents

    thankyou in advance

    Nicolas

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

    OK, let me know if that works for you.

    Ron

    • 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