Dustin Gathmann b2cac2a978 lantiq: fritz_cal_extract with reverse option for AVM FritzBox 7430
This implementation of fritz_cal_extract can also retrieve firmware
data stored in reverse byte order, as found in the AVM 7430 device.

This is done by intermediate storage in a buffer presumably large enough
to hold the complete data set. Currently, this buffer size is 128kB + 1kB
(some extra space for skipped data).

In the usual case of "forward" data, this implementation should behave
like the original implementation in all common cases. limit [-l] will
determine the amount of data read and size of buffer allocated.

However, if you are reading reversed data or didn't set a limit, the buffer
may be too small to hold all data. In this case, you can choose a higher
limit [-l] to enforce a sufficient buffer size.

Signed-off-by: Dustin Gathmann <dzsoftware@posteo.org>
Link: https://github.com/openwrt/openwrt/pull/15501
Signed-off-by: Robert Marko <robimarko@gmail.com>
2025-01-20 13:07:22 +01:00
..
2024-10-29 00:07:54 +01:00
2024-10-03 17:27:50 +02:00
2023-10-09 23:42:37 +02:00
2024-12-28 22:48:06 +01:00
2019-10-19 12:49:11 +02:00
2023-05-18 10:14:13 +02:00
2024-11-17 12:30:16 +01:00
2024-09-19 13:31:32 +02:00
2025-01-11 22:24:24 +01:00
2024-02-17 01:55:21 +01:00
2024-02-17 01:55:49 +01:00
2024-11-11 21:20:01 +01:00
2024-05-23 22:49:25 +02:00
2024-07-27 18:59:42 +02:00
2024-12-26 14:07:11 +01:00