<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openwrt, branch v22.03.2</title>
<subtitle>OpenWrt Source Repository</subtitle>
<id>http://x-nagi.com/cgit/openwrt/atom?h=v22.03.2</id>
<link rel='self' href='http://x-nagi.com/cgit/openwrt/atom?h=v22.03.2'/>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/openwrt/'/>
<updated>2022-10-15T12:45:57Z</updated>
<entry>
<title>OpenWrt v22.03.2: adjust config defaults</title>
<updated>2022-10-15T12:45:57Z</updated>
<author>
<name>Hauke Mehrtens</name>
<email>hauke@hauke-m.de</email>
</author>
<published>2022-10-15T12:45:57Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/openwrt/commit/?id=ea845f76ea2406a4c70d96141d6386b81bba5431'/>
<id>urn:sha1:ea845f76ea2406a4c70d96141d6386b81bba5431</id>
<content type='text'>
Signed-off-by: Hauke Mehrtens &lt;hauke@hauke-m.de&gt;
</content>
</entry>
<entry>
<title>firewall4: update to latest Git HEAD</title>
<updated>2022-10-14T22:44:41Z</updated>
<author>
<name>Jo-Philipp Wich</name>
<email>jo@mein.io</email>
</author>
<published>2022-10-14T15:32:28Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/openwrt/commit/?id=9a599fee939e8d4276d6ee72aa549756f205988a'/>
<id>urn:sha1:9a599fee939e8d4276d6ee72aa549756f205988a</id>
<content type='text'>
4fbf6d7 ruleset.uc: log forwarded traffic not matched by zone policies
c7201a3 main.uc: reintroduce set reload restriction
756f1e2 ruleset: fix emitting set_mark/set_xmark rules with masks
3db4741 ruleset: properly handle zone names starting with a digit
43d8ef5 fw4: fix formatting of default log prefix
592ba45 main.uc: remove uneeded/wrong set reload restrictions
b0a6bff tests: fix testcases
145e159 fw4: recognize `option log` and `option counter` in `config nat` sections
ce050a8 fw4: fall back to device if l3_device is not available in ifstatus

Fixes: #10639, #10965
Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
(cherry picked from commit fdfa9d8f7469626d2dc8e4b46a6ad56a3b27c16b)
</content>
</entry>
<entry>
<title>ucode: update to latest Git HEAD</title>
<updated>2022-10-14T22:43:22Z</updated>
<author>
<name>Jo-Philipp Wich</name>
<email>jo@mein.io</email>
</author>
<published>2022-09-05T08:50:39Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/openwrt/commit/?id=30de1b503121ff74bec776ea22acf2be412da122'/>
<id>urn:sha1:30de1b503121ff74bec776ea22acf2be412da122</id>
<content type='text'>
4ae7072 fs: use `getline()` for line wise read operations
21ace5e lexer: fixes for regex literal parsing
00965fa lib: implement slice() function
76d396d main: implement print mode
7bbba78 compiler: optimize function return opcode generation
a45f2a3 lexer: improve regex literal handling
d64d5d6 vm: maintain export symbol tables per program
f4b4ded uloop: task: gracefully handle absent output callback
a58fe47 ubus: hold reference to underlying connection until deferred is concluded
e23b58a lib: uc_system(): retry waitpid() on EINTR
cc4eb79 ubus: support obtaining numeric error code
01c412c ubus: add toplevel constants for ubus status codes
8e240fa ubus: allow object method call handlers to return a numeric status code
5cdddd3 lib: add limit support to split() and replace()
0ba9c3e fs: add optional third permission argument to fs.open()
c1f7b3b lib: remove fixed capture group limit in match() and regex replace()

Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
(backported from commits 639754e36d849553e288f8e34f51f793761c07db
 and 5110dcb1fa44fc1aac737c63b31474daa471de89)
