[OpenWrt-Devel] [PATCH] [packages] ipv6/ipv6calc: Update to 0.82

2011-04-26 Thread Jonas Gorski
Update ipv6calc to newest 0.82. This reduces the binary sizes significantly. Signed-off-by: Jonas Gorski jonas.gorski+open...@gmail.com --- This is only compile tested, not runtime tested (currently lacking a device with enough space). As a comparison with the unstripped binaries (size doesn't

[OpenWrt-Devel] [PATCH V2 2/2] bcm63xx: Add support for the T-Home Speedport W 303V

2011-04-26 Thread Jonas Gorski
Add the required board definition, default config and image generation for the T-Home Speedport W 303V Typ B. Signed-off-by: Jonas Gorski jonas.gorski+open...@gmail.com --- Changes V1 - V2: * Renamed the board patch so its number doesn't conflict * Changed the function divider for the power

[OpenWrt-Devel] [PATCH V2 0/2] bcm63xx: Add Support for the T-Home Speedport W 303V Typ B

2011-04-26 Thread Jonas Gorski
* Changed the function divider for the power/adsl led from / to + Jonas Gorski (2): bcm63xx: Add firmware helpers for T-Home Speedport W 303V bcm63xx: Add support for the T-Home Speedport W 303V .../base-files/etc/defconfig/96358-502V/network| 14 ++ target/linux/brcm63xx/base-files/lib

[OpenWrt-Devel] [PATCH V2 1/2] bcm63xx: Add firmware helpers for T-Home Speedport W 303V

2011-04-26 Thread Jonas Gorski
Add two helpers for generating correctly tagged images for the T-Home Speedport W 303V Typ B as well as xor'd ones as required by CFE. Signed-off-by: Jonas Gorski jonas.gorski+open...@gmail.com --- tools/firmware-utils/Makefile |2 + tools/firmware-utils/src/spw303v.c | 242

[OpenWrt-Devel] [PATCH V2] swconfig: Replace SPIN_LOCK_UNLOCKED with DEFINE_SPINLOCK

2011-04-26 Thread Jonas Gorski
SPIN_LOCK_UNLOCKED has been deprecated since 2.6.19 and will get removed in 2.6.39, so replace it with DEFINE_SPINLOCK(). Signed-off-by: Jonas Gorski jonas.gorski+open...@gmail.com --- Changes V1 - V2: * Fix typos in message .../linux/generic/files/drivers/net/phy/swconfig.c |2 +- 1 files

[OpenWrt-Devel] [PATCH] madwifi: Fix compilation for 2.6.39

2011-04-26 Thread Jonas Gorski
Fix compilation for 2.6.39 by replacing SPIN_LOCK_UNLOCKED with DEFINE_SPINLOCK(). Signed-off-by: Jonas Gorski jonas.gorski+open...@gmail.com --- package/madwifi/patches/475-2.6.39-compile.patch | 11 +++ 1 files changed, 11 insertions(+), 0 deletions(-) create mode 100644 package

Re: [OpenWrt-Devel] [PATCH] swconfig: Rplace SPIN_LOCK_UNLOCKED with DEFINE_SPINLCCK

2011-04-23 Thread Jonas Gorski
On 21 April 2011 05:11, Jonas Gorski jonas.gorski+open...@gmail.com wrote: [PATCH] swconfig: Rplace SPIN_LOCK_UNLOCKED with DEFINE_SPINLCCK Rplace? SPINLCCK?! in 2.6.39, so replace it with DEFINE_SPIN_LOCK(). and this should be _SPINLOCK ... . Wow, how did I manage to put three typos

[OpenWrt-Devel] [RFT 1/4] package/kernel: Remove $(KMOD_SUFFIX) usage

2011-04-22 Thread Jonas Gorski
Since there's only 2.6 in trunk $(KMOD_SUFFIX) can be safely replaced with ko for all mainline kernel modules. Signed-off-by: Jonas Gorski jonas.gorski+open...@gmail.com --- package/kernel/modules/block.mk | 30 +++--- package/kernel/modules/netfilter.mk |2

[OpenWrt-Devel] [RFT 3/4] package/kernel: netfilter: Remove 2.4/2.6 references

2011-04-22 Thread Jonas Gorski
There's only 2.6, so it doesn't make sense to mention modules that are 2.4 only or for modules that they are available only for 2.6. Signed-off-by: Jonas Gorski jonas.gorski+open...@gmail.com --- package/kernel/modules/netfilter.mk | 20 1 files changed, 8 insertions

[OpenWrt-Devel] [RFT 4/4] package/kernel: crypto: Remove renamed modules hack

2011-04-22 Thread Jonas Gorski
Since the oldest kernel in trunk is 2.6.30 the modules always use the newer names, so we can just use the _generic prefix directly. Signed-off-by: Jonas Gorski jonas.gorski+open...@gmail.com --- package/kernel/modules/crypto.mk | 32 +--- 1 files changed, 9

[OpenWrt-Devel] [RFT 2/4] package/kernel: Remove all 2.4 definitions

2011-04-22 Thread Jonas Gorski
With no 2.4 support in trunk, we can safely remove any 2.4 definitions for kmods and merge the 2.6 definitions into the generic ones. Signed-off-by: Jonas Gorski jonas.gorski+open...@gmail.com --- package/kernel/modules/block.mk | 47 -- package/kernel/modules

[OpenWrt-Devel] [RFT 0/4] package/kernel: Remove old kernel cruft

2011-04-22 Thread Jonas Gorski
compiled it for bcm63xx and it built all modules, but I would be glad if someone else can confirm I didn't break any modules. Jonas Gorski (4): package/kernel: Remove $(KMOD_SUFFIX) usage package/kernel: Remove all 2.4 definitions package/kernel: netfilter: Remove 2.4/2.6 references

[OpenWrt-Devel] [PATCH] swconfig: Rplace SPIN_LOCK_UNLOCKED with DEFINE_SPINLCCK

2011-04-21 Thread Jonas Gorski
SPIN_LOCK_UNLOCKED has been deprecated since 2.6.19 and will get removed in 2.6.39, so replace it with DEFINE_SPIN_LOCK(). Signed-off-by: Jonas Gorski jonas.gorski+open...@gmail.com --- .../linux/generic/files/drivers/net/phy/swconfig.c |2 +- 1 files changed, 1 insertions(+), 1 deletions

[OpenWrt-Devel] [PATCH 1/3] bcm63xx: Decouple Board ID and image name for fixup

2011-04-21 Thread Jonas Gorski
Make the fixup board ID independent from the image name to allow using the same board ID for similar devices. Signed-off-by: Jonas Gorski jonas.gorski+open...@gmail.com --- target/linux/brcm63xx/image/Makefile | 18 +- 1 files changed, 9 insertions(+), 9 deletions(-) diff

[OpenWrt-Devel] [PATCH 2/3] bcm63xx: Accept any led with power in its name as power led

2011-04-21 Thread Jonas Gorski
Signed-off-by: Jonas Gorski jonas.gorski+open...@gmail.com --- target/linux/brcm63xx/base-files/etc/diag.sh |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/target/linux/brcm63xx/base-files/etc/diag.sh b/target/linux/brcm63xx/base-files/etc/diag.sh index cda52ac..d492cd5

[OpenWrt-Devel] [PATCH 0/3] bcm63xx: Update support for DSL-274xB

2011-04-21 Thread Jonas Gorski
conventions. Since this screws up the power LED detection, I changed it to just accept anything containing power in its name. Jonas Gorski (3): bcm63xx: Decouple Board ID and image name for fixup bcm63xx: Accept any led with power in its name as power led bcm63xx: Update support for the DSL

[OpenWrt-Devel] [PATCH 3/3] bcm63xx: Update support for the DSL-274xB revision C

2011-04-21 Thread Jonas Gorski
Rename the DSL-274xB rev C2's board ID to AW4139 to match the one used for the rev C3 (same hardware) and add a fixup for C2. Also generate images for C3. While we are at it, rename the LEDs to conform to the Linux LED naming conventions. Signed-off-by: Jonas Gorski jonas.gorski+open

[OpenWrt-Devel] [RFC] generic: Include IPv6 support into the kernel for 2.6.38+

2011-04-21 Thread Jonas Gorski
2.6.38 introduced a dependency from bridge to IPv6. Since IPv6 support will probably get much more important in the next years anyway, it should be OK to just include it in the kernel for 2.6.38 and later. Signed-off-by: Jonas Gorski jonas.gorski+open...@gmail.com --- package/kernel/modules/001

Re: [OpenWrt-Devel] [PATCH] cmus music player Makefile

2011-04-11 Thread Jonas Gorski
Hello Johannes, On 11 April 2011 12:27, Johannes Weißl jar...@molb.org wrote: Another question regarding the Makefile: The current version depends on libmad, libvorbisidec and libflac. Cmus supports many more input/output plugins. What is the best way to handle that? 1. Just depend on the

[OpenWrt-Devel] [PATCH] ar71xx: Add support for WZR-HP-G301NH

2011-04-11 Thread Jonas Gorski
that it now is for more than one device. Signed-off-by: Jonas Gorski jonas.gorski+open...@gmail.com --- This device needs either the removal patch for the realtek phy drivers or the modification of the realtek phy probe, else the wan port (eth1) is dysfunctional. .../base-files/etc/defconfig

Re: [OpenWrt-Devel] Handling a PHY that spans multiple PHY addresses

2011-04-10 Thread Jonas Gorski
On 10 April 2011 12:09, Peter Lebbing pe...@digitalbrains.com wrote: So, do you have any ideas on the best way to properly handle this PHY that looks like 32 PHYs? Take a look at ar71xx, they define a (machine dependent) phy mask for each eth that says at which phy addresses a device may

Re: [OpenWrt-Devel] Handling a PHY that spans multiple PHY addresses

2011-04-10 Thread Jonas Gorski
On 10 April 2011 17:54, David Goodenough david.goodeno...@linkchoose.co.uk wrote: and of course the Pro uses a different switch, the AR8216. Actually the AR8316 ;-). But similar to the ADM6996M/FC, the internal switch registers are accessed through the MDIO interface by reading and writing to

