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 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 Ultrazed: SD card booting failure
  • 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 7 replies
  • Subscribers 311 subscribers
  • Views 531 views
  • Users 0 members are here
Related

Ultrazed: SD card booting failure

Former Member
Former Member over 8 years ago

Hello, 

I'm trying to boot a petalinux from the SD card without any success. I have tried the one provided by avnet or one that I build with petalinux + vivado (I tried both 2016.2 and 2016.4).

The system is  booting on the EMMC and not with the uImage of the SD card...

 

With the one provided by avnet I have the following problem:

*** Warning - spi_flash_probe() failed, using default environment

With mine I have the following error:

*** Warning - bad CRC, using default environment

Do you have some suggestions?
Thanks
  • Sign in to reply
  • Cancel
  • jafoste4
    0 jafoste4 over 8 years ago

    Hello simalps,

    Just to double check, JP1 on the IO carrier card has a jumper installed correct?

    --Josh

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

    Hello Josh,

    thanks for your reply.

    Yes, it has: JP1 on the IO carrier card is armed. I tried to remove it and I also tried to arm the JP2 on the IO carrier card without any success. (Actually. I tried all the permutations of JP1 and JP2).

    JP1 of the SOM has been removed.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • jafoste4
    0 jafoste4 over 8 years ago

    Hello simalps,

    This seems quite strange you are encountering an issue with the provided SD boot.bin file. Just so I understand and have all the details, you are following the UltraZed-EG Starter Kit Tutorial correct http://zedboard.org/support/design/14201/126 ?

    Are you using the SD card that came with your kit or a different one? If you are using a different one is it formatted to FAT or FAT32(also please provide what kind of SD card you have back to me)? And for a sanity check , please double check you are setup correctly for SD Card boot(SOM SW2 Boot Mode switch (MODE[3:0] = SW2[4:1]) to ON, OFF, ON, and OFF positions (Boot Mode set to SD Card, MODE[3:0] = 0x5))

    --Josh

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

    Hello Josh,

    I confirm that jumpers are well configured to 0x5. I made additional tests. I already tried the files provided by the link you posted. Both are not working.

    I have now tried to build the BSP and the image using the official Avnet script: https://github.com/Avnet/software/blob/master/petalinux/scripts/make_uz3eg_petalinux_bsp.sh using this one seems to work but I still have the same error during the booting procedure. However, the petalinux OOB release is the 1.1 (instead of the 1.0) and I can see a dummy application that I introduced during the petalinux build.

    Creating my own petalinux does not work. I followed this steps

    petalinux-create --type project --template zynqMP --name zynqmptest

    cd zynqmptest

    petalinux-config --get-hw-description=<here I tried with both a project created from scratch and one from the bsp script>

    petalinux-create -t apps  --name dummyapp --enable

    petalinux-build

    petalinux-package --boot --format BIN --fsbl zynqmp_fsbl.elf --fpga design_1_wrapper.bit --u-boot --force

     

    This does not works.

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

    The BSP script that i used had the following configuration

    BUILD_BOOT_EMMC_OPTION=yes
    BUILD_BOOT_EMMC_OOB_OPTION=yes
    BUILD_BOOT_EMMC_NO_BIT_OPTION=no

    Now I'll build with 

    BUILD_BOOT_EMMC_OPTION=no
    BUILD_BOOT_EMMC_OOB_OPTION=no
    BUILD_BOOT_EMMC_NO_BIT_OPTION=no
     
    and I'll let you know if it still works. I'm a little bit confused...
     
     
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 8 years ago

    Josh,

    also with these settings it boot from the SD always with the error 

    Invalid bus 0 (err=-19)                                                         

    *** Warning - spi_flash_probe() failed, using default environment
     
    So, what I'm doing incorrectly when building my petalinux from scratch? Thanks
     
     
     
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 8 years ago

    Ok, I made a script for building petalinux 2016.2 using my hardware using the BSP script. It works

    • 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