<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mtk-20170518/target/linux/mvebu, branch v18.06.0</title>
<subtitle>MTK 20170518 : Mediatek SDK based on OpenWRT Barrier Breaker</subtitle>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/'/>
<entry>
<title>kernel: bump 4.14 to 4.14.52 for 18.06</title>
<updated>2018-07-02T05:06:23+00:00</updated>
<author>
<name>Stijn Segers</name>
<email>foss@volatilesystems.org</email>
</author>
<published>2018-06-29T20:29:06+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=ab7cabd09df542cf3558725573c2ef2cf1c7cdff'/>
<id>ab7cabd09df542cf3558725573c2ef2cf1c7cdff</id>
<content type='text'>
Compile-tested on: ramips/mt7621, x86/64.
Run-tested on: ramips/mt7621.

Signed-off-by: Stijn Segers &lt;foss@volatilesystems.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Compile-tested on: ramips/mt7621, x86/64.
Run-tested on: ramips/mt7621.

Signed-off-by: Stijn Segers &lt;foss@volatilesystems.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mvebu: reduce speed to gen1 for espressobin pcie</title>
<updated>2018-06-19T10:54:24+00:00</updated>
<author>
<name>Tomasz Maciej Nowak</name>
<email>tomek_n@o2.pl</email>
</author>
<published>2018-06-14T19:15:59+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=a21210fbb7adf1f7bf1c915177fa7f7fd4a29807'/>
<id>a21210fbb7adf1f7bf1c915177fa7f7fd4a29807</id>
<content type='text'>
Since the beginning there's been an issue with initializing the Atheros
based MiniPCIe wireless cards. Here's an example of kerenel log:

 OF: PCI: host bridge /soc/pcie@d0070000 ranges:
 OF: PCI:   MEM 0xe8000000..0xe8ffffff -&gt; 0xe8000000
 OF: PCI:    IO 0xe9000000..0xe900ffff -&gt; 0xe9000000
 advk-pcie d0070000.pcie: link up
 advk-pcie d0070000.pcie: PCI host bridge to bus 0000:00
 pci_bus 0000:00: root bus resource [bus 00-ff]
 pci_bus 0000:00: root bus resource [mem0xe8000000-0xe8ffffff]
 pci_bus 0000:00: root bus resource [io  0x0000-0xffff](bus address[0xe9000000-0xe900ffff])
 pci 0000:00:00.0: BAR 0: assigned [mem0xe8000000-0xe801ffff 64bit]
 pci 0000:00:00.0: BAR 6: assigned [mem0xe8020000-0xe802ffff pref]
 [...]
 advk-pcie d0070000.pcie: Posted PIO Response Status: CA,0xe00 @ 0x3c
 advk-pcie d0070000.pcie: Posted PIO Response Status: CA,0xe00 @ 0x44
 advk-pcie d0070000.pcie: Posted PIO Response Status: CA,0xe00 @ 0x4
 ath9k 0000:00:00.0: enabling device (0000 -&gt; 0002)
 advk-pcie d0070000.pcie: Posted PIO Response Status: CA,0xe00 @ 0x3c
 advk-pcie d0070000.pcie: Posted PIO Response Status: CA,0xe00 @ 0xc
 advk-pcie d0070000.pcie: Posted PIO Response Status: CA,0xe00 @ 0x4
 advk-pcie d0070000.pcie: Posted PIO Response Status: CA,0xe00 @ 0x40
 ath9k 0000:00:00.0: request_irq failed
 advk-pcie d0070000.pcie: Posted PIO Response Status: CA,0xe00 @ 0x4
 ath9k: probe of 0000:00:00.0 failed with error -22