[OpenWrt-Devel] [RFC 1/4] mac80211: b43: Add Firmware 5.10.56.27

2011-04-10 Thread Jonas Gorski
Add the 5.10.56.27 firmware option. This includes updating b43-fwcutter to its newest release 14 and updating the b43-fwsquash.py to recognise rev 16 n phy files. Also rename the current options from STABLE/EXPERIMENTAL to their version numbers. Signed-off-by: Jonas Gorski jonas.gorski+open

[OpenWrt-Devel] [RFC 2/4] mac80211: b43: Expose debug option

2011-04-10 Thread Jonas Gorski
Allow enabling debug output and debugfs for B43. Signed-off-by: Jonas Gorski jonas.gorski+open...@gmail.com --- package/mac80211/Makefile | 12 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/package/mac80211/Makefile b/package/mac80211/Makefile index c48f172

[OpenWrt-Devel] [RFC 3/4] mac80211: b43: Expose PIO mode fallback

2011-04-10 Thread Jonas Gorski
Allow reenabling the PIO mode fallback for b43. Signed-off-by: Jonas Gorski jonas.gorski+open...@gmail.com --- package/mac80211/Makefile | 12 ++ package/mac80211/patches/810-b43_no_pio.patch | 30 ++-- 2 files changed, 29 insertions(+), 13

