Re: [OpenWrt-Devel] [PATCH] valgrind: enable LTO and refresh patches

2018-11-24 Thread Syrone Wong
> This is probably related to MIP16 being activated, I know that valgrind > does not support debugging MIPS16, but it is building with that. I tested it on x86_64 only and don't have any lantiq device. If someone cannot find the root cause, feel free to drop this patch as it doesn't affect the fun

Re: [OpenWrt-Devel] [PATCH] valgrind: enable LTO and refresh patches

2018-11-24 Thread Hauke Mehrtens
On 11/24/18 3:00 AM, Syrone Wong wrote: > Signed-off-by: Syrone Wong > --- > package/devel/valgrind/Makefile | 1 + > package/devel/valgrind/patches/100-fix_configure_check.patch| 2 +- > package/devel/valgrind/patches/130-fix_arm_arch_detection.patch | 2 +- >

Re: [OpenWrt-Devel] [PATCH] cryptodev-linux: move from packages feed

2018-11-24 Thread Eneas Ulir de Queiroz via openwrt-devel
The sender domain has a DMARC Reject/Quarantine policy which disallows sending mailing list messages using the original "From" header. To mitigate this problem, the original message has been wrapped automatically by the mailing list software.--- Begin Message --- On Sat, 24 Nov 2018, Hauke Mehrten

Re: [OpenWrt-Devel] [PATCH] kernel: add option to root .config for /proc/config.gz

2018-11-24 Thread Hauke Mehrtens
On 11/5/18 12:17 AM, Daniel Santos wrote: > Exports CONFIG_IKCONFIG and CONFIG_IKCONFIG_PROC to the kernel .config > based upon menu choices under Global build settings --> Kernel build > options. For simplicity, /proc/config.gz support is assumed, but if > kernel_menuconfig has disabled CONFIG_PR

Re: [OpenWrt-Devel] [PATCH v2] octeon: Allow sysupgrade restore on ER

2018-11-24 Thread Hauke Mehrtens
On 11/13/18 3:48 PM, Jonathan Thibault wrote: > This is a very simple patch that completes sysupgrade functionality on > UBNT ER8. > > Default layout leaves about 128MB free on the kernel partition so there > is plenty of space for temporary config backups. > > This version checks board names in

Re: [OpenWrt-Devel] [PATCH] build: Introduce building of artifacts

2018-11-24 Thread Hauke Mehrtens
On 11/23/18 10:53 AM, Petr Štetiar wrote: > We currently could (ab)use IMAGES for this task, but the downside is, > that the filenames has filesystem tied to the filename, which might be > confusing as the artifact itself don't has to be used with that specific > filesystem. Another downside is, th

Re: [OpenWrt-Devel] [PATCH] build: Add append-uboot-spl command

2018-11-24 Thread Petr Štetiar
On November 24, 2018 1:06:45 PM UTC, Hauke Mehrtens wrote: >Where do you need this? WIP support for i.mx6 Toradex Apalis board https://github.com/ynezz/openwrt/commits/wip/imx6-apalis > Normally the U-Boot build process creates a >binary with the spl + u-boot. Ok, I'll check it. Thanks. --

Re: [OpenWrt-Devel] [PATCH] jffs2: Fix use of uninitialized delayed_work, lockdep breakage

2018-11-24 Thread Hauke Mehrtens
On 10/19/18 10:59 AM, Daniel Santos wrote: > I've sent this one upstream. This patch is critical if you want to run > with "prove lock correctness" (lockdep) and you happen to have certain > mtd devices. The misuse of the uninitialized object is undefined > behaviour, but being zeroed it does not

Re: [OpenWrt-Devel] [PATCH 5/5] mesongx: new target

2018-11-24 Thread Hauke Mehrtens
On 10/19/18 7:37 PM, Stijn Tintel wrote: > This target supports Amlogic S9 SoCs. > > Signed-off-by: Stijn Tintel > --- > target/linux/mesongx/Makefile | 36 ++ > target/linux/mesongx/base-files/etc/inittab| 5 + > .../mesongx/base-files/lib/preinit/79_move_config

Re: [OpenWrt-Devel] [PATCH] packages/python-idna: Add missing dependency on python(3)-codecs

2018-11-24 Thread Hauke Mehrtens
On 11/5/18 3:06 AM, Daniel Santos wrote: > Signed-off-by: Daniel Santos > --- > lang/python/python-idna/Makefile | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > Hi, This package is maintained in the packages feed at github, see here: https://github.com/openwrt/packages Please crea

Re: [OpenWrt-Devel] [PATCH] rtl8812au: Add out-of-tree driver.

2018-11-24 Thread Hauke Mehrtens
On 11/10/18 1:32 AM, gree...@candelatech.com wrote: > From: Ben Greear > > It loads now, at least. Previosly worked on x86 when not trying > to do backports build. Had to hack on the driver's include files > and some related stuff a bit to get it to compile for OpenWRT. Having fun with Realtek

Re: [OpenWrt-Devel] [PATCH] cryptodev-linux: move from packages feed

2018-11-24 Thread Hauke Mehrtens
On 11/9/18 6:06 PM, Eneas U de Queiroz wrote: > This is actually a build dependency for /dev/crypto support in openssl. > Since it is a kernel module, it belongs here anyway. > > Acked-by: Ansuel Smith > Signed-off-by: Eneas U de Queiroz > > diff --git a/package/kernel/cryptodev-linux/Makefile

Re: [OpenWrt-Devel] [PATCH] Add generic actions to sched-core

2018-11-24 Thread Hauke Mehrtens
On 11/16/18 4:38 PM, Jonathan Thibault wrote: > Greetings, > > Next in my series of 'OpenWRT as a network swiss army knife' patches, I > suggest having the ability to accept/drop frames with TC as part of > sched-core.  This can be useful in cases where you need very fast (if > simplistic) packet

Re: [OpenWrt-Devel] [PATCH v4 6/6] intel-microcode: create early load microcode image

2018-11-24 Thread Hauke Mehrtens
On 11/20/18 5:20 PM, Tomasz Maciej Nowak wrote: > Create initrd image with packed microcode. This'll allow to load it at > early boot stage. > > Signed-off-by: Tomasz Maciej Nowak > --- > package/firmware/intel-microcode/Makefile | 14 -- > 1 file changed, 8 insertions(+), 6 deletion

Re: [OpenWrt-Devel] [PATCH v4 5/6] x86: add intel microcode entries to grub config

2018-11-24 Thread Hauke Mehrtens
On 11/20/18 5:20 PM, Tomasz Maciej Nowak wrote: > Create initrd enries for x86 images, that'll load intel microcode as > early as possible. To achieve that the test module for grub is enabled > which provides shell-like conditionals. Also restrict the late load of > microcode to AMD processors. >

Re: [OpenWrt-Devel] [PATCH] build: Add append-uboot-spl command

2018-11-24 Thread Hauke Mehrtens
On 11/23/18 10:52 AM, Petr Štetiar wrote: > Example usage: > > Define Device/apalis >... >UBOOT_PATH := $$(STAGING_DIR_IMAGE)/$$(UBOOT)-u-boot.img >UBOOT_SPL_PATH := $$(STAGING_DIR_IMAGE)/$$(UBOOT)-SPL >ARTIFACTS := spl-uboot.bin >ARTIFACT/spl-uboot.bin := append-uboot-spl | p

[OpenWrt-Devel] (no subject)

2018-11-24 Thread Arian Sanusi
adding kmod-mt76x0e enables the 5GHz radio on the TP-Link wr902ac-v3 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

[OpenWrt-Devel] Specifying "firmware" partition format on all DTS targets

2018-11-24 Thread Rafał Miłecki
Parsing "firmware" partition (to create kernel + rootfs) was implemented using OpenWrt downstream code enabled by CONFIG_MTD_SPLIT_FIRMWARE. With recent upstream mtd changes we can do it in a more clean way for DTS targets. It just requires adding a proper "compatible" string to the "firmware" part

Re: [OpenWrt-Devel] [PATCH] ramips: add support for Skylab SKW92A in EVB

2018-11-24 Thread Rafał Miłecki
On Wed, 14 Nov 2018 at 22:19, Russell Senior wrote: > diff --git a/target/linux/ramips/dts/SKW92A.dts > b/target/linux/ramips/dts/SKW92A.dts > new file mode 100644 > index 00..7bf9dcae53 > --- /dev/null > +++ b/target/linux/ramips/dts/SKW92A.dts > @@ -0,0 +1,118 @@ > +/dts-v1/; > + > +#in

Re: [OpenWrt-Devel] [PATCH v2] ath79: add support for TP-Link Archer A7

2018-11-24 Thread Rafał Miłecki
On Fri, 23 Nov 2018 at 22:03, Karl-Felix Glatzer wrote: > 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) QCA988

[OpenWrt-Devel] [PATCH] fstools: guard usage of WEXITSTATUS

2018-11-24 Thread Michael Heimpold
According to man page, using WEXITSTATUS should be guarded by a check of WIFEXITED, so add this check. While at, also print an error message in case fsck was terminated by a signal. Signed-off-by: Michael Heimpold --- block.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git

[OpenWrt-Devel] [PATCH] fstools: use EXIT_FAILURE when indicating error on exit

2018-11-24 Thread Michael Heimpold
According to man page, using the EXIT_* macros is more portable than using plain integer values. Signed-off-by: Michael Heimpold --- block.c | 8 blockd.c | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/block.c b/block.c index 2e3841a..8e08310 100644 --- a/bloc

Re: [OpenWrt-Devel] [PATCH] lantiq: add support for Fritz!Box 7360v2

2018-11-24 Thread Rafał Miłecki
On Tue, 20 Nov 2018 at 18:06, Reinhard Max wrote: > This patch adds support for Fritz!Box 7360 v2 (pollin.de currently > sells these as refurbished). It has 32 MiB of flash compared to the > 16 MiB of v1 and SL. > > Signed-off-by: Reinhard Max > Reviewed-by: Torsten Duwe Could you provide a par