</content>
</entry>
<entry>
<title>rpcd: update to latest Git HEAD</title>
<updated>2022-10-14T22:42:05Z</updated>
<author>
<name>Jo-Philipp Wich</name>
<email>jo@mein.io</email>
</author>
<published>2022-09-12T11:48:40Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/openwrt/commit/?id=fa4ec0399332dbf88dddc605103921b5749d07be'/>
<id>urn:sha1:fa4ec0399332dbf88dddc605103921b5749d07be</id>
<content type='text'>
8c852b6 ucode: write ucode runtime exceptions to stderr
e80d0b2 ucode: pass-through `ubus_rpc_session` argument
0d02243 ucode: initialize module search path early

Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
(backported from commits 94129cbefb6027cdfe2b7801a6e27a36d4ec58b8
 and db17c7527107c1dae190608a1313a3977fe4f23f)
</content>
</entry>
<entry>
<title>image: always rebuild kernel loaders</title>
<updated>2022-10-14T21:15:30Z</updated>
<author>
<name>Matthias Schiffer</name>
<email>mschiffer@universe-factory.net</email>
</author>
<published>2022-03-27T21:15:48Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/openwrt/commit/?id=a7fb589e8a9df06bd0e36c91d05806f1e8aeb9e8'/>
<id>urn:sha1:a7fb589e8a9df06bd0e36c91d05806f1e8aeb9e8</id>
<content type='text'>
Kernel loaders like the lzma-loader currently don't track changes to
their sources. This can lead to an old version of a loader to be used
when a build tree is not clean between builds.

As the loaders are tiny and the build times are insignificant, simply
force rebuilding them on every build to avoid this problem.

Signed-off-by: Matthias Schiffer &lt;mschiffer@universe-factory.net&gt;
(cherry picked from commit a01d23e755ba46f41e667d558d82d4871d7f5450)
</content>
</entry>
<entry>
<title>mpc85xx: p1010: make TP-Link WDR4900 v1 build again</title>
<updated>2022-10-14T21:15:20Z</updated>
<author>
<name>Matthias Schiffer</name>
<email>mschiffer@universe-factory.net</email>
</author>
<published>2022-03-27T19:00:30Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/openwrt/commit/?id=5db6914f7cfddd1c3cb8a46017d4360e1ec26c5d'/>
<id>urn:sha1:5db6914f7cfddd1c3cb8a46017d4360e1ec26c5d</id>
<content type='text'>
Add the spi-loader as a pre-kernel stage, so we can lift the kernel size
limit.

Signed-off-by: Matthias Schiffer &lt;mschiffer@universe-factory.net&gt;
(cherry picked from commit 2fa53c9214b7b93fd82ad1ff885145b9e1c1f71b)
</content>
</entry>
<entry>
<title>mpc85xx: add SPI kernel loader for TP-Link TL-WDR4900 v1</title>
<updated>2022-10-14T21:15:12Z</updated>
<author>
<name>Matthias Schiffer</name>
<email>mschiffer@universe-factory.net</email>
</author>
<published>2022-03-27T18:57:01Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/openwrt/commit/?id=f7a43e46065609910bdd2fa6f97ffa1deeda222b'/>
<id>urn:sha1:f7a43e46065609910bdd2fa6f97ffa1deeda222b</id>
<content type='text'>
Similar to the lzma-loader on our MIPS targets, the spi-loader acts as
a second-stage loader that will then load and start the actual kernel.
As the TL-WDR4900 uses SPI-NOR and the P1010 family does not have support
for memory mapping of this type of flash, this loader needs to contain a
basic driver for the FSL ESPI controller.

Signed-off-by: Matthias Schiffer &lt;mschiffer@universe-factory.net&gt;
(cherry picked from commit a296055b82fbb20457273492069ce9d62009e2a1)
</content>
</entry>
<entry>
<title>ramips: fix ZyXEL NWA55AXE model name</title>
<updated>2022-10-14T21:14:50Z</updated>
<author>
<name>David Bauer</name>
<email>mail@david-bauer.net</email>
</author>
<published>2022-08-18T16:02:48Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/openwrt/commit/?id=c1fcca50ba924fcb2b51a03a8dbf68c2fe7ae60c'/>
<id>urn:sha1:c1fcca50ba924fcb2b51a03a8dbf68c2fe7ae60c</id>
<content type='text'>
The model name was missing a letter.

Signed-off-by: David Bauer &lt;mail@david-bauer.net&gt;
(cherry picked from commit 9c8605dee238cdf52e88b6a1aa64d5b7bf5dd846)
</content>
</entry>
<entry>
<title>ramips: add support for ZyXEL NWA50AX / NWA55AXE</title>
<updated>2022-10-14T21:14:50Z</updated>
<author>
<name>David Bauer</name>
<email>mail@david-bauer.net</email>
</author>
<published>2022-05-27T15:48:06Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/openwrt/commit/?id=2050bc4f64e3824d6a632cce5fabc0b816ea0508'/>
<id>urn:sha1:2050bc4f64e3824d6a632cce5fabc0b816ea0508</id>
<content type='text'>
Hardware
--------
CPU:    Mediatek MT7621
RAM:    256M DDR3
FLASH:  128M NAND
ETH:    1x Gigabit Ethernet
WiFi:   Mediatek MT7915 (2.4/5GHz 802.11ax 2x2 DBDC)
BTN:    1x Reset (NWA50AX only)
LED:    1x Multi-Color (NWA50AX only)

UART Console
------------
NWA50AX:
Available below the rubber cover next to the ethernet port.
NWA55AXE:
Available on the board when disassembling the device.

Settings: 115200 8N1

Layout:

&lt;12V&gt; &lt;LAN&gt; GND-RX-TX-VCC

Logic-Level is 3V3. Don't connect VCC to your UART adapter!

Installation Web-UI
-------------------
Upload the Factory image using the devices Web-Interface.

As the device uses a dual-image partition layout, OpenWrt can only
installed on Slot A. This requires the current active image prior
flashing the device to be on Slot B.

If the currently installed image is started from Slot A, the device will
flash OpenWrt to Slot B. OpenWrt will panic upon first boot in this case
and the device will return to the ZyXEL firmware upon next boot.

If this happens, first install a ZyXEL firmware upgrade of any version
and install OpenWrt after that.

Installation TFTP
-----------------
This installation routine is especially useful in case
 * unknown device password (NWA55AXE lacks reset button)
 * bricked device

Attach to the UART console header of the device. Interrupt the boot
procedure by pressing Enter.

The bootloader has a reduced command-set available from CLI, but more
commands can be executed by abusing the atns command.

Boot a OpenWrt initramfs image available on a TFTP server at
192.168.1.66. Rename the image to owrt.bin

 $ atnf owrt.bin
 $ atna 192.168.1.88
 $ atns "192.168.1.66; tftpboot; bootm"

Upon booting, set the booted image to the correct slot:

 $ zyxel-bootconfig /dev/mtd10 get-status
 $ zyxel-bootconfig /dev/mtd10 set-image-status 0 valid
 $ zyxel-bootconfig /dev/mtd10 set-active-image 0

Copy the OpenWrt ramboot-factory image to the device using scp.
Write the factory image to NAND and reboot the device.

 $ mtd write ramboot-factory.bin firmware
 $ reboot

Signed-off-by: David Bauer &lt;mail@david-bauer.net&gt;
(cherry picked from commit a0b7fef0ffe4cd9cca39a652a37e4f3ce8f0a681)
</content>
</entry>
<entry>
<title>busybox: nslookup: ensure unique transaction IDs for the DNS queries</title>
<updated>2022-10-14T19:10:54Z</updated>
<author>
<name>Uwe Kleine-König</name>
<email>uwe@kleine-koenig.org</email>
</author>
<published>2022-10-14T10:23:07Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/openwrt/commit/?id=bc8e24c654050d7fcafd8d6f179bf1ffdf6045fa'/>
<id>urn:sha1:bc8e24c654050d7fcafd8d6f179bf1ffdf6045fa</id>
<content type='text'>
On machines with a coarse monotonic clock (here: TP-Link RE200 powered
by a MediaTek MT7620A) it can happen that the two DNS requests (for A
and AAAA) share the same transaction ID. If this happens the second
reply is wrongly dropped and nslookup reports "No answer".

Fix this by ensuring that the transaction IDs are unique.

Signed-off-by: Uwe Kleine-König &lt;uwe@kleine-koenig.org&gt;
(cherry picked from commit 63e5ba8e69f03a584b707520db0a0821eda3024f)
Signed-off-by: Christian Marangi &lt;ansuelsmth@gmail.com&gt;
</content>
</entry>
</feed>
