Nothing Special   »   [go: up one dir, main page]

CN102819441B - A kind of Vxworks system quick start method based on MPC5200B - Google Patents

A kind of Vxworks system quick start method based on MPC5200B Download PDF

Info

Publication number
CN102819441B
CN102819441B CN201210259368.0A CN201210259368A CN102819441B CN 102819441 B CN102819441 B CN 102819441B CN 201210259368 A CN201210259368 A CN 201210259368A CN 102819441 B CN102819441 B CN 102819441B
Authority
CN
China
Prior art keywords
vxworks
mode
adopt
mpc5200b
file
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201210259368.0A
Other languages
Chinese (zh)
Other versions
CN102819441A (en
Inventor
高文炜
李灏
高洪宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
771 Research Institute of 9th Academy of CASC
Original Assignee
771 Research Institute of 9th Academy of CASC
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 771 Research Institute of 9th Academy of CASC filed Critical 771 Research Institute of 9th Academy of CASC
Priority to CN201210259368.0A priority Critical patent/CN102819441B/en
Publication of CN102819441A publication Critical patent/CN102819441A/en
Application granted granted Critical
Publication of CN102819441B publication Critical patent/CN102819441B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

Based on a Vxworks system quick start method of MPC5200B, comprise the steps: to adopt BAT mode to map 4GB address space, adopt Block Address Translation method to map bulk memory; According to system configuration, PHY is configured to system interface according to during system electrification, allows system dynamic self-adapting simultaneously; Optimization of registers is selected to configure according to the concrete Flash performance used to sheet; Adopt the mode of Virtual File System, the VxWorks binary file directly in mapping flash is that the mode of file system loads VxWorks.By the application of correlation technique, MPC5200B processor loads vxworks operating system to arrive system from power on and start and enter application program and be compressed to 1.6 seconds by original 35 seconds, and after using this configuration, user does not worry that the damage of file system causes system to start, and drastically increases the reliability of system.

Description

A kind of Vxworks system quick start method based on MPC5200B
Technical field:
The invention belongs to embedded system field, be specifically related to a kind of quick start method based on MPC5200B processor computer.
Background technology:
Embedded system VxWorks based on MPC5200B processor is generally tens second time, even more than one minute start-up time, cannot meet the requirement powering on and start fast in some application scenario.Computer system based on PowerPC processor cannot be used in quick startup field and use other process such as DSP instead, or simply not using operating system.The current toggle speed based on PowerPC system is all more than tens seconds.Namely the system allowing to start in several seconds is also only be loaded with core system, and cannot load whole system component and application program.
In order to need the application scenario started fast to use high performance PowerPC processor and vxworks operating system at some, the quick startup within 2 seconds must be realized, Given this demand is planted, analyse in depth PowerPC architecture and VxWorks system to start and associated component loading principle, achieve the system requirements started fast for 2 seconds.
Summary of the invention:
For above-mentioned defect or deficiency, the object of the invention is to propose a kind of novel Vxworks system quick start method based on MPC5200B.
Specific as follows:
Comprise the steps:
1) adopt BAT mode to map 4GB address space, adopt Block Address Translation method to map bulk memory;
2) according to system configuration, PHY is configured to system interface according to during system electrification, allows system dynamic self-adapting simultaneously;
3) optimization of registers is selected to configure according to the concrete Flash performance used to sheet;
4) adopt the mode of Virtual File System, the VxWorks binary file directly in mapping flash is that the mode of file system loads VxWorks.
Further, described register distribute the configuration comprising WaitP and WaitX and WTyp rationally.
The invention has the beneficial effects as follows:
By the application of correlation technique, MPC5200B processor loads vxworks operating system to arrive system from power on and start and enter application program and be compressed to 1.6 seconds by original 35 seconds, and after using this configuration, user does not worry that the damage of file system causes system to start, and drastically increases the reliability of system.
Accompanying drawing illustrates:
Fig. 1 is quick Booting sequence figure.
Fig. 2 is master control borad theory diagram of the present invention.
Embodiment:
Below in conjunction with accompanying drawing, the present invention is described in detail.
The present invention mainly comprises following several contents:
A.4GB the improvement of the mapping method of address space.General method is from mapping mode in employing table page, mapping process complicated and time consumption, be directly proportional with memory size, and adopt BAT mode, greatly can reduce mapping time, improve toggle speed, bulk memory adopts Block Address Translation method, greatly can improve toggle speed.
By the BAT function using PowerPC process to support, bulk memory maps and uses BAT mode, and code sample is as follows:
B. the performance optimization of Ethernet drive load, common Ethernet uses auto-negotiation mode, will through a series of negotiation work when extraneous Ethernet connects invalid, time is long, so PHY is configured to fixed interface according to system configuration during system electrification, allow system dynamic self-adapting simultaneously, accelerate toggle speed;
Distributing rationally of C.Flash sheet choosing.
Select optimization of registers to configure according to the concrete performance of Flash that uses to sheet, mainly distribute WaitP and WaitX and WTyp rationally.Improve the read or write speed of read-write flash, shown in register-bit is defined as follows:
Figure mono-FLASH sheet selects register
D.VxWorks is loaded and optimized
Optimize bootloader, adopt the mode of Virtual File System, the VxWorks binary file directly in mapping flash file is that the mode of system loads VxWorks image file, removes the repetition copied content cost time from, improves toggle speed.
Vxworks starts and application program loading process flow diagram is shown in accompanying drawing.

Claims (1)

1., based on a Vxworks system quick start method of MPC5200B, it is characterized in that, comprise the steps:
1) adopt BAT mode to map 4GB address space, adopt Block Address Translation method to map bulk memory;
2) according to system configuration, PHY is configured to system interface when system electrification, allows system dynamic self-adapting simultaneously;
3) optimization of registers is selected to configure according to the concrete Flash performance used to sheet; Distribute the configuration comprising WaitP and WaitX and WTyp rationally;
4) adopt the mode of Virtual File System, the VxWorks binary file directly in mapping Flash is that the mode of file system loads VxWorks image file, removes the repetition copied content cost time from, improves toggle speed.
CN201210259368.0A 2012-07-25 2012-07-25 A kind of Vxworks system quick start method based on MPC5200B Active CN102819441B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210259368.0A CN102819441B (en) 2012-07-25 2012-07-25 A kind of Vxworks system quick start method based on MPC5200B

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210259368.0A CN102819441B (en) 2012-07-25 2012-07-25 A kind of Vxworks system quick start method based on MPC5200B

Publications (2)

Publication Number Publication Date
CN102819441A CN102819441A (en) 2012-12-12
CN102819441B true CN102819441B (en) 2015-08-12

Family

ID=47303566

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210259368.0A Active CN102819441B (en) 2012-07-25 2012-07-25 A kind of Vxworks system quick start method based on MPC5200B

Country Status (1)

Country Link
CN (1) CN102819441B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106406909A (en) * 2016-10-14 2017-02-15 重庆金美通信有限责任公司 Method for optimizing VxWorks startup process by using ARJ compressed file
US11349780B2 (en) * 2020-09-03 2022-05-31 Mellanox Technologies, Ltd. Enhancing port link-up time
CN112486580A (en) * 2020-12-01 2021-03-12 中国船舶重工集团公司第七一六研究所 Method and device for realizing quick start of VxWorks operating system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
嵌入式操作系统VxWorks中TFFS文件系统的构建;liubogx;《http://wenku.baidu.com/view/8c90f74669eae009581bec9b.html》;20110118;第1-7页 *
缩短vxworks启动时间的方法;maomaotr;《http://forum.eepw.com.cn/thread/107781/1》;20070425;第1-4页 *

Also Published As

Publication number Publication date
CN102819441A (en) 2012-12-12

Similar Documents

Publication Publication Date Title
US10296217B2 (en) Techniques to configure a solid state drive to operate in a storage mode or a memory mode
EP2487583B1 (en) Booting apparatus and method using snapshot image
US9053068B2 (en) RDMA-based state transfer in virtual machine live migration
TWI610239B (en) Electronic apparatus and method for resuming from hibernation
JP2013050953A (en) System on chip, method for operating the system on chip, and portable device
WO2012161777A3 (en) Multi-phase resume from hibernate
JP2011100431A (en) Device and method for controlling virtual machine
CN103744713A (en) Autonomous configuration method for FPGA (field programmable gate array)-based embedded dual-core system
JP5734211B2 (en) Heterogeneous computer system
US20120311240A1 (en) Information processing apparatus, information processing method, and storage medium
WO2010096611A1 (en) Concurrent execution of a smartphone operating system and a desktop operating system
US8996788B2 (en) Configurable flash interface
TW201324336A (en) Techniques for balancing accesses to memory having different memory types
US9043806B2 (en) Information processing device and task switching method
JP2015156205A (en) Information processing device, and control method therein
TWI412999B (en) Parallel speedy starting method, and device having multi-processor
CN102819441B (en) A kind of Vxworks system quick start method based on MPC5200B
CN103914325B (en) Shutdown and startup method and system of Linux system based on hybrid memory
JP2004030222A5 (en)
TWI566087B (en) System and method for controlling cpu
US10705993B2 (en) Programming and controlling compute units in an integrated circuit
Yang et al. Shortening the boot time of android os
JP6250447B2 (en) Semiconductor device and instruction read control method
US8281083B2 (en) Device, system and method of generating an execution instruction based on a memory-access instruction
US20200371827A1 (en) Method, Apparatus, Device and Medium for Processing Data

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant