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
Ultra96 Hardware Design Ultra96 boots from AVNet's SD card but not mine
  • 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 6 replies
  • Answers 1 answer
  • Subscribers 333 subscribers
  • Views 1636 views
  • Users 0 members are here
  • ultra96
  • boot sequence
  • boot
  • SD card
Related

Ultra96 boots from AVNet's SD card but not mine

rich_dubielzig_rbt
rich_dubielzig_rbt over 6 years ago

I have an Ultra96 that boots to the GUI using the 16Gb SD card that came with the unit.

 

When I create my own SD card that I've populated with my own code.  I cannot boot at all.

 

The red "INIT_B" LED at DS7 stays lit and never switches to the green "DONE" LED at DS6.  I have a USB-to-JTAG/UART Pod for the device, but no serial traffic is detected.

 

However, I don't believe that the board is even attempting to execute my code, because the same behavior is expressed when I copy the contents of the AVNet card's boot partition into my own card's boot partition.  In this situation I would at least expect an attempt to boot, followed by a dump of errors on the monitor due to library mismatches.

 

Questions:

 

1.  What is the meaning of the INIT_B and DONE LEDs?  They are not described in the Ultra96 HW User's Guide.  What software or firmware is responsible for turning on and off the LEDs?

 

2.  Here are the results of fdisk -l run against my own SD card and the AVNet supplied card.  Does anything look wrong in the way it was formatted?

 

 

Stock SD card:

 

root@Ultra96:/var/run/media/mmcblk0p1# fdisk -l /dev/mmcblk0

Disk /dev/mmcblk0: 14.9 GiB, 15931539456 bytes, 31116288 sectors

Units: sectors of 1 * 512 = 512 bytes

Sector size (logical/physical): 512 bytes / 512 bytes

I/O size (minimum/optimal): 512 bytes / 512 bytes

Disklabel type: dos

Disk identifier: 0x32f37a38

 

 

Device         Boot   Start      End  Sectors  Size Id Type

/dev/mmcblk0p1 *       2048  2099199  2097152    1G  b W95 FAT32

/dev/mmcblk0p2      2099200 16320511 14221312  6.8G 83 Linux

 

 

My SD card:

 

rich@rich-vbox ~/ultra96/u96_hackster/images/linux $ sudo fdisk -l /dev/sdb

[sudo] password for rich:

Disk /dev/sdb: 59.6 GiB, 64021856256 bytes, 125042688 sectors

Units: sectors of 1 * 512 = 512 bytes

Sector size (logical/physical): 512 bytes / 512 bytes

I/O size (minimum/optimal): 512 bytes / 512 bytes

Disklabel type: dos

Disk identifier: 0x01f31e0a

 

 

Device     Boot   Start       End   Sectors  Size Id Type

/dev/sdb1  *       2048   2099199   2097152    1G  b W95 FAT32

/dev/sdb2       2099200 125042687 122943488 58.6G 83 Linux

 

Message was edited by: Rich Dubielzig Added fixed-width formatting to fdisk outputs

  • Sign in to reply
  • Cancel

Top Replies

  • rich_dubielzig_rbt
    rich_dubielzig_rbt over 6 years ago +2 suggested
    The problem was related to my choice of SD card. While I am marking Bryan's answer as correct, I did not go with a Delkin card, but rather a SanDisk Industrial 16Gb card, as that was the exact model that…
  • rich_dubielzig_rbt
    rich_dubielzig_rbt over 6 years ago +1
    A followup to explain how I have attempted to generate my own code. First attempt: Following the instructions posted on 96boards.org, but using Petalinux 2018.3 and the 2018.3 version of the ultra96 BSP…
Parents
  • rich_dubielzig_rbt
    0 rich_dubielzig_rbt over 6 years ago

    A followup to explain how I have attempted to generate my own code.

     

    First attempt:

     

    Following the instructions posted on 96boards.org, but using Petalinux 2018.3 and the 2018.3 version of the ultra96 BSP:

     

    https://www.96boards.org/documentation/consumer/ultra96/build/peta-linux.md.html

     

    Second attempt:

     

    Following the instructions given in in the first method of this blog post, but using the 2018.3 versions of Vivado and Xilinx SDK:

     

    https://www.hackster.io/adam-taylor/two-methods-of-building-petalinux-for-the-ultra96-77c8e0

     

    If I built according to the Hackster blog's methods, I should definitely expect serial traffic from the u-boot because psu_uart_1 was specified as stdin/stdout in the petalinux serial settings, correct?

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • rich_dubielzig_rbt
    0 rich_dubielzig_rbt over 6 years ago in reply to rich_dubielzig_rbt

    I've just attempted a "Factory restore" format of the SD card per the instructions from here:

     

    | Zedboard

     

    I downloaded the SD card image from Linaro and flashed it over the SD card using etcher.  The board still does not boot.

     

    I am using a 64GB Samsung EVO select SD Card.  Is there a maximum SD card size that is supported by the Ultra96?  Do I need one that is exactly 16Gb in size?

     

    -Rich

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • rich_dubielzig_rbt
    0 rich_dubielzig_rbt over 6 years ago in reply to rich_dubielzig_rbt

    I've just attempted a "Factory restore" format of the SD card per the instructions from here:

     

    | Zedboard

     

    I downloaded the SD card image from Linaro and flashed it over the SD card using etcher.  The board still does not boot.

     

    I am using a 64GB Samsung EVO select SD Card.  Is there a maximum SD card size that is supported by the Ultra96?  Do I need one that is exactly 16Gb in size?

     

    -Rich

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
  • Gough Lui
    0 Gough Lui over 6 years ago in reply to rich_dubielzig_rbt

    I don't have a Zedboard, but there are several possibilities -

    • There could be some incompatibility with Samsung EVO series cards - I've had errors running these cards in Raspberry Pi boards causing intermittent issues (read-only filesystems due to communication errors) and no issues using other brands (Sandisk, Kingmax, Sony, Lexar, Toshiba, etc). It pays to remember that not all cards are equal - in the early days, Raspberry Pi had great issues with certain Class 10 cards ... it often boils down to the way the SD controller is coded as well.
    • There could be a problem with cards of a particular capacity support (e.g. no SDXC, only SDHC).

     

    Perhaps to troubleshoot more, you could:

    • Image your existing working 16GB card and write the image to the 64GB card and try booting from it. If it doesn't boot - it's likely a card compatibility issue (but we don't know if that's size or brand/controller).
    • Try a different branded SDXC (>32GB) card with the same image or try an SDHC card (4-32GB).

     

    - Gough

    • 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