Firmware burning method, device and system of split 5g / v2x equipment

By integrating firmware burning methods and devices, the firmware burning packages for separate 5G/V2X devices are integrated, solving the problems of chaotic version management and high operational difficulty, and improving the software stability and working efficiency of the devices.

CN114185561BActive Publication Date: 2026-02-06SHENZHEN GENVICT TECH
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202111220880.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-10-20
Publication Date
2026-02-06
Estimated Expiration
2041-10-20

AI Technical Summary

Technical Problem

The separate firmware of each component in a split-type 5G/V2X device leads to chaotic version management and high operational difficulty, affecting functional compatibility and work efficiency.

Method used

Design an integrated firmware burning method and device, which automatically executes firmware burning operations by creating an integrated firmware burning package, including firmware for application processors, 5G modules and C-V2X modules, and using a unified device operation tool and batch processing program.

Benefits of technology

It simplifies firmware management and version compatibility issues, improves software stability and efficiency, and reduces the failure rate.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114185561B_ABST
    Figure CN114185561B_ABST
Patent Text Reader

Abstract

The application relates to a firmware burning method, device and system of a split 5G / V2X equipment, the firmware burning method of the split 5G / V2X equipment comprising: creating an integrated firmware burning package, the integrated firmware burning package comprising the following arranged in the same directory: a firmware set of an application processor; a firmware package of a 5G module; firmware of a C-V2X module; an equipment running tool; a firmware burning batch program; receiving a trigger signal input by a user; starting the firmware burning batch program according to the trigger signal to sequentially burn firmware of the application processor, the 5G module and the C-V2X module through the equipment running tool. The technical scheme of the application avoids the compatibility problem between different firmware versions caused by the management dispersion of independent system firmware of different components, improves the work efficiency of software and hardware development and test personnel, and greatly improves the production efficiency of a factory.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the field of software tools, in particular to a firmware burning method, device and system of a split 5G / V2X device. BACKGROUND

[0002] The split 5G / V2X device is a fusion device of multiple devices, which includes at least three large components such as an application processor device end, a 5G module device end, and a C-V2X module device end. The application processor, the 5G module, and the C-V2X module are three core components of the split 5G / V2X device, which support the basic functions of the split 5G / V2X device: 5G and V2X. Each of the three components has its own dedicated software system firmware, so the overall firmware of the split 5G / V2X device includes independent application processor firmware, 5G module firmware, and C-V2X module firmware, and each firmware upgrade needs to be upgraded separately for the application processor, the 5G module, and the C-V2X module, as well as compatibility processing of different firmware versions between components. Specifically, the split 5G / V2X device provides three USB ports on the hardware level, which are used for application processor firmware burning, 5G module firmware burning, and C-V2X module firmware burning, respectively. Each firmware burning has its own burning tool and burning strategy, so this firmware burning method will inevitably cause at least two problems:

[0003] 1. Since the firmware of each component of the split 5G / V2X device exists independently, it is easy to cause firmware version management confusion, leading to incompatible firmware versions between components and causing function and system stability problems;

[0004] 2. The firmware of each component of the split 5G / V2X device needs to be burned separately, which greatly increases the operation difficulty and operation time of developers, testers, and factory production personnel, greatly reducing work efficiency. SUMMARY

[0005] The technical problem to be solved by the present application is the defect that the firmware of each component of the split 5G / V2X device exists independently and needs to be burned separately in the prior art.

[0006] The technical scheme adopted by the present application to solve the technical problem is: a firmware burning method of a split 5G / V2X device is constructed, which is applied to a firmware burning device, and the firmware burning device is connected with the split 5G / V2X device. The split 5G / V2X device includes an application processor and 5G modules and C-V2X modules connected with the application processor respectively. The firmware burning method includes:

[0007] Creation steps: Create an all-in-one firmware flashing package, which includes the following components located in the same directory: the firmware set for the application processor; the firmware package for the 5G module; the firmware for the C-V2X module; the device operation tool; and the firmware flashing batch program.

[0008] Triggering steps: Receive the trigger signal input by the user;

[0009] Execution steps: The firmware burning batch processing program is started according to the trigger signal, so as to sequentially burn firmware to the application processor, the 5G module and the C-V2X module through the device running tool.

[0010] Optionally, the firmware burning device includes a first USB port for connecting to the application processor via a first USB data cable;

[0011] The device operating tools include: a command-line programming tool for the application processor; and a firmware configuration file for the application processor.

[0012] Furthermore, the firmware is sequentially flashed onto the application processor, the 5G module, and the C-V2X module using the device operation tool, including:

[0013] Using the command-line flashing tool of the application processor, the firmware of the application processor is first flashed through the first USB port. Then, according to the firmware configuration file of the application processor, the corresponding command-line flashing tool is executed within the application processor to flash the firmware of the 5G module and the C-V2X module.

[0014] Optionally, the firmware burning device includes: a first USB port for connecting to the application processor via a first USB data cable, and a second USB port for connecting to the C-V2X module via a second USB data cable;

[0015] The device operation tools include: a command-line programming tool for the application processor; a firmware configuration file for the application processor; and a command-line programming tool for the C-V2X module.

[0016] Furthermore, the firmware is sequentially flashed onto the application processor, the 5G module, and the C-V2X module using the device operation tool, including:

[0017] Step S31. Use the command-line flashing tool of the application processor to flash the firmware of the application processor through the first USB port, and then flash the firmware of the 5G module by executing the corresponding command-line flashing tool in the application processor according to the firmware configuration file of the application processor.

[0018] Step S32. Using the command line burning tool of the C-V2X module, the firmware of the C-V2X module is burned through the second USB port.

[0019] Optionally, the firmware set of the application processor includes: a U-BOOT image file, a kernel image file, a device tree image file, and a virtual memory file system; and the integrated firmware burning package further includes an IMEI number backup script.

[0020] The step S31 includes:

[0021] The U-BOOT image file is downloaded to the memory of the application processor through the first USB port and started;

[0022] The kernel image file, the device tree image file, and the virtual memory file system are downloaded to the memory of the application processor through the first USB port, so that the application processor loads and starts the Linux kernel and enters the kernel fast start mode;

[0023] In the kernel fast start mode, the U-BOOT image file, the kernel image file, the device tree image file, and the virtual memory file system are written into the application processor;

[0024] In the kernel fast start mode, the firmware package of the 5G module and the IMEI number backup script are respectively downloaded to the cache of the application processor through the first USB port, and the IMEI number backup script is executed to backup the IMEI number before the 5G module firmware is burned, and the burning command corresponding to the 5G module is executed in the application processor;

[0025] After the 5G module is restarted, the backup IMEI number is written back to the 5G module.

[0026] Optionally, the step S32 includes:

[0027] The C-V2X module is switched to the fast start mode through the second USB port;

[0028] In the fast start mode, the firmware of the C-V2X module is burned through the second USB port, and the C-V2X module is restarted;

[0029] After the C-V2X module is restarted, the updated firmware version number of the C-V2X module is read out through the second USB port.

[0030] The application also discloses a firmware burning device of a split type 5G / V2X equipment, which is connected with the split type 5G / V2X equipment and comprises an application processor, a 5G module and a C-V2X module connected with the application processor respectively.

[0031] The application further discloses a firmware burning device of a split type 5G / V2X equipment, which is connected with the split type 5G / V2X equipment and comprises an application processor, a 5G module and a C-V2X module connected with the application processor respectively, and the firmware burning device comprises:

[0032] The application further discloses a firmware burning device of a split type 5G / V2X equipment, which is connected with the split type 5G / V2X equipment and comprises an application processor, a 5G module and a C-V2X module connected with the application processor respectively, and the firmware burning device comprises:

[0033] The application further discloses a firmware burning device of a split type 5G / V2X equipment, which is connected with the split type 5G / V2X equipment and comprises an application processor, a 5G module and a C-V2X module connected with the application processor respectively, and the firmware burning device comprises:

[0034] The application further discloses a firmware burning device of a split type 5G / V2X equipment, which is connected with the split type 5G / V2X equipment and comprises an application processor, a 5G module and a C-V2X module connected with the application processor respectively, and the firmware burning device comprises:

[0035] The application further discloses a firmware burning device of a split type 5G / V2X equipment, which is connected with the split type 5G / V2X equipment and comprises an application processor, a 5G module and a C-V2X module connected with the application processor respectively, and the firmware burning device comprises:

[0036] The application further discloses a firmware burning device of a split type 5G / V2X equipment, which is connected with the split type 5G / V2X equipment and comprises an application processor, a 5G module and a C-V2X module connected with the application processor respectively, and the firmware burning device comprises:

[0037] The application further discloses a firmware burning device of a split type 5G / V2X equipment, which is connected with the split type 5G / V2X equipment and comprises an application processor, a 5G module and a C-V2X module connected with the application processor respectively, and the firmware burning device comprises:

[0038] The application further discloses a firmware burning device of a split type 5G / V2X equipment, which is connected with the split type 5G / V2X equipment and comprises an application processor, a 5G module and a C-V2X module connected with the application processor respectively, and the firmware burning device comprises:

[0039] Optionally, the execution module is configured to use the USB SDPS protocol and the USB FBK protocol to perform firmware burning on the application processor through the first USB port; use the USB Sahara protocol and the USB Firehose protocol to perform firmware burning on the 5G module; and use the USB fastboot protocol to perform firmware burning on the C-V2X module.

[0040] The application also provides a firmware burning system of a split 5G / V2X device.

[0041] The technical solution provided by the application integrates independent system firmware of multiple different components together, so that the maintenance and management of the overall firmware of the software system of the split 5G / V2X device become simpler, and the compatibility problem between different firmware versions caused by the scattered management of the independent system firmware of different components is avoided, thereby improving the software stability of the product and reducing the failure rate of the product. Meanwhile, the firmware burning batch processing program is triggered to automatically perform the burning operation of the multiple firmware of the split 5G / V2X device in a certain order, which greatly improves the work efficiency of the software and hardware development and testing personnel and greatly improves the production efficiency of the factory. BRIEF DESCRIPTION OF DRAWINGS

[0042] In order to more clearly illustrate the embodiments of the application, the drawings needed in the following embodiment description will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the application, and other drawings can be obtained by those skilled in the art without creative labor. In the drawings:

[0043] Figure 1 is a flow chart of the firmware burning method of the split 5G / V2X device according to an embodiment of the application;

[0044] Figure 2 is a structural diagram of the firmware burning system of the split 5G / V2X device according to an embodiment of the application;

[0045] Figure 3 is a flow chart of the command line burning tool for executing the application processor and the firmware configuration file according to an embodiment of the application;

[0046] Figure 4 is a flow chart of the firmware burning batch processing program according to an embodiment of the application;

[0047] Figure 5is a logic structure diagram of embodiment one of the firmware burning device of the split type 5G / V2X equipment of the present application. DETAILED DESCRIPTION

[0048] The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative labor fall within the scope of protection of the present application.

[0049] In view of the technical problems of version management confusion of the firmware of each component and the need for separate burning of each firmware in the prior art, the present application proposes a new firmware burning scheme for split type 5G / V2X equipment. The scheme designs an integrated automatic firmware burning strategy for the application processor, 5G module and C-V2X module. Specifically, the firmware of the three components is stored and released centrally and uniformly. In addition to the driver of the firmware burning device end that must be installed, all other dependent tools are integrated into the firmware burning package. In addition, a batch processing program is designed, and the user can start the integrated automatic firmware burning operation by clicking the batch processing program.

[0050] Figure 1 is a flowchart of embodiment one of the firmware burning method of the split type 5G / V2X equipment of the present application, combined with Figure 2 The firmware burning method of this embodiment is applied to the firmware burning device 10, for example, a PC with a windows operating system, and the firmware burning device 10 is connected with the split type 5G / V2X equipment 20. The split type 5G / V2X equipment includes an application processor 21 and a 5G module 22 and a C-V2X module 23 connected with the application processor 21 respectively. In this embodiment, the firmware burning method of the split type 5G / V2X equipment includes:

[0051] The step S10 of creating an integrated firmware burning package, the integrated firmware burning package includes the firmware set of the application processor, the firmware package of the 5G module, the firmware of the C-V2X module, the device running tool and the firmware burning batch processing program arranged in the same directory;

[0052] In this step, all the firmware to be burned of the split type 5G / V2X equipment 20 and the burning dependent tools are integrated. Specifically, an integrated firmware burning package is created on the firmware burning device 10. The integrated firmware burning package includes the firmware set of the application processor 21, the firmware package of the 5G module 22, the firmware of the C-V2X module 23, the device running tool and the firmware burning batch processing program arranged in the same directory.

[0053] As to the device running tool, it contains command line programs running on the windows end for firmware burning, which include a command line program for burning the application processor firmware, a command line program for burning the C-V2X module firmware and a command line program for burning the 5G module firmware.

[0054] As to the firmware burning batch program, its suffix name is usually bat or BAT, which is a script program for batch execution of commands on windows, similar to the bash script program on the Linux system. The above-mentioned command line programs for burning the firmware of the three components are organized according to specific rules and order to form a firmware burning batch program on windows (such as the name l10a-flash-all.bat), and the specific order is: first, burn the firmware of the application processor, then burn the firmware of the 5G module, and finally burn the firmware of the C-V2X module.

[0055] Triggering step S20: receiving a trigger signal input by a user;

[0056] In this step, the user can start the integrated automatic firmware burning operation by clicking the firmware burning batch program.

[0057] Executing step S30: starting the firmware burning batch program according to the trigger signal to burn the firmware of the application processor, the 5G module and the C-V2X module in turn through the device running tool.

[0058] In this step, combined with Figure 2 When the user triggers the firmware burning batch program, the power switch can be turned on to power the split 5G / V2X device through the power adapter, at this time, the firmware burning batch program (for example, l10a-flash-all.bat) starts to execute, that is, the firmware of the application processor, the firmware of the 5G module and the firmware of the C-V2X module are burned in turn and automatically.

[0059] The technical scheme of this embodiment integrates the independent system firmware of multiple different components together, so that the maintenance and management of the overall firmware of the software system of the split 5G / V2X device becomes simpler, and the compatibility problem between different firmware versions caused by the scattered management of the independent system firmware of different components is avoided, thus improving the software stability of the product and reducing the failure rate of the product. At the same time, by triggering the firmware burning batch program to automatically burn the firmware of the split 5G / V2X device in a certain order, the work efficiency of the software and hardware development and test personnel is greatly improved, and the production efficiency of the factory is greatly improved.

[0060] In one alternative embodiment, such as Figure 2 As shown, the firmware burning device 10 includes two USB ports, wherein the first USB port is used to connect to the application processor 21 via a first USB data cable, and the second USB port is used to connect to the C-V2X module 23 via a second USB data cable.

[0061] In addition, the device operating tools include: a command-line flashing tool for the application processor 21; a firmware configuration file for the application processor 21; and a command-line flashing tool for the C-V2X module 23. In a specific example, the application processor 21 is an i.MX series application processor from NXP, the 5G module 22 is a SIM8x series 5G module from SIMCOM based on the Qualcomm SDX55 chip, and the C-V2X module 23 is a UMV-9150LGA module from WNC (Taiwan) based on the Qualcomm MDM9150 chip. Furthermore, flashing the firmware for the i.MX series application processor 21 requires the command-line flashing tool uuu.exe, flashing the firmware for the 5G module 22 requires Qualcomm's command-line flashing tool qdl, and flashing the firmware for the C-V2X module 23 requires using the Android system's mode switching tool adb tools to switch to fastboot mode, and then using the fastboot command-line tool in this mode for flashing. Therefore, when creating the all-in-one firmware flashing package, firstly, all the software tools required for flashing the i.MX series application processor firmware are installed in the firmware directory, including: the adb / fastboot toolset; Python version 2.7 (which runs the Python scripts in the batch processing program, eliminating the need for users to install PC program suites); and the i.MX series application processor firmware flashing dedicated command-line tool uuu. Next, the firmware of the 5G module is packaged and compressed into a tar format file and copied to the firmware directory. Then, the firmware of the C-V2X module is directly copied to the firmware directory. Finally, the i.MX series application processor firmware configuration file emmc.uuu and the firmware flashing batch processing program 5gv2x-flash-all.bat are placed in the firmware directory, thus forming the all-in-one firmware flashing package.

[0062] In this embodiment, step S30 involves sequentially flashing firmware onto the application processor, the 5G module, and the C-V2X module using the device running tool, including:

[0063] Step S31. Using the command line burning tool of the application processor, the firmware of the application processor is burned through the first USB port, and then the firmware of the 5G module is burned by executing the corresponding command line burning tool in the application processor according to the firmware configuration file of the application processor.

[0064] Step S32. Using the command line burning tool of the C-V2X module, the firmware of the C-V2X module is burned through the second USB port.

[0065] In this embodiment, the firmware of the application processor is upgraded first, and then the firmware of the 5G module is burned by executing the corresponding command line burning tool (qdl) in the application processor after the firmware of the application processor is upgraded. Compared with the prior art which needs to connect the 5G module with the firmware burning device through a USB data line to burn the firmware of the 5G module, the firmware burning device of this embodiment can only be provided with two USB ports, and two USB data lines are used to connect the split type 5G / V2X device, that is, one USB data line is used to connect the application processor of the split type 5G / V2X device, and the other USB data line is used to connect the C-V2X module of the split type 5G / V2X device. Therefore, the split type 5G / V2X device can reduce one USB data line in the hardware operation layer.

[0066] Further, the firmware set of the application processor includes a U-BOOT image file, a kernel image file, a device tree image file, and a virtual memory file system; and the integrated firmware burning package further includes an IMEI number backup script. Moreover, step S31 includes:

[0067] The U-BOOT image file is downloaded to the memory of the application processor through the first USB port and started;

[0068] The kernel image file, the device tree image file, and the virtual memory file system are downloaded to the memory of the application processor through the first USB port, so that the application processor loads and starts the Linux kernel and enters the kernel fast start mode;

[0069] In the kernel fast start mode, the U-BOOT image file, the kernel image file, the device tree image file, and the virtual memory file system are written into the application processor;

[0070] In the kernel fast start mode, the firmware package of the 5G module and the IMEI number backup script are respectively downloaded to the cache of the application processor through the first USB port, and the IMEI number backup script is executed to backup the IMEI number before the firmware of the 5G module is burned, and the burning command corresponding to the 5G module is executed in the application processor.

[0071] After the 5G module restarts, the backed-up IMEI number is written back to the 5G module.

[0072] Further, step S32 includes:

[0073] switching the C-V2X module to a fast start mode through the second USB port;

[0074] In the fast start mode, the C-V2X module is subjected to firmware programming through the second USB port, and the C-V2X module is restarted.

[0075] After the C-V2X module is restarted, the updated firmware version number of the C-V2X module is read through the second USB port.

