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
Using Xilinx Tools Forum to set boot from microSD where booting stops at U-Boot-PetaLinux
  • 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 1 reply
  • Subscribers 335 subscribers
  • Views 503 views
  • Users 0 members are here
Related

to set boot from microSD where booting stops at U-Boot-PetaLinux

y_okada
y_okada over 10 years ago

My environment:
PetaLinux and Vivado V2014.2 both on CentOS6.5
MicroZed board



I made BOOT.BIN and image.ub files for PetaLinux boot.



What I did is
1. petalinux-create --type project --template <CPU_TYPE> --name <PROJECT_NAME>
2. export hdf file on Vivado
3. petalinux-config --get-hw-description -p <plnx-proj-root>
4. after configuration, petalinux-build
5. petalinux-package --boot --fsbl <FSBL image> --fpga <FPGA bitstreadm> --uboot



Then, copying BOOT.BIN and image.ub to microSD, I booted the MicroZed.



The MicroZed stops showing "U-Boot-PetaLinux>".
Then, if I input followings, MicroZed booted the petalinux from microSD.
"setenv bootcmd 'run sdboot' ; saveenv ; reboot"



I would like to boot MicroZed without stopping "U-Boot-PetaLinux". Maybe I have to do petalinux-config to change some settings.



For this purpose, which user guide or web site should I refer?

  • Sign in to reply
  • Cancel
  • y_okada
    0 y_okada over 10 years ago

    I could solve the problem.
    .
    I was skipping several configurations on petalinux-config.
    .
    Followins are what I was missing;
    1. Under "-*-Subsystem AUTO Hardware Settings---", enable "Advanced bootable images storage Settings -->"
    2. Select "Advanced bootable images storage Settings"
    3a. Select "boot image settings", then select "image storege media (primary sd)", then select "( )primary sd"
    3b. Select "u-boot env partition settings", then select "image storage media (primary flash)", then select "( )primary flash"
    3c. Select "kernel image settings", then select "image storage media (primary sd)", then select "( ) primary sd"
    3d. Select "jffs2 rootfs image settings", then select "image storage media (primary flash)", then select "( ) primary flash"
    3e. Select "dtb image settings", then select "image storage media (from boot image)", then select "from boot image"

    After these settings, save the modification, then exit the petalinux-config.

    Then
    4. petalinux-build
    5. petalinux-package --boot --fsbl <FSBL image> --fpga <FPGA bitstreadm> --uboot

    With the produced BOOT.BIN and image.ub, I could boot the Petalinux from microSD.

    • 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