The same happens for ath5k cards, while ath10k card didn't appear at
all (not detected):

 OF: PCI: host bridge /soc/pcie@d0070000 ranges:
 OF: PCI:   MEM 0xe8000000..0xe8ffffff -&gt; 0xe8000000
 OF: PCI:    IO 0xe9000000..0xe900ffff -&gt; 0xe9000000
 advk-pcie d0070000.pcie: link never came up
 advk-pcie d0070000.pcie: PCI host bridge to bus 0000:00
 pci_bus 0000:00: root bus resource [bus 00-ff]
 pci_bus 0000:00: root bus resource [mem0xe8000000-0xe8ffffff]
 pci_bus 0000:00: root bus resource [io  0x0000-0xffff](bus address[0xe9000000-0xe900ffff])
 advk-pcie d0070000.pcie: config read/write timed out

Following the issue on esppressobin.net forum [1] the workaround seems
to be limiting the speed of PCIe bridge to 1st generation. This fixed
the initialisation of all tested Atheros wireless cards.

The change shouldn't affect the performance for wireless cards,
it could reduce the performance of storage controller cards but since
OpenWrt focuses on wireless connectivity, fixing compatibility with
wireless cards should be a priority.

For the record, the iwlwifi and mt76 cards were not affected by this
issue.

1. http://espressobin.net/forums/topic/which-pcie-wlan-cards-are-supported

Signed-off-by: Tomasz Maciej Nowak &lt;tomek_n@o2.pl&gt;
(cherry picked from commit 772258044b48036699302840abf96cd34c4e5078)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since the beginning there's been an issue with initializing the Atheros
based MiniPCIe wireless cards. Here's an example of kerenel log:

 OF: PCI: host bridge /soc/pcie@d0070000 ranges:
 OF: PCI:   MEM 0xe8000000..0xe8ffffff -&gt; 0xe8000000
 OF: PCI:    IO 0xe9000000..0xe900ffff -&gt; 0xe9000000
 advk-pcie d0070000.pcie: link up
 advk-pcie d0070000.pcie: PCI host bridge to bus 0000:00
 pci_bus 0000:00: root bus resource [bus 00-ff]
 pci_bus 0000:00: root bus resource [mem0xe8000000-0xe8ffffff]
 pci_bus 0000:00: root bus resource [io  0x0000-0xffff](bus address[0xe9000000-0xe900ffff])
 pci 0000:00:00.0: BAR 0: assigned [mem0xe8000000-0xe801ffff 64bit]
 pci 0000:00:00.0: BAR 6: assigned [mem0xe8020000-0xe802ffff pref]
 [...]
 advk-pcie d0070000.pcie: Posted PIO Response Status: CA,0xe00 @ 0x3c
 advk-pcie d0070000.pcie: Posted PIO Response Status: CA,0xe00 @ 0x44
 advk-pcie d0070000.pcie: Posted PIO Response Status: CA,0xe00 @ 0x4
 ath9k 0000:00:00.0: enabling device (0000 -&gt; 0002)
 advk-pcie d0070000.pcie: Posted PIO Response Status: CA,0xe00 @ 0x3c
 advk-pcie d0070000.pcie: Posted PIO Response Status: CA,0xe00 @ 0xc
 advk-pcie d0070000.pcie: Posted PIO Response Status: CA,0xe00 @ 0x4
 advk-pcie d0070000.pcie: Posted PIO Response Status: CA,0xe00 @ 0x40
 ath9k 0000:00:00.0: request_irq failed
 advk-pcie d0070000.pcie: Posted PIO Response Status: CA,0xe00 @ 0x4
 ath9k: probe of 0000:00:00.0 failed with error -22

The same happens for ath5k cards, while ath10k card didn't appear at
all (not detected):

 OF: PCI: host bridge /soc/pcie@d0070000 ranges:
 OF: PCI:   MEM 0xe8000000..0xe8ffffff -&gt; 0xe8000000
 OF: PCI:    IO 0xe9000000..0xe900ffff -&gt; 0xe9000000
 advk-pcie d0070000.pcie: link never came up
 advk-pcie d0070000.pcie: PCI host bridge to bus 0000:00
 pci_bus 0000:00: root bus resource [bus 00-ff]
 pci_bus 0000:00: root bus resource [mem0xe8000000-0xe8ffffff]
 pci_bus 0000:00: root bus resource [io  0x0000-0xffff](bus address[0xe9000000-0xe900ffff])
 advk-pcie d0070000.pcie: config read/write timed out

