firmware-utils: tplink-safeloader: support displaying fw info
authorRafał Miłecki <rafal@milecki.pl>
Thu, 8 Apr 2021 21:49:43 +0000 (23:49 +0200)
committerRafał Miłecki <rafal@milecki.pl>
Wed, 14 Apr 2021 12:04:04 +0000 (14:04 +0200)
commit5eb3508ad21e111ecea8c44cb9c6c896ce7c71b3
tree6db440fbe0faffe11f538138a2ac51b2a93c7513
parent05a4273058303c8cfb5ff9c087739b924df056b3
firmware-utils: tplink-safeloader: support displaying fw info

Add "-i" option for reading & displaying firmware info. First it lists
in-firmware partitions ("fwup-ptn"). Then it checks for human
understandable partitions and prints data found in each of them.

This new feature is meant for development & debug purposes.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
tools/firmware-utils/src/tplink-safeloader.c