Difference between revisions of "Rockusb"

From Rockchip open source Document
Jump to: navigation, search
Line 7: Line 7:
  
 
There are two cases for Rockchip SoCs to get into Rockusb.
 
There are two cases for Rockchip SoCs to get into Rockusb.
 +
  
  
 
== Maskrom mode ==
 
== Maskrom mode ==
  
When there is no any firmware on board, the SoC will run Rockusb driver automaticlly, we call it Bootrom mode or Maskrom device mode.
+
When there is no any firmware found on board, the SoC will run Rockusb driver automaticlly, we call it Bootrom mode or Maskrom mode.
  
 
If firmware is at somewhere of the board, in order to get into this mode, we can do something to prevent cpu read the firmware successful:
 
If firmware is at somewhere of the board, in order to get into this mode, we can do something to prevent cpu read the firmware successful:

Revision as of 03:50, 22 March 2017

Introduce

Rockusb is a vendor specific USB class from Rockchip, which is for firmware dowmload for Rockchip SoCs.

Get into Rockusb

There are two cases for Rockchip SoCs to get into Rockusb.


Maskrom mode

When there is no any firmware found on board, the SoC will run Rockusb driver automaticlly, we call it Bootrom mode or Maskrom mode.

If firmware is at somewhere of the board, in order to get into this mode, we can do something to prevent cpu read the firmware successful:

- for sd-card, unplug the sd-card;

- for eMMC, short the eMMC clock to GND;

- for NAND, short the data line or clock line;

- for SPI, short the spi signal to GND;

Bootloader mode

If you are using miniloader, which with Rockusb driver inside, system will run rockusb driver when recovery key is pressed.

USB ID

 

Firmware download

rkdeveloptool is the tool to do the firmware upgrade for Rockchip SoCs which is using Rockusb protocol via USB.

Please follow the steps for boot from eMMC for how to use the tool.