<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/pepe2k/target/linux, branch v19.07.3</title>
<subtitle>Staging tree of Piotr Dymacz</subtitle>
<id>https://git.openwrt.org/openwrt/staging/pepe2k/atom?h=v19.07.3</id>
<link rel='self' href='https://git.openwrt.org/openwrt/staging/pepe2k/atom?h=v19.07.3'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/'/>
<updated>2020-05-16T18:32:20Z</updated>
<entry>
<title>generic: platform/mikrotik: fix LZOR support</title>
<updated>2020-05-16T18:32:20Z</updated>
<author>
<name>Thibaut VARÈNE</name>
</author>
<published>2020-05-16T15:12:06Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=85e04e9f46bf68a8a35e2578ea4083cbf44f12f6'/>
<id>urn:sha1:85e04e9f46bf68a8a35e2578ea4083cbf44f12f6</id>
<content type='text'>
31e99fe3da which introduced this code was unfortunately untested.
This commit fixes a number of issues and works around the fact that in
this particular scheme, the LZO payload may be padded at the end which
will trigger a harmless lzo decompression error.
This commit also disambiguates the debug printks.

Tested-by: Robert Marko &lt;robimarko@gmail.com&gt;
Signed-off-by: Thibaut VARÈNE &lt;hacks@slashdirt.org&gt;
Fixes: 31e99fe3da ("generic: platform/mikrotik: support LZOR encoding")
(cherry picked from commit 2ea481193c1654c9cb42aa0331cdbc4570783e26)
</content>
</entry>
<entry>
<title>ar71xx: remove hard-coded folder name from Mikrotik RB upgrade</title>
<updated>2020-05-12T15:48:02Z</updated>
<author>
<name>Adrian Schmutzler</name>
</author>
<published>2020-02-26T17:24:55Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=6ffd4d8a4de2a7c35a841a21c4b4116dfe54b754'/>
<id>urn:sha1:6ffd4d8a4de2a7c35a841a21c4b4116dfe54b754</id>
<content type='text'>
So far, specifying "BOARD_NAME := routerboard" is required by the
upgrade code of Mikrotik NAND devices, as "sysupgrade-routerboard"
is hardcoded in platform_do_upgrade_mikrotik_rb().

This patch replaces the latter with a grep for the name like it
is already done in nand_upgrade_tar() in /lib/upgrade/nand.sh.

This should enable upgrades from ar71xx to ath79 without setting
BOARD_NAME for the latter.

Signed-off-by: Adrian Schmutzler &lt;freifunk@adrianschmutzler.de&gt;
(backported from commit 281785d74fcc70153c0741be36ee1f9d05e74f6f)
</content>
</entry>
<entry>
<title>ar71xx: mikrotik: mach-rbspi.c remove wlan id</title>
<updated>2020-05-12T10:43:38Z</updated>
<author>
<name>Thibaut VARÈNE</name>
</author>
<published>2020-05-08T11:46:42Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=4cd44e5dc73ff9554cf31773b008f7ee94d979ed'/>
<id>urn:sha1:4cd44e5dc73ff9554cf31773b008f7ee94d979ed</id>
<content type='text'>
Following on the previous commit, this patch removes useless id argument
from rbspi_wlan_init().

Signed-off-by: Thibaut VARÈNE &lt;hacks@slashdirt.org&gt;
</content>
</entry>
<entry>
<title>ar71xx: mikrotik: bypass id check in __rb_get_wlan_data()</title>
<updated>2020-05-12T10:43:38Z</updated>
<author>
<name>Thibaut VARÈNE</name>
</author>
<published>2020-05-08T11:39:10Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=3fecb06fb1b0005a52dc10dba7f5ff8b8abc578b'/>
<id>urn:sha1:3fecb06fb1b0005a52dc10dba7f5ff8b8abc578b</id>
<content type='text'>
The id parameter in __rb_get_wlan_data() was incorrectly used on the
assumption that id "0" would always be tied to ath9k with RLE encoding
and positive id (in fact, only id "1" was valid) would always be tied to
("external") ath10k with LZO encoding.

Newer hardware revisions of supported devices prove this assumption to
be invalid, with ath9k caldata being now wrapped in MAGIC_ERD and LZO
compressed, so disable this check to allow newer hardware to correctly
decode caldata for ath9k. Since ath10k caldata is no longer pulled from
this implementation, this commit also disables the publication in sysfs
to avoid wasting memory.

Note: this patch assumes that ath9k caldata is never stored with the new
"LZOR" encoding scheme found on some ath10k devices.

