[OpenWrt-Devel] ramips/rt305x: nfsroot troubles on trunk (kernel 3.3.5)

2012-05-13 Thread Petr Štetiar
Hi, is anyone using nfsroot on ramips/rt305x platform? I couldn't get it working without this patch[1]. So my questions are, is nfsroot working for someone on this platform? If not, is it this patch ok (or it's a total nonsense)? Is there a better solution? Thanks for any pointers. 1.

Re: [OpenWrt-Devel] Bounty: /overlay on x86

2012-07-10 Thread Petr Štetiar
Kristian Kielhofner k...@kriskinc.com [2012-07-03 14:37:06]: Is /overlay supported on x86? Am I missing something here? Hi, I think, that you need to rephrase your question to something like Is /overlay supported with initramfs?. If you look at mount.sh and closely at the function

[OpenWrt-Devel] [PATCH] base-files: add config option for log rotation in syslogd

2012-08-24 Thread Petr Štetiar
Signed-off-by: Petr Štetiar yn...@true.cz --- package/base-files/files/etc/init.d/boot |5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package/base-files/files/etc/init.d/boot b/package/base-files/files/etc/init.d/boot index 43837a8..54afbb8 100755 --- a/package/base

[OpenWrt-Devel] base-files: preinit scripts issue and mtd-utils package

2012-10-21 Thread Petr Štetiar
Hi, while doing some testing of new firmware image yesterday, I've noticed, that no jffs2 overlay has been used, but just ramfs overlay. I've tracked it down to the lib/preinit/40_mount_jffs2 script: find_mount_jffs2() { mkdir -p /tmp/overlay mount

Re: [OpenWrt-Devel] base-files: preinit scripts issue and mtd-utils package

2012-10-21 Thread Petr Štetiar
Jo-Philipp Wich x...@subsignal.org [2012-10-21 15:17:35]: mtd is in the mtd package, not mtd-utils. Ok, sorry. I've meant mtd package, but wrote mtd-utils. Anyway, the conditions metioned in my previous email still apply. Without that mtd package it's not possible to use jffs2 /overlay. --

Re: [OpenWrt-Devel] base-files: preinit scripts issue and mtd-utils package

2012-10-22 Thread Petr Štetiar
Catalin Patulea c...@vv.carleton.ca [2012-10-21 14:26:58]: I noticed that many of the system scripts use mtd, so to reflect this in the package metadata I tried to make mtd a dependency of base-files. This would mean that if you select base-files, you also get mtd, achieving the same effect

[OpenWrt-Devel] [PATCH] mac80211: rt2x00: Add support for multiple AP interfaces

2012-11-25 Thread Petr Štetiar
:zz:yy:xx) Signed-off-by: Petr Štetiar yn...@true.cz --- ...ecate-max_sta_intf-field-of-struct-rt2x00.patch | 146 ++ ...ace-open-coded-interface-checking-with-in.patch | 162 2 files changed, 308 insertions(+) create mode 100644 package/mac80211/patches/622

[OpenWrt-Devel] [RFC] mac80211: How to fix mac80211_generate_mac() for rt2800 in multi BSSID setup

2012-11-26 Thread Petr Štetiar
Hi, I wonder how to fix correctly (or what would be the preferred way) wrong MAC generation for multi BSSID setups on rt2800. As rt2800 hw can only be configured to mask the last three bits of the programmed MAC addresses, we can't change first byte of the MAC - otherwise it doesn't work. More

[OpenWrt-Devel] [PATCH] mac80211: Fix multi-bss operation issue on rt2800

2012-11-26 Thread Petr Štetiar
Fertser and Helmut Shaa. Signed-off-by: Petr Štetiar yn...@true.cz --- package/mac80211/files/lib/wifi/mac80211.sh |7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/package/mac80211/files/lib/wifi/mac80211.sh b/package/mac80211/files/lib/wifi/mac80211.sh index 1b0bea7

[OpenWrt-Devel] [PATCH v2] mac80211: Fix multi-bss operation issue on rt2800

2012-11-26 Thread Petr Štetiar
Fertser and Helmut Schaa. Signed-off-by: Petr Štetiar yn...@true.cz --- package/mac80211/files/lib/wifi/mac80211.sh |6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/package/mac80211/files/lib/wifi/mac80211.sh b/package/mac80211/files/lib/wifi/mac80211.sh index 1b0bea7

Re: [OpenWrt-Devel] [PATCH] mac80211: Fix multi-bss operation issue on rt2800

2012-11-26 Thread Petr Štetiar
Jo-Philipp Wich x...@subsignal.org [2012-11-26 19:53:52]: This can be simplified to: is_not_rt2800() { grep -sqE 'Ralink (RT3050|RT3052|RT3350|RT3352)' /proc/cpuinfo } But then it should be changed to is_rt2800(), right? Since Daniel Dickinson recently posted a series of patches to

Re: [OpenWrt-Devel] Linux kernel module hacking

2012-11-27 Thread Petr Štetiar
Thomas Taranowski t...@baringforge.com [2012-11-26 20:39:18]: I'm working on making some prototype mods to the ath9k driver, and am trying to figure out how to get the affected kernel ath9k module to rebuild, and subsequently have the appropriate image rebuilt. I've tried a number of paths,

Re: [OpenWrt-Devel] how add 'print' to /usr/lib/lua/luci/model/uci.lua??

2012-12-03 Thread Petr Štetiar
. Elvis szx7...@gmail.com [2012-12-03 10:28:25]: Hi all, when i add above 'print(hello)' in /usr/lib/lua/luci/model/uci.lua You need to define it first at the top of the file: diff --git a/libs/core/luasrc/model/uci.lua b/libs/core/luasrc/model/uci.lua index

