Jo-Philipp Wich
07bdd30906
package: remove duplicate lines from otrx and nvram makefiles
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
9 years ago
Jo-Philipp Wich
b04a25491f
package: flag further target specific packages as nonshared
...
Add nonshared flag to package depending on specific targets or subtargets as
there's no guarantee otherwise that they'll be available in the shared repo.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
9 years ago
Jo-Philipp Wich
69ccef03f9
package: mark nvram and otrx nonshared as they're target specific
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
9 years ago
Rafał Miłecki
e0a3d9d115
otrx: add extra compilation check before using __BYTE_ORDER
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 46106
10 years ago
Rafał Miłecki
0e5c445df6
otrx: include endian.h to make __BYTE_ORDER work with musl
...
Without this the condition
if __BYTE_ORDER == __BIG_ENDIAN
was always true.
Thanks Szabolcs.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 46105
10 years ago
Rafał Miłecki
1e6643ff15
otrx: optimize memory usage by function checking TRX CRC
...
Allocating huge buffer for the whole TRX wasn't too optimal.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 46078
10 years ago
Rafał Miłecki
c13dede6b1
otrx: make crc32 table global for further optimizations
...
So far we got only one generic function accessing this table, but
implementing optimizations will require calculating crc32 in other code
parts as well.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 46077
10 years ago
Rafał Miłecki
8b1b857948
otrx: support for creating simple TRX files
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45444
10 years ago
Rafał Miłecki
3cb8bf44e6
otrx: change command line API to start with a mode
...
This will allow adding more modes without options conflict.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45443
10 years ago
Rafał Miłecki
0bd2710512
otrx: use %zd to fix printf format warnings
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45436
10 years ago
Rafał Miłecki
834e60c4f1
otrx: check TRX length read from header to avoid Segmentation fault
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45433
10 years ago
Rafał Miłecki
cd4fd05648
otrx: include byteswap.h to fix compilation with musl
...
Fixes #19470
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45430
10 years ago
Rafał Miłecki
ab6462dd56
otrx: support for extracting partitions
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45390
10 years ago
Rafał Miłecki
71e6325ab8
otrx: new package with tiny app verifying TRX images
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45315
10 years ago