Re: [LEDE-DEV] [OpenWrt-Devel] How to merge/combine more than one mtd partition for storage?

2016-09-08 Thread Y.T. Jiang
1. In general , partitions definition in dts file, you can find some example according to yours device: grep -r partition build_dir/target-xx/linux-xx/linux-4./arch/arm/boot/dts/ 2. Or, partitions definition also can be transmit by uboot env, for example: In u-boot prompt: setenv b

[LEDE-DEV] How to merge/combine more than one mtd partition for storage?

2016-09-08 Thread J Mo
Hello! I have a device which has a 256MB SLC NAND flash for storage. It uses a redundant pair of 64MB UBI partitions. Then it has 108MB of completely unused non-partitioned space at the end of the NAND. I would like to combine these partitions so that I can use the combined 236MB of NAND sp

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

2016-09-08 Thread Jan-Tarek Butt
On 09/08/16 19:38, Thomas Endt wrote: > [Sorry if this message is out-of-thread. I joined the mailinglist only > today] No problem :) > Russel> If you want something that's pretty, hire someone to watch > Russel> RecentChanges and clean stuff up. > > I did this quite intensively in the past, b

[LEDE-DEV] A Wiki for LEDE Documentation

2016-09-08 Thread Rich Brown
I am glad to see such strong support for a wiki. A wiki gives power to interested people to add information/correct entries and make the LEDE project look better. There will always be problems associated with a wiki. Those of us who watched the OpenWrt wiki have seen them all. But a small grou

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

2016-09-08 Thread Rich Brown
What a great discussion! I am delighted to see so much interest in the LEDE project, and concern for its success. But I want to pick up on something that Thomas said... > On Sep 8, 2016, at 1:38 PM, Thomas Endt wrote: > > ... However, I'm > hesitating to invest as much time as I used to some m

Re: [LEDE-DEV] [PATCH 2/3] kernel: owl-loader for delayed Atheros ath9k fixup

2016-09-08 Thread Christian Lamparter
Hello, On Thursday, September 8, 2016 9:34:07 AM CEST John Crispin wrote: > Hi, > > why is this code located under package/ and not as a kernel patch under > target/linux/generic ? well, there isn't a good reason. In fact, it started as a copy of gpio-button-hotplug's skeleton and evolved it fro

[LEDE-DEV] Extraneous messages from issue tracker

2016-09-08 Thread Ted Hess
Hi all - If you are receiving a message about a task change which was done by me and don't know what changed - It's due to the work I am doing on issue "tags". I am removing redundant information and cleaning up the actual tags in use to be single word items. Tags may now be a list of single words

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

2016-09-08 Thread John Crispin
On 08/09/2016 19:38, Thomas Endt wrote: > John> minor details, openwrt wiki still has 0 admins that delete > John> and protect pages, which is the important part of my mail. > > I'm still there... but to pick up the idea of LEDE, to have several people > for the same function in order to avoid a

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

2016-09-08 Thread Thomas Endt
[Sorry if this message is out-of-thread. I joined the mailinglist only today] Russel> If you want something that's pretty, hire someone to watch Russel> RecentChanges and clean stuff up. I did this quite intensively in the past, but needed some time for other stuff during the last 5 months. Trigg

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

2016-09-08 Thread Alberto Bursi
I think most people are a bit excessive here. LEDE wiki isn't Wikipedia and won't ever get anywhere near the amount of edits as a generalist wiki. Having some designated guy that gets an email and then looks at modifications to make sure it's not garbage is feasible imho, like a "wiki mantai

[LEDE-DEV] Working with network namespaces?

2016-09-08 Thread yanosz
Hello folks, I'm thinking about hacking around with Linux network namespaces. Is it possible to assign a designated namespaces to a interface or link configuration in /etc/config/{network,wireless}? Thanks, Greetz, yanosz -- For those of you without hope, we have rooms with color TV, cable and

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

2016-09-08 Thread Tim Harvey
clean up usb gadget support: - rename gadget modules so that they appear together and are easier to identify as gadget modules - make usb-lib-composite and usb-gadget hidden as there is no point in selecting those without gadget drivers that require them as deps Signed-off-by: Tim Harvey ---

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

2016-09-08 Thread Tim Harvey
On Thu, Sep 8, 2016 at 8:14 AM, Felix Fietkau wrote: > On 2016-09-08 16:47, Tim Harvey wrote: >> 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 >> --- >> v3: >> - update tar

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

2016-09-08 Thread Felix Fietkau
On 2016-09-08 16:47, Tim Harvey wrote: > 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 > --- > v3: > - update targets that use gadgets with new names > > v2: > - leave libcom

[LEDE-DEV] web presence

2016-09-08 Thread John Crispin
web service is restarting due to hdd maintenance. should be back up shortly ___ Lede-dev mailing list Lede-dev@lists.infradead.org http://lists.infradead.org/mailman/listinfo/lede-dev

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

2016-09-08 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 --- v3: - update targets that use gadgets with new names v2: - leave libcomposite so opkg deps don't collide - do not rename modules to

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

2016-09-08 Thread Tim Harvey
On Thu, Sep 8, 2016 at 12:57 AM, John Crispin wrote: > Hi Tim, > > target/linux/at91/Makefile:DEFAULT_PACKAGES += kmod-usb-ohci > kmod-at91-udc kmod-usb-eth-gadget > > this will get broken by your patch. there might be more, i just looked > till i found the first. please resend a V3 with a fixup f

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

2016-09-08 Thread John Crispin
On 08/09/2016 16:30, Joseph Marlin wrote: > The English Wikipedia has 1,294 administrators who can delete and protect > pages, but these are definitely not paid, nor are they fulltime unless they > choose to be. They are entirely volunteer, and are simply regular editors who > have proven to b

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

2016-09-08 Thread Joseph Marlin
The English Wikipedia has 1,294 administrators who can delete and protect pages, but these are definitely not paid, nor are they fulltime unless they choose to be. They are entirely volunteer, and are simply regular editors who have proven to be reliable and active. The English Wikipedia in gene

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

2016-09-08 Thread John Crispin
On 08/09/2016 15:56, Jan-Tarek Butt wrote: > > > On 09/08/16 14:19, Russell Senior wrote: >>> "Jan-Tarek" == Jan-Tarek Butt writes: >> >> Jan-Tarek> Also I wish we can establish a reviewing and applying >> Jan-Tarek> process. But I dont know how we can resolv this inside a >> Jan-Tarek> w

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

2016-09-08 Thread Jan-Tarek Butt
On 09/08/16 14:19, Russell Senior wrote: >> "Jan-Tarek" == Jan-Tarek Butt writes: > > Jan-Tarek> Also I wish we can establish a reviewing and applying > Jan-Tarek> process. But I dont know how we can resolv this inside a > Jan-Tarek> wiki > > The traditional wiki approach is to let people

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

2016-09-08 Thread Russell Senior
> "Jan-Tarek" == Jan-Tarek Butt writes: Jan-Tarek> Also I wish we can establish a reviewing and applying Jan-Tarek> process. But I dont know how we can resolv this inside a Jan-Tarek> wiki The traditional wiki approach is to let people make edits freely and to revert bad changes. That way,

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

2016-09-08 Thread Jan-Tarek Butt
On 09/08/16 12:59, Karl Palsson wrote: > > Jan-Tarek Butt wrote: >>> 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 >>> chang

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

2016-09-08 Thread Karl Palsson
Jan-Tarek Butt wrote: > > 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 see

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

