[OpenWrt-Devel] [PATCH] php5-pecl-dio: moved to github

2015-05-16 Thread Michael Heimpold
Signed-off-by: Michael Heimpold --- lang/php5-pecl-dio/Makefile| 29 .../patches/010-additional-baudrates.patch | 29 2 files changed, 58 deletions(-) delete mode 100644 lang/php5-pecl-dio/Makefile delete mode 100644

[OpenWrt-Devel] [PATCH] php5-pecl-libevent: moved to github

2015-05-16 Thread Michael Heimpold
Signed-off-by: Michael Heimpold --- lang/php5-pecl-libevent/Makefile | 31 --- 1 file changed, 31 deletions(-) delete mode 100644 lang/php5-pecl-libevent/Makefile diff --git a/lang/php5-pecl-libevent/Makefile b/lang/php5-pecl-libevent/Makefile deleted file mode

[OpenWrt-Devel] [PATCH] php5-pecl-bcompiler: drop package

2015-05-16 Thread Michael Heimpold
Package is marked broken for a long time and upstreams seems to be dead, too. Signed-off-by: Michael Heimpold --- lang/php5-pecl-bcompiler/Makefile | 29 - 1 file changed, 29 deletions(-) delete mode 100644 lang/php5-pecl-bcompiler/Makefile diff --git a/lang/php5

Re: [OpenWrt-Devel] Looking for a Broadcom Asus tester(s)

2015-05-28 Thread Michael Heimpold
Hi Rafał, I have a Asus WL-500gP V2 router and restored original Asus Firmware version 3.0.4.4. Then I tried openwrt-brcm47xx-generic-squashfs.trx, openwrt-brcm47xx-generic-squashfs-gz.trx openwrt-brcm47xx-generic-squashfs-noloader-nodictionary.trx, but without look. The original firmware always

Re: [OpenWrt-Devel] Looking for a Broadcom Asus tester(s)

2015-05-28 Thread Michael Heimpold
rs like me, not reading the wiki page _before_ running the compiler :-) Regards, mhei Am Donnerstag, 28. Mai 2015, 21:57:04 schrieb Rafał Miłecki: > On 28 May 2015 at 21:44, Rafał Miłecki wrote: > > On 28 May 2015 at 21:31, Michael Heimpold wrote: > >> I have a Asus WL-500gP V2

[OpenWrt-Devel] [PATCH] brcm47xx: drop global description in favour of subtarget ones

2015-05-28 Thread Michael Heimpold
Defining a description in this makefile prevents the subtarget Target/Description sections to appear in menuconfig's help for the subtargets. However, this also removes the menuconfig's help text for the target itself, but I'm not skilled enough to avoid this. Signed-off-by: M

[OpenWrt-Devel] [PATCH] lldpd: disable xml explicitly

2015-05-30 Thread Michael Heimpold
This prevents auto-detection of libxml2 and thus the error: Package lldpd is missing dependencies for the following libraries: libxml2.so.2 Preventing a dependency to libxml2 is preferred, since libxml2 would be a out-of-(core-)tree dependency. Reported-by: Buildbot Signed-off-by: Michael

[OpenWrt-Devel] Issue when creating rootfs images with parallel jobs

2015-06-22 Thread Michael Heimpold
Hi, when I try to create a rootfs for my Duckbill device, I used to run "make -j4 ...". The default configuration enables CONFIG_TARGET_ROOTFS_INCLUDE_KERNEL because the bootloader expects the kernel image in the rootfs below /boot. However, my problem is, that when running make with -j2 or more

Re: [OpenWrt-Devel] [PATCH v2 00/25] ramips: massive code cleanups

2015-08-05 Thread Michael Heimpold
Hi Piotr, great work! While looking at your DT cleanups, I wonder whether it would be possible to go one step further and adopt the BuildDTB stuff which Jonas did for brcm63xx target: then it would be possible to use preprocessor includes in the DTS files and use defines like KEY_* and so on.

[OpenWrt-Devel] [PATCH 1/5] packages: uboot-mxs: place binaries in the designated path

2015-08-31 Thread Michael Heimpold
Signed-off-by: Michael Heimpold --- package/boot/uboot-mxs/Makefile |6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/package/boot/uboot-mxs/Makefile b/package/boot/uboot-mxs/Makefile index 1686f60..a6a137c 100644 --- a/package/boot/uboot-mxs/Makefile +++ b/package

[OpenWrt-Devel] [PATCH 5/5] packages: uboot-mxs: fix I2SE Duckbill variant

2015-08-31 Thread Michael Heimpold
The current patch to add Duckbill support is wrong and does not even compile. So replace this patch with a working one. Signed-off-by: Michael Heimpold --- .../uboot-mxs/patches/001-add-i2se-duckbill.patch | 82 +++- 1 file changed, 46 insertions(+), 36 deletions(-) diff

[OpenWrt-Devel] [PATCH 2/5] packages: uboot-mxs: do no modify the U-Boot image, copy as-is

2015-08-31 Thread Michael Heimpold
Signed-off-by: Michael Heimpold --- package/boot/uboot-mxs/Makefile |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/boot/uboot-mxs/Makefile b/package/boot/uboot-mxs/Makefile index a6a137c..eee73d2 100644 --- a/package/boot/uboot-mxs/Makefile +++ b/package/boot

[OpenWrt-Devel] [PATCH 4/5] target/mxs: adopt SD card generation to fixed U-Boot path

2015-08-31 Thread Michael Heimpold
Signed-off-by: Michael Heimpold --- target/linux/mxs/image/Makefile |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/target/linux/mxs/image/Makefile b/target/linux/mxs/image/Makefile index 256d4e6..7e6a1a0 100644 --- a/target/linux/mxs/image/Makefile +++ b/target/linux

[OpenWrt-Devel] [PATCH 3/5] packages: uboot-mxs: bless UBOOT_IMAGE with a meaning, otherwise we could drop this C&P left-over

2015-08-31 Thread Michael Heimpold
Signed-off-by: Michael Heimpold --- package/boot/uboot-mxs/Makefile |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package/boot/uboot-mxs/Makefile b/package/boot/uboot-mxs/Makefile index eee73d2..373b8d8 100644 --- a/package/boot/uboot-mxs/Makefile +++ b/package

[OpenWrt-Devel] [PATCH 0/5] packages: uboot-mxs: various fixes

2015-08-31 Thread Michael Heimpold
This patch series is the first step to bring OpenWrt's Duckbill support back in shape. U-Boot mainline support is still on my TODO list, so for the meantime, handle this with a proper patch. Michael Heimpold (5): packages: uboot-mxs: place binaries in the designated path packages: uboo

Re: [OpenWrt-Devel] Removing Telnet

2015-09-08 Thread Michael Heimpold
Am Dienstag, 8. September 2015, 10:15:52 schrieb Steven Barth: > Hello everyone, > > as of https://dev.openwrt.org/changeset/46809 telnet is no longer part of > the base images. As a replacement, it is now possible to login to the root- > account via SSH without a password prompt whenever no root

[OpenWrt-Devel] [PATCH v2 0/7] target: mxs: various fixes

2015-09-14 Thread Michael Heimpold
hanges in v2: - don't break Olimex (i.MX233) based boards anymore - SD card generation now support Duckbill's partitioning scheme Michael Heimpold (7): packages: uboot-mxs: place binaries in the designated path packages: uboot-mxs: do no modify the U-Boot image, copy as-is package

[OpenWrt-Devel] [PATCH v2 2/7] packages: uboot-mxs: do no modify the U-Boot image, copy as-is

2015-09-14 Thread Michael Heimpold
Signed-off-by: Michael Heimpold --- Changes in v2: - none package/boot/uboot-mxs/Makefile |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/boot/uboot-mxs/Makefile b/package/boot/uboot-mxs/Makefile index a6a137c..eee73d2 100644 --- a/package/boot/uboot-mxs/Makefile

[OpenWrt-Devel] [PATCH v2 6/7] tools: add sdimage (for mxs target)

2015-09-14 Thread Michael Heimpold
This tool is used for SD card generation on Freescale i.MX23/i.MX28 platforms. These CPU's ROM need a tiny header of front of a boot stream. Signed-off-by: Michael Heimpold --- Changes in v2: - new patch tools/Makefile |2 +- tools/sdimage/Makefile |

[OpenWrt-Devel] [PATCH v2 1/7] packages: uboot-mxs: place binaries in the designated path

2015-09-14 Thread Michael Heimpold
Signed-off-by: Michael Heimpold --- Changes in v2: - none package/boot/uboot-mxs/Makefile |6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/package/boot/uboot-mxs/Makefile b/package/boot/uboot-mxs/Makefile index 1686f60..a6a137c 100644 --- a/package/boot/uboot-mxs

[OpenWrt-Devel] [PATCH v2 3/7] packages: uboot-mxs: bless UBOOT_IMAGE with a meaning, otherwise we could drop this C&P left-over

2015-09-14 Thread Michael Heimpold
Signed-off-by: Michael Heimpold --- Changes in v2: - none package/boot/uboot-mxs/Makefile |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package/boot/uboot-mxs/Makefile b/package/boot/uboot-mxs/Makefile index eee73d2..373b8d8 100644 --- a/package/boot/uboot-mxs

[OpenWrt-Devel] [PATCH v2 7/7] target: mxs: re-work SD card image generation

2015-09-14 Thread Michael Heimpold
- Duckbill uses a different partitioning approach than standard FSL and Olimex - use new sdimage to integrate U-Boot into the SD card images Signed-off-by: Michael Heimpold --- Changes in v2: - new patch target/linux/mxs/image/Config.in |9 -- target/linux/mxs/image

[OpenWrt-Devel] [PATCH v2 5/7] packages: uboot-mxs: fix I2SE Duckbill variant

2015-09-14 Thread Michael Heimpold
The current patch to add Duckbill support is wrong and does not even compile. So replace this patch with a working one. Signed-off-by: Michael Heimpold --- Changes in v2: - none .../uboot-mxs/patches/001-add-i2se-duckbill.patch | 82 +++- 1 file changed, 46 insertions

[OpenWrt-Devel] [PATCH v2 4/7] target/mxs: adopt SD card generation to fixed U-Boot path

2015-09-14 Thread Michael Heimpold
Signed-off-by: Michael Heimpold --- Changes in v2: - none target/linux/mxs/image/Makefile |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/target/linux/mxs/image/Makefile b/target/linux/mxs/image/Makefile index 256d4e6..7e6a1a0 100644 --- a/target/linux/mxs/image

Re: [OpenWrt-Devel] [PATCH 8/8] mpc85xx: add NM50 config for fw_(printenv/setenv)

2016-03-23 Thread Michael Heimpold
Hi, Am Wednesday 23 March 2016, 13:17:32 schrieb Dieter Pfeuffer: > Signed-off-by: Dieter Pfeuffer > --- > target/linux/mpc85xx/base-files/etc/fw_env.config | 22 > ++ 1 file changed, 22 insertions(+) > create mode 100644 target/linux/mpc85xx/base-files/etc/fw_env.config > >

[OpenWrt-Devel] [PATCH] base-files: add URL option for OEM manufacturer info

2015-09-29 Thread Michael Heimpold
This URL can be embedded e.g. within UPnP announcements where a link to the manufacturer's homepage is desired. Signed-off-by: Michael Heimpold --- include/version.mk |5 + package/base-files/files/etc/device_info |1 + package/base-files/image-conf

Re: [OpenWrt-Devel] [PATCH 1/1] package/libs/libtool: package libtool

2015-12-29 Thread Michael Heimpold
Hi, Am Monday 28 December 2015, 03:39:35 schrieb Heinrich Schuchardt: > Up to now only package libtldl is created form source package > GNU libtool. > > A new package libtool containing libtoolize is provided. > > Signed-off-by: Heinrich Schuchardt > --- > package/libs/libtool/Makefile | 39 ++

[OpenWrt-Devel] [PATCH] mxs: disable unused serial drivers

2019-03-09 Thread Michael Heimpold
devices in a running system (which generate errors when trying to use): root@OpenWrt:~# echo "hello world" > /dev/ttyS0 ash: write error: I/O error root@OpenWrt:~# Signed-off-by: Michael Heimpold --- target/linux/mxs/config-4.14 | 4 +--- 1 file changed, 1 insertion(+), 3 delet

[OpenWrt-Devel] [PATCH] fconfig: cleanup Makefile

2019-03-26 Thread Michael Heimpold
We do not need to define an empty Build/Configure since the default checks for existing ./configure and does nothing in case nothing is found. Similar for Build/Compile: we can remove the definition when we only call the default. Signed-off-by: Michael Heimpold --- package/boot/fconfig

[OpenWrt-Devel] [PATCH] wpan-tools: clean up Makefile

2019-03-26 Thread Michael Heimpold
When we only call the default, we do not need to define it explicitly. Signed-off-by: Michael Heimpold --- package/network/utils/wpan-tools/Makefile | 4 1 file changed, 4 deletions(-) diff --git a/package/network/utils/wpan-tools/Makefile b/package/network/utils/wpan-tools/Makefile

[OpenWrt-Devel] [PATCH] base-files/hotplug: add "dialout" user group and use it for ttyXYZ devices

2019-03-29 Thread Michael Heimpold
hus should not run as root when avoidable. Signed-off-by: Michael Heimpold --- package/base-files/files/etc/group | 1 + package/system/procd/files/hotplug.json | 4 2 files changed, 5 insertions(+) diff --git a/package/base-files/files/etc/group b/package/base-files/files/etc/g

[OpenWrt-Devel] [PATCH] Allow setting dedicated groupid for services

2019-03-29 Thread Michael Heimpold
Sometimes is desirable to run a process with a specific group id instead of the default one which is derived from passwd entry. This series extends procd to recognize such an optional group name passed to it during service instance definition. It also adds the required passing-through to the procd

[OpenWrt-Devel] [PATCH procd] service: allow setting a dedicated group id

2019-03-29 Thread Michael Heimpold
. Signed-off-by: Michael Heimpold --- service/instance.c | 25 - service/instance.h | 4 +++- 2 files changed, 23 insertions(+), 6 deletions(-) diff --git a/service/instance.c b/service/instance.c index a5742b7..3b92536 100644 --- a/service/instance.c +++ b/service/instance.c

[OpenWrt-Devel] [PATCH openwrt] procd: allow passing optional group instance parameter

2019-03-29 Thread Michael Heimpold
Signed-off-by: Michael Heimpold --- package/system/procd/files/procd.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package/system/procd/files/procd.sh b/package/system/procd/files/procd.sh index 72f25fe0c0..88114cee2a 100644 --- a/package/system/procd/files

Re: [OpenWrt-Devel] [PATCH] base-files/hotplug: add "dialout" user group and use it for ttyXYZ devices

2019-03-30 Thread Michael Heimpold
Hi, > the "tty" group has been introduced exactly for this purpose some time > ago (1)(2). Any reason why we need "dialout" as well? > > ~ Jo > > 1: > https://git.openwrt.org/?p=openwrt/openwrt.git;a=commitdiff;h=5523ee3459a2d3 > 46ad068ce359cdb60dcda1239d 2: > https://git.openwrt.org/?p=openwrt

[OpenWrt-Devel] [PATCH] instance: add support for customizable syslog facilities

2019-03-31 Thread Michael Heimpold
This allow using a different (read: user-defined) syslog facility other than LOG_DAEMON when an instance's stdout/stderr is forwarded to syslog. It might be used to handle such messages different, e.g. filter/forward them etc. Signed-off-by: Michael Heimpold --- service/instance.c

[OpenWrt-Devel] [PATCH v2] base-files/hotplug: fix dedicated group for tty devices

2019-04-02 Thread Michael Heimpold
file to re-introduce this feature and also renames the existing "tty" group to "dialout" as this is the more typical name for such a group on desktop systems. Fixes: 5209cfa534 ("procd: fix hotplug.json syntax") Signed-off-by: Michael Heimpold --- @jow: I was not sure

Re: [OpenWrt-Devel] [PATCH] instance: add support for customizable syslog facilities

2019-04-10 Thread Michael Heimpold
Hi, Am Mittwoch, 10. April 2019, 15:47:21 CEST schrieb Hans Dedecker: > Hi, > > On Sun, Mar 31, 2019 at 10:11 PM Michael Heimpold wrote: > > This allow using a different (read: user-defined) syslog facility > > other than LOG_DAEMON when an instance's stdout/stderr

[OpenWrt-Devel] [PATCH openwrt 4/4] procd: allow passing optional group instance parameter

2019-04-11 Thread Michael Heimpold
Signed-off-by: Michael Heimpold --- package/system/procd/files/procd.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package/system/procd/files/procd.sh b/package/system/procd/files/procd.sh index 6115f0702f..b49b2b9d01 100644 --- a/package/system/procd/files

[OpenWrt-Devel] [PATCH openwrt 3/4] procd: allow passing optional syslog facility as instance parameter

2019-04-11 Thread Michael Heimpold
While at, also add stdout/stderr documentation. Signed-off-by: Michael Heimpold --- package/system/procd/files/procd.sh | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/package/system/procd/files/procd.sh b/package/system/procd/files/procd.sh index 72f25fe0c0..6115f0702f

[OpenWrt-Devel] [PATCH procd 2/4] service: allow setting a dedicated group id

2019-04-11 Thread Michael Heimpold
. Signed-off-by: Michael Heimpold --- service/instance.c | 25 - service/instance.h | 4 +++- 2 files changed, 23 insertions(+), 6 deletions(-) diff --git a/service/instance.c b/service/instance.c index d37d872..d8bd52e 100644 --- a/service/instance.c +++ b/service/instance.c

[OpenWrt-Devel] [PATCH procd 1/4] instance: add support for customizable syslog facilities

2019-04-11 Thread Michael Heimpold
Signed-off-by: Michael Heimpold --- service/instance.c | 32 +++- service/instance.h | 1 + 2 files changed, 32 insertions(+), 1 deletion(-) diff --git a/service/instance.c b/service/instance.c index 3512f66..d37d872 100644 --- a/service/instance.c +++ b/service

[OpenWrt-Devel] [PATCH (resend as series) procd/openwrt 0/4] procd enhancements

2019-04-11 Thread Michael Heimpold
This series bundles two little enhancements for procd and also adds the required passing-through to the procd shell script helper. (1) Allow to specify the syslog facility for stdour/stderr syslog redirection At the moment, the instance stdout/stderr output is always logged with daemon facility w

Re: [OpenWrt-Devel] [PATCH 3/3 v2] gemini: Fix MAC address assignment for DIR-685

2019-06-13 Thread Michael Heimpold
Hi, Am Dienstag, 11. Juni 2019, 23:06:55 CEST schrieb Linus Walleij: > The DIR-685 has the MAC addresses in the RedBoot code just like > DNS-313. Check some magic numbers to determine that the MAC > address is where we want it and extract it from RedBoot. > > Signed-off-by: Linus Walleij > --- >

[OpenWrt-Devel] [PATCH] uboot-mxs: bump to v2019.07

2019-07-31 Thread Michael Heimpold
Also update the U-Boot BSP patch for I2SE Duckbill devices. Run tested on I2SE Duckbill and Olimex OLinuXino Maxi boards. Signed-off-by: Michael Heimpold --- package/boot/uboot-mxs/Makefile | 4 ++-- .../uboot-mxs/patches/001-add-i2se-duckbill.patch | 13 +++-- 2

[OpenWrt-Devel] [PATCH] uboot-mxs: bump to v2019.07

2019-07-31 Thread Michael Heimpold
Also update the U-Boot BSP patch for I2SE Duckbill devices. Run tested on I2SE Duckbill and Olimex OLinuXino Maxi boards. Signed-off-by: Michael Heimpold --- package/boot/uboot-mxs/Makefile | 4 ++-- .../uboot-mxs/patches/001-add-i2se-duckbill.patch | 13 +++-- 2

[OpenWrt-Devel] [PATCH] mxs: add support and switch to kernel 4.19

2019-07-31 Thread Michael Heimpold
Also remove kernel 4.14 support and the meanwhile obsolete patch. This was run-tested on I2SE Duckbill device and Olimex OLinuXino Maxi board. Signed-off-by: Michael Heimpold --- target/linux/mxs/Makefile | 2 +- target/linux/mxs/{config-4.14 => config-4.19} |

Re: [OpenWrt-Devel] [PATCH] uboot-mxs: bump to v2019.07

2019-08-21 Thread Michael Heimpold
Hi wigyori, Am Mittwoch, 31. Juli 2019, 23:42:45 CEST schrieb Michael Heimpold: > Also update the U-Boot BSP patch for I2SE Duckbill devices. > > Run tested on I2SE Duckbill and Olimex OLinuXino Maxi boards. any objections on this patch? Regards, mhei > > Signed-off-by: M

Re: [OpenWrt-Devel] [PATCH] mxs: add support and switch to kernel 4.19

2019-08-21 Thread Michael Heimpold
Hi wigyori, Am Mittwoch, 31. Juli 2019, 23:45:00 CEST schrieb Michael Heimpold: > Also remove kernel 4.14 support and the meanwhile obsolete patch. > > This was run-tested on I2SE Duckbill device and > Olimex OLinuXino Maxi board. here too, any objections? Best regards, mhei >

Re: [OpenWrt-Devel] [PATCH] build: add mkrasimage

2018-08-15 Thread Michael Heimpold
Hi David, a few code-styling nitpicks, see comments below: Am Mittwoch, 15. August 2018, 16:44:03 CEST schrieb David Bauer: > The current make-ras.sh image generation script for the ZyXEL NBG6617 > has portability issues with bash. Because of this, factory images are > currently not built correct

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

2018-08-28 Thread Michael Heimpold
Hi, > "DHCP Client", even with an alternative static IP address, might not > work for some home users. to make this work better, some companies are choosing the static fallback IP address in the AutoIP range 169.254.x.x/16. At least Windows will fallback to this range if it does not find a DHCP

Re: [OpenWrt-Devel] Is printf considered to be guaranteed?

2018-10-12 Thread Michael Heimpold
Am Donnerstag, 11. Oktober 2018, 22:44:53 CEST schrieb Sebastian Moeller: > Dear Luiz, > > thank you very much for this information. By now I have realized that printf > evaluated locale (specifically LC_NUMERIC) at least on non-openwrt unices, > which makes it unfortunately unusable for my purpos

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

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

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

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

Re: [OpenWrt-Devel] [PATCH fstools RFC] block: generate hotplug.d mount even "add" after mounting

2018-11-30 Thread Michael Heimpold
Hi, I really appreciate working on this, thanks! I just tried to apply this on top of current master but it fails to compile. Additionally, a few comments inline below. Am Freitag, 30. November 2018, 16:07:40 CET schrieb Rafał Miłecki: > From: Rafał Miłecki > > This is what was implemented in

Re: [OpenWrt-Devel] [PATCH fstools 1/4] block: fix formatting & indent in the mount_device()

2018-12-01 Thread Michael Heimpold
> + if (m->autofs) > + return -1; > + break; > + } > } else if (type == TYPE_HOTPLUG) { > blockd_notify(device, NULL, pr); > } LGTM, so feel free to add for the whole series: Reviewed-by: Michael Heimpold ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Re: [OpenWrt-Devel] [PATCH] autotools.mk: autoreconf: Fix missing install-sh by forcing install in libtoolize

2018-12-04 Thread Michael Heimpold
Hi, Am Dienstag, 4. Dezember 2018, 14:47:23 CET schrieb Petr Štetiar: > I'm trying to create a package for libgpiod, libgpiod is already part of package feed: https://github.com/openwrt/packages/blob/master/libs/libgpiod/Makefile > which uses > AC_CONFIG_AUX_DIR macro, which is probably leading

[OpenWrt-Devel] Q: procd: re-evaluation of inittab entries

2018-12-04 Thread Michael Heimpold
Hi, I'm currently playing with USB gadget stuff. The goal is to run an Ethernet link and a console over the USB link. I already selected the relevant kernel modules and ACM device and RNDIS device is created on the USB host system - all fine so far. The ACM device on the USB gadget side is create

Re: [OpenWrt-Devel] Q: procd: re-evaluation of inittab entries

2018-12-04 Thread Michael Heimpold
Hi, Am Mittwoch, 5. Dezember 2018, 03:52:20 CET schrieb Yousong Zhou: > On Wed, 5 Dec 2018 at 06:00, Michael Heimpold wrote: > > Hi, > > > > I'm currently playing with USB gadget stuff. The goal is to run an > > Ethernet > > link and a console over the USB

[OpenWrt-Devel] [PATCH] procd: simplify code in procd_inittab_run

2018-12-05 Thread Michael Heimpold
This is a trial to make it more obvious what the historically grown code is actually doing. Signed-off-by: Michael Heimpold --- inittab.c | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/inittab.c b/inittab.c index 4b9..41816b7 100644 --- a/inittab.c +++ b

[OpenWrt-Devel] [PATCH V2] procd: simplify code in procd_inittab_run

2018-12-09 Thread Michael Heimpold
This is a trial to make it more obvious what the historically grown code is actually doing. Signed-off-by: Michael Heimpold --- V2: use Jo-Philipp Wich's proposal inittab.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/inittab.c b/inittab.c index 4b9..c9

[OpenWrt-Devel] [PATCH 4/7] procd: shift arguments for askfirst only once

2019-01-01 Thread Michael Heimpold
In case we want to process an inittab item multiple times (e.g. in case of hotplugging) we must not shift the arguments for askfirst multiple times. So check whether we already did it. Signed-off-by: Michael Heimpold --- inittab.c | 18 -- 1 file changed, 12 insertions(+), 6

[OpenWrt-Devel] [PATCH 6/7] procd: add upgraded binary to .gitignore

2019-01-01 Thread Michael Heimpold
Signed-off-by: Michael Heimpold --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index 9d80a74..eaf1ef4 100644 --- a/.gitignore +++ b/.gitignore @@ -2,6 +2,7 @@ procd askfirst udevtrigger init +upgraded/upgraded .* Makefile CMakeCache.txt

[OpenWrt-Devel] [PATCH 3/7] procd: skip respawn in case device disappeared

2019-01-01 Thread Michael Heimpold
Signed-off-by: Michael Heimpold --- inittab.c | 5 + 1 file changed, 5 insertions(+) diff --git a/inittab.c b/inittab.c index b8552e9..18023f5 100644 --- a/inittab.c +++ b/inittab.c @@ -123,6 +123,11 @@ static void child_exit(struct uloop_process *proc, int ret) DEBUG(4, "p

[OpenWrt-Devel] [PATCH 7/7] procd: replace exit(-1) with exit(EXIT_FAILURE)

2019-01-01 Thread Michael Heimpold
Signed-off-by: Michael Heimpold --- initd/init.c| 2 +- initd/preinit.c | 6 +++--- initd/zram.c| 4 ++-- plug/coldplug.c | 3 ++- plug/hotplug.c | 14 +++--- upgraded/upgraded.c | 2 +- 6 files changed, 16 insertions(+), 15 deletions(-) diff --git a

[OpenWrt-Devel] [PATCH 2/7] procd: guard fork_worker calls

2019-01-01 Thread Michael Heimpold
. For this, we can re-use the remembered pid of the worker child, however, we need to reset this pid to allow a new instance in case the previous child exited. Signed-off-by: Michael Heimpold --- inittab.c | 18 -- 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a

[OpenWrt-Devel] [PATCH 1/7] procd: simplify code in procd_inittab_run

2019-01-01 Thread Michael Heimpold
This is a trial to make it more obvious what the historically grown code is actually doing. Signed-off-by: Michael Heimpold --- v2: use Jo-Philipp Wich's proposal inittab.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/inittab.c b/inittab.c index 4b9..c9

[OpenWrt-Devel] [PATCH 0/7] procd: console hotplugging support

2019-01-01 Thread Michael Heimpold
series also includes some nitpicks I stumbled over during coding. It can also be found in a Github repo: https://github.com/mhei/openwrt-procd/tree/console-hotplugging Michael Heimpold (7): procd: simplify code in procd_inittab_run procd: guard fork_worker calls procd: skip respawn in case

[OpenWrt-Devel] [PATCH 5/7] procd: add start-console support

2019-01-01 Thread Michael Heimpold
appear after kernel module loading and after configuring them with configfs. While it was possible to only scan the inittab for the desired item to start, I assume the inittab to be short and re-running the whole list will be negligible. Signed-off-by: Michael Heimpold --- plug/hotplug.c | 19

Re: [OpenWrt-Devel] [PATCH 0/7] procd: console hotplugging support

2019-01-02 Thread Michael Heimpold
of configfs to the right place. I'm feeling that this should not be part of the shell script but be done at a central place - still unsure where to put it because configfs is an optional kernel module and thus available later during boot... Best regards, Michael Am Mittwoch, 2. Januar 2019, 12:

[OpenWrt-Devel] [PATCH] uboot-mxs: bump to v2019.01

2019-01-16 Thread Michael Heimpold
Also update the U-Boot BSP patch for I2SE Duckbill devices. Signed-off-by: Michael Heimpold --- package/boot/uboot-mxs/Makefile | 4 +- .../patches/001-add-i2se-duckbill.patch | 40 +++ 2 files changed, 35 insertions(+), 9 deletions(-) diff --git a/package

Re: [OpenWrt-Devel] [PATCH] usbgadget: Add new package

2019-02-02 Thread Michael Heimpold
Hi Petr, Am Dienstag, 29. Januar 2019, 15:30:35 CET schrieb Petr Štetiar: > This package allows easier configuration of USB gadgets via standard UCI > interface. So far only CDC/ACM has been implemented and tested. > thanks for working on this. A few idea inside... > Signed-off-by: Petr Štetiar

Re: [OpenWrt-Devel] [PATCH] usbgadget: Add new package

2019-02-05 Thread Michael Heimpold
Hi, Am Dienstag, 5. Februar 2019, 18:39:55 CET schrieb Petr Štetiar: > Michael Heimpold [2019-02-02 10:09:40]: > > Hi, > > > I would prefer to have "config gadget " to configure one > > (multi-function) gadget and then have individual "config funct

Re: [OpenWrt-Devel] [PATCH] procd: Add cached and available to memory table

2019-02-11 Thread Michael Heimpold
Hi, a few nitpicks inline... Am Montag, 11. Februar 2019, 15:00:33 CET schrieb Zachary Cook: > This should allow Luci to show a better measure of system memory usage > Cached memory will be used to add a new progress bar > MemAvailable is the kernel's estimate of memory that is useable > by users

Re: [OpenWrt-Devel] [LEDE-DEV][PATCH 2/4] imx6: add support for Linux 4.14

2018-02-07 Thread Michael Heimpold
Hi, > ... > +CONFIG_EXT2_FS=y > +CONFIG_EXT2_FS_POSIX_ACL=y > +CONFIG_EXT2_FS_SECURITY=y > +CONFIG_EXT2_FS_XATTR=y > +CONFIG_EXT3_FS=y > +CONFIG_EXT3_FS_POSIX_ACL=y > +CONFIG_EXT3_FS_SECURITY=y is this really necesarry? I thought that ext4 will handle this smoothly... Regards, Michael __

[OpenWrt-Devel] [PATCH] mxs: rename files to files-4.9

2018-02-10 Thread Michael Heimpold
The Device Tree file for I2SE Duckbill boards was updated upstream. Let's use the upstream version for upcoming kernel 4.14 by keeping our current version for v4.9 still around. Signed-off-by: Michael Heimpold --- .../linux/mxs/{files => files-4.9}/arch/arm/boot/dts/imx28-duckbill.dts

[OpenWrt-Devel] [PATCH 1/2] packages: uboot-mxs: bump to 2017.11

2018-02-10 Thread Michael Heimpold
Also update the U-Boot BSP patch for I2SE Duckbill devices. Signed-off-by: Michael Heimpold --- package/boot/uboot-mxs/Makefile| 4 +- .../uboot-mxs/patches/001-add-i2se-duckbill.patch | 408 +++-- 2 files changed, 292 insertions(+), 120 deletions(-) diff

[OpenWrt-Devel] [PATCH 2/2] packages: uboot-mxs: override instead of appending u-boot make flags

2018-02-10 Thread Michael Heimpold
b): undefined reference to `EVP_MD_CTX_free' mxsimage.c:(.text+0x24ef): undefined reference to `EVP_CIPHER_CTX_reset' mxsimage.c:(.text+0x2e52): undefined reference to `EVP_MD_CTX_free' collect2: error: ld returned 1 exit status Signed-off-by: Michael Heimpold --- package/boot

Re: [OpenWrt-Devel] [LEDE-DEV] kernel version status

2018-02-19 Thread Michael Heimpold
Hi, Am Sonntag, 18. Februar 2018, 22:43:42 CET schrieb Hauke Mehrtens: > ... > > The following targets are on kernel 4.9 and are fine: > ... > * mxs > ... a few weeks ago, I was in contact with Zoltan who started working on 4.14 support for mxs. I found some patches in his staging repo and added

Re: [OpenWrt-Devel] [PATCH packages] php7: add package dependency on zoneinfo-core

2018-06-24 Thread Michael Heimpold
is is ok for all :-) Thanks, Michael > John > > > --- > > > > lang/php7/Makefile | 6 +++--- > > 1 file changed, 3 insertions(+), 3 deletions(-) > > > > diff --git a/lang/php7/Makefile b/lang/php7/Makefile > > index aa860a95..93348543 10064

[OpenWrt-Devel] [PATCH] kernel: add missing config symbols

2014-06-29 Thread Michael Heimpold
Spotted by several buildbots. Signed-off-by: Michael Heimpold --- target/linux/generic/config-3.10 |3 +++ target/linux/generic/config-3.13 |3 +++ target/linux/generic/config-3.14 |3 +++ 3 files changed, 9 insertions(+) diff --git a/target/linux/generic/config-3.10 b/target/linux

[OpenWrt-Devel] [PATCH] toolchain: uClibc: fix build with CONFIG_BUILD_NLS selected

2014-09-17 Thread Michael Heimpold
_LOCALE) (NEW) 3. Use Pre-generated Locale Data (UCLIBC_PREGENERATED_LOCALE_DATA) (NEW) choice[1-3]: Signed-off-by: Michael Heimpold --- toolchain/uClibc/common.mk |1 + toolchain/uClibc/config-0.9.33.2/common |3 +++ 2 files changed, 4 insertions(+) diff --git a/too

[OpenWrt-Devel] [PATCH] toolchain: uClibc: refresh 009_backport_mount.h-update.patch

2014-09-18 Thread Michael Heimpold
Signed-off-by: Michael Heimpold --- .../uClibc/patches-0.9.33.2/009_backport_mount.h-update.patch |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/toolchain/uClibc/patches-0.9.33.2/009_backport_mount.h-update.patch b/toolchain/uClibc/patches-0.9.33.2

[OpenWrt-Devel] [PATCH] toolchain: uClibc: fix compile with full language support enabled (fixes #13095)

2014-09-18 Thread Michael Heimpold
_ar71xx_generic=y CONFIG_TARGET_ar71xx_generic_Default=y CONFIG_DEVEL=y CONFIG_BUILD_NLS=y CONFIG_DOWNLOAD_FOLDER="/srv/downloads/downloads" -snap- In the ticket mentioned above, a patch is referenced which solves this issue. Note, that this issue is also present on 14.07. Sig

[OpenWrt-Devel] [PATCH] ramips: D-Link DIR-810L: make led naming consistent with other boards

2014-09-19 Thread Michael Heimpold
Signed-off-by: Michael Heimpold --- I just stumbled over r42619 and wondered, whether we should not keep the :: naming scheme. Or is there a reason to not follow this convention? Yours, Michael target/linux/ramips/base-files/etc/board.d/01_leds |2 +- target/linux/ramips/dts/DIR-810L.dts

[OpenWrt-Devel] [PATCH] kernel: add rtc-ds1307 module support

2014-09-20 Thread Michael Heimpold
Signed-off-by: Michael Heimpold --- package/kernel/linux/modules/other.mk | 18 ++ 1 file changed, 18 insertions(+) diff --git a/package/kernel/linux/modules/other.mk b/package/kernel/linux/modules/other.mk index 199e457..6861224 100644 --- a/package/kernel/linux/modules

[OpenWrt-Devel] [PATCH] kernel: add ledtrig-transient module support

2014-09-20 Thread Michael Heimpold
Signed-off-by: Michael Heimpold --- package/kernel/linux/modules/leds.mk | 15 +++ 1 file changed, 15 insertions(+) diff --git a/package/kernel/linux/modules/leds.mk b/package/kernel/linux/modules/leds.mk index 24a03dd..9c54c78 100644 --- a/package/kernel/linux/modules/leds.mk

[OpenWrt-Devel] [PATCH] at91: remove support for TQMa9263

2014-09-23 Thread Michael Heimpold
This board is EOL, we should not bother anymore with it. Signed-off-by: Michael Heimpold --- .../files-3.10/arch/arm/mach-at91/board-tqma9263.c | 219 .../files-3.14/arch/arm/mach-at91/board-tqma9263.c | 219 .../at91/patches-3.10/700-tqma9263

Re: [OpenWrt-Devel] [PATCH] at91: remove support for TQMa9263

2014-10-06 Thread Michael Heimpold
Hi John, Am Freitag, 3. Oktober 2014, 21:43:29 schrieb John Crispin: > EOL as in not produced anymore or has no existing users ? > Both is true. > On 23/09/2014 21:33, Michael Heimpold wrote: > > This board is EOL, we should not bother anymore with it. > > > > Sign

[OpenWrt-Devel] [PATCH] Add more license tags with SPDX identifiers

2014-11-02 Thread Michael Heimpold
cense information. Signed-off-by: Michael Heimpold --- Hi, this is a rebased version of the patch I sent in June, see http://patchwork.openwrt.org/patch/5636 Changes can also be pulled from https://github.com/mhei/openwrt/tree/spdx Regards, Michael package/base-files/Makefile

Re: [OpenWrt-Devel] [PATCH] Add more license tags with SPDX identifiers

2014-11-03 Thread Michael Heimpold
, Michael > John > > On 02/11/2014 20:54, Michael Heimpold wrote: > > Note, that licensing stuff is a nightmare: many packages does not > > clearly state their licenses, and often multiple source files are > > simply copied together - each with different licensing

[OpenWrt-Devel] [PATCH RESEND] toolchain: uClibc: fix build with CONFIG_BUILD_NLS selected

2014-11-29 Thread Michael Heimpold
_LOCALE) (NEW) 3. Use Pre-generated Locale Data (UCLIBC_PREGENERATED_LOCALE_DATA) (NEW) choice[1-3]: Signed-off-by: Michael Heimpold --- toolchain/uClibc/common.mk |1 + toolchain/uClibc/config-0.9.33.2/common |3 +++ 2 files changed, 4 insertions(+) diff --git a/too

[OpenWrt-Devel] [PATCH RESEND] toolchain: uClibc: fix compile with full language support enabled (fixes #13095)

2014-11-29 Thread Michael Heimpold
_ar71xx_generic=y CONFIG_TARGET_ar71xx_generic_Default=y CONFIG_DEVEL=y CONFIG_BUILD_NLS=y CONFIG_DOWNLOAD_FOLDER="/srv/downloads/downloads" -snap- In the ticket mentioned above, a patch is referenced which solves this issue. Note, that this issue is also present on 14.07. Sig

[OpenWrt-Devel] [PATCH] mxs: fix automatic status led detection

2014-12-06 Thread Michael Heimpold
Without -d the ls command would dereference the found led directory, but we are only interested in the directory name itself. Signed-off-by: Michael Heimpold --- target/linux/mxs/base-files/etc/diag.sh |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/target/linux/mxs

[OpenWrt-Devel] [PATCH] mxs: add I2C and SPI packages to Duckbill's profile as default

2014-12-06 Thread Michael Heimpold
Signed-off-by: Michael Heimpold --- target/linux/mxs/profiles/01-duckbill.mk |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/target/linux/mxs/profiles/01-duckbill.mk b/target/linux/mxs/profiles/01-duckbill.mk index 3f75a7a..ccd3881 100644 --- a/target/linux/mxs/profiles

[OpenWrt-Devel] [PATCH v2] mxs: add kernel module for i2c interface

2014-12-06 Thread Michael Heimpold
Signed-off-by: Michael Heimpold --- Changelog: - v2: - disable option in kernel config - v1: - initial version target/linux/mxs/config-3.14 |2 +- target/linux/mxs/modules.mk | 15 +++ 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/target/linux/mxs

[OpenWrt-Devel] [PATCH] mxs: allow bootloader to pass kernel cmdline

2014-12-06 Thread Michael Heimpold
This enables the config option to allow a bootloader, e.g. U-Boot, to pass the kernel command line arguments. Without, only the predefined command line from DT is used. Signed-off-by: Michael Heimpold --- target/linux/mxs/config-3.14 |4 +++- 1 file changed, 3 insertions(+), 1 deletion

[OpenWrt-Devel] [PATCH v2] mxs: disable debugging noise for i2c

2014-12-06 Thread Michael Heimpold
I tested I2C with two PCA9554 attached on a custom board. To the first PCA9554, I attached several LEDs, the second one was wired to some push buttons. This all worked like a charm, so I would like to disable debug messages per default as it fills up the kernel log. Signed-off-by: Michael

[OpenWrt-Devel] [PATCH v2] mxs: update dts file for Duckbill

2014-12-06 Thread Michael Heimpold
- fix ethernet reset gpio - fix bus width for micro SD card - make I2C0 available - make SPI0 available - use the padconfig defintions from mxs-pinfunc.h Signed-off-by: Michael Heimpold --- Changelog: - v2: - added padconfig stuff - v1: - initial version .../mxs/files/arch/arm/boot/dts

[OpenWrt-Devel] [PATCH RESEND] mxs: add kernel module for spi interface

2014-12-06 Thread Michael Heimpold
Signed-off-by: Michael Heimpold --- target/linux/mxs/modules.mk | 15 +++ 1 file changed, 15 insertions(+) diff --git a/target/linux/mxs/modules.mk b/target/linux/mxs/modules.mk index c96146c..eba06c1 100644 --- a/target/linux/mxs/modules.mk +++ b/target/linux/mxs/modules.mk

  1   2   3   >