Re: [OpenWrt-Devel] Method to load firmware blob for a particular router model
Create a directory called “files” in the root of your OpenWRT build environment. Then within that files directory create /etc/firmware/ and copy the firmware binary to this location. That will integrate the file into the build process and subsequent image. -m -- Marc Nicholas CTO, Wimoto Technologies Inc. Unit 2, 300 Don Park Road, Markham, Ontario L3R 3A1 CANADA +1.416.414.6272 On June 14, 2015 at 6:58:49 AM, Alpha Sparc (alphasp...@gmail.com) wrote: Hi all, Do you know how to copy a binary blob into /etc/firmware for a particular router integrate in the build process? The target arch is lantiq. ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PATCH 1/3] openvpn: fix handling comp_lzo and auth_retry as the wrong type.
On 2015-06-14 06:04, Yousong Zhou wrote: As reported in #19104. Signed-off-by: Yousong Zhou yszhou4t...@gmail.com comp-lzo does not seem to fit well in the bool category, it takes yes, no, or adaptive. Also, please include the details of the changes that you make in the patch description instead of just linking to the ticket. - Felix ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] Method to load firmware blob for a particular router model
Hi, So how do I write a firmware blob into /lib/firmware into the build process without the hassle of creating a metapackage? $ mkdir -p files/lib/firmware $ wget -O files/lib/firmware/blah.bin http://example.org/blah.bin $ make Or do you mean how to integrate it into the repository? In that case you'd need to add the file to target/linux/ar71xx/base-files/lib/firmware/blah.bin ~ Jow signature.asc Description: OpenPGP digital signature ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] Method to load firmware blob for a particular router model
I am currently working on fixing the wireless function of half supported router lantiq/GR7000. I have the binary blob for the ralink wireless and confirm that it is not individual calibrated. There is no MTD partition for that blob, it is just a file. I was thinking of integrated the blob and EEPROM init code in an acceptable manner for patch submission On Jun 14, 2015 7:04 PM, Marc Nicholas m...@wimoto.com wrote: Create a directory called “files” in the root of your OpenWRT build environment. Then within that files directory create /etc/firmware/ and copy the firmware binary to this location. That will integrate the file into the build process and subsequent image. -m -- Marc Nicholas CTO, Wimoto Technologies Inc. Unit 2, 300 Don Park Road, Markham, Ontario L3R 3A1 CANADA +1.416.414.6272 On June 14, 2015 at 6:58:49 AM, Alpha Sparc (alphasp...@gmail.com) wrote: Hi all, Do you know how to copy a binary blob into /etc/firmware for a particular router integrate in the build process? The target arch is lantiq. ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] fsf compliant kernel in OpenWrt trunk?
Apologies to hijack this thread but is there any way the OpenWrt kernel can be made fsf compliant? without any binary blobs, like librewrt? Thanks! On 06/14/2015 02:04 PM, Marc Nicholas wrote: Create a directory called “files” in the root of your OpenWRT build environment. Then within that files directory create /etc/firmware/ and copy the firmware binary to this location. That will integrate the file into the build process and subsequent image. -m -- Marc Nicholas CTO, Wimoto Technologies Inc. Unit 2, 300 Don Park Road, Markham, Ontario L3R 3A1 CANADA +1.416.414.6272 On June 14, 2015 at 6:58:49 AM, Alpha Sparc (alphasp...@gmail.com mailto:alphasp...@gmail.com) wrote: Hi all, Do you know how to copy a binary blob into /etc/firmware for a particular router integrate in the build process? The target arch is lantiq. ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] Chaos Calmer 15.05-rc2
On Sat, Jun 13, 2015 at 04:21:55PM +0200, Steven Barth wrote: ** Highlights since Barrier Breaker ** ... * Platform and Driver Support ... - New sunxi target for AllWinner A10/A13/A20 family and various boards Please also mention: - New oxnas target for Oxford/PLXTECH NAS782x family and various boards Cheers Daniel ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] Method to load firmware blob for a particular router model
So how do I write a firmware blob into /lib/firmware into the build process without the hassle of creating a metapackage? ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH] oxnas: change file extension of u-boot+initramfs image
The *u-boot-initramfs* images are not ITB/FIT images but are rather supposed to be loaded to RAM and jumped-into. To avoid confusion, change the file extension from itb to bin. Signed-off-by: Daniel Golle dan...@makrotopia.org --- target/linux/oxnas/image/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/oxnas/image/Makefile b/target/linux/oxnas/image/Makefile index 2660a9b..de6c4db 100644 --- a/target/linux/oxnas/image/Makefile +++ b/target/linux/oxnas/image/Makefile @@ -38,7 +38,7 @@ define Image/BuildKernel/Template $(CP) $(KDIR)/fit-$(1)-initramfs.itb $(BIN_DIR)/$(IMG_PREFIX)-$(1)-fit-uImage-initramfs.itb if [ -e $(KDIR)/u-boot.bin ]; then \ ( dd if=$(KDIR)/u-boot.bin bs=128k conv=sync ; dd if=$(KDIR)/fit-$(1)-initramfs.itb bs=128k conv=sync ) \ -$(BIN_DIR)/$(IMG_PREFIX)-$(1)-u-boot-initramfs.itb; \ +$(BIN_DIR)/$(IMG_PREFIX)-$(1)-u-boot-initramfs.bin; \ fi endif -- 2.4.3 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PATCH] Combine CA-certificates in one file
On 12.06.2015 21:20, micke.p...@telldus.se wrote: 2015-06-12 09:39 skrev Cristian Morales Vega: On 12 June 2015 at 08:30, micke.p...@telldus.se wrote: Some packages or libraries cannot use split ca cetificates in a folder. This adds a config to combine all certificates into one file. I have nothing against this patch. But do you have a list of such packages? I may be interested in patching them. In python 2.7.9 there is a new class SSLContext that can load the system certificates. This was not available previously. OpenWRT currently ships 2.7.10. I have modified our code to use this instead. My patch can be discarded, I think. devices are getting bigger and your patch offers additional functionality. i'd vote to keep it, as it does not hurt (disabled by default) but may be useful to others. ..ede ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] Chaos Calmer 15.05-rc2
Since you are replying to the Chaos Calmer announcement, have you actually tried it with the CC RC2 or only BB as you mentioned? If not, then please try if CC makes a difference to you. ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] Chaos Calmer 15.05-rc2
On Sat, Jun 13, 2015 at 4:21 PM, Steven Barth cy...@openwrt.org wrote: The OpenWrt developers are proud to announce the first release candidate of OpenWrt Chaos Calmer. ___ __ | |.-.-.-.| | | |..| |_ | - || _ | -__| || | | || _|| _| |___|| __|_|__|__||||__| || |__| W I R E L E S S F R E E D O M - CHAOS CALMER (15.05 RC2) - * 1 1/2 oz GinShake with a glassful * 1/4 oz Triple Sec of broken ice and pour * 3/4 oz Lime Juice unstrained into a goblet. * 1 1/2 oz Orange Juice * 1 tsp. Grenadine Syrup - Hi, first of all thank you as OpenWrt developer team and all users who contributed to that release. [ By not wanting to break your tradition of announces ] Please, think of people who don't consume alcohol for diverse reasons. Alcohol is drug #1 and has destroyed many people and families. And alcohol is no solution :-). http://downloads.openwrt.org/chaos_calmer/15.05-rc2/ Hm, the final will be Chaos Calmer aka 15.06 (June 2015)? My best wishes and good luck for a cool final release! - sed@ - ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH v2 1/3] openvpn: fix handling option auth_retry.
As reported in ticket #19104, auth_retry takes a type argument with 3 choices: none, nointeract, interact. Signed-off-by: Yousong Zhou yszhou4t...@gmail.com --- v2 - v1drop the move of comp_lzo from params to bools package/network/services/openvpn/files/openvpn.init |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/network/services/openvpn/files/openvpn.init b/package/network/services/openvpn/files/openvpn.init index 294e3ed..861d0d6 100644 --- a/package/network/services/openvpn/files/openvpn.init +++ b/package/network/services/openvpn/files/openvpn.init @@ -94,7 +94,7 @@ start_instance() { # append flags append_bools $s \ - auth_nocache auth_retry auth_user_pass_optional bind ccd_exclusive client client_cert_not_required \ + auth_nocache auth_user_pass_optional bind ccd_exclusive client client_cert_not_required \ client_to_client comp_noadapt disable \ disable_occ down_pre duplicate_cn fast_io float http_proxy_retry \ ifconfig_noexec ifconfig_nowarn ifconfig_pool_linear management_forget_disconnect management_hold \ @@ -107,7 +107,7 @@ start_instance() { # append params append_params $s \ - cd askpass auth auth_user_pass auth_user_pass_verify bcast_buffers ca cert \ + cd askpass auth auth_retry auth_user_pass auth_user_pass_verify bcast_buffers ca cert \ chroot cipher client_config_dir client_connect client_disconnect comp_lzo connect_freq \ connect_retry connect_timeout connect_retry_max crl_verify dev dev_node dev_type dh \ echo engine explicit_exit_notify fragment group hand_window hash_size \ -- 1.7.10.4 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH v2 3/3] openvpn: bump PKG_RELEASE.
Signed-off-by: Yousong Zhou yszhou4t...@gmail.com --- package/network/services/openvpn/Makefile |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/network/services/openvpn/Makefile b/package/network/services/openvpn/Makefile index 3e9be0d..81d8007 100644 --- a/package/network/services/openvpn/Makefile +++ b/package/network/services/openvpn/Makefile @@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=openvpn PKG_VERSION:=2.3.6 -PKG_RELEASE:=4 +PKG_RELEASE:=5 PKG_SOURCE_URL:=http://swupdate.openvpn.net/community/releases PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz -- 1.7.10.4 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH v2 2/3] openvpn: let instances drop to nobody in default config.
This is for security precautions. As persist_tun and persist_key are already there, this should not cause compatibility issue. Signed-off-by: Yousong Zhou yszhou4t...@gmail.com --- package/network/services/openvpn/files/openvpn.config |2 ++ 1 file changed, 2 insertions(+) diff --git a/package/network/services/openvpn/files/openvpn.config b/package/network/services/openvpn/files/openvpn.config index 5cf0ba6..3e053c3 100644 --- a/package/network/services/openvpn/files/openvpn.config +++ b/package/network/services/openvpn/files/openvpn.config @@ -253,6 +253,7 @@ config openvpn sample_server # of the privilege downgrade. option persist_key 1 option persist_tun 1 + option user nobody # Output a short status file showing # current connections, truncated @@ -337,6 +338,7 @@ config openvpn sample_client # Try to preserve some state across restarts. option persist_key 1 option persist_tun 1 + option user nobody # If you are connecting through an # HTTP proxy to reach the actual OpenVPN -- 1.7.10.4 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] Device tree issues with TL-WDR4900 (mpc85xx) and kernel 4.0.1
On 11 June 2015 at 13:25, Roman Yeryomin leroi.li...@gmail.com wrote: On 7 May 2015 at 15:49, Felix Fietkau n...@openwrt.org wrote: On 2015-05-07 08:01, Wojciech Dubowik wrote: Try to boot with kernel locking enabled. I have seen jffs2 deadlocks on readdir. As far as I remember with this patch it went through but I don't know anymore whether I have changed sth in config. Have a look at (search engine...) [PATCH] fs: jffs2: Add setup code for spi nor flash. Even with this patch I got some possible dead lock warnings so it might be just a partial cure. BTW it's a bit scary for future use. Looks like jffs2 doesn't get enough care... I believe the locking issues are an overlayfs regression, maybe even the same one as this one (which I fixed years ago): http://linux-fsdevel.vger.kernel.narkive.com/XRtXLDlf/patch-1-2-overlayfs-fix-a-deadlock-in-ovl-dir-read-merged I believe this is the cause of the regression: commit 49c21e1cacd74a8c83407c70ad860c994e606e25 Author: Miklos Szeredi mszer...@suse.cz Date: Sat Dec 13 00:59:42 2014 +0100 I'm working on 4.0 support for ar71xx and found that /etc/rc.d/S00sysfixtime is not able to finish it's job after second boot after flashing (t.i. after overlayfs is switched to jffs). I've run strace and found that find hangs on the very last getdents64 call (before calling it succesfully many times on previous files/directories). I've reverted every change up to 49c21e1cacd74a8c83407c70ad860c994e606e25 to overlayfs and it started working. Applying 49c21e1cacd74a8c83407c70ad860c994e606e25 back breaks it. So this commit is indeed the cause of regression. Miklos, any ideas how to fix it in current tree? I'm using 4.0.5 now but AFAIK there were no more changes to overlayfs. Felix, John, Should I send a patch reverting all changes to overlayfs up to that commit until there is a proper fix? Regards, Roman ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PATCH 5/5] perf: remove EGLIBC dependency
On 2015-05-19 01:40, Mathieu Olivari wrote: EGLIBC dependency was required as libelf was not found. But we now fixed the root cause, so we can remove it. perf works with uClibc again. Signed-off-by: Mathieu Olivari math...@codeaurora.org Does not build with musl, please fix. - Felix ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PATCH 3/3] openvpn: bump PKG_RELEASE.
Hi, On Sun, Jun 14, 2015 at 12:04:48PM +0800, Yousong Zhou wrote: --- a/package/network/services/openvpn/Makefile +++ b/package/network/services/openvpn/Makefile @@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=openvpn PKG_VERSION:=2.3.6 -PKG_RELEASE:=4 +PKG_RELEASE:=5 While at it, you could bump to upstream 2.3.7... gert -- USENET is *not* the non-clickable part of WWW! //www.muc.de/~gert/ Gert Doering - Munich, Germany g...@greenie.muc.de fax: +49-89-35655025g...@net.informatik.tu-muenchen.de pgpDbBjKa0A6V.pgp Description: PGP signature ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH 1/2] ar71xx: fix ethernet for 4.0
Tested on UAP-PRO. Doesn't break 3.18 Signed-off-by: Roman Yeryomin ro...@advem.lv --- .../files/drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c b/target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c index 5ef324e..269be75 100644 --- a/target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c +++ b/target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c @@ -1060,12 +1060,16 @@ static int ag71xx_poll(struct napi_struct *napi, int limit) } if (rx_done limit) { - if (status RX_STATUS_PR) + if (status RX_STATUS_PR) { + rx_done = limit; goto more; + } status = ag71xx_rr(ag, AG71XX_REG_TX_STATUS); - if (status TX_STATUS_PS) + if (status TX_STATUS_PS) { + rx_done = limit; goto more; + } DBG(%s: disable polling mode, rx=%d, tx=%d,limit=%d\n, dev-name, rx_done, tx_done, limit); -- 2.1.4 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PATCH 1/3] openvpn: fix handling comp_lzo and auth_retry as the wrong type.
On 14 June 2015 at 21:35, Felix Fietkau n...@openwrt.org wrote: On 2015-06-14 06:04, Yousong Zhou wrote: As reported in #19104. Signed-off-by: Yousong Zhou yszhou4t...@gmail.com comp-lzo does not seem to fit well in the bool category, it takes yes, no, or adaptive. Indeed, looks like the option changed between 2.0.x and 2.3.x Also, please include the details of the changes that you make in the patch description instead of just linking to the ticket. Well, i thought the patches intention was quite clear and simple. The ticket number was included just for completeness. Anyway, will do. Thanks. yousong ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PATCH 3/5] elfutils: import package from packages.git
On 2015-05-19 03:43, Luiz Angelo Daros de Luca wrote: I'm curious, as current elfutils packager, how I should play in this import? Should this package be removed from package.git (but there is no PR for it)? Or will it be periodically synchronized with packages.git? Also, as I'm not a core developer, maybe it would be better to a core developer to take its maintainance. I will apply this package. When you have updates to it, please send them as patches to this list. The package should be removed from github afterwards. - Felix ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] Lantiq xrx200 - switch rtl8367rb controlled via builtin mdio (not gpio sck/sda!) in EasyBox 904xDSL
Hi everyone, for fun I have put efforts to solve some mysteries of the EasyBox 904xDSL. (here thank you Sylwester and Martin B. for feedback). Currently code in driver/net/phy/rtl8366_smi.c is used to control rtl836x chips via bitbanging two gpio lines. This does not work for the 904 xDSL. Disassembling code from the rtl8367rb.ko (oem firmware) shows that the rtl8367rb is controlled via mdio registers at 0xBE10B120~128. I'm pretty sure I identified all gpio usage in rt8367rb.ko. There is one switch hw reset line (io41). Pin io42 and io43 are setup once (AltSel1/0:=1/0; no open drain; Dir:=output for io43) and then left alone, I guess to be driven by internal mdio logic responding to 0xBE10B120~128. Access to the switch' registers looks somehow cumbersome, e.g. u32 RTL83XX_SMI_READ(u32 addr) { ifx_vr9_mdio_write(0, 0x1D, 0x); ifx_vr9_mdio_write(0, 0x1F, 0xE); ifx_vr9_mdio_write(0, 0x1D, 0x); ifx_vr9_mdio_write(0, 0x17, addr 0x) ifx_vr9_mdio_write(0, 0x1D, 0x); ifx_vr9_mdio_write(0, 0x15, 1); ifx_vr9_mdio_write(0, 0x1D, 0x); return ifx_vr9_mdio_read(0, 0x19); } So many more bits are banged over the bus as the code in rtl8366_smi.c does. Me wondering: there must be a chip between, which relays control info to the rtl8367rb? Some more laboriously disassembled and pretty formatted functions are listed in file disass_rtl8367rb.ko_mdio-smi.txt here: http://arny.tjps.eu/OpenWrt/EasyBox904xDSL/oem-firmware-info/research/ Of course ifx_vr9_mdio_read/write() looks similar to xrx200_mdio_rd/wr() in drivers/net/ethernet/lantiq_xrx200.c of current OpenWrt kernel code. Guess I won't be able to provide a patch which utilizes these finding. If this is of use for anyone, I would be glad to hear about it. Arnold ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] reproducible OpenWrt?
Dear OpenWrt developers, to quote https://reproducible.debian.net/openwrt/ ;-) Reproducible builds enable anyone to reproduce bit by bit identical binary packages from a given source, so that anyone can verify that a given binary derived from the source it was said to be derived. There is a lot more information about reproducible builds on the Debian wiki at https://wiki.debian.org/ReproducibleBuilds and on https://reproducible.debian.net - The wiki has a lot more information, eg. why this is useful, what common issues exist and which workarounds and solutions are known. Reproducible OpenWrt is an effort to apply this to OpenWrt Thus each OpenWR target is build twice, with a few varitations added and then the resulting images and packages from the two builds are compared using debbindiff, which currently cannot detect .bin files as squashfs filesystems. Thus the resulting debbindiff output is not nearly as clear as it could be - hopefully this limitation will be overcome soon. Also please note that the toolchain is not varied at all as the rebuild happens on exactly the same system. More variations are expected to be seen in the wild. There is a monthly run jenkins job to test the master branch of openwrt.git. Currently this job is triggered more often though, because this is still under development and brand new. The jenkins job is simply running reproducible_openwrt.sh in a Debian environment and this script is solely responsible for creating this page. Feel invited to join #debian-reproducible (on irc.oftc.net) to request job runs whenever sensible. Patches and other feedback are very much appreciated! ---end-quote-- And that's basically it. Go have a look at the above URLS and you might also be interested to know that https://reproducible.debian.net/coreboot shows 100% success for coreboot _atm_ (there are more variations in the wild and not all payloads tested) and Debian sid is currently at 82% reproducibility. I've only looked at very few .ipk packages linked in openwrt.html but all I've looked at only need a simple modification when creating the inside tarballs to set that these creation dates to the time+date of the last modification of the source code... Support to better analyze .bin squashfs files with debbindiff will be added eventually, also we will build more openwrt targets soon too. And then we might actually do full release rebuilds too and see if we can reproduce your released files bit by bit one day ;-) Last and definitly not least: thanks a lot for OpenWrt - I happily use it daily! :) cheers, Holger signature.asc Description: This is a digitally signed message part. ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH] Update dnsmasq to v2.73.
Signed-off-by: Toke Høiland-Jørgensen t...@toke.dk --- package/network/services/dnsmasq/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package/network/services/dnsmasq/Makefile b/package/network/services/dnsmasq/Makefile index 7b56a06..19a8df9 100644 --- a/package/network/services/dnsmasq/Makefile +++ b/package/network/services/dnsmasq/Makefile @@ -8,12 +8,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=dnsmasq -PKG_VERSION:=2.73rc9 +PKG_VERSION:=2.73 PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz -PKG_SOURCE_URL:=http://thekelleys.org.uk/dnsmasq/release-candidates -PKG_MD5SUM:=82b9ee113f7f72461c05d89fa23d2914 +PKG_SOURCE_URL:=http://thekelleys.org.uk/dnsmasq +PKG_MD5SUM:=b8bfe96d22945c8cf4466826ba9b21bd PKG_LICENSE:=GPL-2.0 PKG_LICENSE_FILES:=COPYING -- 2.4.2 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH] Add Support for WeIO Board (Chaos Calmer)
Hello, please find below patch that adds support for WeIO board (http://we-io.net) to Chaos Calmer master branch. The board is based on Carambola2 module from 8Devices, and this patch adds a separate profile for WeIO. Best regards, Drasko From c68e410601b1fe656dad7b08ed41de470d0550c6 Mon Sep 17 00:00:00 2001 From: Drasko DRASKOVIC drasko.drasko...@gmail.com Date: Sun, 14 Jun 2015 22:41:45 +0200 Subject: [PATCH] Add support for WeIO board Signed-off-by: Drasko DRASKOVIC drasko.drasko...@gmail.com --- .../ar71xx/base-files/etc/uci-defaults/01_leds | 6 + target/linux/ar71xx/base-files/lib/ar71xx.sh | 3 + .../ar71xx/base-files/lib/upgrade/platform.sh | 3 +- target/linux/ar71xx/config-3.18| 1 + .../linux/ar71xx/files/arch/mips/ath79/mach-weio.c | 148 + target/linux/ar71xx/generic/profiles/weio.mk | 17 +++ target/linux/ar71xx/image/Makefile | 8 ++ .../610-MIPS-ath79-openwrt-machines.patch | 21 ++- 8 files changed, 201 insertions(+), 6 deletions(-) create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-weio.c create mode 100644 target/linux/ar71xx/generic/profiles/weio.mk diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds index 41b..b0fb36e 100644 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds @@ -63,6 +63,12 @@ carambola2) ucidef_set_led_wlan wlan WLAN carambola2:green:wlan phy0tpt ;; +weio) + ucidef_set_led_netdev lan LAN weio:orange:eth0 eth0 + ucidef_set_led_netdev wan WAN weio:orange:eth1 eth1 + ucidef_set_led_wlan wlan WLAN weio:green:wlan phy0tpt + ;; + cpe510) ucidef_set_led_switch lan0 LAN0 tp-link:green:lan0 switch0 0x20 ucidef_set_led_switch lan1 LAN1 tp-link:green:lan1 switch0 0x10 diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh index b13be1e..fe7478c 100755 --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh @@ -892,6 +892,9 @@ ar71xx_board_detect() { 8devices Carambola2*) name=carambola2 ;; + *WeIO) + name=weio + ;; *Sitecom WLR-8100) name=wlr8100 ;; diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh index 3dbd91c..0f2920b 100755 --- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh +++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh @@ -243,7 +243,8 @@ platform_check_image() { nbg460n_550n_550nh | \ unifi | \ unifi-outdoor | \ - carambola2 ) + carambola2 | \ + weio ) [ $magic != 2705 ] { echo Invalid image type. return 1 diff --git a/target/linux/ar71xx/config-3.18 b/target/linux/ar71xx/config-3.18 index 543b77e..ae68a18 100644 --- a/target/linux/ar71xx/config-3.18 +++ b/target/linux/ar71xx/config-3.18 @@ -43,6 +43,7 @@ CONFIG_ATH79_MACH_AW_NR580=y CONFIG_ATH79_MACH_BHU_BXU2000N2_A=y CONFIG_ATH79_MACH_CAP4200AG=y CONFIG_ATH79_MACH_CARAMBOLA2=y +CONFIG_ATH79_MACH_WEIO=y CONFIG_ATH79_MACH_CPE510=y CONFIG_ATH79_MACH_DB120=y CONFIG_ATH79_MACH_DGL_5500_A1=y diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-weio.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-weio.c new file mode 100644 index 000..70ed543 --- /dev/null +++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-weio.c @@ -0,0 +1,148 @@ +/** + * WEIO Web Of Things Platform + * + * Copyright (C) 2013 Drasko DRASKOVIC and Uros PETREVSKI + * + * ## ## ### + * ## ## ## #### ## ## + * ## ## ## #### ## ## + * ## ## ## #### ## ## + * ## ## ## #### ## ## + * ## ## ## #### ## ## + * ### ### ### + * + * Web Of Things Platform + * + * Authors : + * Drasko DRASKOVIC drasko.drasko...@gmail.com + * Uros PETREVSKI u...@nodesign.net + */ + +#include asm/mach-ath79/ath79.h +#include asm/mach-ath79/ar71xx_regs.h +#include common.h +#include dev-eth.h +#include dev-gpio-buttons.h +#include dev-leds-gpio.h +#include dev-m25p80.h +#include dev-spi.h +#include dev-usb.h +#include dev-wmac.h +#include machtypes.h +#include linux/i2c-gpio.h +#include linux/platform_device.h + +#define WEIO_GPIO_LED_STA 1 +#define WEIO_GPIO_LED_AP 16 +//#define WEIO_GPIO_LED_ETH0 13 + +#define WEIO_GPIO_BTN_AP20 +#define WEIO_GPIO_BTN_RESET 23 + +#define WEIO_KEYS_POLL_INTERVAL 20 /* msecs */ +#define WEIO_KEYS_DEBOUNCE_INTERVAL (3 * WEIO_KEYS_POLL_INTERVAL) + +#define WEIO_MAC0_OFFSET 0x +#define WEIO_MAC1_OFFSET 0x0006 +#define WEIO_CALDATA_OFFSET0x1000 +#define WEIO_WMAC_MAC_OFFSET 0x1002 + +static struct gpio_led weio_leds_gpio[] __initdata = { + { + .name = weio:green:sta, + .gpio = WEIO_GPIO_LED_STA, +
[OpenWrt-Devel] [PATCH] Update dnsmasq to v2.73.
Signed-off-by: Toke Høiland-Jørgensen t...@toke.dk --- package/network/services/dnsmasq/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package/network/services/dnsmasq/Makefile b/package/network/services/dnsmasq/Makefile index 7b56a06..19a8df9 100644 --- a/package/network/services/dnsmasq/Makefile +++ b/package/network/services/dnsmasq/Makefile @@ -8,12 +8,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=dnsmasq -PKG_VERSION:=2.73rc9 +PKG_VERSION:=2.73 PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz -PKG_SOURCE_URL:=http://thekelleys.org.uk/dnsmasq/release-candidates -PKG_MD5SUM:=82b9ee113f7f72461c05d89fa23d2914 +PKG_SOURCE_URL:=http://thekelleys.org.uk/dnsmasq +PKG_MD5SUM:=b8bfe96d22945c8cf4466826ba9b21bd PKG_LICENSE:=GPL-2.0 PKG_LICENSE_FILES:=COPYING -- 2.4.2 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] Ralink MT76228 port to Linux 4.0, set new IP address fail
On 12 June 2015 at 19:45, Baptiste Clenet bapcle...@gmail.com wrote: Watchdog problem solved thanks to Mingyu Li. Patch the file ralink_soc_eth.c @@ -983,8 +983,11 @@ static int fe_poll(struct napi_struct *napi, int budget) if (!tx_again (rx_done budget)) { status = fe_reg_r32(FE_REG_FE_INT_STATUS); - if (status (tx_intr | rx_intr )) + if (status (tx_intr | rx_intr )) { + /* let napi poll again */ + rx_done = budget; goto poll_again; + } napi_complete(napi); This solution is related to the ralink board only. OK, similar fix works for ag71xx, will submit a patch... Regards, Roman ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PATCH 2/5] argp-standalone: import package from packages.git
On 2015-05-19 01:40, Mathieu Olivari wrote: argp-standalone is required by elfutils, itself required by perf. So we'll move this package from packages.git and make it part of the core distribution. Signed-off-by: Mathieu Olivari math...@codeaurora.org I will apply this package. Please make sure it gets removed from github. Ted, whenever you have updates to this package, please send them to this list. - Felix ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PATCH] Add Support for WeIO Board (Chaos Calmer)
On Jun 14, 2015 2:56 PM, Drasko DRASKOVIC drasko.drasko...@gmail.com wrote: Hello, please find below patch that adds support for WeIO board (http://we-io.net) to Chaos Calmer master branch. The board is based on Carambola2 module from 8Devices, and this patch adds a separate profile for WeIO. Your patch has been mangled by your mailer, you might want to use git-send-email instead. Since this is a new target, trunk is more appropriate, once it gets there, backports to CC can be made. Best regards, Drasko From c68e410601b1fe656dad7b08ed41de470d0550c6 Mon Sep 17 00:00:00 2001 From: Drasko DRASKOVIC drasko.drasko...@gmail.com Date: Sun, 14 Jun 2015 22:41:45 +0200 Subject: [PATCH] Add support for WeIO board Signed-off-by: Drasko DRASKOVIC drasko.drasko...@gmail.com --- .../ar71xx/base-files/etc/uci-defaults/01_leds | 6 + target/linux/ar71xx/base-files/lib/ar71xx.sh | 3 + .../ar71xx/base-files/lib/upgrade/platform.sh | 3 +- target/linux/ar71xx/config-3.18| 1 + .../linux/ar71xx/files/arch/mips/ath79/mach-weio.c | 148 + target/linux/ar71xx/generic/profiles/weio.mk | 17 +++ target/linux/ar71xx/image/Makefile | 8 ++ .../610-MIPS-ath79-openwrt-machines.patch | 21 ++- 8 files changed, 201 insertions(+), 6 deletions(-) create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-weio.c create mode 100644 target/linux/ar71xx/generic/profiles/weio.mk diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds index 41b..b0fb36e 100644 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds @@ -63,6 +63,12 @@ carambola2) ucidef_set_led_wlan wlan WLAN carambola2:green:wlan phy0tpt ;; +weio) + ucidef_set_led_netdev lan LAN weio:orange:eth0 eth0 + ucidef_set_led_netdev wan WAN weio:orange:eth1 eth1 + ucidef_set_led_wlan wlan WLAN weio:green:wlan phy0tpt + ;; + cpe510) ucidef_set_led_switch lan0 LAN0 tp-link:green:lan0 switch0 0x20 ucidef_set_led_switch lan1 LAN1 tp-link:green:lan1 switch0 0x10 diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh index b13be1e..fe7478c 100755 --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh @@ -892,6 +892,9 @@ ar71xx_board_detect() { 8devices Carambola2*) name=carambola2 ;; + *WeIO) + name=weio + ;; *Sitecom WLR-8100) name=wlr8100 ;; diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh index 3dbd91c..0f2920b 100755 --- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh +++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh @@ -243,7 +243,8 @@ platform_check_image() { nbg460n_550n_550nh | \ unifi | \ unifi-outdoor | \ - carambola2 ) + carambola2 | \ + weio ) [ $magic != 2705 ] { echo Invalid image type. return 1 diff --git a/target/linux/ar71xx/config-3.18 b/target/linux/ar71xx/config-3.18 index 543b77e..ae68a18 100644 --- a/target/linux/ar71xx/config-3.18 +++ b/target/linux/ar71xx/config-3.18 @@ -43,6 +43,7 @@ CONFIG_ATH79_MACH_AW_NR580=y CONFIG_ATH79_MACH_BHU_BXU2000N2_A=y CONFIG_ATH79_MACH_CAP4200AG=y CONFIG_ATH79_MACH_CARAMBOLA2=y +CONFIG_ATH79_MACH_WEIO=y CONFIG_ATH79_MACH_CPE510=y CONFIG_ATH79_MACH_DB120=y CONFIG_ATH79_MACH_DGL_5500_A1=y diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-weio.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-weio.c new file mode 100644 index 000..70ed543 --- /dev/null +++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-weio.c @@ -0,0 +1,148 @@ +/** + * WEIO Web Of Things Platform + * + * Copyright (C) 2013 Drasko DRASKOVIC and Uros PETREVSKI + * + * ## ## ### + * ## ## ## #### ## ## + * ## ## ## #### ## ## + * ## ## ## #### ## ## + * ## ## ## #### ## ## + * ## ## ## #### ## ## + * ### ### ### + * + * Web Of Things Platform + * + * Authors : + * Drasko DRASKOVIC drasko.drasko...@gmail.com + * Uros PETREVSKI u...@nodesign.net + */ + +#include asm/mach-ath79/ath79.h +#include asm/mach-ath79/ar71xx_regs.h +#include common.h +#include dev-eth.h +#include dev-gpio-buttons.h +#include dev-leds-gpio.h +#include dev-m25p80.h +#include dev-spi.h +#include dev-usb.h +#include dev-wmac.h +#include machtypes.h +#include linux/i2c-gpio.h +#include linux/platform_device.h + +#define WEIO_GPIO_LED_STA 1 +#define WEIO_GPIO_LED_AP 16 +//#define WEIO_GPIO_LED_ETH0 13 + +#define WEIO_GPIO_BTN_AP20 +#define
Re: [OpenWrt-Devel] [PATCH 2/5] argp-standalone: import
OK, I will remove it from Github /ted -Original Message- Date: Sun, 14 Jun 2015 19:23:32 +0200 From: Felix Fietkau n...@openwrt.org To: Mathieu Olivari math...@codeaurora.org, blo...@openwrt.org On 2015-05-19 01:40, Mathieu Olivari wrote: argp-standalone is required by elfutils, itself required by perf. So we'll move this package from packages.git and make it part of the core distribution. Signed-off-by: Mathieu Olivari math...@codeaurora.org I will apply this package. Please make sure it gets removed from github. Ted, whenever you have updates to this package, please send them to this list. - Felix ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PATCH v2] base-files: add /etc/profile.d support
Am 2015-06-12 07:54, schrieb Hendrik Lüth: OpenWrt should support an optinal /etc/profile.d directory like most other Linux distributions. This allows packages to install their own scripts into /etc/profile.d/. This is the second version, which includes suggestions from the mailing-list. --- package/base-files/files/etc/profile | 10 ++ 1 file changed, 10 insertions(+) diff --git a/package/base-files/files/etc/profile b/package/base-files/files/etc/profile index 3dd58e1..d7129c3 100644 --- a/package/base-files/files/etc/profile +++ b/package/base-files/files/etc/profile @@ -14,3 +14,13 @@ export PS1='\u@\h:\w\$ ' [ -x /usr/bin/arp ] || arp() { cat /proc/net/arp; } [ -x /usr/bin/ldd ] || ldd() { LD_TRACE_LOADED_OBJECTS=1 $*; } + +[ -z $FAILSAFE ] { + if [ -d /etc/profile.d ]; then +for i in /etc/profile.d/*.sh ; do + if [ -r $i ]; then +. $i + fi +done + fi +} Good Morning, i just wanted to ask for your oppinions on the second verison of my patch. regards, Hendrik ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH] openvpn: bump to 2.3.7.
Two patches are dropped as they were already applied upstream. Signed-off-by: Yousong Zhou yszhou4t...@gmail.com --- package/network/services/openvpn/Makefile |4 +- .../patches/001-backport_cipher_none_fix.patch | 57 .../services/openvpn/patches/110-musl_compat.patch | 13 - 3 files changed, 2 insertions(+), 72 deletions(-) delete mode 100644 package/network/services/openvpn/patches/001-backport_cipher_none_fix.patch delete mode 100644 package/network/services/openvpn/patches/110-musl_compat.patch diff --git a/package/network/services/openvpn/Makefile b/package/network/services/openvpn/Makefile index 81d8007..24ed8bb 100644 --- a/package/network/services/openvpn/Makefile +++ b/package/network/services/openvpn/Makefile @@ -9,8 +9,8 @@ include $(TOPDIR)/rules.mk PKG_NAME:=openvpn -PKG_VERSION:=2.3.6 -PKG_RELEASE:=5 +PKG_VERSION:=2.3.7 +PKG_RELEASE:=1 PKG_SOURCE_URL:=http://swupdate.openvpn.net/community/releases PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz diff --git a/package/network/services/openvpn/patches/001-backport_cipher_none_fix.patch b/package/network/services/openvpn/patches/001-backport_cipher_none_fix.patch deleted file mode 100644 index af445e3..000 --- a/package/network/services/openvpn/patches/001-backport_cipher_none_fix.patch +++ /dev/null @@ -1,57 +0,0 @@ -commit 98156e90e1e83133a6a6a020db8e7333ada6156b -Author: Steffan Karger stef...@karger.me -Date: Tue Dec 2 21:42:00 2014 +0100 - -Really fix '--cipher none' regression - -... by not incorrectly hinting to the compiler the function argument of -cipher_kt_mode_{cbc,ofb_cfb}() is nonnull, since that no longer is the -case. - -Verified the fix on Debian Wheezy, one of the platforms the reporter in -trac #473 mentions with a compiler that would optimize out the required -checks. - -Also add a testcase for --cipher none to t_lpback, to prevent further -regressions. - -Signed-off-by: Steffan Karger stef...@karger.me -Acked-by: Gert Doering g...@greenie.muc.de -Message-Id: 1417552920-31770-1-git-send-email-stef...@karger.me -URL: http://article.gmane.org/gmane.network.openvpn.devel/9300 -Signed-off-by: Gert Doering g...@greenie.muc.de - a/src/openvpn/crypto_backend.h -+++ b/src/openvpn/crypto_backend.h -@@ -237,8 +237,7 @@ int cipher_kt_mode (const cipher_kt_t *c - * - * @returntrue iff the cipher is a CBC mode cipher. - */ --bool cipher_kt_mode_cbc(const cipher_kt_t *cipher) -- __attribute__((nonnull)); -+bool cipher_kt_mode_cbc(const cipher_kt_t *cipher); - - /** - * Check if the supplied cipher is a supported OFB or CFB mode cipher. -@@ -247,8 +246,7 @@ bool cipher_kt_mode_cbc(const cipher_kt_ - * - * @returntrue iff the cipher is a OFB or CFB mode cipher. - */ --bool cipher_kt_mode_ofb_cfb(const cipher_kt_t *cipher) -- __attribute__((nonnull)); -+bool cipher_kt_mode_ofb_cfb(const cipher_kt_t *cipher); - - - /** a/tests/t_lpback.sh -+++ b/tests/t_lpback.sh -@@ -35,6 +35,9 @@ CIPHERS=$(${top_builddir}/src/openvpn/op - # GD, 2014-07-06 do not test RC5-* either (fails on NetBSD w/o libcrypto_rc5) - CIPHERS=$(echo $CIPHERS | egrep -v '^(DES-EDE3-CFB1|DES-CFB1|RC5-)' ) - -+# Also test cipher 'none' -+CIPHERS=${CIPHERS}$(printf \nnone) -+ - ${top_builddir}/src/openvpn/openvpn --genkey --secret key.$$ - set +e - diff --git a/package/network/services/openvpn/patches/110-musl_compat.patch b/package/network/services/openvpn/patches/110-musl_compat.patch deleted file mode 100644 index 566c17f..000 --- a/package/network/services/openvpn/patches/110-musl_compat.patch +++ /dev/null @@ -1,13 +0,0 @@ a/src/openvpn/syshead.h -+++ b/src/openvpn/syshead.h -@@ -214,10 +214,6 @@ - - #ifdef TARGET_LINUX - --#if defined(HAVE_NETINET_IF_ETHER_H) --#include netinet/if_ether.h --#endif -- - #ifdef HAVE_LINUX_IF_TUN_H - #include linux/if_tun.h - #endif -- 1.7.10.4 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] procd/libubox mangles command-line arguments
Hi, Ted, On 15 June 2015 at 04:57, Ted Hess th...@kitschensync.net wrote: Somewhere in the processing of procd_set_param command ... certain command-line parameters which have colons (:) get treated as argument delimiters. Example: procd_set_param command foo -a 200:4:16:0 -o hw:0,0 The correct usage should be something like the following. procd_set_param command foo -a 200:4:16:0 -o hw:0,0 gets the command-line string -a 200 4 16 0 -o hw:0,0 actually passed to the program. This is not what I wanted. Is there special handling for colon delimited numbers?? The 2nd parameter does not get this treatment - why? AFAIK, procd will not try any shell-like command line parsing. I tried the following script . /lib/functions/procd.sh service_triggers() { true; } procd_open_service foo foo procd_open_instance bar procd_set_param command 'baz -a 200:4:16:0 -o hw:0,0' procd_close_instance procd_close_service ubus call service list | jsonfilter -e '$[foo]' And the result seems expected. root@OpenWrt:/# ubus call service list | jsonfilter -e '$[foo]' { instances: { bar: { running: false, command: [ baz -a 200:4:16:0 -o hw:0,0 ] } } } yousong ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] Chaos Calmer 15.05-rc2
Guys, I'm no svn-git mirror expert but is there any chance of having 15.05/openwrt.git branch with full history? Is there a technical limitation/reason for it? The git mirror of svn is a dead-end. I get history only until the branch commit. For example, the first commit in 14.07/openwrt.git is create branch for barrier breaker (from trunk r41863). It would be nice to keep full git history (so the first commit in any branch would be New repository initialized by cvs2svn. I did a ugly workaround creating myself a git branch on openwrt.git at the branch point and merging xx.yy/openwrt.git back into it whenever it gets updated (leaving merge-commits on the way). Also, for a git repo, a branch would be just fine instead of a full git repo (but separated repos is no problem if they share the same history). If it is only a matter of smaller downloads, git clone --depth 1 might do it just fine. Cheers, --- Luiz Angelo Daros de Luca, Me. luizl...@gmail.com 2015-06-14 7:09 GMT-03:00 Daniel Golle dan...@makrotopia.org: On Sat, Jun 13, 2015 at 04:21:55PM +0200, Steven Barth wrote: ** Highlights since Barrier Breaker ** ... * Platform and Driver Support ... - New sunxi target for AllWinner A10/A13/A20 family and various boards Please also mention: - New oxnas target for Oxford/PLXTECH NAS782x family and various boards Cheers Daniel ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] Chaos Calmer 15.05-rc2
On 15/06/15 00:15, Luiz Angelo Daros de Luca wrote: Guys, I'm no svn-git mirror expert but is there any chance of having 15.05/openwrt.git branch with full history? Is there a technical limitation/reason for it? The git mirror of svn is a dead-end. I get history only until the branch commit. For example, the first commit in 14.07/openwrt.git is create branch for barrier breaker (from trunk r41863). It would be nice to keep full git history (so the first commit in any branch would be New repository initialized by cvs2svn. I did a ugly workaround creating myself a git branch on openwrt.git at the branch point and merging xx.yy/openwrt.git back into it whenever it gets updated (leaving merge-commits on the way). a cleaner way is using .git/info/grafts http://wiki.openwrt.org/doc/howto/buildroot.exigence#merged_main_repository_into_a_single_git_repository just replace BB with CC and so on (i wasn't aware of this git feature until i came across that openwrt howto) cheers! Also, for a git repo, a branch would be just fine instead of a full git repo (but separated repos is no problem if they share the same history). If it is only a matter of smaller downloads, git clone --depth 1 might do it just fine. Cheers, --- Luiz Angelo Daros de Luca, Me. luizl...@gmail.com mailto:luizl...@gmail.com 2015-06-14 7:09 GMT-03:00 Daniel Golle dan...@makrotopia.org mailto:dan...@makrotopia.org: On Sat, Jun 13, 2015 at 04:21:55PM +0200, Steven Barth wrote: ** Highlights since Barrier Breaker ** ... * Platform and Driver Support ... - New sunxi target for AllWinner A10/A13/A20 family and various boards Please also mention: - New oxnas target for Oxford/PLXTECH NAS782x family and various boards Cheers Daniel ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org mailto:openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] Chaos Calmer 15.05-rc2
Still not pretty, but it works much better. Thanks, --- Luiz Angelo Daros de Luca, Me. luizl...@gmail.com 2015-06-15 0:21 GMT-03:00 Gui Iribarren g...@altermundi.net: On 15/06/15 00:15, Luiz Angelo Daros de Luca wrote: Guys, I'm no svn-git mirror expert but is there any chance of having 15.05/openwrt.git branch with full history? Is there a technical limitation/reason for it? The git mirror of svn is a dead-end. I get history only until the branch commit. For example, the first commit in 14.07/openwrt.git is create branch for barrier breaker (from trunk r41863). It would be nice to keep full git history (so the first commit in any branch would be New repository initialized by cvs2svn. I did a ugly workaround creating myself a git branch on openwrt.git at the branch point and merging xx.yy/openwrt.git back into it whenever it gets updated (leaving merge-commits on the way). a cleaner way is using .git/info/grafts http://wiki.openwrt.org/doc/howto/buildroot.exigence#merged_main_repository_into_a_single_git_repository just replace BB with CC and so on (i wasn't aware of this git feature until i came across that openwrt howto) cheers! Also, for a git repo, a branch would be just fine instead of a full git repo (but separated repos is no problem if they share the same history). If it is only a matter of smaller downloads, git clone --depth 1 might do it just fine. Cheers, --- Luiz Angelo Daros de Luca, Me. luizl...@gmail.com mailto:luizl...@gmail.com 2015-06-14 7:09 GMT-03:00 Daniel Golle dan...@makrotopia.org mailto:dan...@makrotopia.org: On Sat, Jun 13, 2015 at 04:21:55PM +0200, Steven Barth wrote: ** Highlights since Barrier Breaker ** ... * Platform and Driver Support ... - New sunxi target for AllWinner A10/A13/A20 family and various boards Please also mention: - New oxnas target for Oxford/PLXTECH NAS782x family and various boards Cheers Daniel ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org mailto: openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] procd/libubox mangles command-line arguments
Somewhere in the processing of procd_set_param command ... certain command-line parameters which have colons (:) get treated as argument delimiters. Example: procd_set_param command foo -a 200:4:16:0 -o hw:0,0 gets the command-line string -a 200 4 16 0 -o hw:0,0 actually passed to the program. This is not what I wanted. Is there special handling for colon delimited numbers?? The 2nd parameter does not get this treatment - why? Can this be fixed in my procd startup script or do I need to fall-back to a non-procd init. TIA,/ted ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel