<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/pepe2k/scripts, branch v23.05.0</title>
<subtitle>Staging tree of Piotr Dymacz</subtitle>
<id>https://git.openwrt.org/openwrt/staging/pepe2k/atom?h=v23.05.0</id>
<link rel='self' href='https://git.openwrt.org/openwrt/staging/pepe2k/atom?h=v23.05.0'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/'/>
<updated>2023-08-15T15:19:05Z</updated>
<entry>
<title>scripts: qemustart: Fix x86/legacy bootup</title>
<updated>2023-08-15T15:19:05Z</updated>
<author>
<name>Hauke Mehrtens</name>
</author>
<published>2023-08-14T21:33:49Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=c57275df675e2a585bff1c59f71291bc32f1e103'/>
<id>urn:sha1:c57275df675e2a585bff1c59f71291bc32f1e103</id>
<content type='text'>
The ide-drive option was renamed to ide-hd in qemu 6.0.
With this change qemu is starting again on Debian 12.

Signed-off-by: Hauke Mehrtens &lt;hauke@hauke-m.de&gt;
(cherry picked from commit 497012ab4eb1f37cbbbff9a766d2fecdb43dd0db)
</content>
</entry>
<entry>
<title>scripts: use sep-char for hash nodes</title>
<updated>2023-07-26T13:39:24Z</updated>
<author>
<name>David Bauer</name>
</author>
<published>2023-06-09T12:12:47Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=5ded0a3975f8757f23d542dae370bca59e4b4525'/>
<id>urn:sha1:5ded0a3975f8757f23d542dae370bca59e4b4525</id>
<content type='text'>
U-Boot with enabled secure-boot will not boot images with the
@-character used for hash node-names.

Use the existing separation character configurable for each device.

Signed-off-by: David Bauer &lt;mail@david-bauer.net&gt;
(cherry picked from commit 2b133ab19cd5d741f3191f917c607667943f5f58)
</content>
</entry>
<entry>
<title>mediatek: add support for ZyXEL NWA50AX Pro</title>
<updated>2023-07-23T14:10:08Z</updated>
<author>
<name>David Bauer</name>
</author>
<published>2023-07-15T16:10:31Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=476bf135fcec4c1ceb5114029e539a07131e970f'/>
<id>urn:sha1:476bf135fcec4c1ceb5114029e539a07131e970f</id>
<content type='text'>
Hardware
--------
CPU:    Mediatek MT7981
RAM:    512M DDR4
FLASH:  256M NAND
ETH:    MaxLinear GPY211 (2.5GbE N Base-T)
WiFi:   Mediatek MT7981 (2.4GHz 2T2R:2 5GHz 3T3R:2 802.11ax)
BTN:    1x Reset
LED:    1x Multi-Color

UART Console
------------
Available below the rubber cover next to the ethernet port.

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.

In case this is not the case, OpenWrt will boot only one time, returning
to the ZyXEL firmware the second boot.

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

Installation TFTP / Recovery
----------------------------
This installation routine is especially useful in case of a 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 nwa50axpro-openwrt-initramfs.bin.

 $ atnf nwa50axpro-openwrt-initramfs.bin
 $ atna 192.168.1.88
 $ atns "192.168.1.66; tftpboot; setenv fdt_high 0xffffffffffffffff;
   bootm"

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

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

Copy the OpenWrt sysupgrade image to the device using scp.
Write the sysupgrade image to NAND using sysupgrade.

 $ sysupgrade -n image.bin

Signed-off-by: David Bauer &lt;mail@david-bauer.net&gt;
(cherry picked from commit f0445746f6fd96fc7c5394b238153bd2ff22bc5b)
</content>
</entry>
<entry>
<title>build: fix generation of large .vdi images</title>
<updated>2023-07-15T20:24:50Z</updated>
<author>
<name>Adones Pitogo</name>
</author>
<published>2023-07-11T05:31:50Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=4ab8abfbf7b1e4aa006507e220a4f2db17421845'/>
<id>urn:sha1:4ab8abfbf7b1e4aa006507e220a4f2db17421845</id>
<content type='text'>
Instead of loading the whole image into the memory when generating the
sha256 sum, we load the file in chunks and update the hash incrementally
to avoid MemoryError in python. Also remove a stray empty line.

Fixes: #13056
Signed-off-by: Adones Pitogo &lt;pitogo.adones@gmail.com&gt;
(mention empty line removal, adds Fixes from PR)
Signed-off-by: Christian Lamparter &lt;chunkeey@gmail.com&gt;
(cherry picked from commit bdb4b78210cfb6bc8a6cda62fc990dd45ec3054c)
</content>
</entry>
<entry>
<title>scripts/mkits.sh: DT overlays don't need a loadaddr</title>
<updated>2023-07-13T11:05:28Z</updated>
<author>
<name>Daniel Golle</name>
</author>
<published>2023-06-12T03:07:57Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=50507f5af3d3b3630a448412581707dcf60b08fa'/>
<id>urn:sha1:50507f5af3d3b3630a448412581707dcf60b08fa</id>
<content type='text'>
DT overlays do not need relocation in order to be applied, so drop
defining the load address for dtbos.

