Re: [LEDE-DEV] [PATCH v2 2/3] base-files: put board_name into separate file

2017-05-17 Thread Mathias Kresin
17.05.2017 21:08, Roman Yeryomin: On 17 May 2017 at 21:39, Roman Yeryomin wrote: On 17 May 2017 at 16:19, Mathias Kresin wrote: Hey Roman., independent of the work done by you, I worked on exactly the same topic. But I've pushed it a bit further by switching all targets to the generic boardn

[LEDE-DEV] [PATCH] add --do-setup arg and default to squasfs

2017-05-17 Thread Paul Spooren
scripts/qemustart the function do_setup is never used except if the script is changed manually. It's used to easily setup bridges and traffic forwarding. Adding the parameter --do-config simplifies the deployment. The scripts defaults to the ext4 filesystem which is an unrealistic in most cases.

Re: [LEDE-DEV] [PATCH v2 2/3] base-files: put board_name into separate file

2017-05-17 Thread Roman Yeryomin
On 17 May 2017 at 21:39, Roman Yeryomin wrote: > On 17 May 2017 at 16:19, Mathias Kresin wrote: >> Hey Roman., >> >> independent of the work done by you, I worked on exactly the same >> topic. But I've pushed it a bit further by switching all targets to >> the generic boardname function and a few

Re: [LEDE-DEV] [PATCH v2 2/3] base-files: put board_name into separate file

2017-05-17 Thread Roman Yeryomin
On 17 May 2017 at 16:19, Mathias Kresin wrote: > Hey Roman., > > independent of the work done by you, I worked on exactly the same > topic. But I've pushed it a bit further by switching all targets to > the generic boardname function and a few targets to the generic board > detection in basefiles/

Re: [LEDE-DEV] Scripted builds -- package selections reset by "make defconfig oldconfig"

2017-05-17 Thread Philip Prindeville
> On May 17, 2017, at 11:35 AM, Philip Prindeville > wrote: > > [snip] Ignore the title, I forgot to update that: it’s actually the “scripts/feeds update” which is clobbering the .config. ___ Lede-dev mailing list Lede-dev@lists.infradead.org http

[LEDE-DEV] Scripted builds -- package selections reset by "make defconfig oldconfig"

2017-05-17 Thread Philip Prindeville
Hi. I have a requirement to be able to clone a snapshot of an Ubuntu 16.04-2 VM which has all of the appropriate packages already installed on it, scp over a build script, run it, and copy out the $(TOPDIR)/bin/targets/ directory when done and then destroy the VM. From a working (development)

Re: [LEDE-DEV] [PATCH v2 2/3] base-files: put board_name into separate file

2017-05-17 Thread Mathias Kresin
Hey Roman., independent of the work done by you, I worked on exactly the same topic. But I've pushed it a bit further by switching all targets to the generic boardname function and a few targets to the generic board detection in basefiles/preinit. Furthermore I've converted some targets to get th

Re: [LEDE-DEV] convention on uid/gid for packages

2017-05-17 Thread Yousong Zhou
On 16 May 2017 at 00:02, Val Kulkov wrote: > I agree that not depending on the manual cooperation across groups of > people would be ideal. However, updating 35+ packages to use the > auto-allocation mechanism is not an easy undertaking. Updating 35+ packages is easy with a few lines of shell scr

Re: [LEDE-DEV] [PATCH v2 3/3] ipq806x: migrate to generic board detect infrastructure

2017-05-17 Thread Roman Yeryomin
On 16 May 2017 at 13:33, John Crispin wrote: > > > On 09/05/17 11:17, Roman Yeryomin wrote: >> >> Signed-off-by: Roman Yeryomin >> --- >> .../linux/ipq806x/base-files/etc/board.d/01_leds | 4 +- >> .../ipq806x/base-files/etc/board.d/02_network | 4 +- >> target/linux/ipq806x/base-fil

Re: [LEDE-DEV] [PATCH v2 2/3] base-files: put board_name into separate file

2017-05-17 Thread Roman Yeryomin
Hi John, the reasoning is that most scripts which need board_name, don't need anything else, and those which do need more, they need only a fraction of functions.sh The other aspect is that, e.g. including board.sh is 50-60 times faster than including functions.sh I'm going to send another RFC ema

[LEDE-DEV] [PATCH v3] ramips: add support for GL-inet GL-MT300N-V2

2017-05-17 Thread kysonlok
This patch adds supports for the GL-inet GL-MT300N-V2. Specification: - SoC: MediaTek MT7628AN - Flash: 16 MiB (W25Q128FVSG) - RAM: 128 MiB DDR - Ethernet: 1 x WAN (100 Mbps) and 1 x LAN (100 Mbps) - USB: 1 x USB 2.0 port - Button: 1 x switch button, 1 x reset button - LED: 3 x LEDS (system power