Re: [OpenWrt-Devel] [PATCH] use NTP server received via DHCP

2016-01-27 Thread David Lang
Just a side note while you are working in this area. all the documentation for udhcpc (including it's default config settings) says that it uses one default file path, but when it's run that path gets overridden on the command line and a different file is used instead. The default in the conf

Re: [OpenWrt-Devel] Question about custom script at init on Trunk.-

2016-01-27 Thread David Lang
Since it's just two files that you are wanting to override for your images, go to the top level directory (where you do your make menuconfig) and create the directory files and put the files that you want to override in there (in the appropriate directory, so to override /etc/config/wireless, ma

Re: [OpenWrt-Devel] Question about custom script at init on Trunk.-

2016-01-27 Thread Karl Palsson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Eric Schultz wrote: > Guillermo, > > It's always best to use a custom package if you can. Modifying > upstream leads to problems like this. > > I don't think you'd need those changes in uci-defaults.sh. > Instead, I think you should put your changes

Re: [OpenWrt-Devel] Question about custom script at init on Trunk.-

2016-01-27 Thread David Lang
On Wed, 27 Jan 2016, Karl Palsson wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Eric Schultz wrote: Guillermo, It's always best to use a custom package if you can. Modifying upstream leads to problems like this. I don't think you'd need those changes in uci-defaults.sh. Instead, I th

Re: [OpenWrt-Devel] Question about custom script at init on Trunk.-

2016-01-27 Thread David Lang
On Wed, 27 Jan 2016, Karl Palsson wrote: Along these lines, I've tried putting in something like 80_mystuff, where I want to set some configurations options for various packages that depend on the hardware they're running on. However, the uci-defaults files are run in alphabetical order, so whil

[OpenWrt-Devel] [malta] CC 15.05 backport request -r46269 malta-add-harddisk-support

2016-01-27 Thread Vincent Fortier
Hi all, >From following the list in the past few weeks I believe there may be a CC 15.05.1 planned for release? If so could it be possible to backport the trivial patch to add harddisk support for the malta platform? I tested it yesterday against latest update to CC 15.05 and it worked flawlessl

Re: [OpenWrt-Devel] Question about custom script at init on Trunk.-

2016-01-27 Thread Karl Palsson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David Lang wrote: > > > > Now, yes, I can have my 80_mystuff script go and try and create > > the package config files it might want to modify, but really, I > > want "mystuff" to run _last_ or at least, after all the packages > > have run. Is there a

Re: [OpenWrt-Devel] Question about custom script at init on Trunk.-

2016-01-27 Thread David Lang
On Wed, 27 Jan 2016, Karl Palsson wrote: David Lang wrote: Now, yes, I can have my 80_mystuff script go and try and create the package config files it might want to modify, but really, I want "mystuff" to run _last_ or at least, after all the packages have run. Is there any better system for

Re: [OpenWrt-Devel] Question about custom script at init on Trunk.-

2016-01-27 Thread Karl Palsson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David Lang wrote: > On Wed, 27 Jan 2016, Karl Palsson wrote: > > > David Lang wrote: > >>> > >>> Now, yes, I can have my 80_mystuff script go and try and create > >>> the package config files it might want to modify, but really, I > >>> want "mystuf

Re: [OpenWrt-Devel] Question about custom script at init on Trunk.-

2016-01-27 Thread Jo-Philipp Wich
Hi, > So, /etc/uci-defaults/z999-something works, but is there a > better way? Not yet - but we could start changing packages to use numerical prefixes. I do not suppose that sooo many uci-default scripts are used. ~ Jow ___ openwrt-devel mailing l

Re: [OpenWrt-Devel] [PATCH][ar71xx] Routerboard 951G Switch Fix

2016-01-27 Thread Anton Kalmykov
Hi, 951G owners! I have RB951G-2HnD device with AR9344 rev 3. It is configured like that: - Balanced 2 WAN ports (mwan3) - ipsec LAN-to-LAN - OpenVPN server - about 30 clients (wi-fi, lan) My results for different ath79_eth0_pll_data.pll_1000 values: 0x3e00 - it worked fine with Barrier Bre

Re: [OpenWrt-Devel] [PATCH][ar71xx] Routerboard 951G Switch Fix

2016-01-27 Thread John Crispin
On 27/01/2016 17:03, Anton Kalmykov wrote: > > Hi, 951G owners! > I have RB951G-2HnD device with AR9344 rev 3. It is configured like that: > - Balanced 2 WAN ports (mwan3) > - ipsec LAN-to-LAN > - OpenVPN server > - about 30 clients (wi-fi, lan) > > My results for different ath79_eth0_pll_data.

[OpenWrt-Devel] [PATCH v4] base-files: For sysfixtime use hwclock if RTC available

2016-01-27 Thread Petr Štetiar
From: Daniel Dickinson On systems that have an RTC prefer it to the file-based time fixup (i.e. use hwclock when there is a permanent clock instead of the faked up time logic that is needed when there is not RTC). We can't rely on hctosys kernel feature either as we're usually using RTC as kerne

Re: [OpenWrt-Devel] [PATCH][ar71xx] Routerboard 951G Switch Fix

2016-01-27 Thread David Hutchison
Hello John, Of course this has been over a year since I submitted ( http://patchwork.ozlabs.org/patch/419857/ ); however I remember in one of our e-mail threads that you ( or Felix? ) thought it was possible to pull the correct pll_1000 value from the bootloader? Is that still a possibility? If y

Re: [OpenWrt-Devel] [PATCH 2/2] kernel: other: add PWM controller support

2016-01-27 Thread Pushpal Sidhu
I just realized that this isn't necessary for imx anymore as it's static in the 4.4 kernel. I'll mark it as 'not applicable'. - Pushpal On Tue, Jan 26, 2016 at 2:37 PM, Pushpal Sidhu wrote: > This adds basic PWM controller support and support for i.MX > > Signed-off-by: Tim Harvey > Signed-off-

[OpenWrt-Devel] [PATCHv2 5/8] ath9k: enable GPIO buttons

2016-01-27 Thread Michal
From: Michal Cieslakiewicz Enable platform-defined GPIO button support for ath9k device. Key poller is activated for attached platform buttons. Requires ath9k GPIO chip access. Signed-off-by: Michal Cieslakiewicz --- (Patch offset adjusted due to lines removal in preceding patch v2 4/8) .../

[OpenWrt-Devel] [PATCHv2 4/8] ath9k: enable access to GPIO

2016-01-27 Thread Michal
From: Michal Cieslakiewicz Enable access to GPIO chip and its pins for Atheros AR92xx wireless devices. For now AR9285 and AR9287 are supported. Signed-off-by: Michal Cieslakiewicz --- (Removed unneeded pdata pointer check in ath9k_register_gpio_chip() function) .../patches/549-ath9k_enable_

Re: [OpenWrt-Devel] [PATCH][ar71xx] Routerboard 951G Switch Fix

2016-01-27 Thread Anton Kalmykov
Hello John, Sorry, I'm mistaken: my value is 0x6f00 (NOT 0x0600) and it works correctly. And, yes, taking value from the bootloader is a nice idea, it would be good! Anton 27.01.2016, 21:28, John Crispin wrote: On 27/01/2016 17:03, Anton Kalmykov wrote: > > Hi, 951G owners! > I hav

Re: [OpenWrt-Devel] Question about custom script at init on Trunk.-

2016-01-27 Thread David Lang
On Wed, 27 Jan 2016, Karl Palsson wrote: I think you may have misunderstood. S10_boot runs the files in /etc/uci-defaults/* The files in _/etc/uci-defaults/_ do not all start with a numerical prefix, and are provided by any and all package that has any config it wants to run. So, for a _package

[OpenWrt-Devel] kernel patch editing using QUILT=1

2016-01-27 Thread Rick van der Zwet
Hi, As quilt is used for patch management it seems that behaviour as described on the wiki (https://wiki.openwrt.org/doc/devel/patches#adding_or_editing_kernel_patches) between packages and kernel is different. For packages it will prepare the environment when issued: make package/exampl

[OpenWrt-Devel] Build error for IPQ806X

2016-01-27 Thread Tathagata Das
Hello, I am getting build error while compiling latest OpenWRT trunk for IPQ806x. Below is the error message. Inconsistent kallsyms data Try make KALLSYMS_EXTRA_PASS=1 as a workaround make[4]: *** [vmlinux] Error 1 Regards, Tathagata --- Alumnus Software Ltd Infinity, Tow