Over-the-air technology (OTA) upgrading method based on Linux platform

A platform and technology for upgrading information, applied in the direction of program loading/starting, program control devices, etc., to achieve the effects of rapid development, convenient upgrade, and flexible portability

Active Publication Date: 2014-08-13
SICHUAN JINWANGTONG ELECTRONICS SCI & TECH
View PDF1 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] At present, there is no OTA upgrade with yaffs file system and nand flash

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
  • Over-the-air technology (OTA) upgrading method based on Linux platform
  • Over-the-air technology (OTA) upgrading method based on Linux platform
  • Over-the-air technology (OTA) upgrading method based on Linux platform

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0035] The present invention will be further described below in conjunction with the drawings.

[0036] First, transplant the yaffs file system to u-boot, and assign startblock and endblock to the yaffs device file according to the actual flash address distribution, and the value is in block.

[0037] Nand flash reads and writes data in units of pages, and erases data in units of blocks. A page is divided into a data area of ​​512Bytes and a Spare area of ​​16Bytes. The data area is divided into two segments by 256bytes, and the ECC verification is performed respectively. Therefore, the instructions for reading and writing Nand Flash are also divided into three: ReadA (00h); read B (01h); read C (50h). These three instructions correspond to the first 256bytes, the last 256bytes, and the Spare area. (Also called OOB area). The check code of the data area is stored in the Spare area, of which 8 bytes are related to the yaffs file system, and the yaffs logo information is stored. Fo...

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 provides an over-the-air technology (OTA) upgrading method based on a Linux platform. The method comprises the following steps: 1, enabling a set top box to receive and read upgrading information, storing the upgrading information in a specified file, and restarting the set top box after storage; 2, entering u-boot, mounting a yaffs file system, reading a parameter file to a memory, storing, and jumping to a loader program; 3, executing the upgrading operation; and 4, restarting the set top box. In the invention, the upgrading safety is fully considered, the power breakdown condition is closely considered, the supported platform range is wide, and the program to be upgraded can be comprehensively satisfied by means of a bottom-layer upgrading method. Because of the use of the yaffs file system, Nand Flash is better supported. A full range of C codes is convenient for implantation. By using the macro switching control option, the adjustable and controllable upgrading and the flexible operating process are realized. By fully utilizing the advantages of Linux, shell can be used for finishing complicated functions.

Description

Technical field [0001] The invention relates to an OTA upgrade method, in particular to an OTA upgrade method based on a Linux platform. Background technique [0002] OTA (Over-the-Air Technology) is over-the-air download technology, which is a technology for remotely managing SIM card data and applications through the air interface of communication. With people’s high standards of living and the continuous improvement of chip processing capabilities, digital set-top boxes, as terminal equipment for future digital TV broadcasting services, will also develop from single function to multi-function, which requires flexible upgrade procedures to ensure The newly added functions are safely and stably upgraded to the user's set-top box. The traditional single-function bootloader cannot realize the support and function expansion of the multi-architecture system. As a general purpose, u-boot has become the first choice for embedded development bootloader. [0003] With the continuous enr...

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 Patents(China)
IPC IPC(8): G06F9/445
Inventor 刘海润
Owner SICHUAN JINWANGTONG ELECTRONICS SCI & TECH
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