Re: [LEDE-DEV] Identifying kernel version (major) during build (.mk file)

2017-02-21 Thread Phyu The
Dear Jonas, If the granularity requires to specify the patchlevel, and if LEDE had more than one Kernel 3 patchlevel instead of just 3-18, then I would have to specify all of them in my makefile. Not only that, but also I would have to modify my maskefile to include new Kernel 3 versions shoul

Re: [LEDE-DEV] Identifying kernel version (major) during build (.mk file)

2017-02-21 Thread Phyu The
Dear All, My apologies, press wrongly. -Original Message- From: Phyu The Sent: Tuesday, February 21, 2017 5:50 PM To: Jonas Gorski ; Mauro Mozzarelli Cc: LEDE Development List ; Magnus Kroken Subject: Re: [LEDE-DEV] Identifying kernel version (major) during build (.mk file) Dear Jon

Re: [LEDE-DEV] [PATCH ubox] cmake: Check for getrandom system call

2017-02-21 Thread Felix Fietkau
On 2017-02-05 03:41, Florian Fainelli wrote: > In case we are building against a kernel that is too old and does not > support SYS_getrandom, error out with a message indicating so. > > Signed-off-by: Florian Fainelli > --- > CMakeLists.txt | 15 +++ > 1 file changed, 11 insertions(+

[LEDE-DEV] [PATCH packages] lighttpd: fix regression in local-redir used with url.rewrite-once

2017-02-21 Thread Rafał Miłecki
From: Rafał Miłecki This fixes upstream regression introduced in 1.4.40. It was reported, debugged & fixed in https://redmine.lighttpd.net/issues/2793 Signed-off-by: Rafał Miłecki --- net/lighttpd/Makefile | 2 +- ...tion-between-CGI-local-redir-and-the-url..patch

Re: [LEDE-DEV] Identifying kernel version (major) during build (.mk file)

2017-02-21 Thread Amir Sabbaghi
I think it is only useful to know if kernel is behind or after a specific version. On Tue, Feb 21, 2017 at 9:17 AM, Rafał Miłecki wrote: > On 20 February 2017 at 20:03, Mauro Mozzarelli wrote: >> There is in some cases where kernel drivers have changed. As you might see >> in the ip_vs patch I p

[LEDE-DEV] GCC: std::exception_ptr is missing on architectures with incomplete atomic int support

2017-02-21 Thread Carlos Ferreira
Hello! There's an issue with the stdlibc++ which prevents the Boost.Context package from compiling. It seems the stdlibc++ versions until 7.0 are not implementing the exception_ptr if the target architecture does not support ATOMIC_INT_LOCK_FREE >= 2. The bug reports can be found here: -> https:/

[LEDE-DEV] config restore/backup problem

2017-02-21 Thread e9hack
Hi, I've some trouble with the configuration restoring after a sys upgrade or generating a config backup with luci. Some files are not longer part of the config backup. For example /etc/sysupgrade.conf and /etc/firewall.user. If I compare a working build and a non working build, I see a differen

[LEDE-DEV] [PATCH] ipq806x: fix fakerootfs position

2017-02-21 Thread Thomas Reifferscheid
The fakeroot header is expected by the netgear bootloader in the last 64 bytes of the last block used by the uImage. With the current linux-4.9 uImage being more than 128k smaller than the linux-4.4 uImage the bootloader was unable to locate the rootfs ih_magic and was refusing to load and start th

Re: [LEDE-DEV] LXC cgroups / Was: Re: Working with network namespaces?

2017-02-21 Thread Jeff Ahrenholz
> Did you recompile lede? I need to do this with lede (stock). Haven’t tried with latest lede. Using OpenWRT CC, I do have to rebuild the kernel after changing LXC_KERNEL_OPTIONS. For CC, kernel namespaces are off by default. -Jeff ___ Lede-dev mail

Re: [LEDE-DEV] Asterisk compile error

2017-02-21 Thread Dennis Schneck
  May be this can help you   cd source cp -r ./build_dir/hostpkg/libxml2-2.9.4/include/libxml staging_dir/host/include   https://github.com/openwrt/telephony/issues/133       Gesendet: Dienstag, 21. Februar 2017 um 17:49 Uhr Von: "Perry Couprie" An: lede-dev@lists.infradead.org Betreff: [LEDE-D

[LEDE-DEV] Asterisk compile error

2017-02-21 Thread Perry Couprie
Hi, I tried to compile Asterisk 11.x, then i got the following compile error: Can someone give me a hint ? Perry checking for getloadavg... yes checking for setenv... yes checking for strcasestr... yes checking for strndup... yes checking for strnlen... yes checking for strsep... yes checking

Re: [LEDE-DEV] [PATCH] kmodloader: fix not being able to find some modules

2017-02-21 Thread Yousong Zhou
On 22 February 2017 at 01:01, Nathan Hintz wrote: > > Hi Yousong: > > Sorry for the spam. I've subscribed to the list hoping that is the reason my > email replies are being bounced by lede-dev (I can send patches to the list > using git send-mail just fine). > > Comments are in-line (if you haven'

[LEDE-DEV] [PATCH] ipq806x: sanitize Dni image generation

2017-02-21 Thread Thomas Reifferscheid
The more straight forward approach for generating the pure and unpadded kernel file which then can be used for initramfs straight. Build options for factory.img and sysupgrade.tar are handeled seperately. Signed-off-by: Thomas Reifferscheid --- target/linux/ipq806x/image/Makefile | 7 +++ 1

[LEDE-DEV] ar71xx: Need advice on parsing specific board config data on TP-Link TL-WR942N

2017-02-21 Thread Sergey Studzinski
>> Most work is already done against 17.01-rc2 and there is working >> factory and sysupgrade images. > >Please, base your work on master branch. Most work was done against master but later backported to rc2 in terms of stability in packages. It is not a problem to revert it back to master. >Just

Re: [LEDE-DEV] config restore/backup problem

2017-02-21 Thread e9hack
Hi, the issue is introduced by the commit 'opkg: switch to own fork to improve memory usage' and makes current builds more or less unusable. If I revert this commit and go back the old opkg package, sysupgrade does restore the previous configuration completely and manually generated backups con

[LEDE-DEV] Mikrotik RB411AH sysupgrade issues

2017-02-21 Thread Sergey Ryazanov
Hello, I tried to install latest LEDE to RB411AH board. Sysupgrade worked fine, but device now do not boot at all. Bootloader claims that it could not find kernel :( I tracked down the situation and found that the kernel partition image generated with assumption that any 64Mb NAND flash IC consis

Re: [LEDE-DEV] [PATCH ubox] cmake: Check for getrandom system call

2017-02-21 Thread Florian Fainelli
On 02/21/2017 05:12 AM, Felix Fietkau wrote: > On 2017-02-05 03:41, Florian Fainelli wrote: >> In case we are building against a kernel that is too old and does not >> support SYS_getrandom, error out with a message indicating so. >> >> Signed-off-by: Florian Fainelli >> --- >> CMakeLists.txt |

Re: [LEDE-DEV] Is there a Image for TP-Link TL-WA854RE (WiFi Range Extender) ?

2017-02-21 Thread Ufo
> On Sat, Feb 18, 2017 at 06:32:53PM +0100, Dennis Schneck wrote: >> Hello, >> is there a Image for TP-Link TL-WA854RE ? Am 18.02.17 um 19:40 schrieb Daniel Golle: > As a hack or temporary work-around, this is easy to achieve though. 854v1: http://gadow.freifunk.net:8004/srv2/lede/tplink854/lede-

Re: [LEDE-DEV] [PATCH] ar71xx: fix vlan settings for some boards

2017-02-21 Thread 郭传鈜
I think this patch needn't be reverted as it do fix the incorrect setting of marking port4 as eth1.What we need is just another commit to separate ar9331/ar934x devices from these to correct the port order of the 4 lan ports. Regards. Chuanhong Guo 2017-02-21 2:39 GMT+08:00 John Crispin : > > >

Re: [LEDE-DEV] Is there a Image for TP-Link TL-WA854RE (WiFi Range Extender) ?

2017-02-21 Thread Dennis Schneck
  thanks, i will try       Gesendet: Mittwoch, 22. Februar 2017 um 01:43 Uhr Von: Ufo An: Lede-dev@lists.infradead.org Betreff: Re: [LEDE-DEV] Is there a Image for TP-Link TL-WA854RE (WiFi Range Extender) ? > On Sat, Feb 18, 2017 at 06:32:53PM +0100, Dennis Schneck wrote: >> Hello, >> is there

[LEDE-DEV] RFC: WIP: Adding support to automate generating UEFI bootable x86_64 and x86 images

2017-02-21 Thread Alive 4ever
I am currently working on adding support for LEDE build system to generate UEFI bootable images. What I've done in this WIP: [*] Adding grub2-efi-amd64 and grub2-efi-ia32 packages. [*] Adding new targets under x86: 64-efi and efi, which can be selected via build's menuconfig. [*] Modifying

[LEDE-DEV] [PATCH V2 packages] lighttpd: fix regression in local-redir used with url.rewrite-once

2017-02-21 Thread Rafał Miłecki
From: Rafał Miłecki This fixes upstream regression introduced in 1.4.40. It was reported & debugged in https://redmine.lighttpd.net/issues/2793 This fix is queued for 1.4.46 in the personal/gstrauss/master upstream branch. Signed-off-by: Rafał Miłecki --- V2: Use official upstream fix from the