Mirror image burning method, device and equipment for intelligent cabin chip and medium

By pre-burning the minimum system and burning scripts in the host machine, and using the port with the fastest data transmission speed for mirroring, the problem of excessively long image burning time for smart cockpit chips is solved, and efficient mirror burning is achieved Recording the process improves production efficiency.

CN119201150APending Publication Date: 2024-12-27ECARX (HUBEI) TECHCO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411367122.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-29
Publication Date
2024-12-27

AI Technical Summary

Technical Problem

The mirror recording time of the smart cockpit chip is too long, which affects the development of downstream work. Especially after adding business code to the Android 14 version, the mirror size exceeds 40G, and the writing time is significantly increased, resulting in low production efficiency.

Method used

By pre-burning the minimum system and burning scripts in the vehicle host, and running the burning scripts at the minimum system startup, the mass production image mounted in the vehicle host's mobile memory will be burned to the general flash memory. The port with the fastest data transmission speed is used for burning, such as USB3.0 port, and the partitioned burning is used for mirrored using the DD command.

Benefits of technology

It significantly shortens the mirror burning time, improves the burning efficiency, and reduces the time cost. It is suitable for mirror burning tasks of high-performance automotive chips such as the smart cockpit chip SA8155.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119201150A_ABST
    Figure CN119201150A_ABST
Patent Text Reader

Abstract

The invention discloses a mirror image burning method, device and equipment of an intelligent cabin chip and a medium, the intelligent cabin chip is integrated in a vehicle host, the mirror image burning method of the intelligent cabin chip comprises the following steps: controlling the vehicle host to start based on a minimum system, and running a burning script, the minimum system and the burning script are pre-burnt into a vehicle host; and burning the mass production mirror image of the chip mounted in the mobile memory of the vehicle host to a universal flash memory of the vehicle host through the burning script. The mirror image burning time is greatly shortened, and the burning efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of image burning of smart cockpit chips, and in particular to a method, device, equipment and medium for image burning of smart cockpit chips. Background Art

[0002] With the development of intelligent and networked vehicles, the functions of smart cockpits are becoming more and more abundant, and therefore, the requirements for the host system of smart cockpits are becoming higher and higher.

[0003] SA8155 is currently a popular high-performance smart cockpit chip. It uses a 7nm process technology and is an in-vehicle chip that combines ultra-performance and low functionality. SA8155 includes the following main components: 485CPU (Central Processing Unit), 640GPU (Graphics Processing Unit), 696DSP (Digital Signal Processor), image processing engine, VPU (Vision Processing Unit), DPU (Data Processing Unit), NPU (Neural Processing Unit) and LPDDR4X (Low Power Double Data Rata Random Access Memory). With the upgrade of the Android version, under Android14, plus the business code, the overall image has exceeded 40G, and the time to burn the image is getting longer and longer, which seriously affects the development of downstream work.

[0004] In view of this, the present invention is proposed. Summary of the invention

[0005] A brief summary of one or more aspects is given below to provide a basic understanding of these aspects. This summary is not an exhaustive overview of all conceived aspects, and is neither intended to identify the key or critical elements of all aspects nor to define the scope of any or all aspects. Its only purpose is to give some concepts of one or more aspects in a simplified form as a prelude to a more detailed description that will be given later.

[0006] The present application provides a method, device, equipment and medium for image burning of a smart cockpit chip, which greatly shortens the image burning time and improves the burning efficiency.

[0007] In a first aspect, the present invention provides a method for burning an image of a smart cockpit chip, wherein the smart cockpit chip is integrated in a vehicle host, and the burning method comprises:

[0008] Control the vehicle host to start based on the minimum system and run the burning script, wherein the minimum system and the burning script are pre-burned into the vehicle host;

[0009] The mass production image of the chip mounted in the mobile memory of the vehicle host is burned into the universal flash memory of the vehicle host through the burning script.

[0010] Furthermore, the mobile storage device is adapted to the port with the fastest data transmission speed on the vehicle host.

[0011] Furthermore, the burning script burns the mass production image of the chip mounted in the mobile memory of the vehicle host to the universal flash memory of the vehicle host, including:

[0012] The mass production image of the chip is read from the mobile memory through the DD command in the burning script, and the read mass production image of the chip is burned into the universal flash memory of the vehicle host.

[0013] Furthermore, the mass-produced image includes one or more of a boot partition image, a kernel partition image, a memory disk partition image, a user partition image, a system partition image, and a recovery partition image.

[0014] Further, the method of reading the mass production image of the chip from the mobile memory through the DD command in the burning script, and burning the read mass production image of the chip into the universal flash memory of the vehicle host includes:

[0015] In response to the mass-produced image including a boot partition image, the boot partition image file is read from the mobile storage device based on the file name of the boot partition image through the DD command in the burning script, and the read boot partition image file is burned to the boot partition of the universal flash memory of the vehicle host;

[0016] In response to the mass production image including a kernel partition image, reading a file of the kernel partition image from the mobile storage device based on the file name of the kernel partition image through a DD command in the burning script, and burning the read kernel partition image file to the kernel partition of the universal flash memory of the vehicle host;

[0017] In response to the mass production image including a memory disk partition image, the file of the memory disk partition image is read from the mobile storage device based on the file name of the memory disk partition image through the DD command in the burning script, and the read file of the memory disk partition image is burned to the memory disk partition of the universal flash memory of the vehicle host;

[0018] In response to the mass production image including the user partition image, the file of the user partition image is read from the mobile storage device based on the file name of the user partition image through the DD command in the burning script, and the read file of the user partition image is burned to the user partition of the universal flash memory of the vehicle host;

[0019] In response to the mass production image including the system partition image, reading the file of the system partition image from the mobile storage device based on the file name of the system partition image through the DD command in the burning script, and burning the read file of the system partition image to the system partition of the universal flash memory of the vehicle host;

[0020] In response to the mass production image including a recovery partition image, the file of the recovery partition image is read from the mobile storage device based on the file name of the recovery partition image through the DD command in the burning script, and the read recovery partition image file is burned to the recovery partition of the universal flash memory of the vehicle host.

[0021] Furthermore, after the mass production image of the chip mounted in the mobile memory of the vehicle host is burned into the universal flash memory of the vehicle host by the burning script, it includes:

[0022] The burning is completed by displaying the preset information;

[0023] Alternatively, a preset message is sent to a mobile terminal associated with the vehicle computer to indicate that the burning is complete;

[0024] Alternatively, the burning completion prompt is given by voice broadcasting of preset information.

[0025] Furthermore, the smart cockpit chip is SA8155.

[0026] In a second aspect, the present invention further provides an image burning device for a smart cockpit chip, wherein the smart cockpit chip is integrated into a vehicle host, and the burning device comprises:

[0027] The startup and operation module is used to control the vehicle host to start based on the minimum system and run the burning script, wherein the minimum system and the burning script are pre-burned into the vehicle host;

[0028] The burning module is used to burn the mass production image of the chip mounted in the mobile memory of the vehicle host to the universal flash memory of the vehicle host through the burning script.

[0029] In a third aspect, the present invention further provides an electronic device, the electronic device comprising:

[0030] one or more processors;

[0031] A storage device for storing one or more programs;

[0032] When the one or more programs are executed by the one or more processors, the one or more processors implement the image burning method of the smart cockpit chip as described above.

[0033] In a fourth aspect, the present invention further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the image burning method of the smart cockpit chip as described above.

