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
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
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 2 replies
  • Subscribers 3 subscribers
  • Views 157 views
  • Users 0 members are here
Related

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

garg1387
garg1387 over 7 years ago

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

  • Reply
  • Cancel
  • Cancel

Top Replies

  • gdstew
    gdstew over 7 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 from…

  • clem57
    clem57 over 7 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

  • gdstew
    gdstew over 7 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
    • Up +1 Down
    • Reply
    • Cancel
  • clem57
    clem57 over 7 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
    • Up +1 Down
    • Reply
    • Cancel
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