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
Mini-ITX Hardware Design Ubuntu - the board does not boot from provided BOOT.bin
  • 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 8 replies
  • Subscribers 334 subscribers
  • Views 1012 views
  • Users 0 members are here
Related

Ubuntu - the board does not boot from provided BOOT.bin

Former Member
Former Member over 10 years ago

Hi,

I have the Zynq Mini-ITX 7Z100 and currently I am trying to get the Ubuntu Linux to run.
I downloaded the "Zynq Mini-ITX 7Z100 Ubuntu v2014.4" package containing all the necessary files and went through the tutorial, in order to generate the needed BOOT.bin file. Everything worked out great, but the board does not boot from the sd card containing the generated boot file at all.
Neither the provided files for the sd card are working.

Also I have tried out the "Zynq Mini-ITX 7Z100 Ubuntu v2013.4" package and the supplied files from there, but the result is the same.

I donu00B4t get any response on the terminal and the blue LED does not illuminate.

The only thing that works, is the out of the box image from the package "Zynq Mini-ITX 7Z100 Out-of-Box Linux v2013.4".
Using the files provided in this package I am able to boot.
I get the blue LED and a prompt on the terminal.


Can someone please help? How can I generate a BOOT.bin file that will work, so I can then boot Ubuntu? I am doing everything that the tutorial describes.

Thank you in advance

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

    Hi,

    If you aren't getting the blue LED, then the first stage loader is not even able to program the PL with the bitstream, and that is very early on in the boot process and has nothing to do with Ubuntu.  So let's isolate on the boot process to see if we can get that working.

    Just to be 100% sure, I downloaded the Ubuntu 2014.4 package for the 7z100 and installed only the BOOT.BIN file on the SD card.  It loads the FPGA correctly, and on the serial console U-boot runs and ends at the command line when it fails to locate a boot image.  Again, exactly the operation I would expect with only the BOOT.BIN in place.

    So let's get the board booting first and not worry about Ubuntu.  

    1)  You should be using the BOOT.BIN from the sd_card folder in the downloaded package, not one you have generated.

    2)  For this test, you only need connect the power and the USB serial line.  We only care about programming the FPGA and seeing serial output.   The switch block must be set to OFF:OFF:ON:ON:OFF (where ON is towards the Zynq device) to boot from microSD.

    3)  Some SD cards are not compatible with Zynq.  Are you using the same microSD card for the successful OOB boot as you are using for the Ubuntu test?  If not, try booting the OOB design using the Ubuntu card.  Perhaps the microSD is the issue.

    4) Validate that your BOOT.BIN file is not corrupt.    I ran an MD5 checksum on BOOT.BIN only and the result is:

    CD95C9C7A8F1316A63EC9D1AA9F8E8E4

    Using this procedure, when you switch on power, the blue DONE LED on the board should illuminate almost immediately, and you should see the U-boot countdown on the serial terminal.   U-boot will fail to find any other files on the card, and so will print an error and end at the prompt.  You can interact with U-boot through the serial console at this point.

    Let me know what happens.

    Ron

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

    Hi,

    If you aren't getting the blue LED, then the first stage loader is not even able to program the PL with the bitstream, and that is very early on in the boot process and has nothing to do with Ubuntu.  So let's isolate on the boot process to see if we can get that working.

    Just to be 100% sure, I downloaded the Ubuntu 2014.4 package for the 7z100 and installed only the BOOT.BIN file on the SD card.  It loads the FPGA correctly, and on the serial console U-boot runs and ends at the command line when it fails to locate a boot image.  Again, exactly the operation I would expect with only the BOOT.BIN in place.

    So let's get the board booting first and not worry about Ubuntu.  

    1)  You should be using the BOOT.BIN from the sd_card folder in the downloaded package, not one you have generated.

    2)  For this test, you only need connect the power and the USB serial line.  We only care about programming the FPGA and seeing serial output.   The switch block must be set to OFF:OFF:ON:ON:OFF (where ON is towards the Zynq device) to boot from microSD.

    3)  Some SD cards are not compatible with Zynq.  Are you using the same microSD card for the successful OOB boot as you are using for the Ubuntu test?  If not, try booting the OOB design using the Ubuntu card.  Perhaps the microSD is the issue.

    4) Validate that your BOOT.BIN file is not corrupt.    I ran an MD5 checksum on BOOT.BIN only and the result is:

    CD95C9C7A8F1316A63EC9D1AA9F8E8E4

    Using this procedure, when you switch on power, the blue DONE LED on the board should illuminate almost immediately, and you should see the U-boot countdown on the serial terminal.   U-boot will fail to find any other files on the card, and so will print an error and end at the prompt.  You can interact with U-boot through the serial console at this point.

    Let me know what happens.

    Ron

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

    Hi,

    thank you for your fast response. I now donu00B4t have the opportunity to test your approach, but I already had similar testing approaches.
    My setup is the following:
    1) The board has got power, all 8 green LEDs are illuminated and the USB UART is connected to my host computer. Nothing else is attached.
    2) The boot switch is set to sd boot mode, 00110, just as you described.
    3) The sdcard is partitioned according to the tutorial. 4MB unallocated, 400MB FAT32, remaining space ext4 partition. The card has a capacity of 4GB and was partitioned using gparted.
    4) Just the BOOT.BIN from the OOB archive (Zynq Mini-ITX 7Z100 Out-of-Box Linux v2013.4) is copied to the FAT32 partition. md5sum: bd1df2ae8e8faff6252ec270b38a0760

    The board is powered up, blue LED lights up and I get a prompt at the terminal screen as you described.

    Then I replace on the same sdcard the BOOT.BIN file, with the BOOT.BIN from the Ubuntu archive (Zynq Mini-ITX 7Z100 Ubuntu v2014.4). md5sum: cd95c9c7a8f1316a63ec9d1aa9f8e8e4

    And the board does not boot up, no LED, no terminal screen activity.

    This is already the second sdcard I was testing this with. At first I tried a 32 GB class 10 card, but not even the OOB BOOT.BIN booted from it. Then I tried the 4 GB card and at least the OOB image was booting.

    I kind of have the feeling, the sdcard might be the problem here. Maybe the way it was partitioned. Now I found this article: http://www.wiki.xilinx.com/Prepare+Boot+Medium
    I will try it according to it, not with gparted.
    There is also the approach to mark the first partition with a boot flag, I could try it also. But that does not explain, why the one BOOT.BIN does boot up and the other one doesnu00B4t.
    And maybe try a third sdcard.

    What kind of sdcard have you been using and how did you partioned it?

    I will post as soon as I have some news.
    Thank you for your time
    Andrej

    • 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