Re: [OpenWrt-Devel] Call for patch reminders
just one integer: https://lists.openwrt.org/pipermail/openwrt-devel/2010-June/007308.html then there's this one: https://lists.openwrt.org/pipermail/openwrt-devel/2010-June/007331.html Markus Wigge sent in this one: https://lists.openwrt.org/pipermail/openwrt-devel/2010-July/007423.html but it's disputed. ;) N.K. Am 04.09.2010 20:19 schrieb Florian Fainelli: Since we used to miss quite some patches, could you please reply to this mail with the link to the openwrt-devel archives, so that we can finally review and/or apply your patch? -- Compilers don't warn Bruce Schneier, Bruce Schneier warns compilers. ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] Backfire build failed -- undefined reference to `ar71xx_add_device_dsa'
OK. I used to same configuration, only changed the target to TP-Link TL-WR941ND (since I also have a TP-Link TL-WR941ND). The build is successful! Therefore, the problem seems to be TP-Link TL-WR741ND specific. Does anyone have any idea on why that could be? From: openwrt-devel-boun...@lists.openwrt.org [mailto:openwrt-devel-boun...@lists.openwrt.org] On Behalf Of Robert Chan Sent: Sunday, September 05, 2010 6:03 PM To: openwrt-devel@lists.openwrt.org Subject: [OpenWrt-Devel] Backfire build failed -- undefined reference to `ar71xx_add_device_dsa' Dear all, I am trying to compile backfire with virtually the default config I downloaded, except that: 1. Changed the default platform to ar71xx/TP-Link TL-WR741ND v1; 2. Enabled mesh networking (pre-802.11s) support (in Networking Support). And nothing else. Then I got the following error while I build: arch/mips/ar71xx/built-in.o: In function `ap91_eth_init': (.init.text+0x13b8): undefined reference to `ar71xx_add_device_dsa' arch/mips/ar71xx/built-in.o: In function `ap91_eth_init': (.init.text+0x13b8): relocation truncated to fit: R_MIPS_26 against `ar71xx_add_device_dsa' make[5]: *** [vmlinux] Error 1 .. Can anyone please give me some pointer? Thanks very much in advance. Regards, Robert ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH] Parallel Build Makefile patches for 25 packages in trunk (trunk and feeds/packages repos)
Hi, I've modified 25 Makefiles to enable parallel builds using the PKG_BUILD_PARALLEL setting. I was told the best way to submit these are to the mailing list, so here are 25 Makefile patches. Most are one liners, some just require the additional $(PKG_JOBS) added to the make call, other were a bit more complex, but nothing too serious. I stayed away from openssl and busybox packages, though they could probably benefit greatly from parallelization, they have plenty of awkward dependencies and compilation isn't straightforward. I'd figured, lets start with the easier ones and make sure everything goes ok first. I've tested these on Linux (Ubuntu 10.04, 8-core) and Darwin (10.6.4, 12-core) using various PARALLEL_JOBS settings and -j settings to the top-level make call. On my 12-core box (24 threads with hyperthreads), -j1 build takes about 42 minutes, using PARALLEL_JOBS=8 and -j8 at the top-level, the build takes ~ 6m59s (this statistic doesn't include the times to build the toolchain) Packages included are: trunk/package/cyassl/Makefile trunk/package/dropbear/Makefile trunk/package/iptables/Makefile trunk/package/mac80211/Makefile trunk/package/ncurses/Makefile trunk/package/zlib/Makefile feeds/packages/net/netatalk/Makefile feeds/packages/net/iperf/Makefile feeds/packages/net/transmission/Makefile feeds/packages/net/rsync/Makefile feeds/packages/net/vnstat/Makefile feeds/packages/net/wol/Makefile feeds/packages/utils/nano/Makefile feeds/packages/utils/procps/Makefile feeds/packages/libs/jpeg/Makefile feeds/packages/libs/avahi/Makefile feeds/packages/libs/libgcrypt/Makefile feeds/packages/libs/libxml2/Makefile feeds/packages/libs/curl/Makefile feeds/packages/libs/gdbm/Makefile feeds/packages/libs/popt/Makefile feeds/packages/libs/libevent/Makefile feeds/packages/libs/gd/Makefile feeds/packages/libs/db47/Makefile feeds/packages/libs/expat/Makefile feeds/packages/libs/libpng/Makefile Signed-off-by: Joe Roback j...@roback.cc --- Index: package/ncurses/Makefile === --- package/ncurses/Makefile(revision 22936) +++ package/ncurses/Makefile(working copy) @@ -9,7 +9,7 @@ PKG_NAME:=ncurses PKG_VERSION:=5.7 -PKG_RELEASE:=3 +PKG_RELEASE:=4 PKG_BUILD_DIR:=$(BUILD_DIR)/$(BUILD_VARIANT)/$(PKG_NAME)-$(PKG_VERSION) PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz @@ -18,6 +18,8 @@ PKG_INSTALL:=1 +PKG_BUILD_PARALLEL:=1 + include $(INCLUDE_DIR)/package.mk define Package/libncurses Index: package/zlib/Makefile === --- package/zlib/Makefile (revision 22936) +++ package/zlib/Makefile (working copy) @@ -9,12 +9,14 @@ PKG_NAME:=zlib PKG_VERSION:=1.2.3 -PKG_RELEASE:=5 +PKG_RELEASE:=6 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 PKG_SOURCE_URL:=http://www.zlib.net @SF/libpng PKG_MD5SUM:=dee233bf288ee795ac96a98cc2e369b6 +PKG_BUILD_PARALLEL:=1 + include $(INCLUDE_DIR)/package.mk define Package/zlib @@ -37,7 +39,7 @@ endef define Build/Compile - $(MAKE) -C $(PKG_BUILD_DIR) \ + $(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR) \ $(TARGET_CONFIGURE_OPTS) \ LDSHARED=$(TARGET_CROSS)ld -shared \ CFLAGS=$(TARGET_CFLAGS) $(FPIC) \ Index: package/iptables/Makefile === --- package/iptables/Makefile (revision 22936) +++ package/iptables/Makefile (working copy) @@ -22,6 +22,8 @@ PKG_FIXUP:=libtool PKG_INSTALL:=1 +PKG_BUILD_PARALLEL:=1 + include $(INCLUDE_DIR)/package.mk ifeq ($(DUMP),) -include $(LINUX_DIR)/.config Index: package/mac80211/Makefile === --- package/mac80211/Makefile (revision 22936) +++ package/mac80211/Makefile (working copy) @@ -19,6 +19,7 @@ PKG_SOURCE:=compat-wireless-$(PKG_VERSION).tar.bz2 PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/compat-wireless-$(PKG_VERSION) +PKG_BUILD_PARALLEL:=1 PKG_CONFIG_DEPENDS:= \ CONFIG_PACKAGE_kmod-mac80211 \ @@ -955,7 +956,7 @@ ifneq ($(CONFIG_PACKAGE_kmod-cfg80211),) define Build/Compile/kmod rm -rf $(PKG_BUILD_DIR)/modules - $(MAKE) -C $(PKG_BUILD_DIR) $(MAKE_OPTS) all + $(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR) $(MAKE_OPTS) all endef endif Index: package/dropbear/Makefile === --- package/dropbear/Makefile (revision 22936) +++ package/dropbear/Makefile (working copy) @@ -9,7 +9,7 @@ PKG_NAME:=dropbear PKG_VERSION:=0.52 -PKG_RELEASE:=5 +PKG_RELEASE:=6 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:= \ @@ -17,6 +17,8 @@ http://www.mirrors.wiretapped.net/security/cryptography/apps/ssh/dropbear/ PKG_MD5SUM:=1c69ec674481d7745452f68f2ea5597e +PKG_BUILD_PARALLEL:=1 + include $(INCLUDE_DIR)/package.mk define Package/dropbear/Default @@ -70,12 +72,12 @@ endef define
Re: [OpenWrt-Devel] Backfire build failed -- undefined reference to `ar71xx_add_device_dsa'
The problem is getting more interesting . After I selected TP-Link TL-WR941ND as my target (changed the target from TL-WR741ND to TL-WR941ND, and nothing else), the build became successful. However, very surprisingly, when I look into the bin folder, I found that I actually got the images for TP-Link TL-WR741ND: ... md5sums openwrt-ar71xx-rootfs.tar.gz openwrt-ar71xx-root.jffs2-128k openwrt-ar71xx-root.jffs2-64k openwrt-ar71xx-root.squashfs openwrt-ar71xx-root.squashfs-4k openwrt-ar71xx-tl-wr741nd-v1-squashfs-factory.bin openwrt-ar71xx-tl-wr741nd-v1-squashfs-sysupgrade.bin openwrt-ar71xx-uImage-gzip.bin openwrt-ar71xx-uImage-lzma.bin openwrt-ar71xx-vmlinux.bin openwrt-ar71xx-vmlinux.elf openwrt-ar71xx-vmlinux.gz openwrt-ar71xx-vmlinux.lzma packages In order to confirm this, I removed the entire bin folder, and build again (double-checked that I have selected TL-WR941ND as my target platform, I still got the same thing (i.e. images for TL-WR741ND). But when I go back to select TL-WR741ND as my target, it gain failed to build! Is this a bug? Should I now use the image obtained (i.e. openwrt-ar71xx-tl-wr741nd-v1-squashfs-factory.bin) in my TL-WR741ND or my TL-WR941ND? The last thing I want to see is to load an incorrect image into the router and brick it. Please help. Regards, Robert. From: openwrt-devel-boun...@lists.openwrt.org [mailto:openwrt-devel-boun...@lists.openwrt.org] On Behalf Of Robert Chan Sent: Sunday, September 05, 2010 10:32 PM To: 'OpenWrt Development List' Subject: Re: [OpenWrt-Devel] Backfire build failed -- undefined reference to `ar71xx_add_device_dsa' OK. I used to same configuration, only changed the target to TP-Link TL-WR941ND (since I also have a TP-Link TL-WR941ND). The build is successful! Therefore, the problem seems to be TP-Link TL-WR741ND specific. Does anyone have any idea on why that could be? From: openwrt-devel-boun...@lists.openwrt.org [mailto:openwrt-devel-boun...@lists.openwrt.org] On Behalf Of Robert Chan Sent: Sunday, September 05, 2010 6:03 PM To: openwrt-devel@lists.openwrt.org Subject: [OpenWrt-Devel] Backfire build failed -- undefined reference to `ar71xx_add_device_dsa' Dear all, I am trying to compile backfire with virtually the default config I downloaded, except that: 1. Changed the default platform to ar71xx/TP-Link TL-WR741ND v1; 2. Enabled mesh networking (pre-802.11s) support (in Networking Support). And nothing else. Then I got the following error while I build: arch/mips/ar71xx/built-in.o: In function `ap91_eth_init': (.init.text+0x13b8): undefined reference to `ar71xx_add_device_dsa' arch/mips/ar71xx/built-in.o: In function `ap91_eth_init': (.init.text+0x13b8): relocation truncated to fit: R_MIPS_26 against `ar71xx_add_device_dsa' make[5]: *** [vmlinux] Error 1 .. Can anyone please give me some pointer? Thanks very much in advance. Regards, Robert ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PATCH v5 0/4] Add x86 kvm_guest subtarget
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Anyone had a chance to look at this yet? I committed it in r22942 - r22945, sorry for the long delay. ~ Jow -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkyEJkYACgkQdputYINPTPN+XACdG2RI9vnUWc6rwZhvbC+9Y56l c2YAoI5XSComgyeMmSYkImhq/xC3LnjE =otK7 -END PGP SIGNATURE- ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [OpenWrt-Tickets] [OpenWrt] #7845: DHCP problem?
thanks chihchun. i follow this problem. is not dhcp ops. that ath9k driver problem. Follow 2010/9/5 OpenWrt openwrt-devel@lists.openwrt.org #7845: DHCP problem? ---+ Reporter: 略略 | Owner: developers Type: defect | Status: new Priority: high | Milestone: Backfire 10.03.1 Component: packages | Version: Backfire 10.03.1 RC2 Keywords: dhcp time out | ---+ Comment(by Rex Tsai chihc...@…): That means you need to set eth1 an IP Address. -- Ticket URL: https://dev.openwrt.org/ticket/7845#comment:1 OpenWrt http://openwrt.org Opensource Wireless Router Technology ___ openwrt-tickets mailing list openwrt-tick...@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-tickets ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PATCH] Allows TIMEOUT to be specified as an environmental variable in chat scripts used by chat
OK Florian will do that. Looks like chat has not been worked on for years so I don't know how successful I will be. Regards Ashok On Sat, Sep 4, 2010 at 12:16 PM, Florian Fainelli flor...@openwrt.org wrote: Le Monday 23 August 2010 20:32:33, Ashok Rao a écrit : The ability of chat ( the program is found within the openwrt ppp package) to read environmental variables was introduced in 1999 ! The TIMEOUT directive, however, requires a hard coded value and ignores environmental variables (which are normally specified with a $..) . This is a simple one line addition to chat.c Can you submit that upstream as well? ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel