<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/stintel/include/image-commands.mk, branch master</title>
<subtitle>Staging tree of Stijn Tintel</subtitle>
<id>https://git-03.infra.openwrt.org/openwrt/staging/stintel/atom?h=master</id>
<link rel='self' href='https://git-03.infra.openwrt.org/openwrt/staging/stintel/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/stintel/'/>
<updated>2025-11-23T23:57:19Z</updated>
<entry>
<title>filogic: add support for Netgear EAX17</title>
<updated>2025-11-23T23:57:19Z</updated>
<author>
<name>Jascha Sundaresan</name>
</author>
<published>2025-09-18T18:32:41Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/stintel/commit/?id=46ab9f3f1c0e6ac2a17efa5a3f34e466a0c2d4e0'/>
<id>urn:sha1:46ab9f3f1c0e6ac2a17efa5a3f34e466a0c2d4e0</id>
<content type='text'>
Hardware
--------

SOC:   MediaTek MT7981
RAM:   512MB DDR4
FLASH: 128MB SPI-NAND
WIFI:  Mediatek MT7915 (integrated) 2x2 802.11ax 2.4 / 5 GHz
ETH:   Mediatek MT7981 internal 1 GbE PHY
UART:  3V3 115200 8N1 (Pinout silkscreened / Do not connect VCC)

Installation
------------

1. Download the OpenWrt initramfs image. Copy the image to a TFTP server
2. Connect the TFTP server to the EAX17. Conect to the serial console,
   interrupt the autoboot process by pressing '0' when prompted.
3. Download &amp; Boot the OpenWrt initramfs image.

   $ tftpboot openwrt.bin
   $ bootm

4. Wait for OpenWrt to boot. Transfer the sysupgrade image to the device
   using scp and install using sysupgrade.

   $ sysupgrade -n &lt;path-to-sysupgrade.bin&gt;

Signed-off-by: Jascha Sundaresan &lt;flizarthanon@gmail.com&gt;
Link: https://github.com/openwrt/openwrt/pull/20354
Signed-off-by: Hauke Mehrtens &lt;hauke@hauke-m.de&gt;
</content>
</entry>
<entry>
<title>image: move mkits.sh outside lock section</title>
<updated>2025-10-23T16:14:01Z</updated>
<author>
<name>Christian Marangi</name>
</author>
<published>2025-10-22T00:45:50Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/stintel/commit/?id=5a42ed1138ae0244aff79560fe77cfab8aff6e7f'/>
<id>urn:sha1:5a42ed1138ae0244aff79560fe77cfab8aff6e7f</id>
<content type='text'>
As mkits.sh only generates the relevant DTS for mkimage and is
specific for the building image, we can move it outside the locked
section as it doesn't do any operation that can be used concurrently by
others.

This won't have any real impact but clean the code making it clear what
needs to be protected and what can be executed concurrently.

Link: https://github.com/openwrt/openwrt/pull/20492
Signed-off-by: Christian Marangi &lt;ansuelsmth@gmail.com&gt;
</content>
</entry>
<entry>
<title>scripts/mkits.sh: move out .pagesync generation for RootFS blob</title>
<updated>2025-10-23T16:14:01Z</updated>
<author>
<name>Christian Marangi</name>
</author>
<published>2025-10-23T13:31:46Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/stintel/commit/?id=c70894c855e54624b918ab50c9afa53301c462d4'/>
<id>urn:sha1:c70894c855e54624b918ab50c9afa53301c462d4</id>
<content type='text'>
It's expected the mkits.sh script to generate only the relevant DTS
entry and have all the blob already prepared to use for mkimage.

This is not the case for the RootFS case where the script generates a
.pagesync with the dd command.

To better handle this, drop the dd command and instead error out if the
.pagesync blob is not found if RootFS is used.

Adapt the generic fit build in image-commands.mk to call the dd for
.pagesync right before mkits.sh.

Link: https://github.com/openwrt/openwrt/pull/20492
Signed-off-by: Christian Marangi &lt;ansuelsmth@gmail.com&gt;
</content>
</entry>
<entry>
<title>image: fix race between mkits.sh and mkimage in .itb squashfs generation</title>
<updated>2025-10-23T16:14:00Z</updated>
<author>
<name>Christian Marangi</name>
</author>
<published>2025-10-22T00:17:25Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/stintel/commit/?id=3de1bbd5aeb542de9a4b20eff0f6bbf1767fd6b9'/>
<id>urn:sha1:3de1bbd5aeb542de9a4b20eff0f6bbf1767fd6b9</id>
<content type='text'>
With further investigation it was found a race in generating .itb images
that include a RootFS caused by the mkits.sh and the mkimage.

Due to the fact that mkits.sh generates a .pagesync image of the passed
rootfs, it can happen that, concurrently, mkimage can be called at the
same time mkits.sh is creating another .pagesync for the same rootfs.

This cause mkimage to use an half made rootfs.pagesync creating a
corrupted image.

To address this, also protect the mkimage with the same lock used for
mkits.sh preventing any kind of concurrent usage/generation of the
rootfs.pagesync blob

Fixes: 52cc9d82f113 ("kernel: rework Initramfs locking logic")
Link: https://github.com/openwrt/openwrt/pull/20492
Signed-off-by: Christian Marangi &lt;ansuelsmth@gmail.com&gt;
</content>
</entry>
<entry>
<title>ramips: add support for Plasma Cloud PAX1800-Lite</title>
<updated>2025-10-04T18:30:36Z</updated>
<author>
<name>Sven Eckelmann (Plasma Cloud)</name>
</author>
<published>2023-10-12T11:57:32Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/stintel/commit/?id=c7c54f313425d8f05203d141d056a104ee05c512'/>
<id>urn:sha1:c7c54f313425d8f05203d141d056a104ee05c512</id>
<content type='text'>
Plasma Cloud PAX1800-Lite is a dual-band Wi-Fi 6 router, based on MediaTek
MT7621A + MT79x5D platform.

Specifications:

- SOC:      MT7621AT (880 MHz)
- DRAM:     DDR3 448 MiB (Nanya NT5CC256M16DP-DI)
- Flash:    2 MiB SPI NOR (S25FL016K) + 128 MB SPI NAND (W25N02KVZEIR)
- Ethernet: 1x 10/100/1000 Mbps (SOC's built-in switch, with PoE+)
- Wi-Fi:    2x2:2 2.4/5 GHz (MT7905DAN + MT7975DN)
            (MT7905DAN doesn't support background DFS scan/BT)
- LED:      tri-color LED for status (red, blue, green)
- Buttons:  1x (reset)
- Antenna:  4x internal, non-detachable omnidirectional
- UART:     1x 4-pin (2.54 mm pitch, marked as "3V3 G/RX GND W/TX")
- Power:    12 V DC/2 A (DC jack)

MAC addresses:

WAN:     54:9C:27:xx:xx:00 (factory 0x3fff4, device label)
2.4 GHz: 54:9C:27:xx:xx:02 (factory 0x4, device label +2)
5 GHz:   54:9C:27:xx:xx:08 (factory 0xa, device label +8)

Flashing instructions:
======================

Various methods can be used to install the actual image on the flash.
Two easy ones are:

ap51-flash
----------

The tool ap51-flash (https://github.com/ap51-flash/ap51-flash) should be
used to transfer the image to the u-boot when the device boots up.

initramfs from TFTP
-------------------

The serial console (115200 8N1) must be used to access the u-boot shell
during bootup. It can then be used to first boot up the initramfs image
from a TFTP server (here with the IP 192.168.1.21):

    setenv serverip 192.168.1.21
    setenv ipaddr 192.168.1.1
    tftpboot 0x83001000 &lt;filename-of-initramfs-kernel&gt;.bin &amp;&amp; bootm $fileaddr

The actual sysupgrade image can then be transferred (on the LAN port) to the
device via

    scp &lt;filename-of-squashfs-sysupgrade&gt;.bin root@192.168.1.1:/tmp/

On the device, the sysupgrade must then be started using

    sysupgrade -n /tmp/&lt;filename-of-squashfs-sysupgrade&gt;.bin

Signed-off-by: Sven Eckelmann (Plasma Cloud) &lt;se@simonwunderlich.de&gt;
Link: https://github.com/openwrt/openwrt/pull/20152
Signed-off-by: Hauke Mehrtens &lt;hauke@hauke-m.de&gt;
</content>
</entry>
<entry>
<title>image: adapt mikrotik yafut to allow switch to bootimage YAFFS path</title>
<updated>2025-09-29T16:34:51Z</updated>
<author>
<name>John Thomson</name>
</author>
<published>2024-05-16T00:16:53Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/stintel/commit/?id=097049552a0eb24592c757af77124cad6befe060'/>
<id>urn:sha1:097049552a0eb24592c757af77124cad6befe060</id>
<content type='text'>
Adjust the YAFFS file path written depending on the sysupgrade
filename.
Default to kernel (for ELF), switch to bootimage (for NPK) if image name
has v7.

Signed-off-by: John Thomson &lt;git@johnthomson.fastmail.com.au&gt;
</content>
</entry>
<entry>
<title>build: add Mikrotik NOR RouterBOOT v7 image build</title>
<updated>2025-09-29T16:34:51Z</updated>
<author>
<name>John Thomson</name>
</author>
<published>2023-01-22T11:34:43Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/stintel/commit/?id=f473d15816c78a1580ed036107428ed7d51b3142'/>
<id>urn:sha1:f473d15816c78a1580ed036107428ed7d51b3142</id>
<content type='text'>
Add build step 'kernel-pack-npk' which uses 'npk_pack_kernel' which is now
part of firmware-utils to enable wrapping the kernel inside a MikroTik NPK
package.

Signed-off-by: John Thomson &lt;git@johnthomson.fastmail.com.au&gt;
Signed-off-by: Daniel Golle &lt;daniel@makrotopia.org&gt;
</content>
</entry>
<entry>
<title>images: move append-teltonika-metadata to image-commands.mk</title>
<updated>2025-08-24T15:52:25Z</updated>
<author>
<name>Simonas Tamošaitis</name>
</author>
<published>2025-08-06T18:52:15Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/stintel/commit/?id=53d8303a79f470a8244bd74d8c3bc6c58bd69cd0'/>
<id>urn:sha1:53d8303a79f470a8244bd74d8c3bc6c58bd69cd0</id>
<content type='text'>
Move append-teltonika-metadata to image-commands.mk and unify over different targets.
This method can be used to create valid "factory" images for most of Teltonika devices.

Signed-off-by: Simonas Tamošaitis &lt;simsasss@gmail.com&gt;
Link: https://github.com/openwrt/openwrt/pull/19401
Signed-off-by: Hauke Mehrtens &lt;hauke@hauke-m.de&gt;
</content>
</entry>
<entry>
<title>build: add dtb support for sysupgrade-tar</title>
<updated>2025-06-22T20:17:20Z</updated>
<author>
<name>INAGAKI Hiroshi</name>
</author>
<published>2024-04-08T06:25:15Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/stintel/commit/?id=4392d1a92b747d3c39701eb6eac5e457f7fa0848'/>
<id>urn:sha1:4392d1a92b747d3c39701eb6eac5e457f7fa0848</id>
<content type='text'>
Add dtb support for Build/sysupgrade-tar definition and
sysupgrade-tar.sh script.
This changes are required for updating dtb separately.

Signed-off-by: INAGAKI Hiroshi &lt;musashino.open@gmail.com&gt;
Link: https://github.com/openwrt/openwrt/pull/16904
Signed-off-by: Hauke Mehrtens &lt;hauke@hauke-m.de&gt;
</content>
</entry>
<entry>
<title>qualcommax: ipq5018: gl-b3000: fix rootfs_size in bootscript</title>
<updated>2025-04-21T21:56:38Z</updated>
<author>
<name>Scott Mercer</name>
</author>
<published>2025-04-21T17:12:37Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/stintel/commit/?id=320cdff263268b69c120952907f2452999e3fd38'/>
<id>urn:sha1:320cdff263268b69c120952907f2452999e3fd38</id>
<content type='text'>
rootfs_size was being set after the bootscript was already copied
to KDIR_TMP/ this was sneaky because it only affected the initial
compile. All subsequent compiles the rootfs_size is correct before
the copy is made and the bug goes un discovered. Hence the reason I
missed it during testing.

this patch fixes the issue and also refactors the
make recipe to update rootfs_size after the copy
is made, and updates the copy exclusively.

Fixes: 3307fe8ee4cf ("qualcommax: ipq50xx: add support for GL.iNET GL-B3000")

Signed-off-by: Scott Mercer &lt;TheRootEd24@gmail.com&gt;
Link: https://github.com/openwrt/openwrt/pull/18556
Signed-off-by: Robert Marko &lt;robimarko@gmail.com&gt;
</content>
</entry>
</feed>