Following the issue on esppressobin.net forum [1] the workaround seems
to be limiting the speed of PCIe bridge to 1st generation. This fixed
the initialisation of all tested Atheros wireless cards.

The change shouldn't affect the performance for wireless cards,
it could reduce the performance of storage controller cards but since
OpenWrt focuses on wireless connectivity, fixing compatibility with
wireless cards should be a priority.

For the record, the iwlwifi and mt76 cards were not affected by this
issue.

1. http://espressobin.net/forums/topic/which-pcie-wlan-cards-are-supported

Signed-off-by: Tomasz Maciej Nowak &lt;tomek_n@o2.pl&gt;
(cherry picked from commit 772258044b48036699302840abf96cd34c4e5078)
</pre>
</div>
</content>
</entry>
<entry>
<title>mvebu: add fix for armada 37xx cpufreq driver</title>
<updated>2018-06-19T10:54:24+00:00</updated>
<author>
<name>Tomasz Maciej Nowak</name>
<email>tomek_n@o2.pl</email>
</author>
<published>2018-06-09T14:13:40+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=637d10d91e3677c84b678485c2a19a2a9aacf0f0'/>
<id>637d10d91e3677c84b678485c2a19a2a9aacf0f0</id>
<content type='text'>
Backport from stable kernel tree fixing clock leak.

Signed-off-by: Tomasz Maciej Nowak &lt;tomek_n@o2.pl&gt;
(cherry picked from commit 4ec8c8c23ed50dbe9cabbfc544ae2780f0287fd0)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Backport from stable kernel tree fixing clock leak.

Signed-off-by: Tomasz Maciej Nowak &lt;tomek_n@o2.pl&gt;
(cherry picked from commit 4ec8c8c23ed50dbe9cabbfc544ae2780f0287fd0)
</pre>
</div>
</content>
</entry>
<entry>
<title>mvebu: backport ahci_mvebu errata patchset</title>
<updated>2018-06-18T19:21:55+00:00</updated>
<author>
<name>Jeremiah McConnell</name>
<email>miah@miah.com</email>
</author>
<published>2018-06-16T04:26:44+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=ae0712ae8fb471a4ce0635abb40851d14b315587'/>
<id>ae0712ae8fb471a4ce0635abb40851d14b315587</id>
<content type='text'>
Marvell ahci hardware requires a workaround to prevent eSATA failures
on hotplug/reset when used with multi-bay external enclosures.

Errata Ref#226 - SATA Disk HOT swap issue when connected through Port
Multiplier in FIS-based Switching mode.

These patches backport the workaround from 4.17.

Signed-off-by: Jeremiah McConnell &lt;miah@miah.com&gt;
(cherry picked from commit e820455198aa50cc32f9a108a4696f0cc23023c3)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Marvell ahci hardware requires a workaround to prevent eSATA failures
on hotplug/reset when used with multi-bay external enclosures.

Errata Ref#226 - SATA Disk HOT swap issue when connected through Port
Multiplier in FIS-based Switching mode.

These patches backport the workaround from 4.17.

Signed-off-by: Jeremiah McConnell &lt;miah@miah.com&gt;
(cherry picked from commit e820455198aa50cc32f9a108a4696f0cc23023c3)
</pre>
</div>
</content>
</entry>
<entry>
<title>mvebu: enable SATA port multiplier support</title>
<updated>2018-06-18T19:21:54+00:00</updated>
<author>
<name>Jeremiah McConnell</name>
<email>miah@miah.com</email>
</author>
<published>2018-06-07T22:23:41+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=1bb1239c28a12413896e81777e67632416c32284'/>
<id>1bb1239c28a12413896e81777e67632416c32284</id>
<content type='text'>
Some of the Marvell targets have functional SATA port multiplier
support, which is required for multi-bay eSATA enclosures.  Enable
kernel support by setting CONFIG_SATA_PMP.

Closes: FS#1232 and FS#547

Signed-off-by: Jeremiah McConnell &lt;miah@miah.com&gt;
(cherry picked from commit 390c4df2c0b2e7b31c52eca3dcba139b0d745a97)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Some of the Marvell targets have functional SATA port multiplier
support, which is required for multi-bay eSATA enclosures.  Enable
kernel support by setting CONFIG_SATA_PMP.

Closes: FS#1232 and FS#547

Signed-off-by: Jeremiah McConnell &lt;miah@miah.com&gt;
(cherry picked from commit 390c4df2c0b2e7b31c52eca3dcba139b0d745a97)
</pre>
</div>
</content>
</entry>
<entry>
<title>kernel: bump 4.14 to 4.14.48 for 18.06</title>
<updated>2018-06-07T07:03:24+00:00</updated>
<author>
<name>Stijn Segers</name>
<email>foss@volatilesystems.org</email>
</author>
<published>2018-06-05T21:29:31+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=1199a91095269969ba5256702359fba97c6ada08'/>
<id>1199a91095269969ba5256702359fba97c6ada08</id>
<content type='text'>
Refreshed patches. The following patches were upstreamed and have been deleted:

* target/linux/lantiq/patches-4.14/0025-MIPS-lantiq-gphy-Remove-reboot-remove-reset-asserts.patch
* target/linux/generic/pending-4.14/101-clocksource-mips-gic-timer-fix-clocksource-counter-w.patch
* target/linux/generic/pending-4.14/103-MIPS-c-r4k-fix-data-corruption-related-to-cache-coherence.patch
* target/linux/generic/pending-4.14/181-net-usb-add-lte-modem-wistron-neweb-d18q1.patch

Compile-tested: ramips/mt7621, x86/64
Run-tested: ramips/mt7621

Signed-off-by: Stijn Segers &lt;foss@volatilesystems.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Refreshed patches. The following patches were upstreamed and have been deleted:

* target/linux/lantiq/patches-4.14/0025-MIPS-lantiq-gphy-Remove-reboot-remove-reset-asserts.patch
* target/linux/generic/pending-4.14/101-clocksource-mips-gic-timer-fix-clocksource-counter-w.patch
* target/linux/generic/pending-4.14/103-MIPS-c-r4k-fix-data-corruption-related-to-cache-coherence.patch
* target/linux/generic/pending-4.14/181-net-usb-add-lte-modem-wistron-neweb-d18q1.patch

Compile-tested: ramips/mt7621, x86/64
Run-tested: ramips/mt7621

Signed-off-by: Stijn Segers &lt;foss@volatilesystems.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mvebu: fix broken console on WRT32X (venom)</title>
<updated>2018-06-01T19:03:27+00:00</updated>
<author>
<name>Michael Gray</name>
<email>michael.gray@lantisproject.com</email>
</author>
<published>2018-05-29T09:43:48+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=0037b1348015386adaf42f113b4282d60346d2b6'/>
<id>0037b1348015386adaf42f113b4282d60346d2b6</id>
<content type='text'>
The console bootarg is being corrupted on boot, causing various issues
including broken sysupgrade.
Utilising the bootargs mangle patch from other targets, hardcode the console
arguments and fetch the rootfs from the bootloader.

Kernel command line: console=ttyS0,115200 root=/dev/mtdblock8

Bootloader command line (ignored): console= root=/dev/mtdblock8

Please cherry pick to 18.06 too

Signed-off-by: Michael Gray &lt;michael.gray@lantisproject.com&gt;
(cherry picked from commit 4fdc6ca31bda4aad2a65b8460b0caa5c60f87f41)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The console bootarg is being corrupted on boot, causing various issues
including broken sysupgrade.
Utilising the bootargs mangle patch from other targets, hardcode the console
arguments and fetch the rootfs from the bootloader.

Kernel command line: console=ttyS0,115200 root=/dev/mtdblock8

Bootloader command line (ignored): console= root=/dev/mtdblock8

Please cherry pick to 18.06 too

