[PATCH] wireless: add comments to functions

2021-01-08 Thread Alexander Couzens
Signed-off-by: Alexander Couzens --- wireless.c | 42 ++ 1 file changed, 42 insertions(+) diff --git a/wireless.c b/wireless.c index 818f7c994da8..4422656065b0 100644 --- a/wireless.c +++ b/wireless.c @@ -11,6 +11,21 @@ * MERCHANTABILITY or FITNESS

[PATCH] ramips: fix partition layout of xiaomi mi router 4a 100mbit

2021-01-08 Thread Alexander Couzens
The partition layout doesn't match the partition layout read out by OEM version. It's unclear to me if different firmware version have different partition layouts. --- target/linux/ramips/dts/mt7628an_xiaomi_mi-router-4a-100m.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff

[OpenWrt-Devel] [PATCH] musl: use official release tar

2020-06-05 Thread Alexander Couzens
To prevent "wrong" musl packages which have a new version number but the package still contains an old version, because PKG_SOURCE_VERSION was unchanged. Ref: musl ml https://www.openwall.com/lists/musl/2020/05/22/4 Signed-off-by: Alexander Couzens --- toolchain/musl/common.mk | 9 ++

[OpenWrt-Devel] [PATCH] musl: use official release tar

2020-05-22 Thread Alexander Couzens
Signed-off-by: Alexander Couzens --- toolchain/musl/common.mk | 9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/toolchain/musl/common.mk b/toolchain/musl/common.mk index e1354f263510..6a595771086d 100644 --- a/toolchain/musl/common.mk +++ b/toolchain/musl/common.mk

Re: [OpenWrt-Devel] [PATCH 1/2] treewide: convert MAC address location offsets to hexadecimal

2019-08-05 Thread Alexander Couzens
On Mon, 5 Aug 2019 15:48:16 +0200 Adrian Schmutzler wrote: > This changes the offsets for the MAC address location in > mtd_get_mac_binary* and mtd_get_mac_text to hexadecimal notation. Acked-by: Alexander Couzens pgp6CWMu3x9xI.pgp Description: OpenPGP digital sig

Re: [OpenWrt-Devel] [PATCH 2/2] treewide: convert WiFi caldata size and offset to hexadecimal

2019-08-05 Thread Alexander Couzens
sed for mtd-cal-data in DTS files. > > Since dd cannot deal with hexadecimal notation, one has to convert > back to decimal by simple $(($hexnum)). > > Signed-off-by: Adrian Schmutzler Acked-by: Alexander Couzens pgpUmBtMdNkt0.pgp Descript

Re: [OpenWrt-Devel] [PATCH] phytool: add phytool utility

2019-06-16 Thread Alexander Couzens
Hi Christan, > phytool is a Linux MDIO register access utility. thank you. I've looked from time to time for such utility when debugging network drivers & phys. Acked-By: Alexander Couzens Best, lynxis pgpLAsyY5y4fg.pgp Description: OpenPGP digital si

[OpenWrt-Devel] [PATCH][buildbot] phase1: build kernel reproducible

2019-06-07 Thread Alexander Couzens
Set CONFIG_KERNEL_BUILD_DOMAIN and CONFIG_KERNEL_BUILD_USER to buildbot@openwrt Signed-off-by: Alexander Couzens --- phase1/master.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phase1/master.cfg b/phase1/master.cfg index f5068675bafc..765d9dea0fd9 100644 --- a/phase1

Re: [OpenWrt-Devel] coverity results are now public

2019-03-10 Thread Alexander Couzens
> > I changed the project to allow everybody to view the defects. > > can you please try harder? :-) I can view some stats, but no details > about actual defects. Am I doing it wrong? maybe it needs another run of the coverity scan. but I set it already to the option to allow everybody. If

[OpenWrt-Devel] [PATCH] mac80211: netifd: Use a mask when using `iw set antenna`

2019-03-09 Thread Alexander Couzens
The keyword "all" is only supported by `iw set antenna` if it's used as the only argument. Convert "all" into a mask before calling `iw set antenna`. Signed-off-by: Alexander Couzens --- package/kernel/mac80211/Makefile | 2 +- .../kernel/mac80

[OpenWrt-Devel] coverity results are now public

2019-03-04 Thread Alexander Couzens
://scan.coverity.com/projects/openwrt -- Alexander Couzens mail: lyn...@fe80.eu jabber: lyn...@fe80.eu gpg: 390D CF78 8BF9 AA50 4F8F F1E2 C29E 9DA6 A0DF 8604 pgpDRLFKuPye7.pgp Description: OpenPGP digital signature ___ openwrt-devel mailing list openwrt-devel

Re: [OpenWrt-Devel] [PATCH 1/2] omap: fix build without ext4 rootfs

2019-01-31 Thread Alexander Couzens
On Thu, 31 Jan 2019 11:12:24 +0100 Andre Heider wrote: > Same fix as 7b76219e, just for omap. > > Signed-off-by: Andre Heider merged both patches. Thanks! - lynxis pgp5nt0SPYX5Q.pgp Description: OpenPGP digital signature ___ openwrt-devel mailing

[OpenWrt-Devel] coverity: ignore kernel directory

2018-11-10 Thread Alexander Couzens
-ignore rule. PPS. There are no real statistics, except your own faked ones ;) -- Alexander Couzens mail: lyn...@fe80.eu jabber: lyn...@fe80.eu mobile: +4915123277221 gpg: 390D CF78 8BF9 AA50 4F8F F1E2 C29E 9DA6 A0DF 8604 pgptBZ5xVDPHc.pgp Description: OpenPGP digital signature

Re: [OpenWrt-Devel] [PATCH] ramips: fix leds on GL.iNet GL-MT300N-V2

2018-11-02 Thread Alexander Couzens
Hi hexa, thanks for your patch. Best, lynxis pgp1unm40nrM4.pgp Description: OpenPGP digital signature ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

[OpenWrt-Devel] automated hardware test setup

2018-08-13 Thread Alexander Couzens
to see. Best, lynxis [0] (german) https://prototypefund.de/project/automatisches-hardware-testsystem-fuer-openwrt/ [1] (software) https://validation.linaro.org/ [2] (instance) https://lava.fe80.eu/ [3] (code) https://code.fe80.eu/openwrt-lava/ -- Alexander Couzens mail: lyn...@fe80.eu jabber: lyn

[OpenWrt-Devel] [PATCH] package/iperf: fix build for non-ipv6 builds

2018-07-12 Thread Alexander Couzens
Signed-off-by: Alexander Couzens --- package/network/utils/iperf/Makefile | 6 +++- .../patches/0001-fix-non-ipv6-builds.patch| 36 +++ 2 files changed, 41 insertions(+), 1 deletion(-) create mode 100644 package/network/utils/iperf/patches/0001-fix-non-ipv6

[OpenWrt-Devel] [PATCH 2/2] nmea.c: check return value of timegm() for errors

2018-06-29 Thread Alexander Couzens
Found-By: Coverity Fixes CID 1432784 --- nmea.c | 27 +-- 1 file changed, 17 insertions(+), 10 deletions(-) diff --git a/nmea.c b/nmea.c index 242bc21eda59..8bd91bb35f9a 100644 --- a/nmea.c +++ b/nmea.c @@ -97,19 +97,26 @@ nmea_rmc_cb(void) DEBUG(3, "date:

[OpenWrt-Devel] [PATCH 1/2] nmea.c: Add null byte to nmea fields

2018-06-29 Thread Alexander Couzens
Either the main.c treat them as non-null terminated strings or nmea adds a null byte to the fields. Found-by: Coverity Fixes CID 1431321 1431098 --- nmea.c | 12 ++-- nmea.h | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/nmea.c b/nmea.c index

[OpenWrt-Devel] [PATCH][v3] iprule: rework interface based rules to handle dynamic interfaces

2018-06-29 Thread Alexander Couzens
interface daemon * Copyright (C) 2012 Felix Fietkau * Copyright (C) 2013 Jo-Philipp Wich + * Copyright (C) 2018 Alexander Couzens * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 @@ -12,6 +13,7

Re: [OpenWrt-Devel] [PATCH 2/2] iprule: rework interface based rules to handle dynamic interfaces

2018-06-29 Thread Alexander Couzens
On Fri, 29 Jun 2018 16:23:02 +0200 Hans Dedecker wrote: > On Fri, Jun 29, 2018 at 5:23 AM Alexander Couzens > wrote: [...] > Is the rule_ready check and consequent call to system_add_iprule still > required ? Above calls to interface_add_user install the callbacks; if > the

Re: [OpenWrt-Devel] [PATCH 1/2] Introduce new interface event "create" (IFEV_CREATE)

2018-06-28 Thread Alexander Couzens
Hi Hans, pls don't commit them. I've forgot the SOB line, but also would like to add a GPG signature to it, after you've reviewed them. Best, lynxis pgpjV8BknClhD.pgp Description: OpenPGP digital signature ___ openwrt-devel mailing list

[OpenWrt-Devel] [PATCH 2/2] iprule: rework interface based rules to handle dynamic interfaces

2018-06-28 Thread Alexander Couzens
Felix Fietkau * Copyright (C) 2013 Jo-Philipp Wich + * Copyright (C) 2018 Alexander Couzens * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 @@ -12,6 +13,7 @@ * MERCHANTABILITY or FITNESS

[OpenWrt-Devel] [PATCH 1/2] Introduce new interface event "create" (IFEV_CREATE)

2018-06-28 Thread Alexander Couzens
"create" will be called before the proto handlers initialised. --- interface-event.c | 1 + interface.c | 1 + interface.h | 2 ++ 3 files changed, 4 insertions(+) diff --git a/interface-event.c b/interface-event.c index 86e8f5488da8..a40f6dc883d3 100644 --- a/interface-event.c +++

[OpenWrt-Devel] [PATCH][netifd] iprule: rework interface based rules to handle dynamic interfaces

2018-06-18 Thread Alexander Couzens
iprule_set_enabled(ip->iface, enabled); } void diff --git a/iprule.c b/iprule.c index 7cf7422f4168..79e6eca9dfb7 100644 --- a/iprule.c +++ b/iprule.c @@ -2,6 +2,7 @@ * netifd - network interface daemon * Copyright (C) 2012 Felix Fietkau * Copyright (C) 2013 Jo-Philipp Wich + * Copyri

Re: [OpenWrt-Devel] Fwd: OpenWRT Build Process broken on recent Debian NFS

2017-11-11 Thread Alexander Couzens
On Sat, 11 Nov 2017 10:53:17 + Anton Ivanov wrote: > SHELL= > flock /var/autofs/local/src/openwrt/tmp/.patch-2.7.5.tar.xz.flock -c > '    /var/autofs/local/src/openwrt/scripts/download.pl > "/var/autofs/local/src/openwrt/dl" "patch-2.7.5.tar.xz" >

Re: [OpenWrt-Devel] Custom build with reghack on trunk or any branch

2017-07-19 Thread Alexander Couzens
tory. You also have to tell the build system what to do with the files. Take a look into package/kernel/mac80211/Makefile line 1771. Best, lynxis -- Alexander Couzens mail: lyn...@fe80.eu jabber: lyn...@fe80.eu mobile: +4915123277221 gpg: 390D CF78 8BF9 AA50 4F8F F1E2 C2

