Re: [OpenWrt-Devel] Xilinx Spartan 3E Starter Kit port - JFFS2 question
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 RHS Linux User wrote: Hi Harald, I tried to mount jffs2 today with Ubuntu (please see below) without success. I know the jffs2 file is OK since I install it in a Meraki Mini and the Meraki Mini runs OK. However, I tried to mount the file on the Meraki Mini with mount file.jffs2 mnt -t jffs2. Again it didn't work. I just tried with a recent asus-image on ubuntu = works. You must not take the images from bin/ , because they usually contain headers for the bootloader, the kernel and the image in some mangled layout. (This may be different on the meraki, it's totaly arch specific) Take the raw jffs2 images from build_dir/linux-subarch/*.jffs Thanks for the pointer to image.sh I will look at it tomorrow. Is there more than one JFFS2 format? I don't know whether jffs2 is fixed-endian or host-endian. harald ps: please try not to break threads by replying to arbitrary mails. - -- Harald Schiöberg Technische Universität Berlin | T-Laboratories | FG INET www: http://www.net.t-labs.tu-berlin.de Phone: +49-(0)30-8353-58476 | Fax: +49-(0)391 534 783 47 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIKsQOJgyxs71kcx4RAnTJAJ9AvoQt9TLjYuXPrgphAH4JHDi/eACfcdq1 Y3zCH4GW+4F/+s/rqSZyAa8= =Wbul -END PGP SIGNATURE- ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH 3/5] bcm963xx: remove obsolete timer code
This removes some code that has been deprecated in kernels = 2.6.24. Signed-off-by: Axel Gembe [EMAIL PROTECTED] --- .../060-bcm963xx_remove_obsolete_timer_code.patch | 59 1 files changed, 59 insertions(+), 0 deletions(-) create mode 100644 target/linux/brcm63xx/patches/060-bcm963xx_remove_obsolete_timer_code.patch diff --git a/target/linux/brcm63xx/patches/060-bcm963xx_remove_obsolete_timer_code.patch b/target/linux/brcm63xx/patches/060-bcm963xx_remove_obsolete_timer_code.patch new file mode 100644 index 000..79b4cd6 --- /dev/null +++ b/target/linux/brcm63xx/patches/060-bcm963xx_remove_obsolete_timer_code.patch @@ -0,0 +1,59 @@ +From b1f0b1cf172caaa4003365bc39577a58758f07e1 Mon Sep 17 00:00:00 2001 +From: Axel Gembe [EMAIL PROTECTED] +Date: Wed, 14 May 2008 00:25:28 +0200 +Subject: [PATCH 5/8] bcm963xx: remove obsolete timer code + +This removes some code that has been deprecated in kernels = 2.6.24. + +Signed-off-by: Axel Gembe [EMAIL PROTECTED] +--- + arch/mips/bcm963xx/time.c | 29 - + 1 files changed, 0 insertions(+), 29 deletions(-) + +diff --git a/arch/mips/bcm963xx/time.c b/arch/mips/bcm963xx/time.c +index fa0fa71..8a5007e 100644 +--- a/arch/mips/bcm963xx/time.c b/arch/mips/bcm963xx/time.c +@@ -71,26 +71,6 @@ static inline unsigned long __init cal_r4koff(void) + return (mips_hpt_frequency / HZ); + } + +- +-/* +- * There are a lot of conceptually broken versions of the MIPS timer interrupt +- * handler floating around. This one is rather different, but the algorithm +- * is provably more robust. +- */ +-#if 0 +-irqreturn_t brcm_timer_interrupt(struct pt_regs *regs) +-{ +- int irq = MIPS_TIMER_INT; +- +- irq_enter(); +- kstat_this_cpu.irqs[irq]++; +- +- timer_interrupt(irq, regs); +- irq_exit(); +- return IRQ_HANDLED; +-} +-#endif +- + void __init plat_time_init(void) + { + unsigned int est_freq, flags; +@@ -107,12 +87,3 @@ void __init plat_time_init(void) + (est_freq % 100) * 100 / 100); + local_irq_restore(flags); + } +- +-#if 0 +-void __init plat_timer_setup(struct irqaction *irq) +-{ +- r4k_cur = (read_c0_count() + r4k_offset); +- write_c0_compare(r4k_cur); +- set_c0_status(IE_IRQ5); +-} +-#endif +-- +1.5.5.1 + -- 1.5.5.1 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH] iw update
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi ! I wanted to have the multiple wlan devices on my bcm47xx Asus Wl500gP v1. The mac80211 stack supports it, but the iw utility in svn trunk does not. So here is the patch to update the iw utility. This line for example now adds a new virtual wifi interface to wmaster0, the physical interface # iw dev wmaster0 interface add foo type monitor Index: Makefile === - --- Makefile(revision 11136) +++ Makefile(working copy) @@ -9,8 +9,8 @@ include $(TOPDIR)/rules.mk PKG_NAME:=iw - -PKG_REV:=11b24c28b802bae2abda8f46d457df60fa602594 - -PKG_VERSION:=20071130_$(PKG_REV) +PKG_REV:=4d3a72da3f21761bf4f2866a6a3400d4ecf67365 +PKG_VERSION:=20080414_$(PKG_REV) PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz - -- Joerg Jungermann - Rechnerbetrieb Mathematik | Zustaendig fuer: Universitaet-Paderborn - Fakultaet 5 | Linux, Web -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIKuYrsta551Pt/1URAjMhAJ91/xrJzUeELqRVx4isPOBqMeSTaQCePIYv L0c027k/ql0SEAZ1SCeQ6AY= =/PE4 -END PGP SIGNATURE- ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH] privoxy boost 3.0.8
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi This patch boost privoxy to version 3.0.8, to support transparent (intercepting) proxiing of HTTP/80 connections. cya Index: privoxy/Makefile === - --- privoxy/Makefile(revision 11136) +++ privoxy/Makefile(working copy) @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=privoxy - -PKG_VERSION:=3.0.6 +PKG_VERSION:=3.0.8 PKG_RELEASE:=3 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-stable-src.tar.gz - -- Joerg Jungermann - Rechnerbetrieb Mathematik | Zustaendig fuer: Universitaet-Paderborn - Fakultaet 5 | Linux, Web -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIKudqsta551Pt/1URAh2TAJ0UGz7lDI4RsoXvT2Ui6X2iNemaPgCgl+LO aFm4ofyBFkUEp+Oj7vWB+tY= =2EJA -END PGP SIGNATURE- ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] kmod-leds-wrap not compiled
Hi, I'm using the trunl version of kamikaze and I've selected the kmod-leds-wrap However it seems like the module is not compiled and anyway it is not listed by lsmod on the running box. Is anybody using this module on the wrap boards? Thanks -- Roberto Riggio, PhD CREATE-NET Via alla Cascata 56/C 38100 Trento (Italy) E-mail: [EMAIL PROTECTED] HomePage: http://disi.unitn.it/~riggio/ Tel: +39.0461.314.960 Fax: +39.0461.314.972 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH] postgres initdb fix
The attached patch includes /usr/share/postgresql/snowball_create.sql in the pgsql-server package. This is needed by initdb to actually create a new database. Also available at http://pastebin.ca/1018274 Signed-off-by: Jeremy Jones jjones at pavlovmedia.com -- Index: packages/libs/postgresql/Makefile === --- packages/libs/postgresql/Makefile (revision 11008) +++ packages/libs/postgresql/Makefile (working copy) @@ -10,7 +10,7 @@ PKG_NAME:=postgresql PKG_VERSION:=8.3.0 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 @@ -223,6 +223,7 @@ $(PKG_INSTALL_DIR)/usr/share/postgresql/psqlrc.sample \ $(PKG_INSTALL_DIR)/usr/share/postgresql/recovery.conf.sample \ $(PKG_INSTALL_DIR)/usr/share/postgresql/system_views.sql \ + $(PKG_INSTALL_DIR)/usr/share/postgresql/snowball_create.sql \ $(1)/usr/share/postgresql $(INSTALL_DATA) ./files/postgresql.config $(1)/etc/config/postgresql -- Jeremy Jones Lead Systems Engineer Pavlov Media Inc. [EMAIL PROTECTED] 217.353.3023 -- Jeremy Jones Lead Systems Engineer Pavlov Media Inc. [EMAIL PROTECTED] 217.353.3023 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PATCH 1/2] kernel: allow kernel modules to have a configuration definition
Axel Gembe wrote: This patch makes kernel modules check if config is defined and creates a config passthrough target which will evaluate the original config in the generated package. This is done so kernel modules can have configuration menus like busybox, etc... Signed-off-by: Axel Gembe [EMAIL PROTECTED] --- include/kernel.mk |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/include/kernel.mk b/include/kernel.mk index 52355dc..6d03683 100644 --- a/include/kernel.mk +++ b/include/kernel.mk @@ -120,6 +120,12 @@ $(call KernelPackage/$(1)/description) endef endif + ifdef KernelPackage/$(1)/config +define Package/kmod-$(1)/config +$(call KernelPackage/$(1)/config) +endef + endif + ifneq ($(if $(KCONFIG),$(filter m,$(foreach c,$(filter-out %=y %=n %=m,$(KCONFIG)),$($(c,.),) ifneq ($(strip $(FILES)),) define Package/kmod-$(1)/install Committed r11139. Thanks Travis ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PATCH 2/2] madwifi: make hal, bus and rate control configurable
Axel Gembe wrote: This patch adds a number of configuration options to the MadWifi package. You can now configure the HAL, bus, default rate control algorithm as well as the debug mode from within make menuconfig. The goal is to be able to support hardware profiles with different HALs without messing around with the Makefile directly. Signed-off-by: Axel Gembe [EMAIL PROTECTED] --- package/madwifi/Config.in | 152 + package/madwifi/Makefile | 144 -- 2 files changed, 261 insertions(+), 35 deletions(-) create mode 100644 package/madwifi/Config.in diff --git a/package/madwifi/Config.in b/package/madwifi/Config.in new file mode 100644 index 000..d2bc4e0 --- /dev/null +++ b/package/madwifi/Config.in @@ -0,0 +1,152 @@ +# MadWifi configuration + +config MADWIFI_DEBUG + bool Enable compilation of debugging features + depends on EXPERIMENTAL + default n + +choice + prompt Bus selection + default MADWIFI_BUS_DEFAULT + help + This option controls how MadWifi communicates with the hardware. + +config MADWIFI_BUS_DEFAULT + bool Use default bus + help + This makes MadWifi determine the needed bus based on the target + hardware. This will generally work most of the time, but there are some + cases where you need to override it. + +config MADWIFI_BUS_PCI + bool Use PCI bus + depends on PCI_SUPPORT + +config MADWIFI_BUS_AHB + bool Use AHB bus + depends on TARGET_atheros + +endchoice + +choice + prompt HAL selection + default MADWIFI_HAL_DEFAULT + help + This option controls how MadWifi communicates with the hardware. + +config MADWIFI_HAL_DEFAULT + bool Use default HAL + help + This makes MadWifi determine the needed HAL based on the target + hardware. This will generally work most of the time, but there are some + cases where you need to override it. + +config MADWIFI_HAL_MIPS_BE_ELF + bool Use MIPS big endian ELF HAL + depends on mips + depends on BIG_ENDIAN + +config MADWIFI_HAL_MIPS_LE_ELF + bool Use MIPS little endian ELF HAL + depends on mips + depends on !BIG_ENDIAN + +config MADWIFI_HAL_I386_ELF + bool Use i386 ELF HAL + depends on TARGET_x86 + +config MADWIFI_HAL_XSCALE_BE_ELF + bool Use XScale big endian ELF HAL + depends TARGET_ixp4xx + depends on BIG_ENDIAN + +config MADWIFI_HAL_XSCALE_LE_ELF + bool Use XScale little endian ELF HAL + depends TARGET_iop32x + depends on !BIG_ENDIAN + +config MADWIFI_HAL_ARMV4_LE_ELF + bool Use ARMV4 little endian ELF HAL + depends TARGET_storm + depends on !BIG_ENDIAN + +config MADWIFI_HAL_AP30 + bool Use AP30 HAL + depends on TARGET_atheros + +config MADWIFI_HAL_AP43 + bool Use AP43 HAL + depends on TARGET_atheros + +config MADWIFI_HAL_AP51 + bool Use AP51 HAL + depends on TARGET_atheros + +config MADWIFI_HAL_AP61 + bool Use AP61 HAL + depends on TARGET_atheros + +endchoice + +choice + prompt Rate control algorithm selection + default MADWIFI_RCA_MINSTREL + help + This option controls how MadWifi chooses its bitrate. + +config MADWIFI_RCA_MINSTREL + bool Use the Minstrel rate control algorithm + help + This code is takes a wandering minstrel approach. Wander around the + different rates, singing wherever you can. And then, look at the + performance, and make a choice. Note that the wandering minstrel will + always wander in directions where he/she feels he/she will get paid + the best for his/her work. + +config MADWIFI_RCA_ONOE + bool Use the Onoe rate control algorithm + help + Onoe is a credit based RCA where the value of the credit is determined + by the frequency of successful, erroneous and retransmissions + accumulated during a fixed invocation period of 1000 ms. If less than + 10% of the packets need to be retransmitted at a particular rate, Onoe + keeps increasing its credit point till the threshold value of 10 is + reached. At this point, the current transmission rate is increased to + the next available higher rate and the process repeated with credit + score of zero. Similar logic holds for deducting the credit score and + moving to a lower bit-rate for failed packet + transmission/retransmission attempts. However, once a bit-rate has + been marked as failure in the previous attempt, Onoe will not attempt + to select that bit-rate until 10 seconds have elapsed since the last + attempt. Due to the manner in which it operates, Onoe is conservative + in rate selection and is less sensitive to individual packet failure. + +config MADWIFI_RCA_AMRR + bool Use the
Re: [OpenWrt-Devel] [PATCH] postgres initdb fix
On Wed, May 14, 2008 at 2:57 PM, Jeremy Jones [EMAIL PROTECTED] wrote: The attached patch includes /usr/share/postgresql/snowball_create.sql in the pgsql-server package. This is needed by initdb to actually create a new database. Also available at http://pastebin.ca/1018274 Signed-off-by: Jeremy Jones jjones at pavlovmedia.com -- Index: packages/libs/postgresql/Makefile === --- packages/libs/postgresql/Makefile (revision 11008) +++ packages/libs/postgresql/Makefile (working copy) @@ -10,7 +10,7 @@ PKG_NAME:=postgresql PKG_VERSION:=8.3.0 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 @@ -223,6 +223,7 @@ $(PKG_INSTALL_DIR)/usr/share/postgresql/psqlrc.sample \ $(PKG_INSTALL_DIR)/usr/share/postgresql/recovery.conf.sample \ $(PKG_INSTALL_DIR)/usr/share/postgresql/system_views.sql \ + $(PKG_INSTALL_DIR)/usr/share/postgresql/snowball_create.sql \ $(1)/usr/share/postgresql $(INSTALL_DATA) ./files/postgresql.config $(1)/etc/config/postgresql -- Jeremy Jones Lead Systems Engineer Pavlov Media Inc. [EMAIL PROTECTED] 217.353.3023 -- Jeremy Jones Lead Systems Engineer Pavlov Media Inc. [EMAIL PROTECTED] 217.353.3023 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel Committed r11141. Thanks Travis ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel