corberan / broadcom_cfe_tool

A tool for compressing/decompressing data to/from Broadcom CFE file

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

broadcom_cfe_tool

A tool for compressing/decompressing data from/to Broadcom CFE file

usage:

cp .\mtd0.bin .\mtd0_new.bin
.\broadcom_cfe_tool.exe -d -i .\mtd0.bin -o phicomm_k2p_b1_cfe_nvram.txt
.\broadcom_cfe_tool.exe -z -i .\phicomm_k2p_b1_cfe_nvram.txt -o .\mtd0_new.bin

--help:

-z, --compress            compress NVRAM data to CFE file
-d, --decompress          decompress embedded NVRAM data from CFE file
-b, --offset=<n>          offset within output to embed NVRAM (default 0x400)
-c, --count=<n>           bytes of embed NVRAM to write (default 0x1000)
-i, --input=<file>        input file
-o, --output=<file>       output file

About

A tool for compressing/decompressing data to/from Broadcom CFE file

License:GNU General Public License v3.0


Languages

Language:C 98.7%Language:CMake 1.0%Language:C++ 0.3%