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
      •  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 & Tria Boards Community
  • Avnet Boards Forums
  • More
  • Cancel
Avnet Boards Forums
Avnet Boards General MicroZed SD Card boot problem
  • 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
  • Replies 5 replies
  • Subscribers 347 subscribers
  • Views 1300 views
  • Users 0 members are here
  • MicroZed Hardware Design
  • zedboardcmty
Related

MicroZed SD Card boot problem

hixboz
hixboz over 4 years 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. 

  • Sign in to reply
  • Cancel
Parents
  • jafoste4
    jafoste4 over 4 years 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
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • hixboz
    hixboz over 4 years ago in reply to jafoste4

    Hello, I have still same problem. I got Dropbear ssh key, before "Starting tcf-agent:OK" message. Probably the rootfs is mounting to system but could not see the root login. Should I add some serial configurations to device tree or does it can be solve by setting the bootargs from u-boot? Is there anyone to have similar issue like this?

    Thanks.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • bhfletcher
    bhfletcher over 4 years ago in reply to hixboz

    If you are using the Avnet posted BSP's pre-built image, you shouldn't have to make any modifications. The pre-built images were tested prior to posting. Reading back through, I see you formatted the first partition as vfat. I'm not sure what specific settings you used, but the recommendation is to use FAT32, like this:

    $ mkfs.vfat -F 32 -n boot /dev/sdc1

     

    There is a tutorial for SD card formatting here:

    https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/18842385/How+to+format+SD+card+for+SD+boot

     

    Bryan

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • bhfletcher
    bhfletcher over 4 years ago in reply to hixboz

    If you are using the Avnet posted BSP's pre-built image, you shouldn't have to make any modifications. The pre-built images were tested prior to posting. Reading back through, I see you formatted the first partition as vfat. I'm not sure what specific settings you used, but the recommendation is to use FAT32, like this:

    $ mkfs.vfat -F 32 -n boot /dev/sdc1

     

    There is a tutorial for SD card formatting here:

    https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/18842385/How+to+format+SD+card+for+SD+boot

     

    Bryan

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Children
No Data
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