Re: [PATCH 1/3] generic: platform/mikrotik: make soft_config writable without 4K sectors

2022-01-09 Thread Sven Roederer
Am Dienstag, 21. Dezember 2021, 08:45:59 CET schrieb Oskari Lemmela: > Make soft_config writable in all cases. Performing soft_config commit > will fail if mtd partition is not writable. > > Signed-off-by: Oskari Lemmela > --- > .../drivers/platform/mikrotik/rb_softconfig.c | 17 +++---

Re: zram-swap: default to lzo instead of lzo-rle compression

2021-12-01 Thread Sven Roederer
Am Mittwoch, 1. Dezember 2021, 14:08:15 CET schrieb Rui Salvaterra: > Hi, Felix, > > On Wed, 1 Dec 2021 at 12:45, Felix Fietkau wrote: > > Maybe upstream would accept a simple makefile change that merges both > > into a single module without changing any of the source files. > > That's the most

Re: [PATCH] kernel: make zram honor available compressors when selecting the initial algo

2021-12-01 Thread Sven Roederer
Am Mittwoch, 1. Dezember 2021, 12:47:57 CET schrieb Rui Salvaterra: > Hi, Sven, > > [patch snipped] > > Why not just include the lzo-lre module in the lzo module package? We > already agreed they're basically inseparable. In fact, I remember I > had sent a patch [1] a while ago, in order to do ju

Re: zram-swap: default to lzo instead of lzo-rle compression

2021-11-30 Thread Sven Roederer
Am Montag, 29. November 2021, 10:57:37 CET schrieb Rui Salvaterra: > Hi, Sven, > > On Sun, 28 Nov 2021 at 01:40, Sven Roederer wrote: > > Rui, not sure if to call it a bug. At the end there is a hardcoded default > > algo in the module, that is used initially when cre

[PATCH] kernel: make zram honor available compressors when selecting the initial algo

2021-11-30 Thread Sven Roederer
openwrt-devel/2020-September/031430.html * 419f149e482641ddc520f80a7ab2038f7e2ebc8a Signed-off-by: Sven Roederer --- .../pending-5.4/801-zram_default-algo.patch | 109 ++ 1 file changed, 109 insertions(+) create mode 100644 target/linux/generic/pending-5.4/801-zram_default-algo.patch diff

Re: zram-swap: default to lzo instead of lzo-rle compression

2021-11-27 Thread Sven Roederer
Am Donnerstag, 17. September 2020, 12:11:19 CET schrieben Sie: > On Thu, 17 Sep 2020 at 10:38, e9hack wrote: > > Hi, > > > > I think commit 419f149e482641ddc520f80a7ab2038f7e2ebc8a is not the proper > > fix for the described issue. > > > > The kernel module lzo-rle is still missing. To solve thi

[21.02] netifd: backport "system-linux: fix deletion of ip tunnels (FS#4058)"

2021-11-13 Thread Sven Roederer
Hi, recently found the time to update my router to OpenWrt-21.02. All seems fine beside an issue with IPIP-tunnels. I was able to track this down to netifd. And I also found FS#4058 and the recent fix () pushed by Hans. As the patch cleanly applies to current 21.02-netifd, it would be great to

[PATCH] dropbear: add config options for agent-forwarding support

2021-07-15 Thread Sven Roederer
* SSH agent forwarding might cause security issues, locally and on the jump machine (https://defn.io/2019/04/12/ssh-forwarding/). So allow to completely disabling it. * separate options for client and server * keep it enabled by default Signed-of-by: Sven Roederer --- package/network

Re: [PATCH 2/3] base-files: failsafe: Start also CPU interface for DSA

2021-06-24 Thread Sven Roederer
Am Sonntag, 20. Juni 2021, 17:11:08 CEST schrieb Hauke Mehrtens: > On 6/20/21 4:30 PM, Sven Roederer wrote: > > > > The Rb750 is DSA, so it seems there is still something wrong. I'll retest > > with current master soon, to rule out issues based on 21.02-rc3. > > &

Re: [PATCH 2/3] base-files: failsafe: Start also CPU interface for DSA

2021-06-20 Thread Sven Roederer
Am Samstag, 19. Juni 2021, 20:36:10 CEST schrieb Hauke Mehrtens: > On a DSA switch the ports have an upper device, the CPU device, e.g. > eth0. This device has to be in up state to bring up the lower devices > like lan1. > > Parse the link device from "ip link show" and bring it into up stated > b

Re: OpenWrt 21.02.0 Third release candidate

2021-06-17 Thread Sven Roederer
Am Donnerstag, 17. Juni 2021, 21:22:34 CEST schrieb Hauke Mehrtens: > In particular, make sure to read the regressions and known issues before > upgrading: > https://openwrt.org/releases/21.02/notes-21.02.0-rc3#known_issues > just let me highlight FS#3866 (no network in failsafe) Sven _

Re: [PATCH v2] libopkg: pkg_hash: print unresolved dependencies

2021-06-09 Thread Sven Roederer
Am Dienstag, 8. Juni 2021, 21:48:40 CEST schrieb Hauke Mehrtens: > When a package is not installed because it has unresolved dependencies > normally we get only an error message like this: > * pkg_hash_fetch_best_installation_candidate: Packages for ltq-vdsl-app > found, but incompatible with the

Re: [PATCH luci] luci-mod-network: split config migration into 2 steps

2021-05-30 Thread Sven Roederer
Am Samstag, 29. Mai 2021, 18:10:59 CEST schrieb Hauke Mehrtens: > On 5/29/21 5:25 PM, Rafał Miłecki wrote: > > > > For the sake of simplicity and reliability use 2 steps migration. The > > downside is that users may get prompted twice to migrate. > > > > I tested it in OpenWrt 21.02 doing the mi

build-environment and pathlength

2021-05-26 Thread Sven Roederer
Hi, since some time I carry a patch along to fix running mkimage with a long pathname for $TOPDIR. Recently 5a9608102b3c4 was added to work around a similar issue in kernel2minor (also addressed by [1]) and I just found another when building uclibc++ . Based on this it might be required to add

Re: opkg fails to install manually downloaded packages

2021-05-18 Thread Sven Roederer
Hauke, thanks for the pointer. My comments in the original thread. Sven Am Sonntag, 16. Mai 2021, 23:34:04 CEST schrieb Hauke Mehrtens: > > I debugged a similar problem a week ago and added this patch to opkg: > https://patchwork.ozlabs.org/project/openwrt/patch/20210502205912.23753-1-ha > u..

Re: [PATCH opkg] libopkg: pkg_hash: print unresolved dependencies

2021-05-18 Thread Sven Roederer
Hi, Am Montag, 3. Mai 2021, 19:46:22 CEST schrieb Hauke Mehrtens: > On 5/3/21 2:38 PM, Baptiste Jonglez wrote: > > Hi, > > > > On 02-05-21, Hauke Mehrtens wrote: > >> When a package is not installed because it has unresolved dependencies > >> > >> normally we get only an error message like this:

Re: opkg fails to install manually downloaded packages

2021-05-16 Thread Sven Roederer
Hannu, thanks for your support to narrow this down. Am Sonntag, 2. Mai 2021, 18:43:20 CEST schrieb Hannu Nyman: > Sounds like a bug, but it should be named something like "Misleading opkg > catch-all error message 'incompatible architecture' " > Made https://bugs.openwrt.org/index.php?do=detail

Re: [PATCH v3 1/2] imagebuilder: unset BINARY_FOLDER and DOWNLOAD_FOLDER in final archive

2021-05-07 Thread Sven Roederer
Baptiste, Am Freitag, 7. Mai 2021, 14:12:21 CEST schrieb Baptiste Jonglez: > > Since these settings are hidden under "Advanced configuration options (for > developers)", I don't think it's really necessary to leave this kind of > implicit information, I would prefer having a valid .config file. >

[PATCH v4 2/2] sdk: unset BINARY_FOLDER and DOWNLOAD_FOLDER in final archives

2021-05-07 Thread Sven Roederer
pl to create Config.build. This addresses the same issue that's fixed in the previous commit for the imagebuilder. Signed-off-by: Sven Roederer --- target/sdk/convert-config.pl | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/target/sdk/convert-config.pl b/target/s

[PATCH v4 0/2] imagebuilder, sdk: unset BINARY_FOLDER and DOWNLOAD_FOLDER in final archives

2021-05-07 Thread Sven Roederer
This is v4 of this series including the findings and comments of Baptiste * use standard format of disabled config items for imagebuilder * remove unneeded and no-op SED call for SDK ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https

[PATCH v4 1/2] imagebuilder: unset BINARY_FOLDER and DOWNLOAD_FOLDER in final archive

2021-05-07 Thread Sven Roederer
ives via .config file. The expected behavior is that after unpacking the imagebuilder acts like these settings have their defaults, using intree folders. So unset the build-time settings. Signed-off-by: Sven Roederer --- target/imagebuilder/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff -

Re: [PATCH v3 2/2] sdk: unset BINARY_FOLDER and DOWNLOAD_FOLDER in final archives

2021-05-06 Thread Sven Roederer
Baptiste, Am Donnerstag, 6. Mai 2021, 13:08:56 CEST schrieb Baptiste Jonglez: > Hi, > > > > > target/sdk/Makefile | 1 + > > target/sdk/convert-config.pl | 8 +++- > > 2 files changed, 8 insertions(+), 1 deletion(-) > > > > diff --git a/target/sdk/Makefile b/target/sdk/Makefile >

Re: [PATCH v3 1/2] imagebuilder: unset BINARY_FOLDER and DOWNLOAD_FOLDER in final archive

2021-05-06 Thread Sven Roederer
Baptiste, Am Donnerstag, 6. Mai 2021, 13:13:46 CEST schrieb Baptiste Jonglez: > > > > + $(SED) 's/^CONFIG_BINARY_FOLDER=.*/# CONFIG_BINARY_FOLDER was reset by > > Imagebuilder/' $(PKG_BUILD_DIR)/.config + $(SED) > > 's/^CONFIG_DOWNLOAD_FOLDER=.*/# CONFIG_DOWNLOAD_FOLDER was reset by > > Image

Re: [PATCH v3 0/2] imagebuilder, sdk: unset BINARY_FOLDER and DOWNLOAD_FOLDER in final archives

2021-05-05 Thread Sven Roederer
Am Montag, 26. April 2021, 16:58:20 CEST schrieb Sven Roederer: > Using the BINARY_FOLDER or DOWNLOAD_FOLDER options make them escape from the > build-system to the system the archives run later. > As the build-time path will usually not work on the other system, restore > the int

Re: Installing OpenWrt 21.02 on the TP-Link AD7200

2021-05-03 Thread Sven Roederer
Hi Alex, great to hear that you was able to fix the complete support for this unit. Am Sonntag, 2. Mai 2021, 09:56:04 CEST schrieb Alex Henrie: > > I tried renaming the file to > > AD7200v1-up-ver2-0-1-P1[20170103-rel71053]_2017-01-04_10.08.28.bin to > > match the latest stock firmware and the we

Re: opkg fails to install manually downloaded packages

2021-05-01 Thread Sven Roederer
Am Samstag, 1. Mai 2021, 15:14:35 CEST schrieb Hannu Nyman: > Sven Roederer kirjoitti 30.4.2021 klo 22.43: > > ... > > Digging further I found installing online pulled librt in. Restarting from > > scratch ... > > Downloading librt and wall via wget and running `opkg

Re: opkg fails to install manually downloaded packages

2021-05-01 Thread Sven Roederer
Am Samstag, 1. Mai 2021, 15:14:35 CEST schrieb Hannu Nyman: > Sven Roederer kirjoitti 30.4.2021 klo 22.43: > > ... > > Digging further I found installing online pulled librt in. Restarting from > > scratch ... > > Downloading librt and wall via wget and running `opkg

Re: Installing OpenWrt 21.02 on the TP-Link AD7200

2021-04-30 Thread Sven Roederer
Am Freitag, 30. April 2021, 04:49:09 CEST schrieb Alex Henrie: > I haven't gotten a serial cable hooked up yet, but I tried with > another AD7200 router that is running stock firmware version 1.0.10 > and was not able to upload OpenWrt to it either. Its web interface > gives the error "Invalid file

Re: opkg fails to install manually downloaded packages

2021-04-30 Thread Sven Roederer
Am Freitag, 30. April 2021, 14:23:12 CEST schrieb Hannu Nyman: > Sven Roederer kirjoitti 30.4.2021 klo 1.44: > > Am Donnerstag, 29. April 2021, 01:54:34 CEST schrieb Sven Roederer: > >> Using a freshly installed OpenWrt 21.02 fails to install a package that > >> has &g

[21.02] cherry-pick "ath79: force SGMII SerDes mode to MAC operation"

2021-04-30 Thread Sven Roederer
Hi, there are reports about unstable ethernet-links for TPLink EAP2x5 devices in the forum [1]. I can confirm that cherry-picking fbbad9a9a629b388626b477e6cd692c160f63fb3 to 21.02 fixes it. Can somebody cherry-pick? Best Sven 1 - https://forum.openwrt.org/t/eap225-v1-lan-port-link-speed-100m

Re: [PATCH v2] imagebuilder, sdk: unset BINARY_FOLDER and DOWNLOAD_FOLDER in final archives

2021-04-29 Thread Sven Roederer
Adrian, Am Sonntag, 25. April 2021, 21:09:40 CEST schrieb Adrian Schmutzler: > Hi, > > > -Original Message- > > From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] > > On Behalf Of Sven Roederer > > Sent: Samstag, 24. April 20

