A firmware upgrading method of an Android system and a storage device

A firmware upgrade and Android system technology, which is applied in the Android system firmware upgrade and storage device fields, can solve the problems of power-off equipment bricking storage medium space utilization, etc., to improve space utilization, avoid equipment bricking, and reduce equipment cost. Effect of hardware cost

Active Publication Date: 2019-01-18
FUZHOU ROCKCHIP SEMICON
View PDF12 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0010] For this reason, it is necessary to provide a firmware upgrade method for the Android system to solve the problem that the firmware upgrade of the Android system cannot take into account the problem of preventing the power-off device from becoming bricked during the upgrade process and improving the space utilization rate of the storage medium.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A firmware upgrading method of an Android system and a storage device
  • A firmware upgrading method of an Android system and a storage device
  • A firmware upgrading method of an Android system and a storage device

Examples

Experimental program
Comparison scheme
Effect test

specific Embodiment approach

[0044] In this embodiment, a specific implementation of a firmware upgrade method for an Android system is as follows:

[0045] Step S101: Obtain an upgrade package. The following methods can be adopted: obtain the upgrade package through the network or external storage medium, and verify whether the upgrade package is legal; the upgrade package does not include a fixed partition image, and the fixed partition image includes: "Level 1 Bootloader", "Read-Only Secondary Bootloader", "Read-Only Trusted Operating System" and "Recovery System". In this implementation manner, the external storage medium includes: a USB card / SD card, and in other implementation manners, any other means may be used to obtain the upgrade package. In this embodiment, whether the upgrade package is legal is mainly verified by digitally signing the upgrade package.

[0046] After the upgrade package is obtained, step S102 is performed: write the upgrade guide information in position 2 of the "guidance c...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention relates to the technical field of embedded development and testing, in particular to a firmware upgrading method of an Android system and a storage device. The firmware upgrading methodof the Android system comprises the following steps: obtaining an upgrading package; writing the upgrade boot information in position 2 of the Boot Communication Partition; restarting the system, if both positions 1 and 2 of Boot Communication Partition are marked with Recovery flag, booting Read Only Trusted Operating System and Read Only Secondary Boot Program, and booting the device into the Recovery system; using the firmware upgrade package to upgrade the device firmware according to the firmware upgrade operation instructions. The above method, if an unexpected interruption occurs duringthe upgrade, when the device is powered up again, because the Recovery flag is present in both positions 1 and 2 of the Boot Communication Partition, the Level 1 Bootstrapper can still successfully boot the Read-Only Trusted Operating System and the Read-Only Level 2 Bootstrapper, and the device firmware can be re-upgraded to avoid device bricking.

Description

technical field [0001] The invention relates to the technical field of embedded development and testing, in particular to a firmware upgrade method for an Android system and a storage device. Background technique [0002] As the Android system is more and more widely used, more and more users will be involved in the upgrade of the Andorid system. In the prior art, there are two methods for upgrading firmware in the Android system: [0003] 1. Upgrade in Recovery mode. In this upgrade mode, if there is an accident such as power failure during the firmware upgrade process, the device may become bricked and cannot be started after power on again. If there is a power failure during the upgrade of uboot, turst and boot, the device must be bricked. [0004] 2. AB upgrade, in the AB upgrade mode, each firmware partition to be upgraded in the system, such as uboot, trust, boot, system, vendor, etc., must have two partitions (a and b), such as system_a and system_b, This upgrade m...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F8/65
CPCG06F8/65
Inventor 纪大峣
Owner FUZHOU ROCKCHIP SEMICON
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products