element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Members
    Members
    • Benefits of Membership
    • Achievement Levels
    • Members Area
    • Personal Blogs
    • Feedback and Support
    • What's New on element14
  • Learn
    Learn
    • Learning Center
    • eBooks
    • STEM Academy
    • Webinars, Training and Events
    • More
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • More
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • More
  • Products
    Products
    • Arduino
    • Dev Tools
    • Manufacturers
    • Raspberry Pi
    • RoadTests & Reviews
    • Avnet Boards Community
    • More
  • 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
Avnet Boards Forums
  • Products
  • Dev Tools
  • Avnet Boards Community
  • Avnet Boards Forums
  • More
  • Cancel
Avnet Boards Forums
General MicroZed SD Card boot problem
  • Forums
  • Documents
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Avnet Boards Forums requires membership for participation - click to join
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 5 replies
  • Subscribers 43 subscribers
  • Views 292 views
  • Users 0 members are here
  • MicroZed Hardware Design
  • zedboardcmty
Related

MicroZed SD Card boot problem

hixboz
hixboz 7 months ago

Hello all,

 

I am trying to build custom Linux for MicroZed 7010 by using Petalinux 2018.3. I would like to boot it from sd card. I have installed Petalinux and I have only changed INITRAMFS mode to SD card mode from "petalinux-config" . Than I have compiled the system without any error. My sd card is SDHC 16GB class 10. I have formatted it with two partitions as vfat and ext4. After compilation process has done, I copied to BOOT.BIN and image.ub file to first partition. For rootfs, I used the command like "sudo dd if=rootfs.ext4 of=/dev/sdb2 conv=fsync bs=1M".

 

I got below message and booting process has stopped before root login.

"bootconsole [earlycon] disabled"

 

In u-boot, I have changed the bootargs as

"earlycon console=ttyPS1,115200"

 

After that, I got lastly this message and I couldn't get into root login.

"Starting tcf-agent: OK"

 

I have set the boot jumpers correctly. How can I solve this problem?

Thanks inadvanced. 

  • Reply
  • Cancel
  • Cancel
Parents
  • jafoste4
    jafoste4 7 months ago

    Hi,

     

    Just to confirm using one of our pre-built images are you able to boot your MicroZed?

    Verifying this would validate your jumper settings and the quality of your SD Card. Leaving the only variable to look into being your custom image.

     

    Also when you built your image were you starting from one of our petalinux BSPs?

     

    Thx,

    Josh

    • Cancel
    • Up 0 Down
    • Reply
    • Cancel
  • hixboz
    hixboz 7 months ago in reply to jafoste4

    Hello Josh,

     

    I noticed that there is no "primary sd" option under "Advanced bootable images storage media->boot image settings" while configuration process. I checked the tutorials which explains booting from sd card and there is "primary sd" option in these tutorials. I got lastly  "Starting tcf-agent:OK" message and there is no any error. In tutorials, root login prompt comes after "Starting tcf-agent:OK" message. I suspect that the root filesystem configurations. Additionally, I observerd the root file system typing "ls mmc 0:2" in u-boot. Is there a chance that root filesytem not mounting from sd card to system?

     

    Thanks. 

    • Cancel
    • Up 0 Down
    • Reply
    • Cancel
Reply
  • hixboz
    hixboz 7 months ago in reply to jafoste4

    Hello Josh,

     

    I noticed that there is no "primary sd" option under "Advanced bootable images storage media->boot image settings" while configuration process. I checked the tutorials which explains booting from sd card and there is "primary sd" option in these tutorials. I got lastly  "Starting tcf-agent:OK" message and there is no any error. In tutorials, root login prompt comes after "Starting tcf-agent:OK" message. I suspect that the root filesystem configurations. Additionally, I observerd the root file system typing "ls mmc 0:2" in u-boot. Is there a chance that root filesytem not mounting from sd card to system?

     

    Thanks. 

    • Cancel
    • Up 0 Down
    • Reply
    • Cancel
Children
No Data
Element14

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 © 2022 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

  • Facebook
  • Twitter
  • linkedin
  • YouTube