<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/pepe2k/target, branch v21.02.1</title>
<subtitle>Staging tree of Piotr Dymacz</subtitle>
<id>https://git.openwrt.org/openwrt/staging/pepe2k/atom?h=v21.02.1</id>
<link rel='self' href='https://git.openwrt.org/openwrt/staging/pepe2k/atom?h=v21.02.1'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/'/>
<updated>2021-10-24T09:01:35Z</updated>
<entry>
<title>ipq40xx: ar40xx: reset port status register</title>
<updated>2021-10-24T09:01:35Z</updated>
<author>
<name>David Bauer</name>
</author>
<published>2021-08-13T21:28:44Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=88151b8303f29f18e8b037076628fd82eda0978a'/>
<id>urn:sha1:88151b8303f29f18e8b037076628fd82eda0978a</id>
<content type='text'>
This resolves incosnsitencies of the configured RX / TX flow control
modes between different boards or bootloaders.

Signed-off-by: David Bauer &lt;mail@david-bauer.net&gt;
(cherry picked from commit 4d81f087715524994448ecaefd3ca87c8ba7e0a3)
</content>
</entry>
<entry>
<title>ath79: mikrotik: use 64 KiB SPI NOR erase sectors</title>
<updated>2021-10-23T02:34:11Z</updated>
<author>
<name>Roger Pueyo Centelles</name>
</author>
<published>2021-08-31T14:45:17Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=23cd9fafa89a8058a88763cc0526a1e85a9f7ebb'/>
<id>urn:sha1:23cd9fafa89a8058a88763cc0526a1e85a9f7ebb</id>
<content type='text'>
This patch removes CONFIG_MTD_SPI_NOR_USE_4K_SECTORS from the default
symbols for the ath79/mikrotik target.

MikroTik devices hold some of their user-configurable settings in the
soft_config partition, which is typically sized 4 KiB, of the SPI NOR
flash memory. Previously, in the ar71xx target, it was possible to use
64 KiB erase sectors but also smaller 4 KiB ones when needed. This is
no longer the case in ath79 with newer kernels so, to be able to write
to these 4 KiB small partitions without erasing 60 KiB around, the
CONFIG_MTD_SPI_NOR_USE_4K_SECTORS symbol was added to the defaults.
However, this ended up making sysupgrade images which were built with
64 KiB size blocks not to keep settings (e.g., the files under
/etc/config/) over the flashing process.

Using 4 KiB erase sector size on the sysupgrade images (by setting
BLOCKSIZE = 4k) allows keeping settings over a flashing process, but
renders the process terribly slow, possibly causing a user to
mistakenly force a manual device reboot while the process is still on-
going. Instead, ditching the 4 KiB erase sectors for the default
64 KiB erase size provides normal SPI write speed and sysupgrade times,
at the expense of not being able to modify the soft_config partition
(which is rarely a required thing).

An OpenWrt patch for MTD_SPI_NOR_USE_4K_SECTORS_LIMIT may once have
allowed to use different per-partition erase sector sizes. Due to
changes on recent kernels it now only works on a per-device basis.
Also, partial eraseblock write can be performed in ath79 with kernels
5.4 and lower, by copying the blocks from the 64 KiB, erasing the whole
sector and restoring those blocks not meant to be modified. A kernel
bump had that patch broken for a long time, but got fixed in bf2870c.

Note: the settings in the soft_config partition can be reset to their
defaults by holding the reset button for 5 seconds (and less than 10
seconds) at device boot.

Fixes: FS#3492 (sysupgrade […] loses settings...)
Fixes: a66eee63368e (ath79: add mikrotik subtarget)

Signed-off-by: Roger Pueyo Centelles &lt;roger.pueyo@guifi.net&gt;
(cherry picked from commit 68d91f08edd0efd47841a2e53d3437d570a61612)
</content>
</entry>
<entry>
<title>layerscape: Add missing config option</title>
<updated>2021-10-22T20:26:02Z</updated>
<author>
<name>Hauke Mehrtens</name>
</author>
<published>2021-10-22T19:30:02Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=24b23ed96a5570ce8ddd14f6f989f79d732acbae'/>
<id>urn:sha1:24b23ed96a5570ce8ddd14f6f989f79d732acbae</id>
<content type='text'>
This option is not set when building the target.
In master this is also unset.

