[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 --gi

[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 FOR

[OpenWrt-Devel] [PATCH] ar71xx/image: move TPLINK-LZMA image to new build code v2

2015-05-01 Thread Alexander Couzens
There are 2 images missing: TLWR2543 TLWR1043V2 which have special properties. v2: set correct DEVICE_PROFILES for all images. v2: migrate TP-LINK TL-WR710N v2 which was committed after v1. v2: split very very long line `TARGET_DEVICES +=` into smaller parts Signed-off-by: Alexander Couzens

[OpenWrt-Devel] [PATCH 0/5] ar71xx: move ubnt images to new build code

2015-06-07 Thread Alexander Couzens
escue tftp - sysupgrade from openwrt to openwrt Best, lynxis Alexander Couzens (5): image.mk: add Build step combined-image image.mk: add Build step pad-to ar71xx/image: new build step Build/mkubntimage for ubnt factory images ar71xx/image: add build step mkubntimage2 mkubntkernelimag

[OpenWrt-Devel] [PATCH 1/5] image.mk: add Build step combined-image

2015-06-07 Thread Alexander Couzens
Signed-off-by: Alexander Couzens --- include/image.mk | 7 +++ 1 file changed, 7 insertions(+) diff --git a/include/image.mk b/include/image.mk index 020418d..287c679 100644 --- a/include/image.mk +++ b/include/image.mk @@ -326,6 +326,13 @@ define Build/check-size } endef +define

[OpenWrt-Devel] [PATCH 2/5] image.mk: add Build step pad-to

2015-06-07 Thread Alexander Couzens
pad-to can be used in a pipe to pad the image to a specific chunk-size. Signed-off-by: Alexander Couzens --- include/image.mk | 5 + 1 file changed, 5 insertions(+) diff --git a/include/image.mk b/include/image.mk index 287c679..814e7dc 100644 --- a/include/image.mk +++ b/include/image.mk

[OpenWrt-Devel] [PATCH 3/5] ar71xx/image: new build step Build/mkubntimage for ubnt factory images

2015-06-07 Thread Alexander Couzens
Signed-off-by: Alexander Couzens --- target/linux/ar71xx/image/Makefile | 29 + 1 file changed, 29 insertions(+) diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile index 580a640..750de9c 100644 --- a/target/linux/ar71xx/image

[OpenWrt-Devel] [PATCH 4/5] ar71xx/image: add build step mkubntimage2 mkubntkernelimage for unifi boards

2015-06-07 Thread Alexander Couzens
Signed-off-by: Alexander Couzens --- target/linux/ar71xx/image/Makefile | 22 ++ 1 file changed, 22 insertions(+) diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile index 750de9c..6662672 100644 --- a/target/linux/ar71xx/image/Makefile

[OpenWrt-Devel] [PATCH 5/5] ar71xx/image: move ubnt images to new BuildCode

2015-06-07 Thread Alexander Couzens
Signed-off-by: Alexander Couzens --- target/linux/ar71xx/image/Makefile | 264 - 1 file changed, 175 insertions(+), 89 deletions(-) diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile index 6662672..21d0d66 100644 --- a

[OpenWrt-Devel] [PATCH 1/3] phy/at803x: fix null-pointer access when platform data isn't set

2015-06-20 Thread Alexander Couzens
Signed-off-by: Alexander Couzens --- .../patches-3.18/425-net-phy-at803x-allow-to-configure-via-pdata.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/ar71xx/patches-3.18/425-net-phy-at803x-allow-to-configure-via-pdata.patch b/target/linux/ar71xx/patches

[OpenWrt-Devel] [PATCH 2/3] ar71xx: allow pci calibration fixup to work with ar9344

2015-06-20 Thread Alexander Couzens
Signed-off-by: Alexander Couzens --- target/linux/ar71xx/files/arch/mips/ath79/pci-ath9k-fixup.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/target/linux/ar71xx/files/arch/mips/ath79/pci-ath9k-fixup.c b/target/linux/ar71xx/files/arch/mips/ath79/pci-ath9k-fixup.c index fcca1d2

[OpenWrt-Devel] [PATCH 3/3] ar71xx: add support for ubnt rocket-m ti

2015-06-20 Thread Alexander Couzens
rocket-m titanium is a device based on ar9344 with 802.11af poe. It doesn't use the SoC wifi, instead it's using an ar9280 connected to the pci bus. The gps version of the rocket-m ti is working, but gps is untested. The gps is connected to the first serial port. Signed-off-by: Alexand

Re: [OpenWrt-Devel] [PATCH] ar71xx: fix kernel Oops in at803x_link_change_notify

2015-06-30 Thread Alexander Couzens
Hi Sven, I sent the same patch a week ago. See https://patchwork.ozlabs.org/patch/486993/ Best lynxis pgpqL79L7qJSJ.pgp Description: OpenPGP digital signature ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi

Re: [OpenWrt-Devel] [PATCH] ar71xx: fix UAP-PRO images

2015-07-05 Thread Alexander Couzens
Thanks a lot for fixing this. Do you tested your changes? Best, lynxis pgpLuBc_lN78A.pgp Description: OpenPGP digital signature ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-de

[OpenWrt-Devel] ar71xx: spi difference between internal chip select and gpios as chip select

2015-07-23 Thread Alexander Couzens
internal chip selects are routed to gpios in the end. Is there a notable difference between the internal chip select and the direct accessed gpio variant? Did someone any performance tests on this? Best, lynxis -- Alexander Couzens mail: lyn...@fe80.eu jabber: lyn...@jabber.ccc.de mobile

Re: [OpenWrt-Devel] lantiq DSL drivers / firmware info

2015-07-23 Thread Alexander Couzens
to adsl, with annex a not. vdsl is working unrelated to the annex (B on A and vice versa is working). If someone would like to search for differences on the pcb, I can make photos of both pcbs. best, lynxis -- Alexander Couzens mail: lyn...@fe80.eu jabber: lyn...@jabber.ccc.de mobile: +4915123

Re: [OpenWrt-Devel] lantiq DSL drivers / firmware info

2015-08-03 Thread Alexander Couzens
a mtd part I don't > have. Any idea what that is about? good question... no idea -- Alexander Couzens mail: lyn...@fe80.eu jabber: lyn...@jabber.ccc.de mobile: +4915123277221 pgp6Z4oFAceW1.pgp Description: OpenPGP digital signature ___

[OpenWrt-Devel] [PATCH] ustream-ssl: make ustream_ssl.server_name const

2015-08-06 Thread Alexander Couzens
Signed-off-by: Alexander Couzens --- ustream-ssl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Hi Felix, can you please update CC too? BB would be also nice, if it still maintained. Follow-up patch for uclient-fetch will fix SNI. Best, lynxis diff --git a/ustream-ssl.h b/ustream

[OpenWrt-Devel] [PATCH] uclient-fetch: set server_name of the ssl context to support SNI

2015-08-06 Thread Alexander Couzens
Signed-off-by: Alexander Couzens --- uclient-http.c | 1 + 1 file changed, 1 insertion(+) diff --git a/uclient-http.c b/uclient-http.c index d96094d..4300d05 100644 --- a/uclient-http.c +++ b/uclient-http.c @@ -826,6 +826,7 @@ static int uclient_setup_https(struct uclient_http *uh) uh

[OpenWrt-Devel] [PATCH] busybox: lock: implement -n "Fail rather than wait"

2015-08-06 Thread Alexander Couzens
exists. Signed-off-by: Alexander Couzens --- package/utils/busybox/patches/220-add_lock_util.patch | 18 +++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/package/utils/busybox/patches/220-add_lock_util.patch b/package/utils/busybox/patches/220-add_lock_util.patch

[OpenWrt-Devel] [PATCH v2] busybox: lock: implement -n "Fail rather than wait"

2015-08-07 Thread Alexander Couzens
s. v1: implement feature v2: rename variable failinsteadwait into try_lock extend description of -n run make package/utils/busybox/refresh Signed-off-by: Alexander Couzens --- package/utils/busybox/patches/220-add_lock_util.patch | 16 +--- 1 file changed, 13 insertions

[OpenWrt-Devel] [PATCH v3] busybox: lock: implement -n "Fail rather than wait"

2015-08-23 Thread Alexander Couzens
exists. Signed-off-by: Alexander Couzens --- v1: implement feature v2: rename variable failinsteadwait into try_lock extend description of -n run make package/utils/busybox/refresh v3: drop changelog from commit message remove ret variable package/utils/busybox/patches/220-add_lock_util

[OpenWrt-Devel] [PATCH] uci: add import call

2015-08-26 Thread Alexander Couzens
similiar to import from uci cli. import removes all old configs and import the new config. example: ubus call uci import \ '{"config": "dhcp", "values": { "srv": { ".type": "host", ".name": "srv", "mac": "00:11:22:33:44:55", "ip": "192.168.1.2" } } }' --- uci.c | 152 ++

Re: [OpenWrt-Devel] [PATCH] uci: add import call

2015-08-26 Thread Alexander Couzens
Sorry I forgot an rpcd prefix in the subject. This is a patch for rpcd. ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

[OpenWrt-Devel] [PATCH] uci: add import call

2015-09-01 Thread Alexander Couzens
similiar to import from uci cli. import removes all old configs and import the new config. example: ubus call uci import \ '{"config": "dhcp", "values": { "srv": { ".type": "host", ".name": "srv", "mac": "00:11:22:33:44:55", "ip": "192.168.1.2" } } }' --- uci.c | 152 ++

Re: [OpenWrt-Devel] [PATCH 2/9] ar71xx: PowerCloud CAP324 image generation

2015-09-07 Thread Alexander Couzens
> diff --git a/target/linux/ar71xx/image/Makefile > b/target/linux/ar71xx/image/Makefile index 8f609de..15bb6a3 100644 > --- a/target/linux/ar71xx/image/Makefile > +++ b/target/linux/ar71xx/image/Makefile Could you migrate to the new image Makefile format? Like the tplink wdr4300 is using. IMHO:

Re: [OpenWrt-Devel] [PATCH 8/9] ar71xx: PowerCloud CR5000 image generation

2015-09-07 Thread Alexander Couzens
same as for CAP324 pgpVmONdjKf6J.pgp Description: OpenPGP digital signature ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Re: [OpenWrt-Devel] [PATCH 5/9] ar71xx: PowerCloud CR3000 image generation

2015-09-07 Thread Alexander Couzens
same as for CAP324 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

[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 +++ b/Makefile @@ -9,7 +9,8 @@ TOPDIR:=${CURDIR

[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 --- 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/utils/busybox/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 --- include/image.mk| 1 + scripts/getsource_date_epoch.sh | 31 +++ 2

[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 any target. This patch cou

[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 --- include/kernel.mk | 4 +

[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 --- include/kernel.mk | 6 ++ 1 file changed, 6 insertions(+) diff --git a

[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 --- 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_EPOCH:=$(shell $(TOPDIR

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

2016-01-25 Thread Alexander Couzens
the build system, as reported by git/subversion. This is a step towards reproducible image builds. Signed-off-by: bryan newbold Signed-off-by: Alexander Couzens --- include/image.mk | 8 ++-- include/kernel-build.mk| 6 +- scripts/sysupgrade-nand.sh | 7 ++- 3 files c

[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 normal. The motivation

[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 --- 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 $(foreach S,$(JFFS2_BLOCKSIZE

[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 Image/mkfs/cpiogz endef define

[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 --- 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/ar71xx/image/Makefile +++ b

[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 +1

[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 --- 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 100644 --- a/package

[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 --- 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/powerpc/boot/dts/tl-wdr4900-v1

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

2016-02-25 Thread Alexander Couzens
Signed-off-by: Alexander Couzens --- 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..58afc6c 100644 --- a

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

2016-02-28 Thread Alexander Couzens
Signed-off-by: Alexander Couzens --- 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..b7b24df 100644 --- a/target

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

2016-02-28 Thread Alexander Couzens
t > /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.eu mobile: +4915123277221 gpg: 390D CF78

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

2016-03-01 Thread Alexander Couzens
ady 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.eu jabber: lyn...@fe80.

[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 --- 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 100644 --- a/target/linux/kirkwood

[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 --- target/linux/kirkwood/image/Makefile | 17 - 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/target/linux/kirkwood/image/Makefile b/target/linux

[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 --- target/linux/kirkwood/patches-3.18/140-dockstar.patch | 2 +- 1 file chang

[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 --- 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/patches/110-dockstar.patch

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

2016-03-02 Thread Alexander Couzens
cp openwrt-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 Couzen

[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/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 --- target/linux/kirkwood/patches-3.18/180-goflexhome.patch | 2 +- target/linux/kirkwood/patches-3.18/181-goflexnet.patch | 2 +- 2 files changed, 2 insertions(

[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 --- 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/image/Makefile index

[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 --- .../uboot-kirkwood/patches/150-goflexhome.patch| 30

[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 --- .../kirkwood/patches-3.18/180-goflexhome.patch | 26 +-

[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 --- package/boot/uboot-kirkwood/patches/150-goflexhome.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[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 --- target/linux/kirkwood/Makefile | 2 +- target/linux/kirkwood/config-4.4 | 315

[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 Signed-off-by: Alexander Couzens --- package/boot/uboot-kirkwood/patches/200-openwrt-config.patch | 9 + 1 file changed, 9 insertions(+) diff --git a/package/boot/uboot-kirkwood/patches/200

[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 Co

[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 --- target/linux/ar71xx/image/Makefile | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/target/linux/ar71xx/image/Makefile b

[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 --- target/linux/ar71xx/image/Makefile | 74 ++ 1 file changed, 26 insertions(+), 48 deletions(-) diff --git a/target/linux/ar71xx/i

[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 --- 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/ar71xx/image/Makefile

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

2016-03-07 Thread Alexander Couzens
lly 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 mail: lyn...@fe80.eu ja

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 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: 390D CF78 8BF9 AA50 4

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

2016-03-10 Thread Alexander Couzens
_FLASH_OFFS) > > FLASH_MAX=0) > > + $(call Build/loader-common,FLASH_OFFS=$(LOADER_FLASH_OFFS) > > FLASH_MAX=0 KERNEL_CMDLINE="$(CMDLINE)") endef > > > > define Build/loader-kernel > > $(call Build/loader-common,LOADER_DATA="$@") &g

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

2016-03-10 Thread Alexander Couzens
t'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] 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

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

2016-04-25 Thread Alexander Couzens
to create 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

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

2016-04-25 Thread Alexander Couzens
Signed-off-by: Alexander Couzens --- 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/image/uEnv.txt

[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 --- package/kernel/linux/modules/spi.mk | 17 + 1 file changed, 17 insertions(+) diff --git a/package/kernel/linux/modules/spi.mk b/package/kernel/linux/modules/spi.mk index

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

2016-04-25 Thread Alexander Couzens
Signed-off-by: Alexander Couzens --- 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/Makefile index 20f7517

[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 --- package/kernel/linux/modules/usb.mk | 17 + 1 file changed, 17 insertions(+) diff --git a/package/kernel/linux/modules/usb.mk b/package/kernel/linux/modules

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-

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

2016-08-02 Thread Alexander Couzens
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 gpg: 390D CF78 8BF9 AA50 4F8

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&task_id=105 best, lynxis -- Alexander Couzens mail: lyn...@fe80.eu jabber: lyn...@fe80.eu mobile: +4915123277221 gpg: 390D CF78 8BF9 AA50 4F8F F1E2

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

2016-08-25 Thread Alexander Couzens
ace 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 digital signature ___ openwrt-deve

[OpenWrt-Devel] [PATCH procd] system: fix undefined behavior in wdt offline check

2015-09-23 Thread Alexander Couzens
watchdog_fd() is returning a char* and not a int. checking against < 0 could lead in undefined behaviour. Signed-off-by: Alexander Couzens --- system.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system.c b/system.c index 82c672e..fb7fbe4 100644 --- a/system.c ++

[OpenWrt-Devel] [PATCH procd] watchdog: shutdown the kernel watchdog when stopping

2015-09-27 Thread Alexander Couzens
The kernel wdt counting down even when not pinged. Shutdown the filehandler to /dev/watchdog with magic cookie to prevent this. Signed-off-by: Alexander Couzens --- watchdog.c | 17 ++--- 1 file changed, 14 insertions(+), 3 deletions(-) I'm not certainly clear, the pre

[OpenWrt-Devel] [PATCH netifd] netifd-proto.sh: add table argument to proto_add_ipv4_route()

2015-09-28 Thread Alexander Couzens
Signed-off-by: Alexander Couzens --- scripts/netifd-proto.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/netifd-proto.sh b/scripts/netifd-proto.sh index 447f0f6..1cbf4fb 100644 --- a/scripts/netifd-proto.sh +++ b/scripts/netifd-proto.sh @@ -122,8 +122,9

[OpenWrt-Devel] [PATCH] netifd: add table argument to dhcp(v4)

2015-09-28 Thread Alexander Couzens
table defines the specific routing table to modify. Signed-off-by: Alexander Couzens --- package/network/config/netifd/files/lib/netifd/dhcp.script | 8 package/network/config/netifd/files/lib/netifd/proto/dhcp.sh | 6 -- 2 files changed, 8 insertions(+), 6 deletions(-) diff

Re: [OpenWrt-Devel] [PATCH netifd] netifd-proto.sh: add table argument to proto_add_ipv4_route()

2015-09-29 Thread Alexander Couzens
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi Steven, you rejected this patch as well. Why would you not allow to define a specific table for ipv4, but for ipv6? > cy...@openwrt.org > NAK. Use "option ip4table" and "option ip6table" which works with > all protocols already. -BEGIN PGP

Re: [OpenWrt-Devel] [PATCH] toolchain/uClibc: add support of uClibc-ng

2015-09-30 Thread Alexander Couzens
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi, what's the state of this patch? I'm unbreaking sparc for OpenWrt and uclibc is broken as already mentioned. musl doesn't support sparc :(. Best, lynxis On Wed, 26 Aug 2015 21:11:22 +0300 Alexey Brodkin wrote: > uClibc-ng is a spin-off of or

[OpenWrt-Devel] [PATCH 0/6] ar71xx/image: migrate tplink images

2015-10-09 Thread Alexander Couzens
tl-wr941nd-v4 tl-wr1043nd-v1 tl-wr1043nd-v2 tl-wr2543-v1 Alexander Couzens (6): ar71xx/image: remove unused multiprofile definitons ar71xx/image: add options argument to mktplinkfw step ar71xx/image: refactor tplink-chn-v2 devices ar71xx/image: migrate last TPLINK-LZMA images t

[OpenWrt-Devel] [PATCH 2/6] ar71xx/image: add options argument to mktplinkfw step

2015-10-09 Thread Alexander Couzens
Allow to pass extra arguments to mktplinkfw step. Some board requires an extra argument to create a valid image. Signed-off-by: Alexander Couzens --- target/linux/ar71xx/image/Makefile | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/target/linux/ar71xx/image

[OpenWrt-Devel] [PATCH 1/6] ar71xx/image: remove unused multiprofile definitons

2015-10-09 Thread Alexander Couzens
These profiles covered by new image/Makefile descriptions. Only the old format uses MultiProfile macro Signed-off-by: Alexander Couzens --- target/linux/ar71xx/image/Makefile | 2 -- 1 file changed, 2 deletions(-) diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image

[OpenWrt-Devel] [PATCH 4/6] ar71xx/image: migrate last TPLINK-LZMA images to new build system

2015-10-09 Thread Alexander Couzens
Migrate TLWR1043V2 TLWR2543 Signed-off-by: Alexander Couzens --- target/linux/ar71xx/image/Makefile | 23 +++ 1 file changed, 19 insertions(+), 4 deletions(-) diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile index 1fece37..6c84a39 100644

[OpenWrt-Devel] [PATCH 3/6] ar71xx/image: refactor tplink-chn-v2 devices

2015-10-09 Thread Alexander Couzens
* use build step mktplinkfw with extra arguments * remove now unused mktplinkfw-chn-v2 * use Device/tplink Signed-off-by: Alexander Couzens --- target/linux/ar71xx/image/Makefile | 34 +- 1 file changed, 5 insertions(+), 29 deletions(-) diff --git a/target/linux

[OpenWrt-Devel] [PATCH 5/6] ar71xx/image: remove old build step TPLINK-LZMA

2015-10-09 Thread Alexander Couzens
all boards has been migrated to the new build step Signed-off-by: Alexander Couzens --- target/linux/ar71xx/image/Makefile | 29 + 1 file changed, 1 insertion(+), 28 deletions(-) diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile

[OpenWrt-Devel] [PATCH 6/6] ar71xx/image: migrate all images based on macro TPLINK

2015-10-09 Thread Alexander Couzens
Includes images for rnx-n360rt tl-mr3220-v1 tl-mr3420-v1 tl-wa701n-v1 tl-wa730rev1 tl-wa7510n tl-wa801nd-v1 tl-wa830re-v1 tl-wa901nd-v1 tl-wa901nd-v2 tl-wr740n-v1 tl-wr740n-v3 tl-wr743nd-v1 tl-wr841nd-v3 tl-wr841nd-v5 tl-wr841nd-v7 tl-wr842n-v1 tl-wr941nd-v2 tl-wr941nd-v3 tl-wr941nd-v4 tl-wr1043nd-

[OpenWrt-Devel] [PATCH] omap/Beagleboard: remove FEATURES override

2015-10-10 Thread Alexander Couzens
It overrides the feature list of the whole target. Signed-off-by: Alexander Couzens --- target/linux/omap/profiles/beagleboard.mk | 1 - 1 file changed, 1 deletion(-) diff --git a/target/linux/omap/profiles/beagleboard.mk b/target/linux/omap/profiles/beagleboard.mk index 4658287..3cf51d4

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 https://lists.openwrt.org/cgi-bin/mailman/li

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

2015-10-25 Thread Alexander Couzens
file > @@ -704,6 +704,13 @@ define Device/tl-wr841n-v9 > TPLINK_HWID := 0x08410009 > endef > > +define Device/tl-wr841n-v10 > +$(Device/tplink-4mlzma) > +BOARDNAME := TL-WR841N-v9 > +DEVICE_PROFILE := TLWR841 > +TPLINK_HWID := 0x08410010 > +en

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 > hardware as well - OpenWrt has a

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

2015-10-26 Thread Alexander Couzens
t have dts support, I see 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 wrote: > On Mon, 26 Oct 2015 01:21:58 +0100 > Matthias Schiffer wrote: > > > Thanks, bu

[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

[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 --- 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/ar71xx/image/Makefile

[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 +++ b/target/linux/ar71xx/ima

  1   2   3   >