openwrt/target/linux
Dustin Gathmann 61dabbbfe3 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>
(cherry picked from commit b2cac2a978)
2025-01-20 13:15:11 +01:00
..
airoha airoha: an7581: add pending PCI patch 2025-01-17 22:11:54 +01:00
apm821xx apm821xx: fixes WNDAP620 + WNDAP660 sysupgrade failures 2025-01-12 21:50:53 +01:00
archs38 kernel: filter out compiler opts from config 2024-11-28 18:47:54 +00:00
armsr armsr: change image names to 'combined-efi' 2025-01-16 21:07:53 +01:00
at91 kernel: filter out compiler opts from config 2024-11-28 18:47:54 +00:00
ath79 ath79: add extended AR9344 reset sequence 2025-01-19 11:17:23 +01:00
bcm27xx kernel: bump 6.6 to 6.6.70 2025-01-12 21:43:35 +01:00
bcm47xx kernel: filter out compiler opts from config 2024-11-28 18:47:54 +00:00
bcm53xx kernel: bump 6.6 to 6.6.70 2025-01-12 21:43:35 +01:00
bcm4908 kernel: filter out compiler opts from config 2024-11-28 18:47:54 +00:00
bmips generic: add gpio-regmap request/free ops patch 2025-01-08 19:43:41 +01:00
d1 build: d1: add SUPPORTED_DEVICES 2024-12-22 16:34:59 +01:00
gemini kernel: filter out compiler opts from config 2024-11-28 18:47:54 +00:00
generic ipq4019: patch initialization of Lantiq DSL on FritzBox 7530. 2025-01-19 11:01:13 +01:00
imx kernel: filter out compiler opts from config 2024-11-28 18:47:54 +00:00
ipq40xx ipq4019: patch initialization of Lantiq DSL on FritzBox 7530. 2025-01-19 11:01:13 +01:00
ipq806x kernel: bump 6.6 to 6.6.64 2024-12-15 01:43:39 +01:00
ixp4xx ixp4xx: Break out mv88e6060 DSA switch to package 2025-01-04 19:27:05 +01:00
kirkwood kernel: filter out compiler opts from config 2024-11-28 18:47:54 +00:00
lantiq lantiq: fritz_cal_extract with reverse option for AVM FritzBox 7430 2025-01-20 13:15:11 +01:00
layerscape kernel: bump 6.6 to 6.6.64 2024-12-15 01:43:39 +01:00
loongarch64 kernel: filter out compiler opts from config 2024-11-28 18:47:54 +00:00
malta kernel: filter out compiler opts from config 2024-11-28 18:47:54 +00:00
mediatek generic: backport Realtek PHY patches from upstream 2025-01-17 23:53:06 +01:00
mpc85xx kernel: bump 6.6 to 6.6.64 2024-12-15 01:43:39 +01:00
mvebu mvebu: WD Cloud Mirror Gen2: Remove stty dependency 2025-01-16 21:24:52 +01:00
mxs mxs: run kernel_oldconfig 2024-11-28 18:48:55 +00:00
octeon octeon: add kmod-usb-dwc3-octeon to DEFAULT_PACKAGES 2024-12-28 10:38:11 +01:00
omap kernel: filter out compiler opts from config 2024-11-28 18:47:54 +00:00
pistachio kernel: filter out compiler opts from config 2024-11-28 18:47:54 +00:00
qoriq kernel: filter out compiler opts from config 2024-11-28 18:47:54 +00:00
qualcommax qualcommax: dl-wrx36: fix 2.5G port LED-s 2025-01-18 16:10:02 +01:00
ramips ramips: mt7621: add support for Confiabits MT7621 v1 2025-01-18 19:21:57 +01:00
realtek generic: backport Realtek PHY patches from upstream 2025-01-17 23:53:06 +01:00
rockchip kernel: bump 6.6 to 6.6.70 2025-01-12 21:43:35 +01:00
sifiveu kernel: filter out compiler opts from config 2024-11-28 18:47:54 +00:00
siflower kernel: filter out compiler opts from config 2024-11-28 18:47:54 +00:00
starfive kernel: bump 6.6 to 6.6.70 2025-01-12 21:43:35 +01:00
stm32 stm32: Remove unnecessary kernel options 2024-11-28 18:49:23 +00:00
sunxi kernel: bump 6.6 to 6.6.61 2024-11-24 22:46:21 +01:00
tegra kernel: filter out compiler opts from config 2024-11-28 18:47:54 +00:00
uml uml: fix glibc-static check with GCC14 2024-06-22 22:06:06 +02:00
x86 x86: Deactivate kernel options with extra overhead 2024-11-28 18:49:17 +00:00
zynq kernel: filter out compiler opts from config 2024-11-28 18:47:54 +00:00
Makefile linux: fix missing default packages in profiles.json 2025-01-03 11:14:12 +01:00