<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/pepe2k/package/utils, branch v22.03.2</title>
<subtitle>Staging tree of Piotr Dymacz</subtitle>
<id>https://git.openwrt.org/openwrt/staging/pepe2k/atom?h=v22.03.2</id>
<link rel='self' href='https://git.openwrt.org/openwrt/staging/pepe2k/atom?h=v22.03.2'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/'/>
<updated>2022-10-14T22:43:22Z</updated>
<entry>
<title>ucode: update to latest Git HEAD</title>
<updated>2022-10-14T22:43:22Z</updated>
<author>
<name>Jo-Philipp Wich</name>
</author>
<published>2022-09-05T08:50:39Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/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>ramips: add support for ZyXEL NWA50AX / NWA55AXE</title>
<updated>2022-10-14T21:14:50Z</updated>
<author>
<name>David Bauer</name>
</author>
<published>2022-05-27T15:48:06Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/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>
</author>
<published>2022-10-14T10:23:07Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/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>
<entry>
<title>treewide: fix security issues by bumping all packages using libwolfssl</title>
<updated>2022-10-04T08:11:08Z</updated>
<author>
<name>Petr Štetiar</name>
</author>
<published>2022-09-29T16:45:40Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=562894b39da381264a34ce31e9334c8a036fa139'/>
<id>urn:sha1:562894b39da381264a34ce31e9334c8a036fa139</id>
<content type='text'>
As wolfSSL is having hard time maintaining ABI compatibility between
releases, we need to manually force rebuild of packages depending on
libwolfssl and thus force their upgrade. Otherwise due to the ABI
handling we would endup with possibly two libwolfssl libraries in the
system, including the patched libwolfssl-5.5.1, but still have
vulnerable services running using the vulnerable libwolfssl-5.4.0.

