<feed xmlns='http://www.w3.org/2005/Atom'>
<title>firmware-utils/src, branch master</title>
<subtitle>OpenWrt firmware image utilities</subtitle>
<id>https://git.openwrt.org/project/firmware-utils/atom?h=master</id>
<link rel='self' href='https://git.openwrt.org/project/firmware-utils/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/firmware-utils/'/>
<updated>2026-11-27T20:27:55Z</updated>
<entry>
<title>tplink-safeloader: increase support-list size for Archer C60</title>
<updated>2026-11-27T20:27:55Z</updated>
<author>
<name>Andreas Ziegler</name>
</author>
<published>2026-11-15T18:10:24Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/firmware-utils/commit/?id=1638f3755972e25abd14055369465bd6e253a6d7'/>
<id>urn:sha1:1638f3755972e25abd14055369465bd6e253a6d7</id>
<content type='text'>
The support-list partitions of all three Archer C60 variants (v1/v2/v3)
are sized 0x100 (256 bytes), but the support lists grew to 274 bytes
when a fourth regional entry (CA, 43410000) was added in 25131d6230e0
("tplink-safeloader: add Archer C59 / C60 CA ragion code"). Since then
tplink-safeloader aborts with

  support-list partition too big (more than 256 bytes): Success

and no factory image is generated for any Archer C60 variant anymore.

Enlarge the support-list partitions to 0x200 by moving them below the
soft-version partition, so that partitions which hold data on real
units keep their original offsets:

- v1: shrink the soft-version partition from 0x200 to 0x100 (the size
  the v2/v3 variants already use) and place the enlarged support-list
  at 0x11400; device-id, profile and all following partitions are
  unchanged
- v2/v3: move the soft-version partition down by 0x100, into the area
  below 0x7d9500, and grow the support-list at 0x7d9500; extra-para,
  profile and all following partitions are unchanged

A dump of a real C60 v3 unit shows that the area below 0x7d9500 is
unused (all 0xff) while extra-para and profile hold data there, which
this layout leaves untouched. The only stock data overwritten is the
old soft-version and the old support-list, both of which the new image
replaces in the same flash anyway.

Fixes: 25131d6230e0 ("tplink-safeloader: add Archer C59 / C60 CA ragion code")
Ref: https://github.com/openwrt/firmware-utils/issues/15
Ref: https://github.com/openwrt/openwrt/issues/12739
Signed-off-by: Andreas Ziegler &lt;dev@andreas-ziegler.de&gt;
</content>
</entry>
<entry>
<title>tplink-safeloader: add support for Festa F52 outdoor v1</title>
<updated>2026-11-16T09:38:09Z</updated>
<author>
<name>Paul Maruhn</name>
</author>
<published>2026-08-13T11:46:15Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/firmware-utils/commit/?id=dcf2ab2612c599dee3df2fd1bdc537eb65a96127'/>
<id>urn:sha1:dcf2ab2612c599dee3df2fd1bdc537eb65a96127</id>
<content type='text'>
The TP-Link Festa F52-Outdoor v1 consists of the same
hardware as the TP-Link EAP225-Outdoor v3. Only the
device identifiers differ.

Device specifications:
* SoC: QCA9563 @ 775MHz
* Memory: 128MiB DDR2
* Flash: 16MiB SPI-NOR
* Wireless 2.4GHz (SoC): b/g/n 2x2
* Wireless 5GHz (QCA9886): a/n/ac 2x2 MU-MIMO
* Ethernet (RTL8211FS): 1× 1GbE, PoE

Signed-off-by: Paul Maruhn &lt;paulmaruhn@posteo.de&gt;
Link: https://github.com/openwrt/firmware-utils/pull/74
Signed-off-by: Jonas Jelonek &lt;jonas@jonasjelonek.de&gt;
</content>
</entry>
<entry>
<title>y3-image: add a legacy Genexis Y3 image generator</title>
<updated>2026-11-15T17:35:44Z</updated>
<author>
<name>Linus Walleij</name>
</author>
<published>2026-10-18T08:37:53Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/firmware-utils/commit/?id=424c5637cde2dc61987e8209eb568cea227cc38a'/>
<id>urn:sha1:424c5637cde2dc61987e8209eb568cea227cc38a</id>
<content type='text'>
Package a prepared UBI image in the version-8 IntenoIopY container used
by legacy Genexis firmware. Make chip, model, architecture, release,
customer, revision and size limit configurable. Keep all Y3 definitions
in the utility and reuse the existing MD5 implementation.

Emit zero-length CFE ROM and rescue sections so the singlepureubi CFE
installer replaces the UBI area without installing replacement loader
code. Document that CFE still updates NVRAM and that the UBI boot bundle
must retain its RAM-stage loader. Filesystem and boot-bundle construction
remain the board image recipe's responsibility.

Stream the payload unchanged, validate header and size limits, and publish
output only after a successful write. Add documentation and independent
Python tests covering checksums, payload preservation and failure paths.

Tested with GCC and Clang, ASan/UBSan, three vendor GenXOS 10.x payloads,
and a four-volume fixture. The dumped XG6846B CFE parser accepted that
fixture under QEMU with mocked flash operations: it requested only UBI
replacement and rejected a bad checksum before any write. No hardware
flashing or kernel boot validation was performed.

Signed-off-by: Linus Walleij &lt;linusw@kernel.org&gt;
</content>
</entry>
<entry>
<title>mkbossimg: add tool for Bintec BOSS firmware images</title>
<updated>2026-10-20T22:56:17Z</updated>
<author>
<name>Simon Wunderlich</name>
</author>
<published>2026-09-17T13:17:27Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/firmware-utils/commit/?id=b2a93c6f77bac3a6525e93b383c987b073b4633b'/>
<id>urn:sha1:b2a93c6f77bac3a6525e93b383c987b073b4633b</id>
<content type='text'>
The bootmonitor of Bintec elmeg RS-series routers (RS123, RS230, RS353)
expects a 52-byte BOSS header in front of a gzip-compressed image: a
23-byte magic string identifying the board family, followed by
fw_version, image_type, image_version, image_length, a CRC32 over the
payload and two vendor fields, all big-endian.

No existing tool produces this. mkbrnimg, from which this is derived,
writes a 12-byte trailing footer plus a signature string instead.

The input is expected to carry a 52-byte placeholder header so the
payload stays aligned to the flash sector size; it is skipped, and length
and CRC are computed over the remainder. The CRC is the plain zlib CRC32.

Output was verified byte-for-byte against the original implementation
from armSeb/openwrt-RS353, and the header layout was cross-checked
against a genuine vendor firmware image.

Signed-off-by: Simon Wunderlich &lt;sw@simonwunderlich.de&gt;
Link: https://github.com/openwrt/firmware-utils/pull/78
Signed-off-by: Jonas Jelonek &lt;jonas@jonasjelonek.de&gt;
</content>
</entry>
<entry>
<title>mkhsfls: add tool for Herospeed camera firmware</title>
<updated>2026-10-12T09:46:10Z</updated>
<author>
<name>Daniel Golle</name>
</author>
<published>2026-10-09T13:35:23Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/firmware-utils/commit/?id=0179ab1e367f756ac108a485f26585661d4c528c'/>
<id>urn:sha1:0179ab1e367f756ac108a485f26585661d4c528c</id>
<content type='text'>
The web interface of Herospeed and Longse RV1126 IP cameras accepts a
.FLS container, which the firmware writes to the inactive A/B slot. It
has a 24 byte header with SoC and sensor name, the file size and the
entry count, followed by one 256 byte record per entry and the entry
data. Add a tool that packs boot, system and the other entry types the
firmware understands into such a container.

The output is identical to the container of a stock RV1126 firmware
rebuilt from its entries.

Signed-off-by: Daniel Golle &lt;daniel@makrotopia.org&gt;
</content>
</entry>
<entry>
<title>mkrkboot: add tool for Rockchip Android boot images</title>
<updated>2026-10-12T09:45:54Z</updated>
<author>
<name>Daniel Golle</name>
</author>
<published>2026-10-09T13:34:01Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/firmware-utils/commit/?id=16ef76b1f337719e5f78169907806149c4afd0c9'/>
<id>urn:sha1:16ef76b1f337719e5f78169907806149c4afd0c9</id>
<content type='text'>
Rockchip's U-Boot on the RV11xx camera SoCs boots an Android boot image
with a Rockchip resource image in the second stage slot, which carries
the device tree as rk-kernel.dtb. Add a tool that builds both from a
kernel image and a device tree, with optional extra resource entries.

The boot image header is the Android v0 header including the SHA-1 id,
and the resource image has the index table with a SHA-1 per entry. The
output is identical to the boot image of a stock RV1126 firmware.

