Sunteți pe pagina 1din 23

Fuzhou Rockchip Electronics

Co., Ltd.
Unified production tools
User Instructions

2010-3-20

Document revision history


The
versio
n
number

Date of
enactment

Compiler
/ modify
people
C w

Edit Description

Effective
Date

1.0

2010-3-20

First edition

1.1

2010-10-12 LY

Increase
description

1.2

2011-06-28 LY

Increased
operating
parameters

1.3

2011-11-15 LY

Quick check firmware mode


increases

1.4

2012-03-02 LY

Increase the common setup


instructions

the

error

data
disk
configuration

Remark

Directory
Outline
1.
2.
2.1.
2.2.

3.
3.1.
3.2.
3.3.

4.

Use objects
Components Overview
Tools directory structure
Configuration file commonly used settings
2.2.1.
Language Day
2.2.2.
System section
Common functional configuration
2.2.3.
Use step
Modify the configuration file
Install the driver
Batch firmware upgrade
Interface Introduction
3.3.1.
Procedure
3.3.2.
Error Messages Explained
3.3.3.
Precautions

1. Outline
Unified production tools are Rockchip Microelectronics Co., Ltd. in order
to improve customer productivity and specially developed tools. The tool is
primarily used in factory firmware upgrade for the product in large quantities.

2. 1. Use objects
Require large quantities of the product firmware upgrade factories.

3. 2. Components Overview
3.1. 2.1. Tools directory structure

config.ini

Tool configuration file, the tool can be used to set the language and
upgrades
related
properties,
methods
are
detailed
in
specific
settings configuration file commonly used settings .

Language

Language file storage directory, all currently supported language files are
stored in this directory.

Log

Log storage directory, log normal and error messages output to save the
upgrade process, the log function can be modified in the configuration
file LOGFLAG item to enable or disable, the proposed open to facilitate future
error analysis.

RKBatchTool.exe
Production tools program

3.2. 2.2. Configuration

file

settings
N ote: red for the common setting items

commonly

used

ni

3.2.1. 2.2.1. Language Day


Kinds = 2
/ / Current
number of tool support all languages
/ / Specify the current tools used language
/ / Selected = 1 (Chinese); Selected = 2 (English)
LangPath = Language \
/ / Language file
directory
/ / Chinese language file
Lang1 FontName = Arial
/ / Chinese language
fonts
Lang1FontSize = 9
/ / Chinese language
font size
Lang1Tag = CHN
/ / Chinese language
identification
Lang1CHNTitle = Chinese
/ / Chinese display
the title Chinese language selection
Chinese / English / Chinese
Lang1ENGTitle = Chinese
language selection Show Title
/ / English language file
Lang2FontName = Arial
fonts

/ / English

language

Lang2FontSize = 9
font size

/ / English language

Lang2Tag = ENG
identification
Lang2CHNTitle = English
Chinese language selection

/ / English language

Lang2ENGTitle
=
English
language selection Show Title

/ / English display title


English / Chinese / English

3.2.2. 2.2.2. System section


RKUSB_VID
=
0x
2207
RockUsb equipment not set, venting can

VID

RKUSB_PID
=
0x
290A
RockUsb equipment, do not set, venting can
MSC_VID = 0x0 BB4
not set, venting can
MSC_PID
=
0x
2910
MSC device, do not set, venting can

PID

VID / / MSC device, do


PID

FORCEFLAG = FALSE
forced erasure, has no use

RUE

AG = TRUE

RE =

the

use

of

Whether the user disk to the / / upgrade formatting, formatting set to TRUE, other
values without formatting
DISKVOLUME = Rockchip
/ / When formatting the
disk label for the specified user
Are copies of the directory or file / / After upgrading to the user disk
root directory, set to TRUE copy, do not copy other values
DEFAULT_COPYDIR =
/ / Specify the path to
the directory or file where you want to copy the copy

FLAG

/ / If

TRUE

Whether the data disk to the /


set to TRUE, other value without formatting

/ upgrade formatting, formatting

DATADISKVOLUME = Rockchip
/ / When formatting the disk
label for the specified user
Are copies of the / / upgrade directory or file to the root directory of
the data set TRUE copy, do not copy other values
DEFAULT_DATADISK_COPYPATH =
/ / Specify the path to the
directory or file where you want to copy the copy

