Boot mode description

Preface

The Firefly-RK3288 is installed with the Android operating system by default. If users want to run other operating systems, they need to use the corresponding firmware to program to the motherboard.

Firefly-RK3288 has a flexible startup mode. Generally, the Firefly-RK3288 development board does not 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.

Upgrade method

Firefly-RK3288 supports firmware update through the following two methods:

  • Update firmware using USB cable

    Use the USB cable to connect the motherboard to the computer, and use the upgrade tool to program the firmware to the motherboard.

  • Use MicroSD card

    Use the upgrade card creation tool to make the MicroSD card as an upgrade card, insert the upgrade card into the motherboard, power on, and the machine will automatically perform the upgrade.

boot media

  • eMMC interface

  • SDMMC interface

Boot mode

Firefly-RK3288 has three startup modes:

  • Normal mode

  • Loader mode

  • MaskRom mode

Normal mode

Normal mode is the Normal startup process. Each component loads in turn and enters the system normally.

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, device is cut off all the power sources, such as power adapter and Micro USB data cable connection:

    • 1.Use Micro USB data cable to connect host and device together.

    • 2.Press and hold RECOVERY key.

    • 3.Power on.

    • 4.After around two seconds, release RECOVERY key.

  • The other way is to keep the power on:

    • 1.Use Micro USB data cable to connect host and device together.

    • 2.Press and hold RECOVERY key.

    • 3.Shortly press RESET key.

    • 4.After around two seconds, release RECOVERY key.

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 (IDR 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.