<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/lynxis/tools, branch master</title>
<subtitle>lynxis staging tree</subtitle>
<id>https://git.openwrt.org/openwrt/staging/lynxis/atom?h=master</id>
<link rel='self' href='https://git.openwrt.org/openwrt/staging/lynxis/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/lynxis/'/>
<updated>2019-08-05T12:01:59Z</updated>
<entry>
<title>tools/mktplinkfw2: show exact exceed bytes when the image is to big</title>
<updated>2019-08-05T12:01:59Z</updated>
<author>
<name>Alexander Couzens</name>
</author>
<published>2019-04-09T17:03:34Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/lynxis/commit/?id=3a1a6dca9090f1840bff3034eee3a9cbfd6cf600'/>
<id>urn:sha1:3a1a6dca9090f1840bff3034eee3a9cbfd6cf600</id>
<content type='text'>
When an image is too big it's useful to show how many bytes the image
is to big.

Signed-off-by: Alexander Couzens &lt;lynxis@fe80.eu&gt;
</content>
</entry>
<entry>
<title>tools/mktplinkfw2: add support to pack bootloader</title>
<updated>2019-08-05T12:01:59Z</updated>
<author>
<name>Alexander Couzens</name>
</author>
<published>2018-04-25T09:42:43Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/lynxis/commit/?id=0bd4a1251caa048a95ea55254fc7c4e6294cc3da'/>
<id>urn:sha1:0bd4a1251caa048a95ea55254fc7c4e6294cc3da</id>
<content type='text'>
The 841v13 and 841v14 can not flash any image without bootloader over
the WebUI due a bug in the oem firmware upgrade software.

Allow mktplinkfw2 to integrate bootloaders.
An image with the bootloader looks:

|------------|
|image header|
|------------|
|bootloader  |
|------------|
|optional pad|
|------------|
|image header|
|------------|
|kernel image|
|------------|
|rootfs image|
|------------|

The padding depends on the bootloader size. The 2nd image header must
start on a 64k boundary.

Signed-off-by: Alexander Couzens &lt;lynxis@fe80.eu&gt;
</content>
</entry>
<entry>
<title>tools/mktplinkfw2: add support to extract bootloader images</title>
<updated>2019-08-05T12:01:59Z</updated>
<author>
<name>Alexander Couzens</name>
</author>
<published>2019-05-07T14:33:58Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/lynxis/commit/?id=91d583503ca20def61020f56d22c1992609ca98c'/>
<id>urn:sha1:91d583503ca20def61020f56d22c1992609ca98c</id>
<content type='text'>
tplinkfw2 images from TP-Link contains a bootloader image in most cases.
-x will create a -bootloader.bin file.

Signed-off-by: Alexander Couzens &lt;lynxis@fe80.eu&gt;
</content>
</entry>
<entry>
<title>firmware-utils: uimage_padhdr: fix Coverity issue</title>
<updated>2019-08-04T20:09:20Z</updated>
<author>
<name>Petr Štetiar</name>
</author>
<published>2019-07-31T12:07:11Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/lynxis/commit/?id=ea1acaf5a697a3b3e0cd5c778d2c3930d7d6812b'/>
<id>urn:sha1:ea1acaf5a697a3b3e0cd5c778d2c3930d7d6812b</id>
<content type='text'>
Fixes following issue reported by Coverity scan:

 *** CID 1452085:  Security best practices violations  (TOCTOU)
 /tools/firmware-utils/src/uimage_padhdr.c: 100 in main()
 94
 95     	if (!infname || !outfname) {
 96     		usage(argv[0]);
 97     		exit(1);
 98     	}
 99
 &gt;&gt;&gt;     CID 1452085:  Security best practices violations  (TOCTOU)
 &gt;&gt;&gt;     Calling function "stat" to perform check on "infname".
 100     	if (stat(infname, &amp;statbuf) &lt; 0) {

Fixes: a1c6a316d299 ("ramips: add support for Fon FON2601")
Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt;
</content>
</entry>
<entry>
<title>ccache: update to 3.7.2</title>
<updated>2019-08-04T11:53:05Z</updated>
<author>
<name>DENG Qingfang</name>
</author>
<published>2019-07-31T00:23:12Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/lynxis/commit/?id=2caf747116337645420653ec003799a8eef69229'/>
<id>urn:sha1:2caf747116337645420653ec003799a8eef69229</id>
<content type='text'>
Update ccache to 3.7.2

Release notes:
https://ccache.dev/releasenotes.html#_ccache_3_7_2

Signed-off-by: DENG Qingfang &lt;dengqf6@mail2.sysu.edu.cn&gt;
</content>
</entry>
<entry>
<title>tools/patch: apply upstream patch for CVE-2019-13636</title>
<updated>2019-07-30T08:16:16Z</updated>
<author>
<name>Russell Senior</name>
</author>
<published>2019-07-29T19:09:09Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/lynxis/commit/?id=995bcc532943639f3df36dbcaa361f9167f9f4d5'/>
<id>urn:sha1:995bcc532943639f3df36dbcaa361f9167f9f4d5</id>
<content type='text'>
In GNU patch through 2.7.6, the following of symlinks is mishandled in
certain cases other than input files. This affects inp.c and util.c.

https://nvd.nist.gov/vuln/detail/CVE-2019-13636

Signed-off-by: Russell Senior &lt;russell@personaltelco.net&gt;
</content>
</entry>
<entry>
<title>tools/mklibs: update to 0.1.44 and convert to Python 3</title>
<updated>2019-07-26T21:50:21Z</updated>
<author>
<name>Daniel Golle</name>
</author>
<published>2019-07-26T21:45:47Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/lynxis/commit/?id=9437012b9ee4dc550e42665b71902cf885169100'/>
<id>urn:sha1:9437012b9ee4dc550e42665b71902cf885169100</id>
<content type='text'>
Since the switch to Python 3 build fails if CONFIG_USE_MKLIBS is set
("Strip unnecessary functions from libraries" in menuconfig) as
mklibs hasn't been converted to run on Python 3.

 * update to most recent upstream version which brings some
   reproducibility fixes
 * converted to Python 3 using 2to3
 * fixed mixed tab/spaces indentation
 * fixed use of string.* functions
 * some more minor fixes to make Python 3 happy

Fixes commit 19938c8de7 ("build: switch to Python 3")
Signed-off-by: Daniel Golle &lt;daniel@makrotopia.org&gt;
</content>
</entry>
<entry>
<title>ramips: add support for Fon FON2601</title>
<updated>2019-07-26T06:09:16Z</updated>
<author>
<name>NOGUCHI Hiroshi</name>
</author>
<published>2019-07-25T23:11:48Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/lynxis/commit/?id=a1c6a316d2997b6bbee520fb1bf21f3b994f9e52'/>
<id>urn:sha1:a1c6a316d2997b6bbee520fb1bf21f3b994f9e52</id>
<content type='text'>
FON2601 is a wireless router.

Specification:
- SoC: Mediatek MT7620A (580MHz)
- RAM: 128 MiB
- ROM: 16 MiB SPI Flash
- Wireless:
   for 11b/g/n (upto 300 Mbps):  MT7620A built-in WMAC
   for 11a/n/ac (upto 867 Mbps): MT7662E
- Ethernet LAN: 1 port, upto 100 Mbps
- Ethernet WAN: 1 port, upto 1000 Mbps
- USB: 1 port (USB 2.0 host)
- LEDs: 4 (all can be controlled by SoC's GPIO)
- buttons: 1 (Displayed as "WPS" on enclosure)
- serial port: 57600n8
 pins: Vcc(3.3V), Rx, Tx, GND
(left to right, viewed from outside of board)

Installation (only available via UART):
  1. download sysupgrade binary image by wget command
  2. write sysupgrade binary image to Flash
     command is:
       mtd write sysupgrade.bin firmware
  3. reboot

Important Notice:
  Only one button is displayed as "WPS" on enclosure.
  However, it is configured as "reset" (factory resetting feature).

Signed-off-by: NOGUCHI Hiroshi &lt;drvlabo@gmail.com&gt;
[removed unrelated openwrt-keyring revert, missing -Wall for uimage_padhdr]
Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt;
</content>
</entry>
<entry>
<title>tools/scons: switch to Python 3</title>
<updated>2019-07-26T06:09:16Z</updated>
<author>
<name>Petr Štetiar</name>
</author>
<published>2019-03-19T12:34:26Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/lynxis/commit/?id=316c8b5503e54cdb3ee5bd3b5d81a3b7dd139294'/>
<id>urn:sha1:316c8b5503e54cdb3ee5bd3b5d81a3b7dd139294</id>
<content type='text'>
Build tested on ath79 with following packages from packages feed which
build depends on scons. None of them build anymore as it seems, that the
SConscripts are written for Python2.

 * packages/net/iotivity (KO, doesn't build even with latest 1.3.1 release)

   SyntaxError: invalid syntax
    File "/openwrt/build_dir/target-mips_24kc_musl/iotivity-1.2.1/build_common/SConscript", line 40
      print "\nError: Current system (%s) isn't supported\n" % host

   LookupError: unknown encoding: string_escape:
    File "/home/petr/testing/openwrt/build_dir/target-mips_24kc_musl/iotivity-1.3.1/SConstruct", line 28:
      SConscript('build_common/SConscript')

 * packages/net/smartsnmpd (KO, seems dead, no commit since 2015):

   SyntaxError: Missing parentheses in call to 'print'
    File "/openwrt/build_dir/target-mips_24kc_musl/smartsnmpd-2014-08-13/SConstruct", line 156
      print "Can't find liblua or liblua5.1!"

 * packages/utils/gpsd (KO, doesn't build even with latest 3.18.1 release):

   AttributeError: 'list' object has no attribute 'keys':
     File "/openwrt/build_dir/target-mips_24kc_musl/gpsd-3.18.1/SConstruct", line 1758:
       all_manpages = list(base_manpages.keys()) + list(python_manpages.keys())

Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt;
</content>
</entry>
<entry>
<title>tools/b43-tools/b43-fwsquash: convert to Python 3 with 2-to-3</title>
<updated>2019-07-26T06:09:16Z</updated>
<author>
<name>Petr Štetiar</name>
</author>
<published>2019-03-19T10:31:22Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/lynxis/commit/?id=5989a75cc455e09b79fe6880ba6bae6f6332cd24'/>
<id>urn:sha1:5989a75cc455e09b79fe6880ba6bae6f6332cd24</id>
<content type='text'>
Let's convert the script to Python 3.

Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt;
</content>
</entry>
</feed>