[OpenWrt-Devel] [PATCH v3] mac80211: Fix multi-bss operation issue on rt2800

2012-12-09 Thread Petr Štetiar
Fertser and Helmut Schaa. Signed-off-by: Petr Štetiar yn...@true.cz --- package/mac80211/files/lib/wifi/mac80211.sh | 19 +-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/package/mac80211/files/lib/wifi/mac80211.sh b/package/mac80211/files/lib/wifi/mac80211.sh

Re: [OpenWrt-Devel] [PATCH v3] mac80211: Fix multi-bss operation issue on rt2800

2012-12-11 Thread Petr Štetiar
Helmut Schaa helmut.sc...@googlemail.com [2012-12-10 09:04:22]: Hi Petr, Hi, I've just submitted a rt2x00 patch that registers a valid address mask with mac80211. So, you could actually use this information to generate valid MAC addresses for this device:

Re: [OpenWrt-Devel] [PATCH v3] mac80211: Fix multi-bss operation issue on rt2800

2012-12-13 Thread Petr Štetiar
Helmut Schaa helmut.sc...@googlemail.com [2012-12-10 09:04:22]: I've just submitted a rt2x00 patch that registers a valid address mask with mac80211. So, you could actually use this information to generate valid MAC addresses for this device: /sys/class/ieee80211/phy0/macaddress

Re: [OpenWrt-Devel] android rootfs using proot and openwrt

2013-02-20 Thread Petr Štetiar
hhm heehooman+openwrt-li...@gmail.com [2013-02-17 23:29:11]: I just put online a small project. It uses OpenWrt for the rootfs, which is one of its main components. More info and downloads are at https://sites.google.com/site/taldewandroid/ Any feedback, questions, comments etc. would be

Re: [OpenWrt-Devel] [PATCH] mac80211: Fix multi-bss operation issue on rt2800

2013-02-27 Thread Petr Štetiar
Jo-Philipp Wich x...@subsignal.org [2012-11-26 20:47:45]: I see this patch as an immediate fix for AA. I don't know, if it's ok to introduce such a generalization into the AA. It's up to you guys, I'll try to help as much as I can. Thanks. Sure, the help is appreciated. Hi again, I've

Re: [OpenWrt-Devel] Customize .config

2013-02-27 Thread Petr Štetiar
Pietro Paolini pulsarpie...@aol.com [2013-02-27 17:45:29]: Hello all, Hi, I'd like understand how customise the .config file in order to put inside it some variable I need and which I use in Makefile in this way : read this

Re: [OpenWrt-Devel] [PATCH] mac80211: Fix multi-bss operation issue on rt2800

2013-03-01 Thread Petr Štetiar
John Crispin j...@phrozen.org [2013-02-28 09:56:53]: i will push the script fix to BB later today. Thanks! -- ynezz ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

[OpenWrt-Devel] AA: om2p-hs: System lockup with 'ath: phy0: PLL4 meaurement not done' error

2013-03-01 Thread Petr Štetiar
Hi, I've tested current AA on om2p-hs and it lockups the system completly after every boot: [9.22] Compat-drivers backport release: compat-drivers-2012-09-04-2-gddac993 [9.23] Backport based on wireless-testing.git master-2012-09-07 .. snip .. [9.94] ieee80211 phy0:

Re: [OpenWrt-Devel] AA: om2p-hs: System lockup with 'ath: phy0: PLL meaurement not done' error

2013-03-06 Thread Petr Štetiar
(Adding openwrt-devel@lists.openwrt.org in the mail loop). Paul van Gool pvang...@gmail.com [2013-03-05 18:29:10]: Petr, Hi, I'm not a member of openwrt-devel mailing list but wanted to let you know I am seeing the same thing. thank you for the information, now I at least know, that it's

Re: [OpenWrt-Devel] AA: om2p-hs: System lockup with 'ath: phy0: PLL4 meaurement not?done' error

2013-03-06 Thread Petr Štetiar
Marek Lindner lindner_ma...@yahoo.de [2013-03-06 17:14:36]: Looks like a regression to me because it works[tm] for me. Is this the first time you try to use OpenWrt on this device ? Did it ever work for you ? Yes, it's for the first time I'm trying to run OWRT on it. Paul seems to have the

Re: [OpenWrt-Devel] om2p-hs: System lockup with 'ath: phy0: PLL4 meaurement not done' error

2013-03-08 Thread Petr Štetiar
Marek Lindner lindner_ma...@yahoo.de [2013-03-07 18:13:48]: This smells like an ath9k regression potentially introduced by this patch: Negative. f18e3c6b67f448ec47b3a5b242789bd3d5644879 Author: Mohammed Shafi Shajakhan moham...@qca.qualcomm.com Date: Mon Jun 18 13:13:30 2012 +0530

Re: [OpenWrt-Devel] om2p-hs: System lockup with 'ath: phy0: PLL4 meaurement not done' error

2013-03-10 Thread Petr Štetiar
Felix Fietkau n...@openwrt.org [2013-03-09 01:37:38]: Please find out which exact OpenWrt revision broke it, and I will help sort out the details. e3d7c9b6f5e62fdbec05fd5f2e1ef59aa4a14673 is the first bad commit commit e3d7c9b6f5e62fdbec05fd5f2e1ef59aa4a14673 Author:

Re: [OpenWrt-Devel] om2p-hs: System lockup with 'ath: phy0: PLL4 meaurement not done' error

