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
BeagleBoard
  • Products
  • Dev Tools
  • Single-Board Computers
  • BeagleBoard
  • More
  • Cancel
BeagleBoard
Forum eMMC Flash Storage and microSD Card Boot on BeagleBone
  • Blog
  • Forum
  • Documents
  • Quiz
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join BeagleBoard to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Suggested Answer
  • Replies 10 replies
  • Answers 5 answers
  • Subscribers 104 subscribers
  • Views 6540 views
  • Users 0 members are here
  • beaglebone emmc
  • beaglebone blue
  • BeagleBone
  • beaglebone black wireless
Related

eMMC Flash Storage and microSD Card Boot on BeagleBone

ninjatrent
ninjatrent over 6 years ago

Hi BeagleBoard Community,

 

I have a few questions with regards to the boot sequence of the BeagleBone Black Wireless and BeagleBone Blue.

 

By default, Does the BeagleBone boot from the eMMC flash or from the image on the microSD card?

 

Does the SD Boot button on the Beagle need to be depressed each time in order to boot from the microSD card?

 

Is there support for microSD cards larger than 32GB?

 

Thanks for your time.

 

Trent

  • Sign in to reply
  • Cancel

Top Replies

  • mp2100
    mp2100 over 6 years ago +2 suggested
    Trent, When I read the beaglebone black documentation, it was my understanding that the boot button had to be pressed every time you wanted to use the SD card to be the boot device. That has not been my…
  • mp2100
    mp2100 over 6 years ago in reply to ninjatrent +2 suggested
    In case anyone really wanted to know the answer, I ran some tests today. Yes, the Boot button (which lets you boot from the SD card instead of the on-board eMMC memory) is "latching". (All this was done…
  • mp2100
    mp2100 over 6 years ago in reply to lazerboi64 +2
    The BBB that I have bought new were setting on the shelf for a while. They were all Rev C, but that rev has been out for a long time. There's no way to tell until you boot it up. $ cat /etc/debian_version…
  • mp2100
    0 mp2100 over 6 years ago

    Trent,

    When I read the beaglebone black documentation, it was my understanding that the boot button had to be pressed every time you wanted to use the SD card to be the boot device.  That has not been my experience though.  I have been booting from the SD card because it has the latest operating system.  (I haven't bothered burning it to the eMMC chip).  I had to press the boot button the first time I wanted to use the SD card.  After that, it always booted from the SD card, without me pressing the boot button.  It seems like it's a latching button.

     

    I was thinking I should try removing the SD card, and seeing if that stopped the latching.  But it's on my long list of mysteries to solve.

     

    Allen

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • ninjatrent
    0 ninjatrent over 6 years ago in reply to mp2100

    Hi Allen,

     

    It seems like the eMMC boots without the sd to an outdated iot image that was previously installed. I origally flashed the eMMC on both my Black Wireless and Blue with the beagleboard debian iot image. When booting from the microSD, I've always held the sd boot button. I didn't know if it was possible to boot from sd without holding the button down.

    Trent

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • mp2100
    0 mp2100 over 6 years ago in reply to ninjatrent

    In case anyone really wanted to know the answer, I ran some tests today.  Yes, the Boot button (which lets you boot from the SD card instead of the on-board eMMC memory) is "latching".  (All this was done with $sudo shutdown now) More latching that I expected:

     

    -boot with no SD card                                                   -boots from eMMC (of course)

    -SD card, hold Boot button briefly while power it up     -boots from SD card

    -power down, then up,don't hold Boot button               -boots from SD card  (so it's latching)

     

    Then I immediately tried this:

    -then remove SD card, power on                      -boots from eMMC (of course)

    -power down, then up, don't hold Boot button  -still latched from previous, boots from SD card

    much to my surprise, it latches even after having a reboot with the SD card removed.

     

    As an aside, all this rebooting showed me that the eMMC  memory is much faster than the SD card access.  I'm using the clever USB/ethernet connection to 192.168.7.2, and Cloud9 IDE and other apache pages display much faster when using the eMMC.

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • ninjatrent
    0 ninjatrent over 6 years ago in reply to mp2100

    Hi Allen,

     

    Thank you for for testing this. The boot procedure was a bit confusing at first but you have clarified how the BeagleBone is handling the the microSD.

    So I've made the error of holding the boot button every time I wanted to run the image from the microSD.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • mp2100
    0 mp2100 over 6 years ago in reply to ninjatrent

    I wouldn't call it an error.  What you were doing is how I understood the BBB instructions.  Maybe I'll read thru the SRM again to see the exact wording.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • shubham1997
    0 shubham1997 over 6 years ago in reply to mp2100

    Hi Allen,

    1. Please let me the which image did you flashed and did you flashed using external power source?2. If now Beaglebone black is flashed using SD card and as you say it boots everytime you power it on with SD card inserted, can use use the SD card for storage? If yes then please let me know how.

    3. Can you provide the documentation or its link you reffered?

    4. If you know how to execute a specific custom program eg. Pattern of LED lights on GPIO once Beaglebone boots, just like Arduino. How can we do that?

     

    Thanks

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • mp2100
    0 mp2100 over 6 years ago in reply to shubham1997

    Hmmm, good questions.  I should document my testing more thoroughly.

     

    For which image, I used the newest image from beagleboard:

         BeagleBoard.org - latest-images

         At this time the latest is named    Debian 9.5 2018-10-07 4GB SD LXQT 

     

    I did not use the external power source, I connected the BBB using a USB cable to my Linux laptop, and used the included Cloud9 interface to communicate with the BBB (web browser at 192.168.7.2:3000)

     

    I did use a 16 GB SD card with the 4 GB image from beagleboard.org.  I expanded the image so I could use the full 16 GB, so yes, that gives me more storage.  But is your question about using the SD card as external storage instead of a boot device?  If yes, then I would answer that I'd put a USB flash drive into the BBB USB port for that purpose.

     

    For automatically executing a script to illuminate a pattern of LEDs, one answer for the BBB is to use the node.js feature built into the cloud9 IDE.  There is an autorun folder, and when you copy a node program into there, it will run at boot up.  Wire the LEDs to the plentiful GPIO on the beaglebone, test your node.js program, and copy it there when ready.

     

    image

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • lazerboi64
    0 lazerboi64 over 6 years ago in reply to mp2100

    Do you know what revision OS these boards (BBB) ship with?  I've tried asking the sales people from where I purchased mine and they said that was too technical of a question for them!  Thanks in advance.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • mp2100
    0 mp2100 over 6 years ago in reply to lazerboi64

    The BBB that I have bought new were setting on the shelf for a while.  They were all Rev C, but that rev has been out for a long time.  There's no way to tell until you boot it up.

    $ cat /etc/debian_version

    from the command line

     

    or with the BBB

    $ cat /etc/dogtag

     

    I've flashed mine all to 2018 debian 9, "Stretch", but IIRC, they came with "Jessie" debian 8 OS (so, not Angstrom).  Nothing wrong with Jessie, it works well, but it doesn't have the latest bug fixes.

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • lazerboi64
    0 lazerboi64 over 6 years ago in reply to mp2100

    I've been trying to get the one I have working with LabView.  So, at first I updated everything, only to find out the LINX software that connects with LabView doesn't work.  Then I back-rev'd to 8.6, saw that it worked, and tried incrementally upgrading until it broke again.  Now, it only works after being booted from a fresh 8.6 image write to the SD card and LINX software install.  No other changes, just rebooting (from the card) and it's again broken.  Frustrating is putting it mildly.

    • 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