[LEDE-DEV] [PATCH 4/4] Add bootconfig and flash script for the tew827dru

2016-09-07 Thread J Mo
The tew827dru requires a u-boot hush shell script to install it's factory image. Additionally, a "bootconfig" partition blob is needed to direct the OEM's "Fail Safe" system to boot from the proper UBI partition. Signed-off-by: jmomo --- .../linux/ipq806x/image/tew827dru-bootconfig.bin | Bin

[LEDE-DEV] [PATCH 1/4] Add new script: scripts/its-maker.sh

2016-09-07 Thread J Mo
its-maker.sh creates an .its file, given a series of arguments, which is then used to create a FIT image. Required to support the tew827dru, but intended to support the creation of any valid .its file. Signed-off-by: jmomo --- scripts/its-maker.sh | 598 +++

[LEDE-DEV] [PATCH 3/4] DTS file for the tew827dru

2016-09-07 Thread J Mo
Signed-off-by: jmomo --- .../arch/arm/boot/dts/qcom-ipq8064-tew827dru.dts | 357 + 1 file changed, 357 insertions(+) create mode 100644 target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-tew827dru.dts diff --git a/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-

[LEDE-DEV] [PATCH 0/4] Add support for the TRENDnet TEW-827DRU (tew827dru)

2016-09-07 Thread J Mo
This is an initial patch set proposal to add support for the TRENDnet TEW-827DRU. Especially notice the FIT builder block I put in image-commands.mk. It should probably not go there, but I don't know of an alternative because it can't go into the device makefile. Finally note that patch 494-mt

[LEDE-DEV] [PATCH 2/4] Add support for new device: tew827dru

2016-09-07 Thread J Mo
The TRENDnet TEW-827DRU is an ipq806x wireless router. ipq8064 SoC with 2x ARMv7-ish Krait 300 CPUs at 1.4Ghz 512MB RAM, 256MB SLC NAND flash (64MB default UBI img size) 1x qca8337-al3c 1000BASE-T ethernet switch, 1-WAN, 4-LAN 2x qca9980 802.11 radios 2x USB3 type A Product page: https://www.tre

Re: [LEDE-DEV] [PATCH uci] file: use fsync after renaming temp file

