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
BeagleBone Black Radio Challenge
  • Challenges & Projects
  • Design Challenges
  • BeagleBone Black Radio Challenge
  • More
  • Cancel
BeagleBone Black Radio Challenge
Forum Is dual booting is possible with beagle bone black just like with pc
  • Blog
  • Forum
  • Documents
  • Files
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 2 replies
  • Subscribers 3 subscribers
  • Views 710 views
  • Users 0 members are here
Related

Is dual booting is possible with beagle bone black just like with pc

garg1387
garg1387 over 10 years ago

want to start board in dual boot mode any idea ???

  • Sign in to reply
  • Cancel

Top Replies

  • gdstew
    gdstew over 10 years ago +1
    Since the BeagleBoard Black uses u-boot it can be set up to boot kernels from several places. I have an old LinuxStamp (Atmel ARM core with 32 MB) from many years ago that I have u-boot set up to boot…
  • clem57
    clem57 over 10 years ago in reply to gdstew +1
    By default, the eMMC will boot unless a SD card is inserted before with a good OS. Clem
Parents
  • gdstew
    gdstew over 10 years ago

    Since the BeagleBoard Black uses u-boot it can be set up to boot kernels from several places. I have an old LinuxStamp (Atmel ARM core with 32 MB) from many years ago that I have u-boot set up to

    boot from the removable SD card or using dhcp/bootp or tftp on the network along with nfs to provide the root file system for these network boot options. This is an old version of u-boot and there may be

    different options or better ways to do this now but this is fairly straight forward.

     

    This is the u-boot configuration I used, note that in this case the serial port is being used for the console terminal:

     

    ecb_at91> printenv

    bootdelay=2

    baudrate=115200

    ethaddr=00:00:00:00:00:5b

    loadaddr=0x20200000

    bootcmd=run tboot

    bootfile=/srv/tftp/linux-2.6.24.3-lnst.img

    netmask=255.255.255.0

    hostname=lnst

    ipaddr=192.168.1.51

    serverip=192.168.1.11

    dt_bootargs=mem=32M root=/dev/nfs nfsroot=192.168.1.11:/home/gary7/My_projects/Embedded/LinuxStamp/rootfs ip=192.168.1.51 console=ttyS0,115200n8

    f_bootargs=mem=32M ip=192.168.1.51 console=ttyS0,115200n8

    dboot=setenv bootargs ${dt_bootargs}; bootp; bootm 20200000

    fboot=setenv bootargs ${f_bootargs}; bootm C0021840

    tboot=setenv bootargs ${dt_bootargs}; tftpboot; bootm 20200000

    stdin=serial

    stdout=serial

    stderr=serial

     

    Commands for multi-boot environment. These are run from the u-boot prompt, in this case ecb_at91>, which is entered by pressing any key when prompted by u-boot.

    Note that the bootdelay command sets the amount of time you have to press the key.

     

    run dboot for dhcp boot (bootcmd=bootp; bootm 20200000)

    run fboot for flash boot (bootcmd=bootm C021840)

    run tboot for tftp boot (bootcmd=tftpboot; bootm 20200000), this is the default automatic boot (from bootcmd=run tboot)

     

     

    Most of the u-boot options are fairly obvious, I will attempt to answer any questions for ones that are not so obvious. Also, I suggest reading the the u-boot

    documentation at least as far as boot options and how to change/save them are concerned.

     

    Edited to add:

     

    If you have multiple flash devices (nand and SD card) the device will be needed to set the root path (root=) in the boot arguments.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • clem57
    clem57 over 10 years ago in reply to gdstew

    By default, the eMMC will boot unless a SD card is inserted before with a good OS.

    Clem

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • clem57
    clem57 over 10 years ago in reply to gdstew

    By default, the eMMC will boot unless a SD card is inserted before with a good OS.

    Clem

    • Cancel
    • Vote Up +1 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