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
Avnet Boards General Issues w/ U-boot and root-fs process in Zynq-Linux Lab 2.2
  • 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 353 subscribers
  • Views 179 views
  • Users 0 members are here
Related

Issues w/ U-boot and root-fs process in Zynq-Linux Lab 2.2

Former Member
Former Member over 11 years ago

Hi there. I'm having some issues with the results of the Zynq-Linux Lab 2.2, when I try to boot the ZedBoard. I consistently get the following error message out of u-boot:

Wrong Ramdisk Image Format
Ramdisk image is corrupt or invalid

I followed the procedure outlined in 2.2. I've even tried loading u-boot with both the uncompressed ramdisk and the gzip'ed version. Same message.

In the interest of full disclosure, I am using the 14.7 toolchain, and as such, I checked out the xilinx-14.7 tag of u-boot. I did the correct configure, and had no build errors. So I'm not certain why this issue would come up. I can mount the uncompressed ramdisk image just find in openSUSE, so I don't really think it is an ext2 format issue.

Have any of you guys done the same lab procedure using the 14.7 toolchain, and been able to create a boot SD card boot set?

I've also tried manually using the u-boot "fatload" commands to load the file into memory, as I thought maybe the mem offsets used by default in uboot would mess thing up. The fatloads worked fine - but no matter what, the bootz or bootm is what would fail. Here is what I normally try:

zynq-uboot> fatload mmc 0 0x80000 zImage
reading zImage
3083112 bytes read in 277 ms (10.6 MiB/s)
zynq-uboot> fatload mmc 0 0x1A00000 devicetree.dtb
reading devicetree.dtb
7284 bytes read in 16 ms (444.3 KiB/s)
zynq-uboot> fatload mmc 0 0x2000000 uramdisk.image
reading uramdisk.image
33554432 bytes read in 2823 ms (11.3 MiB/s)
zynq-uboot> bootz 0x80000 0x2000000
Kernel image @ 0x080000 [ 0x000000 - 0x2f0b68 ]
Wrong Ramdisk Image Format
Ramdisk image is corrupt or invalid
zynq-uboot>


Thoughts?

Thanks,

-D


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

    There are differences between the Zynq-Linux Labs done in earlier versions of the Xilinx tools and the way it works now. If you take a look at the modifications to the labs detailed in the  Open Source Linux USB Host Tutorial, version 14.5 here: http://www.zedboard.org/design/1521/11

    it will get you part of the way. I don't think the script to update the devicetree.dtb will work, you will probably need to make the required modifications by hand. Of course you don't need to do the final steps for theUSB Host stuff.

     

    -Gary

     

    • 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 © 2026 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