[OpenWrt-Devel] [RFC 4/4] mac80211: b43: Expose N-PHY support

2011-04-10 Thread Jonas Gorski
Allow enabling of N-PHY support for BCM4321 and BCM4322. Signed-off-by: Jonas Gorski jonas.gorski+open...@gmail.com --- package/mac80211/Makefile | 16 1 files changed, 16 insertions(+), 0 deletions(-) diff --git a/package/mac80211/Makefile b/package/mac80211/Makefile index

[OpenWrt-Devel] [RFC 0/4] mac80211: b43: Make N-PHY support available

2011-04-10 Thread Jonas Gorski
there is no support for actual 11n, and on the TX side it is afaik limited to 11M. RX should work with up to 54M. Jonas Gorski (4): mac80211: b43: Add Firmware 5.10.56.27 mac80211: b43: Expose debug option mac80211: b43: Expose PIO mode fallback mac80211: b43: Expose N-PHY support package/mac80211

Re: [OpenWrt-Devel] [RFC 0/4] mac80211: b43: Make N-PHY support available

2011-04-10 Thread Jonas Gorski
2011/4/10 Rafał Miłecki zaj...@gmail.com: 2011/4/10 Jonas Gorski jonas.gorski+open...@gmail.com: Also there is no support for actual 11n, and on the TX side it is afaik limited to 11M. RX should work with up to 54M. Thank you Jonas for bringing this to OpenWRT. The problem with kernel 2.6.38

Re: [OpenWrt-Devel] [RFC 1/4] mac80211: b43: Add Firmware 5.10.56.27

2011-04-10 Thread Jonas Gorski
2011/4/10 Rafał Miłecki zaj...@gmail.com: 2011/4/10 Jonas Gorski jonas.gorski+open...@gmail.com: Add the 5.10.56.27 firmware option. This includes updating b43-fwcutter to its newest release 14 and updating the b43-fwsquash.py to recognise rev 16 n phy files. Do you maybe have any idea who

Re: [OpenWrt-Devel] [RFC 1/4] mac80211: b43: Add Firmware 5.10.56.27

2011-04-10 Thread Jonas Gorski
confuse people. I'll rename the config symbols and work the firmware version into the description/help text, so that it contains both without (hopefully) causing too much confusion. 2011/4/10 Jonas Gorski jonas.gorski+open...@gmail.com: -       config B43_STABLE +       config B43_FW_4_150

Re: [OpenWrt-Devel] [PATCH] RTL8366S/RB: Remove the PHY driver.

2011-04-09 Thread Jonas Gorski
On 8 April 2011 21:52, Jonas Gorski jonas.gorski+open...@gmail.com wrote: Since the PHY driver is only used for the WAN port and there is virtually no difference between it and the generic PHY driver, we can sefely remove it. Signed-off-by: Jonas Gorski jonas.gorski+open...@gmail.com

Re: [OpenWrt-Devel] [PATCH] 802.1Q VLAN support for Infineon ADM6996 switch chip

2011-04-08 Thread Jonas Gorski
On 7 April 2011 12:04, Peter Lebbing pe...@digitalbrains.com wrote: Any chance that you can get a datasheet for the FC chip? It would help implementing FC functionality a lot. I can ask them, but I doubt it. For what they care, I am not much more than a random guy on the internet ;-) Also

Re: [OpenWrt-Devel] 802.1Q VLAN support for Infineon ADM6996 switch chip for UBNT RouterStation

2011-04-08 Thread Jonas Gorski
On 6 April 2011 16:18, Yeoh Chun Yeow yeohchuny...@gmail.com wrote: Hi, Jonas, UBNT RS has two ports connected to eth1, port 0 and port 1. If you connect your Ethernet cable to port 0 without first connecting Ethernet cable to port 1, it won't work. You will see a lot of messages Trying

Re: [OpenWrt-Devel] [PATCH] rtl8366s/rb: Move PHY driver MII bus check into probe

2011-04-08 Thread Jonas Gorski
Okay, disregard this patch. Equate on IRC was kind enough to test for me that at least the WNDR3700 is fine with having no Realtek PHY driver. I'll send a new one removing it. Jonas ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org

[OpenWrt-Devel] [PATCH] RTL8366S/RB: Remove the PHY driver.

2011-04-08 Thread Jonas Gorski
Since the PHY driver is only used for the WAN port and there is virtually no difference between it and the generic PHY driver, we can sefely remove it. Signed-off-by: Jonas Gorski jonas.gorski+open...@gmail.com --- This has been tested on a WNDR3700 v1 and it didn't show any obvious problems

Re: [OpenWrt-Devel] [PATCH] 802.1Q VLAN support for Infineon ADM6996 switch chip

2011-04-06 Thread Jonas Gorski
On 5 April 2011 14:00, Jonas Gorski jonas.gorski+open...@gmail.com wrote: I talked with the Lantiq guys, and they said there should be differences in the default reset values of some registers, so only indirect hints. Probably you should dump the (default) register values of the FC and the M