Re: [OpenWrt-Devel] openwrt and lede - remerge proposal V3

2017-05-31 Thread Alexander Couzens
John > > > > ___ > Lede-dev mailing list > lede-...@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/lede-dev > > > ___ > openwrt-devel mailing list > openwrt-devel@li

[OpenWrt-Devel] [Reminder] meetup for beer on Tuesday 11 Oct, Berlin

2016-10-11 Thread Alexander Couzens
n Berlin, near the train station > Jannowitzbrücke [1] [2]. > > If you have any questions, please ask me. > > Best, > lynxis > > [1] https://www.c-base.org/cv50f/core/impressum.html > [2] > https://www.openstreetmap.de/karte.html?zoom=17=52.51298=13.42012=B0 -- Alexande

Re: [OpenWrt-Devel] meetup for beer on Tuesday 11 Oct, Berlin

2016-10-06 Thread Alexander Couzens
pace station is a big place with lot's of rabbit holes to hide. best, lynxis -- Alexander Couzens mail: lyn...@fe80.eu jabber: lyn...@fe80.eu mobile: +4915123277221 gpg: 390D CF78 8BF9 AA50 4F8F F1E2 C29E 9DA6 A0DF 8604 pgpOH3JnETWAn.pgp Description: OpenPGP digit

[OpenWrt-Devel] meetup for beer on Tuesday 11 Oct, Berlin

2016-10-06 Thread Alexander Couzens
have any questions, please ask me. Best, lynxis [1] https://www.c-base.org/cv50f/core/impressum.html [2] https://www.openstreetmap.de/karte.html?zoom=17=52.51298=13.42012=B0 -- Alexander Couzens mail: lyn...@fe80.eu jabber: lyn...@fe80.eu mobile: +4915123277221 gpg: 390D CF78 8BF9 AA50 4F8F

Re: [OpenWrt-Devel] FCC regulatory compliance

2016-09-22 Thread Alexander Couzens
on the FSFE effort on this problem, because it's originate from the EU. Best, lynxis -- Alexander Couzens mail: lyn...@fe80.eu jabber: lyn...@fe80.eu mobile: +4915123277221 gpg: 390D CF78 8BF9 AA50 4F8F F1E2 C29E 9DA6 A0DF 8604 pgpxM2l7maczI.pgp Description: OpenPGP digital signature

Re: [OpenWrt-Devel] latency on PPPoA ADSL Annex A on using Lantiq

2016-08-25 Thread Alexander Couzens
c ATM API hacks and their kernel space users (fixes #20523) best, lynxis -- Alexander Couzens mail: lyn...@fe80.eu jabber: lyn...@fe80.eu mobile: +4915123277221 gpg: 390D CF78 8BF9 AA50 4F8F F1E2 C29E 9DA6 A0DF 8604 pgpxtHAViwrI_.pgp Description: OpenPGP di

Re: [OpenWrt-Devel] [LEDE-DEV] latency on PPPoA ADSL Annex A on using Lantiq

2016-08-20 Thread Alexander Couzens
Hey, I created a bug ticket on this issue and put everything I know and tested into it. https://bugs.lede-project.org/index.php?do=details_id=105 best, lynxis -- Alexander Couzens mail: lyn...@fe80.eu jabber: lyn...@fe80.eu mobile: +4915123277221 gpg: 390D CF78 8BF9 AA50 4F8F F1E2 C29E 9DA6

Re: [OpenWrt-Devel] latency on PPPoA ADSL Annex A on using Lantiq

2016-08-02 Thread Alexander Couzens
with PPPoE on ADSL. Also noticed high latency on ssh connection through the router. I guess it's not in the DSL part, because when using the TD8970 as modem with pass through everything is fine. best, lynxis -- Alexander Couzens mail: lyn...@fe80.eu jabber: lyn...@fe80.eu mobile: +4915123277221 g

Re: [OpenWrt-Devel] [PATCH 0/4] omap 4.4, ehci, sdcard

2016-04-26 Thread Alexander Couzens
> The following patches (submitted by you) have been updated in > patchwork: > > * openwrt: [OpenWrt-Devel,1/4] omap: add sdcard creation script > - http://patchwork.ozlabs.org/patch/614748/ > - for: OpenWrt development > was: New > now: Not Applicable > > * openwrt:

[OpenWrt-Devel] [PATCH 4/4] add usb gadget ehci debug driver

2016-04-25 Thread Alexander Couzens
This gadget driver allow you to debug other devices via EHCI Debug Port capability. Signed-off-by: Alexander Couzens <lyn...@fe80.eu> --- package/kernel/linux/modules/usb.mk | 17 + 1 file changed, 17 insertions(+) diff --git a/package/kernel/linux/modules/usb.mk b/p

[OpenWrt-Devel] [PATCH 2/4] [RFC] omap: switch to 4.4

2016-04-25 Thread Alexander Couzens
Signed-off-by: Alexander Couzens <lyn...@fe80.eu> --- target/linux/omap/Makefile | 2 +- target/linux/omap/config-4.4 | 525 ++- 2 files changed, 171 insertions(+), 356 deletions(-) diff --git a/target/linux/omap/Makefile b/target/linux/omap/Ma

[OpenWrt-Devel] [PATCH 3/4] kernel/spi: add kernel package for spi-omap-24xx

2016-04-25 Thread Alexander Couzens
spi-omap-24xx can be found in TI based SoC like the beaglebone black Signed-off-by: Alexander Couzens <lyn...@fe80.eu> --- package/kernel/linux/modules/spi.mk | 17 + 1 file changed, 17 insertions(+) diff --git a/package/kernel/linux/modules/spi.mk b/package/kernel

[OpenWrt-Devel] [PATCH 1/4] omap: add sdcard creation script

2016-04-25 Thread Alexander Couzens
Signed-off-by: Alexander Couzens <lyn...@fe80.eu> --- target/linux/omap/image/Config.in | 5 target/linux/omap/image/Makefile | 34 +- target/linux/omap/image/gen_omap_sdcard_img.sh | 33 + target/linux/omap

[OpenWrt-Devel] [PATCH 0/4] omap 4.4, ehci, sdcard

2016-04-25 Thread Alexander Couzens
the config for a kernel? Everthing was tested with kernel 4.4 on a bbb. The sdcard image can be used as stand-alone image or flashed to the eMMC. If the image was flashed to the eMMC, don't use a sdcard, because the kernel tries to boot the external sdcard. Aka floppy inserted bug ;). Alexander

Re: [OpenWrt-Devel] Heightened sensitivity; a solution

2016-03-13 Thread Alexander Couzens
The freifunker has a similiar project https://github.com/freifunk-berlin/firmware Best, lynxis -- Alexander Couzens mail: lyn...@fe80.eu jabber: lyn...@fe80.eu mobile: +4915123277221 gpg: 390D CF78 8BF9 AA50 4F8F F1E2 C29E 9DA6 A0DF 8604 pgpbbRSDvVxUx.pgp Description: OpenPGP digital

Re: [OpenWrt-Devel] [PATCH v2 1/3] ar71xx/image: introduce LOADER_TYPE to support elf loaders

2016-03-10 Thread Alexander Couzens
set either. It's only set for these device which uses the LOADER. Best, lynxis -- Alexander Couzens mail: lyn...@fe80.eu jabber: lyn...@fe80.eu mobile: +4915123277221 gpg: 390D CF78 8BF9 AA50 4F8F F1E2 C29E 9DA6 A0DF 8604 pgpkVBzWXV0YE.pgp Description: OpenPGP digital signature ___

Re: [OpenWrt-Devel] [PATCH v2 2/3] ar71xx/image: allow builds of loader without cmdline injecting

2016-03-10 Thread Alexander Couzens
common,LOADER_DATA="$@") > > endef > > > the above will break. did not check if there are more invocations of > loader-common. you really should check all of them. please mae sure > the patch generates no regressions why that? tested against the 1043nd --