[0034] The image burning method of the smart cockpit chip disclosed in the present invention first pre-writes the minimum system for realizing the startup function of the vehicle host and the burning script for burning the mass production image of the chip into the vehicle host, then restarts the vehicle host, so that the vehicle host starts based on the minimum system, and runs the burning script, and burns the mass production image of the chip mounted in the mobile memory of the vehicle host to the universal flash memory of the vehicle host through the burning script. Since the mobile memory is directly mounted on the vehicle host, the vehicle host actually burns itself, so the reading and writing speed is faster, which greatly improves the burning speed, shortens the image burning time, and improves the burning efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for describing the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.

[0036] Figure 1 A schematic diagram of a process for image burning a smart cockpit chip provided by an embodiment of the present invention Figure 1 ;

[0037] Figure 2 A schematic diagram of a process for image burning a smart cockpit chip provided by an embodiment of the present invention Figure 2 ;

[0038] Figure 3A schematic diagram of a process for image burning a smart cockpit chip provided by an embodiment of the present invention Figure 3 ;

[0039] Figure 4 A schematic diagram of the structure of an image burning device for a smart cockpit chip provided by an embodiment of the present invention;

[0040] Figure 5 FIG. 4 is a schematic diagram of the structure of an electronic device in an embodiment of the present invention. DETAILED DESCRIPTION

[0041] The present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the relevant invention, rather than to limit the invention. It is also necessary to explain that, for ease of description, only the parts related to the invention are shown in the accompanying drawings.

[0042] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0043] In some embodiments, the image burning of the smart cockpit chip can be performed based on the following method: connect the computer to the USB port of the smart cockpit chip via USB (Universal Serial Bus), and burn the image on the computer to the smart cockpit chip through the link. Since the computer only supports USB2.0 (Universal Serial Bus standard), the data transmission speed is slow, usually 30MB / s. For a 40G image, it takes more than 40G*1024 / 30MB=22.7 minutes, which is time-consuming for the factory production line and seriously affects the production efficiency.

[0044] In view of this, in other implementations, the image burning method of the above-mentioned smart cockpit chip is improved to increase the burning speed and reduce the time cost. Figure 1 This is a flow chart of a method for image burning of a smart cockpit chip proposed in this application, such as Figure 1 As shown, the image burning method of the smart cockpit chip includes the following steps:

[0045] S110, controlling the vehicle host to start based on the minimum system and run the burning script, wherein the minimum system and the burning script are pre-burned into the vehicle host.

[0046] Among them, the smart cockpit chip is integrated into the vehicle host, is the core component of the vehicle host, is the control center of the vehicle infotainment system, smart cockpit, etc., and is responsible for processing and controlling various functions and information interactions in the car.

[0047] The minimum system is a necessary system for starting the vehicle host, including the boot partition image (i.e., boot-temp image) and the kernel partition image (i.e., kernel-temp image). The boot partition image includes key files and configuration information required for starting the vehicle host. The kernel is the core part of the operating system, and the kernel partition image includes files responsible for managing system resources and running various tasks.

[0048] The burning script is a script used to implement the mass production image burning function of the chip. The burning script can be stored in the memory disk partition (i.e. ramdisk-temp), and the burning script can be packaged to form a memory disk ramdisk, which is a disk simulated by computer memory. The burning script is set to auto-start, and when the vehicle host starts, the burning script runs automatically.

[0049] In some embodiments, taking the smart cockpit chip SA8155 as an example, first, prepare a boot partition image (i.e., boot-temp image) and a kernel partition image (i.e., kernel-temp image) as the minimum system for starting the vehicle host. In particular, the boot partition image (i.e., boot-temp image) and the kernel partition image (i.e., kernel-temp image) of the minimum system can be directly obtained from the mass production image of the chip. At the same time, prepare the burning script. The size of the boot partition image (i.e., boot-temp image) is approximately 50M, the size of the kernel partition image (i.e., kernel-temp image) is approximately 35M, and the size of the burning script is approximately 15M. Use a computer burning tool to pre-burn the boot partition image (i.e., boot-temp image), the kernel partition image (i.e., kernel-temp image) and the burning script into the vehicle host. The process consumes approximately (50M+35M+15M) / 30M=3.3s.

[0050] Then, the vehicle host is restarted, and the vehicle host is started based on the pre-burned minimum system, and the burning script is run at the same time. The mass production image of the chip mounted in the mobile memory of the vehicle host is burned to the universal flash memory of the vehicle host through the burning script. That is, the mobile memory is directly mounted on the vehicle host.

[0051] S120 , burning the mass production image of the chip mounted in the mobile memory of the vehicle host into the universal flash memory of the vehicle host through the burning script.

[0052] For example, the mobile storage is mounted on a port of the vehicle host with the fastest data transmission speed. In other words, the mobile storage is adapted to the port of the vehicle host with the fastest data transmission speed.

[0053] Since the mobile storage is directly mounted on the vehicle host, it is preferred to select a mounting port with the fastest data transmission speed on the vehicle host and select an adapted mobile storage.

[0054] Taking the smart cockpit chip SA8155 as an example, the core component of the car host is the fastest port supported by USB3.0, and a mobile storage device that supports USB3.0, such as a high-speed USB flash drive, can be selected. Inserting a high-speed USB flash drive into the USB3.0 port of the car host can make the speed of reading the image from the USB flash drive very fast. Through testing, it is determined that the speed of reading the image from the USB flash drive can reach 900MB / s, while the continuous write speed of the universal flash storage (Universal Flash Storage, UFS) is 1801.1MB / s. Therefore, the bottleneck of the entire burning process is the speed of reading the image from the USB flash drive, that is, 900MB / s. If the size of the mass-produced image of the chip is 40G, then the burning method provided by the embodiment of the present application needs to consume 40G*1024 / 900M=45s, that is, 45s can complete the entire burning process, which greatly improves the burning speed and shortens the burning time compared to the above 22.7 minutes. This greatly reduces the time cost and improves production efficiency for the factory production line.

[0055] It should be noted that the above embodiment takes the smart cockpit chip SA8155 as an example, and the fastest port it supports is USB3.0. With the development of technology, if a faster port is generated, the faster port should be used for mirror burning.

[0056] The method for burning the image of the smart cockpit chip disclosed in the embodiment of the present invention first pre-flashes the minimum system for realizing the startup function of the vehicle host and the burning script for burning the mass production image of the chip into the vehicle host, and then restarts the vehicle host to start the vehicle host based on the minimum system and runs the burning script, and burns the mass production image of the chip mounted in the mobile memory of the vehicle host to the universal flash memory of the vehicle host through the burning script. Since the mobile memory is directly mounted on the vehicle host, the vehicle host actually burns itself, so the reading and writing speed is fast, which greatly improves the burning speed, shortens the image burning time, and improves the burning efficiency. Furthermore, by using the port with the fastest data transmission speed of the vehicle host to mount the mobile memory, the speed of reading the image from the mobile memory is greatly improved.

[0057] On the basis of the above embodiment, this embodiment further defines step 120 "burning the mass production image of the chip mounted in the mobile memory of the vehicle host to the universal flash memory of the vehicle host through the burning script". Specifically, the mass production image of the chip is read from the mobile memory through the DD command in the burning script, and the mass production image of the chip is burned to the universal flash memory of the vehicle host. By using the DD command to realize image burning, the burning accuracy, stability and reliability are guaranteed.

[0058] like Figure 2 As shown, the image burning method of the smart cockpit chip includes the following steps:

[0059] S210, controlling the vehicle host to start based on the minimum system and run the burning script, wherein the minimum system and the burning script are pre-burned into the vehicle host.

[0060] S220, reading the mass production image of the chip from the mobile memory through the DD command in the burning script, and burning the read mass production image of the chip into the universal flash memory of the vehicle host.

[0061] The DD command is a powerful data copy and conversion tool that can copy the data of one file, device, or input stream to another file, device, or output stream. For example, you can use the DD command to copy the contents of one disk partition to another disk partition, or to copy a file from one device to another. By using the DD command to achieve image burning, the burning efficiency, accuracy, stability, and reliability are guaranteed.

[0062] Based on the above embodiment, this embodiment further limits the mass production image. Specifically, the mass production image includes one or more of a boot partition image, a kernel partition image, a memory disk partition image, a user partition image, a system partition image, and a recovery partition image. Correspondingly, the step S220 "reading the mass production image of the chip from the mobile storage device through the DD command in the burning script, and burning the read mass production image of the chip to the universal flash memory of the vehicle host" is correspondingly limited. Specifically, in response to the mass production image including a boot partition image, the DD command in the burning script is used to read the file of the boot partition image from the mobile storage device based on the file name of the boot partition image, and the read boot partition image file is burned to the boot partition of the universal flash memory of the vehicle host; in response to the mass production image including a kernel partition image, the DD command in the burning script is used to read the file of the kernel partition image from the mobile storage device based on the file name of the kernel partition image, and the read kernel partition image file is burned to the kernel partition of the universal flash memory of the vehicle host; in response to the mass production image including a memory disk partition image, the DD command in the burning script is used to read the file of the kernel partition image from the mobile storage device based on the file name of the kernel partition image In response to the mass production image including the user partition image, the file of the user partition image is read from the mobile storage device based on the file name of the user partition image through the DD command in the burning script, and the file of the read user partition image is burned to the user partition of the universal flash memory of the vehicle host; in response to the mass production image including the system partition image, the file of the system partition image is read from the mobile storage device based on the file name of the system partition image through the DD command in the burning script, and the file of the read system partition image is burned to the system partition of the universal flash memory of the vehicle host; in response to the mass production image including the recovery partition image, the file of the recovery partition image is read from the mobile storage device based on the file name of the recovery partition image through the DD command in the burning script, and the file of the read recovery partition image is burned to the recovery partition of the universal flash memory of the vehicle host. Accurate burning of the mass production image of the chip is achieved, ensuring burning accuracy, stability and reliability.

[0063] Exemplarily, the DD command in the burning script may be:

[0064] dd if= / path / to / boot.img of= / dev / sda1, wherein / path / to represents the storage location of the mobile storage device, boot.img represents the file name of the boot partition image, and / dev / sda1 represents the boot partition in the universal flash memory.

[0065] dd if= / path / to / kernel.img of= / dev / sda2, wherein / path / to represents the storage location of the mobile storage device, kernel.img represents the file name of the kernel partition image, and / dev / sda2 represents the kernel partition in the universal flash memory.

[0066] dd if= / path / to / ramdisk.img of= / dev / sda3, wherein / path / to represents the storage location of the mobile storage device, ramdisk.img represents the file name of the memory disk partition image, and / dev / sda3 represents the memory disk partition in the universal flash memory device.

[0067] dd if= / path / to / user.img of= / dev / sda4, wherein / path / to represents the storage location of the mobile storage device, user.img represents the file name of the user partition image, and / dev / sda4 represents the user partition in the universal flash memory.

[0068] dd if= / path / to / system.img of= / dev / sda5, wherein / path / to represents the storage location of the mobile storage device, system.img represents the file name of the user partition image, and / dev / sda5 represents the system partition in the universal flash memory device.

[0069] dd if= / path / to / recovery.img of= / dev / sda6, wherein / path / to represents the storage location of the mobile storage device, recovery.img represents the file name of the recovery partition image, and / dev / sda6 represents the recovery partition in the universal flash memory device.

[0070] In particular, in addition to the above core partitions, other partitions also use the same command to burn into the corresponding partitions.

[0071] On the basis of the above embodiment, this embodiment further limits the image burning method of the smart cockpit chip, specifically, after the mass production image of the chip mounted in the mobile memory of the vehicle host is burned to the universal flash memory of the vehicle host through the burning script, the following steps are added: displaying preset information to prompt the completion of burning; or sending preset information to the mobile terminal associated with the vehicle host to prompt the completion of burning; or broadcasting preset information by voice to prompt the completion of burning. So that relevant personnel can know the burning progress in time.

[0072] like Figure 3 As shown, the image burning method of the smart cockpit chip includes the following steps:

[0073] S310, controlling the vehicle host to start based on the minimum system and run the burning script, wherein the minimum system and the burning script are pre-burned into the vehicle host.

[0074] S320, burning the mass production image of the chip mounted in the mobile memory of the vehicle host into the universal flash memory of the vehicle host through the burning script.

[0075] S330, when the burning is completed, the burning completion prompt is given by displaying a preset message; or, the burning completion prompt is given by sending a preset message to a mobile terminal associated with the vehicle computer; or, the burning completion prompt is given by voice broadcasting the preset message.

[0076] After the burning is completed, restart the vehicle host to make the vehicle host enter the new system.

[0077] In summary, the image burning method of the smart cockpit chip provided in the embodiment of the present application first creates the image and burning script of the minimum system of the vehicle host, and uses a computer burning tool to pre-burn the image and burning script of the minimum system of the vehicle host to the vehicle host, and then restarts the vehicle host to start the vehicle host based on the minimum system and run the burning script. At the same time, a mobile storage device is connected to the highest-speed transmission port of the vehicle host, and the mass-produced image stored in the mobile storage device is burned to the general flash memory of the vehicle host through the burning script.

[0078] The burning method provided in the example of this application is particularly suitable for smart cockpit chips that do not support startup from external mobile storage.

[0079] Figure 4 Schematic diagram of the structure of a mirror image burning device for a smart cockpit chip provided by an embodiment of the present invention. Figure 4 As shown, the device includes: a startup and operation module 410 and a burning module 420.

[0080] Among them, the startup and operation module 410 is used to control the vehicle host to start up based on the minimum system and run the burning script, and the minimum system and the burning script are pre-burned into the vehicle host; the burning module 420 is used to burn the mass production image of the chip mounted in the mobile memory of the vehicle host to the universal flash memory of the vehicle host through the burning script.

[0081] Furthermore, the mobile memory is adapted to a port with the fastest data transmission speed on the vehicle host.

[0082] Furthermore, the burning module 420 is specifically used to: read the mass production image of the chip from the mobile memory through the DD command in the burning script, and burn the read mass production image of the chip to the universal flash memory of the vehicle host.

[0083] Furthermore, the mass-produced image includes one or more of a boot partition image, a kernel partition image, a memory disk partition image, a user partition image, a system partition image, and a recovery partition image.

[0084] Correspondingly, the burning module 420 is specifically used for: in response to the mass production image including a boot partition image, reading the file of the boot partition image from the mobile storage device based on the file name of the boot partition image through the DD command in the burning script, and burning the read boot partition image file to the boot partition of the universal flash memory of the vehicle host; in response to the mass production image including a kernel partition image, reading the file of the kernel partition image from the mobile storage device based on the file name of the kernel partition image through the DD command in the burning script, and burning the read kernel partition image file to the kernel partition of the universal flash memory of the vehicle host; in response to the mass production image including a memory disk partition image, reading the file of the memory disk partition image from the mobile storage device based on the file name of the memory disk partition image through the DD command in the burning script, and burning the read memory disk partition image file to the universal flash memory of the vehicle host. a memory disk partition of a flash memory; in response to the mass production image including a user partition image, based on the file name of the user partition image, the DD command in the burning script is used to read the file of the user partition image from the mobile storage device, and the read file of the user partition image is burned to the user partition of the universal flash memory of the vehicle host; in response to the mass production image including a system partition image, based on the file name of the system partition image, the DD command in the burning script is used to read the file of the system partition image from the mobile storage device, and the read file of the system partition image is burned to the system partition of the universal flash memory of the vehicle host; in response to the mass production image including a recovery partition image, based on the file name of the recovery partition image, the DD command in the burning script is used to read the file of the recovery partition image from the mobile storage device, and the read file of the recovery partition image is burned to the recovery partition of the universal flash memory of the vehicle host.

[0085] Furthermore, the image burning device of the smart cockpit chip also includes: a prompt module, which is used to prompt the completion of burning by displaying preset information; or, to prompt the completion of burning by sending preset information to a mobile terminal associated with the vehicle computer; or, to prompt the completion of burning by voice broadcasting preset information.

[0086] Furthermore, the smart cockpit chip is SA8155.

[0087] The image burning device of the smart cockpit chip disclosed in the embodiment of the present invention first pre-writes the minimum system for realizing the startup function of the vehicle host and the burning script for burning the mass production image of the chip into the vehicle host, and then restarts the vehicle host to start the vehicle host based on the minimum system and runs the burning script, and burns the mass production image of the chip mounted in the mobile memory of the vehicle host to the universal flash memory of the vehicle host through the burning script. Since the mobile memory is directly mounted on the vehicle host, the vehicle host actually burns itself, so the reading and writing speed is faster, which greatly improves the burning speed, shortens the image burning time, and improves the burning efficiency.

[0088] The image burning device for the smart cockpit chip provided in the embodiment of the present disclosure can execute the steps in the image burning method for the smart cockpit chip provided in the method embodiment of the present disclosure, and the execution steps and beneficial effects are no longer repeated here.

[0089] Figure 5 Schematic diagram of the structure of an electronic device in the embodiment of the present disclosure. Figure 5 , which shows a structural schematic diagram of an electronic device 500 suitable for implementing the embodiments of the present disclosure. Figure 5 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0090] like Figure 5 As shown, the electronic device 500 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) or a program loaded from a storage device 508 into a random access memory (RAM) to implement the method of the embodiment described in the present disclosure. In RAM503, various programs and data required for the operation of the electronic device 500 are also stored. The processing device 501, ROM 502, and RAM503 are connected to each other via a bus 504. An I / O interface 505 is also connected to the bus 504. An input device 506, an output device 507, a storage device 508, and a communication device 509 are all connected to the I / O interface 505.

[0091] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart, thereby implementing the image burning method of the smart cockpit chip as described above. In such an embodiment, the computer program can be downloaded and installed from the network through the communication device 509, or installed from the storage device 508, or installed from the ROM 502. When the computer program is executed by the processing device 501, the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.

[0092] It should be noted that the computer-readable medium disclosed above may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.

[0093] The computer-readable medium may be included in the electronic device, or may exist independently without being installed in the electronic device. The computer-readable medium carries one or more programs, and when the one or more programs are executed by the electronic device, the electronic device executes the method steps in the present application.

[0094] Optionally, when the above one or more programs are executed by the electronic device, the electronic device may also execute other steps described in the above embodiments.

[0095] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0096] The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present disclosure (but not limited to) by each other to form a technical solution.

[0097] This article uses specific examples to illustrate the principles and implementation methods of this application. The description of the above embodiments is only used to help understand the method and its core ideas of this application. The above is only the preferred implementation method of this application. It should be pointed out that due to the limitations of textual expression and the objective existence of infinite specific structures, ordinary technicians in this technical field can make several improvements, modifications or changes without departing from the principles of the present invention, and can also combine the above technical features in an appropriate manner; these improvements, modifications, changes or combinations, or the direct application of the inventive concept and technical solution to other occasions without improvement, should be regarded as the scope of protection of this application.

Claims

1. A method for burning an image of a smart cockpit chip, characterized in that: The smart cockpit chip is integrated into the vehicle host, and the burning method includes: Control the vehicle host to start based on the minimum system and run the burning script, wherein the minimum system and the burning script are pre-burned into the vehicle host; The mass production image of the chip mounted in the mobile memory of the vehicle host is burned into the universal flash memory of the vehicle host through the burning script.

2. The image burning method of the smart cockpit chip according to claim 1 is characterized in that: The mobile memory is adapted to the port with the fastest data transmission speed on the vehicle host.

3. The image burning method of the smart cockpit chip according to claim 1 is characterized in that: The method of burning the mass production image of the chip mounted in the mobile memory of the vehicle host to the universal flash memory of the vehicle host by using the burning script includes: The mass production image of the chip is read from the mobile memory through the DD command in the burning script, and the read mass production image of the chip is burned into the universal flash memory of the vehicle host.

4. The image burning method of the smart cockpit chip according to claim 3 is characterized in that: The mass-produced image includes one or more of a boot partition image, a kernel partition image, a memory disk partition image, a user partition image, a system partition image, and a recovery partition image.

5. The image burning method of the smart cockpit chip according to claim 4 is characterized in that: The method of reading the mass production image of the chip from the mobile memory through the DD command in the burning script, and burning the read mass production image of the chip to the universal flash memory of the vehicle host includes: In response to the mass-produced image including a boot partition image, the boot partition image file is read from the mobile storage device based on the file name of the boot partition image through the DD command in the burning script, and the read boot partition image file is burned to the boot partition of the universal flash memory of the vehicle host; In response to the mass production image including a kernel partition image, reading a file of the kernel partition image from the mobile storage device based on the file name of the kernel partition image through a DD command in the burning script, and burning the read kernel partition image file to the kernel partition of the universal flash memory of the vehicle host; In response to the mass production image including a memory disk partition image, the file of the memory disk partition image is read from the mobile storage device based on the file name of the memory disk partition image through the DD command in the burning script, and the read file of the memory disk partition image is burned to the memory disk partition of the universal flash memory of the vehicle host; In response to the mass production image including the user partition image, the file of the user partition image is read from the mobile storage device based on the file name of the user partition image through the DD command in the burning script, and the read file of the user partition image is burned to the user partition of the universal flash memory of the vehicle host; In response to the mass production image including the system partition image, reading the file of the system partition image from the mobile storage device based on the file name of the system partition image through the DD command in the burning script, and burning the read file of the system partition image to the system partition of the universal flash memory of the vehicle host; In response to the mass production image including a recovery partition image, the file of the recovery partition image is read from the mobile storage device based on the file name of the recovery partition image through the DD command in the burning script, and the read recovery partition image file is burned to the recovery partition of the universal flash memory of the vehicle host.

6. The image burning method of the smart cockpit chip according to claim 1 is characterized in that: After the mass production image of the chip mounted in the mobile memory of the vehicle host is burned into the universal flash memory of the vehicle host by the burning script, it includes: The burning is completed by displaying the preset information; Alternatively, a preset message is sent to a mobile terminal associated with the vehicle computer to indicate that the burning is complete; Alternatively, the burning completion prompt is given by voice broadcasting of preset information.

7. The image burning method of the smart cockpit chip according to claim 1 is characterized in that: The smart cockpit chip is SA8155.

8. An image burning device for a smart cockpit chip, characterized in that: The smart cockpit chip is integrated into the vehicle host, and the burning device includes: The startup and operation module is used to control the vehicle host to start based on the minimum system and run the burning script, wherein the minimum system and the burning script are pre-burned into the vehicle host; The burning module is used to burn the mass production image of the chip mounted in the mobile memory of the vehicle host to the universal flash memory of the vehicle host through the burning script.

9. An electronic device, characterized in that: The electronic device comprises: one or more processors; A storage device for storing one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the image burning method of the smart cockpit chip as described in any one of claims 1-7.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, an image burning method for a smart cockpit chip as described in any one of claims 1 to 7 is implemented.