<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/pepe2k/tools/firmware-utils, branch v19.07.2</title>
<subtitle>Staging tree of Piotr Dymacz</subtitle>
<id>https://git.openwrt.org/openwrt/staging/pepe2k/atom?h=v19.07.2</id>
<link rel='self' href='https://git.openwrt.org/openwrt/staging/pepe2k/atom?h=v19.07.2'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/'/>
<updated>2020-02-07T10:05:26Z</updated>
<entry>
<title>firmware-utils: add lxlfw tool for generating Luxul firmwares</title>
<updated>2020-02-07T10:05:26Z</updated>
<author>
<name>Dan Haab</name>
</author>
<published>2020-02-05T17:37:43Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=cf2b04285591ba319d5197e0df5dade34c68dd97'/>
<id>urn:sha1:cf2b04285591ba319d5197e0df5dade34c68dd97</id>
<content type='text'>
It's a simple tool prepending image with a Luxul header.

Signed-off-by: Dan Haab &lt;dan.haab@legrand.com&gt;
(cherry picked from commit 9aa6569aa669767ec9febf1de01a3983a1cb9482)
</content>
</entry>
<entry>
<title>tools: tplink-safeloader: update soft_ver for TP-Link Archer C6 v2 (EU)</title>
<updated>2020-01-23T13:33:21Z</updated>
<author>
<name>Anderson Vulczak</name>
</author>
<published>2019-11-27T23:31:52Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=abaf329dad058545cfd1e05d52990d7b9d3a58f8'/>
<id>urn:sha1:abaf329dad058545cfd1e05d52990d7b9d3a58f8</id>
<content type='text'>
This patch updates "soft_ver" for TP-Link Archer C6 v2 (EU).

It makes possible to upload OpenWrt on lastest vendor's firmware
as the web-based updater checks for major.minor version during upload.

Due to that on next major/minor version update TP-Link will stop
us from using the web-based firmware update tool, so it will
require a new patch on soft_ver to match major and minor version.
Up to today's latest stock firmware the patch (major.minor.patch)
version does not matters, that allows downgrade from 1.1.4 to 1.1.1
but do not allow downgrade from 1.1.X to 1.0.X.

Signed-off-by: Anderson Vulczak &lt;andi@andi.com.br&gt;
(cherry picked from commit 7a8bfbf0ffaea14e15ae2016a54adf48337c6251)
(cherry picked from commit eeb93e5c2b23518e372737ecf8fdde4b9f139a49)
</content>
</entry>
<entry>
<title>ath79: add support for the TP-LINK CPE220 V3</title>
<updated>2020-01-08T16:42:37Z</updated>
<author>
<name>Andrew Cameron</name>
</author>
<published>2019-10-26T01:29:36Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=19ff3f5105791a31b27932e1bf2ad9e150604b6e'/>
<id>urn:sha1:19ff3f5105791a31b27932e1bf2ad9e150604b6e</id>
<content type='text'>
This adds support for a popular low-cost 2.4GHz N based AP

Specifications:
SoC: Qualcomm Atheros QCA9533 (650MHz)
RAM: 64MB
Storage: 8 MB SPI NOR
Wireless: 2.4GHz N based built into SoC 2x2
Ethernet: 2x 100/10 Mbps, integrated into SoC

Installation:
Flash factory image through stock firmware WEB UI
or through TFTP
To get to TFTP recovery just hold reset button while powering on for
around 4-5 seconds and release.
Rename factory image to recovery.bin
Stock TFTP server IP:192.168.0.100
Stock device TFTP adress:192.168.0.254

This also applies some minor changes to the common DTSI:
- use &amp;wmac for label-mac-device, as this one is actually set up in
  common DTSI
- move &amp;eth0 to parent DTSI
- fix several leading spaces, added/removed newlines

