Re: [OpenWrt-Devel] tune lzma options for kernel compression
Will do, thanks for testing this. 2010/4/11 Felix Fietkau n...@openwrt.org: On 2010-04-11 3:45 AM, Bernhard Loos wrote: Hello I don't know, if there is some non-obvious reason for the lzma kernel compression option, but I run a few tests and found a set of options, that produce a smaller kernel (from 777376 to 761786 bytes for a rdc vmlinux kernel). These changes need to be made RDC or x86 specific. RISC architectures typically need completely different LZMA options compared to x86, because of patterns in fixed vs variable instruction length code. I just compared your parameters with the default ones on a mips kernel binary, and here's the difference: default: 923668 bytes yours: 939529 bytes - Felix ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PATCH v2] Add support for net5501 SBC
Hi Philip, Le vendredi 9 avril 2010 23:26:19, Philip A. Prindeville a écrit : [ Since the last posting, rtz2 suggested that I remove DMI, ACPI, Mouse, Keyboard, and other unused drivers. ] This patch brings up the net5501 platform. Note that the x86/ target included support for all x86/ class processors. That's not technically correct. This should be constrained only to the generic subtarget. Every x86-class target that isn't generic should be able to select only the optimizations/capabilities applicable to that architectural variant. It's also assumed that all x86 processors have keyboard mouse ports, ISA, DMI, ACPI... the embedded ones typically don't. Again, moving that to the generic subtarget. Fortunately, this was a fairly benign tweak. The net5501 board includes the following logic: Geode/LX processor CS5535 super-I/O chip PC87360 sensor chip Via Rhine Ethernet controllers Via Sata controllers USB, LEDS, I2C Signed-off-by: Philip Prindeville philipp_s...@redfish-solutions.com Applied in r20794, thanks! signature.asc Description: This is a digitally signed message part. ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] Fwd: Update The Fine Offset Weather Station Reader
Le lundi 29 mars 2010 12:35:45, Arne-Jørgen Auberg a écrit : Hi, I have updated the Makefile to read a new fowsr package release. Applied in r20795, thanks! BR Arne-J. $ svn diff -r 2:52 https://fowsr.googlecode.com/svn/trunk/openwrt/Makefile Index: Makefile === --- Makefile(revisjon 2) +++ Makefile(revisjon 52) @@ -9,11 +9,11 @@ PKG_NAME:=fowsr PKG_VERSION:=1.0 -PKG_RELEASE:=20100323 +PKG_RELEASE:=20100329 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_RELEASE).tar.gz PKG_SOURCE_URL:=http://fowsr.googlecode.com/files -PKG_MD5SUM:=750cdac93b25c775f795612409c7c998 +PKG_MD5SUM:=66f788bb7103deaaade438fb6b9abafb PKG_CAT:=zcat PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) signature.asc Description: This is a digitally signed message part. ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PATCH v2] Add support for net5501 SBC
On 04/11/2010 06:37 AM, Florian Fainelli wrote: Hi Philip, Le vendredi 9 avril 2010 23:26:19, Philip A. Prindeville a écrit : [ Since the last posting, rtz2 suggested that I remove DMI, ACPI, Mouse, Keyboard, and other unused drivers. ] This patch brings up the net5501 platform. Note that the x86/ target included support for all x86/ class processors. That's not technically correct. This should be constrained only to the generic subtarget. Every x86-class target that isn't generic should be able to select only the optimizations/capabilities applicable to that architectural variant. It's also assumed that all x86 processors have keyboard mouse ports, ISA, DMI, ACPI... the embedded ones typically don't. Again, moving that to the generic subtarget. Fortunately, this was a fairly benign tweak. The net5501 board includes the following logic: Geode/LX processor CS5535 super-I/O chip PC87360 sensor chip Via Rhine Ethernet controllers Via Sata controllers USB, LEDS, I2C Signed-off-by: Philip Prindeville philipp_s...@redfish-solutions.com Applied in r20794, thanks! Merci bien! ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH] usb-modeswitch 1.1.1
Upgrade usb-modeswitch to latest version. Signed-off-by: Roberto Riggioroberto.rig...@create-net.org -- Index: utils/usb-modeswitch/Makefile === --- utils/usb-modeswitch/Makefile (revision 20785) +++ utils/usb-modeswitch/Makefile (working copy) @@ -8,12 +8,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=usb-modeswitch -PKG_VERSION:=1.1.0 +PKG_VERSION:=1.1.1 PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 PKG_SOURCE_URL:=http://www.draisberghof.de/usb_modeswitch -PKG_MD5SUM:=ca19c6d2b8f933133b5ea344474abc7d +PKG_MD5SUM:=4c2642a25cc1667c39f955f0465f46d6 include $(INCLUDE_DIR)/package.mk ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PATCH v2] Add support for net5501 SBC
On 04/09/2010 11:26 PM, Philip A. Prindeville wrote: [ Since the last posting, rtz2 suggested that I remove DMI, ACPI, Mouse, Keyboard, and other unused drivers. ] This patch brings up the net5501 platform. Why a new subtarget and not a new profile for the generic subtarget? ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] Adding an option for /etc/init.d/rcS to run to completion
Normally the system boots with the startup scripts in /etc/init.d/ being backgrounded by /etc/init.d/rcS, as in: if [ $1 = S ]; then run_scripts $1 $2 else run_scripts $1 $2 fi but I'm thinking it might be nice to allow a variable that controls backgrounding (i.e. optionally turning it off, so the default behavior remains the same). When rcS runs, how much initialization has already taken place, and can we pull config state out of /etc/config/system at that point? Maybe something like: config_load system config_get_bool foreground system foreground no if [ $1 = S -a $foreground = no ]; then run_scripts $1 $2 else run_scripts $1 $2 fi Does that seem reasonable? ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH] Option to allow boot to run to completion before starting shell
Setting the system variable foreground to yes causes the system to run the init scripts in series and wait for completion. This is useful if (a) you don't want the user getting into the console until the system is initialized, or (b) you have things going on in your scripts that require strict ordering (and no possible race conditions). Signed-off-by: Philip Prindeville phil...@redfish-solutions.com --- Index: package/base-files/files/etc/init.d/rcS === --- package/base-files/files/etc/init.d/rcS (revision 20795) +++ package/base-files/files/etc/init.d/rcS (working copy) @@ -10,7 +10,12 @@ LOGGER=cat [ -x /usr/bin/logger ] LOGGER=logger -s -p 6 -t sysinit -if [ $1 = S ]; then +. /etc/functions.sh + +config_load system +config_get_bool foreground system foreground no + +if [ $1 = S -a $foreground != yes ]; then run_scripts $1 $2 else run_scripts $1 $2 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PATCH v2] Add support for net5501 SBC
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hii. Why a new subtarget and not a new profile for the generic subtarget? Because there are plans to modernize the generic x86 target which will render the older Soekris hardware incompatible. ~ JoW -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkvB/h0ACgkQdputYINPTPMK1wCeJiu3fDnA6BdIi5sXBEmvFkJ3 IIAAn3MtXPp05LwGLauxPcS2VpORotN5 =BQU3 -END PGP SIGNATURE- ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PATCH v2] Add support for net5501 SBC
On 4/11/10 10:51 AM, Jo-Philipp Wich wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hii. Why a new subtarget and not a new profile for the generic subtarget? Because there are plans to modernize the generic x86 target which will render the older Soekris hardware incompatible. Indeed, if Soekris was willing to send me one of each (they're not, I already asked), I was going to add definitions for the net4801, the 4521, and the 6501. -Philip ~ JoW ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PATCH v2] Add support for net5501 SBC
I have a couple of 4801. Let me know if you need something tested on it. On 04/11/2010 07:33 PM, Philip Prindeville wrote: On 4/11/10 10:51 AM, Jo-Philipp Wich wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hii. Why a new subtarget and not a new profile for the generic subtarget? Because there are plans to modernize the generic x86 target which will render the older Soekris hardware incompatible. Indeed, if Soekris was willing to send me one of each (they're not, I already asked), I was going to add definitions for the net4801, the 4521, and the 6501. -Philip ~ JoW ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel -- Roberto Riggio, PhD CREATE-NET Pervasive Area Researcher Via alla Cascata 56/D - 38123 Povo Trento (Italy) e-mail: roberto.rig...@create-net.org Tel: (+39) 0461 408400 - interno/extension 708 Fax: (+39) 0461 421157 http://www.create-net.org/ The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited according to the Italian Law 196/2003 of the Legislature. If you received this in error, please contact the sender and delete the material from any computer. Le informazioni contenute in questo messaggio di posta elettronica e nei file allegati sono da considerarsi strettamente riservate. Il loro utilizzo e' consentito esclusivamente al destinatario del messaggio, per le finalita' indicate nel messaggio stesso. Qualora riceveste questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla cancellazione del messaggio stesso dal Vostro sistema. Trattenere il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalita' diverse, costituisce comportamento contrario ai principi dettati dal D. Lgs. 196/2003. ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PATCH] /etc/init.d/named startup script in Kamikaze
Le dimanche 21 mars 2010 12:48:06, Alvar Kusma a écrit : Kamikaze 8.09.2, package bind-server This patch fixes wrong error checking in stop() and adds checking for already running named. Signed-off-by: Alvar Kusma al...@raamat.polva.ee This patch is already in trunk and therefore in backfire 10.03. signature.asc Description: This is a digitally signed message part. ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [patch] ddns-scripts feature
Hello Tomasz, Le mercredi 24 mars 2010 12:30:15, Tomasz Fornal a écrit : Hello I added small feature to ddns-script form myself, but it might be useful for others. This enhancement allow user to specify any script to obtain IP address. In configuration file option ip_source should be set to script and option ip_script should contain path to user script. Script must just return IP address. I use this to obtain address from status page generated by my modem (and wait a little time if connection isn't established). I attach file with differences in the dynamic_dns_functions.sh file (and also proposed additions to configuration file). I hope i do it right (i don't have any experience with that :)). I edited this files right on my router. What do you think about this idea? Applied in r20810, thanks! signature.asc Description: This is a digitally signed message part. ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PATCH] usb-modeswitch 1.1.1
Le dimanche 11 avril 2010 17:24:10, Roberto Riggio a écrit : Upgrade usb-modeswitch to latest version. Signed-off-by: Roberto Riggioroberto.rig...@create-net.org Applied in r20809, thanks! signature.asc Description: This is a digitally signed message part. ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PATCH] FOWSR : wunderground format adjusted, added dew point, calculated rain hour/day/week/month
Le samedi 10 avril 2010 21:49:52, Arne-Jørgen Auberg a écrit : - Wunderground format adjusted - Added dew point - Added calculated rain hour/day/week/month Signed-off-by: Arne-Jørgen Auberg arne.jorgen.aub...@gmail.com Applied in r20795, thanks! signature.asc Description: This is a digitally signed message part. ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PATCH] swconfig: Check vlan/port indexes for validity.
Le vendredi 9 avril 2010 22:35:54, Jonas Gorski a écrit : Swconfig needs to make sure that requested vlans/ports actually exist, else it might read or modify memory not belonging to itself. This patch adds a quick range check in swconfig's kernel part to prevent accidential or intentional memory modification. Signed-off-by: Jonas Gorski jonas.gorski+open...@gmail.com Applied in r20811, thanks! signature.asc Description: This is a digitally signed message part. ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH] swconfig: Fix switch name.
This patch fixes a small typo in swconfig's client side that caused it to print the interface name instead of the switch's device name on the help page. Signed-off-by: Jonas Gorski jonas.gorski+open...@gmail.com --- package/swconfig/src/swlib.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/package/swconfig/src/swlib.c b/package/swconfig/src/swlib.c index 86b82de..59456a3 100644 --- a/package/swconfig/src/swlib.c +++ b/package/swconfig/src/swlib.c @@ -581,7 +581,7 @@ add_switch(struct nl_msg *msg, void *arg) if (tb[SWITCH_ATTR_ID]) dev-id = nla_get_u32(tb[SWITCH_ATTR_ID]); if (tb[SWITCH_ATTR_NAME]) - dev-name = strdup(nla_get_string(tb[SWITCH_ATTR_DEV_NAME])); + dev-name = strdup(nla_get_string(tb[SWITCH_ATTR_NAME])); if (tb[SWITCH_ATTR_PORTS]) dev-ports = nla_get_u32(tb[SWITCH_ATTR_PORTS]); if (tb[SWITCH_ATTR_VLANS]) -- 1.7.0 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel