<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/jogo/tools/firmware-utils, branch master</title>
<subtitle>Staging tree of Jonas Gorski</subtitle>
<id>https://git.openwrt.org/openwrt/staging/jogo/atom?h=master</id>
<link rel='self' href='https://git.openwrt.org/openwrt/staging/jogo/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/jogo/'/>
<updated>2020-03-01T20:36:00Z</updated>
<entry>
<title>mkrasimage: fix segmentation fault</title>
<updated>2020-03-01T20:36:00Z</updated>
<author>
<name>Michael T Farnworth</name>
</author>
<published>2020-02-22T14:20:49Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/jogo/commit/?id=b468353a373d181c4362ff690d7b22a08f5f6949'/>
<id>urn:sha1:b468353a373d181c4362ff690d7b22a08f5f6949</id>
<content type='text'>
Code was attempting to determine the size of the file
before it was actually known and allocating insufficient
memory space.  Images above a certain size caused a
segmentation fault.  Moving the calloc() ensured ensured
that large images didn't result in a buffer overflow on
memcpy().

Signed-off-by: Michael T Farnworth &lt;michael@turf.org&gt;
[fixed name in From to match one in SoB]
Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt;
</content>
</entry>
<entry>
<title>firmware-utils: add lxlfw tool for generating Luxul firmwares</title>
<updated>2020-02-07T08:31:22Z</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/jogo/commit/?id=9aa6569aa669767ec9febf1de01a3983a1cb9482'/>
<id>urn:sha1:9aa6569aa669767ec9febf1de01a3983a1cb9482</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;
</content>
</entry>
<entry>
<title>ramips: add support for TP-Link RE200 v2</title>
<updated>2020-02-01T18:41:51Z</updated>
<author>
<name>Andreas Böhler</name>
</author>
<published>2020-01-28T15:17:41Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/jogo/commit/?id=6d6f36ae787c3b339b16c1d345a90faa1d9f4011'/>
<id>urn:sha1:6d6f36ae787c3b339b16c1d345a90faa1d9f4011</id>
<content type='text'>
TP-Link RE200 v2 is a wireless range extender with Ethernet and 2.4G and 5G
WiFi with internal antennas. It's based on MediaTek MT7628AN+MT7610EN.

Specifications
--------------

- MediaTek MT7628AN (580 Mhz)
- 64 MB of RAM
- 8 MB of FLASH
- 2T2R 2.4 GHz and 1T1R 5 GHz
- 1x 10/100 Mbps Ethernet
- UART header on PCB (57600 8n1)
- 8x LED (GPIO-controlled), 2x button

There are 2.4G and 5G LEDs in red and green which are controlled
separately.

MAC addresses
-------------

The MAC address assignment matches stock firmware, i.e.:
LAN : *:0D
2.4G: *:0E
5G  : *:0F

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

Web Interface
-------------

It is possible to upgrade to OpenWrt via the web interface. Simply flash
the -factory.bin from OEM. In contrast to a stock firmware, this will not
overwrite U-Boot.

Serial console
--------------

Opening the case is quite hard, since it is welded together. Rename the
OpenWrt factory image to "test.bin", then plug in the device and quickly
press "2" to enter flash mode (no line feed). Follow the prompts until
OpenWrt is installed.

Unfortunately, this devices does not offer a recovery mode or a tftp
installation method. If the web interface upgrade fails, you have to open
your device and attach serial console.

Additonal notes
---------------

It is possible to flash back to stock by using tplink-safeloader to create
a sysupgrade image based on a stock update. After the first boot, it is
necessary upgrade to another stock image, otherwise subsequent boots
fail with LZMA ERROR 1 and you have to attach serial to recover the device.

Signed-off-by: Andreas Böhler &lt;dev@aboehler.at&gt;
[remove DEVICE_VARS change]
Signed-off-by: Adrian Schmutzler &lt;freifunk@adrianschmutzler.de&gt;
</content>
</entry>
<entry>
<title>ar71xx: use dynamic partitioning for TP-Link TL-WA850RE v2</title>
<updated>2020-01-22T22:52:51Z</updated>
<author>
<name>Adrian Schmutzler</name>
</author>
<published>2020-01-16T14:37:22Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/jogo/commit/?id=b2102be8a54ad14043035527d8ed33f4611f1553'/>
<id>urn:sha1:b2102be8a54ad14043035527d8ed33f4611f1553</id>
<content type='text'>
This moves the TP-Link TL-WA850RE v2 to dynamic partitioning and
will allow to use this for ath79 as well.

