banana pi BPI-M2 Ultra/Berry allwinner R40/V40 SBC
  • About BPI-M2 Ultra/BPI-M2 Berry
  • BPI-M2 Berry hardware
    • BPI-M2 Berry hardware interface
    • BPI-M2 Berry hardware spec
    • BPI-M2 Berry GPIO Pin define
    • BPI-M2 Berry SATA interface
    • BPI-M2 Berry micro SD card slot
    • BPI-M2 Berry GigE LAN
    • BPI-M2 Berry WIFI interface
    • BPI-M2 Berry wifi antenna slot
    • BPI-M2 Berry HDMI interface
    • BPI-M2 Berry USB interface
    • BPI-M2 Berry OTG interface
    • BPI-M2 Berry bluetooth interface
    • BPI-M2 Berry UART port
    • BPI-M2 Berry MIPI DSI interface
    • BPI-M2 Berry CSI camera interface
    • BPI-M2 Berry Power interface
    • BPI-M2 Berry DXF and 3D design
    • BPI-M2 Berry schematic diagram
  • BPI-M2 Ultra hardware
    • BPI-M2 Ultra hardware interface
    • BPI-M2 Ultra hardware spec
    • BPI-M2 Ultra GPIO Pin define
    • BPI-M2 Ultra SATA interface
    • BPI-M2 Ultra micro SD card slot
    • BPI-M2 Ultra GigE LAN
    • BPI-M2 Ultra eMMC flash
    • BPI-M2 Ultra WIFI interface
    • BPI-M2 Ultra wifi antenna slot
    • BPI-M2 Ultra IR interface
    • BPI-M2 Ultra HDMI interface
    • BPI-M2 Ultra USB interface
    • BPI-M2 Ultra OTG interface
    • BPI-M2 Ultra bluetooth interface
    • BPI-M2 Ultra UART port
    • BPI-M2 Ultra MIPI DSI interface
    • BPI-M2 Ultra CSI camera interface
    • BPI-M2 Ultra 3.7V lithium battery interface
    • BPI-M2 Ultra Power interface
    • BPI-M2 Ultra schematic diagram
    • BPI-M2 Utra DXF and 3D design
  • BPI-M2 Ultra/Berry software
    • Android image
    • Linux software image
    • Tina-IoT os
    • BPI-tools
      • bpi-bootsel command
      • bpi-get command
      • bpi-copy command
      • bpi-update
    • WiringPi for BPI-M2 Ultra
  • BPI-M2 Ultra /Berry source code on github
    • BPI-Berry/BPI-Ultra How to alter Uboot、Kernel from github
    • how to boot from emmc with SD data
    • How to rebuild bootloader BPI_M2U_720P-emmc.img.gz
    • BPI-M2 Ultra/Berry TinaLinux github
  • Reference documents
    • Allwinner R40/V40 chip datasheet
    • linux-sunxi document
  • BPI-M2 Ultra quality guarantee
    • BPI-M2 Ultra WIFI &BT4.0 Lab test
    • BPI-M2 Ultra validation test report
    • BPI-M2 Ultra CE,FCC RoHS Certification
    • BPI-M2 Berry CE,FCC RoHS Certification
  • All Banana Pi SBC Comparison
  • All banana pi product
  • Getting Started with M1P - Banana Pi Wiki
Powered by GitBook
On this page

Was this helpful?

  1. BPI-M2 Ultra/Berry software
  2. BPI-tools

bpi-bootsel command

PreviousBPI-toolsNextbpi-get command

Last updated 5 years ago

Was this helpful?

How to use bpi-bootsel command (Multi-use SD card supported)

From now on, just download either M2 or M3, then you can switch to any of them as you wish!

bpi-bootsel v1.0.5

usage: bpi-bootsel
           bpi-bootsel IMGFILE
           bpi-bootsel IMGFILE DEVICE
  1. Download BPI-Tools , please run the following command

    wget

  2. Set up development environment

    2-1: On X86-PC (Ubunut 12.04)

    sudo echo "foreign-architecture armhf" >> /etc/dpkg/dpkg.cfg.d/multiarch

    2-2 :On X86-PC (Ubunut 14.04)

    sudo dpkg --add-architecture armhf

    2-3 :On BananaPI M3/M2Plus do nothing

  3. Install BPI-Tools

    sudo dpkg -i bananapi-bpi-tools*.deb

  4. Creat a folder of BPI-Tools

    mkdir BPI-Tools cd BPI-Tools

  5. Update BPI-Tools

    sudo bpi-tools --upgrade

  6. Use bpi-bootsel commnad

    6-1: M3 imgae is switchable to M2_Plus

    sudo bpi-bootsel /usr/lib/u-boot/bananapi/bpi-m2p/BPI_M2P_720P.img.gz

    6-2 : M2_Plus imgae is switchable to M3imgae

    sudo bpi-bootsel /usr/lib/u-boot/bananapi/bpi-m3/BPI_M3_720P.img.gz

Video Demo

https://github.com/BPI-SINOVOIP/BPI-files/raw/master/debs/bananapi-bpi-tools_1.0.3_armhf.deb
https://www.youtube.com/watch?v=HdBNcrOKngM&feature=youtu.be