Automatic burning method of flash mirror image based on TF starting card

A mirror image and automatic technology, applied in the field of flash programming, can solve the problems of low programming efficiency, serial port and network port communication, slow speed, etc., and achieve the effect of improving programming efficiency and simplifying the programming process

Active Publication Date: 2014-03-26
XIAMEN YAXON NETWORKS CO LTD
View PDF4 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

As JTAG and serial port are serial input, they are also affected by the speed of their related chips (the speed of the MAX232 chip is much slower than the read and write speed of flash), although the bootloader+linux kernel file is only 1 / 3 of the application program content. 8. However, the total programming time is 8 times the application program time, which makes the entire flash programming time extremely long, and before the bootloader is programmed, the serial port and the network port cannot communicate with the host computer. On the premise of not programming the linux kernel, although the network port can communicate with the host, the boot file of the entire system does not exist in the specified location due to the failure of the file system arrangement, resulting in the failure to start linux.
If you use multiple serial ports to communicate with the computer, it is a good choice on the surface, but a computer only has 2 serial ports. If you expand one serial port into multiple serial ports, it may cause errors in the feedback signal from the lower computer to the upper computer ( Maybe one of the lower computers is ready, but there is another one that has not been written, and the feedback to the upper computer is programmed), so this method will not work
[0003] In the embedded Linux system, the flash partition is completed at the kernel startup stage, which requires that when programming a system with different flash partition configurations, the host computer software must be configured differently, and the configuration of each partition requires commissioning personnel After downloading the software by connecting the serial port and the network port, and then programming the program, it is necessary to repeatedly plug and unplug the serial cable, network cable and switching power supply, resulting in a low degree of automation in the program programming process
Especially when programming in batches, if manual programming is used, it will not only consume a lot of manpower and material resources, but also the configuration is cumbersome, and the programming efficiency is extremely low

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
  • Automatic burning method of flash mirror image based on TF starting card
  • Automatic burning method of flash mirror image based on TF starting card
  • Automatic burning method of flash mirror image based on TF starting card

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0033] The present invention will be further described in conjunction with the accompanying drawings and specific embodiments.

[0034] As a specific embodiment, the present invention is illustrated with I.MX28 CPU as an example, and the operating system of this I.MX28 CPU is a linux system, referring to figure 1 As shown, a method for automatically programming flash images based on a TF boot card of the present invention,

[0035] Step 1: Make a TF boot card, format the TF card into P1 partition, P2 partition and P3 partition, and refer to the specific partition diagram of the TF boot card figure 2 As shown, the target files that need to be programmed into the flash are stored in the P1 partition. The target files include the system kernel image (including the boot program) file and the root file system compressed package. The TF card system kernel image (including the boot program) binary data stream, pre-install the root file system of the TF card system in the P3 partiti...

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 flash burning, in particular to an automatic burning method of a flash mirror image based on a TF starting card. According to the method, in an embedded Linux system, the TF starting card is manufactured, and equipment is started through the TF starting card; when the equipment is started, a system kernel in a partition P2 of the TF starting card is operated by a system, mounting of a root file system in a partition P3 is carried out, then mounting of a partition P1 is carried out in the root file system, a system kernel and a root file system in the partition P1 are automatically burnt to a partition corresponding to flash, bulk burning can be carried out, the burning process can be greatly simplified, and burning efficiency is improved.

Description

technical field [0001] The invention relates to the technical field of flash programming, in particular to a method for automatically programming a flash image based on a TF boot card. Background technique [0002] Flash is used more and more widely in embedded systems, because flash has the advantages of high capacity, high stability and fast read and write, so flash has become the mainstream medium, but because the embedded design has been involved in linux and WINCE A large number of operating systems make this file huge, so programming the file into the flash encounters a programming bottleneck. In the past flash programming, the first step is to use JTAG to program the bootloader, so that the minimum system loads the bootloader and initializes each communication port (such as serial port, network card, etc.), and then downloads the linux kernel from the serial port to establish a file system, and then It is realized by downloading the linux application program through ...

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): G06F9/445
Inventor 郑福弟任赋黄杭星林德辉唐磊许宁
Owner XIAMEN YAXON NETWORKS CO LTD
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