2013-03-10 Thread Petr Štetiar
Felix Fietkau n...@openwrt.org [2013-03-10 15:37:41]: Does reverting this change make things work for you in the latest revision? Yes, I did reverted it in AA and it works fine: 89b3ea101c0a49194d637a119bccea6ae47ae2c3 Revert AA: ar71xx: fix GPIO function selection for AR934x

Re: [OpenWrt-Devel] om2p-hs: System lockup with 'ath: phy0: PLL4 meaurement not done' error

2013-03-11 Thread Petr Štetiar
Petr Štetiar yn...@true.cz [2013-03-10 21:21:04]: Felix Fietkau n...@openwrt.org [2013-03-10 15:37:41]: Does reverting this change make things work for you in the latest revision? Yes, I did reverted it in AA and it works fine: 89b3ea101c0a49194d637a119bccea6ae47ae2c3 Revert AA

Re: [OpenWrt-Devel] om2p-hs: System lockup with 'ath: phy0: PLL4 meaurement not done' error

2013-03-12 Thread Petr Štetiar
Gabor Juhos juh...@openwrt.org [2013-03-11 21:06:09]: BTW, I have fixed the OM2P-HS setup code to use the correct bitmast a few minutes ago: https://dev.openwrt.org/changeset/35965 https://dev.openwrt.org/changeset/35966 Thanks! -- ynezz ___

[OpenWrt-Devel] AA/ramips: build failure caused by [mac80211: backport latest version from trunk (as of r37265)]

2013-07-21 Thread Petr Štetiar
Hi, just tried to build latest AA for ramips, but it fails: ERROR: module '/opt/devel/openwrt/build_dir/linux-ramips_rt305x/compat-wireless-2013-06-27/drivers/net/wireless/ath/ath.ko' is missing. make[2]: *** [/opt/devel/openwrt/bin/ramips/packages/kmod-ath_3.3.8+2013-06-27-1_ramips.ipk]

Re: [OpenWrt-Devel] Question About Interfacing with UCI

2013-08-20 Thread Petr Štetiar
Justyn Bell jbell...@gmail.com [2013-08-19 10:45:59]: Firstly, I've read through the documentation here: http://wiki.openwrt.org/doc/uci. It says UCI is also editable through various programming APIs (like Shell, Lua and C). Where can I find these APIs? Specifically the C UCI API.

[OpenWrt-Devel] Bridge on Asus WL-500gP and tcpdump

2010-08-20 Thread Petr Štetiar
Hi, I'm using wl-500 with Backfire to monitor all network traffic flowing to one host, which is also Asus, but wl-520 with original firmware, which is dying unexpectedly and I would like to find out why. To get more information than just packets frm tcpdump I'm also collecting system information

[OpenWrt-Devel] [PATCH] image.mk: Add NOTPARALLEL flag to fix parallel build breakage

2015-10-26 Thread Petr Štetiar
message make: *** [world] Error 1 Signed-off-by: Petr Štetiar <yn...@true.cz> --- include/image.mk |2 ++ 1 file changed, 2 insertions(+) diff --git a/include/image.mk b/include/image.mk index c59222e..2554171 100644 --- a/include/image.mk +++ b/include/image.mk @@ -558,6 +558,8 @@

[OpenWrt-Devel] [PATCH] kernel/generic: 3.18, 4.y: Add support for Quectel EC20 Mini PCIe module

2015-11-11 Thread Petr Štetiar
* both patches (qcserial/qmi_wwan) were submitted upstream[1,2] * build tested on 3.18 and 4.1 * run tested on imx6 platform with 4.1 1. http://article.gmane.org/gmane.linux.usb.general/132998 2. http://article.gmane.org/gmane.linux.usb.general/133113 Signed-off-by: Petr Štetiar <yn...@true

[OpenWrt-Devel] [PATCH] imx6: image: Make InstallKernel more generic

2015-11-11 Thread Petr Štetiar
Signed-off-by: Petr Štetiar <yn...@true.cz> --- target/linux/imx6/image/Makefile |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/target/linux/imx6/image/Makefile b/target/linux/imx6/image/Makefile index 9b9f948..d5bab30 100644 --- a/target/linux/imx6/image/Ma

Re: [OpenWrt-Devel] [PATCH] config/Config-images.in: Fix wrong handling of ROOTFS_INCLUDE default options

2015-11-11 Thread Petr Štetiar
Felix Fietkau [2015-11-11 14:48:33]: > This is not wrong. TARGET_ROOTFS_INCLUDE_UIMAGE depends on > TARGET_ROOTFS_INCLUDE_KERNEL, as it should. Maybe it's not correct fix, but in current state it's somehow broken. If I revert this patch, I can't include anything (kernels,

[OpenWrt-Devel] [PATCH 1/2] imx6: kernel: Add support for Toradex Apalis modules

2015-11-11 Thread Petr Štetiar
Tested on Toradex Apalis iMX6 Quad 2GB IT V1.1A module on Ixora board with Mikrotik R11e-2HnD and Quectel EC20 Mini PCIe modules. Signed-off-by: Petr Štetiar <yn...@true.cz> --- target/linux/imx6/image/Makefile |2 + ...6-Add-support-for-Toradex-Apalis-modules-.patch

[OpenWrt-Devel] [PATCH 2/2] imx6: base-files: Add support for Toradex Apalis on Ixora board

2015-11-11 Thread Petr Štetiar
Signed-off-by: Petr Štetiar <yn...@true.cz> --- target/linux/imx6/base-files/etc/diag.sh | 36 .../imx6/base-files/etc/uci-defaults/02_network|1 + target/linux/imx6/base-files/lib/imx6.sh |4 +++ 3 files changed, 41 insertions(+)

[OpenWrt-Devel] [PATCH 0/2] imx6: Add support for Toradex Apalis SoM modules

