openwrt/target/linux/lantiq
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
..
ase lantiq: ase: disable adm6996 and swconfig 2024-10-12 21:38:26 +02:00
base-files lantiq: xrx200: switch the subtarget to the mainline DSA driver 2021-06-26 16:05:36 +02:00
falcon lantiq: remove 6.1 kernel support 2024-07-06 17:50:23 +02:00
files lantiq: xrx200: add support for lan3 and lan4 on AVM 5490/5491 2025-01-04 14:58:43 +01:00
image lantiq: xrx200: add alternative names for Plusnet Hub One and BT Business Hub 5A 2025-01-12 17:50:23 +01:00
patches-6.6 kernel: bump 6.6 to 6.6.70 2025-01-10 13:41:30 +01:00
xrx200 lantiq: fritz_cal_extract with reverse option for AVM FritzBox 7430 2025-01-20 13:07:22 +01:00
xrx200_legacy lantiq: xrx200_legacy: disable unused phy drivers 2025-01-12 17:54:07 +01:00
xway lantiq: use nvmem for fritz73x0 2024-12-23 23:46:42 +01:00
xway_legacy lantiq: remove 6.1 kernel support 2024-07-06 17:50:23 +02:00
Makefile lantiq/xrx200: move 8M flash devices to a small flash subtarget 2024-12-16 00:59:55 +01:00
config-6.6 kernel: filter out compiler opts from config 2024-11-17 14:55:16 +01:00
modules.mk target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00