Signed-off-by: Daniel Golle &lt;daniel@makrotopia.org&gt;
(cherry picked from commit cff3786bd54cec8276f1fd08d5c6697846f393a5)
</content>
</entry>
<entry>
<title>image: add additional fields to Netgear encrypted image</title>
<updated>2023-07-13T11:05:28Z</updated>
<author>
<name>Wenli Looi</name>
</author>
<published>2023-03-30T22:27:11Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=977ee439d7068e405361322013e9a2114bfefcda'/>
<id>urn:sha1:977ee439d7068e405361322013e9a2114bfefcda</id>
<content type='text'>
These fields are used for EAX12 and EX6250v2 series, and perhaps other
devices. Compatibility is preserved with the WAX202 and WAX206.

In addition, adds the related vars to DEVICE_VARS so that the variables
work correctly with multiple devices.

References in GPL source:
https://www.downloads.netgear.com/files/GPL/EAX12_EAX11v2_EAX15v2_GPL_V1.0.3.34_src.tar.gz

* tools/imgencoder/src/gj_enc.c
  Contains code that generates the encrypted image.

Signed-off-by: Wenli Looi &lt;wlooi@ucalgary.ca&gt;
(cherry picked from commit 0a1ebccc8702cadc50bc096f1e185472f3927786)
</content>
</entry>
<entry>
<title>scripts: sercomm-kernel-header.py: improve compatibility</title>
<updated>2023-06-17T10:59:37Z</updated>
<author>
<name>Mikhail Zhilkin</name>
</author>
<published>2022-12-02T15:26:17Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=63942b569e08a6190ec9096a03d184127b8f3f71'/>
<id>urn:sha1:63942b569e08a6190ec9096a03d184127b8f3f71</id>
<content type='text'>
This improves compatibility with the elder stock firmwares of the
following devices, which have not yet been merged into OpenWrt:
 - Beeline SmartBox Pro
 - Beeline SmartBox Turbo+
 - WiFire S1500.NBN

Without this, OpenWrt factory image installation may fail.

Signed-off-by: Mikhail Zhilkin &lt;csharper2005@gmail.com&gt;
Signed-off-by: Maximilian Weinmann &lt;x1@disroot.org&gt;
(cherry picked from commit 35a4418d3966ccf6229916b0021bd18871ef22dd)
</content>
</entry>
<entry>
<title>scripts: qemustart: change armvirt references to armsr</title>
<updated>2023-06-13T12:14:34Z</updated>
<author>
<name>Mathew McBride</name>
</author>
<published>2023-06-09T02:19:40Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=ded67a320c81b0736a725f17116ae42b3a615b37'/>
<id>urn:sha1:ded67a320c81b0736a725f17116ae42b3a615b37</id>
<content type='text'>
The armvirt target has been renamed to 'armsr' (Arm SystemReady)
after inclusion of EFI support.
Change references (including subtargets) accordingly.

Signed-off-by: Mathew McBride &lt;matt@traverse.com.au&gt;
(cherry picked from commit 36bf9d861082d30fdb1cf1d00f819e60b8bb84a7)
</content>
</entry>
<entry>
<title>scripts: gen_image_generic: allow the partition types to be set</title>
<updated>2023-06-13T12:12:27Z</updated>
<author>
<name>Mathew McBride</name>
</author>
<published>2023-04-20T06:36:50Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=ddb8845bd6be37e6126a4a56c071dd9fc3b3695a'/>
<id>urn:sha1:ddb8845bd6be37e6126a4a56c071dd9fc3b3695a</id>
<content type='text'>
The use case for this is to set the kernel partition as the
EFI system partition. Versions of U-Boot with the
EFI boot manager (eficonfig and efidebug commands) will
store their boot order data on the ESP.

Signed-off-by: Mathew McBride &lt;matt@traverse.com.au&gt;
(cherry picked from commit 701d774f54aef2f9fe3c584700773dcb260dd03c)
</content>
</entry>
<entry>
<title>image: improve uImage.FIT device tree overlay support</title>
<updated>2023-06-09T18:23:03Z</updated>
<author>
<name>Daniel Golle</name>
</author>
<published>2023-06-04T14:57:25Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=d05d886d22ed1f395d7d4ee47b2e2075b58fa9b9'/>
<id>urn:sha1:d05d886d22ed1f395d7d4ee47b2e2075b58fa9b9</id>
<content type='text'>
Instead of generating full config nodes incl. kernel, generate minimal
config nodes for device tree overlays to be applied to the main config.
In this way, multiple device tree overlays can be applied more easily.
While at it change filenames to upstream style, ie. use dtso and dtbo
suffix for device tree overlays.

Signed-off-by: Daniel Golle &lt;daniel@makrotopia.org&gt;
(cherry picked from commit 6b01d40bfedb42323a1324e1b5624f192a4c91de)
</content>
</entry>
</feed>
