Re: [OpenWrt-Devel] ramips: mtk_soc_eth vs old ralink ethernet driver for the M2M

2016-01-02 Thread Russell Senior
> "Russell" == Russell Senior writes: > "Russell" == Russell Senior writes: > "John" == John Crispin writes: John> i'll try to test during the day. i had tested most socs but John> apparently 5350 still has

Re: [OpenWrt-Devel] [PATCH] base-files: fix generating network configuration

2016-01-02 Thread Yousong Zhou
Hi, On 31 December 2015 at 20:33, Roman Yeryomin wrote: > On 30 December 2015 at 14:32, Yousong Zhou wrote: >> On 30 December 2015 at 20:12, Jo-Philipp Wich wrote: >>> Hi Yousong. >>> >>> NAK - thats by design. If a network config

Re: [OpenWrt-Devel] [PATCH] kernel: generic 4.1 & 4.4 perf: musl compatibility

2016-01-02 Thread Felix Fietkau
On 2015-12-29 11:14, Kevin Darbyshire-Bryant wrote: > Enable linux perf tools to compile under musl. > > Tested on MIPS Archer c7 v2 & ARM Linksys 1200ac. > > With thanks to Dave Taht who > did the heavy lifting. > > Signed-off-by: Kevin Darbyshire-Bryant

Re: [OpenWrt-Devel] ramips: mtk_soc_eth vs old ralink ethernet driver for the M2M

2016-01-02 Thread John Crispin
Hi Russel, i'll have a look now. can you do me a favour and stop this utterly bizarre quotation style ? we prefer to have normally formatted mails. John On 02/01/2016 10:58, Russell Senior wrote: >> "Russell" == Russell Senior writes: > >> "Russell"

Re: [OpenWrt-Devel] [PATCH] kernel: generic 4.1 & 4.4 perf: musl compatibility

2016-01-02 Thread Felix Fietkau
On 2015-12-31 13:22, Roman Yeryomin wrote: > Kevin, are you sure this works? > I don't have /sys/devices/system/cpu/cpu0/cache/index0/coherency_line_size > on my Archer C7 > I did a little bit more simple way adding a header from eglibc. If > anybody interested I can submit the patch for RFC. As

Re: [OpenWrt-Devel] ramips: mtk_soc_eth vs old ralink ethernet driver for the M2M

2016-01-02 Thread Russell Senior
On Sat, Jan 2, 2016 at 2:45 AM, John Crispin wrote: > Hi Russel, > > i'll have a look now. [...] Ethernet appears to be working (no more panics) in r48064, thanks! ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org

[OpenWrt-Devel] [PATCH] add ubifs filesystem for image building system

2016-01-02 Thread RhoYounJae
Currently, the devices which actually uses ubifs filesystem uses squashfs filesystem Thus openwrt binary image have a wrong squashfs- prefix not ubifs- which gives user confusion This patch add ubifs filesystem for image building system but not for legacy system Signed-off-by: YounJae Rho

Re: [OpenWrt-Devel] [PATCH] add ubifs filesystem for image building system

2016-01-02 Thread Felix Fietkau
On 2016-01-02 15:11, RhoYounJae wrote: > Currently, the devices which actually uses ubifs filesystem uses squashfs > filesystem > Thus openwrt binary image have a wrong squashfs- prefix not ubifs- which > gives user confusion > This patch add ubifs filesystem for image building system but not

[OpenWrt-Devel] [PATCH] malta: fix generating network configuration

2016-01-02 Thread Yousong Zhou
With the default network config provided by package base-files present, board_detect won't create a new config from board.json. Signed-off-by: Yousong Zhou --- target/linux/malta/base-files.mk | 3 +++ 1 file changed, 3 insertions(+) create mode 100644

Re: [OpenWrt-Devel] [PATCH] kernel: generic 4.1 & 4.4 perf: musl compatibility

2016-01-02 Thread Kevin Darbyshire-Bryant
On 02/01/16 14:49, Felix Fietkau wrote: > On 2015-12-29 11:14, Kevin Darbyshire-Bryant wrote: >> Enable linux perf tools to compile under musl. >> >> Tested on MIPS Archer c7 v2 & ARM Linksys 1200ac. >> >> With thanks to Dave Taht who >> did the heavy lifting. >> >>

[OpenWrt-Devel] [PATCH] ar71xx: another fix to wndr3700_board_detect

2016-01-02 Thread Matthias Schiffer
My last bugfix (r47538) introduced a new bug in wndr3700_board_detect (again...). Assigning the result of ar71xx_get_mtd_offset_size_format to the model variable before stripping of garbage using awk will cause all NUL bytes to be removed before awk is applied, leading to model strings like

[OpenWrt-Devel] [PATCH 12/14] target/sdk: Fix handling of already built packages

2016-01-02 Thread openwrt
From: Daniel Dickinson When using SDK default to avoiding rebuilding packages previously built (within same variant of a source package; alternate variants don't cause isses so do allow them) and in addition avoid installing from feeds packages previously built. In

[OpenWrt-Devel] [PATCH 10/14] config: Move version configuration out of base-files

2016-01-02 Thread openwrt
From: Daniel Dickinson In preparation for allowing menuconfig of version information from withing SDK/Imagebuilder, move version configuration out of base-files (because base-files may not be present in those cases). Signed-off-by: Daniel Dickinson

[OpenWrt-Devel] [PATCH 02/14] targets: Use configured distribution name for SDK, IB, and Toolchain tarball names

2016-01-02 Thread openwrt
From: Daniel Dickinson We allow to configure the version distribution name; let's also use it for the tarballs (SDK, ImageBuilder, and SDK). Signed-off-by: Daniel Dickinson --- target/imagebuilder/Makefile | 2 +- target/sdk/Makefile

[OpenWrt-Devel] [PATCH 01/14] target/toolchain: Fix tarball filename

2016-01-02 Thread openwrt
From: Daniel Dickinson Toolchain makefile was missing include of version.mk so the openwrt version was missing from the filename. This patch fixes that. Signed-off-by: Daniel Dickinson --- target/toolchain/Makefile | 1 + 1 file

[OpenWrt-Devel] [PATCH] busybox: include config files relative to serveral Config.in

2016-01-02 Thread Wensheng Tang
Once reported at https://dev.openwrt.org/ticket/18552. When using SDK we shouldn't use absolute path in the Config.in. Signed-off-by: Wensheng Tang --- package/utils/busybox/config/Config.in| 43 ++-

[OpenWrt-Devel] [PATCH 14/14] target/sdk: Allow building buildroot + kernel only SDK/IB

2016-01-02 Thread openwrt
From: Daniel Dickinson In keeping with the theme of building a common base and branching out we introduce the concept of a minimal SDK which is essentially the build machinery plus the kernel and it's dependencies (e.g. hostapd on which mac80211 depends, and usign

[OpenWrt-Devel] [PATCH 05/14] target/sdk: Fix filename with external toolchain

2016-01-02 Thread openwrt
From: Daniel Dickinson When building SDK with external toolchain, don't include _gcc in the filename Signed-off-by: Daniel Dickinson --- target/sdk/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[OpenWrt-Devel] [PATCH 04/14] images imagebuilder: Allow to add sanitized extra name

2016-01-02 Thread openwrt
From: Daniel Dickinson For final output image names allow user to add an extra string (which is sanitized). This is particularly useful with ImageBuilder where you may generate multiple images from the same base and for the same board, with different package

[OpenWrt-Devel] [PATCH 07/14] toolchain sdk ib: Allow use of external chain as with openwrt toolchain

2016-01-02 Thread openwrt
From: Daniel Dickinson Allow building imagebuilder and/or sdk with dependency on the same external toolchain as used to build the imagebuilder or sdk (so that ib and sdk may be built using an external toolchain). Signed-off-by: Daniel Dickinson

[OpenWrt-Devel] [PATCH 09/14] package/signing-key base-files: Move the package list signing key to separate package

2016-01-02 Thread openwrt
From: Daniel Dickinson In order to make it easier to sign packages built with an SDK we make signing-key a separate package from base-files with a configuration option and variants (so that different builds can use different keys) which can be easy included in

[OpenWrt-Devel] [PATCH 00/14] Build system improvements

2016-01-02 Thread openwrt
Hi all! I have a major patch series for consideration with a number of improvements to the SDK/ImageBuilder parts of buildroot. The first four patches are just a repeat of patches previously sent for output filename improvement and not discussed further here; they are included to avoid conflicts

[OpenWrt-Devel] [PATCH 06/14] toolchain: Allow to set libc type for external toolchains

2016-01-02 Thread openwrt
From: Daniel Dickinson An external toolchain, if glibc, uclibc, or musl, can benefit from enabling the appropriate USE_ configure flags so that packages compile correctly for the libc type Signed-off-by: Daniel Dickinson --- rules.mk

[OpenWrt-Devel] Order of email arrival @ mailing list software results in bad threading in archive

2016-01-02 Thread Daniel Dickinson
Hi, Just in case you look at the mailing list archives, it appears that using git send-email for a patch series can screw up the mailing list software when messages arrive before the initial message that all other messages are made to be In-Reply-To. cf. my 14 patch build system

[OpenWrt-Devel] [PATCH 11/14] target/imagebuilder: Add ability to menuconfig image options

2016-01-02 Thread openwrt
From: Daniel Dickinson It is convenient to be able to change image generation options (including types of images, version information, and things like squashfs parameters) at the time of image generations, therefore add ability to do image generation menuconfig in

[OpenWrt-Devel] [PATCH 13/14] target/sdk: Allow building a more complete SDK from within an SDK

2016-01-02 Thread openwrt
From: Daniel Dickinson This patch allows using and SDK to build additional packages to create a more complete SDK (e.g. you could start with a base system SDK and use it to create an SDK that has libraries from both base and packages feed). This allows for new

[OpenWrt-Devel] [PATCH] export KERNEL_INITRAMFS_IMAGE

2016-01-02 Thread RhoYounJae
`Build/ubnt-erx-factory-kernel` in `target\linux\ramips\image\Makefile` references `$(KERNEL_INITRAMFS_IMAGE)` which is not exported Signed-off-by: YounJae Rho ---  include/image.mk | 2 +-  1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/image.mk

[OpenWrt-Devel] [PATCH 08/14] targets images: Add a version 'flavour'

2016-01-02 Thread openwrt
From: Daniel Dickinson The version flavour is string that goes into output filenames and the openwrt_release file, and is available for opkg repositories. It is intended to make it easy to manage parallel streams of SDK etc that are built with different options

[OpenWrt-Devel] [PATCH 03/14] images: use configured distribution name for output image names

2016-01-02 Thread openwrt
From: Daniel Dickinson We allow to configure the version distribution name; let's also use it for the final image filenames. Signed-off-by: Daniel Dickinson --- include/image.mk | 28 +++- 1 file changed, 15