[0076] In one specific embodiment, a firmware configuration file (such as uuu.exeemmc.uuu) for an i.MX series application processor is used to provide a scheme for collectively programming NXP i.MX series application processor firmware and 5G module firmware. When the command uuu.exe for programming the NXP i.MX series application processor firmware is executed, the firmware configuration file needs to be used. Specifically, the command uuu.exe for programming the application processor firmware parses and extracts the instruction sequence written in the firmware configuration file emmc.uuu, executes the emmc.uuu configuration file, and the execution flowchart is as shown in Figure 3 The corresponding firmware configuration file emmc.uuu file content (# indicates a comment) is as follows:

[0077] #Download the u-boot image to the on-chip memory of the processor through the USB SDPS protocol and start, and then enter the U-BOOT

[0078] SDPS: boot-f imx-boot-genvict_imx8qxp-emmc.bin-flash

[0079] #Specify the system startup device type as eMMC

[0080] FB: ucmd setenv fastboot_dev mmc

[0081] #Specify the system startup device identifier as the first eMMC

[0082] FB: ucmd setenv mmcdev 0

[0083] #Program the bootloader image to the eMMC in the U-BOOT mode

[0084] FB: flash bootloader imx-boot-genvict_imx8qxp-emmc.bin-flash

[0085] # Download kernel image to specified address

[0086] FB: ucmd setenv fastboot_buffer ${loadaddr}

[0087] FB: download -f Image

[0088] # Download device tree image for flashing to specified address

[0089] FB: ucmd setenv fastboot_buffer ${fdt_addr}

[0090] FB: download -f fsl-imx8qxp-mek-uuu.dtb

[0091] # Download ramdisk file system image for flashing to specified address

[0092] FB: ucmd setenv fastboot_buffer ${initrd_addr}

[0093] FB: download -f fsl-image-mfgtool-initramfs-genvict_imx8qxp.cpio.gz.u-boot

[0094] # Load the Linux kernel for the next step of image flashing, enter fastboot in kernel mode

[0095] FB: a cmd ${kboot} ${loadaddr} ${initrd_addr} ${fdt_addr}

[0096] # Create partitions and do partition erase

[0097] FBK: ucmd mmc=`cat / tmp / mmcdev`

[0098] PARTSTR=${'10M,200M,0c\n300M,,83\n'}; echo "$PARTSTR" | sfdisk --force / dev / mmcblk${mmc}

[0099] FBK:ucmd mmc=`cat / tmp / mmcdev`; dd if= / dev / zero of= / dev / mmcblk${mmc} bs=1k seek=4096 count=1

[0100] FBK:ucmd sync

[0101] # Write 5G / V2X dedicated bootloader image in kernel mode on specified partition

[0102] FBK:ucmd mmc=`cat / tmp / mmcdev`; echo 0 > / sys / block / mmcblk${mmc}boot0 / force_ro

[0103] FBK:ucp imx-boot-genvict_imx8qxp-emmc.bin-flash t: / tmp

[0104] FBK:ucmd mmc=`cat / tmp / mmcdev`; dd if= / tmp / imx-boot-genvict_imx8qxp-emmc.bin-flash of= / dev / mmc${mmc}boot0 bs=1K seek=32

[0105] FBK:ucmd mmc=`cat / tmp / mmcdev`; echo 1 > / sys / block / mmcblk${mmc}boot0 / force_ro

[0106] # Write 5G / V2X dedicated kernel image and device tree image in kernel mode on specified partition

[0107] FBK:ucmd mmc=`cat / tmp / mmcdev`; while [! -e / dev / mmcblk${mmc}p1 ]; do sleep 1; done

[0108] FBK:ucmd mmc=`cat / tmp / mmcdev`; mkfs.vfat / dev / mmcblk${mmc}p1

[0109] FBK:ucmd mmc=`cat / tmp / mmcdev`; mkdir -p / mnt / fat

[0110] FBK:ucmd mmc=`cat / tmp / mmcdev`; mount -t vfat / dev / mmcblk${mmc}p1 / mnt / fat

[0111] FBK:ucp Image t: / mnt / fat

[0112] FBK:ucp fsl-imx8qxp-mek.dtb t: / mnt / fat

[0113] FBK:ucmd umount / mnt / fat

[0114] # Write 5G / V2X dedicated file system in kernel mode in the specified partition

[0115] FBK:ucmd mmc=`cat / tmp / mmcdev`; mkfs.ext3 -F -E nodiscard / dev / mmcblk${mmc}p2

[0116] FBK:ucmd mkdir -p / mnt / ext3

[0117] FBK:ucmd mmc=`cat / tmp / mmcdev`; mount / dev / mmcblk${mmc}p2 / mnt / ext3

[0118] FBK:acmd export EXTRACT_UNSAFE_SYMLINKS=1; tar -jx -C / mnt / ext3

[0119] FBK:ucp genvict-base-image-genvict_imx8qxp.tar.bz2 t:-

[0120] FBK:Sync

[0121] # Download 5G / V2X dedicated 5G module firmware package in kernel mode

[0122] FBK:ucp fiveg_firmware_B02V02.tar t: / tmp / fiveg_firmware.tar

[0123] FBK:ucmd tar -xvf / tmp / fiveg_firmware.tar -C / tmp

[0124] FBK:ucmd rm -f / tmp / fiveg_firmware.tar

[0125] # Download 5G / V2X dedicated 5G module IMEI number backup script in kernel mode

[0126] FBK: ucp imeibackup.tar t: / tmp / imeibackup.tar

[0127] FBK: ucmd tar -xvf / tmp / imeibackup.tar -C / tmp

[0128] FBK: ucmd rm -f / tmp / imeibackup.tar

[0129] # Execute IMEI number backup script in kernel mode to backup the IMEI number before 5G module firmware burning

[0130] FBK: ucmd / tmp / imeibackup

[0131] # Execute Qualcomm official burning command qdl in i.MX application processor side Linux system in kernel mode

[0132] FBK: ucmd qdl -f / tmp / fiveg_firmware_B02V02-x rawprogram_nand_p4K_b256K_factory_only.xml

[0133] # Wait for 5G module to restart

[0134] FBK: ucmd while [! -e / dev / ttyUSB4 ]; do sleep 2; echo "waiting for / dev / ttyUSB4 appear"; done;

[0135] # Write the backup IMEI number back to the 5G module

[0136] FBK: ucmd cat / tmp / .imei > / dev / ttyUSB2

[0137] # 5G / V2X split device application processor firmware and 5G module firmware burning is complete

[0138] FBK: DONE

[0139] In addition, imeibackup.tar is a packed file of the IMEI backup script, and the script program itself reads the IMEI number before the 5G module firmware is burned by AT instructions and saves it, thereby playing a role in backing up the IMEI number. The file in tar format is made to retain the executable permission of the IMEI backup script.

[0140] In one specific embodiment, the execution flow chart of the firmware burning batch program (such as l10a-flash-all.bat) is as shown in Figure 4

[0141] #Assign the current path to the variable WORKPATH

[0142] set WORKPATH=%CD%

[0143] #Burn NXP i.MX series application processor firmware and 5G module firmware

[0144] uuu.exe emmc.uuu

[0145] #Enter the C-V2X module UMV9150-LGA firmware subdirectory common\build

[0146] cd cv2x_firmware_*\common\build

[0147] #Call the integrated adb program in the firmware package directory to enter fastboot mode

[0148] "%WORKPATH%\adbsute\adb"reboot bootloader

[0149] #Call the Python script to burn the C-V2X module UMV9150-LGA firmware in fastboot mode

[0150] "%WORKPATH%\Python27\python.exe"fastboot_complete.py--pf=asic

[0151] #Restart the C-V2X module UMV9150 in fastboot mode

[0152] "%WORKPATH%\adbsute\fastboot"reboot

[0153] #Delay for 8 seconds by borrowing the ping command

[0154] ​ping -n 8 127.0.0.1>nul

[0155] cd "%WORKPATH%"

[0156] #read the updated C-V2X module UMV9150 firmware version number

[0157] adb shell cat / etc / version

[0158] echo Flash c-v2x firmware done.

[0159] In an optional embodiment, the firmware burning device comprises a first USB interface, and the first USB interface is configured to connect with the application processor via a first USB data line. Moreover, the device running tool comprises: a command line burning tool of the application processor; and a firmware configuration file of the application processor. In addition, in this embodiment, in step S30, the firmware burning of the application processor, the 5G module and the C-V2X module is sequentially performed by using the device running tool, which comprises:

[0160] using the command line burning tool of the application processor, the firmware burning of the application processor is performed via the first USB interface, and then the firmware burning of the 5G module and the C-V2X module is performed by executing the corresponding command line burning tool in the application processor according to the firmware configuration file of the application processor.

[0161] In this embodiment, the firmware of the application processor is upgraded first, and then the firmware of the 5G module and the C-V2X module is burned by executing the corresponding command line burning tool in the application processor after the firmware of the application processor is upgraded. Compared with the prior art which needs to connect the 5G module and the C-V2X module with the firmware burning device via USB data lines respectively, the firmware burning device of this embodiment can be provided with only one USB interface and connected with the application processor of the split 5G / V2X device via one USB data line, so that the split 5G / V2X device can reduce the connection of two USB data lines at the hardware operation level.

[0162] Finally, it should be noted that although the above embodiments are described by taking the SIM8x series 5G module of SIMCOM as an example, it should be understood that the firmware burning of any 5G module based on the Qualcomm Snapdragon X55 5G modem platform can be performed in the same or similar way. Similarly, although the above embodiments are described by taking the UMV9150-LGA C-V2X module of WNC as an example, it should be understood that the firmware burning of any C-V2X module based on the Qualcomm 9x50 series C-V2X chipset platform can be performed in the same or similar way.

[0163] Figure 5 FIG. 1 is a logical structure diagram of a firmware burning device embodiment of the split 5G / V2X device of the present application. The firmware burning device of this embodiment has at least one USB port (not shown) for connecting the split 5G / V2X device, and further includes a creating module 11, a triggering module 12, and an executing module 13. The creating module 11 is used to create an integrated firmware burning package, which includes the firmware set of the application processor, the firmware package of the 5G module, the firmware of the C-V2X module, the device running tool, and the firmware burning batch program, which are arranged in the same directory. The triggering module 12 is used to receive the trigger signal input by the user. The executing module 13 is used to start the firmware burning batch program according to the trigger signal, so as to sequentially perform firmware burning on the application processor, the 5G module, and the C-V2X module through the device running tool.

[0164] In an optional embodiment, the firmware burning device includes a first USB port for connecting the application processor through a first USB data line, and the device running tool includes the command line burning tool of the application processor and the firmware configuration file of the application processor. The executing module 13 is used to first perform firmware burning on the application processor through the first USB port by using the command line burning tool of the application processor, and then perform firmware burning on the 5G module and the C-V2X module according to the firmware configuration file of the application processor by executing the corresponding command line burning tool in the application processor.

[0165] In another optional embodiment, the firmware burning device comprises a first USB port and a second USB port, and the first USB port is used to connect with the application processor through a first USB data line, and the second USB port is used to connect with the C-V2X module through a second USB data line. The device running tool comprises: a command line burning tool of the application processor; a firmware configuration file of the application processor; a command line burning tool of the C-V2X module. The execution module 13 is used to burn the firmware of the application processor through the first USB port by using the command line burning tool of the application processor, and then burn the firmware of the 5G module by executing the corresponding command line burning tool in the application processor according to the firmware configuration file of the application processor; and burn the firmware of the C-V2X module through the second USB port by using the command line burning tool of the C-V2X module.

[0166] Further, the execution module 13 is used to burn the firmware of the application processor through the first USB port by using the USB SDPS protocol and the USB FBK protocol; burn the firmware of the 5G module by using the USB Sahara protocol and the USB Firehose protocol; and burn the firmware of the C-V2X module by using the USB fastboot protocol. In this embodiment, the USB SDPS protocol and the USB FBK protocol are used to burn the firmware of the application processor, the USB Sahara protocol and the USB Firehose protocol are used to burn the firmware of the 5G module, and the USB fastboot protocol is used to burn the firmware of the C-V2X module. Figure 2The internal i.MX series application processor of the split 5G / V2X device is connected with the C-V2X module UMV9150-LGA and the 5G module SIM8X series through a USB2.0 bus and a USB3.0 bus, and the external two-way USB port can be connected with the firmware burning device, and the two-way USB port is: the USB2.0 bus port of the i.MX series application processor connected with the firmware burning device, and the USB2.0 bus port of the C-V2X module UMV9150-LGA connected with the firmware burning device. In the hardware connection environment before starting to burn, only the two-way USB port of the firmware burning device is connected with the on-board USB port of the i.MX series application processor in the split 5G / V2X device and the on-board USB port of the C-V2X module UMV9150-LGA, and the firmware burning of the i.MX series application processor in the split 5G / V2X device uses the USB SDPS protocol and the USB FBK protocol to burn the firmware through the USB data line. The firmware burning of the 5G module SIM8X series uses the USB Sahara and the USB Firehose protocol to realize the internal USB bus firmware burning, and the USB data path between the i.MX series application processor and the 5G module SIM8X series is used. The firmware burning of the C-V2X module UMV9150-LGA uses the USB fastboot protocol to realize the firmware burning through the USB data line, and the USB data path between the PC and the C-V2X module UMV9150-LGA firmware is used.

[0167] The application also constructs a firmware burning system of a split 5G / V2X device, which combines Figure 2 The firmware burning system includes the split 5G / V2X device 20 and the firmware burning device 10, and the logical structure of the split 5G / V2X device 20 and the firmware burning device 10 can be referred to the foregoing description.

[0168] The above only describes the preferred embodiments of the present application and is not used to limit the present application. For those skilled in the art, the present application can have various changes and modifications. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims

1. A firmware burning method of a split 5G / V2X device, applied to a firmware burning device, and the firmware burning device is connected with a split 5G / V2X device, and the split 5G / V2X device comprises: The application processor, a 5G module and a C-V2X module are connected with the application processor respectively, characterized in that the application processor is connected with the 5G module through a USB bus; the firmware burning method comprises: A creation step: creating an integrated firmware burning package, the integrated firmware burning package comprising: a firmware set of the application processor; a firmware package of the 5G module after being packed and compressed; a firmware of the C-V2X module; a device running tool; a firmware burning batch program; the device running tool comprising: a uuu command line burning tool for burning the firmware of the application processor, an application processor firmware configuration file for burning the 5G module in the application processor, and an adb / fastboot tool set for switching to a fastfoot mode through a mode switching tool to burn the C-V2X module; A triggering step: receiving a triggering signal input by a user; An execution step: starting the firmware burning batch program according to the triggering signal to sequentially burn the firmware of the application processor, the 5G module and the C-V2X module through the device running tool, wherein the uuu command line burning tool is used to burn the firmware of the application processor, the qdl command line burning tool is executed in the application processor to burn the firmware of the 5G module through a device internal USB data channel between the application processor and the 5G module.

2. The firmware burning method of split 5G / V2X device according to claim 1, wherein, The firmware burning device comprises a first USB port for connecting with the application processor through a first USB data line; The device running tool comprises: a command line burning tool of the application processor; a firmware configuration file of the application processor; Moreover, sequentially burning the firmware of the application processor, the 5G module and the C-V2X module through the device running tool comprises: using the command line burning tool of the application processor to burn the firmware of the application processor through the first USB port, and burning the firmware of the 5G module and the C-V2X module through the corresponding command line burning tool executed in the application processor according to the firmware configuration file of the application processor. 3.The firmware burning method of split 5G / V2X device according to claim 1, wherein, The firmware burning device comprises: a first USB port for connecting with the application processor through a first USB data line, and a second USB port for connecting with the C-V2X module through a second USB data line; The device running tool comprises: a command line burning tool of the application processor; a firmware configuration file of the application processor; a command line burning tool of the C-V2X module; Moreover, sequentially burning the firmware of the application processor, the 5G module and the C-V2X module through the device running tool comprises: Step S31. Using the command line burning tool of the application processor, the firmware of the application processor is burned through the first USB port, and then the firmware of the 5G module is burned by executing the corresponding command line burning tool in the application processor according to the firmware configuration file of the application processor; Step S32. Using the command line burning tool of the C-V2X module, the firmware of the C-V2X module is burned through the second USB port.

4. The firmware burning method of split 5G / V2X device according to claim 3, wherein, The firmware set of the application processor includes a U-BOOT image file, a kernel image file, a device tree image file, and a virtual memory file system; and the integrated firmware burning package further includes an IMEI number backup script; The step S31 includes: The U-BOOT image file is downloaded to the memory of the application processor through the first USB port and started; The kernel image file, the device tree image file, and the virtual memory file system are downloaded to the memory of the application processor through the first USB port, so that the application processor loads and starts the Linux kernel and enters the kernel fast start mode; In the kernel fast start mode, the U-BOOT image file, the kernel image file, the device tree image file, and the virtual memory file system are written into the application processor; In the kernel fast start mode, the firmware package of the 5G module and the IMEI number backup script are respectively downloaded to the cache of the application processor through the first USB port, and the IMEI number backup script is executed to backup the IMEI number before the 5G module firmware is burned, and the burning command corresponding to the 5G module is executed in the application processor; After the 5G module is restarted, the backup IMEI number is written back to the 5G module.

5. The firmware burning method of split 5G / V2X device according to claim 3, wherein, The step S32 includes: The C-V2X module is switched to the fast start mode through the second USB port; In the fast start mode, the firmware of the C-V2X module is burned through the second USB port, and the C-V2X module is restarted; After the C-V2X module is restarted, the updated firmware version number of the C-V2X module is read out through the second USB port.

6. A firmware burning device of a split 5G / V2X device, connected with the split 5G / V2X device, and the split 5G / V2X device comprises: An application processor and a 5G module and a C-V2X module connected with the application processor respectively, characterized in that the application processor is connected with the 5G module through a USB bus; and the firmware burning device includes: A creating module is configured to create an integrated firmware burning package, which includes the following items arranged in the same directory: a firmware set of the application processor; a firmware package of the 5G module after being packaged and compressed; a firmware of the C-V2X module; a device running tool; a firmware burning batch program; the device running tool includes: a uuu command line burning tool for burning the firmware of the application processor, an application processor firmware configuration file for burning the 5G module in the application processor, and an adb / fastboot tool set for switching to the fastfoot mode through a mode switching tool to burn the C-V2X module; A triggering module is configured to receive a trigger signal input by a user; An executing module is configured to start the firmware burning batch program according to the trigger signal, and sequentially burn the firmware of the application processor, the 5G module and the C-V2X module through the device running tool, wherein the uuu command line burning tool is used to burn the firmware of the application processor when burning the firmware of the application processor; the qdl command line burning tool is executed in the application processor to burn the firmware of the 5G module through the device internal USB data channel between the application processor and the 5G module when burning the firmware of the 5G module.

7. The firmware burning apparatus for split 5G / V2X device according to claim 6, wherein, The device running tool includes: a command line burning tool of the application processor; a firmware configuration file of the application processor; and The executing module is configured to burn the firmware of the application processor through the first USB port by using the command line burning tool of the application processor, and burn the firmware of the 5G module and the C-V2X module by executing the corresponding command line burning tool in the application processor according to the firmware configuration file of the application processor. 8.The firmware burning device of split 5G / V2X device according to claim 6, wherein, It includes: a first USB port for connecting with the application processor through a first USB data line, and a second USB port for connecting with the C-V2X module through a second USB data line; The device running tool includes: a command line burning tool of the application processor; a firmware configuration file of the application processor; and a command line burning tool of the C-V2X module; The executing module is configured to burn the firmware of the application processor through the first USB port by using the command line burning tool of the application processor, burn the firmware of the 5G module by executing the corresponding command line burning tool in the application processor according to the firmware configuration file of the application processor, and burn the firmware of the C-V2X module through the second USB port by using the command line burning tool of the C-V2X module.

9. The firmware burning device for split 5G / V2X device according to claim 8, wherein, The execution module is configured to use a USB SDPS protocol and a USB FBK protocol to perform firmware programming on the application processor through the first USB port; use a USB Sahara protocol and a USB Firehose protocol to perform firmware programming on the 5G module; and use a USB fastboot protocol to perform firmware programming on the C-V2X module. The application processor and the 5G module and the C-V2X module connected with the application processor respectively further include the firmware programming device according to any one of claims 6-9.

10. A firmware burning system of split 5G / V2X device, comprising a split 5G / V2X device, and the split 5G / V2X device comprises: ​

Citation Information

Patent Citations

  • Burning method capable of increasing VR chip FW burning efficiency

    CN104156238A