Re: [OpenWrt-Devel] 802.1Q VLAN support for Infineon ADM6996 switch chip for UBNT RouterStation

2011-04-06 Thread Jonas Gorski
On 5 April 2011 08:52, Yeoh Chun Yeow yeohchuny...@gmail.com wrote: Any reason why the first configuration failed? config 'switch_vlan'     option 'ports' '0t 1 5t' config 'switch_vlan'     option 'ports' '0t 1 5t' Generally you can't have a port untagged for more than one VLAN,

Re: [OpenWrt-Devel] [PATCH] 802.1Q VLAN support for Infineon ADM6996 switch chip

2011-04-05 Thread Jonas Gorski
Hi, On 3 April 2011 15:28, Peter Lebbing pe...@digitalbrains.com wrote: Yeah, that's the whole problem. If I look at the datasheets I can find about the F model, it would seem the chip identification will not match at all. In practice, it turns out people with a chip labeled as FC have a

Re: [OpenWrt-Devel] [PATCH] rtl8366s/rb: Move PHY driver MII bus check into probe

2011-04-05 Thread Jonas Gorski
On 4 April 2011 11:23, Jonas Gorski jonas.gorski+open...@gmail.com wrote: Both RTL8366x PHY drivers use the same PHY ID, so both match for either chip, which results in the following behavior when using a RTL8366RB with Port 4 as separate WAN port (seen on a WZR-HP-G301NH):  - rtl8366rb

[OpenWrt-Devel] [PATCH] rtl8366s/rb: Move PHY driver MII bus check into probe

2011-04-04 Thread Jonas Gorski
... - rtl8366s_phy_config_init gets called and fails (since wrong MII bus) - eth1 is unsable Moving the MII bus check into the probe fixes this as then the next matching driver gets tried (the correct rtl8366rb phy driver), but this produces a bit of log spam (each failed probe get reported). Signed-off-by: Jonas

Re: [OpenWrt-Devel] [PATCH] 802.1Q VLAN support for Infineon ADM6996 switch chip

2011-04-03 Thread Jonas Gorski
On 3 April 2011 14:16, Peter Lebbing pe...@digitalbrains.com wrote: This driver implements support for 802.1Q VLANs. It is written for the ADM6996M switch chip, but there are currently problems with the chip detection. It also triggers on other ADM6996 models, and before this patch can be

Re: [OpenWrt-Devel] [PATCH] 802.1Q VLAN support for Infineon ADM6996 switch chip

2011-04-03 Thread Jonas Gorski
On 3 April 2011 15:28, Peter Lebbing pe...@digitalbrains.com wrote: Hi, On 03/04/11 14:37, Jonas Gorski wrote: Looking at the datasheet, the chip seems to have Chip ID registers at A0/A1 (p. 161). You can try to read them in the adm6996_probe and use them to verify the chip is an ADM6996M

[OpenWrt-Devel] [PATCH V2] bcm63xx: Move the OpenWrt rootfs length field

2011-04-03 Thread Jonas Gorski
the reserved1 field. Since the reserved1 field is now completely in use, it does not make sense to allow it to be set from the imagetag utility, so remove the option. Signed-off-by: Jonas Gorski jonas.gorski+open...@gmail.com --- V1 - V2: Used gengetopt to regenerate imagetag_cmdline.* .../arch/mips

[OpenWrt-Devel] [PATCH 2/2] bcm63xx: Add support for the T-Home Speedport W 303V

2011-04-03 Thread Jonas Gorski
Add the required board definition, default config and image generation for the T-Home Speedport W 303V Typ B. Signed-off-by: Jonas Gorski jonas.gorski+open...@gmail.com --- .../base-files/etc/defconfig/96358-502V/network| 14 target/linux/brcm63xx/base-files/lib/brcm63xx.sh |5

[OpenWrt-Devel] [PATCH 0/2] Add Support for the T-Home Speedport W 303V Typ B

2011-04-03 Thread Jonas Gorski
of the device. Initial flashing is easy, but subsequent flashing through CFE is a bit harder since this is a dual image CFE. The wireless in this device (a BCM4322) only works with the proprietiary broadcom driver, but with it it can be used as an AP. Jonas Gorski (2): bcm63xx: Add firmware helpers

[OpenWrt-Devel] [PATCH 1/2] bcm63xx: Add firmware helpers for T-Home Speedport W 303V

2011-04-03 Thread Jonas Gorski
Add two helpers for generating correctly tagged images for the T-Home Speedport W 303V Typ B as well as xor'd ones as required by CFE. Signed-off-by: Jonas Gorski jonas.gorski+open...@gmail.com --- tools/firmware-utils/Makefile |2 + tools/firmware-utils/src/spw303v.c | 242

Re: [OpenWrt-Devel] [PATCH] bcm63xx: Move the OpenWrt rootfs length field

2011-04-02 Thread Jonas Gorski
On 2 April 2011 13:08, Florian Fainelli flor...@openwrt.org wrote: Hello, Le samedi 02 avril 2011 07:25:32, Daniel Dickinson a écrit : Hi, Did Florian apply this already? I did not yet, will do during the weekend. Please wait for a V2. If not could I get you to redo the command line

[OpenWrt-Devel] [PATCH] bcm63xx: Really fix the flash driver in 2.6.37

2011-03-06 Thread Jonas Gorski
Read back the actual rootfs length from the image tag. Signed-off-by: Jonas Gorski jonas.gorski+open...@gmail.com --- (Hopefully) *sigh* third time is the charm. This time thoroughly tested on two different devices. I chose to put these changes into its own patch as it's unreleated

[OpenWrt-Devel] [PATCH] squashfs4: Add support for LZMA Magic to unsquashfs.

2011-03-01 Thread Jonas Gorski
Some vendor firmwares use a different super block magic to indicate LZMA compression. This patches adds support for detecting this and enable extraction for those firmware's root filesystems. Signed-off-by: Jonas Gorski jonas.gorski+open...@gmail.com --- I chose to only add this to unsquashfs

Re: [OpenWrt-Devel] ar8216 doesn't pass data between ports

2011-02-27 Thread Jonas Gorski
Hi, On 26 February 2011 20:20, Luca Olivetti l...@ventoso.org wrote: I'm still trying to make openwrt work on my router (now a lantiq target, previously ifxmips) and I just noticed that the switch (an ar8216) doesn't pass data between ports, i.e (warning, lousy ASCII art follows): Do you

[OpenWrt-Devel] [PATCH] bcm63xx: Fix build of brcm-wl.

2011-02-04 Thread Jonas Gorski
The fallback needs to be exported for bcm63xx, too. Runtime tested with a BCM4322 on a BCM6358. Signed-off-by: Jonas Gorski jonas.gorski+open...@gmail.com --- .../977-ssb_export_fallback_sprom.patch| 20 1 files changed, 20 insertions(+), 0 deletions(-) create

[OpenWrt-Devel] [PATCH] bcm63xx: Fix T-Com Speedport W 500V default config.

2011-02-04 Thread Jonas Gorski
The device is called SPW500V, not SP500W. Signed-off-by: Jonas Gorski jonas.gorski+open...@gmail.com --- Quite an embarressing typo. .../base-files/etc/defconfig/SP500W/network| 14 -- .../base-files/etc/defconfig/SPW500V/network | 14 ++ 2 files

Re: [OpenWrt-Devel] WRT610n v2 support

2010-12-18 Thread Jonas Gorski
On 18 December 2010 04:50, Ryan Bair ryandb...@gmail.com wrote: It looks like there is source code for this router from linksys, looks to be binary free too. Has anyone looked at these? At first glance, they seem to be complete and binary free, although 2.4 based. Yes, but probably some of

Re: [OpenWrt-Devel] WRT610n v2 support

2010-12-18 Thread Jonas Gorski
Okay, the patch(es) can be found at http://page.mi.fu-berlin.de/jgorski/openwrt/bcm47xx/, either as a patch against trunk or as individual patches against the linux-mips git tree. Note that the OpenWrt patch removes two patches that get replaced by these patches. Also I didn't make sure it

Re: [OpenWrt-Devel] WRT610n v2 support

2010-12-18 Thread Jonas Gorski
On 18 December 2010 18:59, Hauke Mehrtens ha...@hauke-m.de wrote: In 0008-SSB-Add-support-for-the-PMU-of-newer-Broadcoms.patch you are checking for 47162 shouldn't it be 0x47162 or did Broadcom some new strange thing. No, this is correct, the BCM4716's chipid is 0xB83A, which translates to

Re: [OpenWrt-Devel] WRT610n v2 support

2010-12-16 Thread Jonas Gorski
On 16 December 2010 18:09, Ryan Bair ryandb...@gmail.com wrote: Has anyone attempted to flash the wrt610n v2 from trunk? Can anyone let me know what the current status of the 4716 (and the wrt610n v2 specifically) is and what next steps are? Currently there is no support in OpenWrt, but

Re: [OpenWrt-Devel] [PATCH] miniupnpd config change

2010-12-14 Thread Jonas Gorski
Hi, On 14 December 2010 12:35, Bogdan Giuglea thor200...@yahoo.com wrote: This changes miniupnpd init so user can enable/disable nat-pmp and upnp functions via /etc/config/upnpd by adding option 'natpmp' '1' and option 'upnp' '1' upnp function is enabled by default Signed-off-by: Bogdan

[OpenWrt-Devel] [PATCH] ZNC: Update to 0.096, fix build and minor changes.

2010-12-13 Thread Jonas Gorski
verbose for easier adaption. Signed-off-by: Jonas Gorski jonas.gorski+open...@gmail.com --- net/znc/Makefile | 13 -- net/znc/files/znc.conf | 10 - net/znc/files/znc.init | 11

Re: [OpenWrt-Devel] WarpComm TK71 Port

