CN110532040A - Loading method and device, the storage medium and electronic equipment of firmware program - Google Patents

Loading method and device, the storage medium and electronic equipment of firmware program Download PDF

Info

Publication number
CN110532040A
CN110532040A CN201910808265.7A CN201910808265A CN110532040A CN 110532040 A CN110532040 A CN 110532040A CN 201910808265 A CN201910808265 A CN 201910808265A CN 110532040 A CN110532040 A CN 110532040A
Authority
CN
China
Prior art keywords
processor
memory
firmware program
starting mode
program
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.)
Pending
Application number
CN201910808265.7A
Other languages
Chinese (zh)
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.)
Beijing Horizon Robotics Technology Research and Development Co Ltd
Original Assignee
Beijing Horizon Robotics Technology Research and Development Co Ltd
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 Beijing Horizon Robotics Technology Research and Development Co Ltd filed Critical Beijing Horizon Robotics Technology Research and Development Co Ltd
Priority to CN201910808265.7A priority Critical patent/CN110532040A/en
Publication of CN110532040A publication Critical patent/CN110532040A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

Disclose the loading method and device, storage medium and electronic equipment of a kind of firmware program, wherein the described method includes: obtaining firmware program from the memory of the first processor by the first preset interface between first processor and second processor;Wherein, the firmware program is stored in the first memory in the first processor;The firmware program is stored in the second memory in the second processor;The firmware program is loaded from the second memory.The disclosure saves the hardware carrier of loading firmware program between first memory and second memory, realizes the purpose for saving hardware cost.

Description

