Re: [OpenWrt-Devel] brcm47xx 2.6 still does not compile
On Mon, 19 May 2008, Steve Brown wrote: Dirk Nehring wrote: [...] make[5]: Leaving directory `/home/technik/dnehring/openwrt/build_dir/linux-brcm47xx/linux-2.6.25.1' make[5]: Entering directory `/home/technik/dnehring/openwrt/build_dir/linux-brcm47xx/linux-2.6.25.1' CHK include/linux/version.h CHK include/linux/utsrelease.h CALLscripts/checksyscalls.sh CHK include/linux/compile.h CC drivers/ssb/driver_pcicore.o drivers/ssb/driver_pcicore.c: In function 'ssb_pcicore_fixup_pcibridge': drivers/ssb/driver_pcicore.c:314: error: implicit declaration of function 'pcibios_enable_device' make[7]: *** [drivers/ssb/driver_pcicore.o] Error 1 make[6]: *** [drivers/ssb] Error 2 make[5]: *** [drivers] Error 2 make[5]: Leaving directory `/home/technik/dnehring/openwrt/build_dir/linux-brcm47xx/linux-2.6.25.1' make[4]: *** [/home/technik/dnehring/openwrt/build_dir/linux-brcm47xx/linux-2.6.25.1/.image] Error 2 make[4]: Leaving directory `/home/technik/dnehring/openwrt/target/linux/brcm47xx' And, iproute2 must be updated (works with iproute2-2.6.25.tar.bz2). Yes. I have a patch waiting to go in, but I'm waiting for confirmation (or time to test it) that it works under older kernels as well. I added the following to config-2.6.25. CONFIG_PCI=y CONFIG_SYS_HAS_EARLY_PRINTK=y CONFIG_EARLY_PRINTK=y # CONFIG_MEMSTICK is not set # CONFIG_SGI_IP28 is not set # CONFIG_THERMAL is not set The config_pci is to get the declaration for pcibios_enable_device to be included. A better solution would be to add the missing ifdef around that code. Not really. The platform has PCI, so that config setting should be set. Possibly there are some config dependencies that should go in so that you don't get a compilation failure. I was pretty surprised at having to add the commented lines. If they aren't there, you get questions from the 'make oldconfig' during the kernel build. Sorry. If I understood exactly where to set things to get the right resultant .config, it would work more often. The early printk stuff was to try to figure why it would boot on a Buffalo whr-hp-54g, but not an Asus wl520gu. I still don't know why. CONFIG_BCM47XX sets CONFIG_SYS_HAS_EARLY_PRINTK, so you shouldn't need to set that. I can't work out where CONFIG_EARLY_PRINTK is set in my config, maybe by hand? That should probably go in. -- Peter Denison ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] brcm47xx 2.6 still does not compile
On Tue, May 20, 2008 at 09:23:41AM +0100, Peter Denison wrote: On Mon, 19 May 2008, Steve Brown wrote: Dirk Nehring wrote: [...] make[5]: Leaving directory `/home/technik/dnehring/openwrt/build_dir/linux-brcm47xx/linux-2.6.25.1' make[5]: Entering directory `/home/technik/dnehring/openwrt/build_dir/linux-brcm47xx/linux-2.6.25.1' CHK include/linux/version.h CHK include/linux/utsrelease.h CALLscripts/checksyscalls.sh CHK include/linux/compile.h CC drivers/ssb/driver_pcicore.o drivers/ssb/driver_pcicore.c: In function 'ssb_pcicore_fixup_pcibridge': drivers/ssb/driver_pcicore.c:314: error: implicit declaration of function 'pcibios_enable_device' make[7]: *** [drivers/ssb/driver_pcicore.o] Error 1 make[6]: *** [drivers/ssb] Error 2 make[5]: *** [drivers] Error 2 make[5]: Leaving directory `/home/technik/dnehring/openwrt/build_dir/linux-brcm47xx/linux-2.6.25.1' make[4]: *** [/home/technik/dnehring/openwrt/build_dir/linux-brcm47xx/linux-2.6.25.1/.image] Error 2 make[4]: Leaving directory `/home/technik/dnehring/openwrt/target/linux/brcm47xx' And, iproute2 must be updated (works with iproute2-2.6.25.tar.bz2). Yes. I have a patch waiting to go in, but I'm waiting for confirmation (or time to test it) that it works under older kernels as well. Me too, I just drop most of the included patches (I don't understand why people are heavily patching stuff like new options for the htb queuing class. This does not belong into the mainstream trunk, imho). iproute2$ svn st D patches/003-iproute2-htb_overhead.patch D patches/004-darwin_fixes.patch D patches/000-debian_patches_3.patch D patches/005-flex-generated.patch D patches/006-iproute2-tc_esfq.patch D patches/002-iproute2-ipxfrm_no_sctp.patch M Makefile Index: Makefile === --- Makefile(revision 11218) +++ Makefile(working copy) @@ -1,4 +1,4 @@ -# +# # Copyright (C) 2006 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. @@ -9,14 +9,14 @@ include $(TOPDIR)/rules.mk PKG_NAME:=iproute2 -PKG_VERSION:=2.6.20-070313 +PKG_VERSION:=2.6.25 PKG_RELEASE:=1 -PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 PKG_SOURCE_URL:=http://developer.osdl.org/dev/iproute2/download/ -PKG_MD5SUM:=7bc5883aadf740761fa2dd70b661e8cc +PKG_MD5SUM:=5737bade2f5e03fad0e2c81da91e551e -PKG_BUILD_DIR:=$(BUILD_DIR)/iproute-$(PKG_VERSION) +PKG_BUILD_DIR:=$(BUILD_DIR)/iproute2-$(PKG_VERSION) include $(INCLUDE_DIR)/package.mk @@ -49,7 +49,7 @@ $(SED) s,^LIBC_INCLUDE.*,LIBC_INCLUDE=$(STAGING_DIR)/include, \ $(PKG_BUILD_DIR)/Makefile # For now disable compiling of the misc directory because it seems to fail - rm -rf $(PKG_BUILD_DIR)/misc + rm -rf $(PKG_BUILD_DIR)/misc $(SED) s, misc,, $(PKG_BUILD_DIR)/Makefile endef I added the following to config-2.6.25. CONFIG_PCI=y CONFIG_SYS_HAS_EARLY_PRINTK=y CONFIG_EARLY_PRINTK=y # CONFIG_MEMSTICK is not set # CONFIG_SGI_IP28 is not set # CONFIG_THERMAL is not set The config_pci is to get the declaration for pcibios_enable_device to be included. A better solution would be to add the missing ifdef around that code. Not really. The platform has PCI, so that config setting should be set. Possibly there are some config dependencies that should go in so that you don't get a compilation failure. I was pretty surprised at having to add the commented lines. If they aren't there, you get questions from the 'make oldconfig' during the kernel build. Sorry. If I understood exactly where to set things to get the right resultant .config, it would work more often. The early printk stuff was to try to figure why it would boot on a Buffalo whr-hp-54g, but not an Asus wl520gu. I still don't know why. CONFIG_BCM47XX sets CONFIG_SYS_HAS_EARLY_PRINTK, so you shouldn't need to set that. I can't work out where CONFIG_EARLY_PRINTK is set in my config, maybe by hand? That should probably go in. Why not just taking the resulting .config from the kernel dir? It includes all relevant stuff and it is up-to-date every time. Dirk ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] brcm47xx 2.6 still does not compile
the compilation is succeded for me, but eth doesn't respond for any ping. (BCM5354 WL500GPV2) CONFIG_B44=y CONFIG_B44_PCI_AUTOSELECT=y CONFIG_B44_PCICORE_AUTOSELECT=y CONFIG_B44_PCI=y Mensagem Original From: Peter Denison [EMAIL PROTECTED] To: [EMAIL PROTECTED], OpenWrt Development List openwrt-devel@lists.openwrt.org Sent: Ter, Maio 20, 2008 5:23 am Subject: Re: [OpenWrt-Devel] brcm47xx 2.6 still does not compile On Mon, 19 May 2008, Steve Brown wrote: Dirk Nehring wrote: [...] make[5]: Leaving directory `/home/technik/dnehring/openwrt/build_dir/linux-brcm47xx/linux-2.6.25.1' make[5]: Entering directory `/home/technik/dnehring/openwrt/build_dir/linux-brcm47xx/linux-2.6.25.1' CHK include/linux/version.h CHK include/linux/utsrelease.h CALLscripts/checksyscalls.sh CHK include/linux/compile.h CC drivers/ssb/driver_pcicore.o drivers/ssb/driver_pcicore.c: In function 'ssb_pcicore_fixup_pcibridge': drivers/ssb/driver_pcicore.c:314: error: implicit declaration of function 'pcibios_enable_device' make[7]: *** [drivers/ssb/driver_pcicore.o] Error 1 make[6]: *** [drivers/ssb] Error 2 make[5]: *** [drivers] Error 2 make[5]: Leaving directory `/home/technik/dnehring/openwrt/build_dir/linux-brcm47xx/linux-2.6.25.1' make[4]: *** [/home/technik/dnehring/openwrt/build_dir/linux-brcm47xx/linux-2.6.25.1/.image] Error 2 make[4]: Leaving directory `/home/technik/dnehring/openwrt/target/linux/brcm47xx' And, iproute2 must be updated (works with iproute2-2.6.25.tar.bz2). Yes. I have a patch waiting to go in, but I'm waiting for confirmation (or time to test it) that it works under older kernels as well. I added the following to config-2.6.25. CONFIG_PCI=y CONFIG_SYS_HAS_EARLY_PRINTK=y CONFIG_EARLY_PRINTK=y # CONFIG_MEMSTICK is not set # CONFIG_SGI_IP28 is not set # CONFIG_THERMAL is not set The config_pci is to get the declaration for pcibios_enable_device to be included. A better solution would be to add the missing ifdef around that code. Not really. The platform has PCI, so that config setting should be set. Possibly there are some config dependencies that should go in so that you don't get a compilation failure. I was pretty surprised at having to add the commented lines. If they aren't there, you get questions from the 'make oldconfig' during the kernel build. Sorry. If I understood exactly where to set things to get the right resultant .config, it would work more often. The early printk stuff was to try to figure why it would boot on a Buffalo whr-hp-54g, but not an Asus wl520gu. I still don't know why. CONFIG_BCM47XX sets CONFIG_SYS_HAS_EARLY_PRINTK, so you shouldn't need to set that. I can't work out where CONFIG_EARLY_PRINTK is set in my config, maybe by hand? That should probably go in. -- Peter Denison ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] brcm47xx 2.6 still does not compile
Felipe Maya wrote: the compilation is succeded for me, but eth doesn't respond for any ping. (BCM5354 WL500GPV2) CONFIG_B44=y CONFIG_B44_PCI_AUTOSELECT=y CONFIG_B44_PCICORE_AUTOSELECT=y CONFIG_B44_PCI=y Mensagem Original From: Peter Denison [EMAIL PROTECTED] To: [EMAIL PROTECTED], OpenWrt Development List openwrt-devel@lists.openwrt.org Sent: Ter, Maio 20, 2008 5:23 am Subject: Re: [OpenWrt-Devel] brcm47xx 2.6 still does not compile On Mon, 19 May 2008, Steve Brown wrote: Dirk Nehring wrote: [...] make[5]: Leaving directory `/home/technik/dnehring/openwrt/build_dir/linux-brcm47xx/linux-2.6.25.1' make[5]: Entering directory `/home/technik/dnehring/openwrt/build_dir/linux-brcm47xx/linux-2.6.25.1' CHK include/linux/version.h CHK include/linux/utsrelease.h CALLscripts/checksyscalls.sh CHK include/linux/compile.h CC drivers/ssb/driver_pcicore.o drivers/ssb/driver_pcicore.c: In function 'ssb_pcicore_fixup_pcibridge': drivers/ssb/driver_pcicore.c:314: error: implicit declaration of function 'pcibios_enable_device' make[7]: *** [drivers/ssb/driver_pcicore.o] Error 1 make[6]: *** [drivers/ssb] Error 2 make[5]: *** [drivers] Error 2 make[5]: Leaving directory `/home/technik/dnehring/openwrt/build_dir/linux-brcm47xx/linux-2.6.25.1' make[4]: *** [/home/technik/dnehring/openwrt/build_dir/linux-brcm47xx/linux-2.6.25.1/.image] Error 2 make[4]: Leaving directory `/home/technik/dnehring/openwrt/target/linux/brcm47xx' And, iproute2 must be updated (works with iproute2-2.6.25.tar.bz2). Yes. I have a patch waiting to go in, but I'm waiting for confirmation (or time to test it) that it works under older kernels as well. I added the following to config-2.6.25. CONFIG_PCI=y CONFIG_SYS_HAS_EARLY_PRINTK=y CONFIG_EARLY_PRINTK=y # CONFIG_MEMSTICK is not set # CONFIG_SGI_IP28 is not set # CONFIG_THERMAL is not set The config_pci is to get the declaration for pcibios_enable_device to be included. A better solution would be to add the missing ifdef around that code. Not really. The platform has PCI, so that config setting should be set. Possibly there are some config dependencies that should go in so that you don't get a compilation failure. I was pretty surprised at having to add the commented lines. If they aren't there, you get questions from the 'make oldconfig' during the kernel build. Sorry. If I understood exactly where to set things to get the right resultant .config, it would work more often. The early printk stuff was to try to figure why it would boot on a Buffalo whr-hp-54g, but not an Asus wl520gu. I still don't know why. CONFIG_BCM47XX sets CONFIG_SYS_HAS_EARLY_PRINTK, so you shouldn't need to set that. I can't work out where CONFIG_EARLY_PRINTK is set in my config, maybe by hand? That should probably go in. -- Peter Denison ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel My BCM5354 (Asus WL520gu) hangs on on boot after the Entry at 0x80001000. Nothing after. The same image boots fine on a BCM4704 (Asus WL500GP) and a BCM5352 (Buffalo WHR-HP-G54). I managed to get some output from the cfe putchar function at the start of setup_arch. So it's hanging prior to that. I'm sure how to debug this. Probably just wait for somebody better at it than me. Where did you get the V2? I haven't found anybody in the US that stocks them yet. The FCC pix shows what looks like a jtag header. That would sure be handy for times like this. Steve ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] offer to help co-maintain libgpg-error, libgcrypt, libtasn1, opencdk gnutls
Hi! I'm upstream maintainer for gnutls and libtasn1 (and some other projects), and I have been sending updates for some package to get a more modern gnutls version installed. In one of the bug reports: https://dev.openwrt.org/ticket/3424#comment:1 It was suggested to request svn access. Now there has been a new gnutls release that fixes some security fixes. The patches for openwrt should be trivial (change version and hash). It would be simple for me to install a newer version myself if I got svn write access to these projects, is that possible? Thanks, Simon ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PATCH 7/7] atheros: ar531x watchdog support
Am Mittwoch, 7. Mai 2008 schrieb Axel Gembe: Atheros AR531X (Generic) watchdog support code (based on ar7_wdt.c). This watchdog should work on most AR5315 / AR5312 devices. I've personally tested it on La Fonera and D-Link DWL-2100AP. Please note that the DWL-2100AP uses a slightly faster clock for its watchdog, see the source files. Works fine for me. ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PATCH 7/7] atheros: ar531x watchdog support
Frithjof Hammer wrote: Works fine for me. Good to hear that. I really dislike targets without proper watchdog so I hope this gets merged soon. Can you post your /proc/cpuinfo ? I tested it on a 5315 as well as a 5313. I still wonder if it works on 5312. - Axel ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH] packages: tinc init-file
init file for tinc Signed-off-by: Jens Nachtigall nachtiga at informatik.hu-berlin.de --- Index: net/tinc/files/tinc.init === --- net/tinc/files/tinc.init(revision 0) +++ net/tinc/files/tinc.init(revision 0) @@ -0,0 +1,63 @@ +#!/bin/sh /etc/rc.common +# Copyright (C) 2006 OpenWrt.org +START=49 + +DAEMON=/usr/sbin/tincd +NAME=tinc +DESC=tinc daemons +TCONF=/etc/tinc +NETSFILE=$TCONF/nets.boot +NETS= + +find_nets () { + if [ ! -f $NETSFILE ] ; then +echo Please create $NETSFILE. +exit 0 + fi + NETS=`egrep '^[ ]*[a-zA-Z0-9_-]+[ ]*$' $NETSFILE` +} + +start () { +find_nets +echo -n Starting $DESC: +#do load the tun module - dpa +insmod tun + +for n in $NETS ; do + echo -n $n + $DAEMON -n $n $EXTRA +done +echo . +} + +stop() { +find_nets +echo -n Stopping $DESC: +for n in $NETS ; do + echo -n $n + $DAEMON -n $n $EXTRA -k +done +echo . +} + +restart () { +find_nets +echo -n Restarting $DESC: +for n in $NETS ; do + echo -n $n + $DAEMON -n $n $EXTRA -k + sleep 1 + $DAEMON -n $n $EXTRA +done +echo . +} + +reload () { +find_nets +echo -n Reloading $DESC configuration: +for n in $NETS ; do + echo -n $n + $DAEMON -n $n $EXTRA -kHUP +done +echo . +} Property changes on: net/tinc/files/tinc.init ___ Name: svn:executable + * Index: net/tinc/files/nets.boot === --- net/tinc/files/nets.boot(revision 0) +++ net/tinc/files/nets.boot(revision 0) @@ -0,0 +1,9 @@ +# Please enter the VPNs that should be automatically started while booting +# and stopped at shutdown (via /etc/init.d/tinc). Each VPN corresponds to +# a directery in /etc/tinc/ + +# vpn1 +# vpn2 +# ... + + Index: net/tinc/Makefile === --- net/tinc/Makefile (revision 11224) +++ net/tinc/Makefile (working copy) @@ -48,7 +48,11 @@ define Package/tinc/install $(INSTALL_DIR) $(1)/usr/sbin + $(INSTALL_DIR) $(1)/etc/tinc + $(CP) ./files/nets.boot $(1)/etc/tinc/ $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/tincd $(1)/usr/sbin/ + $(INSTALL_DIR) $(1)/etc/init.d + $(INSTALL_BIN) ./files/tinc.init $(1)/etc/init.d/tinc endef $(eval $(call BuildPackage,tinc)) ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH] packages: adds fftrace
adds the fftrace tool Signed-off-by: Jens Nachtigall nachtiga at informatik.hu-berlin.de --- Index: net/fftrace/Makefile === --- net/fftrace/Makefile(revision 0) +++ net/fftrace/Makefile(revision 0) @@ -0,0 +1,44 @@ +# +# Copyright (C) 2006 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# +# $Id$ + +include $(TOPDIR)/rules.mk +PKG_NAME:=fftrace +PKG_VERSION:=svn2008-04-09 +PKG_RELEASE:=1 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_SOURCE_URL:=http://www2.informatik.hu-berlin.de/~nachtiga/seismo/sources/ +PKG_MD5SUM:=25b48de293a26309bf198d455b172d34 + +PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) + +include $(INCLUDE_DIR)/package.mk + +define Package/fftrace + SECTION:=net + CATEGORY:=Network + DEPENDS:=+libncurses + TITLE:=olsr-route-link-quality monitor similar to traceroute + URL:=https://dev.open-mesh.net/fftrace/browser/trunk/ +endef + + +define Build/Compile + $(MAKE) -C $(PKG_BUILD_DIR) \ + $(TARGET_CONFIGURE_OPTS) \ + fftrace +endef + +define Package/fftrace/install + $(INSTALL_DIR) $(1)/usr/sbin + $(CP) $(PKG_BUILD_DIR)/fftrace $(1)/usr/sbin/ +endef + + + +$(eval $(call BuildPackage,fftrace)) ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel