Re: [LEDE-DEV] [PATCH v2 0/4] sunxi: rework image build and sysupgrade support

2017-01-01 Thread Yousong Zhou
On 2 January 2017 at 02:55, Zoltan HERPAI wrote: > Hi Yousong, > > Yousong Zhou wrote: >> >> This series mainly tries achieve the following goals >> >> - use new image generation method >> - squashfs sdcard image support >> - mkfs.f2fs or mkfs.ext4 remaining space within squashfs rootfs partiti

Re: [LEDE-DEV] [PATCH 04/11] build: image.mk: don't install-images for devices not selected

2017-01-01 Thread Yousong Zhou
On 2 January 2017 at 03:27, Felix Fietkau wrote: > On 2017-01-01 19:07, Yousong Zhou wrote: >> If the default device profile is meant to be used to make a single >> image that can run on all device, then in the case of sunxi, it is not >> possible at least with regard to uboot. >> >> Or if the def

Re: [LEDE-DEV] newbie opkg upgrading questions..

2017-01-01 Thread Yousong Zhou
On 2 January 2017 at 11:30, B. Cook wrote: > This worked for me the last time, but now - not so much.. > > opkg list-upgradable | cut -f1 -d\ | xargs opkg upgrade > > root@wzr-ag300h:~# df -h > FilesystemSize Used Available Use% Mounted on > tmpfs61.2M

[LEDE-DEV] newbie opkg upgrading questions..

2017-01-01 Thread B. Cook
This worked for me the last time, but now - not so much.. opkg list-upgradable | cut -f1 -d\ | xargs opkg upgrade root@wzr-ag300h:~# df -h FilesystemSize Used Available Use% Mounted on tmpfs61.2M 1.1M 60.1M 2% /tmp overlayfs:/overlay 28.4M

Re: [LEDE-DEV] Adding new targets/subtargets

2017-01-01 Thread Philip Prindeville
> On Jan 1, 2017, at 8:34 AM, Weedy wrote: > > On 31 December 2016 at 20:23, Philip Prindeville > wrote: >> >> >> Pruning useful subtargets to solve a buildbot resource shortage seems like >> taking a sledgehammer to kill a fly. >> >> Why not instead just add a profile attribute like: >> >

Re: [LEDE-DEV] [PATCH 04/11] build: image.mk: don't install-images for devices not selected

2017-01-01 Thread Felix Fietkau
On 2017-01-01 19:07, Yousong Zhou wrote: > If the default device profile is meant to be used to make a single > image that can run on all device, then in the case of sunxi, it is not > possible at least with regard to uboot. > > Or if the default device profile is meant to be selected as the > def

Re: [LEDE-DEV] [PATCH v2 0/4] sunxi: rework image build and sysupgrade support

2017-01-01 Thread Zoltan HERPAI
Hi Yousong, Yousong Zhou wrote: This series mainly tries achieve the following goals - use new image generation method - squashfs sdcard image support - mkfs.f2fs or mkfs.ext4 remaining space within squashfs rootfs partition and mount it as rw overlay - sysupgrade with fwtool check suppo

Re: [LEDE-DEV] [PATCH 04/11] build: image.mk: don't install-images for devices not selected

2017-01-01 Thread Yousong Zhou
On 1 January 2017 at 20:26, Felix Fietkau wrote: > On 2016-12-31 19:06, Yousong Zhou wrote: >> On 1 January 2017 at 01:11, Felix Fietkau wrote: >>> On 2016-12-31 18:06, Yousong Zhou wrote: This commit tries to fix the following situation - CONFIG_TARGET_MULTIPLE_PROFILE is not set

Re: [LEDE-DEV] LEDE Fails to build

2017-01-01 Thread Magnus Kroken
Hi Mauro On 01.01.2017 16.10, Mauro M. wrote: Collected errors: * check_data_file_clashes: Package libustream-polarssl wants to install file /net2/router/lede/trunk-ipvs/build_dir/target-mips_24kc_musl-1.1.15/root-ar71xx/lib/libustream-ssl.so But that file is already provided by package *

Re: [LEDE-DEV] Scripting builds... how to?

2017-01-01 Thread Petr Štetiar
Philip Prindeville [2016-12-31 16:12:21]: Hi, > cp ../my-saved-config .config > make defconfig I use the same steps also. > to generate the .config file in a completely scripted way, by seeding it with > the minimum set of relevant parameters (the deltas) per the steps described > here: > >

Re: [LEDE-DEV] Scripting builds... how to?

2017-01-01 Thread Sven Roederer
Am Samstag, 31. Dezember 2016, 16:12:21 CET schrieb Philip Prindeville: > Hi. > > I wanted to be able to script building images completely. > Is there an equivalent way to generate the kernel config by seeding it with > minimum state? > > I don’t want to save the complete .config because tha

Re: [LEDE-DEV] [PATCH] lantiq: set the usb clock source

2017-01-01 Thread Hauke Mehrtens
On 01/01/2017 11:21 AM, Mathias Kresin wrote: > The clock source is set by the ltq-hcd driver but are not by the > dwc2 driver. Without having the correct clock set the dwc driver > fails to reset the usb core and errors out. The values for supported > lantiq targets are exactly the same as set b

Re: [LEDE-DEV] Adding new targets/subtargets

2017-01-01 Thread Weedy
On 31 December 2016 at 20:23, Philip Prindeville wrote: > >> On Dec 31, 2016, at 9:32 AM, Yousong Zhou wrote: >> >> On 31 December 2016 at 06:13, Philip Prindeville >> wrote: >>> >>> I noticed that in Openwrt a lot of the x86 subtargets (alix, geos, net5501) >>> had gone away (well, been combin

[LEDE-DEV] LEDE Fails to build

2017-01-01 Thread Mauro M.
Hi All, All the updates from git after r2449 fail to build with the following error: Configuring zip. Configuring luci-app-hd-idle. Configuring ppp-mod-pppoe. Configuring luci-app-openvpn. Configuring ipvsadm. Configuring kmod-ledtrig-netdev. Collected errors: * check_data_file_clashes: Package

Re: [LEDE-DEV] [PATCH 04/11] build: image.mk: don't install-images for devices not selected

2017-01-01 Thread Felix Fietkau
On 2016-12-31 19:06, Yousong Zhou wrote: > On 1 January 2017 at 01:11, Felix Fietkau wrote: >> On 2016-12-31 18:06, Yousong Zhou wrote: >>> This commit tries to fix the following situation >>> >>> - CONFIG_TARGET_MULTIPLE_PROFILE is not set >>> - CONFIG_TARGET_sunxi_DEVICE_sun7i-a20-cubieboard2=

Re: [LEDE-DEV] Blackhole routes and other tidbits on the network configuration wiki page

2017-01-01 Thread Alberto Bursi
On 12/31/2016 11:33 PM, Philip Prindeville wrote: > I was going over the “Network configuration” page on the wiki and it’s a > little thin on routes. In particular, it implies that for a route you always > need interface/target/netmask/gateway… but in the case of type=blackhole, a > gateway d

Re: [LEDE-DEV] [PATCH] lantiq: set the usb clock source

2017-01-01 Thread Mathias Kresin
01.01.2017 11:21, Mathias Kresin: The clock source is set by the ltq-hcd driver but are not by the dwc2 driver. Without having the correct clock set the dwc driver fails to reset the usb core and errors out. The values for supported lantiq targets are exactly the same as set by the ltq-hcd driver

[LEDE-DEV] [PATCH] lantiq: set the usb clock source

2017-01-01 Thread Mathias Kresin
The clock source is set by the ltq-hcd driver but are not by the dwc2 driver. Without having the correct clock set the dwc driver fails to reset the usb core and errors out. The values for supported lantiq targets are exactly the same as set by the ltq-hcd driver and should not cause any regression