Signed-off-by: Thibaut VARÈNE &lt;hacks@slashdirt.org&gt;
</content>
</entry>
<entry>
<title>ar71xx: mikrotik: ath10k: use new sysfs driver</title>
<updated>2020-05-12T10:43:38Z</updated>
<author>
<name>Thibaut VARÈNE</name>
</author>
<published>2020-05-08T11:31:06Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=b36aa168d8906e24cfde18b5cc05de06f43df56f'/>
<id>urn:sha1:b36aa168d8906e24cfde18b5cc05de06f43df56f</id>
<content type='text'>
Fetch ath10k calibration data from backported mikrotik sysfs driver
which supports the newer "LZOR" encoding.

Signed-off-by: Thibaut VARÈNE &lt;hacks@slashdirt.org&gt;
</content>
</entry>
<entry>
<title>generic: platform/mikrotik: support LZOR encoding</title>
<updated>2020-05-12T10:43:38Z</updated>
<author>
<name>Thibaut VARÈNE</name>
</author>
<published>2020-03-27T13:33:48Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=fa2369e59bb243136f8e069e3c92d3b14f06b66a'/>
<id>urn:sha1:fa2369e59bb243136f8e069e3c92d3b14f06b66a</id>
<content type='text'>
Some newer MikroTik RouterBOARD devices use a new encoding scheme
for their WLAN calibration data. This patch provides support for
decoding this new scheme.

Signed-off-by: Thibaut VARÈNE &lt;hacks@slashdirt.org&gt;
</content>
</entry>
<entry>
<title>ar71xx: enable mikrotik platform driver</title>
<updated>2020-05-12T10:43:38Z</updated>
<author>
<name>Thibaut VARÈNE</name>
</author>
<published>2020-03-25T10:45:51Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=612b64e6c4ed67e113510cdcb32046f22c2681c7'/>
<id>urn:sha1:612b64e6c4ed67e113510cdcb32046f22c2681c7</id>
<content type='text'>
Signed-off-by: Thibaut VARÈNE &lt;hacks@slashdirt.org&gt;
</content>
</entry>
<entry>
<title>generic: mikrotik platform build bits</title>
<updated>2020-05-12T10:43:38Z</updated>
<author>
<name>Thibaut VARÈNE</name>
</author>
<published>2020-05-08T11:27:48Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=511859de9b4df0e5472c8daa48b5d2cc6ea9ab11'/>
<id>urn:sha1:511859de9b4df0e5472c8daa48b5d2cc6ea9ab11</id>
<content type='text'>
Signed-off-by: Thibaut VARÈNE &lt;hacks@slashdirt.org&gt;
</content>
</entry>
<entry>
<title>generic: routerboot sysfs platform driver</title>
<updated>2020-05-12T10:43:38Z</updated>
<author>
<name>Thibaut VARÈNE</name>
</author>
<published>2020-03-22T20:46:42Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=ddae86cc699703dfcdfa59c4e01736223357d786'/>
<id>urn:sha1:ddae86cc699703dfcdfa59c4e01736223357d786</id>
<content type='text'>
This driver exposes the data encoded in the "hard_config" flash segment
of MikroTik RouterBOARDs devices. It presents the data in a sysfs folder
named "hard_config". The WLAN calibration data is available on demand via
the 'wlan_data' sysfs file in that folder.

This driver permanently allocates a chunk of RAM as large as the
"hard_config" MTD partition (typically 4KB), although it is technically
possible to operate entirely from the MTD device without using a local
buffer (except when requesting WLAN calibration data), at the cost of a
performance penalty.

This driver does not reuse any of the existing code previously found in
routerboot.c.

This driver has been successfully tested on BE (ath79) and LE (ipq40xx
and ramips) hardware.

Tested-by: Roger Pueyo Centelles &lt;roger.pueyo@guifi.net&gt;
Tested-by: Baptiste Jonglez &lt;git@bitsofnetworks.org&gt;
Tested-by: Tobias Schramm &lt;t.schramm@manjaro.org&gt;
Tested-by: Christopher Hill &lt;ch6574@gmail.com&gt;
Signed-off-by: Thibaut VARÈNE &lt;hacks@slashdirt.org&gt;
</content>
</entry>
<entry>
<title>ath79: dts: add missing 'serial0' alias for TP-Link TL-MR3040v2</title>
<updated>2020-05-11T09:17:59Z</updated>
<author>
<name>Lech Perczak</name>
</author>
<published>2020-05-07T22:41:36Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=ecea10f2b9955d04b6806842976bb9e2b4afca3f'/>
<id>urn:sha1:ecea10f2b9955d04b6806842976bb9e2b4afca3f</id>
<content type='text'>
Out of all devices currently supported based on AR9331 chipset,
this one had the 'serial0' alias missing. Add it to fix setting of
/dev/console and login shell on the onboard UART.

Signed-off-by: Lech Perczak &lt;lech.perczak@gmail.com&gt;
(cherry picked from commit 94f344997769a9a18e2d73574d9d17785828955d)
</content>
</entry>
</feed>
