Please enable javascript, or click here to visit my ecommerce web site powered by Shopify.
Jump to: navigation, search

Difference between revisions of "Rock2/square bb/loader mode"

(The easy way)
 
(3 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
Loader mode is the mode when the board does '''not''' boot but waiting for the command from USB OTG port from PC.
 
Loader mode is the mode when the board does '''not''' boot but waiting for the command from USB OTG port from PC.
  
 +
=== The easy way ===
 +
If you are running Rabian or Android, just run the following command in the terminal:
 +
 +
    sudo reboot loader
 +
 +
The board will reboot and go to loader mode.
 +
 +
=== Manually ===
 
The square baseboard has 3 keys on it, the '''recovery key''', '''reset key''' and the '''power key'''. We need to use the "recovery key" and "reset key" when go to loader mode.
 
The square baseboard has 3 keys on it, the '''recovery key''', '''reset key''' and the '''power key'''. We need to use the "recovery key" and "reset key" when go to loader mode.
  
Line 12: Line 20:
 
# power the board, the red led indicate that the board is powered on
 
# power the board, the red led indicate that the board is powered on
 
# connect the USB OTG port to PC(Important, you must connect the OTG cable first and then press the key as below)
 
# connect the USB OTG port to PC(Important, you must connect the OTG cable first and then press the key as below)
# press and hold '''recovery''' key(the one near '''DC jack''')
+
# press and hold '''recovery''' key for 5 seconds (the one near '''DC jack''')
# short press '''reset''' key(the one near '''wifi antenna''')
+
# short press and release(for 1 second) '''reset''' key(the one near '''wifi antenna''')
 
# release '''recovery''' key
 
# release '''recovery''' key
  
Line 28: Line 36:
  
 
==For developers ==
 
==For developers ==
 +
===U-boot===
 
In u-boot console, you can type '''rockusb''' to go to loader mode.
 
In u-boot console, you can type '''rockusb''' to go to loader mode.
 
+
===Android===
 +
If you are in android, you can use '''reboot loader''' command in [[Rock/linux_adb | adb shell]] or serial console. You can also use '''upgrade_tool SD''' command on PC to switch device from android to loader mode.
  
 
==See also==
 
==See also==

Latest revision as of 08:17, 16 June 2015

Loader mode

Loader mode is the mode when the board does not boot but waiting for the command from USB OTG port from PC.

The easy way

If you are running Rabian or Android, just run the following command in the terminal:

   sudo reboot loader

The board will reboot and go to loader mode.

Manually

The square baseboard has 3 keys on it, the recovery key, reset key and the power key. We need to use the "recovery key" and "reset key" when go to loader mode.

Loader mode.jpg

To go to loader mode, you need to:

  1. power the board, the red led indicate that the board is powered on
  2. connect the USB OTG port to PC(Important, you must connect the OTG cable first and then press the key as below)
  3. press and hold recovery key for 5 seconds (the one near DC jack)
  4. short press and release(for 1 second) reset key(the one near wifi antenna)
  5. release recovery key

Now the board should be in loader mode.

To check if the board is in loader mode in PC

Windows

Linux

Make sure you have USB ID 2207:320a, that is rock2 square in loader mode.

   lsusb
   ...
   Bus 001 Device 018: ID 2207:320a
   ...

For developers

U-boot

In u-boot console, you can type rockusb to go to loader mode.

Android

If you are in android, you can use reboot loader command in adb shell or serial console. You can also use upgrade_tool SD command on PC to switch device from android to loader mode.

See also