我有 .bin 格式的固件文件,但我需要获取 firmware.img 图像文件和 Kernel uImage 文件来刷新砖块设备。我怎样才能得到这些零件?
我使用 Binwalk 来提取内容,binwalk -e file
它提取了两个二进制文件,8.5MB 和 180188.squashfs 扩展名和另一个二进制文件 3.1MB,以及带有子文件夹的 squashfs-root 目录。
DECIMAL HEXADECIMAL DESCRIPTION
--------------------------------------------------------------------------------
392 0x188 uImage header, header size: 64 bytes, header CRC: 0xEF73A583, created: 1969-12-31 23:59:59, image size: 1572736 bytes, Data Address: 0x20008000, Entry Point: 0x20008000, data CRC: 0x3661C6EC, OS: Linux, CPU: ARM, image type: OS Kernel Image, compression type: none, image name: "SP2Xcybertan_rom_bin"
13596 0x351C gzip compressed data, maximum compression, from Unix, last modified: 2019-04-03 05:25:36
1573192 0x180148 uImage header, header size: 64 bytes, header CRC: 0x9053B22D, created: 1969-12-31 23:59:59, image size: 8474624 bytes, Data Address: 0x0, Entry Point: 0x0, data CRC: 0xFC8655E0, OS: Linux, CPU: ARM, image type: Filesystem Image, compression type: none, image name: "SP2Xcybertan_rom_bin"
1573256 0x180188 Squashfs filesystem, little endian, non-standard signature, version 3.1, size: 8473072 bytes, 1028 inodes, blocksize: 131072 bytes, created: 2019-04-03 05:36:06
下载文件。