<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/chunkeey/tools/firmware-utils, branch state</title>
<subtitle>Staging tree of Christian Lamparter</subtitle>
<id>https://git.openwrt.org/openwrt/staging/chunkeey/atom?h=state</id>
<link rel='self' href='https://git.openwrt.org/openwrt/staging/chunkeey/atom?h=state'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/'/>
<updated>2019-01-15T18:11:54Z</updated>
<entry>
<title>firmware-utils: mksercommfw: overhaul image creation</title>
<updated>2019-01-15T18:11:54Z</updated>
<author>
<name>Mathias Kresin</name>
</author>
<published>2019-01-12T19:18:52Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=26a016731d1fc1e2bd6b5f8d3af0fdbd631363ff'/>
<id>urn:sha1:26a016731d1fc1e2bd6b5f8d3af0fdbd631363ff</id>
<content type='text'>
Move the zip compression into a build recipe. Pad the image using the
existing build recipes as well to remove duplicate functionality

Change the code to append header and footer in two steps. Allow to use a
fixed filename as the netgear update image does.

Use a fixed timestamp within the zip archive to make the images
reproducible.

Due to the changes we are now compatible to the gnu89 c standard used by
default on the buildbots and we don't need to force a more recent
standard anymore.

Beside all changes, the footer still looks wrong in compare to the
netgear update image.

Signed-off-by: Mathias Kresin &lt;dev@kresin.me&gt;
</content>
</entry>
<entry>
<title>firmware-utils: mkdlinkfw: fix build</title>
<updated>2019-01-13T18:28:54Z</updated>
<author>
<name>Mathias Kresin</name>
</author>
<published>2019-01-13T18:28:54Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=01e95dc0dc6620c0305cea16623c7b62ab3a7592'/>
<id>urn:sha1:01e95dc0dc6620c0305cea16623c7b62ab3a7592</id>
<content type='text'>
While we don't need the gnu99 option anymore, we still need to force the
c99 standard to fix the following build error on the build bots:

