The installation method of LED display control device operating system image file
Technical field
The present invention relates to a kind of installation method of LED display control device operating system, be specifically related to the installation of WinCE6.0 operating system.
Background technology
Existing LED display control device installation method of operating system as shown in Figure 1.Traditional guidance mode must be by being connected with computer and the mode of input of control commands is moved, and the order of its input may be the programming file; May be to start the operating system; Also may be the operations such as format NandFlash, but all be by being connected with computer and inputting various command, can not realize completely automatic operating.
Most of equipment programming WindowsCE operating system image files are by serial ports RS232, JTAG and USB to the method among the NandFlash, also have by the SD card and carry out programming, but the problem that these methods exist is: one, need to carry out alternately with computer; Two, need manual control input related command to control the programming flow process; Three, can not verify whether the operating system of programming is correct and stable.Because there is defective in prior art, inconvenient renewal to the operate system, especially for large-scale production, this has reduced the efficient of producing greatly.
Summary of the invention
The invention provides a kind of installation method of new LED display control device operating system image file, need in whole installation process, carry out mutual with computer and the defective such as installation reliability is lower to overcome existing installation method.
For realizing above goal of the invention, the application provides following solution.
The installation method of LED display control device operating system image file, the LED display control device is provided with the SD card interface, installs according to following steps:
LED display control device system powers on, and inside is mounted with the SD clamping of operating system to be installed to described SD card interface;
The programming startup file: the processor chips of LED display control device by inner read-only memory bootstrap from SD card guiding first order start-up routine, then first order start-up routine guides second level start-up routine after external memory storage is finished initialization operation, by second level start-up routine to NandFlash format and subregion, then successively programming NandFlash first order boot, NandFlash second level boot Eboot to NandFlash;
Then programming Windows CE6.0 operating system is to NandFlash;
Finish programming, self-starting operating system.
The present invention has the following advantages:
The present invention utilizes the SD card as boot disk, startup file and operating system image file are copied in the SD card, with SD card interventional instrument, only need to re-power system, overall process is carried out robotization programming system in the NandFlash storer, and after the complete operating system of programming, automatically starts the operating system, easily whether the verification operation system can true(-)running, the stability of verification system.
Adopt the present invention when update system, only need compiled image file is replaced the associated documents of SD card the inside, namely finish the making of new startup card.
Description of drawings
Fig. 1 is traditional start-up mode schematic diagram.
Fig. 2 is that full-automatic programming of the present invention starts process flow diagram.
Embodiment
For the programming of ARM platform device, generally be divided into four-stage from starting to final operating system: 1.ARM chip internal ROM program start; 2. first order start-up code; 3. second level start-up code is Eboot here; 4. start the operating system.
Wherein the ROM program is by chip manufacturer's curing of dispatching from the factory, by ROM program designation first order start-up code, and the ROM program selects to start wherefrom first order start-up code by exterior arrangement, because the storage space of ARM platform chip internal RAM is generally smaller, so first order start-up routine can not surpass the size in internal RAM space, and start the operating system, programming operating system arrives the loaded down with trivial details tasks such as Nandflash inside, can only be by external memory spaces such as first order start-up routine initialization DDR, and guiding second level start-up routine is finished by second level start-up routine.Second level start-up routine is externally storage space operation in fact, by second level start-up routine, starts or programming operating system.
The present invention adopts the mode of SD card start-up, automatically to NandFlash format, subregion, programming NandFlash start-up code, programming operating system is in NandFlash, and start the operating system at last, can either automatically carry out the programming file, and can automatically start the operating system, in order to can verify the correctness of programming, guarantee the yield rate of programming.
As shown in Figure 2, that the method for Windows CE6.0 operating system is installed is as follows in the present invention:
LED display control device system powers on, and inside is mounted with the SD clamping of operating system to be installed to described SD card interface;
The programming startup file: the ROM of the processor chips of LED display control device guides first order start-up routine, second level start-up routine successively from the SD card, begin NandFlash format and subregion by second level start-up routine, then successively programming NandFlash first order boot, NandFlash second level boot Eboot (because the Bootloader of different operating system is different, here operating system is Windows CE6.0, so the second level start-up routine of usefulness is the Eboot boot through corresponding modify) to NandFlash;
Then programming Windows CE6.0 operating system is to NandFlash;
Finish programming, self-starting operating system.
Can find out, by beginning from power on, chip ROM is from SD card guiding first order start-up routine, to the complete startup file of programming to NandFlash, programming operating system is in NandFlash, start the operating system after the complete operating system of Zhongdao programming, whole process has guaranteed automatically to carry out without operation.
When Windows CE6.0 operating system is finished in the NandFlash programming, and after automatically starting, can be according to the correctness that is connected to the signal lamp decision operation system on the device and stability, the setting signal lamp is at the flashing mode of the different phase of system.Such as, when system is normal start after, the signal lamp that is connected with system presents 2 seconds interval flashings once, namely represent system normally programming enter into the NandFlash the inside and normally move device is inner.
Therefore, if the unsuccessful or operating system cutting of programming not right in the process then can start the operating system unsuccessful, correctness and stability that so simultaneously can the verification operation system.