Signed-off-by: Hauke Mehrtens &lt;hauke@hauke-m.de&gt;
</content>
</entry>
<entry>
<title>layerscape: Fix build in dtb</title>
<updated>2021-10-22T20:25:41Z</updated>
<author>
<name>Hauke Mehrtens</name>
</author>
<published>2021-10-22T20:09:16Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=7bf7f78891647cefd340a3f91ecaa7b62705f3f0'/>
<id>urn:sha1:7bf7f78891647cefd340a3f91ecaa7b62705f3f0</id>
<content type='text'>
This fixes a kernel build problem.
The removed parts of the patch are already applied upstream.

Fixes: b4ed8a92751f ("kernel: bump 5.4 to 5.4.154")
Signed-off-by: Hauke Mehrtens &lt;hauke@hauke-m.de&gt;
(cherry picked from commit 9501ce909f54b87dab95f17c0408a4962365e130)
</content>
</entry>
<entry>
<title>kernel: bump 5.4 to 5.4.154</title>
<updated>2021-10-19T22:37:51Z</updated>
<author>
<name>Hauke Mehrtens</name>
</author>
<published>2021-10-19T22:35:22Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=b4ed8a92751fdcb681117a2cb586054af106c69e'/>
<id>urn:sha1:b4ed8a92751fdcb681117a2cb586054af106c69e</id>
<content type='text'>
Removed upstreamed:
  generic/backport-5.4/070-v5.5-MIPS-BPF-Restore-MIPS32-cBPF-JIT.patch

All others updated automatically.

Compile-tested on: lantiq/xrx200, armvirt/64
Runtime-tested on: lantiq/xrx200, armvirt/64

Signed-off-by: Hauke Mehrtens &lt;hauke@hauke-m.de&gt;
</content>
</entry>
<entry>
<title>mvebu: add support for iEi Puzzle-M901/Puzzle-M902</title>
<updated>2021-10-14T12:09:57Z</updated>
<author>
<name>Ian Chang</name>
</author>
<published>2021-09-02T09:47:20Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=c43a5921fa7288ba183cc56da8f110a6ed0cd958'/>
<id>urn:sha1:c43a5921fa7288ba183cc56da8f110a6ed0cd958</id>
<content type='text'>
 Hardware specification
 ----------------------
 * CN9130 SoC, Quad-core ARMv8 Cortex-72 @ 2200 MHz
 * 4 GB DDR
 * 4 GB eMMC
 * mmcblk0
 - mmcblk0p1    64M  kernel_1
 - mmcblk0p2    64M  kernel_2
 - mmcblk0p3   512M  rootfs_1
 - mmcblk0p4   512M  rootfs_2
 - mmcblk0p5   512M  Reserved
 - mmcblk0p6    64M  Reserved
 - mmcblk0p7   1.8G  rootfs_data

 * 4 MB (SPI Flash)
 * 6 x 2.5 Gigabit  ports (Puzzle-M901)
 - External PHY with 6 ports (AQR112R)

 * 6 x 2.5 Gigabit ports (Puzzle-M902)
 - External PHY with 6 ports (AQR112R)
   3 x 10 Gigabit ports (Puzzle-M902)
 - External PHY with 3 ports (AQR113R)

 * 4 x Front panel LED
 * 1 x USB 3.0
 * Reset button on Rear panel
 * UART (115200 8N1,header on PCB)

 Flash instructions:
    The original firmware is based on OpenWrt.
    Flash firmware using LuCI and CLI