/ / Logging, open the log function is set to TRUE, the other values turn off logging function
SUPPORTLOWUSB
=
TRUE
/
/ Scan full
speed
usb device switch is set to TRUE then scanned Full speed usb device, other values
only scan high speed usb device
/ / Default load firmware path, the path after the specified default firmware
will automatically open the default firmware tool starts

MODEL = TRUE
/ / Firmware matches the checksum function,
K_MACHINE_MODEL items, you can check whether to allow before upgrading the
firmware upgrade, allowing the
E_MODEL file matches the value parameter values to keep the device firmware.
DE = TRUE
/ / Quick check firmware switch is set to TRUE turned quickly check the
firmware functionality, but this feature is non-complete parity certain risks.
FW_VERSION_MODE =
format

/ / Firmware version display


DEC: Decimal

display

= 20

Other: hexadeci
mal display
MISC_MODIFY_MODE
modification flag

MISC partition

WIPE_ALL: erase userdata, cache and user area


WIPE_DATA: erase userdata and cache area
Other values are not modified by the
original partition contents misc
MSC_WAITTIME = 30
/ / Time to wait for the
device to reconnect Msc (unit: seconds)
/ / Time to wait RockUsb device to reconnect (unit: seconds)

3.2.3. 2.2.3. Common functional configuration

Open the copy of the Demo function:


Set FORMATFLAG = TRUE,
COPYFLAG = TRUE,
DISK_VOLUME = disk label
DEFAULT_COPYDIR = be copied file or directory path
Android projects need to add a setting:
MISC_MODIFY_MODE = WIPE_DATA; After prevent copying user data is
erased disk recovery program

4. 3. Use step

Modify the configuration file


Plug the device to be upgraded, if prompted to find new hardware,
install the driver Rockusb
Run the tool, select the firmware upgrade

4.1. 3.1. Modify the configuration file


Modify the configuration file, see the configuration file commonly used
settings

4.2. 3.2. Install the driver


Before upgrading firmware, please turn off the player. Press and hold the
button pressed upgrade, while connecting the device to a PC USB port. If not
previously installed device drivers, it will pop up the following tips:

Select "Install from a list or specific location (Advanced)" and click Next.

Select the driver folder rockusb.sys

This completes the driver installation of the USB device.

4.3. 3.3. Batch firmware upgrade


4.3.1. 3.3.1. Interface Introduction

4.3.2. 3.3.2. Procedure

Plug the device


Select the Firmware
Verify that the device enters Rockusb state (Maskrom and Loader states
belong Rock usb state)
Upgrade or repair equipment

4.3.3. 3.3.3. Error Messages Explained

"Failed
to
load
configuration information, you can
not
operate,"
because Config.ini file loading error, you can get the correct files from
the release Config.ini replacement program

"Load Firmware failed, unable to operate!" Because there is no selection


or firmware firmware can not be read correctly lead, make sure the
firmware is correct
"Other
operations
are running, please wait!" As
other
operations
currently in progress, please wait for the end of the other operations
further
"No equipment is found not to operate!" Please confirm whether the
device is connected, or whether Rockusb state
"Creating operational processes fail, unable to operate!" Please restart
the program before proceeding
"Create object failed operation, you can not operate!" Please restart the
program, and then when the line operation
"Does not support this type of device can not be operated!" Please
confirm whether the device into the Rock usb state, if the current state is
the U disk, switch to operate again

5. 4. Precautions
Batch best upgrade multiple devices connected to the same HUB, while

upgrading equipment recommended no more than four units.


After modifying the configuration file, you need to re-run production

tools
When using production tools, do not open other upgrades

Production tools in the production process to the device automatically

generates a UID unique code, if you need to ensure that the only reliable
code, please use production tools with computer card.
When Boot firmware version update, we recommend using the repair

function to do the upgrade.

2010-3-20

1.0
1.1
1.2
1.3
1.4

2010-320
2010-1012
2011-0628
2011-1115
2012-0302

Cw

LY

LY

LY

LY


1. Outline.............................................................................................................................................4
2. 1. Use objects..............................................................................................................................4
3. 2. Components Overview............................................................................................................4
3.1. 2.1. Tools directory structure...........................................................................................4
3.2. 2.2. Configuration file commonly used settings..............................................................4
3.2.1. 2.2.1. Language Day.................................................................................................5
3.2.2. 2.2.2. System section.................................................................................................5
3.2.3. 2.2.3. Common functional configuration..................................................................7
4. 3. Use step...................................................................................................................................7
4.1. 3.1. Modify the configuration file....................................................................................7
4.2. 3.2. Install the driver........................................................................................................8
4.3. 3.3. Batch firmware upgrade..........................................................................................11
4.3.1. 3.3.1. Interface Introduction....................................................................................11
4.3.2. 3.3.2. Procedure.......................................................................................................11
4.3.3. 3.3.3. Error Messages Explained............................................................................11
5. 4. Precautions............................................................................................................................12
6. ...............................................................................................................................................16
7. .......................................................................................................................................16
8. .......................................................................................................................................16
8.1. ....................................................................................................................16
8.2. ............................................................................................................16
8.2.1. Language ............................................................................................................17
8.2.2. System ................................................................................................................17
8.2.3. .........................................................................................................18
9. .......................................................................................................................................19
9.1. ....................................................................................................................19
9.2. ....................................................................................................................19
9.3. ....................................................................................................................22
9.3.1. .................................................................................................................22
9.3.2. .................................................................................................................22
9.3.3. .........................................................................................................22
10. .....................................................................................................................................23

6.

7.

8.
8.1.
config.ini
,

Language
,

Log
,
LOGFLAG

RKBatchTool.exe

8.2.
Note:

8.2.1. Language

Lang1ENGTitle=Chinese

//
//
//Selected=1();Selected=2()
//
//
//
//
//
//
//

Lang2File=English.ini
Lang2FontName=Arial
Lang2FontSize=9
Lang2Tag=ENG
Lang2CHNTitle=
Lang2ENGTitle=English

//
//
//
//
//
//

Kinds=2
Selected=1
LangPath=Language\
Lang1File=Chinese.ini
Lang1FontName=
Lang1FontSize=9
Lang1Tag=CHN
Lang1CHNTitle=

8.2.2. System
RKUSB_VID=0x2207
RKUSB_PID=0x290A
MSC_VID=0x0BB4
MSC_PID=0x2910

//RockUsb VID,,
//RockUsb PID,,,
//MSC VID,,
//MSC PID,,

FORCEFLAG=FALSE

//,

FORMATFLAG=TRUE

// , TRUE

//
// ,
TRUE ,
//

DISKVOLUME=Rockchip
COPYFLAG=TRUE
DEFAULT_COPYDIR=
FORMATDATADISKFLAG =TRUE
DATADISKVOLUME=Rockchip
COPYDATADISKFLAG =TRUE

// , TRUE

//
// ,

DEFAULT_DATADISK_COPYPATH=
LOGFLAG=TRUE

TRUE ,
//
// , TRUE ,

SUPPORTLOWUSB=TRUE
// full speed usb , TRUE
Full speed usb , high speed usb
DEFAULT_FIRMWARE=

//

CHECK_MACHINE_MODEL=TRUE
//,
CHECK_MACHINE_MODEL ,,
parameter MACHINE_MODEL .
QUICK_CHECK_MODE=TRUE
// TRUE
,.
FW_VERSION_MODE=

MISC_MODIFY_MODE=

//
DEC:
:
//MISC ,
WIPE_ALL: userdata,cache user
WIPE_DATA: userdata cache
misc

MSC_WAITTIME=30
RKUSB_WAITTIME=20

// Msc :
// RockUsb :

8.2.3.
Demo
FORMATFLAGTRUE,
COPYFLAG=TRUE,
DISK_VOLUME=
DEFAULT_COPYDIR
Android :
MISC_MODIFY_MODE=WIPE_DATA; recovery

9.

Rockusb

9.1.

9.2.
PC USB

rockusb.sys

USB

9.3.

9.3.1.

9.3.2.

Rockusb (Maskrom Loader Rock usb )

9.3.3.

, Config.ini

Config.ini
, !

,!

,! Rockusb
,!
,!
, ! Rock usb
U

10.
HUB

UID

Boot

S-ar putea să vă placă și