Re: [OpenWrt-Devel] [PATCH] Package dnsmasq init-file
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Committed in r24051 and r24052 - thanks. ~ Jow -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkzpJLcACgkQdputYINPTPMALgCcDWk6PMliN90Khr4XVIBSpm/l jJsAni9EVIaJOh0Ng2vZCm4jzcqGRjSH =WBr9 -END PGP SIGNATURE- ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [bcm63xx] [6358] fix external interrupts
Hi, Please, drop the previous patch. Miguel On Fri, 2010-11-19 at 10:07 +0100, Miguel GAIO wrote: Hi, This patch fix external IRQs on 6358 platform. They are mapped throw 33 to 37 IRQ lines. Kind Regards, Miguel ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH] [packages] upgrade libtorrent and rtorrent
This patch upgrades libtorrent and rtorrent to svn version 1189. Signed-off-by: Luka Perkov openwrt --to-- lukaperkov.net --- Index: net/rtorrent/patches/110-fix-no-posix_memalign.diff === --- net/rtorrent/patches/110-fix-no-posix_memalign.diff (revision 24064) +++ net/rtorrent/patches/110-fix-no-posix_memalign.diff (working copy) @@ -1,3 +1,5 @@ +diff --git a/rak/allocators.h b/rak/allocators.h +index 0a1b711..2d7b98e 100644 --- a/rak/allocators.h +++ b/rak/allocators.h @@ -42,6 +42,7 @@ @@ -25,11 +27,11 @@ void construct (pointer p, const T value) { new((void*)p)T(value); } void destroy (pointer p) { p-~T(); } -- void deallocate (pointer p, size_type num) { ::operator delete((void*)p); } +- void deallocate (pointer p, size_type num) { free((void*)p); } }; -@@ -98,6 +95,36 @@ bool operator!= (const cacheline_allocat +@@ -98,6 +95,36 @@ bool operator!= (const cacheline_allocatorT1, const cacheline_allocatorT2) return false; } Index: net/rtorrent/Makefile === --- net/rtorrent/Makefile (revision 24064) +++ net/rtorrent/Makefile (working copy) @@ -9,9 +9,9 @@ include $(TOPDIR)/rules.mk PKG_NAME:=rtorrent -PKG_REV:=1165 +PKG_REV:=1189 PKG_VERSION:=0.8.6_r$(PKG_REV) -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 PKG_SOURCE_URL:=svn://rakshasa.no/libtorrent/trunk/rtorrent Index: libs/libtorrent/patches/110-fix-no-posix_memalign.diff === --- libs/libtorrent/patches/110-fix-no-posix_memalign.diff (revision 24064) +++ libs/libtorrent/patches/110-fix-no-posix_memalign.diff (working copy) @@ -17,11 +17,11 @@ void construct (pointer p, const T value) { new((void*)p)T(value); } void destroy (pointer p) { p-~T(); } -- void deallocate (pointer p, size_type num) { ::operator delete((void*)p); } +- void deallocate (pointer p, size_type num) { free((void*)p); } }; -@@ -98,6 +94,36 @@ bool operator!= (const cacheline_allocat +@@ -98,6 +94,36 @@ bool operator!= (const cacheline_allocatorT1, const cacheline_allocatorT2) return false; } Index: libs/libtorrent/Makefile === --- libs/libtorrent/Makefile(revision 24064) +++ libs/libtorrent/Makefile(working copy) @@ -8,9 +8,9 @@ include $(TOPDIR)/rules.mk PKG_NAME:=libtorrent -PKG_REV:=1165 +PKG_REV:=1189 PKG_VERSION:=0.12.6_r$(PKG_REV) -PKG_RELEASE:=2 +PKG_RELEASE:=3 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 PKG_SOURCE_URL:=svn://rakshasa.no/libtorrent/trunk/libtorrent ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] ath9k_platform_data, endianness, misidentified device
Now that I have wired ethernet working, I'm tackling the wifi chip. This router has an ar9223, with the calibration data stored in flash. I copied the data in ath9k_platform_data (btw, I noticed that ar71xx redefines it adding fields, should I copy the .h to my platform or is there a better way to avoid incongruencies?). The first problem is that the device is (incorrectly?) identified as 168c:ff1d instead of 168c:0029. I saw a similar problem here https://forum.openwrt.org/viewtopic.php?pid=97839#p97839 with a bug report here https://dev.openwrt.org/ticket/6171 unfortunately I don't think it applies to my platform (ifxmips), so for the time being I patched compat-wireless to accept ff1d as a valid id. The second problem is that I have to comment the condition in function ath9k_hw_def_check_eeprom in ath9k/eeprom_def.c in order for it to correct the endiannes of the simulated eeprom: /* if (!ath9k_hw_use_flash(ah)) */ { printk(KERN_ERR Read Magic = 0x%04X\n, magic); ath_print(common, ATH_DBG_EEPROM, Read Magic = 0x%04X\n, magic); if (magic != AR5416_EEPROM_MAGIC) { magic2 = swab16(magic); if (magic2 == AR5416_EEPROM_MAGIC) { size = sizeof(struct ar5416_eeprom_def); need_swap = true; eepdata = (u16 *) (ah-eeprom); for (addr = 0; addr size / sizeof(u16); addr++) { temp = swab16(*eepdata); *eepdata = temp; eepdata++; } } else { ath_print(common, ATH_DBG_FATAL, Invalid EEPROM Magic. Endianness mismatch.\n); return -EINVAL; } } } In fact the magic is 0xa55a and it has to be swapped. In order not to modify ath9k, I swapped those myself but it doesn't work (e.g. the length is correct without swapping, so maybe only some of the data has to be swapped, another thing that doesn't work if I swap myself is the initialization, that stops because it doesn't find any band enabled). Maybe I read the code wrong and I'm swapping the wrong section, any hint? Bye -- Luca ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH] triggerhappy: update to 0.1.6
This patch upgrade the triggerhappy daemon to upstream version 0.1.6, which fixes several build and runtime issues. Signed-off-by: Stefan Tomanek stefan.tomanek+open...@wertarbyte.de --- utils/triggerhappy/Makefile |5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/utils/triggerhappy/Makefile b/utils/triggerhappy/Makefile index 984708d..64deca9 100644 --- a/utils/triggerhappy/Makefile +++ b/utils/triggerhappy/Makefile @@ -6,8 +6,8 @@ include $(TOPDIR)/rules.mk PKG_NAME:=triggerhappy -PKG_VERSION:=0.1.3 -PKG_REV:=f7c42167127fb8377f99440f943ab863433b14b5 +PKG_VERSION:=0.1.6 +PKG_REV:=01bedc72451f8afd0c35649dd67c428c44a0f737 PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz @@ -15,7 +15,6 @@ PKG_SOURCE_URL:=git://github.com/wertarbyte/triggerhappy PKG_SOURCE_PROTO:=git PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) PKG_SOURCE_VERSION:=$(PKG_REV) -PKG_MD5SUM:=7da137a7d2ba1ce396231e821e68de4e include $(INCLUDE_DIR)/package.mk -- 1.7.1 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PATCH] triggerhappy: update to 0.1.6
Dies schrieb Florian Fainelli (flor...@openwrt.org): I/home/florian/dev/openwrt/trunk/staging_dir/toolchain-mipsel_gcc-4.3.3+cs_uClibc-0.9.31/include -c -o trigger.o trigger.c make[3]: *** No rule to make target `evtable_EV.h', needed by `eventnames.o'. Stop. I think the Makefile fails to locate linux/input.h; to do this, the following command is run: echo '\#include linux/input.h' | $(CC) $(CPPFLAGS) - M -E - | awk 'NR==1 {print $$2} Any idea why this might not yield the full path to the included file when run from the openwrt build system? ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH] triggerhappy: update to 0.1.6
This patch upgrade the triggerhappy daemon to upstream version 0.1.6, which fixes several build and runtime issues. It also explicitly specifies the path to the header file linux/input.h which is needed during compilation. Signed-off-by: Stefan Tomanek stefan.tomanek+open...@wertarbyte.de --- utils/triggerhappy/Makefile |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/utils/triggerhappy/Makefile b/utils/triggerhappy/Makefile index 984708d..a0bde02 100644 --- a/utils/triggerhappy/Makefile +++ b/utils/triggerhappy/Makefile @@ -6,8 +6,8 @@ include $(TOPDIR)/rules.mk PKG_NAME:=triggerhappy -PKG_VERSION:=0.1.3 -PKG_REV:=f7c42167127fb8377f99440f943ab863433b14b5 +PKG_VERSION:=0.1.6 +PKG_REV:=01bedc72451f8afd0c35649dd67c428c44a0f737 PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz @@ -15,7 +15,6 @@ PKG_SOURCE_URL:=git://github.com/wertarbyte/triggerhappy PKG_SOURCE_PROTO:=git PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) PKG_SOURCE_VERSION:=$(PKG_REV) -PKG_MD5SUM:=7da137a7d2ba1ce396231e821e68de4e include $(INCLUDE_DIR)/package.mk @@ -33,6 +32,7 @@ define Package/triggerhappy/description endef MAKE_FLAGS += \ + LINUX_INPUT_H=$(TOOLCHAIN_DIR)/include/linux/input.h \ $(TARGET_CONFIGURE_OPTS) \ $(1) -- 1.7.1 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PATCH] triggerhappy: update to 0.1.6
Committed in r24076, thanks. Please attach patches as files next time, since inlining often screws them up (in this case spaces - tabs). mirko On Mon, 2010-11-22 at 00:07 +0100, Stefan Tomanek wrote: Signed-off-by: Stefan Tomanek stefan.tomanek+open...@wertarbyte.de --- utils/triggerhappy/Makefile |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/utils/triggerhappy/Makefile b/utils/triggerhappy/Makefile index 984708d..a0bde02 100644 --- a/utils/triggerhappy/Makefile +++ b/utils/triggerhappy/Makefile @@ -6,8 +6,8 @@ include $(TOPDIR)/rules.mk PKG_NAME:=triggerhappy -PKG_VERSION:=0.1.3 -PKG_REV:=f7c42167127fb8377f99440f943ab863433b14b5 +PKG_VERSION:=0.1.6 +PKG_REV:=01bedc72451f8afd0c35649dd67c428c44a0f737 PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz @@ -15,7 +15,6 @@ PKG_SOURCE_URL:=git://github.com/wertarbyte/triggerhappy PKG_SOURCE_PROTO:=git PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) PKG_SOURCE_VERSION:=$(PKG_REV) -PKG_MD5SUM:=7da137a7d2ba1ce396231e821e68de4e include $(INCLUDE_DIR)/package.mk @@ -33,6 +32,7 @@ define Package/triggerhappy/description endef MAKE_FLAGS += \ + LINUX_INPUT_H=$(TOOLCHAIN_DIR)/include/linux/input.h \ $(TARGET_CONFIGURE_OPTS) \ $(1) -- This email address is used for mailinglist purposes only. Non-mailinglist emails will be dropped automatically. If you want to get in contact with me personally, please mail to: mirko.vogt at nanl dot de ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PATCH] triggerhappy: update to 0.1.6
Dies schrieb Mirko Vogt (li...@nanl.de): Committed in r24076, thanks. Thanks :) Please attach patches as files next time, since inlining often screws them up (in this case spaces - tabs). Although https://dev.openwrt.org/wiki/SubmittingPatches says otherwise? Send a mail to openwrt-devel at lists.openwrt.org with the following contents: [...] 4. Your actual patch, inline, not word wrapped or whitespace mangled. ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel