From: Rafał Miłecki
This removes dangling directory fixing two issues:
1) Non autofs case
Leaving directory in /mnt/ and switching to autofs would result in
blockd failing to symlink().
2) autofs case
Leaving directory in /var/run/blockd/ could result in apps trying to
access it caus
Added two upstream mailing list patches that fix behavior under big endian
systems. Issue was present since version 1.11.0.
Tested on Turris Omnia.
Original discussion: https://github.com/openwrt/openwrt/pull/1575
Signed-off-by: Rosen Penev
---
v2: Added big endian patches.
package/utils/f2fs
Hardware
CPU: Qualcomm Atheros QCA9558
RAM: 128M DDR2
FLASH: 16MiB
ETH: 1x Atheros AR8035 (PoE in)
1x Atheros AR8033
WiFi2: QCA9558 2T2R
WiFi5: QCA9880 2T2R
BTN: 1x Reset
LED: 1x LED blue
1x LED red
BUZZ: 1x GPIO attached piezo buzzer (controllable ass LED)
UART:
The initialization for the two ethernet PHYs causes the hardware
wathchdog of devolo WiFi pro boards to trigger reset. Linking the
watchdog drivers before the PHY driver fixes this issue.
Signed-off-by: David Bauer
---
.../431-link-phy-after-watchdog.patch | 31 +++
1 fil
Small remark.
> Op 7 dec. 2018, om 17:26 heeft Rafał Miłecki het volgende
> geschreven:
>
> From: Rafał Miłecki
>
> Using argv[3] without checking argc value could result in undefined
> behavior. It could result in a crash or accessing a NULL that separates
> argv from envp on UNIX.
>
> Sign
This is a trial to make it more obvious what the historically
grown code is actually doing.
Signed-off-by: Michael Heimpold
---
V2: use Jo-Philipp Wich's proposal
inittab.c | 7 ++-
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/inittab.c b/inittab.c
index 4b9..c9e6c13 10
Changes in the last year or so have left me a little confused with the
OpenWrt support for the Mikrotik RB493G. I generally compile my kernels
and root disk images myself, namely by running "make menuconfig" and
"make" in an OpenWrt source tree. I then go on to install the built
artifacts by bootin
I would like to propose a patch for ca-certificate to fix the following
error
Traceback (most recent call last):
File "certdata2pem.py", line 150, in
encoded = base64.b64encode(obj['CKA_VALUE']).decode('utf-8')
File "/usr/lib64/python2.6/base64.py", line 53, in b64encode
encoded = b
Fix the imagetag on the HG655b to allow a correct partition detection at boot
time.
It turns out that it was defined at the wrong partition. Just move the imagetag
to
the linux firmware partition.
The bug is present since the 18.06 release. Without this fix, the board won't
boot.
Signed-off-b
From: Rafał Miłecki
When blockd starts it uses "start" action for getting current state of
block devices. The way main_autofs() was implemented was a bit hacky
though:
1) It was calling mount_device() with TYPE_HOTPLUG
First of all that made code harder to understand. Faking TYPE_HOTPLUG
f
On Sunday, December 9, 2018 4:57:10 PM CET INAGAKI Hiroshi wrote:
> On 2018/12/10 0:34, Christian Lamparter wrote:
> > Specify firmware partition format by compatible string.
> >
> > Cc: INAGAKI Hiroshi
> > Signed-off-by: Christian Lamparter
> > ---
> > .../files-4.14/arch/arm/boot/dts/qcom-ipq
It allows specifying default and Netgear parsers directly in the DT.
Signed-off-by: Christian Lamparter
---
.../linux/generic/files/drivers/mtd/mtdsplit/mtdsplit_fit.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/target/linux/generic/files/drivers/mtd/mtdsplit/mtdsplit_fit.c
b/targ
Specify firmware partition format by compatible string.
Cc: David Bauer
Signed-off-by: Christian Lamparter
---
.../files-4.14/arch/arm/boot/dts/qcom-ipq4018-ex61x0v2.dtsi | 1 +
1 file changed, 1 insertion(+)
diff --git
a/target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4018-ex6
Specify firmware partition format by compatible string.
Signed-off-by: Christian Lamparter
---
.../files-4.14/arch/arm/boot/dts/qcom-ipq4018-fritz4040.dts | 1 +
1 file changed, 1 insertion(+)
diff --git
a/target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4018-fritz4040.dts
b/tar
Specify firmware partition format by compatible string.
Signed-off-by: Christian Lamparter
---
.../ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4028-wpj428.dts | 1 +
1 file changed, 1 insertion(+)
diff --git
a/target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4028-wpj428.dts
b/target
Specify firmware partition format by compatible string.
Signed-off-by: Christian Lamparter
---
.../files-4.14/arch/arm/boot/dts/qcom-ipq4029-gl-b1300.dts | 1 +
1 file changed, 1 insertion(+)
diff --git
a/target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4029-gl-b1300.dts
b/targ
Specify firmware partition format by compatible string.
Cc: Steven Lin
Signed-off-by: Christian Lamparter
---
.../files-4.14/arch/arm/boot/dts/qcom-ipq4018-eap1300.dts| 1 +
1 file changed, 1 insertion(+)
diff --git
a/target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4018-eap1
Specify firmware partition format by compatible string.
Signed-off-by: Christian Lamparter
---
.../files-4.14/arch/arm/boot/dts/qcom-ipq4018-wre6606.dts| 1 +
1 file changed, 1 insertion(+)
diff --git
a/target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4018-wre6606.dts
b/targe
Specify firmware partition format by compatible string.
Cc: INAGAKI Hiroshi
Signed-off-by: Christian Lamparter
---
.../files-4.14/arch/arm/boot/dts/qcom-ipq8064-wg2600hp.dts | 1 +
1 file changed, 1 insertion(+)
diff --git
a/target/linux/ipq806x/files-4.14/arch/arm/boot/dts/qcom-ipq8064
> >ubnt nano-m-xw success! Laptop on main port (lan) cat5 on secondary
> >port to home network-internet (wan).Laptop can browse internet on
> >first boot. Both Ethernet ports functional.
>
> Hi,
>
> thank you for testing, could you please give me your Tested-by so I can add
> it?
>
Tested
In mainline kernel commit 02c7b25e5f5 ("netfilter: nf_tables: build-in
filter chain type") all chain filters were merged into one file and into
one kernel module to save some memory. The code protected by these
configuration options CONFIG_NF_TABLES_BRIDGE, CONFIG_NF_TABLES_IPV4,
CONFIG_NF_TABLES_A
The ledtrig-netdev was added to upstream Linux kernel 4.16, replace our
own version with the patch based on the upstream version.
This will remove the ledtrig-netdev support from kernel 3.18, because I
not want to spend time on backporting it to 3.18. This will make it
easier to use the upstream ve
Like on kernel 4.14 some kernel modules depend now on regmap.
Signed-off-by: Hauke Mehrtens
---
package/kernel/linux/modules/other.mk | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/package/kernel/linux/modules/other.mk
b/package/kernel/linux/modules/other.mk
index 6d4d8
Like kernel on 4.14 some modules need the dependency to
kmod-crypto-acompress on kernel 4.19.
Signed-off-by: Hauke Mehrtens
---
package/kernel/linux/modules/crypto.mk | 2 +-
package/kernel/linux/modules/lib.mk| 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/package/k
Like on kernel 4.14 kmod-dax is needed by kmod-dm also in kernel 4.19.
Signed-off-by: Hauke Mehrtens
---
package/kernel/linux/modules/block.mk | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/package/kernel/linux/modules/block.mk
b/package/kernel/linux/modules/block.mk
in
This new dependency is needed with kernel 4.19.
Signed-off-by: Hauke Mehrtens
---
package/kernel/linux/modules/netsupport.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package/kernel/linux/modules/netsupport.mk
b/package/kernel/linux/modules/netsupport.mk
index f94c20d8
In kernel commit 0168e8b361 ("netfilter: nat: merge ipv4/ipv6 masquerade
code into main nat module") the CONFIG_NF_NAT_MASQUERADE_IPV4 and
CONFIG_NF_NAT_MASQUERADE_IPV6 kernel configuration option were changed
to bool and the code will not be compiled as a own module any more, but
it will be integr
In kernel commit a0ae2562c6c ("netfilter: conntrack: remove l3proto
abstraction") The modules nf_conntrack_ipv4.ko, nf_conntrack_ipv6.ko and
nf_conntrack.ko were squashed together into one module. This module now
depends on nf_defrag_ipv6 when IPv6 support was activated. This is part
of the main ne
Like on kernel 4.14 this dependency is deactivated in OpenWrt.
Signed-off-by: Hauke Mehrtens
---
package/kernel/linux/modules/netdevices.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package/kernel/linux/modules/netdevices.mk
b/package/kernel/linux/modules/netdevices.mk
The nf_socket.ko module was split in commit 8db4c5be88f ("netfilter:
move socket lookup infrastructure to nf_socket_ipv{4,6}.c") into a
common, n IPv4 and an IPv6 part.
The nf_tproxy.ko module was split in commit 45ca4e0cf27 ("netfilter:
Libify xt_TPROXY") into a common, an IPv4 and an IPv6 part.
The video-videobuf2 kernel modules were moved to a new folder in kernel
4.19. videobuf2-v4l2.ko is only available since kernel 4.4, blacklist
this kmod completely on kernel 3.18.
Signed-off-by: Hauke Mehrtens
---
package/kernel/linux/modules/video.mk | 14 +-
1 file changed, 9 insert
CONFIG_HW_RANDOM_TPM does not activate a separate kernel module any
more, but it only activates the random code in the tpm.ko.
Signed-off-by: Hauke Mehrtens
---
package/kernel/linux/modules/other.mk | 2 +-
target/linux/generic/config-4.19 | 2 +-
2 files changed, 2 insertions(+), 2 deletio
Some kernel modules from kmod-ipt-conntrack-extra depend on
nf_conncount.ko, which was added in kernel 4.16, add it to the kmod.
Signed-off-by: Hauke Mehrtens
---
include/netfilter.mk | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/netfilter.mk b/include/netfilter.mk
index b73cc794b6
In kernel 4.19 the kvaser_usb.ko file moved into its own directory.
Signed-off-by: Hauke Mehrtens
---
package/kernel/linux/modules/can.mk | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/package/kernel/linux/modules/can.mk
b/package/kernel/linux/modules/can.mk
index 925de4
Kernel interface changed with kernel 4.19, it does not accept raw GPIO
numbers any more. Deactivate these drivers on kernel 4.19 for now.
Signed-off-by: Hauke Mehrtens
---
package/kernel/i2c-gpio-custom/Makefile | 2 +-
package/kernel/spi-gpio-custom/Makefile | 2 +-
package/kernel/w1-gpio-custo
autofs4 is now in the fs/autofs/ folder in kernel 4.19
Signed-off-by: Hauke Mehrtens
---
package/kernel/linux/modules/fs.mk | 8 ++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/package/kernel/linux/modules/fs.mk
b/package/kernel/linux/modules/fs.mk
index 7080d9e4ae..4e8ac
CONFIG_OF_NET depends on CONFIG_NVMEM in kernel 4.19. To fix some build
problems in mainline Linux kernel CONFIG_NVMEM was changed from tristate
to bool in commit 2a37ce25d9 ("nvmem: disallow modular CONFIG_NVMEM").
This patch in OpenWrt revert the upstream commit and changes
CONFIG_NVMEM back to
This new dependency is needed for kernel 4.19.
Signed-off-by: Hauke Mehrtens
---
package/kernel/linux/modules/video.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package/kernel/linux/modules/video.mk
b/package/kernel/linux/modules/video.mk
index 37b3cc0bc7..7e300bf486 1
These are my patches to add support for kernel 4.19 to OpenWrt. All
patches which are not merged upstream or went in a different way into
the upstream kernel are now ported over to kernel 4.19.
I think this is currently in a good state and I would like to merge
these changes into master and the
This module was removed in kernel 4.17, all users are refactored to not
need this any more.
Signed-off-by: Hauke Mehrtens
---
package/kernel/linux/modules/crypto.mk | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/package/kernel/linux/modules/crypto.mk
b/package/kerne
This is now replaced by some other mtd partition parsing which was
merged into upstream.
Signed-off-by: Hauke Mehrtens
---
...t-add-generic-parsing-of-linux-part-probe.patch | 172 -
.../400-mtd-add-rootfs-split-support.patch | 11 +-
...port-for-different-partition-
These dependencies are needed on kernel 4.14 and kernel 4.19.
Signed-off-by: Hauke Mehrtens
---
package/kernel/linux/modules/crypto.mk | 2 +-
package/kernel/linux/modules/fs.mk | 2 +-
package/kernel/linux/modules/other.mk | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --gi
The x86 optimized cryptographic algorithm kernel modules now mostly use
crypto_simd.ko instead of lrw.ko in kernel 4.19. Add the new module to
the kmod-crypto-misc package.
Signed-off-by: Hauke Mehrtens
---
package/kernel/linux/modules/crypto.mk | 5 +++--
1 file changed, 3 insertions(+), 2 dele
The asn1_decoder.ko module is needed by the kmod-nf-nathelper-extra
package in kernel 4.19, extract it and add the missing dependencies.
Signed-off-by: Hauke Mehrtens
---
package/kernel/linux/modules/crypto.mk| 3 +--
package/kernel/linux/modules/lib.mk | 11 +++
package/kerne
This reorders the generic kernel configuration files.
This was done with the following commands:
$ ./scripts/kconfig.pl '+' target/linux/generic/config-4.14 /dev/null >
target/linux/generic/config-4.14-new
$ mv target/linux/generic/config-4.14-new target/linux/generic/config-4.14
$ ./scripts/kconf
The b53 driver was added as a dsa driver into the mainline Linux kernel,
but we still use the swconfig based driver. The header file b53.h is
used by both drivers, but the swconfig one needs an extra member, add
this one in a patch to not overwrite the version shipped with the
mainline kernel.
Sig
The r8169 driver uses the phy lib with the realtek phy driver in kernel
4.19 instead of integrating the phy driver into the mac driver.
Add the new phy driver and add this missing dependency.
Signed-off-by: Hauke Mehrtens
---
package/kernel/linux/modules/netdevices.mk | 18 +-
1
The i2c-gpio.h file was moved in kernel 4.18.
Signed-off-by: Hauke Mehrtens
---
package/kernel/i2c-gpio-custom/src/i2c-gpio-custom.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/package/kernel/i2c-gpio-custom/src/i2c-gpio-custom.c
b/package/kernel/i2c-gpio-custom/src/i2c-gpio-custom
Hi Daniel,
On 12/3/18 11:22 AM, Daniel Engberg wrote:
> Hi Hauke!
>
> First of all, great work and also thanks to the others who contributed!
Thanks for testing this Daniel,
The target code still needs some work, I only added this to test the
generic code.
> I gave this a try on my Orange Pi P
From: Rafał Miłecki
It's no longer needed as all mt7621 devices use DT binding (supported by
upstream mtd code) for specifying "firmware" part format explicitly.
Signed-off-by: Rafał Miłecki
---
target/linux/ramips/mt7621/config-4.14 | 1 -
1 file changed, 1 deletion(-)
diff --git a/target/li
From: Rafał Miłecki
Signed-off-by: Rafał Miłecki
---
target/linux/ramips/dts/RBM11G.dts | 1 +
target/linux/ramips/dts/RBM33G.dts | 1 +
target/linux/ramips/dts/WF-2881.dts | 1 +
target/linux/ramips/dts/WSR-1166.dts | 1 +
4 files changed, 4 insertions(+)
diff --git a/target/linux/ramips
Jo-Philipp Wich writes:
> A better approach here would be to selectively whitelist uevents based
> on subsystem or similar attributes, e.g. `DEVTYPE=usb_device`.
Just for the record: "DEVTYPE=usb_device" devices *do* have a "dev"
attribute.
Bjørn
__
52 matches
Mail list logo