2015-11-11 Thread Petr Štetiar
;[2] patch. 1. https://www.toradex.com/computer-on-modules/apalis-arm-family/freescale-imx-6 2. https://patchwork.ozlabs.org/patch/542871/ Cc: Luka Perkov <open...@lukaperkov.net> -- ynezz Petr Štetiar (2): imx6: kernel: Add support for Toradex Apalis modules imx6: base-files: Add sup

[OpenWrt-Devel] [PATCH] config/Config-images.in: Fix wrong handling of ROOTFS_INCLUDE default options

2015-11-11 Thread Petr Štetiar
Signed-off-by: Petr Štetiar <yn...@true.cz> --- config/Config-images.in | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/config/Config-images.in b/config/Config-images.in index a60dd50..cdaf5e9 100644 --- a/config/Config-images.in +++ b/config/Config-ima

Re: [OpenWrt-Devel] [PATCH] image.mk: Add NOTPARALLEL flag to fix parallel build breakage

2015-10-30 Thread Petr Štetiar
Felix Fietkau [2015-10-30 16:14:49]: Hi, > I'd like to find out where the real bug is - what target are you > building where you hit this error? it's imx6 target, but probably kirkwood, lantiq, mxs and oxnas are affected also (just by guessing by output from 'git grep

Re: [OpenWrt-Devel] [PATCH] image.mk: Add NOTPARALLEL flag to fix parallel build breakage

2015-10-30 Thread Petr Štetiar
Felix Fietkau [2015-10-30 22:42:43]: > Does this patch fix things for you? It does, thanks! > --- > --- a/include/image.mk > +++ b/include/image.mk > @@ -282,7 +282,7 @@ endef > define BuildImage/mkfs >install: mkfs-$(1) >.PHONY: mkfs-$(1) > - mkfs-$(1):

[OpenWrt-Devel] [PATCH 7/8] kirkwood: image: Remove custom mkfs targz override as base should be fine now

2015-10-30 Thread Petr Štetiar
It was wrong anyway, missing file sort order parameter which was fixed in base month ago. Signed-off-by: Petr Štetiar <yn...@true.cz> --- target/linux/kirkwood/image/Makefile |5 - 1 file changed, 5 deletions(-) diff --git a/target/linux/kirkwood/image/Makefile b/target/linux/ki

[OpenWrt-Devel] [PATCH 4/8] oxnas: image: Refactor sanitize_profile_name using PROFILE_SANITIZED variable

2015-10-30 Thread Petr Štetiar
Signed-off-by: Petr Štetiar <yn...@true.cz> --- target/linux/oxnas/image/Makefile | 20 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/target/linux/oxnas/image/Makefile b/target/linux/oxnas/image/Makefile index 953aa03..f6abd6d 100644 --- a/target

[OpenWrt-Devel] [PATCH 6/8] imx6: image: Remove custom mkfs targz override as base should be fine now

2015-10-30 Thread Petr Štetiar
It was wrong anyway, missing file sort order parameter which was fixed in base month ago. Signed-off-by: Petr Štetiar <yn...@true.cz> --- target/linux/imx6/image/Makefile |5 - 1 file changed, 5 deletions(-) diff --git a/target/linux/imx6/image/Makefile b/target/linux/imx6

[OpenWrt-Devel] [PATCH 5/8] include/image.mk: Use PROFILE_SANITIZED in targz image task

2015-10-30 Thread Petr Štetiar
Signed-off-by: Petr Štetiar <yn...@true.cz> --- include/image.mk |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/image.mk b/include/image.mk index 3f65568..43980bc 100644 --- a/include/image.mk +++ b/include/image.mk @@ -255,7 +255,7 @@ define Image/mkfs/

[OpenWrt-Devel] [PATCH 1/8] include/image.mk: Introduce sanitized profile variable

2015-10-30 Thread Petr Štetiar
Making common code reusable as there's a lot of duplicate code in imx6, kirkwood and oxnas archs. Signed-off-by: Petr Štetiar <yn...@true.cz> --- include/image.mk | 10 ++ 1 file changed, 10 insertions(+) diff --git a/include/image.mk b/include/image.mk index 4e22fa5..3f65568

[OpenWrt-Devel] imx6/oxnas/kirkwood: Refactor duplicate code in image creation

2015-10-30 Thread Petr Štetiar
This series tries to refactor duplicate code in image creation found in imx6, oxnas and kirkwood platforms, probably a copy leftovers. ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org

Re: [OpenWrt-Devel] [PATCH 3/3] imx6: switch to v4.1

2015-11-05 Thread Petr Štetiar
Pushpal Sidhu [2015-10-13 15:57:05]: > -KERNEL_PATCHVER:=3.18 > +KERNEL_PATCHVER:=4.1 Sorry for hijacking this thread, but it's maybe related as I'm preparing support for Toradex Apalis i.MX6 SoM on Ixora base board and I'm wondering if I could just concentrate on 4.1

[OpenWrt-Devel] [PATCH] imx6: kernel: Add Micrel PHY used on Apalis SOM

2016-01-08 Thread Petr Štetiar
Signed-off-by: Petr Štetiar <yn...@true.cz> Cc: Luka Perkov <l...@openwrt.org> --- target/linux/imx6/config-4.1 |1 + 1 file changed, 1 insertion(+) diff --git a/target/linux/imx6/config-4.1 b/target/linux/imx6/config-4.1 index 52544a7..e07a5b7 100644 --- a/target/linux/imx6/conf

Re: [OpenWrt-Devel] Atomic/failsafe upgrades?

2016-01-08 Thread Petr Štetiar
Eric Schultz [2016-01-07 12:48:50]: > I've had some similar interest in this topic. As far as I know, there > isn't anything like this on OpenWrt. There might be some overlap with the > discussion of automatic updates from last week as well. AFAIK, OpenMesh devices

[OpenWrt-Devel] [PATCH] kernel: Add kernel module for Freescale SNVS RTC on chip module

2016-01-08 Thread Petr Štetiar
Signed-off-by: Petr Štetiar <yn...@true.cz> --- package/kernel/linux/modules/other.mk | 16 1 file changed, 16 insertions(+) diff --git a/package/kernel/linux/modules/other.mk b/package/kernel/linux/modules/other.mk index 62fdc3c..69099a5 100644 --- a/package/kernel

[OpenWrt-Devel] [PATCH] imx6: image: Add missing kernel prefix

2015-12-01 Thread Petr Štetiar
Signed-off-by: Petr Štetiar <yn...@true.cz> --- target/linux/imx6/image/Makefile |1 + 1 file changed, 1 insertion(+) diff --git a/target/linux/imx6/image/Makefile b/target/linux/imx6/image/Makefile index a4de7d9..c1d83b9 100644 --- a/target/linux/imx6/image/Makefile +++ b/target/linu

[OpenWrt-Devel] [PATCH] include/image.mk: Add dtb-install build function

2015-12-01 Thread Petr Štetiar
Signed-off-by: Petr Štetiar <yn...@true.cz> --- include/image.mk |4 1 file changed, 4 insertions(+) diff --git a/include/image.mk b/include/image.mk index fd5e3f4..362643c 100644 --- a/include/image.mk +++ b/include/image.mk @@ -433,6 +433,10 @@ define Build/sysupgrad

Re: [OpenWrt-Devel] Fast build testing [Was: Git mirror with branches, tags and full history]

2015-11-30 Thread Petr Štetiar
Bastian Bittorf [2015-11-30 12:01:47]: > build testing OpenWrt can be *really* fast, if you > > a) build in a ram-disk > b) use dedicated hardware for each architecture > > i bet it's about 300 seconds for a full fresh > distributed build for *all* architectures. That

Re: [OpenWrt-Devel] New Ubiquiti AC products locked against 3rd party firmware?

2015-11-30 Thread Petr Štetiar
Ben West [2015-11-27 10:00:51]: Hi, > This person is reporting a new Ubiquiti AC AP where there the bootloader > does an RSA signature check on the firmware image. let's hope, that it would be possible to replace/patch that unfriendly U-Boot. > Could anyone else confirm if

Re: [OpenWrt-Devel] Git mirror with branches, tags and full history

2015-11-30 Thread Petr Štetiar
bkil [2015-11-29 02:47:09]: > Good work, guys! GitHub pull requests with cloud CI integration > (drone.io, travis, etc.), driven by an online distributed review > process and single click merging would really enable scaling of this > project. Did you tried to build

Re: [OpenWrt-Devel] [PATCH] include/image.mk: Add dtb-install build function

2015-12-01 Thread Petr Štetiar
Jonas Gorski [2015-12-01 12:03:10]: Hi, > Please try to avoid empty commit logs. sorry, I've forget to add RFC prefix in the patch. > Also you don't add any users of this, so why should need this? I'm preparing v2 patch series[1] for Toradex Apalis SOM (imx6) where I would

[OpenWrt-Devel] [PATCH v2] kernel: Add kernel module for Freescale SNVS RTC on chip module

2016-01-18 Thread Petr Štetiar
Signed-off-by: Petr Štetiar <yn...@true.cz> --- Changes in v2: * added dependency on imx6 target (Felix) package/kernel/linux/modules/other.mk | 16 1 file changed, 16 insertions(+) diff --git a/package/kernel/linux/modules/other.mk b/package/kernel/linux/modules/ot

Re: [OpenWrt-Devel] [PATCH] kernel/build: Fix SetNfsCmdline to work with new .config.set

2016-02-09 Thread Petr Štetiar
following kernel build error: > > rm -f linux-4.4/.config.prev > mv linux-4.4/.config linux-4.4/.config.old > mv: cannot stat 'linux-4.4/.config': No such file or directory > > Signed-off-by: Petr Štetiar <yn...@true.cz> > --- > include/kernel-defaults.mk | 6 +++--

Re: [OpenWrt-Devel] [PATCH] kernel/build: Fix SetNfsCmdline to work with new .config.set

2016-02-09 Thread Petr Štetiar
Petr Štetiar <yn...@true.cz> [2016-02-09 21:04:14]: > >define Kernel/SetNfsCmdline > > rm -f $(LINUX_DIR)/.config.prev > > - mv $(LINUX_DIR)/.config $(LINUX_DIR)/.config.old > > - grep -v "CONFIG_CMDLINE=" $(LINUX_DIR)/.config.old

[OpenWrt-Devel] [PATCH] kernel/build: Fix SetNfsCmdline to work with new .config.set

2016-02-09 Thread Petr Štetiar
'linux-4.4/.config': No such file or directory Signed-off-by: Petr Štetiar <yn...@true.cz> --- include/kernel-defaults.mk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/kernel-defaults.mk b/include/kernel-defaults.mk index 4b5de5b..44e3c27 100644 --- a/i

Re: [OpenWrt-Devel] [PATCH] kernel/build: Fix SetNfsCmdline to work with new .config.set

2016-02-10 Thread Petr Štetiar
Florian Fainelli <flor...@openwrt.org> [2016-02-09 19:57:22]: > Le 09/02/2016 12:16, Petr Štetiar a écrit : > > Petr Štetiar <yn...@true.cz> [2016-02-09 21:04:14]: > > > >>>define Kernel/SetNfsCmdline > >>> rm -f $(LINUX_DIR)/.conf

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

