Re: [LEDE-DEV] [LEDE DEV][wiki] Login with github

2016-10-03 Thread Thomas Endt
> Hi, thanks for setting that up! Works for me but I hope it's possible > to reduce the required permissions for the login. At the moment the > OAuth Plugin gets full read+write access to the profile of the github > account. $someone opened a ticket recently: https://github.com/cosmocode/dokuwiki

Re: [LEDE-DEV] Adding support for dlink dwr-512

2016-10-03 Thread Giuseppe Lippolis
Hi Mathias, > > use the "KERNEL := kernel-bin | patch-dtb | lzma" config instead? > > Well, that is exactly the KERNEL line I've send in my last mail. Not > sure if I get > what you are asking here. But such a kernel works for most of the > rt305x devices. In your previous email your advice w

Re: [LEDE-DEV] Adding support for dlink dwr-512

2016-10-03 Thread Mathias Kresin
03.10.2016 10:24, Giuseppe Lippolis: Hi Mathias, use the "KERNEL := kernel-bin | patch-dtb | lzma" config instead? Well, that is exactly the KERNEL line I've send in my last mail. Not sure if I get what you are asking here. But such a kernel works for most of the rt305x devices. In your

Re: [LEDE-DEV] Adding support for dlink dwr-512

2016-10-03 Thread Giuseppe Lippolis
> Von: Mathias Kresin [mailto:d...@kresin.me] > Gesendet: Montag, 3. Oktober 2016 10:38 > > With the current change in the target/linux/ramips/image/rt305x.mk : > > + KERNEL := kernel-bin | patch-dtb | lzma IMAGES := factory.bin > > + IMAGE/factory.bin := \ > > + append-kernel > > Am I r

Re: [LEDE-DEV] o2 box 6431 / VGV7510KW22 - SIP with FXS/TAE Ports | owsip or alternative ?

2016-10-03 Thread Hauke Mehrtens
On 10/03/2016 10:23 AM, Eddi De Pieri wrote: > Hi, > > Before that you need to port vmmc softdog and other kernel stuff! That part is already done, but not really tested. I was able to see the telephone number when staring a call from an analog phone. Hauke > > > Il 03/ott/2016 01:59 AM, "Hau

[LEDE-DEV] Call defines for minifying scripting languages

2016-10-03 Thread Jan-Tarek Butt
Hi, My Idea ist to create calldefs to minify all scriptes there are interpreted by run time. As example see the mail "[PATCH] LuaSrcDiet call define for lua code Minifying". I plan to write also calldefs for shellscripts, python and perl. They brings vareous of features. 1. Reducing memory s

Re: [LEDE-DEV] Call defines for minifying scripting languages

2016-10-03 Thread Karl Palsson
Jan-Tarek Butt wrote: > Hi, > > My Idea ist to create calldefs to minify all scriptes there are > interpreted by run time. > > As example see the mail "[PATCH] LuaSrcDiet call define for lua > code Minifying". > > I plan to write also calldefs for shellscripts, python and > perl. > > They bri

Re: [LEDE-DEV] Call defines for minifying scripting languages

2016-10-03 Thread Piotr Dymacz
Hello, 2016-10-03 13:14 GMT+02:00 Karl Palsson : > > Jan-Tarek Butt wrote: [snip] >> 1. Reducing memory size on firmware images. > > But will it? They're in the squashfs image, it's already been > demonstrated before that compressing things before can actually > have negative impacts. That's tru

[LEDE-DEV] replacing files in base system from a package?

2016-10-03 Thread Karl Palsson
What's the "new" way of doing this? In the past, in OpenWrt CC and before, a package could install files like /etc/banner and /etc/inittab that were provided by the base-files package. It was always listed as "unreliable" as apparently you couldn't rely on the order. In practice it actually worked

Re: [LEDE-DEV] [PATCH] kernel: owl-loader: fix EEPROM size validation for 4KiB EEPROMs