Re: [OpenWrt-Devel] [PATCH v2 1/3] ar71xx/image: introduce LOADER_TYPE to support elf loaders

2016-03-08 Thread Alexander Couzens
On Tue, 8 Mar 2016 07:21:26 +0100 John Crispin <blo...@openwrt.org> wrote: > does this not need some defaults for when loader_type is not set ? right. it must set. Should I set gz as default? -- Alexander Couzens mail: lyn...@fe80.eu jabber: lyn...@fe80.eu mobile: +4915123277221 gpg:

Re: [OpenWrt-Devel] [PATCH 5/7] uboot-kirkwood/goflexhome: add forgotten include openwrt-kirkwood-common.h"

2016-03-07 Thread Alexander Couzens
n an ubi-volume (or > ideally two, for redundancy), this is a good chance to switch to > ENV_IS_IN_UBI as well. Hi Daniel, thanks! Didn't knew that. I would like to do that in a patch after my 2 patch series are applied, as it looks like a simple thing to do. Best, lynxis -- Alexander Couzens

[OpenWrt-Devel] [PATCH v2 2/3] ar71xx/image: allow builds of loader without cmdline injecting

2016-03-07 Thread Alexander Couzens
. Signed-off-by: Alexander Couzens <lyn...@fe80.eu> --- target/linux/ar71xx/image/Makefile | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile index 068d293..723ce9d 100644 --- a/target/linux/

[OpenWrt-Devel] [PATCH v2 3/3] ar71xx: migrate tplink cpe510 to new build steps

2016-03-07 Thread Alexander Couzens
cpe510: Tested sysupgrade and initramfs. Untested: webIf w/ factory.bin & recovery.bin Signed-off-by: Alexander Couzens <lyn...@fe80.eu> --- target/linux/ar71xx/image/Makefile | 74 ++ 1 file changed, 26 insertions(+), 48 deletions(-) diff --gi

[OpenWrt-Devel] [PATCH v2 1/3] ar71xx/image: introduce LOADER_TYPE to support elf loaders

2016-03-07 Thread Alexander Couzens
The loader decompress a lzma compressed kernel. Some bootloaders only support elf files like the tplink cpe510 Signed-off-by: Alexander Couzens <lyn...@fe80.eu> --- target/linux/ar71xx/image/Makefile | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/target/linux/

[OpenWrt-Devel] [PATCH v2 0/3] ar71xx: migrate cpe510 to new build steps

2016-03-07 Thread Alexander Couzens
v2: - split commit into smaller pieces. - refactor loader modifcations and reduce duplications - tested sysupgrade on 1043nd to ensure loader doesn't break for other platforms - introduce LOADER_TYPE variable to select what kind of a loader version you want to use (elf or gz) Alexander Couzens

[OpenWrt-Devel] [PATCH 5/7] uboot-kirkwood/goflexhome: add forgotten include openwrt-kirkwood-common.h"

2016-03-07 Thread Alexander Couzens
otherwise the uboot is missing important commands like bootz Signed-off-by: Martin Mueller <m...@sig21.net> Signed-off-by: Alexander Couzens <lyn...@fe80.eu> --- package/boot/uboot-kirkwood/patches/200-openwrt-config.patch | 9 + 1 file changed, 9 insertions(+) diff --git a/

[OpenWrt-Devel] [PATCH 7/7] kirkwood: switch to kernel 4.4

2016-03-07 Thread Alexander Couzens
dropped patches because they applied upstream: - 120-iomega_ix2_200.patch - 150-pogoplug_e02.patch Tested on dockstar and goflexnet Signed-off-by: Alexander Couzens <lyn...@fe80.eu> --- target/linux/kirkwood/Makefile | 2 +- target/linux/kirkwood/conf

[OpenWrt-Devel] [PATCH 6/7] uboot-kirkwood/goflexhome: explicit define the size of the last partition

2016-03-07 Thread Alexander Couzens
Explicit sets the size of the mtdparts, because the kernel has also an explicit value. If they have diffent sizes the ubi won't be detected. Signed-off-by: Alexander Couzens <lyn...@fe80.eu> --- package/boot/uboot-kirkwood/patches/150-goflexhome.patch | 2 +- 1 file changed, 1 insertion

[OpenWrt-Devel] [PATCH 2/7] kirkwood/goflexhome/goflexnet: merge "root" and unused mtd partitions into one volume "ubi"

2016-03-07 Thread Alexander Couzens
The kernel will automatic attach mtd partitions named 'ubi' to ubi0. Renaming the "root" partition into "ubi" will safe arguments from the kernel cmdline. Signed-off-by: Alexander Couzens <lyn...@fe80.eu> --- .../kirkwood/patches-3.18/180

[OpenWrt-Devel] [PATCH 4/7] uboot-kirkwood/goflexhome: update bootargs to use new ubi style

2016-03-07 Thread Alexander Couzens
Since switching to new ubi(kernel,squashfs,ubifs) layout, the kernel lies in a ubi volume. Dropping the mtd parts because the mtd layout is saved in the device-tree, which is appended to the zImage. Signed-off-by: Alexander Couzens <lyn...@fe80.eu> --- .../uboot-kirkwood/patch

[OpenWrt-Devel] [PATCH 1/7] linux/kirkwood: migrate goflexhome/goflexnet to new ubi style

2016-03-07 Thread Alexander Couzens
Also using the new image build step format Signed-off-by: Alexander Couzens <lyn...@fe80.eu> --- target/linux/kirkwood/image/Makefile | 20 +--- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/target/linux/kirkwood/image/Makefile b/target/linux/kirkwood

[OpenWrt-Devel] [PATCH 3/7] kirkwood/goflexnet/goflexhome: change mtd layout to use the last 3 mb

2016-03-07 Thread Alexander Couzens
Previous the uboot was overwriting the device-tree's mtd layout to use the last 3 mb. Signed-off-by: Alexander Couzens <lyn...@fe80.eu> --- target/linux/kirkwood/patches-3.18/180-goflexhome.patch | 2 +- target/linux/kirkwood/patches-3.18/181-goflexnet.patch | 2 +- 2 files chan

[OpenWrt-Devel] [PATCH 0/7] kirkwood 4.4

2016-03-07 Thread Alexander Couzens
it to install the image? Alexander Couzens (7): linux/kirkwood: migrate goflexhome/goflexnet to new ubi style kirkwood/goflexhome/goflexnet: merge "root" and unused mtd partitions into one volume "ubi" kirkwood/goflexnet/goflexhome: change mtd layout to use the last 3

[OpenWrt-Devel] [PATCH 3/5] kirkwood/dockstar: use ubi(kernel, squashfs, ubifs) images

2016-03-02 Thread Alexander Couzens
-kirkwood-dockstar-squashfs-factory.bin /tmp ubiformat -f /tmp/openwrt-kirkwood-dockstar-squashfs-factory.bin # attach is important to resize rootfs_data otherwise it wont boot ubiattach -p /dev/$(grep ubi /proc/mtd|awk -F: '{print $1}') Signed-off-by: Alexander Couzens <lyn...@fe80

[OpenWrt-Devel] [PATCH 5/5] uboot/kirkwood: correct mtdparts + cmdline for new ubifs on dockstar

2016-03-02 Thread Alexander Couzens
Signed-off-by: Alexander Couzens <lyn...@fe80.eu> --- package/boot/uboot-kirkwood/patches/110-dockstar.patch | 18 ++ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/package/boot/uboot-kirkwood/patches/110-dockstar.patch b/package/boot/uboot-kirkwood/patch

[OpenWrt-Devel] [PATCH 4/5] kirkwood/dockstar: rename partition into ubi to use auto detection of target mtd

2016-03-02 Thread Alexander Couzens
the kernel tries to use "ubi" or "data" labeled partition to find it's root filesystem. dockstar don't need anymore mtdparts= nor root= bootarguments Signed-off-by: Alexander Couzens <lyn...@fe80.eu> --- target/linux/kirkwood/patches-3.18/140-dockstar.patch | 2 +- 1

[OpenWrt-Devel] [PATCH 2/5] kirkwood: add DEVICE_VAR KERNEL_IN_UBI for kernel as volume in ubi images

2016-03-02 Thread Alexander Couzens
depending on KERNEL_IN_UBI, the image.mk will create a ubi volume for the kernel Signed-off-by: Alexander Couzens <lyn...@fe80.eu> --- target/linux/kirkwood/image/Makefile | 17 - 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/target/linux/kirkwood/image/Ma

[OpenWrt-Devel] [PATCH 1/5] kirkwood: add feature devicetree

2016-03-02 Thread Alexander Couzens
this platform already uses devicetree Signed-off-by: Alexander Couzens <lyn...@fe80.eu> --- target/linux/kirkwood/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/kirkwood/Makefile b/target/linux/kirkwood/Makefile index 2db7e39..4f9fa4f

Re: [OpenWrt-Devel] current state of kirkwood target in trunk?

2016-03-01 Thread Alexander Couzens
ootz 0x8000 # if ubidriver already found an ubi, detach first ubidetach -p /dev/mtd3 # format it ubiformat -f /tmp/openwrt-kirkwood-dockstar-squashfs-factory.bin /dev/mtd3 The goflex is coming next. Sending the patch series for the dockstar later. Best, lynxis -- Alexander Couzens mail: lyn...@fe80

Re: [OpenWrt-Devel] [PATCH v2 05/11] ltq-vdsl-app: make the dsl_control application stop cleanly

2016-02-28 Thread Alexander Couzens
omment about the lock? > + echo quit > /tmp/pipe/dsl_cpe0_cmd > DSL_NOTIFICATION_TYPE="DSL_INTERFACE_STATUS" \ > DSL_INTERFACE_STATUS="DOWN" \ > /sbin/dsl_notify.sh -- Alexander Couzens mail: lyn...@fe80.eu jabber: lyn...@fe80.

[OpenWrt-Devel] [PATCH] [RFC] ar71xx: migrate cpe510 to new build steps

2016-02-28 Thread Alexander Couzens
Signed-off-by: Alexander Couzens <lyn...@fe80.eu> --- target/linux/ar71xx/image/Makefile | 92 ++ 1 file changed, 44 insertions(+), 48 deletions(-) diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile index cb11104..b

[OpenWrt-Devel] [PATCH 3/3] hotplug-preinit: remove superfluous `and`

2016-02-25 Thread Alexander Couzens
Signed-off-by: Alexander Couzens <lyn...@fe80.eu> --- package/system/procd/files/hotplug-preinit.json | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/package/system/procd/files/hotplug-preinit.json b/package/system/procd/files/hotplug-preinit.json index 614b104..5

[OpenWrt-Devel] [PATCH 2/3] mpc85xx/tl-wdr4900: correct address of the gpio controller

2016-02-25 Thread Alexander Couzens
since linux 3.19 the address of the gpio-controller changed Signed-off-by: Alexander Couzens <lyn...@fe80.eu> --- target/linux/mpc85xx/files/arch/powerpc/boot/dts/tl-wdr4900-v1.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/mpc85xx/files/arch/powerp

[OpenWrt-Devel] [PATCH 1/3] kernel/gpio_keys: load module on pre-init

2016-02-25 Thread Alexander Couzens
fix rescue mode on wdr4900 Signed-off-by: Alexander Couzens <lyn...@fe80.eu> --- package/kernel/linux/modules/input.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/kernel/linux/modules/input.mk b/package/kernel/linux/modules/input.mk index 539d270..23ead51

[OpenWrt-Devel] [PATCH 00/13] improve reproducible builds

2016-01-25 Thread Alexander Couzens
Hi, the following patches improve the reproducible builds of openwrt. Monthly test build to track the state of reproducibility can be found on https://tests.reproducible-builds.org/openwrt/openwrt.html Best, lynxis Alexander Couzens (8): busybox: disable timestamp in version include/image

[OpenWrt-Devel] [PATCH 02/13] busybox: disable timestamp in version

2016-01-25 Thread Alexander Couzens
Signed-off-by: Alexander Couzens <lyn...@fe80.eu> --- package/utils/busybox/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package/utils/busybox/Makefile b/package/utils/busybox/Makefile index 5ca4363..95e785b 100644 --- a/package/utils/busybox/Makefile +++ b/package

[OpenWrt-Devel] [PATCH 07/13] include/kernel: set build timestamp to SOURCE_DATE_EPOCH if available

2016-01-25 Thread Alexander Couzens
There is no additional information in the build timestamp. As long we have no information on the kernel timestamp, use as constant base for this timestamp the OpenWrt repository. Signed-off-by: Alexander Couzens <lyn...@fe80.eu> --- include/kernel.mk | 6 ++ 1 file changed, 6 inse

[OpenWrt-Devel] [PATCH 03/13] include/kernel: sort module lists for reproducibility

2016-01-25 Thread Alexander Couzens
From: bryan newbold This is to get reproducible builds of, eg, the kmod-sched ipkg. Locale preferences can change build order, but the locale is already been defined for the entire build process, so it doesn't need to be specified here. Signed-off-by: bryan newbold

[OpenWrt-Devel] [PATCH 09/13] build system: have tar use $SOURCE_DATE_EPOCH for --mtime

2016-01-25 Thread Alexander Couzens
e last commit timestamp of the build system, as reported by git/subversion. This is a step towards reproducible image builds. Signed-off-by: bryan newbold <bnewb...@robocracy.org> Signed-off-by: Alexander Couzens <lyn...@fe80.eu> --- include/image.mk | 8 ++-- include/kern

[OpenWrt-Devel] [PATCH 08/13] package/Makefile: override opkg installation time when SOURCE_DATE_EPOCH set

2016-01-25 Thread Alexander Couzens
Signed-off-by: Alexander Couzens <lyn...@fe80.eu> --- package/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package/Makefile b/package/Makefile index 12bd0ae..0c93607 100644 --- a/package/Makefile +++ b/package/Makefile @@ -7,6 +7,8 @@ curdir:=package +SOURCE_DATE

[OpenWrt-Devel] [PATCH 13/13] Makefile: fix --mtime usage with SOURCE_DATE_EPOCH fixup