Signed-off-by: Daniel Golle &lt;daniel@makrotopia.org&gt;
</content>
</entry>
<entry>
<title>dlink-sge-image: initialize the signature length</title>
<updated>2026-09-30T18:15:08Z</updated>
<author>
<name>Paul Spooren</name>
</author>
<published>2026-09-30T09:14:39Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/firmware-utils/commit/?id=a1d9589f1ea1b96529ac10fef5d164ff3aa03dc7'/>
<id>urn:sha1:a1d9589f1ea1b96529ac10fef5d164ff3aa03dc7</id>
<content type='text'>
EVP_PKEY_sign() takes the size of the signature buffer in *siglen and
fails if it is too small. siglen is not initialized, so the result
depends on whatever the stack holds: with some builds both signatures
are written, with others signing fails and the image carries 1024 zero
bytes instead. The same firmware thus differs between build hosts.

Set siglen to the size of the buffer before each call. The signatures
are deterministic PKCS#1 v1.5 signatures, so they match the ones of
images built where signing happened to work.

Signed-off-by: Paul Spooren &lt;mail@aparcar.org&gt;
</content>
</entry>
<entry>
<title>zyimage: make output byte order explicit</title>
<updated>2026-09-23T21:53:02Z</updated>
<author>
<name>Aleksei Sviridkin</name>
</author>
<published>2026-08-22T20:41:04Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/firmware-utils/commit/?id=9cf0f6e00e393259f6ab5f0d06a004f00e161ce7'/>
<id>urn:sha1:9cf0f6e00e393259f6ab5f0d06a004f00e161ce7</id>
<content type='text'>
device_id and crc32 were written in native host byte order, with no
byte-swap calls at all, so the on-disk output was only correct on
little-endian build hosts. Make the existing little-endian behavior
explicit with htole32() and document the byte layout, so a porter
reading the vendor's CONFIG_TARGET_DEVICE_ID can map it to the
equivalent OpenWrt ZYIMAGE_ID.

Assisted-By: Claude &lt;noreply@anthropic.com&gt;
Signed-off-by: Aleksei Sviridkin &lt;f@lex.la&gt;
Link: https://github.com/openwrt/firmware-utils/pull/75
Signed-off-by: Jonas Jelonek &lt;jonas@jonasjelonek.de&gt;
</content>
</entry>
<entry>
<title>asusuimage: fix fs_offset extraction in show_info</title>
<updated>2026-09-23T21:30:04Z</updated>
<author>
<name>Mateusz Jończyk</name>
</author>
<published>2026-03-23T21:30:24Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/firmware-utils/commit/?id=71f8d9a9a22ae06a690d086126f99da6b0e36b02'/>
<id>urn:sha1:71f8d9a9a22ae06a690d086126f99da6b0e36b02</id>
<content type='text'>
This code was apparently intended to look for FS_OFFSET_PREFIX and then
read the big-endian 24-bit value just after it. Instead, it did always
read the value from a fixed offset.

This fixes using bogus (or zero) values of `fs_offset` when analysing
TRXv2 images for Asus RT-AX53U. Now the values agree with what the
`binwalk` tool prints.

This patch modifies the show_info() function, which is used only for
firmware analysis and not in an OpenWRT build.

Signed-off-by: Mateusz Jończyk &lt;mat.jonczyk@o2.pl&gt;
Link: https://github.com/openwrt/firmware-utils/pull/66
Signed-off-by: Jonas Jelonek &lt;jonas@jonasjelonek.de&gt;
</content>
</entry>
<entry>
<title>mksenaofw: warn instead of erroring on plain type-0 images</title>
<updated>2026-09-23T21:25:26Z</updated>
<author>
<name>Misha Hawthorn</name>
</author>
<published>2026-08-24T14:35:28Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/firmware-utils/commit/?id=ceaf0f9c1e222c42128885f8b4499338730ffeee'/>
<id>urn:sha1:ceaf0f9c1e222c42128885f8b4499338730ffeee</id>
<content type='text'>
firmware_type 0 ("combo") is currently a fatal error unless a capwap header is
supplied. Some rebranded Senao devices ship a plain type-0 header with no
capwap section -- notably the Netgear WAX214 and WAX218 (vendor_id 0x231),
whose stock web-UI updater accepts the bare 0x60 img_header + magic-XOR'd
payload.

Downgrade that case to a non-fatal warning. Capwap encodes always set a
datecode (-c), so this only affects a type-0 encode with no capwap arguments;
encode_image() already omits the capwap section and computes the checksum over
the 0x60 header alone when no capwap header is supplied, so a plain image is
produced correctly.

Signed-off-by: Misha Hawthorn &lt;inbox@heymisha.com&gt;
Link: https://github.com/openwrt/firmware-utils/pull/76
Signed-off-by: Jonas Jelonek &lt;jonas@jonasjelonek.de&gt;
</content>
</entry>
</feed>
