Re: [LEDE-DEV] [PATCH mountd 2/4] fix crash if no uci config file present

2016-06-15 Thread John Crispin
On 15/06/2016 18:07, Conor O'Gorman wrote: > On 15/06/16 15:10, olivier.hardo...@gmail.com wrote: >> fix also possible null dereferenced pointers >> >> Signed-off-by: Olivier Hardouin >> --- >> uci.c | 6 ++ >> ucix.c | 9 - >> 2 files changed, 14 insertions(+), 1 deletion(-) >>

Re: [LEDE-DEV] DGN3500 nas mac

2016-06-15 Thread John Crispin
On 15/06/2016 23:50, Daniel Gimpelevich wrote: > On Wed, 2016-06-15 at 16:02 +0200, John Crispin wrote: >> Hi, >> >> 492964e741f1e0254b6ed7c0a095551a31d25dc9 slipped by me without me >> realizing that it is broken. >> >> i staged a fix in my tree for this

Re: [LEDE-DEV] TR-069 and OpenWrt discussion on these lists?

2016-06-15 Thread John Crispin
what an utterly bizarre conversation to wake up to. the list is non-subscribe/public post for a reason. i dont see why there is a need for X mailing lists. If you dont like it, then dont read it. this is a development related discussion and the rules clearly state that we would prefer companies

Re: [LEDE-DEV] looking for ar7 testers

2016-06-15 Thread John Crispin
ist of hardware that is needed? (or do you want donations >>> of money >>> for the project to buy hardware)? >>> >>> David Lang >>> >>> On Wed, 15 Jun 2016, John Crispin wrote: >>> >>>> Date: Wed, 15 Jun 2016 09:29:31 +020

Re: [LEDE-DEV] /var/run world writable

2016-06-16 Thread John Crispin
no reason feel free to send a patch to fix it. John On 16/06/2016 09:07, Etienne Champetier wrote: > Hi, > > since this procd commit from 2013 > https://git.lede-project.org/?p=project/procd.git;a=blob;f=early.c;h=063e1a6abcc8ecdf22b9c8c11b2e81cc2460bcea;hb=be950c5e56b86509e1e237931d0ac8

Re: [LEDE-DEV] TR-069 and OpenWrt discussion on these lists?

2016-06-16 Thread John Crispin
reecwmp and easycwmp >> >> NAK... use reasonable mailing list etiquette. >> >> >> >> >> On Thu, Jun 16, 2016 at 1:11 AM, John Crispin wrote: >>> >>> what an utterly bizarre conversation to wake up to. >>> >>> the list is

Re: [LEDE-DEV] [PATCH] [ramips] Added NixCore X1 target V5

2016-06-16 Thread John Crispin
Hi, patch does not apply. please go here --> http://patchwork.ozlabs.org/patch/636150/ click on "download mbox" and you will see that it is line wrapped at 80 characters. John On 16/06/2016 02:37, Drew from NixCore wrote: > Added NixCore X1 ramips target http://nixcores.com. This bui

[LEDE-DEV] ralink i2c / i2s update

2016-06-17 Thread John Crispin
Hi Michael, i have been testing the update on real HW and at least the I2C update breaks the i2c bus on mt7620 and mt7621. i will see if i can find the cause. if i cant find out the cause i would have to revert d8202a84096831d4e6e2a522476bd6a0d46e6413. could you also look into this ? the mqmaker

Re: [LEDE-DEV] ar71xx kernel size starts getting oversized

2016-06-17 Thread John Crispin
On 17/06/2016 10:10, Yousong Zhou wrote: > On 4 June 2016 at 12:49, Yousong Zhou wrote: >> Several days ago I tried to build a firmware for HiWiFi-HC6361 with >> LEDE master branch. Yet the firmware was not present in >> bin/targets/ar71xx/generic after the build completed. I checked the >> do

Re: [LEDE-DEV] [PATCH] kernel: mtdsplit: calculate kernel partition precisely for Seama

2016-06-17 Thread John Crispin
On 11/06/2016 01:36, Rafał Miłecki wrote: > So far "kernel" partition didn't contain just a kernel. It also included > Seama header and meta data. This was making kernel update complex and it > wasn't trivial to read kernel size. > Fix it by making "kernel" parition contain just a kernel image. >

Re: [LEDE-DEV] [RFC] rootfs_data on different MTD outside firmware image