Signed-off-by: Michael Gray &lt;michael.gray@lantisproject.com&gt;
(cherry picked from commit 4fdc6ca31bda4aad2a65b8460b0caa5c60f87f41)
</pre>
</div>
</content>
</entry>
<entry>
<title>kernel: enable THIN_ARCHIVES by default</title>
<updated>2018-05-24T15:24:31+00:00</updated>
<author>
<name>Sergey Ryazanov</name>
<email>ryazanov.s.a@gmail.com</email>
</author>
<published>2018-05-21T09:12:37+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=23cdf9f2468409ca3303f040985f2d7edbd56ebd'/>
<id>23cdf9f2468409ca3303f040985f2d7edbd56ebd</id>
<content type='text'>
THIN_ARCHIVES option is enabled by default in the kernel configuration
and no one target config disables it. So enable it by default and remove
this symbol from target specific configs to keep them light.

Signed-off-by: Sergey Ryazanov &lt;ryazanov.s.a@gmail.com&gt;
(cherry picked from commit 67a3cdcbb05559549985a189eabaf2df92559ed7)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
THIN_ARCHIVES option is enabled by default in the kernel configuration
and no one target config disables it. So enable it by default and remove
this symbol from target specific configs to keep them light.

Signed-off-by: Sergey Ryazanov &lt;ryazanov.s.a@gmail.com&gt;
(cherry picked from commit 67a3cdcbb05559549985a189eabaf2df92559ed7)
</pre>
</div>
</content>
</entry>
<entry>
<title>kernel: enable FUTEX_PI by default</title>
<updated>2018-05-24T15:24:31+00:00</updated>
<author>
<name>Sergey Ryazanov</name>
<email>ryazanov.s.a@gmail.com</email>
</author>
<published>2018-05-21T09:12:36+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=16e0866a742b7edaaaa4fd75b2d122496e84086d'/>
<id>16e0866a742b7edaaaa4fd75b2d122496e84086d</id>
<content type='text'>
New FUTEX_PI configuration symbol enabled if FUTEX and RT_MUTEX symbols
are enabled. Both of these symbols are enabled by default in the
generic config, so enable FUTEX_PI by default too to keep platform
specific configs minimal.

Signed-off-by: Sergey Ryazanov &lt;ryazanov.s.a@gmail.com&gt;
(cherry picked from commit bdc2b58c4bccb50242af853dc80b50f9324b841c)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
New FUTEX_PI configuration symbol enabled if FUTEX and RT_MUTEX symbols
are enabled. Both of these symbols are enabled by default in the
generic config, so enable FUTEX_PI by default too to keep platform
specific configs minimal.

Signed-off-by: Sergey Ryazanov &lt;ryazanov.s.a@gmail.com&gt;
(cherry picked from commit bdc2b58c4bccb50242af853dc80b50f9324b841c)
</pre>
</div>
</content>
</entry>
<entry>
<title>kernel: enable EXPORTFS by default</title>
<updated>2018-05-24T15:24:31+00:00</updated>
<author>
<name>Sergey Ryazanov</name>
<email>ryazanov.s.a@gmail.com</email>
</author>
<published>2018-05-21T09:12:35+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=1f26cfc92bb0a643e4e8aafb04684d1a237006da'/>
<id>1f26cfc92bb0a643e4e8aafb04684d1a237006da</id>
<content type='text'>
OVERLAY_FS config symbol selects EXPORTFS since 4.12 kernel, we have
OVERLAY_FS enabled by default, so enable EXPORTFS in the generic config
of 4.14 and remove this option from platform specific configs.

Signed-off-by: Sergey Ryazanov &lt;ryazanov.s.a@gmail.com&gt;
(cherry picked from commit a08b0d0c3149060f1585ad3ea2ea3edfde71bce4)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
OVERLAY_FS config symbol selects EXPORTFS since 4.12 kernel, we have
OVERLAY_FS enabled by default, so enable EXPORTFS in the generic config
of 4.14 and remove this option from platform specific configs.

Signed-off-by: Sergey Ryazanov &lt;ryazanov.s.a@gmail.com&gt;
(cherry picked from commit a08b0d0c3149060f1585ad3ea2ea3edfde71bce4)
</pre>
</div>
</content>
</entry>
</feed>
