Re: [OpenWrt-Devel] [PATCH 0/6] buildsystem: Activate PIE ASLR for some packages

2019-10-28 Thread Daniel Engberg
On 2019-10-27 18:44, Hauke Mehrtens wrote: This is a follow up patch on this discussion on the mailing list: https://patchwork.ozlabs.org/patch/1041647/ This allows to activate PIE only for some packages where we thing it is necessary and not only globally for all of them. Hauke Mehrtens (6):

Re: [OpenWrt-Devel] [PATCH 1/2] octeon: Deactivate MIPS O32 and N32 support

2019-05-23 Thread Daniel Engberg
On 2019-05-13 23:37, Hauke Mehrtens wrote: Hi Daniel, On 5/12/19 10:24 PM, Daniel Engberg wrote: Hi, This patch seems to touch more things that just that... (4.19) I did a "make kernel_oldconfig" to refresh the configuration. This was either not done when this configuration was

[OpenWrt-Devel] Time to move on from 4.14 to 4.19?

2019-05-12 Thread Daniel Engberg
Hi, I'm not sure what the current release roadmap is but since 19.X release seems to slipping perhaps it's time to move working targets to 4.19 as 4.14 has barely 6 months away before EoL status since there seems to be a rather strong opinion for "LTS" releases/branches? Best regards, Daniel

[OpenWrt-Devel] [PATCH 1/2] octeon: Deactivate MIPS O32 and N32 support

2019-05-12 Thread Daniel Engberg
Hi, This patch seems to touch more things that just that... (4.19) +CONFIG_ARCH_HIBERNATION_POSSIBLE=y +CONFIG_ARCH_SUSPEND_POSSIBLE=y Both these are optional and no supported hardware have these capatibilities to my knowledge +CONFIG_HAVE_DEBUG_KMEMLEAK=y +CONFIG_HAVE_DEBUG_STACKOVERFLOW=y W

Re: [OpenWrt-Devel] [PATCH] mac80211: update to version 4.19.32-1

2019-04-06 Thread Daniel Engberg
Hi, Tested fine on ipq40xx, Linksys EA6350v3, OpenWrt master Best regards, Daniel ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Re: [OpenWrt-Devel] [PATCH] mbedtls: update to version 2.16.1

2019-04-06 Thread Daniel Engberg
Hi, Tested fine on ipq40xx, Linksys EA6350v3, OpenWrt master Best regards, Daniel ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Re: [OpenWrt-Devel] OpenWrt 19.03 plans

2019-03-23 Thread Daniel Engberg
Hi, "ported properly" is rather vague, ipq* are the only "active" platforms the I would classify as troublesome and don't seem to be fixable in 4.14 within resonable time otherwise the list I compiled seems like a pretty resonable one? Best regards, Daniel __

Re: [OpenWrt-Devel] Meson/Ninja build system

2019-03-21 Thread Daniel Engberg
On 2019-03-18 14:10, Petr Štetiar wrote: Daniel Engberg [2019-03-18 13:55:07]: Hi, Having a look at https://www.python.org/dev/peps/pep-0537/#lifespan it seems like a good idea to stick with 3.7? it's a PITA to demand versions which are not packaged in current versions of LTS

Re: [OpenWrt-Devel] OpenWrt 19.03 plans

2019-03-21 Thread Daniel Engberg
Hi, Is there any kind of "official" roadmap/checklist available what "needs" to be done? Best regards, Daniel ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Re: [OpenWrt-Devel] Meson/Ninja build system

2019-03-18 Thread Daniel Engberg
Hi, I think the cmake.mk-link approach would be a good idea and given previous discussions the plan is afaik to pull in Ninja first and once that's confirmed working via CMake add support for Meson. Having a look at https://www.python.org/dev/peps/pep-0537/#lifespan it seems like a good idea

Re: [OpenWrt-Devel] OpenWrt 19.03 plans

2019-02-25 Thread Daniel Engberg
Hi, Just a few things to take into consideration for 19.XX release Oversized ethernet frames on ipq806x causes crashes https://bugs.openwrt.org/index.php?do=details&task_id=2026 Overall ethernet performance on ipq806x isn't great, perhaps add a note in the release about it f2fs wonkyness on se

Re: [OpenWrt-Devel] [PATCH] build: Activate ASLR PIE by default

2019-02-13 Thread Daniel Engberg
Hi, PIE adds overhead (it can be quite a bit) both to binary size and performance during execution. There are usually discussions about kilobytes and this is well beyond that and space is still quite precious on 8/16Mbyte flash devices. Most target platforms are "slow" and have limited space to b

Re: [OpenWrt-Devel] Cleanup in 4.19 generic kernel config?

2019-02-13 Thread Daniel Engberg
On 2019-02-13 00:08, Rosen Penev wrote: On Sat, Feb 9, 2019 at 12:16 AM Daniel Engberg wrote: Hi, After my attempt getting Linux 4.19 working for the Octeon target I started to look at the generic configuration for 4.19 and it seems that there are quite a bit of target specific options

[OpenWrt-Devel] Cleanup in 4.19 generic kernel config?

2019-02-09 Thread Daniel Engberg
Hi, After my attempt getting Linux 4.19 working for the Octeon target I started to look at the generic configuration for 4.19 and it seems that there are quite a bit of target specific options listed and potentially generating larger kernels than necessary. Given that some options are incorrect f

Re: [OpenWrt-Devel] [PATCH] config: enable some useful features on !SMALL_FLASH devices

2018-12-30 Thread Daniel Engberg
Hi, KERNEL_AIO, KERNEL_FHANDLE and KERNEL_FANOTIFY makes sense _if_ you're using some kind of storage device however KERNEL_CGROUPS, config KERNEL_NAMESPACES, config KERNEL_LXC_MISC, KERNEL_SECCOMP_FILTER are very limited use cases to my knowledge and more or less only used on x86*? Keep in

Re: [OpenWrt-Devel] Add support for kernel 4.19

2018-12-19 Thread Daniel Engberg
On 2018-12-09 15:57, Hauke Mehrtens wrote: 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

Re: [OpenWrt-Devel] [PATCHv2] f2fs-tools: Update to 1.12.0

2018-12-10 Thread Daniel Engberg
Hi, I think we at least should wait until we get confirmation that patch #2 is working on real hardware (ar71xx for instance) as intended. Also, I'm not sure if it's your intention but the Github user offered to clean up the patch yet you went ahead(?) and I'm also not fond of the cutting in

Re: [OpenWrt-Devel] [PATCH] f2fs-tools: Update to 1.12.0

2018-12-06 Thread Daniel Engberg
Hi, Duplicate, https://github.com/openwrt/openwrt/pull/1575 There's also some weird bug on Atheros MIPS (ath79 and ar71xx), more info on Github Best regards, Daniel ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwr

Re: [OpenWrt-Devel] [PATCH] build: depend on host zip tool

2018-12-03 Thread Daniel Engberg
On 2018-12-03 23:05, Paul Oranje wrote: Op 3 dec. 2018, om 10:57 heeft Daniel Engberg het volgende geschreven: Hi, Perhaps its worth considering adding bsdtar / libarchive (https://www.libarchive.org/) instead which handles various formats including zip (via zlib) and is still active

Re: [OpenWrt-Devel] Add support for kernel 4.19

2018-12-03 Thread Daniel Engberg
Hi Hauke! First of all, great work and also thanks to the others who contributed! I gave this a try on my Orange Pi PC (Allwinner H3) and it seems to run fine overall. Ethernet TX is a bit slow (~65mbit using iperf3) while RX does full line speed (~94mbit) more or less and USB also seems to wo

Re: [OpenWrt-Devel] [PATCH] build: depend on host zip tool

2018-12-03 Thread Daniel Engberg
Hi, Perhaps its worth considering adding bsdtar / libarchive (https://www.libarchive.org/) instead which handles various formats including zip (via zlib) and is still active? Another possible benefit would be that you would consolidate a few more tools into one. Best regards, Daniel ___

[OpenWrt-Devel] Use binutils 2.31.1 by default

2018-10-19 Thread Daniel Engberg
As per request, https://github.com/openwrt/openwrt/pull/1297 Longer tests with https://lists.openwrt.org/pipermail/openwrt-devel/2018-July/013394.html without issues Not subscribed so please cc Best regards, Daniel Engberg ___ openwrt-devel

[OpenWrt-Devel] Use binutils 2.31.1 by default

2018-08-30 Thread Daniel Engberg
As per request, https://github.com/openwrt/openwrt/pull/1297 Longer tests with https://lists.openwrt.org/pipermail/openwrt-devel/2018-July/013394.html without issues Please cc as I'm not receiving emails from list by default Best regards, Daniel En

Re: [OpenWrt-Devel] [PATCH] mvebu: fix the cortex-a9 fpu configure

2018-08-30 Thread Daniel Engberg
Hi, You can try to push it again (needs modification) however... https://github.com/lede-project/source/pull/1211#issuecomment-319286867 The lazy way is to just to change to neon unless you have WRT1900v1 if you're building local builds. Best regards, Daniel En

Re: [OpenWrt-Devel] Use DHCP by default on single port devices

2018-08-29 Thread Daniel Engberg
l On 2018-08-27 16:00, Alberto Bursi wrote: On 8/27/2018 12:37 PM, Daniel Engberg wrote: As per request, Fine as long as we fix mdns in some way? https://github.com/openwrt/openwrt/pull/1062 Not subscribed, so CC Best regards, Daniel Engberg ___ ope

Re: [OpenWrt-Devel] Use DHCP by default on single port devices

2018-08-27 Thread Daniel Engberg
2:37 PM, Daniel Engberg wrote: > As per request, > > Fine as long as we fix mdns in some way? > > https://github.com/openwrt/openwrt/pull/1062 > > Not subscribed, so CC > > Best regards, > Daniel Engberg > > _

[OpenWrt-Devel] Use DHCP by default on single port devices

2018-08-27 Thread Daniel Engberg
As per request, Fine as long as we fix mdns in some way? https://github.com/openwrt/openwrt/pull/1062 Not subscribed, so CC Best regards, Daniel Engberg ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org

[OpenWrt-Devel] [PATCH v4] package/utils/usbutils: Update USB IDs list and drop gzip compression

2016-04-25 Thread Daniel Engberg
t the update-usbids.sh.in isn't executed at all... v4 Drop zlib dependency, pointed out by Hauke Mehrtens Signed-off-by: Daniel Engberg --- diff --git a/package/utils/usbutils/Makefile b/package/utils/usbutils/Makefile index 9b5470a..dc57155 100644 --- a/package/utils/usbutils/Makefile +++

Re: [OpenWrt-Devel] [PATCH v3] package/utils/usbutils: Update USB IDs list and drop gzip compression

2016-04-17 Thread Daniel Engberg
On 2016-04-17 15:12, Hauke Mehrtens wrote: > On 04/07/2016 08:50 AM, Daniel Engberg wrote: >> Change mirror to Github (Gentoo repo) and drop the gzip compression. >> Worst case there's about 4kbyte increase in size but most images ends up >> beign somewhere between 4-1

[OpenWrt-Devel] [PATCH v3] package/utils/usbutils: Update USB IDs list and drop gzip compression

2016-04-06 Thread Daniel Engberg
t the update-usbids.sh.in isn't executed at all... Signed-off-by: Daniel Engberg --- diff --git a/package/utils/usbutils/Makefile b/package/utils/usbutils/Makefile index 9b5470a..c1b82a9 100644 --- a/package/utils/usbutils/Makefile +++ b/package/utils/usbutils/Makefile @@ -9,15 +9,15

[OpenWrt-Devel] [PATCH v2] package/utils/usbutils: Update USB IDs list and drop gzip compression

2016-04-06 Thread Daniel Engberg
Change mirror to Github (Gentoo repo) and drop the gzip compression. Worst case there's a 4kbyte increase in size but most images ends up beign somewhere between 4-100kbyte smaller due to the lzma compression. Tested on ar71xx Now contains the correct patch, sorry! Signed-off-by: Daniel En

[OpenWrt-Devel] [PATCH] package/utils/usbutils: Update USB IDs list and drop gzip compression

2016-04-06 Thread Daniel Engberg
Change mirror to Github (Gentoo repo) and drop the gzip compression. Worst case there's a 4kbyte increase in size but most images ends up beign somewhere between 4-100kbyte smaller due to the lzma compression. Tested on ar71xx Signed-off-by: Daniel Engberg --- diff --git a/package/

[OpenWrt-Devel] ramips: Disable the SD driver by default on MT7621

2016-04-04 Thread Daniel Engberg
cket/21834 https://dev.openwrt.org/ticket/21995 https://forum.openwrt.org/viewtopic.php?id=59092 Signed-off-by: Daniel Engberg --- diff --git a/target/linux/ramips/mt7621/profiles/firefly.mk b/target/linux/ramips/mt7621/profiles/firefly.mk index bc50ab4..9797527 100644 --- a/target/linux/ram

[OpenWrt-Devel] [PATCH] [ramips] Adjust image size limit for the D-Link DIR-860L B1

2016-03-30 Thread Daniel Engberg
Currently the maximum image size defaults to 8Mbyte even though this model has 16Mbyte of flash memory. Tested and works on my device. Signed-off-by: Daniel Engberg --- diff --git a/target/linux/ramips/image/Makefile b/target/linux/ramips/image/Makefile index 0cfb8fb..2590e2b 100644 --- a

[OpenWrt-Devel] [PATCH] package/utils/usbutils: Update USB IDs list to snapshot 2015-12-17

2016-03-24 Thread Daniel Engberg
Updates USB IDs list to snapshot 2015-12-17 and changes copyright to 2016. Signed-off-by: Daniel Engberg --- diff --git a/package/utils/usbutils/Makefile b/package/utils/usbutils/Makefile index b1c058b..9b5470a 100644 --- a/package/utils/usbutils/Makefile +++ b/package/utils/usbutils/Makefile

[OpenWrt-Devel] [PATCH] package/libs/libusb: Update to 1.0.20

2016-03-24 Thread Daniel Engberg
Updates libusb to version 1.0.20 and changes copyright to 2016. Signed-off-by: Daniel Engberg --- diff --git a/package/libs/libusb/Makefile b/package/libs/libusb/Makefile index d2493fd..58536c0 100644 --- a/package/libs/libusb/Makefile +++ b/package/libs/libusb/Makefile @@ -1,5 +1,5

[OpenWrt-Devel] [PATCH] package/libs/lzo: update version to 2.09

2016-03-24 Thread Daniel Engberg
Updates lzo to version 2.09 and changes copyright to 2016. Signed-off-by: Daniel Engberg --- diff --git a/package/libs/lzo/Makefile b/package/libs/lzo/Makefile index 6a88a6f..d4e5e72 100644 --- a/package/libs/lzo/Makefile +++ b/package/libs/lzo/Makefile @@ -1,5 +1,5 @@ # -# Copyright (C) 2006

[OpenWrt-Devel] [PATCH] package/libs/lzo: update version to 2.09 (repost)

2016-02-25 Thread Daniel Engberg
Updates lzo to version 2.09 and changes copyright to 2016. Signed-off-by: Daniel Engberg --- diff --git a/package/libs/lzo/Makefile b/package/libs/lzo/Makefile index 6a88a6f..d4e5e72 100644 --- a/package/libs/lzo/Makefile +++ b/package/libs/lzo/Makefile @@ -1,5 +1,5 @@ # -# Copyright (C

[OpenWrt-Devel] [PATCH] package/utils/usbutils: Update USB IDs list

2016-02-24 Thread Daniel Engberg
Updates USB IDs list to snapshot 2015-12-17 and changes copyright to 2016. Signed-off-by: Daniel Engberg --- diff --git a/package/utils/usbutils/Makefile b/package/utils/usbutils/Makefile index b1c058b..9b5470a 100644 --- a/package/utils/usbutils/Makefile +++ b/package/utils/usbutils

[OpenWrt-Devel] [PATCH] package/libs/libusb: Update to 1.0.20

2016-02-24 Thread Daniel Engberg
Updates libusb to version 1.0.20 and changes copyright to 2016. Signed-off-by: Daniel Engberg --- diff --git a/package/libs/libusb/Makefile b/package/libs/libusb/Makefile index d2493fd..58536c0 100644 --- a/package/libs/libusb/Makefile +++ b/package/libs/libusb/Makefile @@ -1,5 +1,5

[OpenWrt-Devel] [PATCH] package/libs/lzo: update version to 2.09

2016-02-24 Thread Daniel Engberg
Updates lzo to version 2.09 and changes copyright to 2016. Signed-off-by: Daniel Engberg --- diff --git a/package/libs/lzo/Makefile b/package/libs/lzo/Makefile index 6a88a6f..d4e5e72 100644 --- a/package/libs/lzo/Makefile +++ b/package/libs/lzo/Makefile @@ -1,5 +1,5 @@ # -# Copyright (C