2016-06-17 Thread John Crispin
On 18/06/2016 06:21, Adrian Panella wrote: > Hi, some Linksys devices (i.e WRT1900AC, EA4500, EA8500,...) have two > different partitions for dual boot, and an additional partition that > Linksys uses for system config (sysconf). > Each of these partitions is of a considerable size (23-37 mb, var

Re: [LEDE-DEV] looking for ar7 testers

2016-06-19 Thread John Crispin
On 20/06/2016 02:51, David Lang wrote: > On Sun, 19 Jun 2016, Daniel Curran-Dickinson wrote: > >> On Wed, 2016-06-15 at 19:52 -0700, David Lang wrote: >>> Is there a list of hardware that is needed? (or do you want donations >>> of money >>> for the project to buy hardware)? >> >> TBH I'm not su

Re: [LEDE-DEV] [PATCH] lantiq: fix network in failsafe

2016-06-19 Thread John Crispin
On 20/06/2016 05:15, Zhao, Gang wrote: > Hi, Mathias Kresin > > On Sun, Jun 19, 2016 at 10:30 PM, Mathias Kresin wrote: >> So far the network in failsafe is setup only for one board. Use the >> eth0 interface as lan interface for all boards for now. >> >> If a board has its lan interface(s) on

Re: [LEDE-DEV] [PATCH] lantiq: fix network in failsafe

2016-06-19 Thread John Crispin
On 20/06/2016 07:39, Mathias Kresin wrote: > Am 20.06.2016 um 07:19 schrieb John Crispin: >> >> >> On 20/06/2016 05:15, Zhao, Gang wrote: >>> Hi, Mathias Kresin >>> >>> On Sun, Jun 19, 2016 at 10:30 PM, Mathias Kresin wrote: >>>> So

Re: [LEDE-DEV] Bug REPORT: Lantiq - XRX200 -UBIFS does not build

2016-06-20 Thread John Crispin
fix coming up, doing test builds just now On 20/06/2016 12:02, Paul Rowland wrote: > John, > > > My attempt to send this bug report to the lede-dev list has failed a > number of times. It worked some weeks ago. > > > PTR. > > > cut here > > > I did a git-pull and make clean thi

[LEDE-DEV] ar71xx - please help test

2016-06-21 Thread John Crispin
Hi, i have moved all the profiles into the image building code. i have done some basic testing and already got a bit of feedback from others. it would be nice if people could help test the following patch from my staging tree https://git.lede-project.org/?p=lede/blogic/staging.git;a=commit;h=757

Re: [LEDE-DEV] [PATCH v4] base-files: seed /dev/urandom

2016-06-22 Thread John Crispin
On 16/06/2016 11:38, Etienne CHAMPETIER wrote: > This commit: > 1) seed /dev/urandom with a saved seed as early as possible >(see /lib/preinit/81_urandom_seed) > 2) save a new seed if system.@system[0].write_urandom_seed_on_boot == 1 >or if none exists. We use getrandom() so we are sure /

[LEDE-DEV] new bugs mailing list

2016-06-22 Thread John Crispin
Hi, the issue tracker now announces bug reports on this list https://lists.infradead.org/mailman/listinfo/lede-bugs there will be a lede-commits list shortly John ___ Lede-dev mailing list Lede-dev@lists.infradead.org http://lists.infradead.o

Re: [LEDE-DEV] new bugs mailing list

2016-06-22 Thread John Crispin
On 22/06/2016 13:39, Jonas Gorski wrote: > Hi, > > On 22 June 2016 at 09:57, John Crispin wrote: >> Hi, >> >> the issue tracker now announces bug reports on this list >> >> https://lists.infradead.org/mailman/listinfo/lede-bugs > > Yay! Thank

Re: [LEDE-DEV] [PATCH mountd 2/2] support for disk without partition table

2016-06-23 Thread John Crispin
On 22/06/2016 09:51, olivier.hardo...@gmail.com wrote: > if no partition found, try to mount the block device itself > > Signed-off-by: Olivier Hardouin Hi, looks ok, just wondering what kind of storage you see this on. i have only seen superfloppy type formating on mmc cards and that is almo

Re: [LEDE-DEV] [PATCH mountd 2/2] support for disk without partition table

2016-06-23 Thread John Crispin
Hi, that is called superfloppy iirc. not seen those in a while. i've pushed the changes to the mountd repo John > > > On Thu, Jun 23, 2016 at 9:24 AM, John Crispin wrote: >> >> >> On 22/06/2016 09:51, olivier.hardo...@gmail.com wrote: >>> if no

Re: [LEDE-DEV] [PATCH] [ramips] Added NixCore X1 target V5

2016-06-23 Thread John Crispin
ertainty. try using "git send-email" or use github to send us a PR. John > > On 06/16/2016 05:45 AM, John Crispin wrote: >> Hi, >> >> patch does not apply. please go here >> >> --> http://patchwork.ozlabs.org/patch/636150/ >> >

Re: [LEDE-DEV] [PATCH] ramips: Add support for the NixCore X1

2016-06-24 Thread John Crispin
On 24/06/2016 16:39, Drew from NixCore wrote: > The NixCore X1 is a Ralink/MediaTek rt5350 WiFi Module > > Patch submission with assistance from LD Pinney, using > simplier email client. > > Signed-off-by: L. D. Pinney > Signed-off-by: Drew Gaylo Your email client has replaced all tabs with