2016-01-27 Thread Petr Štetiar
either as we're usually using RTC as kernel modules which are usually being loaded after hctosys was run, leading in the following error: hctosys: unable to open rtc device (rtc0) Signed-off-by: Daniel Dickinson <open...@daniel.thecshore.com> Signed-off-by: Petr Štetiar <yn...@true.cz>

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

2016-01-21 Thread Petr Štetiar
either as we're usually using RTC as kernel modules which are usually being loaded after hctosys was run, leading in the following error: hctosys: unable to open rtc device (rtc0) Signed-off-by: Daniel Dickinson <open...@daniel.thecshore.com> Signed-off-by: Petr Štetiar <yn...@true.cz>

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

2016-01-26 Thread Petr Štetiar
Bastian Bittorf <bitt...@bluebottle.com> [2016-01-21 12:53:48]: > * Petr Štetiar <yn...@true.cz> [21.01.2016 12:22]: > > boot() { > > + [ -e "$RTC_DEV" ] && [ -e "$HWCLOCK" ] && $HWCLOCK -s -f $RTC_DEV && > > exit 0

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

2016-01-20 Thread Petr Štetiar
either as we're usually using RTC as kernel modules which are usually being loaded after hctosys was run, leading in the following error: hctosys: unable to open rtc device (rtc0) Signed-off-by: Daniel Dickinson <open...@daniel.thecshore.com> Signed-off-by: Petr Štetiar <yn...@true.cz>

[OpenWrt-Devel] [PATCH v3] kernel: Add kernel module for Freescale SNVS RTC on chip module

2016-01-20 Thread Petr Štetiar
Signed-off-by: Petr Štetiar <yn...@true.cz> --- Changes in v3: * changed module to autload during boot, so it can be used as RTC source in sysfixtime init.d script package/kernel/linux/modules/other.mk | 16 1 file changed, 16 insertions(+) diff --git a/package/

[OpenWrt-Devel] [PATCH] kernel: gpio-button-hotplug: Add missing ONESHOT flag to threaded IRQ request

2016-03-03 Thread Petr Štetiar
and repeat While this works for edge type interrupts, we play it safe and reject unconditionally because we can't say for sure which type this interrupt really has. The type flags are unreliable as the underlying chip implementation can override them. Signed-off-by: Petr Štetiar <

[OpenWrt-Devel] [PATCH uci] cmake: Add ubox library and include dir lookup

2016-03-05 Thread Petr Štetiar
Otherwise cmake uses files from system which sometimes isn't wanted, ie. for testing. Signed-off-by: Petr Štetiar <yn...@true.cz> --- CMakeLists.txt | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index f9decc6..a900a15

[OpenWrt-Devel] [PATCH ubus] cmake: Add ubox, blobmsg_json libraries and include dirs lookup

2016-03-05 Thread Petr Štetiar
Otherwise cmake uses files from system which sometimes isn't wanted, ie. for testing. Signed-off-by: Petr Štetiar <yn...@true.cz> --- CMakeLists.txt | 17 ++--- examples/CMakeLists.txt | 4 ++-- 2 files changed, 16 insertions(+), 5 deletions(-) diff --git a/CMakeLis

Re: [OpenWrt-Devel] [LEDE-DEV] Observing procd progress

2017-02-14 Thread Petr Štetiar
Philip Prindeville [2017-02-12 12:57:19]: Hi, > One thing I was wondering about was, on a headless system, but that does > have an LCD display, is maybe capturing the progress of procd as it runs and > displaying it on that LCD. BTW, what kind of platform

Re: [OpenWrt-Devel] [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)

[OpenWrt-Devel] [PATCH] ramips: Add support for ZTE ZXECS EBG3130 aka BDCOM WAP2100-SK

2018-11-13 Thread Petr Štetiar
From: Petr Štetiar On the bottom sticker it's branded as ZTE ZXECS EBG3130 device, but in factory OpenWrt image it's referenced as BDCOM WAP2100-SK device. Specifications: - SoC: MediaTek MT7620A - RAM: 128 MB - Flash: 16 MB - Ethernet: 5 FE ports - Wireless radio: 2T2R 2.4 GHz and 1T1R 5 GHz

[OpenWrt-Devel] [PATCH] ath79: Add support for Ubiquity Bullet M2HP

2018-11-15 Thread Petr Štetiar
From: Petr Štetiar CPU: AR9342 SoC RAM: 64 MB DDR2 Flash:8 MB NOR SPI Ports: 100 MBit (24V PoE in) WLAN: 2.4 GHz UART: 1 UART on PCB marked as J1 with 115200 8N1 config LEDs: Power, Ethernet, WPS, USB, RF 2.4G, RF 5G Buttons:Reset UART connection details

[OpenWrt-Devel] [PATCH] Revert "iptables: fix dependency for libip6tc on IPV6"

2018-11-09 Thread Petr Štetiar
From: Petr Štetiar This patch reverts commit 2dc1f54b1205094e7c6036cae6275d2c326bad3e as it breaks the build for me on x86-64 if I've IPV6 support disabled. Same config builds fine on `openwrt-18.06` branch at 55d078b2. $ grep IPV6 .config # CONFIG_KERNEL_IPV6 is not set # CONFIG_IPV6

[OpenWrt-Devel] [PATCH] base-files: fwtool: Fix wrong checksum on combined-image with metadata

2018-11-09 Thread Petr Štetiar
From: Petr Štetiar If I create following image: define Device/engenius-m36 IMAGE/sysupgrade.bin := combined-image | append-metadata endef Sysupgrade then errors out: Invalid image. Contents do not match checksum (image:cd285595eaf297370404ae0e2815ec1a calculated

[OpenWrt-Devel] [PATCH] base-files: sysupgrade: Allow downloading of firmware images using HTTPS

2018-11-08 Thread Petr Štetiar
From: Petr Štetiar Currently it's only possible to download images over HTTP. Signed-off-by: Petr Štetiar --- package/base-files/files/sbin/sysupgrade | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/base-files/files/sbin/sysupgrade b/package/base-files/files

Re: [OpenWrt-Devel] [PATCH] ath79: Add support for Ubiquity

2018-11-18 Thread Petr Štetiar
Joe Ayers [2018-11-17 18:40:56]: > > Hm, I'm really wondering what version of airOS do you've on your devices, > > that > > the TFTP recovery method works for you. > > root@AE6XE-NSM5XW-QTH:~# cat /etc/openwrt_version > r7258-5eb055306f I was asking for airOS version, so it should rather be

Re: [OpenWrt-Devel] [PATCH] ath79: Add support for Ubiquity Bullet M2HP

2018-11-18 Thread Petr Štetiar
Lech Perczak [2018-11-18 17:21:46]: > well as checking if rssileds package was indeed pulled in via "opkg list Somehow the rssileds package wasn't enabled even if I've selected building of nano-xm-w via menu config. I've deleted the .config and created a new one, then it was selected, weird.

Re: [OpenWrt-Devel] [PATCH] ath79: Add support for Ubiquity Bullet M2HP

2018-11-18 Thread Petr Štetiar
Lech Perczak [2018-11-18 21:34:53]: > Can I add Tested-By tag to my patch? :) Tested-by: Petr Štetiar (tested on ar71xx/ath79 with bullet-m-xw) -- ynezz ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.

Re: [OpenWrt-Devel] [PATCH] ath79: Add support for Ubiquity Bullet M2HP

2018-11-16 Thread Petr Štetiar
m...@adrianschmutzler.de [2018-11-16 19:15:41]: Hi Adrian, > if I haven't overlooked it, the patch does not provide a "factory" Image as > in ar71xx, at least according to "Flashing instructions". if I parse this correctly, then my answer is, that I simply didn't included instructions for

Re: [OpenWrt-Devel] [PATCH] ath79: Add support for Ubiquity Bullet M2HP

2018-11-16 Thread Petr Štetiar
Lech Perczak [2018-11-16 18:46:40]: Hi, > For example, Nanostation is basically a Bullet with extra ethernet port, and > Rocket is a Bullet with added USB port. Ah, thanks for explanation. > It'd be great if support for all of them could be included in > ar9342_ubnt_xw.dtsi, and then

[OpenWrt-Devel] [PATCH v2] ath79: Add support for Ubiquity Bullet M (XW)

2018-11-16 Thread Petr Štetiar
From: Petr Štetiar CPU: AR9342 SoC RAM: 64 MB DDR2 Flash:8 MB NOR SPI Ports: 100 MBit (24V PoE in) WLAN: 2.4/5 GHz UART: 1 UART on PCB marked as J1 with 115200 8N1 config LEDs: Power, Ethernet, 4x RSSI LEDs (orange, red, 2x green) Buttons:Reset UART connection details

[OpenWrt-Devel] Pending ath79 issues on ar9342 and 4.14/4.19 kernels

2019-01-01 Thread Petr Štetiar
Hi, this is more like my todo list shared with 蝈蝈 (Guo), but I hope, that I could get some inputs from others as well. I'm aware about following issues with ath79 on ar9342 so far, and I don't know how to fix some of them properly. BTW, everything described bellow works fine on ar71xx using 4.14

Re: [OpenWrt-Devel] [PATCH] treewide: dts: Unify naming of gpio-keys nodes

2019-01-01 Thread Petr Štetiar
Christian Lamparter [2018-12-31 17:41:34]: > I hope you know what you are up against because unless you also do the changes > upstream this will happen again and again. :\ / :) My plan is to first wait for comments here, see if it gets merged eventualy and then start poking upstream. I still