Signed-off-by: Adrian Schmutzler &lt;freifunk@adrianschmutzler.de&gt;
</content>
</entry>
<entry>
<title>tools: tplink-safeloader: update soft_ver for TP-Link Archer C6 v2 (EU)</title>
<updated>2020-01-18T23:19:39Z</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/jogo/commit/?id=7a8bfbf0ffaea14e15ae2016a54adf48337c6251'/>
<id>urn:sha1:7a8bfbf0ffaea14e15ae2016a54adf48337c6251</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;
</content>
</entry>
<entry>
<title>ramips: add support for TP-Link RE305 v1</title>
<updated>2020-01-18T18:39:05Z</updated>
<author>
<name>Steffen Förster</name>
</author>
<published>2019-12-23T21:48:06Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/jogo/commit/?id=93a4c8afbff550886c0d8413d219d64dc63d72bf'/>
<id>urn:sha1:93a4c8afbff550886c0d8413d219d64dc63d72bf</id>
<content type='text'>
Specification:

SoC: MediaTek MT7628AN
RAM: 64MiB
Flash: 8MiB
Wifi:
  - 2.4GHz: MT7628AN
  - 5GHz: MT7612EN
LAN: 1x 10/100 Mbps

Flash instructions:
Flash factory image through stock firmware WEB UI.
Back to stock is possible by using TFTP and stripping down the Firmware
provided by TP-Link to a initramfs.

The flash space between 0x650000 and 0x7f0000
is blank in the stock firmware so I left it out as well.

Signed-off-by: Steffen Förster &lt;nemesis@chemnitz.freifunk.net&gt;
</content>
</entry>
<entry>
<title>firmware-utils/mktitanimg: fix possible resource leak</title>
<updated>2020-01-14T16:48:50Z</updated>
<author>
<name>Andrea Dalla Costa</name>
</author>
<published>2020-01-11T23:05:55Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/jogo/commit/?id=8057970d2a32b8f5c9804855b138eceeb757b98e'/>
<id>urn:sha1:8057970d2a32b8f5c9804855b138eceeb757b98e</id>
<content type='text'>
Add missing call to `fclose` for file pointer `nsp_image`.

Signed-off-by: Andrea Dalla Costa &lt;andrea@dallacosta.me&gt;
</content>
</entry>
<entry>
<title>firmware-utils/mksenaofw: fix possible memory leak</title>
<updated>2020-01-14T16:48:50Z</updated>
<author>
<name>Andrea Dalla Costa</name>
</author>
<published>2020-01-11T22:55:25Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/jogo/commit/?id=1775f690d5e3dfc2f70c0e416c91371c848b9f25'/>
<id>urn:sha1:1775f690d5e3dfc2f70c0e416c91371c848b9f25</id>
<content type='text'>
Add missing calls to `free` for variable `pmodel`.

Signed-off-by: Andrea Dalla Costa &lt;andrea@dallacosta.me&gt;
</content>
</entry>
<entry>
<title>firmware-utils/mkfwimage: fix possible memory and resource leak</title>
<updated>2020-01-14T16:48:50Z</updated>
<author>
<name>Andrea Dalla Costa</name>
</author>
<published>2020-01-11T22:27:17Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/jogo/commit/?id=b886d3c8f3d852a5d5bfcb41f439a808d9aa2d58'/>
<id>urn:sha1:b886d3c8f3d852a5d5bfcb41f439a808d9aa2d58</id>
<content type='text'>
Add missing calls to `free` for variable `mem`.
Add missing call to `fclose` for variable `f`.

The same changes were made in both `mkfwimage.c` and `mkfwimage2.c`.

Signed-off-by: Andrea Dalla Costa &lt;andrea@dallacosta.me&gt;
</content>
</entry>
<entry>
<title>firmware-utils/mkchkimg: fix possible resource leaks</title>
<updated>2020-01-14T16:48:50Z</updated>
<author>
<name>Andrea Dalla Costa</name>
</author>
<published>2020-01-11T22:10:51Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/jogo/commit/?id=8e3b3152e5402b574ff66b149cfdc6e42d61db54'/>
<id>urn:sha1:8e3b3152e5402b574ff66b149cfdc6e42d61db54</id>
<content type='text'>
Add missing `fclose` calls for file pointers `kern_fp`, `fs_fp`
and `out_fp`.
Not closing files could lead to resource leaks.

Signed-off-by: Andrea Dalla Costa &lt;andrea@dallacosta.me&gt;
</content>
</entry>
</feed>