Re: [LEDE-DEV] ZBT-826 and other MT7620 SD card RO

2016-06-27 Thread John Crispin
On 27/06/2016 16:21, reiner otto wrote: > > Having the problem of SD card to be RO, I got following info from ZBT, to be > applied against the build src: > - edit ../drivers/mmc/host/mtk-mmc/board.h: > modify "#define MSDC_WP_PIN_EN (1<<1)" > to > "#define MSDC_WP_PIN_EN (0<<1)" >

Re: [LEDE-DEV] [PATCH v5] base-files: seed /dev/urandom

2016-06-28 Thread John Crispin
On 28/06/2016 10:28, Jo-Philipp Wich wrote: > Hi Etienne, > > I like this approach, fine with me now. > same here, we could not also consider adding a uci-defaults script that check if rootfs is on a mtd or real lbock device and change the default during firstboot, but i guess that would be a

Re: [LEDE-DEV] fstools: ext4 overlay support - rootfs mounted twice bug

2016-06-28 Thread John Crispin
Hi, the patch is an attachement making inline commenting impossible. please send patches inline > mount_root: Don't mount ext4 rootfs twice the patch is incorrect, it breaks the vase where there is an overlay setup + extroot. after your patch the extroot codepath wont ever run if there is a root

Re: [LEDE-DEV] fstools: ext4 overlay support - rootfs mounted twice bug

2016-06-29 Thread John Crispin
On 29/06/2016 12:11, Josua Mayer wrote: > Hi John, > > thansk for taking a look. I actually sent it this way by intention, > looking to get in touch with someone who had the original bug. > > Am 29.06.2016 um 08:30 schrieb John Crispin: >> Hi, >> >> the p

Re: [LEDE-DEV] fstools: ext4 overlay support - rootfs mounted twice bug

2016-06-29 Thread John Crispin
On 29/06/2016 12:34, Josua Mayer wrote: > > > Am 29.06.2016 um 12:21 schrieb John Crispin: >> >> >> On 29/06/2016 12:11, Josua Mayer wrote: >>> Hi John, >>> >>> thansk for taking a look. I actually sent it this way by intention, >>>

[LEDE-DEV] adding luci to snapshot images

2016-06-29 Thread John Crispin
Hi Jo, can we add luci to snapshot images until the first release is out ? people are using the images and seem to be confused by there being no luci. personally i would prefer to not include luci in snapshots to keep them as minimal as possible but until we have a first release it would make sen

[LEDE-DEV] server reboot

2016-06-29 Thread John Crispin
hi, the webserver will see an update to F24 tonight and get more disk space. there will be several reboots over the next few hours. if all goes well we will be back to normal operational mode in a few hours. John ___ Lede-dev mailing list Lede-

Re: [LEDE-DEV] [PATCH] ramips: Add support for the NixCore X1 Module

2016-06-29 Thread John Crispin
On 30/06/2016 04:20, L. D. Pinney wrote: > The NixCore X1 is a Ralink/MediaTek rt5350 WiFi Module. > > http://nixcores.com/ > > Signed-off-by: L. D. Pinney > Acked-by: Drew Gaylo > this is a different patch to drew's version 5. please incorporate all the feedback we already gave to drew.

Re: [LEDE-DEV] [PATCH] e2fsprogs: fix build problem with very old libmagic

2016-06-29 Thread John Crispin
On 29/06/2016 23:14, Hauke Mehrtens wrote: > From: Hauke Mehrtens > > The libmagic shipped with RedHat 5 does not define > MAGIC_NO_CHECK_COMPRESS and MAGIC_NO_CHECK_COMPRESS. e2fsprogs should > check for that otherwise the build will fail. > can you send this upstream aswell please ?

[LEDE-DEV] fstools testing help

2016-06-30 Thread John Crispin
Hi, i have just merged to fstools patches into my staging tree that address a double mount issue and add back ext4 support. the ext4 patch previously broke rPi and other ext4 targets, but i thini with josua's patch applied it should work. i have done some basic testing already my end but would lik

Re: [LEDE-DEV] adding luci to snapshot images

2016-06-30 Thread John Crispin
On 29/06/2016 16:54, Jo-Philipp Wich wrote: > Hi, > > it would certainly help to bridge the gap until the #1 release and it > would give more testing exposure to the ui... > > My observation on the matter is this: > People who do *not* want to have the ui included are either building > from sou

Re: [LEDE-DEV] [PATCH 2/2] prism54-firmware: add also other p54 firmware to own package

2016-06-30 Thread John Crispin
i have already added this to my staging tree, feel free to send a ptch that i can fold into haukes patch John On 30/06/2016 20:53, Christian Lamparter wrote: > On Wednesday, June 29, 2016 11:13:01 PM Hauke Mehrtens wrote: >> From: Hauke Mehrtens >> >> Extract the other p54 firmware files

Re: [LEDE-DEV] [PATCH] Bridge: Fix ipv6 mc snooping if bridge has no ipv6 address

2016-06-30 Thread John Crispin
On 30/06/2016 17:05, Daniel Danzberger wrote: > This patch is a backport for current LEDE 4.4 Kernels. > It is already upstream, for linux-next and stable. > The initial commit message is below: > > The bridge is falsly dropping ipv6 mulitcast packets if there is: > 1. No ipv6 address assigned o

Re: [LEDE-DEV] [ubox] remove unnecessary size struct between messages

2016-06-30 Thread John Crispin
On 07/06/2016 12:11, Dan Bugnar wrote: > From: Dan Bugnar > > The next message needs to be written after the data of current message. > This was adding "sizeof(struct log_head)" bytes between messages. > > Signed-off-by: Dan Bugnar coming back to these patches, i fail to see why you remove t

Re: [LEDE-DEV] Procd instance pidfiles remain after daemon dies unexpectedly

2016-07-01 Thread John Crispin
On 01/07/2016 08:45, Jurgen Van Ham wrote: > Dear all, > > Procd supports instance_writepid and instance_removepid in the file > instance.c. > The removepid is called when stopping a daemon or restarting it. > However, when a daemon > dies and it is not configured to respawn the pidfile is not

Re: [LEDE-DEV] a Procd alternative to respawn for a died daemon?

2016-07-01 Thread John Crispin
On 01/07/2016 09:14, Jurgen Van Ham wrote: > Dear all, > > The current version of procd can respond to a failing daemon by > respawning it. This works for daemons that no (or not many) daemons > rely on. > > Is there an elegant way to cause a restart after critical service > dies. With critical

[LEDE-DEV] odhcp repo access

2016-07-01 Thread John Crispin
Hi Steven, can you please give me commit access to the odhcp* repos so that i can merge fixes such as this one --> https://patchwork.ozlabs.org/patch/643331/ John ___ Lede-dev mailing list Lede-dev@lists.infradead.org http://lists.infradead.org

Re: [LEDE-DEV] [PATCH ubus] cmake: Fix find_library for ubusd and examples/server

2016-07-01 Thread John Crispin
Hi Florian, i merged most of these, waiting for repo access for the remaining 3 patches John On 01/07/2016 23:57, Florian Fainelli wrote: > Both ubusd and cli TARGET_LINK_LIBRARIES reference ${json} which is > obtained via find_library(), but since the find_library() is searched > after

Re: [LEDE-DEV] Kernel symbol dependencies and KCONFIG usage for kernel packages

2016-07-02 Thread John Crispin
On 02/07/2016 15:20, Baptiste Jonglez wrote: > Hi, > > I am packaging a new kernel module (wireguard), the package is currently here > [1]. > > However, I have some trouble understanding what KCONFIG does. Wireguard > needs a few kernel options, so I thought that KCONFIG was the place to > de

Re: [LEDE-DEV] Kernel symbol dependencies and KCONFIG usage for kernel packages

2016-07-02 Thread John Crispin
On 02/07/2016 15:20, Baptiste Jonglez wrote: > Hi, > > I am packaging a new kernel module (wireguard), the package is currently here > [1]. > > However, I have some trouble understanding what KCONFIG does. Wireguard > needs a few kernel options, so I thought that KCONFIG was the place to > de

Re: [LEDE-DEV] procd: patch v3 to support busybox mkfs.ext2

2016-07-02 Thread John Crispin
Hi, few comments 1) the patch needs to be split into 2, ext2 change/lzo change 2) send them inline please and not as attachement 3) the V3 needs to be in the subject prefix [PATCH V3] procd: ... 4) the Signed-off-by: line is missing John On 03/07/2016 08:14, Luke McKee wrote: > To quote

Re: [LEDE-DEV] [PATCH 3/5] lantiq: pass MAC address to the ATM bridge helper

2016-07-02 Thread John Crispin
Hi, On 02/07/2016 17:00, Mathias Kresin wrote: > Signed-off-by: Mathias Kresin > --- > target/linux/lantiq/base-files/etc/board.d/02_network | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/target/linux/lantiq/base-files/etc/board.d/02_network > b/target/linux/lanti

Re: [LEDE-DEV] fstools testing help

2016-07-05 Thread John Crispin
On 30/06/2016 09:23, Álvaro Fernández Rojas wrote: > I will try to test it on RPi tonight. > > Regards, > Álvaro. > > El 30/6/16 a las 9:21, John Crispin escribió: >> Hi, >> >> i have just merged to fstools patches into my staging tree that address >&

Re: [LEDE-DEV] [PATCH procd] system: fix localtime value in ubus info method output

2016-07-05 Thread John Crispin
On 04/07/2016 11:15, Rafał Miłecki wrote: > Function mktime respects current time zone and calling it results in > converting time back to the UTC. It means we were never returning a > time for local zone but GMT one. > > The easiest solution is to use tm_gmtoff from struct tm. Unfortunately > t

Re: [LEDE-DEV] [PATCH procd] system: add reboot method to system ubus object

2016-07-05 Thread John Crispin
On 05/07/2016 17:12, Rafał Miłecki wrote: > Sometimes, for various reasons, user may want to reboot a device. This > is a common task and it makes sense to support it with something common > like a procd. > > Right now both: LuCI and LuCI2 implement this feature on their own with > luci-rpc-luci

Re: [LEDE-DEV] [PATCH] Mountd: Add sysupgrade functionality.

2016-07-05 Thread John Crispin
Hi Philipp the thing that i am worried about is this process 1) plug a stick 2) mountd detects the upgrade file 3) mountd triggers sysupgrade 4) system reboots 5) goto 1) there is no way to know at what point between 3 and 4 we need to unplug the usb stick John On 04/07/2016 18:56, Phi

Re: [LEDE-DEV] fstools testing help

2016-07-07 Thread John Crispin
fail when it boots? Messages? / not mounted rw? >>>> >>>> – Álvaro >>>> >>>> El 5/7/16 a las 14:14, Josua Mayer escribió: >>>>> Hi John, >>>>> >>>>> Am 05.07.2016 um 09:44 schrieb John Crispin: >>>

Re: [LEDE-DEV] [PATCH] [mksh] Update to r52c

2016-07-11 Thread John Crispin
Hi could you please * change the subject prefix to "utils/mksh:" and remove the [] On 11/07/2016 09:18, Alive 4ever wrote: > Update mksh package to sync with current latest upstream (r52c). > * remove this tearline > Signed-off-by: alive4ever * we need a real name please John

[LEDE-DEV] getver.sh regression

2016-07-13 Thread John Crispin
Hi Jonas, Hi Felix, your recent changes to getver.sh are causing a regression when not building inside trunk but inside a staging tree blogic@debian:/lede/staging$ ./scripts/getver.sh warning: refname 'origin/master' is ambiguous. r411+546 blogic@debian:/lede/staging$ git branch * master origin

Re: [LEDE-DEV] getver.sh regression

2016-07-13 Thread John Crispin
On 13/07/2016 11:11, Jonas Gorski wrote: > Hi John, > > On 13 July 2016 at 09:39, John Crispin wrote: >> Hi Jonas, >> Hi Felix, >> >> your recent changes to getver.sh are causing a regression when not >> building inside trunk but inside a staging

Re: [LEDE-DEV] [PATCH] ramips: add get_port_stats to mt7530 swconfig driver

2016-07-23 Thread John Crispin
s-4.4/0513-net-mediatek-add-swconfig-driver-for-gsw_mt762x.patch > --- > a/target/linux/ramips/patches-4.4/0513-net-mediatek-add-swconfig-driver-for-gsw_mt762x.patch > +++ > b/target/linux/ramips/patches-4.4/0513-net-mediatek-add-swconfig-driver-for-gsw_mt762x.patch > @@ -6,7 +6,7

Re: [LEDE-DEV] [PATCH ver. B] ramips: unify etc/board.d/01_leds configuration

2016-07-23 Thread John Crispin
Hi, why is this change needed > John On 23/07/2016 16:42, p.wa...@gmx.at wrote: > From: P.Wassi > > Enhance local set_*_led functions to allow more parameters > Signed-off-by: P.Wassi > --- > linux/ramips/base-files/etc/board.d/01_leds | 148 > 1 file changed, 74 inse

Re: [LEDE-DEV] [PATCH] ramips: add get_port_stats to mt7530 swconfig driver

