1. Boot mode description¶
1.1. Preface¶
The ROC-RK3308B-CC-PLUS is installed with the Buildroot operating system by default. If users want to run other operating systems, they need to use the corresponding firmware to program to the mainboard.
ROC-RK3308B-CC-PLUS has a flexible startup mode. Generally, the ROC-RK3308B-CC-PLUS development board will not turn brick unless the hardware is damaged.
If the accident appeared in the process of upgrading, bootloader damage, leading to unable to upgrade again, while still can enter MaskRom
mode to repair.
1.2. How to get the Firmwares¶
1.3. Upgrade method¶
ROC-RK3308B-CC-PLUS supports firmware update through the following two methods:
Update firmware using USB cable
Use the USB cable to connect the mainboard to the computer, and use the upgrade tool to program the firmware to the mainboard.
1.4. boot media¶
eMMC interface
In addition, ROC-RK3308B-CC-PLUS supports downloading system codes from the Type-C data cable interface.
1.5. Boot mode¶
ROC-RK3308B-CC-PLUS has three startup modes:
Normal mode
Loader mode
MaskRom mode
1.5.1. Normal mode¶
Normal mode is the Normal startup process. Each component loads in turn and enters the system normally.
1.5.2. Loader mode¶
In Loader mode, the bootloader will enter the upgrade state, waiting for the host command for firmware upgrade, etc. To enter the Loader mode, the bootloader must detect that the RECOVERY
key has been pressed and the USB is connected.
The method to put the device into upgrade mode is as follows:
One way is to disconnect the power adapter
Type-C data cable connects the device and the host.
Press and hold the RECOVERY button on the device and hold it.
Plug in the power
After about two seconds, release the RECOVERY key.
Another way is to connect the power adapter
The Type-C data cable connects the device and the host.
Press and hold the RECOVERY button on the device and hold it.
Briefly press the RESET button.
After about two seconds, release the RECOVERY key.
1.5.3. MaskRom mode¶
MaskRom mode is used for system repair when the bootloader is damaged.
Under normal circumstances, it is not necessary to enter MaskRom mode. Only when the bootloader verification fails (IDB block cannot be read, or the bootloader is damaged), the BootRom code will enter MaskRom mode. At this time, the BootRom code waits for the host to transmit the bootloader code through the USB interface, load and run it.
Forcibly enter MaskRom mode, please refer to the chapter MaskRom Mode.