Loading method and device, the storage medium and electronic equipment of firmware program
Technical field
This disclosure relates to loading method and device, the storage medium and electronics of computer field more particularly to firmware program Equipment.
Background technique
In the related technology, in load AP, (Application Processor, is answered CP (coprocessor, coprocessor) With processor) on firmware (firmware) when, flash (flash type) hardware carrier between CP and firmware can be passed through Load firmware.
Summary of the invention
In the related technology, it needs that flash hardware carrier is arranged between CP and AP, is realized by the flash hardware carrier CP loads the purpose of the firmware on AP, and hardware cost is higher.
In order to solve the above-mentioned technical problem, the disclosure is proposed.Embodiment of the disclosure provides a kind of firmware program Loading method and device, storage medium and electronic equipment.
According to one aspect of the disclosure, a kind of loading method of firmware program is provided, comprising:
By the first preset interface between first processor and second processor, from the memory of the first processor Middle acquisition firmware program;Wherein, the firmware program is stored in the first memory in the first processor;
The firmware program is stored in the second memory in the second processor;
The firmware program is loaded from the second memory.
A kind of loading device of firmware program another aspect of the present disclosure provides, comprising: first processor and Second processor is stored with the firmware journey for starting the second processor in the first memory in the first processor Sequence, the first preset interface being provided between the first processor and second processor, the firmware program pass through described First preset interface is loaded into the second processor.
A kind of computer readable storage medium another aspect of the present disclosure provides, the storage medium storage There is computer program, the computer program is used to execute the loading method of any of the above-described firmware program.
A kind of electronic equipment another aspect of the present disclosure provides, the electronic equipment include:
First processor;
For storing the first memory of first executable instruction of first processor;
Second processor;
For storing the second memory of second executable instruction of second processor;
The first processor and the second processor are for respectively from the first memory and second storage First executable instruction and second executable instruction are read in device, and execute first executable instruction and described Second executable instruction is to realize the loading method of any of the above-described firmware program.
The disclosure can include the following benefits:
By the first preset interface between first processor and second processor, the first storage of first processor is obtained The firmware program stored in device, after firmware program is stored in the second memory of second processor, second processor can To load the firmware program from second memory, loading firmware program between first memory and second memory is saved Hardware carrier realizes the purpose for saving hardware cost.
Detailed description of the invention
The embodiment of the present disclosure is described in more detail in conjunction with the accompanying drawings, the above-mentioned and other purposes of the disclosure, Feature and advantage will be apparent.Attached drawing is used to provide to further understand the embodiment of the present disclosure, and constitutes explanation A part of book is used to explain the disclosure together with the embodiment of the present disclosure, does not constitute the limitation to the disclosure.In the accompanying drawings, Identical reference label typically represents same parts or step.
Fig. 1 is the loading scenario figure for the firmware program that the disclosure is applicable in.
Fig. 2 is the flow diagram of the loading method for the firmware program that one exemplary embodiment of the disclosure provides.
Fig. 3 is the flow diagram of the loading method for the firmware program that disclosure another exemplary embodiment provides.
Fig. 4 is the flow diagram of the loading method for the firmware program that disclosure another exemplary embodiment provides.
Fig. 5 is the flow diagram of the loading method for the firmware program that disclosure another exemplary embodiment provides.
Fig. 6 is the flow diagram of the loading method for the firmware program that disclosure another exemplary embodiment provides.
Fig. 7 is the structure chart of the loading device for the firmware program that one exemplary embodiment of the disclosure provides.
Fig. 8 is the structure chart of the loading device for the firmware program that disclosure another exemplary embodiment provides.
Fig. 9 is the structure chart for the electronic equipment that one exemplary embodiment of the disclosure provides.
Specific embodiment
In the following, will be described in detail by referring to the drawings according to an example embodiment of the present disclosure.Obviously, described embodiment is only It is only a part of this disclosure embodiment, rather than the whole embodiments of the disclosure, it should be appreciated that the disclosure is not by described herein The limitation of example embodiment.
It should also be noted that unless specifically stated otherwise, the opposite cloth of the component and step that otherwise illustrate in these embodiments It sets, numerical expression and the unlimited the scope of the present disclosure processed of numerical value.
It will be understood by those skilled in the art that the terms such as " first ", " second " in the embodiment of the present disclosure are only used for distinguishing Different step, equipment or module etc., neither represent any particular technology meaning, also do not indicate that the inevitable logic between them is suitable Sequence.
It should also be understood that in the embodiments of the present disclosure, " multiple " can refer to two or more, and "at least one" can refer to One, two or more.
It should also be understood that for the either component, data or the structure that are referred in the embodiment of the present disclosure, clearly limit no or Person may be generally understood to one or more in the case where context provides opposite enlightenment.
In addition, term "and/or" in the disclosure, only a kind of incidence relation for describing affiliated partner, expression can be deposited In three kinds of relationships, for example, A and/or B, can indicate: individualism A exists simultaneously A and B, these three situations of individualism B. In addition, character "/" in the disclosure, typicallys represent the relationship that forward-backward correlation object is a kind of "or".
It should also be understood that the disclosure highlights the difference between each embodiment to the description of each embodiment, Same or similar place can be referred to mutually, for sake of simplicity, no longer repeating one by one.
Simultaneously, it should be appreciated that for ease of description, the size of various pieces shown in attached drawing is not according to reality Proportionate relationship draw.
Be to the description only actually of at least one exemplary embodiment below it is illustrative, never as to the disclosure And its application or any restrictions used.
Technology, method and apparatus known to person of ordinary skill in the relevant may be not discussed in detail, but suitable In the case of, the technology, method and apparatus should be considered as part of specification.
It should also be noted that similar label and letter indicate similar terms in following attached drawing, therefore, once a certain Xiang Yi It is defined in a attached drawing, then in subsequent attached drawing does not need that it is further discussed.
The embodiment of the present disclosure can be applied to the electronic equipments such as terminal device, computer system, server, can with it is numerous Other general or specialized computing system environments or configuration operate together.Suitable for electric with terminal device, computer system, server etc. The example of well-known terminal device, computing system, environment and/or configuration that sub- equipment is used together includes but is not limited to: Personal computer system, thin client, thick client computer, hand-held or laptop devices, is based on microprocessor at server computer system System, set-top box, programmable consumer electronics, NetPC Network PC, minicomputer system, large computer system and Distributed cloud computing technology environment, etc. including above-mentioned any system.
The electronic equipments such as terminal device, computer system, server can be in the department of computer science executed by computer system It is described under the general context of system executable instruction (such as program module).In general, program module may include routine, program, mesh Beacon course sequence, component, logic, data structure etc., they execute specific task or realize specific abstract data type.Meter Calculation machine systems/servers can be implemented in distributed cloud computing environment, and in distributed cloud computing environment, task is by by logical What the remote processing devices of communication network link executed.In distributed cloud computing environment, it includes storage that program module, which can be located at, On the Local or Remote computing system storage medium of equipment.
The disclosure is summarized
In the disclosure, second processor, can be in firmware program of the load store in the memory of first processor By the first preset interface between first processor and second processor, the first memory for being stored in first processor is obtained In firmware program, and the firmware program is stored in the second memory of second processor, is loaded from second memory The firmware program, it is no longer necessary to by the hardware carrier load store between first processor and second processor in the first processing Firmware program in the first memory of device saves the hardware of loading firmware program between first memory and second memory Carrier realizes the purpose for saving hardware cost.
In one example, it is described with reference to Figure 1 the loading scenario of embodiment of the present disclosure firmware program.In first processor The first preset interface 103 is provided between 101 and second processor 102.
The firmware program to be loaded of second processor 102 is stored in the first memory 104 of first processor 101, the Two processors 102 can obtain firmware program by the first preset interface 103 from first memory 104, and by the firmware journey Sequence is stored in the second memory 105 in second processor 102.Second processor can be loaded from second memory 105 Firmware program completes loading procedure.
Illustrative methods
Fig. 2 is the flow diagram of the loading method for the firmware program that one exemplary embodiment of the disclosure provides.This implementation Example can be applicable on electronic equipment, as shown in Fig. 2, including the following steps:
Step 201, by the first preset interface between first processor and second processor, from the first processor Memory in obtain firmware program.
In the disclosure, first processor can be AP, and second processor can be CP, and the first preset interface can be pre- A SPI (Serial Peripheral between first processor 101 and second processor 102 is first set Interface, Serial Peripheral Interface (SPI)) interface.Second processor firmware program to be loaded is stored in the first of first processor In memory.
Firmware program be write-in EPROM (Erasable Programmable Read Only Memory, it is erasable to compile Journey read-only memory) or EEPROM (Electrically Erasable Programmable Read-Only Memory, electricity Erasable programmable read-only memory) in program.For separately operable electronic product, firmware can be the electronic product Operating system.Such as the firmware of mobile phone is its operating system, the firmware of router is exactly the operating system etc. of router.And for The equipment such as the electronic product of dependent, such as hard disk, mouse, BIOS, CD-ROM drive, USB flash disk, firmware just refer to its bottom, allow and set It is standby to be able to the program run.
Step 202, the firmware program is stored in the second memory in the second processor.
Firmware program can be stored in itself second after getting firmware program by the second processor of electronic equipment In memory.
Step 203, the firmware program is loaded from the second memory.
Second processor directly loads the firmware program from second memory and completes loading procedure.
In above-described embodiment, by the first preset interface between first processor and second processor, obtain at first The firmware program stored in the first memory of device is managed, firmware program is stored in it in the second memory of second processor Afterwards, second processor can load the firmware program from second memory, save first memory and second memory it Between loading firmware program hardware carrier, realize save hardware cost purpose.
In one example, as shown in figure 3, on the basis of above-mentioned embodiment illustrated in fig. 2, step 201 may include as follows Step:
Step 2011, the preconfigured default Starting mode about the second processor of first processor is determined.
Default Starting mode is corresponding Starting mode when second processor starts every time, and electronic equipment can be in the disclosure It is configured in advance in first processor.
Step 2012, in the communication interface between first processor and second processor, the determining and default starting Corresponding first preset interface of mode.
There are multiple communication interfaces between first processor and second processor, second processor can be according to the first processing The default Starting mode of preconfigured second processor in device determines that corresponding first is pre- in above-mentioned multiple communication interfaces If interface.
In the disclosure, the first preset interface can be the special purpose interface that firmware program is obtained for second processor, can Selection of land can provide new SPI interface as the first preset interface, such as by the first preset interface and be named as BIFSPI interface.
Step 2013, the firmware journey is obtained from the memory of the first processor by first preset interface Sequence.
In the disclosure, second processor no longer obtains the firmware journey in the memory of first processor by hardware carrier Sequence, but firmware program is obtained from the memory of first processor by the first preset interface that step 2012 determines.
In above-described embodiment, second processor can be determined according to the preconfigured default Starting mode of first processor Corresponding first preset interface, so that firmware program is obtained from the memory of first processor by the first preset interface, by In not needing that memory is arranged in second processor, therefore save hardware cost.
In one example, as shown in figure 4, on the basis of above-mentioned embodiment illustrated in fig. 3, step 2011 may include as follows Step:
Step 20111, determine that the first processor is preconfigured corresponding with the Starting mode of the second processor Target word identifier value.
In the disclosure, first processor can be pre-configured with the Starting mode of second processor.Such as by configuring BOOT_ Character value corresponding to SEL option determines the Starting mode of second processor, can pass through at least one binary word identifier value To be expressed as the Starting mode of second processor configuration.
Second processor on startup, can first determine the Starting mode pair with second processor of first processor configuration The target word identifier value answered, such as target word identifier value are 10,01 or 11 etc..
It step 20112, will be with the target word identifier value according to the corresponding relationship between preset character value and Starting mode The default Starting mode of the corresponding Starting mode as the second processor.
In the disclosure, the corresponding relationship between character value and Starting mode is preset, such as shown in table 1.
Table 1
Second processor can determine Starting mode corresponding with target word identifier value according to table 1.Such as target word identifier value is 00, then Starting mode is to be started by EMMC (Embedded Multi Media Card, embedded multi-media card), if mesh Marking-up identifier value is 10, then Starting mode is to load the firmware program from the memory of the first processor to be started.
Second processor can be opened Starting mode corresponding with target word identifier value as described preset of second processor Flowing mode.
In above-described embodiment, target word identifier value can be pre-configured with by first processor, second processor according to target The corresponding default Starting mode of character value is started, so as to control second processor from the memory of first processor It loads the firmware program to be started, avoids that individual memory is arranged in second processor, save hardware cost.
In one example, step 2012 may include steps of:
If the default Starting mode is to load the firmware program from the memory of the first processor to carry out Starting, then in the communication interface between first processor and second processor, using first preset interface as with it is described The default corresponding interface of Starting mode.
Second processor is that the firmware program is loaded from the memory of the first processor in default Starting mode When being started, it can be opened using the first preset interface as with default in multiple communication interfaces between first processor The corresponding interface of flowing mode.Wherein, the first preset interface can be BIFSPI interface.
In above-described embodiment, second processor is to load from the memory of the first processor in default Starting mode It, can be using the first preset interface as interface corresponding with default Starting mode, thus logical when the firmware program is started It crosses the first preset interface and obtains firmware program from the first memory of first processor, availability is high.
In one example, as shown in figure 5, on the basis of above-mentioned embodiment illustrated in fig. 2, this method is in addition to including step Except 201- step 203, it may also include the steps of:
Step 200, the Starting mode of the second processor is pre-configured with by versatility input and output GPIO.
In the disclosure, the first processor of electronic equipment can pass through GPIO (General-Purpose Input/ Output passes through versatility input and output) it is pre-configured with the Starting mode of second processor, for example, can be configured by GPIO Character value corresponding to BOOT_SEL option is 10, so that default Starting mode be allowed to be from the memory of the first processor The firmware program is loaded to be started.
In above-described embodiment, the Starting mode of second processor is configured by GPIO, so that second processor be allowed to start When, firmware program is obtained from the first memory of first processor by the first preset interface, realizes easy, availability height.
In one example, as shown in fig. 6, on the basis of above-mentioned embodiment illustrated in fig. 2, this method is in addition to including step Except 201- step 203, it may also include the steps of:
Step 204, detect need to the updating firmware program when, by the second preset interface by the firmware journey Sequence is loaded into the first processor.
Electronic equipment can detect need to upgrade firmware program when, by the second preset interface go load rise The firmware program of grade version, and the firmware program of upgraded version is loaded into first processor.Wherein, the second preset interface can be with It is SPI interface.
Step 205, the firmware program of upgraded version is written to by first storage by the first processor In device.
In the disclosure, the firmware program of upgraded version can be then written to institute by first processor by electronic equipment It states in first memory.Second processor start when, by the first preset interface from first memory loading upgrading version Firmware program.
In above-described embodiment, when firmware program needs to upgrade, firmware program is loaded by the second preset interface One processor further will be in the first memory of the firmware program write-in first processor of upgraded version.Realize firmware When program upgrades, second processor is allowed to pass through the purpose of the firmware program of the first preset interface loading upgrading version.
Exemplary means
Fig. 7 is the structure chart of the loading device for the firmware program that one exemplary embodiment of the disclosure provides.The present embodiment can Using on an electronic device, as shown in fig. 7, comprises:
First processor 301 and second processor 302 are deposited in the first memory 3011 in the first processor 301 Contain the firmware program for starting the second processor 302, the first processor 301 and second processor 302 it Between the first preset interface 303 for being provided with, the firmware program is loaded at described second by first preset interface 303 It manages in device 302.
In one example, as shown in figure 8, on the basis of above-mentioned embodiment illustrated in fig. 7, the device can include:
First processor 301 and second processor 302 are deposited in the first memory 3011 in the first processor 301 Contain the firmware program for starting the second processor 302, the first processor 301 and second processor 302 it Between the first preset interface 303 for being provided with, the firmware program is loaded at described second by first preset interface 303 It manages in device 302.
Wherein, the second processor 302, will be with according to the corresponding relationship between preset character value and Starting mode The corresponding Starting mode of the preconfigured target word identifier value of one processor 301 is as the described default of the second processor 302 Starting mode.
Second processor 302 is described solid to load from the memory of the first processor 301 in default Starting mode It is pre- by described first in the communication interface between first processor 301 and second processor 302 when part program is started If interface 303 is as interface corresponding with the default Starting mode.
Second processor 302 is stored by first preset interface 303 from described the first of the first processor 301 After obtaining the firmware program in device 3011, firmware program is stored in second memory 3021.Second processor 302 from Loading firmware program completes loading procedure in second memory 3021.
First processor 301 is pre-configured with the starting of the second processor 302 by versatility input and output GPIO304 Mode.
First processor 301 check need to updating firmware program when, will be described solid by the second preset interface 305 Part program is loaded into the first processor 301, by the first processor 301 by the firmware of the upgraded version Program is written in the first memory 3011.
Example electronic device
It is described with reference to Figure 9 the electronic equipment according to the embodiment of the present disclosure.The electronic equipment can be the first equipment and Any of two equipment or both or with their independent stand-alone devices, which can be with the first equipment and second Equipment is communicated, to receive the collected input signal of institute from them.Fig. 9 is illustrated to be set according to the electronics of the embodiment of the present disclosure Standby block diagram.
As shown in figure 9, electronic equipment 9 includes first processor 911 and second processor 912, first processor 911 includes One or more first memories 913, second processor 912 include one or more second memories 914.First processor The first preset interface 919 is provided between 911 and second processor 912.Second processor 912 passes through the first preset interface 919 Firmware program is obtained from first memory 913, is stored in second memory 914, and load should from second memory 914 Firmware program completes loading procedure.
Wherein, first processor 911 can be application processor AP, and second processor 911 can be coprocessor CP.
First memory 913 may include one or more computer program products, and the computer program product can be with Including various forms of computer readable storage mediums, such as volatile memory and/or nonvolatile memory.It is described volatile Property memory for example may include random access memory (RAM) and/or cache memory (cache) etc..It is described non-easy The property lost memory for example may include read-only memory (ROM), hard disk, flash memory etc..On the computer readable storage medium It can store one or more computer program instructions, first processor 911 can run described program instruction, above to realize The sound localization method of each embodiment of the disclosure and/or other desired functions.The computer can It reads that the various contents such as input signal, signal component, noise component(s) can also be stored in storage medium.
Second memory 914 may include one or more computer program products, and the computer program product can be with Including various forms of computer readable storage mediums, such as volatile memory and/or nonvolatile memory.It is described volatile Property memory for example may include random access memory (RAM) and/or cache memory (cache) etc..It is described non-easy The property lost memory for example may include read-only memory (ROM), hard disk, flash memory etc..On the computer readable storage medium It can store one or more computer program instructions, second processor 912 can run described program instruction, above to realize The sound localization method of each embodiment of the disclosure and/or other desired functions.The computer can It reads that the various contents such as input signal, signal component, noise component(s) can also be stored in storage medium.
In one example, electronic equipment 9 can also include: the input unit 915 connecting with first processor 911 and defeated Device 916 out, the input unit 917 and output device 918 connecting with second processor 912, these components pass through bus system And/or bindiny mechanism's (not shown) interconnection of other forms.
For example, the input unit 915 or input unit 917 can when the electronic equipment is the first equipment or the second equipment It is above-mentioned microphone or microphone array, for capturing the input signal of sound source with identical or different.It is in the electronic equipment When stand-alone device, the input unit 915 or input unit 917 can be communication network connector, for from the first equipment and the Two equipment receive input signal collected.
In addition, the input equipment 915 or input unit 917 can also include such as keyboard, mouse etc..
The output device 916 or output device 918 can be identical or different, can be output to the outside various information, including Range information, directional information for determining etc..The output device 916 or output device 918 may include such as display, loudspeaking Device, printer and communication network and its remote output devices connected etc..
Certainly, to put it more simply, illustrating only some in component related with the disclosure in the electronic equipment 9, province in Fig. 9 The component of such as bus, input/output interface etc. is omited.In addition to this, according to concrete application situation, electronic equipment 9 may be used also To include any other component appropriate.
Illustrative computer program product and computer readable storage medium
Other than the above method and equipment, embodiment of the disclosure can also be computer program product comprising meter Calculation machine program instruction, it is above-mentioned that the computer program instructions make the processor execute this specification when being run by processor According to the step in the sound localization method of the various embodiments of the disclosure described in " illustrative methods " part.
The computer program product can be write with any combination of one or more programming languages for holding The program code of row embodiment of the present disclosure operation, described program design language includes object oriented program language, such as Java, C++ etc. further include conventional procedural programming language, such as " C " language or similar programming language.Journey Sequence code can be executed fully on the user computing device, partly execute on a user device, be independent soft as one Part packet executes, part executes on a remote computing or completely in remote computing device on the user computing device for part Or it is executed on server.
In addition, embodiment of the disclosure can also be computer readable storage medium, it is stored thereon with computer program and refers to It enables, the computer program instructions make the processor execute above-mentioned " the exemplary side of this specification when being run by processor According to the step in the sound localization method of the various embodiments of the disclosure described in method " part.
The computer readable storage medium can be using any combination of one or more readable mediums.Readable medium can To be readable signal medium or readable storage medium storing program for executing.Readable storage medium storing program for executing for example can include but is not limited to electricity, magnetic, light, electricity Magnetic, the system of infrared ray or semiconductor, device or device, or any above combination.Readable storage medium storing program for executing it is more specific Example (non exhaustive list) includes: the electrical connection with one or more conducting wires, portable disc, hard disk, random access memory Device (RAM), read-only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc Read-only memory (CD-ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.
The basic principle of the disclosure is described in conjunction with specific embodiments above, however, it is desirable to, it is noted that in the disclosure The advantages of referring to, advantage, effect etc. are only exemplary rather than limitation, must not believe that these advantages, advantage, effect etc. are the disclosure Each embodiment is prerequisite.In addition, detail disclosed above is merely to exemplary effect and the work being easy to understand With, rather than limit, it is that must be realized using above-mentioned concrete details that above-mentioned details, which is not intended to limit the disclosure,.
Device involved in the disclosure, device, equipment, system block diagram only as illustrative example and be not intended to It is required that or hint must be attached in such a way that box illustrates, arrange, configure.As those skilled in the art will appreciate that , it can be connected by any way, arrange, configure these devices, device, equipment, system.Such as "include", "comprise", " tool " etc. word be open vocabulary, refer to " including but not limited to ", and can be used interchangeably with it.Vocabulary used herein above "or" and "and" refer to vocabulary "and/or", and can be used interchangeably with it, unless it is not such that context, which is explicitly indicated,.Here made Vocabulary " such as " refers to phrase " such as, but not limited to ", and can be used interchangeably with it.
It may also be noted that each component or each step are can to decompose in the device of the disclosure, device and method And/or reconfigure.These decompose and/or reconfigure the equivalent scheme that should be regarded as the disclosure.
The above description of disclosed aspect is provided so that any person skilled in the art can make or use this It is open.Various modifications in terms of these are readily apparent to those skilled in the art, and are defined herein General Principle can be applied to other aspect without departing from the scope of the present disclosure.Therefore, the disclosure is not intended to be limited to Aspect shown in this, but according to principle disclosed herein and the consistent widest range of novel feature.
In order to which purpose of illustration and description has been presented for above description.In addition, this description is not intended to the reality of the disclosure It applies example and is restricted to form disclosed herein.Although already discussed above multiple exemplary aspects and embodiment, this field skill Its certain modifications, modification, change, addition and sub-portfolio will be recognized in art personnel.

Claims (10)

1. a kind of loading method of firmware program, comprising:
By the first preset interface between first processor and second processor, obtained from the memory of the first processor Take firmware program;Wherein, the firmware program is stored in the first memory in the first processor;
The firmware program is stored in the second memory in the second processor;
The firmware program is loaded from the second memory.
2. according to the method described in claim 1, wherein, first by between first processor and second processor is in advance If interface obtains firmware program from the memory of the first processor, comprising:
Determine the preconfigured default Starting mode about the second processor of first processor;
In communication interface between first processor and second processor, corresponding with the default Starting mode the is determined One preset interface;
The firmware program is obtained from the memory of the first processor by first preset interface.
3. according to the method described in claim 2, wherein, the determining first processor is preconfigured about at described second Manage the default Starting mode of device, comprising:
Determine the preconfigured target word identifier value corresponding with the Starting mode of the second processor of the first processor;
It, will Starting mode corresponding with the target word identifier value according to the corresponding relationship between preset character value and Starting mode The default Starting mode as the second processor.
4. according to the method described in claim 2, wherein, the communication interface between first processor and second processor In, determining the first preset interface corresponding with the default Starting mode, comprising:
If the default Starting mode is to load the firmware program from the memory of the first processor to be started, Then in the communication interface between first processor and second processor, opened using first preset interface as with described preset The corresponding interface of flowing mode.
5. according to the method described in claim 1, wherein, the method also includes:
The Starting mode of the second processor is pre-configured with by versatility input and output GPIO.
6. according to the method described in claim 1, wherein, the method also includes:
Detect need to the updating firmware program when, the firmware program is loaded by the second preset interface described First processor;
The firmware program of upgraded version is written in the first memory by the first processor.
7. a kind of loading device of firmware program, comprising: first processor and second processor, in the first processor The firmware program for starting the second processor is stored in one memory, in the first processor and second processor Between the first preset interface for being provided with, the firmware program is loaded into the second processor by first preset interface In.
8. device according to claim 7, wherein the second processor is preconfigured according to the first processor About the default Starting mode of the second processor, determining preset with the default Starting mode corresponding described first is connect Mouthful, the firmware program is obtained from the first memory of the first processor by first preset interface.
9. a kind of computer readable storage medium, the storage medium is stored with computer program, and the computer program is used for Execute the loading method of any firmware program of the claims 1-6.
10. a kind of electronic equipment, the electronic equipment include:
First processor;
For storing the first memory of first executable instruction of first processor;
Second processor;
For storing the second memory of second executable instruction of second processor;
The first processor and the second processor are used for respectively from the first memory and the second memory First executable instruction and second executable instruction are read, and executes first executable instruction and described second Executable instruction is to realize the loading method of any firmware program of the claims 1-6.
CN201910808265.7A 2019-08-29 2019-08-29 Loading method and device, the storage medium and electronic equipment of firmware program Pending CN110532040A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910808265.7A CN110532040A (en) 2019-08-29 2019-08-29 Loading method and device, the storage medium and electronic equipment of firmware program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910808265.7A CN110532040A (en) 2019-08-29 2019-08-29 Loading method and device, the storage medium and electronic equipment of firmware program

Publications (1)

Publication Number Publication Date
CN110532040A true CN110532040A (en) 2019-12-03

Family

ID=68665243

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910808265.7A Pending CN110532040A (en) 2019-08-29 2019-08-29 Loading method and device, the storage medium and electronic equipment of firmware program

Country Status (1)

Country Link
CN (1) CN110532040A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112416449A (en) * 2020-12-15 2021-02-26 北京梧桐车联科技有限责任公司 Electronic equipment and starting method and starting device thereof

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1963759A (en) * 2006-12-01 2007-05-16 北京中星微电子有限公司 Guide method and system of coprocessor
CN1983167A (en) * 1997-09-05 2007-06-20 自由度半导体公司 Method for interfacing a processor to a coprocessor
CN101097559A (en) * 2006-06-28 2008-01-02 中国科学院微电子研究所 System and method for realizing interconnect between main processor and coprocessor interface
US20190243658A1 (en) * 2018-02-08 2019-08-08 Lenovo Enterprise Solutions (Singapore) Pte. Ltd. Restoring a processing unit that has become hung during execuation of an option rom

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1983167A (en) * 1997-09-05 2007-06-20 自由度半导体公司 Method for interfacing a processor to a coprocessor
CN101097559A (en) * 2006-06-28 2008-01-02 中国科学院微电子研究所 System and method for realizing interconnect between main processor and coprocessor interface
CN1963759A (en) * 2006-12-01 2007-05-16 北京中星微电子有限公司 Guide method and system of coprocessor
US20190243658A1 (en) * 2018-02-08 2019-08-08 Lenovo Enterprise Solutions (Singapore) Pte. Ltd. Restoring a processing unit that has become hung during execuation of an option rom

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112416449A (en) * 2020-12-15 2021-02-26 北京梧桐车联科技有限责任公司 Electronic equipment and starting method and starting device thereof

Similar Documents

Publication Publication Date Title
US10089105B2 (en) Systems and methods for bios update optimization
WO2020001112A1 (en) Application method for platform supporting multiple types of devices, and mobile terminal
US10810017B2 (en) Systems and methods for handling firmware driver dependencies in host operating systems while applying updates from bootable image file
CN109240754B (en) Logic device, method and system for configuring BIOS starting item
US20220100490A1 (en) Firmware updating method, and electronic apparatus and storage media for same
US20160012232A1 (en) Systems and methods for secure delivery of public keys for operating system drivers
CN105824678A (en) Method and device for installing operating system
US10282190B2 (en) System and method for updating a UEFI image in an information handling system
CN111868685A (en) System and method for versioning a cloud environment of devices
CN110515671B (en) Initialization method, initialization device, terminal device and readable storage medium
CN103092648A (en) Method and system of mirror image upgrade and user device and personal computer
US20100268925A1 (en) System and method for populating a dedicated system service repository for an information handling system
US11500647B2 (en) Systems and methods for achieving faster boot times using BIOS attribute mitigation
CN110532040A (en) Loading method and device, the storage medium and electronic equipment of firmware program
CN111782474A (en) Log processing method and device, electronic equipment and medium
US11340882B2 (en) Systems and methods for enforcing update policies while applying updates from bootable image file
CN114096946A (en) Method and apparatus for managing applications
CN110045966A (en) Processing method, device and the equipment of erector
KR20200068275A (en) Method and electronic device for initialization of storage
CN114090127A (en) Electronic device, loading method and medium of configuration file of electronic device
US20220197843A1 (en) Systems and methods for single-wire multi-protocol discovery and assignment to protocol-aware purpose-built engines
CN113515299A (en) Software development kit SDK hot upgrading method, device, equipment and storage medium
US20200019412A1 (en) Systems and methods for optimal configuration of information handling resources
KR20210101075A (en) Electronic device and method for operating clipboard thereof
CN109816536A (en) Inventory De-weight method, device and computer equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20191203

RJ01 Rejection of invention patent application after publication