2016-09-08 Thread Karl Palsson
Russell Senior wrote: >> [on making documentation changes only via pull requests] >> > I want to push back on this a little bit. Jimmy Wales had > similar ideas, once upon a time (see > https://en.wikipedia.org/wiki/Nupedia), and he was proven > wrong, empirically. The beauty of wikis is that pe

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

2016-09-08 Thread Jan-Tarek Butt
>> On 09/08/16 11:08, Russell Senior wrote: "Eric" == Eric Schultz writes: >>> >>> Eric> I think the idea of having the hardware support documentation >>> Eric> managed by experts is a good idea. Non-experts can, and should, >>> Eric> have plenty of areas to contribute but I don't see thi

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

2016-09-08 Thread John Crispin
On 08/09/2016 11:35, J Mo wrote: > > > On 09/08/2016 12:16 AM, John Crispin wrote: >> >> On 08/09/2016 07:04, J Mo wrote: >>> 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

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

2016-09-08 Thread John Crispin
On 08/09/2016 11:35, J Mo wrote: > >>> diff --git a/include/image-commands.mk b/include/image-commands.mk >>> index 40a9619..209caf4 100644 >>> --- a/include/image-commands.mk >>> +++ b/include/image-commands.mk >>> @@ -167,3 +167,48 @@ define Build/sysupgrade-tar >>> --rootfs $(call >

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

2016-09-08 Thread moeller0
Hi Tarek, > On Sep 8, 2016, at 11:34 , Jan-Tarek Butt wrote: > > > > On 09/08/16 11:08, Russell Senior wrote: >>> "Eric" == Eric Schultz writes: >> >> Eric> I think the idea of having the hardware support documentation >> Eric> managed by experts is a good idea. Non-experts can, and shou

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

2016-09-08 Thread J Mo
diff --git a/include/image-commands.mk b/include/image-commands.mk index 40a9619..209caf4 100644 --- a/include/image-commands.mk +++ b/include/image-commands.mk @@ -167,3 +167,48 @@ define Build/sysupgrade-tar --rootfs $(call param_get_default,rootfs,$(1),$(IMAGE_ROOTFS)) \

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

2016-09-08 Thread J Mo
On 09/08/2016 12:16 AM, John Crispin wrote: On 08/09/2016 07:04, J Mo wrote: 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.

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

2016-09-08 Thread Jan-Tarek Butt
On 09/08/16 11:08, Russell Senior wrote: >> "Eric" == Eric Schultz writes: > > Eric> I think the idea of having the hardware support documentation > Eric> managed by experts is a good idea. Non-experts can, and should, > Eric> have plenty of areas to contribute but I don't see this area as

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

2016-09-08 Thread J Mo
On 09/08/2016 12:09 AM, John Crispin wrote: On 08/09/2016 07:04, J Mo wrote: 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-

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

2016-09-08 Thread Jan-Tarek Butt
> 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-08 Thread Russell Senior
> "Eric" == Eric Schultz writes: Eric> I think the idea of having the hardware support documentation Eric> managed by experts is a good idea. Non-experts can, and should, Eric> have plenty of areas to contribute but I don't see this area as Eric> one of them. I want to push back on this a li

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

2016-09-08 Thread John Crispin
Hi Tim, target/linux/at91/Makefile:DEFAULT_PACKAGES += kmod-usb-ohci kmod-at91-udc kmod-usb-eth-gadget this will get broken by your patch. there might be more, i just looked till i found the first. please resend a V3 with a fixup for the references in target/ John On 07/09/2016 18:16, T

Re: [LEDE-DEV] [PATCH 2/3] kernel: owl-loader for delayed Atheros ath9k fixup

2016-09-08 Thread John Crispin
Hi, why is this code located under package/ and not as a kernel patch under target/linux/generic ? John On 05/09/2016 06:59, Chris Blake wrote: > From: Christian Lamparter > > Some devices (like the Cisco Meraki Z1 Cloud Managed Teleworker Gateway) > need to be able to initialize the

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

2016-09-08 Thread John Crispin
On 08/09/2016 07:04, J Mo wrote: > 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 > --- > .../lin

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

2016-09-08 Thread John Crispin
On 08/09/2016 07:04, J Mo wrote: > 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

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

2016-09-08 Thread John Crispin
On 08/09/2016 07:04, J Mo wrote: > 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

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

2016-09-08 Thread John Crispin
On 08/09/2016 07:04, J Mo wrote: > 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 this seems overly com

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

2016-09-08 Thread John Crispin
Hi, 2 comments for all patches 1) they are all missing the subject prefix. i n this case it would be ipq806x 2) the SoB line is using a nickname. please add your full/real name instead John On 08/09/2016 07:04, J Mo wrote: > This is an initial patch set proposal to add support for the