2016-07-23 Thread John Crispin
On 23/07/2016 23:02, p.wa...@gmx.at wrote: > Hi John, > >> please add macros for the register offsets in the header file and use >> them here. there should be 2 defines for the registers and one for the >> port offset. > > may I then also do this for the existing functions? > (I just copied cod

Re: [LEDE-DEV] preinit of ip address doesn't work

2016-07-24 Thread John Crispin
On 24/07/2016 14:50, e9hack wrote: > Hi, > > preinit of ip address during build doesn't work. If I ping to a booting > router after > sysupgrade without restoring the old configuration, the configured ip address > is visible > for 3 seconds only. In /etc/config/network the address is set to 19

Re: [LEDE-DEV] [PATCH ver. B] ramips: unify etc/board.d/01_leds configuration

2016-07-25 Thread John Crispin
On 23/07/2016 23:30, p.wa...@gmx.at wrote: > Hi, > > you're correct, this patch does not change any behaviour at the moment. > I'm currently doing work on a device which requires a non-default USB > triggering device. One option is to just use ucidef_set_led_usbdev for this > single device. Then

Re: [LEDE-DEV] procd - shutdown. Why ?

2016-07-26 Thread John Crispin
On 26/07/2016 13:36, reiner otto wrote: > > > On a remote LEDE from time to time I see > Jul 22 00:41:36 xx.xx.xx.xx procd: - shutdown - > and a reboot. > Any idea, why this can happen ? something called halt or reboot > For the developer(s): It might be a good idea, to provide some more in

Re: [LEDE-DEV] [PATCH] dropbear: Fix append_port in IPv6 case (v2)

2016-07-27 Thread John Crispin
On 09/07/2016 23:55, Laurent GUERBY wrote: > The new IPPort parameter allows to pass unchanged parameters to dropbear, > dropbear uses -p [ip6]:port for IPv6 and this was not supported with > existing scripts. > > Fix indentation and missing then of previous patch. > > Signed-off-by: Laurent GU

Re: [LEDE-DEV] [PATCH] base-files: sysupgrade. Added the ability to use URL as source

2016-07-27 Thread John Crispin
Hi, sorry for the late reply. i like the idea. however, please move the code into get_image() inside package/base-files/files/lib/upgrade/common.sh where the http/ftp code resides. John On 06/07/2016 15:40, ad...@yapic.net wrote: > From: Sergey Sergeev > > scp uls(like this > scp://ad

Re: [LEDE-DEV] [PATCH 1/4] bugcheck: Add tools to poll for and report certain bugs.

2016-07-27 Thread John Crispin
On 22/07/2016 01:52, gree...@candelatech.com wrote: > From: Ben Greear > > This first release is all about checking for ath10k firmware > crashes. Could be extended later for other modules/bugs/etc. > the description could be a little more verbose explaining roughly what the tool does > Sig

Re: [LEDE-DEV] mount_root skipped on initramfs builds

2016-08-06 Thread John Crispin
On 06/08/2016 18:25, Josua Mayer wrote: > Hi everyone, > > During my work on supporting a block-device as overlay partition, > without using extroot I came across this phenomenon: > > When booting my mvebu-based board with an initramfs, mount_root was not > executed. This seems unusual to me, I

Re: [LEDE-DEV] [PATCH] add kernel module package for the W83793 hwmon chips

2016-08-06 Thread John Crispin
Hi Florian, this and your other patch are missing the prefix in the subject and a small comment inline On 04/08/2016 14:15, Florian Larysch wrote: > Signed-off-by: Florian Larysch > --- > package/kernel/linux/modules/hwmon.mk | 15 +++ > 1 file changed, 15 insertions(+) > > diff -

Re: [LEDE-DEV] [PATCH] base-files: sysupgrade. Added the ability to use URL as source

2016-08-06 Thread John Crispin
Hi, small comment inline On 04/08/2016 15:21, ad...@yapic.net wrote: > From: Sergey Sergeev > > scp uls(like this > scp://adron@192.168.88.6:lede/lede-ar71xx-mikrotik-NAND-512b-squashfs-sysupgrade.bin) > is supported too. And you also can specify custom ssh > port(...8.88.6:22110:l

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

2016-08-10 Thread John Crispin
On 10/08/2016 23:39, Mathias Kresin wrote: > Am 10.08.2016 um 22:41 schrieb Daniel Niasoff: >> Hi Mathias, >> >> ADSL works fine on chaos calmer and I cannot reproduce the issue, so >> it looks like it's a recently introduced issue. >> >> Thanks for the idea, it should make it easier to pinpoint

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

2016-08-10 Thread John Crispin
On 11/08/2016 00:39, Mathias Kresin wrote: > Am 11.08.2016 um 00:15 schrieb John Crispin: >> try reverting 8333a6d0bab913285770449f5100597b691b544f aswell please > > Had this commit in mind as well. According to Daniels initial mail to > openwrt-devel, he is using a TP-LIN

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

2016-08-11 Thread John Crispin
On 11/08/2016 08:19, John Crispin wrote: > > > On 11/08/2016 00:39, Mathias Kresin wrote: >> Am 11.08.2016 um 00:15 schrieb John Crispin: >>> try reverting 8333a6d0bab913285770449f5100597b691b544f aswell please >> >> Had this commit in mind as well.

Re: [LEDE-DEV] [PATCH v2] ct-bugcheck: Add tools to poll for and report certain bugs.

2016-08-11 Thread John Crispin
Hi, the V2 does not address the changes i request in V1. these were * explain why we need this and what it does. right now we only know it "reports certain bugs" which is really very vague John On 11/08/2016 00:42, gree...@candelatech.com wrote: > From: Ben Greear > > This first relea

Re: [LEDE-DEV] [PATCH] base-files: sysupgrade. Added the ability to use URL as source

2016-08-11 Thread John Crispin
Hi comments inline On 08/08/2016 13:23, ad...@yapic.net wrote: > From: Sergey Sergeev > > scp uls(like this > scp://adron@192.168.88.6:lede/lede-ar71xx-mikrotik-NAND-512b-squashfs-sysupgrade.bin) > is supported too. And you also can specify custom ssh > port(...8.88.6:22110:lede...) >

Re: [LEDE-DEV] [PATCH] base-files: sysupgrade. Added the ability to use URL as source

2016-08-13 Thread John Crispin
On 12/08/2016 16:54, Сергеев Сергей wrote: > Hello. I made a new version of the patch according to your notes: > http://patchwork.ozlabs.org/patch/658677/ > > I remove the shell redirection to stderr because we need to show a > diagnostic messages (for wget) as well as the certificate accept req

Re: [LEDE-DEV] [PATCH] base-files: sysupgrade. Added the ability to use URL as source

2016-08-13 Thread John Crispin
On 12/08/2016 16:48, ad...@yapic.net wrote: > From: Sergey Sergeev > > scp uls(like this > scp://adron@192.168.88.6:lede/lede-ar71xx-mikrotik-NAND-512b-squashfs-sysupgrade.bin) > is supported too. And you also can specify custom ssh > port(...8.88.6:22110:lede...) > > Signed-off-by: Se

Re: [LEDE-DEV] [PATCH] base-files: sysupgrade. Added the ability to use URL as source

2016-08-15 Thread John Crispin
On 13/08/2016 13:04, ad...@yapic.net wrote: > From: Sergey Sergeev > > scp uls(like this > scp://adron@192.168.88.6:lede/lede-ar71xx-mikrotik-NAND-512b-squashfs-sysupgrade.bin) > is supported too. And you also can specify custom ssh > port(...8.88.6:22110:lede...) > > Signed-off-by: Se

Re: [LEDE-DEV] [PATCH] tools/cmake: Fix building with openssl libs in non-default location

2016-08-17 Thread John Crispin
On 16/08/2016 12:43, Alexey Brodkin wrote: > For some reason CMake's buildsystem searches for openssl libs > on Linux either in /usr/libX, /usr/local/libX or in OPENSSL_ROOT_DIR > ignoring standard LD_LIBRARY_PATH env var. > > This behavior breaks CMAke building if openssl libs are in some > spe

[LEDE-DEV] git server downtime

2016-08-17 Thread John Crispin
Hi, due to a server update the git server is gone for about 1 hour. sorry for the inconvenience. John ___ Lede-dev mailing list Lede-dev@lists.infradead.org http://lists.infradead.org/mailman/listinfo/lede-dev

Re: [LEDE-DEV] [PATCH] tools/cmake: Fix building with openssl libs in non-default location

2016-08-17 Thread John Crispin
On 17/08/2016 16:49, Alexey Brodkin wrote: > Hi John, > > On Wed, 2016-08-17 at 09:20 +0200, John Crispin wrote: >> >> On 16/08/2016 12:43, Alexey Brodkin wrote: >>> >>> For some reason CMake's buildsystem searches for openssl libs >>>

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

2016-08-17 Thread John Crispin
i would guess a regression inside the atm subsystem of he kernel or some other part of the network stack. assuming that this issue is only observed inside the atm part, i'll start looking there. John On 18/08/2016 06:22, Daniel Niasoff wrote: > Hi Mathias, > > > Looks like it's this com

Re: [LEDE-DEV] [PATCH] tools/cmake: Fix building with openssl libs in non-default location

2016-08-18 Thread John Crispin
On 17/08/2016 16:53, Alexey Brodkin wrote: > Hi John, > > On Wed, 2016-08-17 at 16:51 +0200, John Crispin wrote: >> >> On 17/08/2016 16:49, Alexey Brodkin wrote: >>> >>> Hi John, >>> >>> On Wed, 2016-08-17 at 09:20 +0200, John Crispin

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

2016-08-18 Thread John Crispin
me/build/openwrt/build_dir/toolchain-mips_34kc+dsp_gcc-5.3.0_musl-1.1.14/linux-4.4.7/net/atm/common.c > > Then did a make > > Thanks > > Daniel > -Original Message- > From: John Crispin [mailto:j...@phrozen.org] > Sent: 18 August 2016 07:00 > To: Daniel Niasoff ; M

Re: [LEDE-DEV] [PATCH v2] build: reintroduce md5 checksums for generated firmware images

2016-08-19 Thread John Crispin
On 18/08/2016 04:16, Stefan Lippers-Hollmann wrote: > Commit 83175687c81bee594885d0738cfd488673f5a3fb "build: remove image > specific checksum code" dropped the generation of md5 checksums in > favour of only shipping sha256 ones. > > A default Lede installation however doesn't enable busybox' s

Re: [LEDE-DEV] [PATCH 3/4] include: remove 34k distinction

2016-08-21 Thread John Crispin
On 21/08/2016 19:23, Jonas Gorski wrote: > Now that there are no users anymore, drop the 34kc CPU_FLAGS. > > Signed-off-by: Jonas Gorski > --- > include/target.mk | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/include/target.mk b/include/target.mk > index 8b94959..ed15d04 100644 > --

Re: [LEDE-DEV] [PATCH 3/4] include: remove 34k distinction

2016-08-21 Thread John Crispin
On 21/08/2016 19:52, John Crispin wrote: > > > On 21/08/2016 19:23, Jonas Gorski wrote: >> Now that there are no users anymore, drop the 34kc CPU_FLAGS. >> >> Signed-off-by: Jonas Gorski >> --- >> include/target.mk | 1 - >> 1 file changed, 1 del

Re: [LEDE-DEV] Legal question/request

2016-08-21 Thread John Crispin
On 18/08/2016 13:51, Alexandru Ardelean wrote: > Hey, > > 1) Preamble > So, long story short. > The legal department at work requires some legality regarding the way > I (and some other colleagues) continue to upstream patches (and Pull > Requests) to LEDE. > > For OpenWrt, I referenced: > http

Re: [LEDE-DEV] [PATCH] base-files: sysupgrade. Added the ability to use URL as source

2016-08-24 Thread John Crispin
On 13/08/2016 13:04, ad...@yapic.net wrote: > From: Sergey Sergeev > > scp uls(like this > scp://adron@192.168.88.6:lede/lede-ar71xx-mikrotik-NAND-512b-squashfs-sysupgrade.bin) > is supported too. And you also can specify custom ssh > port(...8.88.6:22110:lede...) > > Signed-off-by: Se

Re: [LEDE-DEV] [RFC] lantiq: fix ath5k EEPROM loading

2016-08-24 Thread John Crispin
Mohammed Berdai > Signed-off-by: Mathias Kresin Acked-by: John Crispin > --- > ...-lantiq-wifi-and-ethernet-eeprom-handling.patch | 36 > -- > 1 file changed, 27 insertions(+), 9 deletions(-) > > diff --git > a/target/linux/lantiq/patches-4.4/00

Re: [LEDE-DEV] [RFC] lantiq: fix ath5k EEPROM loading

2016-08-24 Thread John Crispin
On 24/08/2016 09:54, Oswald Buddenhagen wrote: > On Tue, Aug 23, 2016 at 09:14:36PM +0200, Mathias Kresin wrote: >> With 12fe4b579801ea812b64fc7e689716cd39c895ec I switched the ath5k >> eeprom extraction to an alternate code path. Unfortunately this code >> seams to be broken since ages and broke

Re: [LEDE-DEV] [PATCH] base-files: sysupgrade. Added the ability to use URL as source

2016-08-24 Thread John Crispin
On 24/08/2016 11:12, Сергеев Сергей wrote: > Hello. Ok. Leave all as is. But...(comments below): >> >> On 13/08/2016 13:04, ad...@yapic.net wrote: >>> From: Sergey Sergeev >>> >>>scp uls(like this >>> scp://adron@192.168.88.6:lede/lede-ar71xx-mikrotik-NAND-512b-squashfs-sysupgrade.bin) >>> >

Re: [LEDE-DEV] mt7621 nand driver status.

2016-08-24 Thread John Crispin
On 24/08/2016 13:25, Kenneth Johansson wrote: > What is the status of the nand driver for mt7621 ?? > > when I try to use it the probing is ok but it fails when I try to > read/write. > > known to be working and i used it on the ERX just last week. what specifc board is this and can you post

Re: [LEDE-DEV] mt7621 nand driver status.

2016-08-24 Thread John Crispin
On 24/08/2016 13:44, Kenneth Johansson wrote: > On 2016-08-24 13:32, John Crispin wrote: >> >> On 24/08/2016 13:25, Kenneth Johansson wrote: >>> What is the status of the nand driver for mt7621 ?? >>> >>> when I try to use it the probing is ok

Re: [LEDE-DEV] mt7621 nand driver status.

2016-08-24 Thread John Crispin
On 24/08/2016 14:32, Kenneth Johansson wrote: > [4.19] Device not found, ID: ecf1 > [4.20] Not Support this Device! > [4.20] chip_mode=0002 your error log has this in it. there is a hackish table with magic values doing magic things to make the HW work with various ch

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

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 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 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 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 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 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/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] [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"

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

<    1   2   3   4   5   6   7   8   >