Method of packaging version files of embedded device

The invention relates to a method for packaging version files of an embedded device. The method comprises the following steps of 1, generating standard Linux kernel files and rootfs file system mirrorimages after an embedded system is clipped and compiled; 2, conducting identification removal operat...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
1. Verfasser: QIAO ZHIGUO
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention relates to a method for packaging version files of an embedded device. The method comprises the following steps of 1, generating standard Linux kernel files and rootfs file system mirrorimages after an embedded system is clipped and compiled; 2, conducting identification removal operation on the standard Linux kernel files; 3, packaging bin files, conducting CRC calculation on the packaged bin files, and writing obtained CRC values to the tails of the bin files. The method solves the risk of upgrade failures caused when the upgradebin files of the embedded device are maliciouslycracked and tampered with and integrity check is not conducted on the bin files during upgrading. 本发明涉及种嵌入式设备版本文件打包的方法,包括以下步骤:步骤S1:嵌入式系统裁剪,编译后生成标准Linux内核文件和rootfs文件系统镜像;步骤S2:对标准Linux内核文件进行去标识操作;步骤S3:打包bin文件并对打包后的bin文件进行CRC校验计算,将得到的CRC校验值写入bin文件尾部。本发明解决了嵌入式设备升级bin文件恶意破解篡改以及升级时bin文件未进行完整性校验导致升级失败的风险。