2016-01-25 Thread Alexander Couzens
--- include/image.mk | 4 ++-- include/kernel-build.mk| 2 +- scripts/sysupgrade-nand.sh | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/include/image.mk b/include/image.mk index 044dd1a..bfdfab9 100644 --- a/include/image.mk +++ b/include/image.mk @@ -188,7

[OpenWrt-Devel] [PATCH 12/13] ar71xx/image: use SOURCE_DATE_EPOCH for mksquashfs-lzma

2016-01-25 Thread Alexander Couzens
Signed-off-by: Alexander Couzens <lyn...@fe80.eu> --- target/linux/ar71xx/image/Makefile | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile index 080d960..5768cbd 100644 --- a/target/linux/

[OpenWrt-Devel] [PATCH 01/13] Makefile: set timezone to UTC

2016-01-25 Thread Alexander Couzens
From: bryan newbold This is necessary for reproducible image builds. Signed-off-by: bryan newbold --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index a12e3ea..8ba2bfc 100644 --- a/Makefile

[OpenWrt-Devel] [PATCH 05/13] include/image: introduce SOURCE_DATE_EPOCH variable in image context

2016-01-25 Thread Alexander Couzens
SOURCE_DATE_EPOCH is the date of the last modified file using git/svn as date source. See https://reproducible-builds.org/specs/source-date-epoch/ Signed-off-by: Alexander Couzens <lyn...@fe80.eu> --- include/image.mk| 1 + scripts/getsource_date_epoch.s

[OpenWrt-Devel] [PATCH 06/13] tools/mkimage: backport SOURCE_DATE_EPOCH for reproducible builds

2016-01-25 Thread Alexander Couzens
From: bryan newbold This pulls in Paul Kocialkowski's SOURCE_DATE_EPOCH support patch for u-boot, which landed upstream circa July 2015. Note that this "host" u-boot repo is only used to compile the 'mkimage' utility, and isn't used to actually compile a bootloader for

[OpenWrt-Devel] [PATCH 04/13] include/kernel: add custom USER/DOMAIN config options

2016-01-25 Thread Alexander Couzens
From: bryan newbold These allow the generated kernel's build metadata to be defined explicitly. This metadata is reported, eg, at boot time and in `uname -a` on running systems. If the variables aren't configured, the current build system username and hostname are used as

[OpenWrt-Devel] [PATCH 11/13] include/image: use SOURCE_DATE_EPOCH if set for squashfs + ext4 images