src/mkdlinkfw.c: In function 'find_auh_headers':
src/mkdlinkfw.c:267:3: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
   for (int i = 0; i &lt; header_counter; i++) {
   ^
src/mkdlinkfw.c:267:3: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code

Signed-off-by: Mathias Kresin &lt;dev@kresin.me&gt;
</content>
</entry>
<entry>
<title>firmware-utils: mkdlinkfw: fix error handling</title>
<updated>2019-01-13T17:31:10Z</updated>
<author>
<name>Mathias Kresin</name>
</author>
<published>2019-01-05T06:40:55Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=0e78af22d95d91f7c2fdfc66fac993c6c5d349d8'/>
<id>urn:sha1:0e78af22d95d91f7c2fdfc66fac993c6c5d349d8</id>
<content type='text'>
fread() doesn't set errno, ferror need to be used to check for errors.
While at it, check if we read the expect number of elements.

Signed-off-by: Mathias Kresin &lt;dev@kresin.me&gt;
</content>
</entry>
<entry>
<title>firmware-utils: mkdlinkfw: create reproducible header</title>
<updated>2019-01-13T17:31:10Z</updated>
<author>
<name>Mathias Kresin</name>
</author>
<published>2019-01-05T06:34:02Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=e428b127e7c9964a20cfd4cfb30b43262a10bfbe'/>
<id>urn:sha1:e428b127e7c9964a20cfd4cfb30b43262a10bfbe</id>
<content type='text'>
Use the SOURCE_DATE_EPOCH environment variable if set instead of the
current time. The used timestamp matches the timestamp of the latest
commit this way and make the images reproducible.

Signed-off-by: Mathias Kresin &lt;dev@kresin.me&gt;
</content>
</entry>
<entry>
<title>firmware-utils: mkdlinkfw: cleanup code</title>
<updated>2019-01-13T17:31:10Z</updated>
<author>
<name>Mathias Kresin</name>
</author>
<published>2019-01-05T11:08:09Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=f4aa9d8839958c39d24d7cca3d3215efad98a1e2'/>
<id>urn:sha1:f4aa9d8839958c39d24d7cca3d3215efad98a1e2</id>
<content type='text'>
Drop unused function and macros. With the cleanup the gnu extension
typeof isn't used any longer and the gnu99 compile flag can be dropped.

Signed-off-by: Mathias Kresin &lt;dev@kresin.me&gt;
</content>
</entry>
<entry>
<title>tools/firmware-utils: fix sysupgrade typo in mkdapimg2</title>
<updated>2019-01-12T18:47:25Z</updated>
<author>
<name>Hans Dedecker</name>
</author>
<published>2019-01-12T18:47:02Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=e42a227ee3119a8401b1dfe82e51216924b7573a'/>
<id>urn:sha1:e42a227ee3119a8401b1dfe82e51216924b7573a</id>
<content type='text'>
Signed-off-by: Hans Dedecker &lt;dedeckeh@gmail.com&gt;
</content>
</entry>
<entry>
<title>tools/firmware-utils: fix sysupgrade typo in mkdapimg</title>
<updated>2019-01-12T18:44:35Z</updated>
<author>
<name>Hans Dedecker</name>
</author>
<published>2019-01-12T18:42:56Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=7197115c2575e4ff5b0f5f87a0422cdb1a14d848'/>
<id>urn:sha1:7197115c2575e4ff5b0f5f87a0422cdb1a14d848</id>
<content type='text'>
Signed-off-by: Hans Dedecker &lt;dedeckeh@gmail.com&gt;
</content>
</entry>
<entry>
<title>ath79: add support for TP-Link Archer C6 v2</title>
<updated>2018-12-31T15:25:11Z</updated>
<author>
<name>Georgi Vlaev</name>
</author>
<published>2018-12-28T08:24:01Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=d03aae1a09fce5a5d5747855bc07ee1f54388e03'/>
<id>urn:sha1:d03aae1a09fce5a5d5747855bc07ee1f54388e03</id>
<content type='text'>
This patch adds support for TP-Link Archer C6 v2 (EU)

Hardware specification:
- SOC: Qualcomm QCA9563 @ 775MHz
- Flash: GigaDevice GD25Q64CSIG (8MiB)
- RAM: Zentel A3R1GE40JBF (128 MiB DDR2)
- Ethernet: Qualcomm QCA8337N: 4x 1Gbps LAN + 1x 1Gbps WAN
- Wireless:
  - 2.4GHz (bgn) QCA9563 integrated (3x3)
  - 5GHz (ac) Qualcomm QCA9886 (2x2)
- Button: 1x power, 1x reset, 1x wps
- LED: 6x LEDs: power, wlan2g, wlan5g, lan, wan, wps
- UART: There's no UART header on the board

Flash instructions:

Upload
openwrt-ath79-generic-tplink_archer-c6-v2-squashfs-factory.bin
via the router Web interface.

Flash instruction using tftp recovery:

1. Connect the computer to one of the LAN ports of the router
2. Set the computer IP to 192.168.0.66
3. Start a tftp server with the OpenWrt factory image in the
   tftp root directory renamed to ArcherC6v2_tp_recovery.bin.
4. Connect power cable to router, press and hold the reset
   button and turn the router on
5. Keep the reset button pressed until the WPS LED lights up
6. Wait ~150 seconds to complete flashing

According to the GPL source the non-EU variant has different
GPIOs assigned to some of the LEDs and buttons. The flash
layout might be different as well. The wikidevi entry for
Archer A6/C6 assumes they are identical.

Signed-off-by: Georgi Vlaev &lt;georgi.vlaev@gmail.com&gt;
</content>
</entry>
<entry>
<title>firmware-utils: add hex pattern mode for xorimage</title>
<updated>2018-12-24T18:18:07Z</updated>
<author>
<name>INAGAKI Hiroshi</name>
</author>
<published>2018-12-08T06:07:52Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=9145f5209fc33a019a652ce87832f48fa50aefc8'/>
<id>urn:sha1:9145f5209fc33a019a652ce87832f48fa50aefc8</id>
<content type='text'>
This commit adds "hex pattern mode" to xorimage. This mode allows xor
with a hexadecimal pattern that cannot be expressed with ASCII
charactors.

usage (example):
  xorimage -i firmware.bin -o firmware.bin.new -p 6A57190601121E4C -x

Signed-off-by: INAGAKI Hiroshi &lt;musashino.open@gmail.com&gt;
Signed-off-by: Christian Lamparter &lt;chunkeey@gmail.com&gt; (fix checkpatch)
</content>
</entry>
<entry>
<title>ath79: add support for TP-Link Archer A7</title>
<updated>2018-12-17T07:09:13Z</updated>
<author>
<name>Karl-Felix Glatzer</name>
</author>
<published>2018-12-12T16:56:15Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=1e4ee63cc8d1889a78b539a5ed7be8d56e9b976f'/>
<id>urn:sha1:1e4ee63cc8d1889a78b539a5ed7be8d56e9b976f</id>
<content type='text'>
This patch adds support for TP-Link Archer A7

Specification:
- SOC: QCA9563
- Flash: 16 MiB (SPI)
- RAM: 128 MiB (DDR2)
- Ethernet: 4x 1Gbps LAN + 1x 1Gbps WAN
- Wireless:
  - 2.4GHz (bgn) SoC internal
  - 5GHz (ac) QCA988x
- USB: 1x USB 2.0 port
- Button: 1x power, 1x reset, 1x wps
- LED: 10x LEDs
- UART: holes in PCB
  - Vcc, GND, RX, TX from ethernet port side
  - 115200n8

Flash instructions:

Upload openwrt-ath79-generic-tplink_archer-a7-v5-squashfs-factory.bin
via the Webinterface.

Flash instruction using tftp recovery:

1. Connect the computer to one of the LAN ports of the Archer A7
2. Set the computer IP to 192.168.0.66
3. Start a tftp server with the OpenWrt factory image in the tftp
   root directory renamed to ArcherC7v5_tp_recovery.bin
2. Connect power cable to Archer A7, press and hold the reset button
   and turn the router on
3. Keep the reset button pressed for ~5 seconds
4. Wait ~150 seconds to complete flashing

Changes since first revision:

  - Flash instructions using stock image webinterface
  - Changed "Version 5" in model string to "v5"
  - Split DTS file in qca9563_tplink_archer-x7-v5.dtsi
    and qca9563_tplink_archer-a7-v5.dts
  - Firmware image is now build with dynamic partitioning
  - Default to ath10k-ct

Changes since second revision:
  - Changed uboot@0 to uboot@20000 in DTS file
  - Fixed ordering issue in board led script
  - Specify firmware partition format in DTS file
  - Rebased Makefile device definition on common
    Device/tplink-safeloader-uimage definition
  - Merged switch section in network script
    (same configuration as tplink,tl-wdr3600
    and tplink,tl-wdr4300)

Signed-off-by: Karl-Felix Glatzer &lt;karl.glatzer@gmx.de&gt;
</content>
</entry>
</feed>
