otrx: support TRX from stdin when extracting
authorRafał Miłecki <rafal@milecki.pl>
Sat, 27 Nov 2021 15:31:04 +0000 (16:31 +0100)
committerRafał Miłecki <rafal@milecki.pl>
Thu, 2 Dec 2021 07:33:30 +0000 (08:33 +0100)
commit56e8e19151743c923f48604c457850cf8eb52076
tree93ac12b8d5742aa02b93734fbe952929550c5314
parenta37ccaff50e50cf3553d4bc7852a3e389e85535d
otrx: support TRX from stdin when extracting

It allows e.g.
dd if=firmware.chk skip=1 bs=58 | otrx extract - -1 kernel.bin

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
src/otrx.c