Signed-off-by: Andrew Cameron &lt;apcameron@softhome.net&gt;
[DTS style fixes/improvements, updated commit message/title,
backport to 19.07]
Signed-off-by: Adrian Schmutzler &lt;freifunk@adrianschmutzler.de&gt;
</content>
</entry>
<entry>
<title>ar71xx: improve support for TP-Link CPE510 v2</title>
<updated>2019-11-06T12:13:27Z</updated>
<author>
<name>Adrian Schmutzler</name>
</author>
<published>2019-08-06T10:20:05Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=b3514e3569b35e66b8986cf0c8fa658aeb888b38'/>
<id>urn:sha1:b3514e3569b35e66b8986cf0c8fa658aeb888b38</id>
<content type='text'>
This fixes commit bae927c551fd ("ar71xx: add support for TP-LINK CPE510
V2.0") where the support for this device wasn't optimal.

Device support for the CPE510v2 so far has been a hack to enable
flashing with CPE510v1 images. Those even have different hardware (e.g.
additional ethernet port).

With this patch, we provide proper support for this device in ar71xx.

Installation:
- Flash factory image through stock firmware WEB UI or through TFTP
- To get to TFTP recovery just hold reset button while powering on
  for around 4-5 seconds and release.
- Rename factory image to recovery.bin
- Stock TFTP server IP: 192.168.0.100
- Stock device TFTP address: 192.168.0.254

Fixes: bae927c551fd ("ar71xx: add support for TP-LINK CPE510 V2.0")
Signed-off-by: Andrew Cameron &lt;apcameron@softhome.net&gt;
[Rebased onto revert commit, changed comments in mach-cpe510.c,
changed commit title and description, fixed eth0 MAC address,
removed eth1 initialization]
Signed-off-by: Adrian Schmutzler &lt;freifunk@adrianschmutzler.de&gt;
[squashed revert, added fixes tag]
Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt;
(cherry picked from commit c79b796280fa5cd64bac663f9d5e5d9a737c30d6)
[added CPE510V2 entry to tplink-safeloader.c]
Signed-off-by: Adrian Schmutzler &lt;freifunk@adrianschmutzler.de&gt;
</content>
</entry>
<entry>
<title>tplink-safeloader: fix compilation warnings</title>
<updated>2019-10-19T12:27:34Z</updated>
<author>
<name>Ilya Gordeev</name>
</author>
<published>2019-10-12T18:10:09Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=8c8212c680a12c926f0e5d5918236ae219d728fe'/>
<id>urn:sha1:8c8212c680a12c926f0e5d5918236ae219d728fe</id>
<content type='text'>
Signed-off-by: Ilya Gordeev &lt;Mirraz@users.noreply.github.com&gt;
(cherry picked from commit 5daf09435311922cad32b66b75d13b9367db62f7)
</content>
</entry>
<entry>
<title>firmware-utils: jcgimage: add support for 4MiB+ images</title>
<updated>2019-05-31T08:30:03Z</updated>
<author>
<name>Davide Fioravanti</name>
</author>
<published>2019-05-20T02:43:17Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=d95dff162ae110e82674cc1511ef851be231b232'/>
<id>urn:sha1:d95dff162ae110e82674cc1511ef851be231b232</id>
<content type='text'>
The first version of this script allowed just 4Mb factory images.
With this patch is possible to set the maximum size of the payload.

For an 8Mb flash, the corresponding maxsize is:
8 * 1024 * 1024 - 5 * 64 * 1024 = 8388608 - 327680 = 8060928

If the -m argument is not set, the default maximum size will be
used for backward compatibility.

Signed-off-by: Davide Fioravanti &lt;pantanastyle@gmail.com&gt;
</content>
</entry>
<entry>
<title>firmware-utils: jcgimage: fix style and compiler warnings</title>
<updated>2019-05-31T08:30:03Z</updated>
<author>
<name>Davide Fioravanti</name>
</author>
<published>2019-05-20T02:29:51Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=1bbd524e8411c669d874ca48e0bb56e1e8acc121'/>
<id>urn:sha1:1bbd524e8411c669d874ca48e0bb56e1e8acc121</id>
<content type='text'>
Fixed some compilation warnings.

Signed-off-by: Davide Fioravanti &lt;pantanastyle@gmail.com&gt;
</content>
</entry>
<entry>
<title>tools/firmware-utils: mktplinkfw2: add Qualcomm layouts</title>
<updated>2019-05-18T15:59:49Z</updated>
<author>
<name>Davide Fioravanti</name>
</author>
<published>2019-05-05T20:21:44Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=c349cc5752165c65d4133374755f07fc30004e74'/>
<id>urn:sha1:c349cc5752165c65d4133374755f07fc30004e74</id>
<content type='text'>
This commit adds the partition layout used by the TP-Link Archer D50
and probably by the TP-Link Archer D7 to mktplinkfw2.

Signed-off-by: Davide Fioravanti &lt;pantanastyle@gmail.com&gt;
</content>
</entry>
<entry>
<title>ipq40xx: add factory image for EnGenius ENS620EXT</title>
<updated>2019-05-11T14:37:11Z</updated>
<author>
<name>Steve Glennon</name>
</author>
<published>2019-04-09T20:46:32Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=6411eac5da19359c45fdd9543725369ba9526384'/>
<id>urn:sha1:6411eac5da19359c45fdd9543725369ba9526384</id>
<content type='text'>
Extended  mksenaofw to support new "capwap" header structure.
This supports flashing from factory 3.0.0, 3.0.1, 3.1.0 and 3.5.5
firmware.

Note that the factory image format changes for 3.1 and later firmware,
and that the 3.1.0 and 3.5.5 Engenius firmware will refuse the
factory_30.bin file. Similarly, the 3.0.0 and 3.0.1 Engenius firmware
will refuse the factory_35.bin file.

Flashing from the Engenius 3.1.0 firmware with the factory_35.bin
firmware has not been tested, as 3.1.0 firmware (Engenius "middleFW")
is only intended as part of the upgrade path to 3.5.5 firmware.

Modified ipq40xx image Makefile to appropriately invoke mksenaofw
with new parameters to configure the capwap header.

Note that there is currently no method to return to factory firmware,
so this is a one-way street.

Path from factory 3.0.0 and 3.0.1 (EnGenius) software to OpenWrt is
to navigate to 192.168.1.1 on the stock firmware and navigate to the
firmware menu. Then copy the URL you have for that page, something like
http://192.168.1.1/cgi-bin/luci/;stok=12345abcdef/admin/system/flashops
and replace the trailing /admin/system/flashops with just /easyflashops

You should then be presented with a simple "Firmware Upgrade" page.
On that page, BE SURE TO CLEAR the "Keep Settings:" checkbox.

Choose the openwrt-ipq40xx-engenius_ens620ext-squashfs-factory_30.bin,
click "Upgrade" and on the following page select "Proceed".

Path from factory 3.5.5 (EnGenius) software to OpenWrt is simply to
use the stock firmware update menu. Choose the
openwrt-ipq40xx-engenius_ens620ext-squashfs-factory_35.bin and click
"Upload" and "Proceed".

The device should then flash the OpenWrt firmware and reboot. Note
that this resets the device to a default configuration with Wi-Fi
disabled, LAN1/PoE acting as a WAN port (running DHCP client) and LAN2
acting as a LAN port with a DHCP server on 192.168.1.x (AP is at
192.168.1.1)

Signed-off-by: Steve Glennon &lt;s.glennon@cablelabs.com&gt;
Signed-off-by: Christian Lamparter &lt;chunkeey@gmail.com&gt;
[sorry, for unfixing the 80-lines eyesores.]
</content>
</entry>
<entry>
<title>firmware-utils: fix nec-enc build on older architectures</title>
<updated>2019-04-06T18:29:35Z</updated>
<author>
<name>Christian Lamparter</name>
</author>
<published>2019-04-06T18:29:35Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=7f3facfce29639ec50677aa2b0eecebe259aa4d3'/>
<id>urn:sha1:7f3facfce29639ec50677aa2b0eecebe259aa4d3</id>
<content type='text'>
This patch enable gnu99 mode for the nec-enc utility which
fixes the following build-breaking errors on some older
architectures.

nec-enc.c: In function ‘xor_data’:
nec-enc.c:34:2: error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode
  for (int i = 0; i &lt; len; i++) {
  ^~~
nec-enc.c:34:2: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
nec-enc.c: In function ‘main’:
nec-enc.c:101:3: error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode
   for (int i = 0; i &lt; n; i++) {
   ^~~

Spotted-By: Buildbot
Fixes: fac27643f057 ("firmware-utils: add nec-enc")
Signed-off-by: Christian Lamparter &lt;chunkeey@gmail.com&gt;
</content>
</entry>
</feed>