So in order to propagate update of libwolfssl to latest stable release
done in commit ec8fb542ec3e4 ("wolfssl: fix TLSv1.3 RCE in uhttpd by
using 5.5.1-stable (CVE-2022-39173)") which fixes several remotely
exploitable vulnerabilities, we need to bump PKG_RELEASE of all
packages using wolfSSL library.

Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt;
(cherry picked from commit f1b7e1434f66a3cb09cb9e70b40add354a22e458)
</content>
</entry>
<entry>
<title>ucode: update to latest Git HEAD</title>
<updated>2022-08-31T21:06:01Z</updated>
<author>
<name>Jo-Philipp Wich</name>
</author>
<published>2022-08-29T14:02:16Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=26b436e2a20743c0826b293d6574a2ca4fee9fe8'/>
<id>urn:sha1:26b436e2a20743c0826b293d6574a2ca4fee9fe8</id>
<content type='text'>
344fa9e lib: extend render() to support function values
89452b2 lib: improve getenv() and split() implementations

Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
[fix commit subject]
(cherry picked from commit c6d6306827e9296faad26981996825ce3e90259d)
</content>
</entry>
<entry>
<title>ucode: update to latest Git HEAD</title>
<updated>2022-08-25T08:31:56Z</updated>
<author>
<name>Jo-Philipp Wich</name>
</author>
<published>2022-06-29T18:19:35Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=d4f20964ffcf081571a29cce9c7b234b78df7325'/>
<id>urn:sha1:d4f20964ffcf081571a29cce9c7b234b78df7325</id>
<content type='text'>
bcdd2cb examples: add module search path initialization and freeing
ee1946f ubus: fix GCC strncpy() truncation warning
131d99c lib: introduce three new functions call(), loadstring() and loadfile()
8e8dae0 lib: introduce helper function for indenting error messages
476f02b lib: simplify include_path()
d84b53a source: avoid null pointer access in uc_source_runpath_set()
c43a54f types: gracefully handle unpatched upvalues in ucv_free()
e2fb11a README.md: document gc() function
b41cb2d main: introduce -g flag to allow enabling periodic gc from cli
85d7885 lib: implement gc()
47528f0 vm: support automatic periodic GC runs
381cc75 types: treat vm-&gt;exports as GC roots
fcc49e6 compiler: add import statement support for dynamic extensions
c9442f1 vm: introduce new I_DYNLOAD opcode
b6fd8a2 lib: internally expose new uc_require_library() helper
a486adc vm: don't treat offset 0 special for exceptions
41ccd19 compiler: don't treat offset 0 special at syntax errors
b4a3f68 compiler: improve formatting of nested syntax error messages
5d5dadc program: remove now unused uc_program_export_lookup()
304995b compiler: rework export index allocation
506cc37 compiler: fix deriving module path from source runpath
54b7fac compiler: enforce stricter module compilation rules
d62e372 vm: don't initialize upvalues for module functions
b856602 program: add serialization and deserialization for module function flag
d7d1bde compiler: add a flag denoting module functions
156d584 treewide: unexport libucode internal functions
10e056d compiler: add support for import/export statements
862e49d compiler: resolve predeclared upvalues
78dfb08 compiler: require a name in function declarations
afd78c1 compiler: fix reported source position in inc/dec operator error
e1c3db0 tests: run_tests.sh: substitute dynamic test directory path in output
3c168b5 vm, cli: move search path into global configuration structure
d85bc71 vm: introduce import and export opcodes
365782e vm: honor constant flag of objects and arrays
6becc64 vm: transparently resolve upvalue references
3418967 vm: gracefully handle unresolved upvalues
50cf572 program: add function to globally lookup exported name
c441f65 program: add infrastructure to handle multiple sources per program
2322468 program: fix reporting source position of first instruction
9c9a9ec program: fix en/decoding debuginfo upvalue slots in precompiled bytecode
41114a0 source: add tracking of exported symbols
70ae304 lib: honor constant flag of arrays
3c104f5 types: resolve upvalue references on stringification
3a6f9cb types: add ability to mark array and object values as constant
b738f3a lexer: recognize module related keywords
03c8e4b lexer: rewrite token scanner
fd433aa lexer: fix parsing with disabled block left stripping
557577a rtnl: fix parsing/creation of IFLA_AF_SPEC RTA for the AF_BRIDGE family
35c6b73 compiler: fix stack mismatch on continue statements nested in switches
f673096 uloop: end uloop on exceptions in managed code
2e5426c ubus: end uloop on exceptions in managed code
c024270 rtnl: expose IFLA_STATS64 contents
d3c58c0 rtnl: expose ifinfomsg.ifi_change member
c4dde50 rtnl: update NETLINK_GET_STRICT_CHK socket flag with every request
7ef0d02 nl80211: fix NL80211_SURVEY_INFO_NOISE datatype
9a2e592 compiler: fix stack mismatch on nonmatching switch statements with locals
03c8ca5 nl80211: recognize further NL80211_STA_INFO_* NLAs
a1ed566 struct: add optional offset argument to `unpack()`
230e595 rtnl: fix segmentation fault on parsing linkinfo RTA without data
523566d rtnl: zero request message headers
56be30d rtnl: fix premature netlink reply receive abort
1347440 rtnl: avoid stray "netlink: %d bytes leftover after parsing attributes."
44b0a3b struct: fix packing `*` format after other repeated formats

Also package uloop binding module which has been introduced by a previous
ucode update and introduce a host build with the basic set of modules.

Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
(cherry picked from commit 3446d32616efad335c4eeeafc2f542089839bf20)
</content>
</entry>
<entry>
<title>uencrypt: add package to decrypt WG4хх223 config</title>
<updated>2022-08-19T12:44:07Z</updated>
<author>
<name>Eneas U de Queiroz</name>
</author>
<published>2022-07-08T14:08:21Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=d94a28f7d264ca8286b448a70e0311fa0051603a'/>
<id>urn:sha1:d94a28f7d264ca8286b448a70e0311fa0051603a</id>
<content type='text'>
This adds a simple AES-128-CBC encryption/decryption program using
either wolfSSL or OpenSSL as backend to decrypt Arcadyan WG4xx223
configuration partitions.  The ipk size is 3,355 bytes.

Signed-off-by: Eneas U de Queiroz &lt;cotequeiroz@gmail.com&gt;
(cherry picked from commit bc43ad88ed18722c0621fd6dfef0ff68268f4e14)
</content>
</entry>
<entry>
<title>sdk: add spidev-test to the bundle of userspace sources</title>
<updated>2022-07-22T20:26:26Z</updated>
<author>
<name>Christian Lamparter</name>
</author>
<published>2022-07-15T23:34:44Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=bddfd3f7ed0668346b42f7aff5e6b83e8aea0b38'/>
<id>urn:sha1:bddfd3f7ed0668346b42f7aff5e6b83e8aea0b38</id>
<content type='text'>
moves and extends the current facilities, which have been
added some time ago for the the usbip utility, to support
more utilites that are shipped with the Linux kernel tree
to the SDK.

this allows to drop all the hand-waving and code for
failed previous attempts to mitigate the SDK build failures.

Fixes: bdaaf66e28bd ("utils/spidev_test: build package directly from Linux")
Signed-off-by: Christian Lamparter &lt;chunkeey@gmail.com&gt;
(cherry picked from commit b479db9062b721776be44b976961a1031c1344ea)
</content>
</entry>
<entry>
<title>packages: nvram: add NVRAM quirks for bcm53xx target</title>
<updated>2022-06-07T14:18:20Z</updated>
<author>
<name>Arınç ÜNAL</name>
</author>
<published>2022-05-04T08:34:29Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=638220bfee001cda74225befb587a558cf7d9b9c'/>
<id>urn:sha1:638220bfee001cda74225befb587a558cf7d9b9c</id>
<content type='text'>
Add NVRAM quirks script for the bcm53xx target. Split NVRAM quirks for the
bcm47xx and bcm53xx targets. Move clear partialboot NVRAM quirk for Linksys
EA9500 here. Add set wireless LED behaviour quirk for Asus RT-AC88U.

Use boot() instead of start() as nvram commands are meant to be executed
only once, at boot.

Signed-off-by: Arınç ÜNAL &lt;arinc.unal@arinc9.com&gt;
(cherry picked from commit f4e219fd5e6cfa33d234dad134fb105cc1620f54)
</content>
</entry>
<entry>
<title>ucode: update to latest Git HEAD</title>
<updated>2022-06-01T11:49:53Z</updated>
<author>
<name>Jo-Philipp Wich</name>
</author>
<published>2022-05-31T08:59:47Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=dad15330307ec1282fc446f50dea7aec06be584b'/>
<id>urn:sha1:dad15330307ec1282fc446f50dea7aec06be584b</id>
<content type='text'>
d996047 syntax: adjust number literal parsing and string to number conversion
9efbe18 lib: refactor `uc_int()`
da3f089 lib: rework uc_index() implementation
559029e ci: make jobs faster during pull request testing

Fixes: #9923
Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
(backported from commits 251e70c88725fb33960ca60202dd55a84ae6b4d7 and
 7f998088f01baf0da24a9fd20de5d5389023361a)
</content>
</entry>
</feed>
