Re: [PATCH] firmware-utils: tplink-safeloader: Add alternative partition table offset

2023-01-31 Thread Sander Vanheule
Hi Andreas, On Tue, 2023-01-31 at 12:20 +0100, Andreas Böhler wrote: > Hi Sander, > > thanks for the review. > > > On 28/01/2023 16:42, Sander Vanheule wrote: > > Hi Andreas, > > > > On Sun, 2023-01-22 at 22:36 +0100, Andreas Böhler wrote: > > > Some newer OEM firmware files, even for existing

Re: [PATCH] firmware-utils: tplink-safeloader: Add alternative partition table offset

2023-01-31 Thread Andreas Böhler
Hi Sander, thanks for the review. On 28/01/2023 16:42, Sander Vanheule wrote: Hi Andreas, On Sun, 2023-01-22 at 22:36 +0100, Andreas Böhler wrote: Some newer OEM firmware files, even for existing devices, have the fwup-ptn at offset 0x1050 instead of 0x1014. If the fwup-ptn header is not fou

Re: [PATCH] firmware-utils: tplink-safeloader: Add alternative partition table offset

2023-01-28 Thread Sander Vanheule
Hi Andreas, On Sun, 2023-01-22 at 22:36 +0100, Andreas Böhler wrote: > Some newer OEM firmware files, even for existing devices, have the > fwup-ptn at offset 0x1050 instead of 0x1014. If the fwup-ptn header is not > found at 0x1014, the alternative offset at 0x1050 is tried. > > Signed-off-by: A

[PATCH] firmware-utils: tplink-safeloader: Add alternative partition table offset

2023-01-22 Thread Andreas Böhler
Some newer OEM firmware files, even for existing devices, have the fwup-ptn at offset 0x1050 instead of 0x1014. If the fwup-ptn header is not found at 0x1014, the alternative offset at 0x1050 is tried. Signed-off-by: Andreas Böhler --- src/tplink-safeloader.c | 8 +++- 1 file changed, 7 inse