2016-09-07 Thread Vittorio G (VittGam)
Hi, On 07/09/2016 08:11:03 CEST, Rafał Miłecki wrote: + dir_fd = open(dirname(path), O_RDONLY); + if (dir_fd) { This should be dir_fd != -1, as -1 is returned when an error occurs in open(). + fsync(dir_fd); + close(dir_

Re: [LEDE-DEV] Documentation for router support means the famous Table of Hardware

2016-09-07 Thread Eric Schultz
Hey all, Since I was referenced in that thread on the OpenWrt forum, I'll give my two cents. The documentation initiative I tried to start seemed to fizzle out from the difficulty in getting the front page of the wiki changed to be more useful. When changes didn't seem possible (and it wasn't clea

Re: [LEDE-DEV] Documentation for router support means the famous Table of Hardware

2016-09-07 Thread J Mo
On 09/07/2016 11:43 AM, Jan-Tarek Butt wrote: If anyone have some better ideas for documenting device specific informations pls write it here. Also some feature ideas or potential problems will be very helpful. Maybe you should involve these people in the conversation: https://forum.openwrt.o

[LEDE-DEV] [PATCH] cns3xxx: add GW2386 support

2016-09-07 Thread Tim Harvey
Signed-off-by: Tim Harvey --- .../cns3xxx/files/arch/arm/mach-cns3xxx/laguna.c | 20 1 file changed, 20 insertions(+) diff --git a/target/linux/cns3xxx/files/arch/arm/mach-cns3xxx/laguna.c b/target/linux/cns3xxx/files/arch/arm/mach-cns3xxx/laguna.c index 667a8e5..fb519d

[LEDE-DEV] Documentation for router support means the famous Table of Hardware

2016-09-07 Thread Jan-Tarek Butt
Hi, I am Tarek. ndb and I had discuss about the hardware support documentation for LEDE. So I send these proposal to create a asciidoc documentation nearly similar to the OpenWRT table of hardware. The idea is to create a Main table were users can fast and easily search for devices. Each device sh

[LEDE-DEV] [PATCH v2] toolchain: Rework external toolchain libc selection

2016-09-07 Thread Florian Fainelli
Make it a choice menu which offers the 3 C libraries we know about: glibc, uClibc and musl. While at it, make it possible for the external toolchain libc to select USE_GLIBC, USE_UCLIBC or USE_MUSL which is used by several packages to conditionally include specific CFLAGS (e.g: iproute2). Because

[LEDE-DEV] [PATCH 2/2 v2] e2fsprogs: List all libraries explicitly

2016-09-07 Thread Florian Fainelli
e2fsprogs would fail linking with external toolchains which would not be able to find several dependencies, explicit them. Signed-off-by: Florian Fainelli --- Changes in v2: - rebased against first patch package/utils/e2fsprogs/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pa

[LEDE-DEV] [PATCH 1/2 v2] e2fsprogs: Honor the global verbose flag

2016-09-07 Thread Florian Fainelli
Look for OPENWRT_VERBOSE and pass it down to the e2fsprogs entry-point Makefile. Signed-off-by: Florian Fainelli --- Changes in v2: - fixed how V= will end-up being formatted package/utils/e2fsprogs/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/utils/e2fsprogs/Makefile

[LEDE-DEV] [RFC 1/2] ubifs: drop softlimit and delta fields from struct ubifs_wbuf

2016-09-07 Thread Rafał Miłecki
From: Rafał Miłecki Values of these fields are set during init and never modified. They are used (read) in a single function only. There isn't really any reason to keep them in a struct. It only makes struct just a bit bigger without any visible gain. Signed-off-by: Rafał Miłecki --- fs/ubifs/

[LEDE-DEV] [RFC 2/2] ubifs: use dirty_writeback_interval value for wbuf timer

2016-09-07 Thread Rafał Miłecki
From: Rafał Miłecki Right now wbuf timer has hardcoded timeouts and there is no place for manual adjustments. Some projects / cases many need that though. Few file systems allow doing that by respecting dirty_writeback_interval that can be set using sysctl (dirty_writeback_centisecs). Lowering d

[LEDE-DEV] [RFC 0/2] ubifs: respect dirty_writeback_interval

2016-09-07 Thread Rafał Miłecki
From: Rafał Miłecki Hi, This is patchset I mean to send to kernel ubifs guys and I wanted first to see if I can get any comments here at LEDE. LEDE can be unstable on power cuts when installed on NAND devices (with ubifs). This is caused by the default high value of wbuf timeout used by ubifs.

[LEDE-DEV] [PATCH v2] kernel: clean up usb gadget support

2016-09-07 Thread Tim Harvey
clean up usb gadget support: - rename gadget modules so that they appear under the usb-gadget sub-menu - change deps to auto-select Signed-off-by: Tim Harvey --- v2: - leave libcomposite so opkg deps don't collide - do not rename modules to match kernel module names to avoid using _ char whi

[LEDE-DEV] [PATCH v2] cns3xxx: add GW2394 Support

2016-09-07 Thread Tim Harvey
Signed-off-by: Tim Harvey --- target/linux/cns3xxx/files/arch/arm/mach-cns3xxx/laguna.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/target/linux/cns3xxx/files/arch/arm/mach-cns3xxx/laguna.c b/target/linux/cns3xxx/files/arch/arm/mach-cns3xxx/laguna.c index 6c77923..667a

Re: [LEDE-DEV] [PATCH] cns3xxx: add GW2394 Support

2016-09-07 Thread Felix Fietkau
On 2016-09-06 18:38, Tim Harvey wrote: > Signed-off-by: Tim Harvey > --- > target/linux/cns3xxx/files/arch/arm/mach-cns3xxx/laguna.c | 4 > +++- > .../linux/cns3xxx/patches-4.4/255-laguna-add-gsc-driver-support.patch | 4 > +++- 255-laguna-add-gsc-driver-support.patch doesn't seem t

Re: [LEDE-DEV] [PATCH] feeds: use github as source for oldpackages

2016-09-07 Thread Jo-Philipp Wich
Hi, we already have a mirror of oldpackages at https://git.lede-project.org/?p=openwrt/packages.git;a=summary ~ Jo ___ Lede-dev mailing list Lede-dev@lists.infradead.org http://lists.infradead.org/mailman/listinfo/lede-dev

Re: [LEDE-DEV] [PATCH] feeds: use github as source for oldpackages

2016-09-07 Thread Felix Fietkau
On 2016-09-07 12:51, Koen Vandeputte wrote: > Hi Felix, > > copy/paste error .. grmbl > > The original URL has suffered from downtime a lot the past 2 weeks. > (also this very moment) > Are there any plans to have a LEDE mirror for this feed? No plans for that. This is not something people shoul

Re: [LEDE-DEV] [PATCH] feeds: use github as source for oldpackages

2016-09-07 Thread Koen Vandeputte
Hi Felix, copy/paste error .. grmbl The original URL has suffered from downtime a lot the past 2 weeks. (also this very moment) Are there any plans to have a LEDE mirror for this feed? Thanks, Koen On 2016-09-07 12:44, Felix Fietkau wrote: On 2016-09-07 12:31, Koen Vandeputte wrote: The o

Re: [LEDE-DEV] [PATCH] feeds: use github as source for oldpackages

2016-09-07 Thread Felix Fietkau
On 2016-09-07 12:31, Koen Vandeputte wrote: > The original URL defined has encountered a lot of downtime > the last few weeks. > > Use github as source for this feed as it's more reliable > > Signed-off-by: Koen Vandeputte > --- > feeds.conf.default | 2 +- > 1 file changed, 1 insertion(+), 1 d

[LEDE-DEV] [PATCH] feeds: use github as source for oldpackages

2016-09-07 Thread Koen Vandeputte
The original URL defined has encountered a lot of downtime the last few weeks. Use github as source for this feed as it's more reliable Signed-off-by: Koen Vandeputte --- feeds.conf.default | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/feeds.conf.default b/feeds.conf.defau

Re: [LEDE-DEV] overlayfs + ubifs: power cut results in "failed to create directory /overlay/work/work (errno: 17); mounting read-only"

2016-09-07 Thread Miklos Szeredi
On Tue, Sep 6, 2016 at 5:53 PM, Rafał Miłecki wrote: > On 6 September 2016 at 14:56, Rafał Miłecki wrote: >> On 6 September 2016 at 14:50, Miklos Szeredi wrote: >>> On Tue, Sep 6, 2016 at 1:59 PM, Richard Weinberger wrote: overlayfs does not issue a recursive rm on workdir, AFAICT you are