2010-12-12 Thread Jonas Gorski
On 9 December 2010 01:12, green openwrt@gadgetweb.de wrote: Hi, KanjiMonster asked me as a response to my threat on the OpenWRT forum (https://forum.openwrt.org/viewtopic.php?pid=122891) to send my patch as a mail attachment to the dev-list. Good to see it here. I probably should have

[OpenWrt-Devel] [PATCH 0/6] bcm63xx: Add support for DSL-274xB and T-Com Speedport W 500V

2010-11-28 Thread Jonas Gorski
for devices reusing board ids of other devices. Jonas Gorski (6): bcm63xx: Add defconfigs. bcm63xx: Don't hardcode the switch ethernet interface in preinit. bcm63xx: Allow 'colored' power leds. bcm63xx: Finalize support for DSL-274xB, rev C2. bcm63xx: Add board id override fixup. bcm63xx

[OpenWrt-Devel] [PATCH 1/6] bcm63xx: Add defconfigs.

2010-11-28 Thread Jonas Gorski
Port the mechanism for different default configurations from ar71xx and use the old configuration as the default configuration. This should have no functional differences to before. While we are at it, remove the obsolete nat option. Signed-off-by: Jonas Gorski jonas.gorski+open...@gmail.com

[OpenWrt-Devel] [PATCH 2/6] bcm63xx: Don't hardcode the switch ethernet interface in preinit.

2010-11-28 Thread Jonas Gorski
Currently eth1 is hardcoded as the expected interface switches in diagmode. This patch replaces the eth1 with the ifname, and also directly tests if the interface specified by ifname has a switch attached. Signed-off-by: Jonas Gorski jonas.gorski+open...@gmail.com --- .../lib/preinit

[OpenWrt-Devel] [PATCH 3/6] bcm63xx: Allow 'colored' power leds.

2010-11-28 Thread Jonas Gorski
Since some devices have more than one power led, they might be separated by their color in the name. To also allow them to be on after leaving preinit, set any status led starting with 'power' to on instead of only those with the exact name of 'power'. Signed-off-by: Jonas Gorski jonas.gorski

[OpenWrt-Devel] [PATCH 4/6] bcm63xx: Finalize support for DSL-274xB, rev C2.

2010-11-28 Thread Jonas Gorski
The DSL-2740B/DSL-2741B rev C2 support was missing the board definition, resulting in a kernel panic on boot. This patch adds it, and also renames the generated image name to properly reflect that it is for the revision C2, and for both the DSL-2740B and DSL-2741B. Signed-off-by: Jonas Gorski

[OpenWrt-Devel] [PATCH 6/6] bcm63xx: Add support for the T-Com Speedport W 500V.

2010-11-28 Thread Jonas Gorski
Add support for the T-Com Speedport W 500V using a special tagged image as it identifies itself as a 96348GW, but has some gpios wired differently, and also has only one ethernet port without a switch attached to it. Signed-off-by: Jonas Gorski jonas.gorski+open...@gmail.com --- v2 - v3: * fixed

[OpenWrt-Devel] [PATCH 5/6] bcm63xx: Add board id override fixup.

2010-11-28 Thread Jonas Gorski
-off-by: Jonas Gorski jonas.gorski+open...@gmail.com --- v1 - v2: * Adapt the code to cshore's imagebuilder changes * Make the fixup only fire if it's a CFE bootloader target/linux/brcm63xx/image/Makefile | 16 - .../patches-2.6.35/410-boardid_fixup.patch | 62

[OpenWrt-Devel] [PATCH] bcm63xx: Finalize support for DSL-274xB, rev C2.

2010-11-08 Thread Jonas Gorski
The DSL-2740B/DSL-2741B rev C2 support was missing the board definition, resulting in a kernel panic on boot. This patch adds it, and also renames the generated image name to properly reflect that it is for the revision C2, and for both the DSL-2740B and DSL-2741B. Signed-off-by: Jonas Gorski

Re: [OpenWrt-Devel] [PATCH] ag71xx: Fix ar8216 devices and remove the ar8216 workaround.

2010-11-04 Thread Jonas Gorski
On 4 November 2010 19:44, Luca Olivetti l...@ventoso.org wrote: It turns out that the mac was different than the one set in u-boot. For some reason the switch doesn't accept a different mac than the initial one (though in u-boot I can change the mac at will, once it boots linux it has to be

Re: [OpenWrt-Devel] [PATCH] ag71xx: Fix ar8216 devices and remove the ar8216 workaround.

2010-11-03 Thread Jonas Gorski
On 2 November 2010 21:24, Luca Olivetti l...@ventoso.org wrote: Well, I tried but I failed (unsurprisingly since I know nothing about Linux network code). This is a danube based board and this is the patch I tried: --- trunk/target/linux/ifxmips/files-2.6.33/drivers/net/ifxmips.c.orig

Re: [OpenWrt-Devel] [PATCH] ag71xx: Fix ar8216 devices and remove the ar8216 workaround.

2010-11-02 Thread Jonas Gorski
On 2 November 2010 17:25, Luca Olivetti l...@ventoso.org wrote: BTW, doesn't the ar8216 driver already modifies the function table of the attached device?        /* VID fixup only needed on ar8216 */        if (pdev-addr == 0 priv-chip == AR8216) {                pdev-pkt_align = 2;      

[OpenWrt-Devel] [PATCH v2 1/4] Firmware-utils: Add support for board id overrides for bcm63xx.

2010-10-31 Thread Jonas Gorski
Add a switch for using the information1 field to hardcode a board id in the bcm tag for boards that don't provide any usable identification but need special handling. Signed-off-by: Jonas Gorski jonas.gorski+open...@gmail.com --- tools/firmware-utils/src/imagetag.c | 19 ++- 1

[OpenWrt-Devel] [PATCH v2 2/4] bcm63xx: Add board id override fixup.

2010-10-31 Thread Jonas Gorski
Add a fixup for the kernel to check the bcm tag of the image for a board id in the information1 field, and use that instead of the supplied one by cfe. Signed-off-by: Jonas Gorski jonas.gorski+open...@gmail.com --- .../patches-2.6.35/400-generic_boardid_fixup.patch | 42

[OpenWrt-Devel] [PATCH v2 3/4] bcm63xx: Add defconfigs.

2010-10-31 Thread Jonas Gorski
Port the mechanism for different default configurations from ar71xx and use the old configuration as the default configuration. This should have no functional differences to before. While we are at it, remove the obsolete nat option. Signed-off-by: Jonas Gorski jonas.gorski+open...@gmail.com

[OpenWrt-Devel] [PATCH] CUPS: Update to 1.4.4.

2010-10-26 Thread Jonas Gorski
Update CUPS to current 1.4.4: CUPS 1.4.4 fixes several security, scheduler, printing, and conformance issues. Also remove PKG_BUILD_DEPENDS, since zlib is already a normal dependency. Signed-off-by: Jonas Gorski jonas.gorski+open...@gmail.com --- Tested on ar71xx, running fine for over a week

Re: [OpenWrt-Devel] [PATCH 2/3] ZNC: Package modules.

2010-10-25 Thread Jonas Gorski
On 25 October 2010 04:04, Outback Dingo outbackdi...@gmail.com wrote: Committed revision 23627 - Reverts Commit 23626 - Needs fixing I'd gladly fix it, but I need something more specific than needs fixing ;-). It builds and runs fine for me on ar71xx, current trunk. Regards, Jonas

[OpenWrt-Devel] [PATCH 3/3] ZNC: Add startup script and uci config.

2010-10-24 Thread Jonas Gorski
Add a startup and a uci configuration for ZNC. This allows configuring multiple users, loading modules with parameters (global and per user) and starts the ZNC binary as nobody. The latter requires su, so add this as a dependecy. Signed-off-by: Jonas Gorski jonas.gorski+open...@gmail.com --- net

Re: [OpenWrt-Devel] [PATCH v2] RTL8366S/RB: Fix autonegotiation for the WAN port.

2010-10-12 Thread Jonas Gorski
On 27 September 2010 16:52, Gabor Juhos juh...@openwrt.org wrote: 2010.09.24. 13:13 keltezéssel, Jonas Gorski írta: The RTL8366S/RB support connecting a second mac to it and using the 5th port as an independent phy. Therefore we need to handle autonegotiation changes for phy 4 like on a single

Re: [OpenWrt-Devel] [PATCH] add rtl8366 switch kernel packages

2010-09-29 Thread Jonas Gorski
Hi On 29 September 2010 13:22, Roman Yeryomin leroi.li...@gmail.com wrote: Add rtl8366 switch kernel packages so that they could be selected if a user has board with such switch. I do not think this will work for most targets. The last time I tried, phy devices are only probed on ethernet

[OpenWrt-Devel] [PATCH v2] RTL8366S/RB: Fix autonegotiation for the WAN port.

2010-09-24 Thread Jonas Gorski
The RTL8366S/RB support connecting a second mac to it and using the 5th port as an independent phy. Therefore we need to handle autonegotiation changes for phy 4 like on a single phy device. This fixes #7980, verified on a WNDR3700. Signed-off-by: Jonas Gorski jonas.gorski+open...@gmail.com

Re: [OpenWrt-Devel] Development board/unit

2010-09-21 Thread Jonas Gorski
On 21 September 2010 11:14, Dennis M.D. Ljungmark spi...@takeit.se wrote: Ahoy,   We're currently looking at aquiring a few development boards for running OpenWRT on,  ( not the other way around, for once) so I figured I'd ask here, what's a decent board/hardware unit to make a few proof of

Re: [OpenWrt-Devel] Development board/unit

2010-09-21 Thread Jonas Gorski
On 21 September 2010 12:43, Jonas Gorski jonas.gorski+open...@gmail.com wrote: The Routerstation Pro is always a good start, it's even part of an official MIPS evaluation kit. Plenty of Ram (128 MB), gigabit ethernet, JTAG, USB, three mini-PCI slots, etc. Another less expensive alternative

Re: [OpenWrt-Devel] [PATCH] Modifying target/linux/kirkwood to add Dockstar

2010-08-21 Thread Jonas Gorski
Hi Gerrit, great to see some progress on the DockStar front :) On 21 August 2010 22:13, Gerrit Visser ger...@psgv.ca wrote: Presently there is a default target for the Sheevaplug. The Seagate Dockstar is similar but due to kernel differences I separated into 2 Targets: GlobalScale and

Re: [OpenWrt-Devel] [PATCH] kmod-sctp: Add SCTP kernel support

2010-08-19 Thread Jonas Gorski
Hello Sebastien, On 18 August 2010 09:32, Sebastien Decugis sdecu...@nict.go.jp wrote: (...) + CONFIG_IP_SCTP=m \ (...) + KCONFIG:=CONFIG_LIBCRC32C=m The =m isn't necessary, this is implied as default. (...) diff --git a/target/linux/generic/config-2.6.34

Re: [OpenWrt-Devel] [PATCH V2] ramips: allow USB

2010-08-16 Thread Jonas Gorski
Hi Luis, On 16 August 2010 00:59, Luis Correia b...@loide.net wrote: (...) --- target/linux/ramips/rt305x/config-2.6.32(revision 22663) +++ target/linux/ramips/rt305x/config-2.6.32(working copy) (...) +CONFIG_USB=y kmod-usb-core already provides this built as a module, so

Re: [OpenWrt-Devel] [PATCH] ramips: allow USB

2010-08-15 Thread Jonas Gorski
Hello, some (more or less) generic comments: On 14 August 2010 10:39, Luis Correia b...@loide.net wrote: (...) --- target/linux/ramips/rt305x/config-2.6.32    (revision 22631) +++ target/linux/ramips/rt305x/config-2.6.32    (working copy) @@ -149,8 +149,6 @@  CONFIG_TRAD_SIGNALS=y  #

Re: [OpenWrt-Devel] Solos 4610 (conexant) adsl router, anyone?

