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
Ultrazed Hardware Design Booting from the SD-card: Uboot stuck at I2C:
  • 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 Suggested Answer
  • Replies 10 replies
  • Answers 1 answer
  • Subscribers 325 subscribers
  • Views 2022 views
  • Users 0 members are here
Related

Booting from the SD-card: Uboot stuck at I2C:

deville
deville over 6 years ago

Hi Everyone,

 

I'm doing a manual build for the Ultrazed-EV-SOM board and When I try to boot the message queue stops at I2C:

By absence of the defconfig of the board I used the  Xilinx ZynqMP ZCU102 revA defconfig like I've encountered on the old Avnet forums.

 

 

Xilinx Zynq MP First Stage Boot Loader

 

Release 2018.2 Feb 6 2019 - 12:16:26

NOTICE: ATF running on XCZU7EV/silicon v4/RTL5.1 at 0xfffea000

NOTICE: BL31: Secure code at 0x0

NOTICE: BL31: Non secure code at 0x8000000

 

NOTICE: BL31: v1.4(release):93a69a5a

NOTICE: BL31: Built : 12:25:57, Feb 5 2019

 

PMUFW:\0x09v1.0

 

U-Boot 2018.01-dirty (Feb 06 2019 - 12:11:01 +0100) Xilinx ZynqMP ZCU102 revA

I2C:

 

Has someone an idea how to get past this or what might be wrong?

 

Deville

  • Sign in to reply
  • Cancel
Parents
  • drozwood90
    0 drozwood90 over 6 years ago

    HI,

     

    It seems odd that it is stopping at that location.  The first thing that comes to my mind is to reseat the SOM on the carrier.  The connectors are rather stiff due to the signal integrity they were designed for.  Make sure to carefully disconnect the SOM.  Then after aligning it, press it back in following the perimeter of the board pressing every 1 inch or so.  Visually look along the edge of the connector and ensure that the top and bottom are mating properly.

     

    Of course follow all ESD safety when doing this as you will be touching the bare board during this process.

     

    --Dan

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

    Thanks @Daniel Rozwood 

     

    It is indeed odd, I must say. There is however one unresolved question about this on the Xilinx furum.  XLNX_FORUM: https://forums.xilinx.com/t5/Embedded-Linux/Petalinux-2017-1-Uboot-stuck-at-quot-I2C-quot-with-ZCU102/td-p/796958

    I did remount the SOM onto the carrier board, but things are the same. It is worth mentioning i'm doing a build for an SD card an the on-board emmc images boots fine. We need to however add some extras at a later stage so mastering the boot process is very important for us.

     

    Deville

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

    Deville,

     

    Thanks for trying the re-seating.  It seems silly, but often we see that correct a lot of funny issues.  Again, mostly due to the mechanical forces - most people do not squeeze hard enough.

    Which SDCARD are you using?

     

    --Dan

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

    It is a Samsung 32GB EVO Plus card ( SDHC ), We never had a problem, as far as we could recognize, with this card. The Zynq US+ should be able to handle SDXC cards.

     

    Edit: It has been working on the ZCU102 board from Xilinx.

     

    Deville

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

    Have you tried with the included SDCARD?

     

    --Dan

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

    Have you tried with the included SDCARD?

     

    --Dan

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
  • deville
    0 deville over 6 years ago in reply to drozwood90

    Good idea Daniel, I forgot about this option because the original SD got corrupted somehow.

     

    After testing with some files which came pre-build ( uz7ev_evcc_sd_oob_2017_4_bsp ) I got past this message, but this only clears the hardware.

     

    Meanwhile I'm trying to extract the U-boot sources from the Petalinux BSP source files which where provided by Avnet. This is quite the hassle.

     

    Deville

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

    Deville,

     

    Can you post the model number of the card you were using?  It is possible it is the model, not the type.  ZU+ does support SDHC, but we also know that the controllers in SDCARDS are not always 100% to the standards and thus are not necessarily compatible.  As such, we have actually partnered with Delkin to verify / test their SDCARDS over temperature (chart of testing in the document listed below).

     

    There is a SDCARD Advice document that has pointers to the manuals where all the details of what is supported for the various Xilinx products.

    http://avnet.me/sdcard_advicev2

    See page 5.  Those came straight from the linked documentation, see appendix c.

     

    As far as I know, we do not typically have / manipulate the sources for U-Boot.  We leverage what is on the Xilinx GIT regarding the boot loaders at each level of boot.  Typically we only mess with the OS level stuff (drivers / resourcing, etc.).  Have you checked out their GIT for the sources?

     

    --Dan

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

    Hi Dan, Thanks for sticking with me for this.

     

    The Card product number is: MB-MC32GA/EU : https://sg.rs-online.com/web/p/sd-cards/1449017/

    But I used the same card to get passed the original "IC: " message so I assume my problem is due to something else.

     

    Yes, I do checkout the Xilinx repositories and build from there as i've done for the ZCU102 board. It is good to know I should continue to use my original Xilinx boot process files because it's needs some hacking to extract the original sources from the Petalinux build environment.   

     

    Deville

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

    I got past this message by extracting the correct source files from the Petalinux project && I like to add how I extracted the Petalinux source files.

     

    1.First make a backup directory:

    mkdir ~/rsync-peta-project

     

    2.then create and build the project

    #for this example uz7ev_evcc_2018_2.bsp

    petalinux-create -t project -s /home/user/uz7ev_evcc_2018_2.bsp

     

    cd ~/uz7ev_evcc_2018_2

     

    #This starts the build of the project.

    petalinux-build

     

    3.In another terminal run following command

    while true; do rsync -av ~/uz7ev_evcc_2018_2/  ~/rsync-peta-project/  ; sleep 30; done

     

    There you can search the backup directory for the the source files:

    .config, platform-auto.h, platform-top.h, system-top.dtb, etc..

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • sungyung_lim
    0 sungyung_lim over 5 years ago in reply to deville

    Hi Deville,

     

    I've recently encountered the exactly same problem you had done.

    I'm using buildroot with Xilinx uboot and Linux. It has no defconfig file, device tree files, and header files for ultrazed-ev.

    So I used "zcu102 defconfig" and encountered the same issue.

     

    I'm now learning the process of building embedded Linux package. I'm wondering whether you would share your finding.

     

    Thank you for your consideration.

     

    Thanks - S.Y.

    • 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