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 Not able to boot Linux from SD card
  • 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 11 replies
  • Subscribers 366 subscribers
  • Views 984 views
  • Users 0 members are here
Related

Not able to boot Linux from SD card

Former Member
Former Member over 10 years ago

Hi all,

I am trying to boot Linux from SD card on a Zedboard rev C. I'm able to successfully boot Linux using the files provided with the Zedboard (OOB design), but not with those generated by PetaLinux. I know for sure that the image created by PetaLinux works correctly as I have used it many times on a different Zedboard. I have also checked that all the jumpers are in the correct position.

Any ideas or suggestions?


Thanks,

David

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

    You don't mention which version of PetaLinux you are using, but it could be the situation outlined in this Xilinx Answer Record:

     

    http://www.xilinx.com/support/answers/58611.html

     

    The Rev C ZedBoard has Zynq ES silicon device.

     

    You might also want to try another SD Card, or use the one that boot successfully with the OOB design, if you are using a different SD Card.

     

    -Gary

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

    Hi Gary,

    I'm using PetaLinux 2014.2. Am I correct in assuming that DCACHE is also enabled by default in this version?

    The Xilinx Answer Record 58611 mentions editing the file petalinux-user-config.h.template. Unfortunately, this file doesn't seem to be available in version 2014.2. Do you know a workaround for the version I'm using. Alternatively, I would have to go back to version 2013.04.

    One interesting thing is that I was able to boot Linux on another Zedboard rev C using the files generated by PetaLinux. Different manufacturing dates maybe?

    Thanks,

    David

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

    I will ask our SW guys about PetaLinux version 2014.2.

     

    All rev D Zedboards have production silicon. I suppose it is possible that some rev C Zedboards are not ES silicon. You could check the silicon rev for both of your rev C ZedBoards and see if they are the same. Per UG585, the Zynq TRM (http://www.xilinx.com/support/documentation/user_guides/ug585-Zynq-7000-TRM.pdf ) on page 1160, you can read the MCTRL register and retrieve the silicon rev.

     

    To read the MCTRL Launch an XMD console in SDK and then connect to the ARM  "connect arm hw" and then read the register with a memory read command "mrd 0xF8007080".  The MS 4 bits are the silicon rev. Rev 3 or higher (0x2 or 0x3) is production silicon.

     

    -Gary

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

    Hi David,

    I am not sure of an easy way to tell whether or not DCACHE is enabled by default or not in 2014.2 but you could try adding those lines to <PROJECT>/subsystems/linux/configs/u-boot/platform-auto.h instead:

    #ifndef CONFIG_SYS_DCACHE_OFF
    #define CONFIG_SYS_DCACHE_OFF
    #endif

    Regards,

    -Kevin

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

    Thank you Kevin.

    I have already tried adding those lines with no success. As per Gary's advise, I have confirmed that the Zedboard I am working with has ES silicon. Unfortunately, I have no longer access to the second Zedboard on which I was able to boot PetaLinux.

    My question at the moment is what version of the Xilinx tools (Vivado, PetaLinux) should I use when working with ES silicon?

    Thanks,

    David

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

    I am having a really hard time trying to get this working. I have even fallen back to PetaLinux 2013.10 and have followed the instruction in AR# 58611. However, I am still unable to boot PetaLinux. I don't get any output on the remote terminal. Is there anything further that needs to be taken into account for a rev C ZedBoard (ES silicon)?

    Thank you,

    David

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

    I have also tried booting PetaLinux from JTAG using SDK's XMD console. I'm getting the following error:

    XMD% dow C:/Users/dperlaza.HIMA_WA/ftp/linux/u-boot.elf
    Downloading Program -- C:/Users/dperlaza.HIMA_WA/ftp/linux/u-boot.elf
    tsection, .text: 0x1fc00000-0x1fc298c7
    tsection, .rodata: 0x1fc298c8-0x1fc33ce7
    tsection, .hash: 0x1fc33ce8-0x1fc33d13
    tsection, .ARM.extab: 0x1fc33d14-0x1fc33d1f
    tsection, .data: 0x1fc33d20-0x1fc3559b
    tsection, .got.plt: 0x1fc3559c-0x1fc355a7
    tsection, .u_boot_list: 0x1fc355a8-0x1fc35b47
    tsection, .rel.dyn: 0x1fc35b48-0x1fc3bb5f
    tsection, .bss: 0x1fc35b48-0x1fc6a8b3
    Download Progress.ERROR: Failed to download ELF file


    tAP transaction error (DP CTRL_STAT=0xf0000021)
    tError Address = 0x1fc00000, Size = 0x00000004

    What am I missing here?


    Thanks,

    David

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

    Hi David,

    Rather than complicating issues further, I would like to try to divide an conquer the 2014.2 issue first.  I don't know of any reason why 2014.2 tools would have any issues with hardware using ES silicon.

    To eliminate some possibilities, let's try to do something rather basic things.  I see that you have already tried the OOB Linux image from Digilent and that seems to work fine.  Have you tried booting your Rev. C ZedBoard with the pre-built files that come with the PetaLinux 2014.2 ZedBoard BSP?

    I have a Rev. B ZedBoard on my desk which should also be ES silicon like you are using on your Rev. D ZedBoard.  I am able to boot my ZedBoard using the pre-built files from the PetaLinux 2014.2 ZedBoard BSP found in the <PROJECT>/Avnet-Digilent-ZedBoard-2014.2/pre-built/linux/images/ folder.  Can you confirm that these files work okay to boot your Rev. C ZedBoards without issue?

    Regards,

    -Kevin

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

    Hi Kevin,

    I have tried the pre-built PetaLinux image (version 2014.2) and nothing happens. The LED LD12 never lights and I don't get any output on the remote terminal.

    Unfortunately, I only have one Zedboard at the moment (rev C) and am not able to confirm if the pre-built images work on a different board.

    Cheers,

    David

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

    Kevin,

    I'm using the same SD card that boots successfully with the OOB Linux image. So, I don't think it's a problem with the SD card.

    Cheers,

    David

    • 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