2016-10-03 Thread Christian Lamparter
On Monday, October 3, 2016 1:06:18 AM CEST Martin Blumenstingl wrote: > The validation of the received EEPROM data uses struct firmware's size > field, which contains the size in bytes. ath9k_platform_data's > eeprom_data field however is an u16 array with 2048 elements. > Using a simple sizeof(pda

Re: [LEDE-DEV] Call defines for minifying scripting languages

2016-10-03 Thread Jan-Tarek Butt
On 10/03/16 13:14, Karl Palsson wrote: > > Jan-Tarek Butt wrote: >> Hi, >> >> My Idea ist to create calldefs to minify all scriptes there are >> interpreted by run time. >> >> As example see the mail "[PATCH] LuaSrcDiet call define for lua >> code Minifying". >> >> I plan to write also calldefs

Re: [LEDE-DEV] Call defines for minifying scripting languages

2016-10-03 Thread Jan-Tarek Butt
On 10/03/16 14:18, Piotr Dymacz wrote: > Hello, > > 2016-10-03 13:14 GMT+02:00 Karl Palsson : >> >> Jan-Tarek Butt wrote: > [snip] >>> 1. Reducing memory size on firmware images. >> >> But will it? They're in the squashfs image, it's already been >> demonstrated before that compressing things b

Re: [LEDE-DEV] Call defines for minifying scripting languages

2016-10-03 Thread Christian Schoenebeck
Hi, I implemented something like this into Makefile of ddns-scripts (Openwrt-Package). It removes all comments (except starting with "#."), leading whitespaces and blank lines during package build. The source at Github is fully commented. cheers Christian Am 03.10.2016 um 16:00 schrieb Jan-Tare

Re: [LEDE-DEV] Call defines for minifying scripting languages

2016-10-03 Thread Bastian Bittorf
* Jan-Tarek Butt [03.10.2016 16:55]: > currently I am working on a Shellscript minifyer > there are not realy exsist one so I write a new one. hopefully in haskell 8-) you made my day 8-) ROFL! I think this is a bad idea. In practise you safe nothing but make debugging harder, the JFFS2 or squas

[LEDE-DEV] Gustavo Sverzut Barbieri: Demystifying systemd for embedded systems

2016-10-03 Thread Alberto Bursi
from the systemd.conf 2016 https://www.youtube.com/watch?v=qDC9mHfsC-I&feature=youtu.be I know LEDE has already procd, and that migrating to systemd is not even planned. I'm mailing this video just in case someone is interested in it. -Alberto ___

Re: [LEDE-DEV] Call defines for minifying scripting languages

2016-10-03 Thread Jan-Tarek Butt
On 10/03/16 17:00, Bastian Bittorf wrote: > * Jan-Tarek Butt [03.10.2016 16:55]: >> currently I am working on a Shellscript minifyer >> there are not realy exsist one so I write a new one. > > hopefully in haskell 8-) > you made my day 8-) ROFL! > > I think this is a bad idea. In practise you

Re: [LEDE-DEV] [PATCH 1/2] generic: ar8216: fix ar8xxx_is_possible check

2016-10-03 Thread John Crispin
On 01/10/2016 18:33, Christian Lamparter wrote: > The commit "generic: ar8216: add sanity check to ar8216_probe" > (774da6c7a40320a320b28d71291c0e61fcf7bc8a) stated that PHY IDs > should be checked at address 0-4. However, the PHY 4 was > never check by the for loop... And I can't find any docume

Re: [LEDE-DEV] Call defines for minifying scripting languages

2016-10-03 Thread Oswald Buddenhagen
On Mon, Oct 03, 2016 at 01:00:19PM +0200, Jan-Tarek Butt wrote: > My Idea ist to create calldefs to minify all scriptes there are > interpreted by run time. > > 1. Reducing memory size on firmware images. > this is absolutely negligible. as others already pointed out, scripts compress quite well.

Re: [LEDE-DEV] replacing files in base system from a package?

2016-10-03 Thread Alberto Bursi
On 10/03/2016 03:26 PM, Karl Palsson wrote: > What's the "new" way of doing this? In the past, in OpenWrt CC > and before, a package could install files like /etc/banner and > /etc/inittab that were provided by the base-files package. It was > always listed as "unreliable" as apparently you could

Re: [LEDE-DEV] [PATCH 1/2] generic: ar8216: fix ar8xxx_is_possible check

2016-10-03 Thread Christian Lamparter
Hello, On Monday, October 3, 2016 9:12:32 PM CEST John Crispin wrote: > On 01/10/2016 18:33, Christian Lamparter wrote: > > The commit "generic: ar8216: add sanity check to ar8216_probe" > > (774da6c7a40320a320b28d71291c0e61fcf7bc8a) stated that PHY IDs > > should be checked at address 0-4. Howeve