[OpenWrt-Devel] [PATCH] lantiq: Fix gpio-leds for P2812HNUF1 and TDW8980

2018-12-30 Thread Petr Štetiar
While at it rename node name to the generic `leds`. Signed-off-by: Petr Štetiar --- target/linux/lantiq/files-4.14/arch/mips/boot/dts/P2812HNUF1.dts | 3 ++- target/linux/lantiq/files-4.14/arch/mips/boot/dts/TDW8980.dts| 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git

Re: [OpenWrt-Devel] [PATCH] config: enable some useful features on !SMALL_FLASH devices

2018-12-30 Thread Petr Štetiar
Daniel Golle [2018-12-29 06:51:32]: > config KERNEL_AIO > config KERNEL_FHANDLE > config KERNEL_FANOTIFY > + default y if !SMALL_FLASH What about `FEATURES += nas` to make it clear and don't abuse SMALL_FLASH. > config KERNEL_CGROUPS > config KERNEL_CPUSETS > config

Re: [OpenWrt-Devel] [PATCH] config: enable some useful features on !SMALL_FLASH devices

2019-01-01 Thread Petr Štetiar
Daniel Golle [2019-01-01 17:56:25]: Hi, > On Sun, Dec 30, 2018 at 11:26:58AM +0100, Petr Štetiar wrote: > > Daniel Golle [2018-12-29 06:51:32]: > > > > > config KERNEL_AIO > > > config KERNEL_FHANDLE > > > config KERNEL_FANOTIFY > > &

[OpenWrt-Devel] [PATCH] ath79: ag71xx: Fix tx queue timeouts during ifup