Re: opkg fails to install manually downloaded packages

2021-04-29 Thread Sven Roederer
Am Donnerstag, 29. April 2021, 01:54:34 CEST schrieb Sven Roederer: > > Using a freshly installed OpenWrt 21.02 fails to install a package that has > been downloaded manually. I had seen this initially when using my own image > where a package was missing. To fix I copied over with sc

[21.02] opkg fails to install manually downloaded packages

2021-04-28 Thread Sven Roederer
Hi, I've seen this once, but just was able to double check ... Using a freshly installed OpenWrt 21.02 fails to install a package that has been downloaded manually. I had seen this initially when using my own image where a package was missing. To fix I copied over with scp and wanted to instal

[PATCH v3 2/2] sdk: unset BINARY_FOLDER and DOWNLOAD_FOLDER in final archives

2021-04-26 Thread Sven Roederer
e previous commit for the imagebuilder. Signed-off-by: Sven Roederer --- target/sdk/Makefile | 1 + target/sdk/convert-config.pl | 8 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/target/sdk/Makefile b/target/sdk/Makefile index 0606621192..5330d14955 100644 --

[PATCH v3 0/2] imagebuilder, sdk: unset BINARY_FOLDER and DOWNLOAD_FOLDER in final archives

2021-04-26 Thread Sven Roederer
Using the BINARY_FOLDER or DOWNLOAD_FOLDER options make them escape from the build-system to the system the archives run later. As the build-time path will usually not work on the other system, restore the intree defaults. ___ openwrt-devel mailing l

[PATCH v3 1/2] imagebuilder: unset BINARY_FOLDER and DOWNLOAD_FOLDER in final archive

2021-04-26 Thread Sven Roederer
ives via .config file. The expected behavior is that after unpacking the imagebuilder acts like these settings have their defaults, using intree folders. So unset the build-time settings. Signed-off-by: Sven Roederer --- target/imagebuilder/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff -

[PATCH v2] imagebuilder, sdk: unset BINARY_FOLDER and DOWNLOAD_FOLDER in final archives

2021-04-24 Thread Sven Roederer
e passed into the archives via .config for the imagebuilder and via Config.in and Config.build for the sdk. The expected behavior is that after unpacking sdk and imagebuilder act like these settings have the default, using intree folders. So unset or filter out the build- time settings. Signed-off-by:

[PATCH] toolchain: use xz compression

2021-04-20 Thread Sven Roederer
Also use xz compression, as we do for sdk and imagebuilder. Signed-off-by: Sven Roederer --- target/toolchain/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/target/toolchain/Makefile b/target/toolchain/Makefile index c3ba70db04..cf34a89e04 100644 --- a/target

Re: [PATCH] build: prereq: drop support for Python 3.5

2021-04-17 Thread Sven Roederer
Am Samstag, 17. April 2021, 16:45:01 CEST schrieb Sven Roederer: > On my Ubuntu 16.04 based build-system I also have build-failures for meson > using Python3.5. Correction: it's a 18.04 LTS ... Sven ___ openwrt-devel mailing list op

Re: [PATCH] build: prereq: drop support for Python 3.5

2021-04-17 Thread Sven Roederer
Hi, Am Dienstag, 16. Februar 2021, 17:17:17 CEST schrieb Petr Štetiar: > > > The meson build system bumped their python requirement to 3.6 for the > > 0.57.0 release. This patch ensures that OpenWrt can update meson while > > still relying on the host python. > > Current buildbot images are bas

Re: [PATCH 21.02] feeds: freifunk: use mirror from openwrt.org

2021-04-17 Thread Sven Roederer
Am Sonntag, 21. Februar 2021, 20:13:40 CEST schrieb Petr Štetiar: Hi, > > > I have submitted two PR's to remove the freifunk feed from master and > > openwrt-21.02. > > thank you for the heads up, I'm just wondering why we should left > openwrt-19.07[1] behind? > > 1. https://git.openwrt.org/2a

Re: firmware-utils: mkmylofw broken since 9. Apr 2021

2021-04-13 Thread Sven Roederer
Hi Rafał, thanks for picking this up soo quickly. Am Dienstag, 13. April 2021, 14:02:10 CEST schrieb Rafał Miłecki: > > The original code comes from Florian from the 2007 commit 7b564bfdcbef > > ("Fix potential unligned access with MyLoader based devices, thanks > > Juhos") > > > > https://git.o

Re: Strongswan 6.0 removing ipsec CLI

2021-04-13 Thread Sven Roederer
Philip, I already read about deprecating ipsec tool someyears ago and started to use swanctl. I hacked some scripts together on one of my nodes to not use ipsec- cli. (Sadly I stopped at some point, without making it useable outside of my "lab" to pubish / share.) By the time I became a fan of s

firmware-utils: mkmylofw broken since 9. Apr 2021

2021-04-12 Thread Sven Roederer
Hi, since some days my master builds failing for ath79-generic. I was able to narrow it to running "mkmylofw for compex_wpj344-16m". The tool runs till the drive is full, currently my "compex_wpj344-16m- squashfs-cpximg-6a08.bin.new" is 161GB and growing ... Has anyone else seen this? I'll check

[PATCH] imagebuilder: unset BINARY_FOLDER and DOWNLOAD_FOLDER in imagebuilder archive

2021-04-11 Thread Sven Roederer
ion denied Makefile:116: recipe for target '_call_image' failed make[2]: *** [_call_image] Error 1 Makefile:241: recipe for target 'image' failed make[1]: *** [image] Error 2 Signed-off-by: Sven Roederer --- target/imagebuilder/Makefile | 2 ++ 1 file changed, 2 insertions(+) di

[21.02] cherry-pick missing kernel-symbol "RTC_DRV_JZ4740"

2021-04-03 Thread Sven Roederer
Happy easter all and thanks for branching 21.02. Holidays and lockdown give me some time to keep-up with OpenWrt. During this I found that 21.02 is still missing the kernel-CONFIG for RTC_DRV_JZ4740 Can someone cherry-pick 55ed4bf6d7bf80b705d015c3b73f772db485ba9c into 21.02 to fix? Best Sven

Re: ath10k-ct all hash values are different?

2021-01-13 Thread Sven Roederer
Ben, seems to me, that at least "firmware-5-ct-full-community-12.bin-lede.013" is still not recovered. File is there, but contains only 0x00. This seems to cause my fresh build of 19.07.5 to fail. + curl -f --connect-timeout 20 --retry 5 --location --insecure https:// www.candelatech.com/downlo

Re: [PATCH v2] base-files: restore status of system-services after sysupgrade

2021-01-12 Thread Sven Roederer
Am Dienstag, 12. Januar 2021, 13:01:45 CET schrieb Adrian Schmutzler: > > Hello, > > You don't have to run such complicated script. Just restore /etc/rc.d/ > > directory after upgrade. > > Well, that depends on how we want to deal with new services. If I upgrade > from 19.07.5 to master, I'd expec

Re: [PATCH v2] base-files: restore status of system-services after sysupgrade

2021-01-12 Thread Sven Roederer
Am Dienstag, 12. Januar 2021, 19:56:54 CET schrieb Hannu Nyman: > Martin Schiller kirjoitti 12.1.2021 klo 9.25: > > On 2021-01-11 23:07, Sven Roederer wrote: > >> Restore the status of the system-services after sysupgrade. > >> Create a file with the status of all known

Re: [PATCH] base-files: sysupgrade: store status of system-services

2021-01-11 Thread Sven Roederer
Am Montag, 11. Januar 2021, 03:59:51 CET schrieb Alberto Bursi: > On 10/01/21 22:40, Sven Roederer wrote: > > Am Sonntag, 10. Januar 2021, 09:47:27 CET schrieb Andre Heider: > >>> Same. I would personally like this as default sysupgrade procedure, as > >>>

[PATCH v2] base-files: restore status of system-services after sysupgrade

2021-01-11 Thread Sven Roederer
as: /etc/init.d/ {enable|disable} When upgrading with an generic image all system services are enabled by default which is usually not expected and can cause trouble. The default behavior can be flipped with the "-s" option of sysupgrade. Signed-off-by: Sven Roederer --- This v2 in

Re: [PATCH] base-files: sysupgrade: store status of system-services

2021-01-10 Thread Sven Roederer
Am Sonntag, 10. Januar 2021, 09:47:27 CET schrieb Andre Heider: > > Same. I would personally like this as default sysupgrade procedure, as > > that's what makes most sense imho. > > If I have disabled a service it makes sense that after a firmware > > upgrade it remains disabled. > > Seconded. >

Re: [PATCH] base-files: sysupgrade: store status of system-services

2021-01-10 Thread Sven Roederer
Am Samstag, 9. Januar 2021, 12:28:31 CET schrieb Stijn Segers: > > @@ -228,6 +229,7 @@ do_save_conffiles() { > > > > if [ "$SAVE_INSTALLED_PKGS" -eq 1 ]; then > > echo "${INSTALLED_PACKAGES}" >> "$CONFFILES" > > + echo "${SERVICE_STATUS}" >> "$CONFFILES" > > mkdir -p "$ETCBACKUP_DIR"

[PATCH] base-files: sysupgrade: store status of system-services

2021-01-03 Thread Sven Roederer
When saving the list of installed pkgs, also store the status of the system services. The list is created in the etc/backup folder also and formated as: /etc/init.d/ {enable|disable} This way it can be sourced after sysupgrade, to restore the previous state. Signed-off-by: Sven Roederer

LuCI: split luci.mk into a common and a feed-internal file

2021-01-01 Thread Sven Roederer
Hi, based on Pauls recent idea "rules: add findrev function from LuCI" of reusing some LuCI-code, I'd like to point to a github-PR with a related suggestion: https://github.com/openwrt/luci/pull/2637 As noted in the PR-message, it splits the current luci.mk file into two files. One for common

build-requirements when using the Imagebuilder

2021-01-01 Thread Sven Roederer
Hi, based on the recent changes to the tools required when using the imagebuilder, I wonder If there are more tools that can be excluded for this case. Candidates I see here are: * patch * unzip * bzip2 * Perl 5.x (including Data::Dumper, Thread::Queue) * Python * Git * rsync This list is just g

Re: [PATCH] build/prereq: merge ifndef IB block together

2021-01-01 Thread Sven Roederer
Am Donnerstag, 31. Dezember 2020, 20:35:47 CET schrieb Paul Spooren: > > Merged and backported. > I think 4f3806364011aa3aef26fcab2e7b71837a777bcc needs to be backported too, to make it work. Sven ___ openwrt-devel mailing list openwrt-devel@lis

Re: [PATCH] build/prereq: merge ifndef IB block together

2021-01-01 Thread Sven Roederer
Am Mittwoch, 30. Dezember 2020, 05:23:41 CET schrieb Paul Spooren: > Multiple prereq checks are only required within the build system but not > for the ImageBuilder. These checks are excluded by using ifndef IB. > > This commit merges the three ifndef IB blocks together. Happy new year to all. W

Re: [OpenWrt-Devel] linux5.4: build-dependency to rsync

2020-12-07 Thread Sven Roederer
Am Freitag, 2. Oktober 2020, 21:34:30 CET schrieb Sven Roederer: > Am Sonntag, 19. April 2020, 11:32:03 CEST schrieb Bjørn Mork: > > Sven Roederer writes: > > > I was just building a master-branch for x86-generic and got following > > > error: > > > > >

Re: [RFC PATCH 2/5] kernel: deactivate usb on ath79-tiny

2020-12-06 Thread Sven Roederer
Am Sonntag, 6. Dezember 2020, 14:05:15 CET schrieb Adrian Schmutzler: > > Apart from that, I don't see disabling basic features like USB on a device > with USB ports as an option for pure OpenWrt. > Disabling USB was just a pragmatic solution, as without SCSI-support, partition-handling and USB

Re: [RFC 0/5] ath79: add a lower RAM-using version of 8/32 devices

2020-12-06 Thread Sven Roederer
Am Sonntag, 6. Dezember 2020, 11:03:56 CET schrieb Baptiste Jonglez: > Hi, > > On 06-12-20, Sven Roederer wrote: > > Currently 8MB flash / 32MB RAM devices are fully supported in OpenWrt, as > > they work quite well for basic usage (including full LuCI). > > On

Re: [RFC 0/5] ath79: add a lower RAM-using version of 8/32 devices

2020-12-06 Thread Sven Roederer
Am Sonntag, 6. Dezember 2020, 13:59:52 CET schrieb Adrian Schmutzler: > > -Original Message- > > From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] > > On Behalf Of Sven Roederer > > Sent: Sonntag, 6. Dezember 2020 02:07 > > To: openwrt-devel

[RFC PATCH 3/5] ath79: deactivate PARTITION_ADVANCED

2020-12-05 Thread Sven Roederer
on this low-end hardware it's nearly impossible to add external drives, so there seems no need for this partition-type. this will safe some kernel-size --- target/linux/ath79/tiny/config-default | 1 + 1 file changed, 1 insertion(+) diff --git a/target/linux/ath79/tiny/config-default b/target/li

[RFC PATCH 2/5] kernel: deactivate usb on ath79-tiny

2020-12-05 Thread Sven Roederer
From: adminuser --- target/linux/ath79/image/tiny-tp-link.mk | 4 target/linux/ath79/image/tiny-ubnt.mk| 2 -- target/linux/ath79/image/tiny.mk | 1 - target/linux/ath79/tiny/config-default | 5 +++-- 4 files changed, 3 insertions(+), 9 deletions(-) diff --git a/target/linux/

[RFC PATCH 1/5] ath79: put some 8/32MB devices to tiny subtarget

2020-12-05 Thread Sven Roederer
WR1043v1; WR842v1/v2; WR710 Signed-off-by: Sven Roederer --- target/linux/ath79/image/Makefile | 1 + target/linux/ath79/image/common-tp-link.mk| 2 + target/linux/ath79/image/tiny-tp-link.mk | 66 + target/linux/ath79/image/tiny-ubnt.mk | 132

[RFC PATCH 4/5] kernel: ath79-tiny deactivate usually not needed features

2020-12-05 Thread Sven Roederer
From: adminuser this includes: * CONFIG_AIO * CONFIG_HAVE_IDE * CONFIG_NVMEM * CONFIG_DEBUG_FS * CONFIG_DEBUG_KERNEL * CONFIG_HAVE_DEBUG_KMEMLEAK * CONFIG_HAVE_DEBUG_STACKOVERFLOW * CONFIG_ISDN * CONFIG_SND_DRIVERS * CONFIG_STAGING * CONFIG_HAVE_KVM * CONFIG_VIRTIO_MENU --- target/linux/ath79/ti

[RFC PATCH 5/5] kernel: ath79-tiny: enable CONFIG_BLOCK

2020-12-05 Thread Sven Roederer
From: adminuser --- target/linux/ath79/tiny/config-default | 1 + 1 file changed, 1 insertion(+) diff --git a/target/linux/ath79/tiny/config-default b/target/linux/ath79/tiny/config-default index 5dcdf30af4..f686d284f6 100644 --- a/target/linux/ath79/tiny/config-default +++ b/target/linux/ath7

[RFC 0/5] ath79: add a lower RAM-using version of 8/32 devices

2020-12-05 Thread Sven Roederer
Currently 8MB flash / 32MB RAM devices are fully supported in OpenWrt, as they work quite well for basic usage (including full LuCI). On some projects with advanced features (e.g. Freifunk) the lack of RAM turns them into unstable devices. Mostly caused by several OOM problems per day. This serie

Re: [PATCH] base-files: flush kernel memory cache during sysupgrade

2020-12-05 Thread Sven Roederer
Am Dienstag, 24. November 2020, 07:39:48 CET schrieb Hannu Nyman: > Flush kernel memory caches during sysupgrade in order > to mitigate the impact from memory consumption spikes > in low-RAM devices. > > This may help to prevent sysupgrade causing a reboot > before the actual flashing starts. > >

[PATCH] procd: also depend on jshn

2020-12-05 Thread Sven Roederer
fixes "file no found" error on stripped down images, caused by prod.sh:43. Signed-off-by: Sven Roederer --- package/system/procd/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/system/procd/Makefile b/package/system/procd/Makefile index

Re: running custom commands during sysupgrade -

2020-11-23 Thread Sven Roederer
Am Sonntag, 22. November 2020, 18:07:05 CET schrieb Hannu Nyman: > Adrian Schmutzler wrote at Fri Oct 16 19:15:38 EDT 2020: > > Fortunately, and I don't fully understand why, we were able to drive this > > to effectively zero by simply running > > > echo 3 > /proc/sys/vm/drop_caches > > direct

Re: running custom commands during sysupgrade - to free ram

2020-11-21 Thread Sven Roederer
Am Sonntag, 18. Oktober 2020, 18:59:19 CET schrieb Sven Roederer: > > > fail --- > > > root@gib-mir-einen-namen:~# cat /lib/upgrade/freifunk-berlin_freeup- > > > ram.sh > > > ffberlin_freeup_ram() { > > > > > >

Re: running custom commands during sysupgrade -

2020-10-18 Thread Sven Roederer
Am Samstag, 17. Oktober 2020, 01:15:38 CEST schrieb Adrian Schmutzler: > Hi Sven, > > > -Original Message- > > From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] > > On Behalf Of Sven Roederer > > Sent: Samstag, 17. Oktober 20

running custom commands during sysupgrade -

2020-10-16 Thread Sven Roederer
Hi, based on my setup for some 8/32 MB devices I'd like to run a custom script before / during sysupgrade. The main task of the script should be to free additional RAM, as I suspect some soft-bricks and aborted upgrades to a OOM- situation. To me the /lib/upgrade folder seems a good place to a

Re: [PATCH] build, imagebuilder: Do not require compilers

2020-10-06 Thread Sven Roederer
Am Dienstag, 29. September 2020, 09:35:20 CEST schrieb Paul Spooren: > On Sun Sep 27, 2020 at 11:07 AM HST, Sven Roederer wrote: > > The buildroot and SDK both require the compilers (gcc, g++) to be > > installed on the host system, however the ImageBuilder uses precompil

Re: ath79: move 8/32 boards to tiny subtarget

2020-10-06 Thread Sven Roederer
Am Samstag, 3. Oktober 2020, 19:16:51 CEST schrieb Paul Oranje: > > Op 21 sep. 2020, om 20:42 heeft Sven Roederer het > > volgende geschreven: > > > > Fernando, > > > > I'm only talking on the boards having 32MB RAM. This includes 4MB / 8MB > > f

Re: [OpenWrt-Devel] linux5.4: build-dependency to rsync

2020-10-02 Thread Sven Roederer
Am Sonntag, 19. April 2020, 11:32:03 CEST schrieb Bjørn Mork: > Sven Roederer writes: > > I was just building a master-branch for x86-generic and got following > > error: > > > > make[5]: Entering directory '/mnt/local/btrfs/build/freifunk/ffberlin/ > >

[PATCH] build, imagebuilder: Do not require compilers

2020-09-27 Thread Sven Roederer
libncurses-dev in 4a1a58a3e2d2. Signed-off-by: Sven Roederer --- include/prereq-build.mk | 4 1 file changed, 4 insertions(+) diff --git a/include/prereq-build.mk b/include/prereq-build.mk index 4637c6ca50..f67a01299e 100644 --- a/include/prereq-build.mk +++ b/include/prereq-build.mk

Re: ath79: move 8/32 boards to tiny subtarget

2020-09-26 Thread Sven Roederer
Am Sonntag, 20. September 2020, 15:32:52 CEST schrieb Sven Roederer: > > Actually, this narrows down to a question that struck me several times > > already: > > > > Now, that 4 MB flash devices are not "supported" anymore, how should we > > deal with the &q

Re: ath79: move 8/32 boards to tiny subtarget

2020-09-21 Thread Sven Roederer
Fernando, I'm only talking on the boards having 32MB RAM. This includes 4MB / 8MB flash boards. I'm not having the 8/64 boards in mind. They are fine and should work for some furture releases Sven Am Montag, 21. September 2020, 00:24:00 CEST schrieb Fernando Frediani: > I have some concern to

Re: ath79: move 8/32 boards to tiny subtarget

2020-09-20 Thread Sven Roederer
Am Sonntag, 20. September 2020, 00:21:44 CEST schrieb Adrian Schmutzler: > > Indeed "LOW_MEMORY_FOOTPRINT" seems only to affedt 3 general options > > and one option of OpenSSL. > > > > So it might be an option to : > > * set LOW_MEM for 8/32 MB devies > > * set LOW_MEM and SMALL_FLASH for 4/32 MB

Re: ath79: move 8/32 boards to tiny subtarget

2020-09-19 Thread Sven Roederer
Hello David, Am Freitag, 18. September 2020, 09:44:10 CEST schrieb David Bauer: > Hello Sven, > > On 9/18/20 1:27 AM, Sven Roederer wrote: > > Adrian, David, > > > > Am Mittwoch, 16. September 2020, 16:15:42 CEST schrieb David Bauer: > >> Hi, > >>

Re: zram-swap: default to lzo instead of lzo-rle compression

2020-09-17 Thread Sven Roederer
Am Donnerstag, 17. September 2020, 11:38:42 CEST schrieb e9hack: >The kernel module lzo-rle is still missing. To solve this, it must be > installed on the root-fs: > > diff --git a/package/kernel/linux/modules/lib.mk > b/package/kernel/linux/modules/lib.mk index 1289cc1f25..fade8a5cfd 100644 > ---

Re: ath79: move 8/32 boards to tiny subtarget

2020-09-17 Thread Sven Roederer
Adrian, David, Am Mittwoch, 16. September 2020, 16:15:42 CEST schrieb David Bauer: > Hi, > > On 9/16/20 11:40 AM, Adrian Schmutzler wrote: > >> -Original Message- > >> From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] > >> On Behalf

ath79: move 8/32 boards to tiny subtarget

2020-09-16 Thread Sven Roederer
Hi, not sure if this has been discussed before. I recently worked with some 8/32 boards (Ubiquiti Nanostation M (XM), TPLink WR842 v2) for our Freifunk-project and realized that the low RAM situation requires quite different handling than the full boards (8+/64+). I wonder if there is a reason

Re: tplink-safeloader support-list on CPE/WBS devices

2020-08-30 Thread Sven Roederer
Am Sonntag, 30. August 2020, 22:43:32 CEST schrieb Adrian Schmutzler: > Hi, > > while increasing the kernel partition for the TP-Link CPE devices, I found > that the partitions called "soft-version" and "support-list" are handled as > a part of the file-system/firmware partition, in contrast to al

Re: [OpenWrt-Devel] [PATCH] build, imagebuilder: Do not require libncurses-dev

2020-06-08 Thread Sven Roederer
Am Dienstag, 14. April 2020, 23:14:47 CEST schrieb Paul Spooren: > The buildroot and SDK both require `libncurses-dev` to be installed on > the system, however the ImageBuilder uses precompiled binaries. > > This patch changes the prerequirements checks to skip the > `libncurses-dev` part if runni

Re: [OpenWrt-Devel] olsrd: not compiling with gcc 9

2020-06-07 Thread Sven Roederer
Am Sonntag, 7. Juni 2020, 23:39:08 CEST schrieb Rosen Penev: > > Le 7 juin 2020 à 1:38 PM, Nick a écrit : > > > > I would suggest doing this PR as patch like freifunk berlin is doing it: > > https://github.com/freifunk-berlin/firmware/commit/93f9a026e025c7b663369f5 > > 284cec0bb91345220 > Someon

Re: [OpenWrt-Devel] building python3 packages outside of lang/python3

2020-05-01 Thread Sven Roederer
Am Freitag, 1. Mai 2020, 20:20:05 CEST schrieb Alexandru Ardelean: > On Fri, May 1, 2020 at 7:04 PM Michael Richardson wrote: > > hi, > > python packages include ../python3-package.mk, and pypi.mk > > > > But I can't do that from my own feed directory. > > I don't want to copy the file!! > > > >

[OpenWrt-Devel] [PATCH] dnsmasq: add /etc/dnsmasq.d/ to conffiles

2020-04-24 Thread Sven Roederer
This directory can hold configuration-snippets which should also included in the backup. Signed-off-by: Sven Roederer --- package/network/services/dnsmasq/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/network/services/dnsmasq/Makefile b/package/network

[OpenWrt-Devel] linux5.4: build-dependency to rsync

2020-04-18 Thread Sven Roederer
Hi, I was just building a master-branch for x86-generic and got following error: make[5]: Entering directory '/mnt/local/btrfs/build/freifunk/ffberlin/ firmware/openwrt/build_dir/toolchain-i386_pentium4_gcc-8.4.0_musl/ linux-5.4.28' INSTALL /mnt/local/btrfs/build/freifunk/ffberlin/firmware/open

[OpenWrt-Devel] changes in UCI-reply after lede-17.01

2020-04-12 Thread Sven Roederer
Hi, I took out an shell-script that I used on lede-17.01 to work with uci network configuration. The script is iterating over all interfaces an checks for the physical devices attached to it. With lede-17.01 I was able to query the "ifname"-option to get the interfacename and "devices"-option r

Re: [OpenWrt-Devel] Is it possible to create two images for the same device with a different set of DEVICE_PACKAGES?

2020-04-10 Thread Sven Roederer
Am Dienstag, 7. April 2020, 16:22:37 CEST schrieb Hannu Nyman: > I do not think that there is a nice clean solution, as I do not remember > seeing a solution of different packages for iniramfs, factory and sysupgrade > images. > > I would approach that with a two-step build process, using two .con

Re: [OpenWrt-Devel] [19.07] kernel: avoid underscore in *6lowpan package names

2020-02-22 Thread Sven Roederer
Am Dienstag, 18. Februar 2020, 21:47:20 CET schrieb Eneas U de Queiroz: > Packages kmod-bluetooth_6lowpan and kmod-ieee802154_6lowpan contain an > underscore in the package name. This causes problems in package/install > because when building a list of package files to install offline using > opkg

Re: [OpenWrt-Devel] [19.07] backport "build: have scripts/feeds honor all toplevel .mk-files of a feed"

2020-02-16 Thread Sven Roederer
Am Freitag, 27. Dezember 2019, 21:42:09 CET schrieb devel-s...@geroedel.de: > Hi, > > can anyone cherry-pick b81cee86e63d4421072839ec8a3780d8afff9337 to 19.07 > ? > This commit was added to master in Oct 2019. Picking this to 19.07 would also here in this release. Or do you expect any issues c

Re: [OpenWrt-Devel] [PATCH 19.07] ath79: add support for gl-ar750

2019-12-19 Thread Sven Roederer
Paul, Am Samstag, 14. Dezember 2019, 00:10:28 CET schrieb Paul Fertser: > Also, if you're going to improve the patch, I've noticed you have no > DTS designations for how the LEDs are to be used (aliases for led-boot > etc) and no label_mac assignment. Not sure if that's important. As the router i

Re: [OpenWrt-Devel] [PATCH 19.07] ath79: add support for gl-ar750

2019-12-13 Thread Sven Roederer
Am Freitag, 13. Dezember 2019, 21:07:23 CET schrieb Paul Fertser: > Hello, > > On Fri, Dec 13, 2019 at 08:50:46PM +0100, Sven Roederer wrote: > > .../ath79/base-files/etc/board.d/02_network | 5 + > > .../etc/hotplug.d/firmware/11-ath10k-caldata | 1 + > > .../

Re: [OpenWrt-Devel] [PATCH 19.07] ath79: add support for gl-ar750

2019-12-13 Thread Sven Roederer
Adrian, it's just that I've this patch around for some time, as I use this device on 19.07. So just sharing this patch ... Sven Am Freitag, 13. Dezember 2019, 21:21:14 CET schrieb Adrian Schmutzler: > Hi Sven, > > so, the primary question remains unanswered: Why should exactly this device > be

[OpenWrt-Devel] [PATCH 19.07] ath79: add support for gl-ar750

2019-12-13 Thread Sven Roederer
switch - Button: 1x reset button - LED: 3x LEDS (white) Flash instruction: Support for sysupgrade directive upgrades, as well as luci upgrades. Signed-off-by: Luochongjun (cherry picked from commit 921675a2d148330a7ec44f10ea4d583b8d7b5a44) [backported to 19.07] Signed-off-by: Sven Roederer

[OpenWrt-Devel] [PATCH] ipq40xx: fritz4040 depends on uboot-fritz4040

2019-11-09 Thread Sven Roederer
The "append-uboot" macro is looking for the file "$(STAGING_DIR_IMAGE)/uboot-fritz4040.bin" which is provided by the u-boot-fritz4040 package. If this is not build, image creation will fail with "file not found". Signed-off-by: Sven Roederer --- target/linux/ip

  1   2   >