Re: [LEDE-DEV] replacing files in base system from a package?

2016-10-03 Thread Karl Palsson
Alberto Bursi wrote: > > > On 10/03/2016 03:26 PM, Karl Palsson wrote: > > What's the "new" way of doing this? In the past, in OpenWrt CC > > and before, a package could install files like /etc/banner and > > /etc/inittab that were provided by the base-files package. It was > > always listed as

Re: [LEDE-DEV] Call defines for minifying scripting languages

2016-10-03 Thread Karl Palsson
Jan-Tarek Butt wrote: > > > On 10/03/16 17:00, Bastian Bittorf wrote: > > * Jan-Tarek Butt [03.10.2016 16:55]: > >> currently I am working on a Shellscript minifyer > >> there are not realy exsist one so I write a new one. > > > > hopefully in haskell 8-) > > you made my day 8-) ROFL! > > >

Re: [LEDE-DEV] replacing files in base system from a package?

2016-10-03 Thread Alberto Bursi
On 10/03/2016 11:00 PM, Karl Palsson wrote: > Alberto Bursi wrote: >> >> On 10/03/2016 03:26 PM, Karl Palsson wrote: >>> What's the "new" way of doing this? In the past, in OpenWrt CC >>> and before, a package could install files like /etc/banner and >>> /etc/inittab that were provided by the ba

[LEDE-DEV] package/boot/uboot-envtools/files/uboot-envtools.sh

2016-10-03 Thread Jan-Tarek Butt
Hi, Does anyone understand what this "variables" in line 24 to 28 are use [0]? [0] https://git.lede-project.org/?p=source.git;a=blob;f=package/boot/uboot-envtools/files/uboot-envtools.sh;h=e21b28367751fdd86897f3a47911f3a3ffbdbdfb;hb=HEAD cheers Tarek signature.asc Description: OpenPGP digita

[LEDE-DEV] [PATCH] package/utils/nvram/files/nvram.init * Double quote to prevent globbing and word splitting. * $/${} is unnecessary on arithmetic variables. * remove unused variables

2016-10-03 Thread Jan-Tarek Butt
Signed-off-by: Jan-Tarek Butt --- package/utils/nvram/files/nvram.init | 27 +-- 1 file changed, 13 insertions(+), 14 deletions(-) diff --git a/package/utils/nvram/files/nvram.init b/package/utils/nvram/files/nvram.init index 467ab28..ec06e7a 100755 --- a/package/utils/n

[LEDE-DEV] [PATCH] package/utils/ct-bugcheck/src/bugcheck.sh * Double quote to prevent globbing and word splitting. * { cmd1; cmd2; } >> file instead of individual redirects. * fix formating

2016-10-03 Thread Jan-Tarek Butt
Signed-off-by: Jan-Tarek Butt --- package/utils/ct-bugcheck/src/bugcheck.sh | 154 +++--- 1 file changed, 77 insertions(+), 77 deletions(-) diff --git a/package/utils/ct-bugcheck/src/bugcheck.sh b/package/utils/ct-bugcheck/src/bugcheck.sh index 85f70c5..a930440 100755 --

Re: [LEDE-DEV] package/boot/uboot-envtools/files/uboot-envtools.sh

2016-10-03 Thread Mathias Kresin
04.10.2016 01:49, Jan-Tarek Butt: Hi, Does anyone understand what this "variables" in line 24 to 28 are use [0]? [0] https://git.lede-project.org/?p=source.git;a=blob;f=package/boot/uboot-envtools/files/uboot-envtools.sh;h=e21b28367751fdd86897f3a47911f3a3ffbdbdfb;hb=HEAD They are used by con

Re: [LEDE-DEV] [PATCH 1/2] generic: ar8216: fix ar8xxx_is_possible check

2016-10-03 Thread John Crispin
On 03/10/2016 22:57, Christian Lamparter wrote: >> > why do you want to remove this check ? imho it does no harm > The C-60 doesn't have a PHY at 3. This caused the check in ar8xxx_is_possible > to fail and the ethernet ports on the C-60. Also, it doesn't look like the > qca8k.c (DSA) driver chec