Power-on self-test and optimal radio frequency calibration parameter synchronization method for high-pass equipment
By writing RF calibration parameters and their md5 values into the RF board and comparing and synchronizing, the problem that RF calibration parameters cannot be synchronized in real time is solved, and the parameter synchronization during the replacement of RF board and the normal boot of the equipment is achieved.
Patent Information
- Application Number
- CN202510431932.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-08
- Publication Date
- 2025-07-22
AI Technical Summary
In communication equipment, when the CPU motherboard and the RF board are designed with a split pin plug-in design, the RF calibration parameters cannot be synchronized to the new CPU motherboard in real time, resulting in difficulty in repair.
By disabling the RF calibration parameter synchronization function of the CPU motherboard, the optimal RF calibration parameters and their md5 values are written in the RF board. After plugging in the RF board, the CPU motherboard reads and compares the md5 values. If it is inconsistent, erase the old parameters and copy the optimal parameters to the modem partition, restart the device until it is turned on normally, ensuring that the parameters are synchronized.
Real-time synchronization of RF calibration parameters when replacing RF small boards is realized to the CPU motherboard, ensuring the normal boot of the equipment and simplifying the maintenance process.
Smart Images

Figure CN120353653A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of communication devices, and particularly to a method for power-on self-check and synchronous optimal radio frequency calibration parameters of a Qualcomm device. Background Art
[0002] Currently, most communication device motherboards integrate the main CPU part and the radio frequency part. In this case, if any part breaks down, the whole needs to be disassembled for repair. Our hardware separates the CPU motherboard and the radio frequency small board, and designs them in a pin-to-pin pluggable mode. However, the radio frequency calibration parameters of each radio frequency small board are unique and different, and are written to each CPU motherboard after the factory production. The radio frequency calibration parameters of each radio frequency small board correspond one by one, and the radio frequency calibration parameters are stored on the CPU motherboard. When replacing the radio frequency small board, how to synchronize the radio frequency parameters corresponding to the radio frequency small board to the new CPU motherboard in real time is a difficult problem. Here, a solution is proposed to automatically and real-time synchronize the radio frequency small board calibration parameters to the new CPU motherboard when replacing the radio frequency small board. Summary of the Invention
[0003] To overcome the defects of the prior art, the present invention provides a method for power-on self-check and synchronous optimal radio frequency calibration parameters of a Qualcomm device, so as to solve the problem that when the CPU motherboard of a communication device adopts a split design with a radio frequency small board connected by pin pins, the radio frequency calibration parameters of the radio frequency small board cannot be synchronized to the new CPU motherboard in real time.
[0004] To achieve the above object, the present invention provides a method for power-on self-check and synchronous optimal radio frequency calibration parameters of a Qualcomm device. The Qualcomm device motherboard includes a CPU motherboard and a radio frequency small board, and the radio frequency small board is plugged into the CPU motherboard through pin pins. The method for power-on self-check and synchronous optimal radio frequency calibration parameters of the Qualcomm device includes the following steps:
[0005] a. Disable the synchronization function of synchronizing the radio frequency calibration parameters of the synchronous DDR of the CPU motherboard to the modem partition during the power-off process of the Qualcomm device;
[0006] b. Write the optimal radio frequency calibration parameters and the first md5 value of the optimal radio frequency calibration parameters into the radio frequency small board;
[0007] c. Plug the radio frequency small board into the CPU motherboard through pin pins;
[0008] d. Power on the Qualcomm device, and the CPU motherboard reads the optimal radio frequency calibration parameters and the first md5 value in the radio frequency small board;
[0009] e. The CPU motherboard compares the first MD5 value with the second MD5 value of the old radio frequency calibration parameters in the CPU motherboard. When the first MD5 value is consistent with the second MD5 value, the Qualcomm device powers on normally. When the first MD5 value is inconsistent with the second MD5 value, the CPU motherboard erases the old radio frequency calibration parameters in the modem partition, copies the optimal radio frequency calibration parameters to the modem partition, then restarts the Qualcomm device and repeats steps d and e until the Qualcomm device powers on normally.
[0010] Further, write the optimal radio frequency calibration parameters and the first MD5 value into the electrically erasable programmable read-only memory of the radio frequency daughter board.
[0011] Further, the CPU motherboard reads the optimal radio frequency calibration parameters and the first MD5 value in the radio frequency daughter board through the DD command.
[0012] Further, the CPU motherboard erases the old radio frequency calibration parameters in the modem partition through the DD command and copies the optimal radio frequency calibration parameters to the modem partition.
[0013] The beneficial effect of the present invention is that the power-on self-check and synchronization of the optimal radio frequency calibration parameters method for the Qualcomm device of the present invention modifies the radio frequency calibration parameter synchronization mechanism of the Qualcomm device to ensure that the CPU motherboard can normally erase the radio frequency calibration parameters. After the CPU motherboard is plugged and connected to the radio frequency daughter board, it is judged whether the radio frequency calibration parameters on the CPU motherboard are the optimal radio frequency calibration parameters by verifying the MD5 value of the radio frequency calibration parameters. After it is judged that they are not the optimal radio frequency calibration parameters, by reading and writing the optimal radio frequency calibration parameters, it is realized that when replacing the radio frequency daughter board, the optimal radio frequency calibration parameters of the radio frequency daughter board can be synchronously transferred to the CPU motherboard in real time. Description of the Drawings
[0014] By reading the detailed description of the non-restrictive embodiments with reference to the following drawings, other features, objects and advantages of the present application will become more obvious:
[0015] Figure 1 It is a schematic flowchart of the power-on self-check and synchronization of the optimal radio frequency calibration parameters method for the Qualcomm device according to the embodiment of the present invention. Detailed Embodiments
[0016] The following further details the present application in conjunction with the drawings and embodiments. It can be understood that the specific embodiments described herein are only used to explain the related invention and do not limit the invention. Additionally, it should be noted that for the sake of description, only the parts related to the invention are shown in the drawings.
[0017] It should be noted that, without conflict, the embodiments in the present application and the features in the embodiments may be combined with each other. The present application will be described in detail below with reference to the drawings and in conjunction with the embodiments.
[0018] Referring to Figure 1 As shown, the present invention provides a method for power-on self-check and synchronization of optimal radio frequency calibration parameters of a Qualcomm device. The main board of the Qualcomm device includes a CPU main board and a radio frequency daughter board. The radio frequency daughter board is plugged into the CPU main board through pin pins. The method for power-on self-check and synchronization of optimal radio frequency calibration parameters of the Qualcomm device includes the following steps:
[0019] a. Disable the synchronization function of the radio frequency calibration parameters of the synchronous DDR on the CPU main board to the modem partition during the power-off process of the Qualcomm device.
[0020] In this embodiment, first, the Modem efs synchronization mechanism of the Qualcomm device needs to be modified. Because during normal power-off of the CPU main board, the latest radio frequency efs data (i.e., radio frequency calibration data) will be synchronized from the DDR to the modem partition. Therefore, the DD command to erase the partition is ineffective. It is necessary to disable the radio frequency calibration parameter synchronization function of the DDR during the power-off process to ensure that the DD command can normally erase the radio frequency calibration data. The specific code is as follows:
[0021]
[0022]
[0023] b. Write the optimal radio frequency calibration parameters and the first md5 value of the optimal radio frequency calibration parameters into the radio frequency daughter board.
[0024] As a preferred implementation, write the optimal radio frequency calibration parameters and the first md5 value into the electrically erasable programmable read-only memory (eeprom) of the radio frequency daughter board.
[0025] Specifically, during the production of the radio frequency daughter board in the production line, first perform calibration and comprehensive testing, and then copy and back up the radio frequency efs parameters after radio frequency calibration through the dd command. Then, check the md5 value and write it into the eeprom of the radio frequency daughter board. Finally, read the radio frequency parameters in the eeprom of the radio frequency daughter board to confirm that the writing is completed.
[0026] c. Plug the radio frequency daughter board into the CPU main board through pin pins.
[0027] d. Power on the Qualcomm device, and the CPU main board reads the optimal radio frequency calibration parameters and the first md5 value in the radio frequency daughter board.
[0028] In this embodiment, the CPU main board reads the optimal radio frequency calibration parameters and the first md5 value in the radio frequency daughter board through the DD command.
[0029] Specifically, after the CPU motherboard is powered on, the optimal RF calibration parameters in the eeprom of the RF daughter board are read through the DD command.
[0030] e. The CPU motherboard compares the first md5 value with the second md5 value of the old RF calibration parameters in the CPU motherboard. When the first md5 value is the same as the second md5 value, the Qualcomm device powers on normally. When the first md5 value is different from the second md5 value, the CPU motherboard erases the old RF calibration parameters in the modem partition, copies the optimal RF calibration parameters to the modem partition, then restarts the Qualcomm device and repeats steps d and e until the Qualcomm device powers on normally.
[0031] In this embodiment, the CPU motherboard erases the old RF calibration parameters in the modem partition through the DD command and copies the optimal RF calibration parameters to the modem partition.
[0032] Specifically, step e includes the following steps:
[0033] Read the old RF calibration parameters in the Modem partition through the DD command;
[0034] Compare whether the md5 values of the two RF calibration parameters are the same;
[0035] If they are the same, it means the optimal calibration parameters are used to power on normally; if they are different, the DD command erases the calibration parameters in the modem partition and copies the optimal calibration parameters in the eeprom of the RF daughter board to the modem partition;
[0036] After the backup is completed, restart the device to recheck the md5 value, and power on normally after they are the same.
[0037] DD instruction set
[0038] ls -l dev / block / by-name / / View the modem partition table
[0039] dd if= / dev / zero of= / dev / block / sdf2 bs=1024 count=6144 / / Erase the modemst1 partition
[0040] dd if= / dev / zero of= / dev / block / sdf3 bs=1024 count=6144 / / Erase the modemst2 partition
[0041] dd if= / dev / zero of= / dev / block / sdf4 bs=1024 count=6144 / / Erase the fsg partition dd if= / dev / zero of= / dev / block / sdf5 bs=1024 count=128 / / Erase the fsc partition dd if= / dev / block / sdf2 of= / data / modemst1.img / / Backup the modemst1 partition dd if= / dev / block / sdf3 of= / data / modemst2.img / / Backup the modemst2 partition dd if= / dev / block / sdf4 of= / data / fsg.img / / Backup the fsg partition
[0042] dd if= / dev / block / sdf5 of= / data / fsc.img / / Backup the fsc partition
[0043] dd if= / data / modemst1.img of= / dev / block / sdf2 bs=1024 count=6144 / / Restore the data of the modemst1 partition
[0044] dd if= / data / modemst2.img of= / dev / block / sdf3 bs=1024 count=6144 / / Restore the data of the modemst2 partition
[0045] dd if= / data / fsg.img of= / dev / block / sdf4 bs=1024 count=6144 / / Restore the data of the fsg partition
[0046] dd if= / data / fsc.img of= / dev / block / sdf5 bs=1024 count=128 / / Restore the data of the fsc partition
[0047] The method for power-on self-check and synchronous optimal radio frequency calibration parameters of the Qualcomm device of the present invention ensures that the CPU motherboard can normally erase the radio frequency calibration parameters by modifying the radio frequency calibration parameter synchronization mechanism of the Qualcomm device. After the CPU motherboard is plugged in and connected to the radio frequency small board, it is judged whether the radio frequency calibration parameters on the CPU motherboard are the optimal radio frequency calibration parameters by verifying the md5 value of the radio frequency calibration parameters. After it is judged that they are not the optimal radio frequency calibration parameters, the optimal radio frequency calibration parameters are read and written to realize that the optimal radio frequency calibration parameters of the radio frequency small board can be synchronously transferred to the CPU motherboard in real time when the radio frequency small board is replaced.
[0048] The above description is only a preferred embodiment of the present application and an explanation of the applied technical principles. Those skilled in the art should understand that the scope of the invention involved in the present application is not limited to the technical solution formed by the 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 inventive concept. For example, the technical solution formed by mutually replacing the above features with the technical features (but not limited to) disclosed in the present application that have similar functions.
Claims
1. A method for power-on self-test and synchronizing optimal radio frequency calibration parameters of a high-throughput device, characterized in that, The motherboard of the Qualcomm device includes a CPU motherboard and a RF daughter board. The RF daughter board is plugged into the CPU motherboard through pin pins. The method for power-on self-test and synchronizing the optimal RF calibration parameters of the Qualcomm device includes the following steps: a. Disable the synchronization function of the RF calibration parameters of the synchronous DDR on the CPU motherboard during the shutdown process of the Qualcomm device to the modem partition; b. Write the optimal RF calibration parameters and the first md5 value of the optimal RF calibration parameters into the RF daughter board; c. Plug the RF daughter board into the CPU motherboard through pin pins; d. Power on the Qualcomm device, and the CPU motherboard reads the optimal RF calibration parameters and the first md5 value in the RF daughter board; e. The CPU motherboard compares the first md5 value with the second md5 value of the old RF calibration parameters in the CPU motherboard. When the first md5 value is consistent with the second md5 value, the Qualcomm device powers on normally. When the first md5 value is inconsistent with the second md5 value, the CPU motherboard erases the old RF calibration parameters in the modem partition, copies the optimal RF calibration parameters to the modem partition, then restarts the Qualcomm device and repeats steps d and e until the Qualcomm device powers on normally.
2. The method for power-on self-check and synchronous optimal radio frequency calibration parameters of the high-throughput device according to claim 1, wherein Write the optimal RF calibration parameters and the first md5 value into the electrically erasable programmable read-only memory of the RF daughter board.
3. The method for power-on self-test and synchronous optimal radio frequency calibration parameters of the high-throughput device according to claim 1, wherein The CPU motherboard reads the optimal RF calibration parameters and the first md5 value in the RF daughter board through the DD command.
4. The method for power-on self-test and synchronous optimal radio frequency calibration parameters of the high-throughput device according to claim 1, characterized in that, The CPU motherboard erases the old RF calibration parameters in the modem partition through the DD command and copies the optimal RF calibration parameters to the modem partition.