2016-01-25 Thread Alexander Couzens
Signed-off-by: Alexander Couzens <lyn...@fe80.eu> --- include/image.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/image.mk b/include/image.mk index bf400f4..044dd1a 100644 --- a/include/image.mk +++ b/include/image.mk @@ -174,7 +174,7 @@ $(eval $(for

[OpenWrt-Devel] [PATCH 10/13] include/image: don't save gzip name/timestamp metadata

2016-01-25 Thread Alexander Couzens
Signed-off-by: bryan newbold --- include/image.mk | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/include/image.mk b/include/image.mk index d471788..bf400f4 100644 --- a/include/image.mk +++ b/include/image.mk @@ -250,10 +250,9 @@ define

[OpenWrt-Devel] [PATCH v2] tools/squashfs: add argument -fixed-time to set all timestamps

2015-12-06 Thread Alexander Couzens
-fixed-time set mkfs-timestamp and file-mtime to this timestamp. Reproducible builds requires the removal of all timestamp or setting all to a specific one. Signed-off-by: Alexander Couzens <lyn...@fe80.eu> --- Changelog: v2: - use global instead of argument passing - remove some

[OpenWrt-Devel] [PATCH] tools/squashfs: add argument -fixed-time to set all timestamps

2015-12-05 Thread Alexander Couzens
-fixed-time set mkfs-timestamp and file-mtime to this timestamp. Reproducible builds requires the removal of all timestamp or setting all to a specific one. Signed-off-by: Alexander Couzens <lyn...@fe80.eu> --- .../patches/120-add-fixed-timestamp-support.patch | 130 + .../p

Re: [OpenWrt-Devel] [PATCH v6 6/6] ar71xx: add support for Cisco's MR18

2015-12-05 Thread Alexander Couzens
-o $(KDIR_TMP)/vmlinux-initramfs-$(2)-patched > + $(CP) $(KDIR_TMP)/vmlinux-initramfs-$(2)-patched > $(BIN_DIR)/$(IMG_PREFIX)-$(2)-initramfs.bin +endef > + -- Alexander Couzens mail: lyn...@fe80.eu jabber: lyn...@fe80.eu mobile: +49151232772

[OpenWrt-Devel] [PATCH] x86: add generic profiles to x86_64, kvm_guest and xen_domu

2015-11-01 Thread Alexander Couzens
The imagebuilder requires a profile for every subtarget to work. Signed-off-by: Alexander Couzens <lyn...@fe80.eu> --- target/linux/x86/64/profiles/000-Generic.mk| 15 +++ target/linux/x86/kvm_guest/profiles/000-Generic.mk | 15 +++ target/linux/x86/xe

Re: [OpenWrt-Devel] [PATCH 3/7] ar71xx/image: migrate tl-wdr6500-v2 to new image build steps

2015-10-31 Thread Alexander Couzens
rootfs_align,$(1)) -j \ -o $(call sysupname,$(1),$(2)) endef -- Alexander Couzens mail: lyn...@fe80.eu jabber: lyn...@fe80.eu mobile: +4915123277221 gpg: 390D CF78 8BF9 AA50 4F8F F1E2 C29E 9DA6 A0DF 8604 pgpuUMk3GXGby.pgp Description: OpenPGP digital signature

[OpenWrt-Devel] [PATCH 0/7] migrate tl-wr841nd-v1.5 tl-wdr6500-v2

2015-10-30 Thread Alexander Couzens
Hi, it would be nice if somebody who has these boards can test it. - tl-wdr6500-v2 - tl-wr841nd-v1.5 Best lynxis Alexander Couzens (7): ar71xx/image: introduce TPLINK_HEADER_VERSION variable for tplink image ar71xx/image: refactor templates tplink-chn-v2 ar71xx/image: migrate tl

Re: [OpenWrt-Devel] [PATCH] ar71xx: Add support for ZyXEL NBG6616.

2015-10-30 Thread Alexander Couzens
; should now include enough information to create a new utility that > generates a correct header for the firmware. --- Alexander Couzens mail: lyn...@fe80.eu jabber: lyn...@fe80.eu mobile: +4915123277221 gpg: 390D CF78 8BF9 AA50 4F8F F1E2 C29E 9DA6 A0DF 8604 pgpnVJZQgPGx9.

[OpenWrt-Devel] [PATCH 3/7] ar71xx/image: migrate tl-wdr6500-v2 to new image build steps

2015-10-30 Thread Alexander Couzens
Signed-off-by: Alexander Couzens <lyn...@fe80.eu> --- target/linux/ar71xx/image/Makefile | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile index f0c3a66..be7cf9f 100644 --- a/target/linux/

[OpenWrt-Devel] [PATCH 1/7] ar71xx/image: introduce TPLINK_HEADER_VERSION variable for tplink image

2015-10-30 Thread Alexander Couzens
Signed-off-by: Alexander Couzens <lyn...@fe80.eu> --- target/linux/ar71xx/image/Makefile | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile index a659af9..8cfad76 100644 --- a/target/linux/

[OpenWrt-Devel] [PATCH 2/7] ar71xx/image: refactor templates tplink-chn-v2

2015-10-30 Thread Alexander Couzens
--- target/linux/ar71xx/image/Makefile | 16 ++-- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile index 8cfad76..f0c3a66 100644 --- a/target/linux/ar71xx/image/Makefile +++

[OpenWrt-Devel] [PATCH 5/7] ar71xx/image: migrate tl-wr841nd-v1.5 to new build step using squashfs+jffs2 instead of squashfs-only

2015-10-30 Thread Alexander Couzens
All other tplink images use squashfs+jffs2. I don't see any reason why this board should use squashfs-only Signed-off-by: Alexander Couzens <lyn...@fe80.eu> --- target/linux/ar71xx/image/Makefile | 13 + 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/target

[OpenWrt-Devel] [PATCH 4/7] ar71xx/image: remove old unused build step TPLINK-64K

2015-10-30 Thread Alexander Couzens
Signed-off-by: Alexander Couzens <lyn...@fe80.eu> --- target/linux/ar71xx/image/Makefile | 33 - 1 file changed, 33 deletions(-) diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile index be7cf9f..6661bc5 100644 --- a/target

[OpenWrt-Devel] [PATCH 6/7] ar71xx/image: remove old unused build code for TPLINKOLD

2015-10-30 Thread Alexander Couzens
Signed-off-by: Alexander Couzens <lyn...@fe80.eu> --- target/linux/ar71xx/image/Makefile | 32 1 file changed, 32 deletions(-) diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile index b35190d..141a2d7 100644 --- a/target

[OpenWrt-Devel] [PATCH 7/7] ar71xx/image: remove old unused build code for TPLINK

2015-10-30 Thread Alexander Couzens
Signed-off-by: Alexander Couzens <lyn...@fe80.eu> --- target/linux/ar71xx/image/Makefile | 33 - 1 file changed, 33 deletions(-) diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile index 141a2d7..d2165d9 100644 --- a/target

Re: [OpenWrt-Devel] [PATCH 2/2] ar71xx: add support for TP-LINK TL-WR841N/ND v10

2015-10-26 Thread Alexander Couzens
here two solution. Add another mips machine or change the board detection to detect this difference. Best, lynxis On Mon, 26 Oct 2015 15:28:09 +0100 Alexander Couzens <lyn...@fe80.eu> wrote: > On Mon, 26 Oct 2015 01:21:58 +0100 > Matthias Schiffer <mschif...@universe-fac

Re: [OpenWrt-Devel] [PATCH 2/2] ar71xx: add support for TP-LINK TL-WR841N/ND v10

2015-10-26 Thread Alexander Couzens
On Mon, 26 Oct 2015 01:21:58 +0100 Matthias Schiffer wrote: > Thanks, but I know what I'm doing. The hardware is similar enough to > boot with the exact same initialization routines as the v9, thus > reusing the BOARDNAME is fine (it is done like this for other >

Re: [OpenWrt-Devel] [PATCH 2/2] ar71xx: add support for TP-LINK TL-WR841N/ND v10

2015-10-25 Thread Alexander Couzens
t; +DEVICE_PROFILE := TLWR841 > +TPLINK_HWID := 0x08410010 > +endef > + -- Alexander Couzens mail: lyn...@fe80.eu jabber: lyn...@fe80.eu mobile: +4915123277221 gpg: 390D CF78 8BF9 AA50 4F8F F1E2 C29E 9DA6 A0DF 8604 pgpgHUvyqxe1a.pgp Description: OpenPGP digital signature

Re: [OpenWrt-Devel] proto 'none' overwriting tun interfaces

2015-10-12 Thread Alexander Couzens
hi Adam, I can confirm this bug. You may open a ticket on dev.openwrt.org best, lynxis pgpLsloA4JMqy.pgp Description: OpenPGP digital signature ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org

  1   2   >