Signed-off-by: Ian Chang &lt;ianchang@ieiworld.com&gt;
(cherry picked from commit 70c75965a97799b44871249c205bad48fea9a4ae)
Signed-off-by: Daniel Golle &lt;daniel@makrotopia.org&gt;
</content>
</entry>
<entry>
<title>mvebu: backport CN9130 dts necessary files changes to 5.4</title>
<updated>2021-10-14T12:09:57Z</updated>
<author>
<name>Ian Chang</name>
</author>
<published>2021-09-02T09:47:01Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=bb1eb5e8e6609d0a2f2c8d3123038bee410bdb0e'/>
<id>urn:sha1:bb1eb5e8e6609d0a2f2c8d3123038bee410bdb0e</id>
<content type='text'>
 1. Add support for Marvell CN9130 SoC
 2. Add support for CP115,and create an armada-cp11x.dtsi file which will be used to instantiate both CP110 and CP115
 3. Add support for AP807/AP807-quad,AP807 is a major component of CN9130 SoC series
 4. Drop PCIe I/O ranges from CP11x file and externalize PCIe macros from CP11x file

Signed-off-by: Ian Chang &lt;ianchang@ieiworld.com&gt;
(cherry picked from commit c98ddf0f019986bbb4c868bfcaf97e0d1f4ee2dc)
Signed-off-by: Daniel Golle &lt;daniel@makrotopia.org&gt;
</content>
</entry>
<entry>
<title>kernel: ar8216: add get_features method</title>
<updated>2021-10-12T09:38:20Z</updated>
<author>
<name>David Bauer</name>
</author>
<published>2021-06-02T17:34:01Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=e7c5e08db09a0034a1dc5f013af651339743fd40'/>
<id>urn:sha1:e7c5e08db09a0034a1dc5f013af651339743fd40</id>
<content type='text'>
Modifying PHY capabilities in the probe function broke with upstream
commit 92ed2eb7f4b7 ("net: phy: probe the PHY before determining the
supported features").

AR8316 switches only support 10/100 Mbit/s link modes because of this
change.

Provide a get_features method for the PHY driver, so Gigabit link mode
will be advertised to link partners again.

Signed-off-by: David Bauer &lt;mail@david-bauer.net&gt;
(cherry picked from commit 766e0f584a325b0b80a97bbc86ca515d97c63001)
</content>
</entry>
<entry>
<title>kernel: bump 5.4 to 5.4.150</title>
<updated>2021-10-02T14:05:34Z</updated>
<author>
<name>Hauke Mehrtens</name>
</author>
<published>2021-10-02T13:29:16Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=8cc7ac54b6cfbccf61f31c51313e6480811b5f44'/>
<id>urn:sha1:8cc7ac54b6cfbccf61f31c51313e6480811b5f44</id>
<content type='text'>
Manually rebased:
  generic/backport-5.4/370-netfilter-nf_flow_table-fix-offloaded-connection-tim.patch
  generic/pending-5.4/800-bcma-get-SoC-device-struct-copy-its-DMA-params-to-th.patch
  mvebu/patches-5.4/021-arm64-dts-marvell-armada-37xx-Move-PCIe-comphy-handl.patch

Removed upstreamed:
  generic/backport-5.4/040-ARM-8918-2-only-build-return_address-if-needed.patch
  layerscape/patches-5.4/819-uart-0004-MLK-18137-fsl_lpuart-Fix-loopback-mode.patch

All others updated automatically.

Compile-tested on: lantiq/xrx200, armvirt/64
Runtime-tested on: lantiq/xrx200, armvirt/64

Signed-off-by: Hauke Mehrtens &lt;hauke@hauke-m.de&gt;
</content>
</entry>
<entry>
<title>rockchip: fix broken squashfs sysupgrade</title>
<updated>2021-09-24T10:29:22Z</updated>
<author>
<name>David Bauer</name>
</author>
<published>2021-09-23T19:01:37Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=5c904bcb37374d1d5f26dcb7878f869c15ad2082'/>
<id>urn:sha1:5c904bcb37374d1d5f26dcb7878f869c15ad2082</id>
<content type='text'>
The rockchip platform supports squashfs SD card images. However, the
resulting image is not padded to completely fill the rootfs partition.

Because of that, the f2fs overlay might not be erased, resulting in
uci-defaults not bing executed or the configuration not being erased,
even though drop config was selected.

Modify the image generation process so the image is padded to cover the
entire root filesystem partition.

Signed-off-by: David Bauer &lt;mail@david-bauer.net&gt;
(cherry picked from commit b56f7407d999d29c200c8c5880655926ef9874b7)
</content>
</entry>
</feed>