2010-07-30 Thread Jonas Gorski
Hi, On 29 July 2010 15:36, Stefan Monnier monn...@iro.umontreal.ca wrote: I inherited from a DSL modem+router whose firmware describe as a Solos 4610 RD / Solos 461x CSP v1.0, and telnet shows me a big `conexant' banner. Just going from the hardware, this seems to be a Connexant CX96410 based

Re: [OpenWrt-Devel] Is this router openwrt compatible?

2010-06-25 Thread Jonas Gorski
Hi, On 25 June 2010 21:58, Gioacchino Mazzurco gmazzurc...@gmail.com wrote: Hey all! I see this big promotion on axuse.com site http://www.axuse.com/produkt/AX10447/Router_TLWR340G_TPLink/448/24/001001004/en/ I am looking for if it is compatible with openwrt, and if it support multiple

[OpenWrt-Devel] [PATCH] Firmware-utils: Add support for board id overrides for bcm63xx.

2010-06-21 Thread Jonas Gorski
Add a switch for using the information1 field to hardcode a board id in the bcm tag for boards that don't provide any usable identification but need special handling. Signed-off-by: Jonas Gorski jonas.gorski+open...@gmail.com --- tools/firmware-utils/src/imagetag.c | 19 ++- 1

[OpenWrt-Devel] [PATCH] bcm63xx: Add very basic support for the T-Com Speedport W 500V.

2010-06-21 Thread Jonas Gorski
Add support for the T-Com Speedport W 500V using a special tagged image as it identifies itself as a 96348GW, but has some gpios wired differently, and also has only one ethernet port. Signed-off-by: Jonas Gorski jonas.gorski+open...@gmail.com --- target/linux/brcm63xx/image/Makefile

[OpenWrt-Devel] [PATCH] bcm63xx: Add basic support for T-Com Speedport W 500V.

2010-06-21 Thread Jonas Gorski
. Jonas Gorski (3): Firmware-utils: Add support for board id overrides for bcm63xx. bcm63xx: Add board id override fixup. bcm63xx: Add very basic support for the T-Com Speedport W 500V. target/linux/brcm63xx/image/Makefile | 10 +++ .../patches-2.6.32/270

[OpenWrt-Devel] [PATCH] bcm63xx: Add board id override fixup.

2010-06-21 Thread Jonas Gorski
Add a fixup for the kernel to check the bcm tag of the image for a board id in the information1 field, and use that instead of the supplied one by cfe. Signed-off-by: Jonas Gorski jonas.gorski+open...@gmail.com --- .../patches-2.6.32/270-generic_boardid_fixup.patch | 42

Re: [OpenWrt-Devel] OpenWRT on T-Com Speedport W500V

2010-06-18 Thread Jonas Gorski
Hi Florian, On 17 June 2010 23:40, Florian Fainelli flor...@openwrt.org wrote: Most likely you will not be able to use a fixup just like the neufbox4 because that one still contains a valid identifier somewhere on the flash. Yeah, I figured that too. I guess the only solution we have is to

[OpenWrt-Devel] OpenWRT on T-Com Speedport W500V

2010-06-17 Thread Jonas Gorski
). Since this device seems to be virtually indistinguishable from a default 96348GW, it looks like it needs a special image. Any pointers on how to do that? Best regards, Jonas Gorski ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https

[OpenWrt-Devel] [PATCH] ngircd: Add berlios mirror.

2010-05-01 Thread Jonas Gorski
Add the official berlios mirror to ngircd's download urls so it doesn't brake when ngircd.barton.de is down. Signed-off-by: Jonas Gorski jonas.gorski+open...@gmail.com --- net/ngircd/Makefile |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/net/ngircd/Makefile b/net

Re: [OpenWrt-Devel] [PATCH] Disable IPv6 autoconfiguration

2010-04-27 Thread Jonas Gorski
know how common these are), so this making this an option makes more sense, IMHO. Regards, Jonas Gorski ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

[OpenWrt-Devel] [PATCH] swconfig: Fix switch name.

2010-04-11 Thread Jonas Gorski
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

Re: [OpenWrt-Devel] [PATCH] ag71xx: call the phy driver's netif_receive_skb()

2010-04-09 Thread Jonas Gorski
On 9 April 2010 10:41, Gabor Juhos juh...@openwrt.org wrote: Applied: https://dev.openwrt.org/changeset/20750 Thanks, Jonas P.S: Looks like email address anonymization in trac only works for the first address: Signed-off-by: Jonas Gorski jonas.gorski+open...@… Cc:backf...@openwrt.org

[OpenWrt-Devel] [PATCH] Generic: Clean up output of AR8216 driver.

2010-04-09 Thread Jonas Gorski
as phy driver. * Correctly return NET_RX_DROP when dropping packets. Signed-off-by: Jonas Gorski jonas.gorski+open...@gmail.com --- .../generic-2.6/files/drivers/net/phy/ar8216.c | 14 -- 1 files changed, 8 insertions(+), 6 deletions(-) diff --git a/target/linux/generic-2.6/files

[OpenWrt-Devel] [PATCH 2/2] swconfig: Add cpu port index to help output.

2010-04-09 Thread Jonas Gorski
Let swconfig provide the cpu port index in its help page. This is needed as e.g. Atheros switches have their cpu port at port 0, not port 5. This could allow e.g. luci to get a rough overview of the layout of the switch. Signed-off-by: Jonas Gorski jonas.gorski+open...@gmail.com --- package

[OpenWrt-Devel] [PATCH] swconfig: Check vlan/port indexes for validity.

2010-04-09 Thread Jonas Gorski
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

<    1   2   3   4   5   6   7   >