tools / fw / fwinv

fwinv

Portable, read-only inventory for a local firmware archive. It replaces the old shell script with a Python tool that works without GNU find -printf, file or readelf installed.

python3 tools/fwinv/fwinv.py firmware.tar.gz
python3 tools/fwinv/fwinv.py firmware.zip --out ./inventory --json
tools/fwinv/fw_inventory.sh firmware.zip --json

Output (also written to <out>/<archive-name>/inventory.json):

Safety:

The tool only reads local files. It does not download anything.