2019-01-02 Thread Petr Štetiar
PID: 0 at net/sched/sch_generic.c:320 dev_watchdog+0x164/0x274 So I've looked at ag71xx_stop() in ar71xx, added the missing bits to ath79 and fixed this issue. 1. https://github.com/openwrt/openwrt/pull/1635#issuecomment-448638246 Signed-off-by: Petr Štetiar --- .../ath79/files/drivers/net

[OpenWrt-Devel] [PATCH] build: dtc: Disable noisy warnings by default

2019-01-06 Thread Petr Štetiar
be enabled by building dtbs with W=1. Build tested on imx6 and ath79 with 4.14 and 4.19. 1. https://github.com/openwrt/openwrt/pull/1694#issuecomment-450864335 Signed-off-by: Petr Štetiar --- include/image.mk | 28 +++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git

[OpenWrt-Devel] [PATCH] build: Allow simple build system customization with local.mk

2019-01-06 Thread Petr Štetiar
. Signed-off-by: Petr Štetiar --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index 5301883..1ccfd61 100644 --- a/Makefile +++ b/Makefile @@ -103,3 +103,5 @@ world: prepare $(target/stamp-compile) $(package/stamp-compile) $(package/stamp- .PHONY: clean dirclean

Re: [OpenWrt-Devel] [PATCH] ath79: Add GL.iNet AR-300M-Lite: Setup with eth0 as LAN

2019-01-17 Thread Petr Štetiar
Jeff Klesky [2019-01-16 21:48:11]: Hi, subject could be just `ath79: Add support for GL.iNet AR-300M-Lite`, since you've already added that information about eth0 in the commit message, and that's the place where it belongs. > --- a/target/linux/ath79/image/generic.mk > +++

Re: [OpenWrt-Devel] [PATCH 5/9] sunxi: add support for pine64 lts

2019-01-14 Thread Petr Štetiar
Oskari Lemmela [2019-01-14 19:54:25]: Hi, > CPU: R18 High Performance Quad-core 64-bit Cortex-A53 > GPU: Mali400MP2 OpenGL ES 2.0/1.1/1.0, OpenVG 1.1, EGL > Memory: 2GB LPDDR3 (shared with GPU) > Onboard Storage: TF card / NOR flash(16MB) > Onboard Network: 1000M/100M Ethernet RJ45 can you

Re: [OpenWrt-Devel] [PATCH 0/4] Update Gemini to kernel v4.19

2019-01-21 Thread Petr Štetiar
Linus Walleij [2019-01-19 21:28:58]: Hi, > If the first patch is too big, the patches are also available here: > https://dflund.se/~triad/krad/gemini/openwrt/ is it possible to fetch it somewhere directly in Git? I would like to build test it. Thanks. -- ynezz

Re: [OpenWrt-Devel] [PATCH 0/4] Update Gemini to kernel v4.19

2019-01-22 Thread Petr Štetiar
Linus Walleij [2019-01-21 23:17:50]: Hi, > I pushed it to the branch "gemini-v4.19" (with some more patches, > but shouldn't make a difference) here: > https://github.com/linusw/openwrt thanks, so I've just tried following build config: CONFIG_TARGET_gemini=y CONFIG_TARGET_MULTI_PROFILE=y

Re: [OpenWrt-Devel] [PATCH] treewide: dts: Unify naming of gpio-keys nodes

2019-01-22 Thread Petr Štetiar
Christian Lamparter [2019-01-22 17:54:13]: Hi, > The at91, apm821xx, ipq40xx, ipq806x, layerscape and oxnas are probably > ready to be merged. a lot of additional work, thanks! > The situation with ramips, ath79 and lantiq is a bit more complicated: >

[OpenWrt-Devel] [PATCH] lantiq: Add support for 2nd USB port on Fritz!Box 7320 and 7330

2019-01-23 Thread Petr Štetiar
-devel/2019-January/015461.html Signed-off-by: Robert Resch Signed-off-by: Petr Štetiar --- target/linux/lantiq/files-4.14/arch/mips/boot/dts/FRITZ7320.dts | 8 1 file changed, 8 insertions(+) diff --git a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/FRITZ7320.dts b/target/linux

[OpenWrt-Devel] [PATCH 1/2] u-boot.mk: Fix building of recent U-Boot sources

2019-01-23 Thread Petr Štetiar
esd, nitrogen6dl, nitrogen6dl2g, nitrogen6q, nitrogen6q2g, nitrogen6s, nitrogen6s1g, wandboard Run tested: apalis (pending PR #1595) Signed-off-by: Petr Štetiar --- include/u-boot.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includ

[OpenWrt-Devel] [PATCH 2/2] uboot-imx6: Bump to 2019.01

2019-01-23 Thread Petr Štetiar
Build tested: apalis, mx6sabresd, nitrogen6dl, nitrogen6dl2g, nitrogen6q, nitrogen6q2g, nitrogen6s, nitrogen6s1g, wandboard Run tested: apalis (pending PR #1595) Cc: Felix Fietkau Cc: Vladimir Vid Cc: Koen Vandeputte Signed-off-by: Petr Štetiar --- package/boot/uboot-imx6

[OpenWrt-Devel] [PATCH] build: Fix missing device variables for artifacts

2019-01-18 Thread Petr Štetiar
exports DEFAULT_DEVICE_VARS into the artifacts environment. Fixes: 493c9a35516c ("build: Introduce building of artifacts") Tested-by: Oskari Lemmela Reported-by: Oskari Lemmela Signed-off-by: Petr Štetiar --- include/image.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/include/

  1   2   3   4   5   6   7   8   9   10   >