Re: [LEDE-DEV] [PATCH 10/12] at91: reorganize at91 subtargets

2018-04-02 Thread John Crispin
On 02/04/18 18:34, Sandeep Sheriker Mallikarjun wrote: reorganizing at91 subtargets based on sama5 soc features and this fix below problems. 1. able to set neon flags to sama5d2 & sama5d4 subtargets. 2. fix the make clean which removes all the subtargets in bin folder. 3. able to confi

Re: [LEDE-DEV] [PATCH 03/12] uboot-at91: fetch uboot src from u-boot-at91 github

2018-04-02 Thread John Crispin
On 02/04/18 18:34, Sandeep Sheriker Mallikarjun wrote: fetching uboot src from linux4sam/u-boot-at91 github for all at91 target. Signed-off-by: Sandeep Sheriker Mallikarjun Hi, Whats the difference between these uboots ? I am guessing its pre-patched ?     John --- package/boot/uboot-at

Re: [LEDE-DEV] [PATCH] kernel: update kernel 4.14 to 4.14.32

2018-04-02 Thread Stijn Segers
Op ma, 2 apr 2018 om 4:42 , schreef Hauke Mehrtens : The following patches are now included upstream: * 0052-MIPS-lantiq-fix-usb-clocks.patch * 0053-MIPS-lantiq-enable-AHB-Bus-for-USB.patch * 0060-lantiq-ase-enable-MFD-SYSCON.patch Closes: FS#1466 Compile-tested on: ramips/mt7621, x86/64 Run-t

[LEDE-DEV] Suggested improvement: Filtering uci export data

2018-04-02 Thread Bob Taylor
Hello All, I'm trying to fix an issue with a slow-loading firewall on an OpenWRT-based platform. Because of the structure of the firewall I am supporting, there are a large number of rules in the firewall config, resulting in a 100kb+ file. While most of these are disabled by default, they are s

[LEDE-DEV] [PATCH 12/12] at91: refreshing kernel configurations.

2018-04-02 Thread Sandeep Sheriker Mallikarjun
refreshing kernel configurations for sama5 and legacy subtarget. Signed-off-by: Sandeep Sheriker Mallikarjun --- target/linux/at91/config-4.9 | 445 -- target/linux/at91/legacy/config-default | 239 ++ target/linux/at91/sama5d2/config-default | 329 ++-- target/l

[LEDE-DEV] [PATCH 10/12] at91: reorganize at91 subtargets

2018-04-02 Thread Sandeep Sheriker Mallikarjun
reorganizing at91 subtargets based on sama5 soc features and this fix below problems. 1. able to set neon flags to sama5d2 & sama5d4 subtargets. 2. fix the make clean which removes all the subtargets in bin folder. 3. able to configure kernel specific to subtarget. 4. able to set vfpu4 flag

[LEDE-DEV] [PATCH 05/12] at91: fix build error for wb50n.

2018-04-02 Thread Sandeep Sheriker Mallikarjun
when external kernel is selected from menuconfig, device wb50n is not avaliable and build fails. As a fix adding checks for external kernel. Signed-off-by: Sandeep Sheriker Mallikarjun --- target/linux/at91/image/sama5.mk | 24 ++-- 1 file changed, 14 insertions(+), 10 delet

[LEDE-DEV] [PATCH 06/12] at91: Add SAMA5D27 SOM1 EK board

2018-04-02 Thread Sandeep Sheriker Mallikarjun
Add support for SAMA5D27 SOM1 with target device as at91-sama5d27_som1_ek in SAMA5 subtarget and build images for SAMA5D27 SOM1 Ek board. Signed-off-by: Sandeep Sheriker Mallikarjun --- package/boot/at91bootstrap/Makefile| 19 +- package/boot/uboot-at91/Makefile

[LEDE-DEV] [PATCH 11/12] at91: Add SAMA5D2 PTC EK board

2018-04-02 Thread Sandeep Sheriker Mallikarjun
Add target device as at91-sama5d2_ptc_ek in SAMA5D2 subtarget and build images for SAMA5D2 PTC Ek board. Signed-off-by: Sandeep Sheriker Mallikarjun --- package/boot/at91bootstrap/Makefile| 16 +- package/boot/uboot-at91/Makefile | 18 +- target/linux/at91/ba

[LEDE-DEV] [PATCH 03/12] uboot-at91: fetch uboot src from u-boot-at91 github

2018-04-02 Thread Sandeep Sheriker Mallikarjun
fetching uboot src from linux4sam/u-boot-at91 github for all at91 target. Signed-off-by: Sandeep Sheriker Mallikarjun --- package/boot/uboot-at91/Makefile | 17 +++-- 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/package/boot/uboot-at91/Makefile b/package/boot/uboot

[LEDE-DEV] [PATCH 08/12] at91: sama5: remove neon and VFPv4 support

2018-04-02 Thread Sandeep Sheriker Mallikarjun
sama5d2 & samad4 have neon feature and sama5d3 does not have neon feature due to which sama5d3 boot fails with error message Kernel panic - not syncing: Attempted to kill init! exitcode=0x0004. removing neon & VFPv4 support to fix this Signed-off-by: Sandeep Sheriker Mallikarjun --- target/

[LEDE-DEV] [PATCH 09/12] uboot-at91: fix DTC command not found.

2018-04-02 Thread Sandeep Sheriker Mallikarjun
fixed DTC command not found error while compling uboot-at91. The fix is to set DTC PATH in uboot-at91 MAKE command. Signed-off-by: Sandeep Sheriker Mallikarjun --- package/boot/uboot-at91/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package/boot/uboot-at91/Mak

[LEDE-DEV] [PATCH 04/12] kernel: fix build error for external kernel.

2018-04-02 Thread Sandeep Sheriker Mallikarjun
fixed build error when external kernel is selected from menuconfig. The patches present in target/linux/generic does not gets applied to external kernel and build fails while compiling mac82011 & regmap-core kernel modules. as a fix added check in Makefile for CONFIG_EXTERNAL_KERNEL_TREE present or

[LEDE-DEV] [PATCH 01/12] at91bootstrap:update to v3.8.10

2018-04-02 Thread Sandeep Sheriker Mallikarjun
updating to new version v3.8.10 and copying at91bootstrap.bin to bin folder. Signed-off-by: Sandeep Sheriker Mallikarjun --- package/boot/at91bootstrap/Makefile | 4 ++-- package/boot/at91bootstrap/at91bootstrap.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/p

[LEDE-DEV] [PATCH 07/12] at91: sdcard image with ext4 rootfs

2018-04-02 Thread Sandeep Sheriker Mallikarjun
creating sdcard image with ext4 rootfs only and ignoring creating other filesystem in sdcard image. Signed-off-by: Sandeep Sheriker Mallikarjun --- target/linux/at91/image/Makefile | 2 +- target/linux/at91/image/sama5.mk | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/t

[LEDE-DEV] [PATCH 02/12] at91: fix sdcard create image

2018-04-02 Thread Sandeep Sheriker Mallikarjun
copying at91bootstrap and uboot binaries to sdcard image is done based on device name instead of dts name and this avoids creating multiple u-boot and at91bootstrap binaries. Signed-off-by: Sandeep Sheriker Mallikarjun --- target/linux/at91/image/sama5.mk | 16 +--- 1 file changed,

[LEDE-DEV] [PATCH] arc770: bump kernel to 4.14

2018-04-02 Thread Evgeniy Didin
Update Linux kernel version from 4.9 to 4.14 for arc770. config-4.14 was simply regenerated with "make kernel_menuconfig". Signed-off-by: Evgeniy Didin Cc: Alexey Brodkin Cc: John Crispin --- target/linux/arc770/Makefile | 2 +- target/linux/arc770/{config-4.9 => config-

Re: [LEDE-DEV] [LEDE-DEV, 3/3] fstools: fix lost mount point when first boot

2018-04-02 Thread John Crispin
On 29/03/18 10:25, rosys...@rosinson.com wrote: When firmware is new flashed and reboot with a storage device plug in its usb interface. Though the filesystem is not ready (FS_STATE_UNKNOWN), the /dev/sda1 still mount on /mnt/sda1 by block-mount, then the system switching jffs... root@OpenWrt

Re: [LEDE-DEV] [LEDE-DEV,2/3] fstools: fix potential memory leak

2018-04-02 Thread John Crispin
On 29/03/18 10:25, rosys...@rosinson.com wrote: Fix potential memory leak in fstools Signed-off-by: Rosy Song Hi, the description is wrong, this fixes a potential null pointer deref and i dont really see how probing of a FS would work without a magic so we probably wont ever hit this case

Re: [LEDE-DEV] [LEDE-DEV, 1/3] fstools: add exfat filesystem support

2018-04-02 Thread John Crispin
On 29/03/18 11:57, Jo-Philipp Wich wrote: Hi, fstools will use the full libblkid if it is installed on the system, this should also enable support for all filesystems supported by the full libblkid. Adding more and more exotic stuff to libblkid-tiny will bloat the default fstools install for

[LEDE-DEV] [PATCH] kernel: update kernel 4.14 to 4.14.32

2018-04-02 Thread Hauke Mehrtens
The following patches are now included upstream: * 0052-MIPS-lantiq-fix-usb-clocks.patch * 0053-MIPS-lantiq-enable-AHB-Bus-for-USB.patch * 0060-lantiq-ase-enable-MFD-SYSCON.patch Closes: FS#1466 Signed-off-by: Hauke Mehrtens --- include/kernel-version.mk | 4 +-- .../g

[LEDE-DEV] [PATCH] kernel: Activate CONFIG_BRIDGE_VLAN_FILTERING

2018-04-02 Thread Hauke Mehrtens
This allows to configure VLAN aware bridges in Linux, it is also possible to offload these VLAN aware bridges with DSA to some hardware, which is supported by most of the DSA drivers. This adds support for the VLAN features mentioned in bridge man page: http://man7.org/linux/man-pages/man8/bridge.

Re: [LEDE-DEV] kernel version status

2018-04-02 Thread Hauke Mehrtens
On 04/02/2018 10:54 AM, Jaap Buurman wrote: > Dear Hauke, > > Quick question from my side: I was wondering why Ramips will probably > stay with 4.9, even though the patches for 4.14 have been in master > for quite a while. Since flow_offload is part of master, and it > requires 4.14, I think 4.14

Re: [LEDE-DEV] CONFIG_BRIDGE_VLAN_FILTERING

2018-04-02 Thread Hauke Mehrtens
On 04/02/2018 11:28 AM, Gio wrote: > On Wednesday, 14 June 2017 20:41:12 CEST Daniel Golle wrote: >> I noticed that the Linux built-in bridge now supports filtering by VLAN >> tags. This can be much more efficient than using ebtables for the same >> task, hence I wonder if there is any reason to ke

Re: [LEDE-DEV] CONFIG_BRIDGE_VLAN_FILTERING

2018-04-02 Thread Gio
On Wednesday, 14 June 2017 20:41:12 CEST Daniel Golle wrote: > I noticed that the Linux built-in bridge now supports filtering by VLAN > tags. This can be much more efficient than using ebtables for the same > task, hence I wonder if there is any reason to keep this disabled or > if there is intere

Re: [LEDE-DEV] kernel version status

2018-04-02 Thread Jaap Buurman
Dear Hauke, Quick question from my side: I was wondering why Ramips will probably stay with 4.9, even though the patches for 4.14 have been in master for quite a while. Since flow_offload is part of master, and it requires 4.14, I think 4.14 would be a very welcome addition for Ramips. My 2 cents

[LEDE-DEV] [PATCH netifd] interface-ip: fix memory leak in interface_ip_add_target_route()

2018-04-02 Thread Hans Dedecker
Commit 9c8d781 introduced a memory leak in interface_ip_add_target_route in case interface_ip_find_addr_target returns true for a given address by not freeing the previously allocated route. While at it rework the logic so a host route is only allocated when it's really required. Signed-off-by: Ha