[OpenWrt-Devel] [PATCH] [lantiq] AA: Fix ARV4518PW wifi

2013-04-13 Thread dani
This patch corrects an issue with the wifi for the ARV4518PW in
Attitude Adjustment that involves the PCI bus configuration in this
board.

I'm trying to guess if gmail webinterface is really able to send clean
patches. Sorry for the disturbances.

Signed-off-by: Jose Vazquez Fernandez ppvazquezfer at gmail.com
Index: target/linux/lantiq/files/arch/mips/lantiq/xway/mach-arv.c
===
--- target/linux/lantiq/files/arch/mips/lantiq/xway/mach-arv.c  (revision: 
36330)
+++ target/linux/lantiq/files/arch/mips/lantiq/xway/mach-arv.c  (copia
de trabajo)
@@ -529,7 +529,7 @@
ltq_register_gpio_keys_polled(-1, LTQ_KEYS_POLL_INTERVAL,
ARRAY_SIZE(arv4518pw_gpio_keys), 
arv4518pw_gpio_keys);
arv_load_nor(0x40);
-   ltq_pci_data.gpio = PCI_GNT2 | PCI_REQ2;
+   // ltq_pci_data.gpio = PCI_GNT2 | PCI_REQ2;
ltq_register_pci(ltq_pci_data);
xway_register_dwc(ARV4518PW_USB);
arv_register_ethernet(ARV4518PW_MAC_ADDR);
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] Help with rt5350

2013-04-13 Thread Mikael Frykholm

Greetings!

I am trying to get http://wiki.openwrt.org/toh/d-link/dir-300revb5 
working well. I'm having some strange wifi issues I though you might 
have some insights to.


I manage to connect and get an ip from the router. To be able to ssh 
into if I need to set mtu 300 on my laptop. I get lots of lost packages 
and duplicate ack's when inspecting with wireshark.
My guess is that there is some settings the driver is omitting. I pulled 
the settings file from the stock dlink os and tried a few suspicious 
settings but nothing seems to have helped.
I have tried, without luck, both getting the correct firmware blob from 
flash (which had wrong macs) and using a hacked version with the correct 
mac and the rest zeros.


The only solution I can think of now is to get a binary running on the 
stock os to dump all registers while it is running. That proved to be 
quite a painful and time consuming exercise and I want to get your 
comments before I try that.

I have attached the settings file from the stock os.

Thanks!
/Mikael


RT2860.dat
Description: Netscape Proxy Auto Config
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH v3][lantiq] AA/12.09-rc2. Fix ARV4518PW wifi issue.

2013-04-13 Thread José Vázquez Fernández

This patch corrects an issue with the wifi for the ARV4518PW in
Attitude Adjustment that involves the PCI bus configuration in this
board.
Comenting this line forces the board definition to be configured with the
default PCI_GNT1 | PCI_REQ1 defined in line 138.
The wifi and the usb have been deeply tested and they worked without
problems. Maybe would be a good idea to make stress tests.
Once applied this ticket should be closed:
https://dev.openwrt.org/ticket/11704

Signed-off-by: José Vázquez Fernández ppvazquez...@gmail.com
Signed-off-by: Daniel González dgcb...@gmail.com

Index: target/linux/lantiq/files/arch/mips/lantiq/xway/mach-arv.c
===
--- target/linux/lantiq/files/arch/mips/lantiq/xway/mach-arv.c (revisión: 
36330)
+++ target/linux/lantiq/files/arch/mips/lantiq/xway/mach-arv.c (copia de 
trabajo)

@@ -529,7 +529,7 @@
 ltq_register_gpio_keys_polled(-1, LTQ_KEYS_POLL_INTERVAL,
ARRAY_SIZE(arv4518pw_gpio_keys), arv4518pw_gpio_keys);
 arv_load_nor(0x40);
- ltq_pci_data.gpio = PCI_GNT2 | PCI_REQ2;
+ // ltq_pci_data.gpio = PCI_GNT2 | PCI_REQ2;
 ltq_register_pci(ltq_pci_data);
 xway_register_dwc(ARV4518PW_USB);
 arv_register_ethernet(ARV4518PW_MAC_ADDR);

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH] [lantiq] Fix ARV4518PW wifi issue. AA/12.09-rc2.

2013-04-13 Thread José Vázquez Fernández
This patch corrects an issue with the wifi for the ARV4518PW in Attitude 
Adjustment that involves the PCI bus configuration in this board. The 
bootlog shows: ath5k: phy0: failed to warm reset the MAC Chip.
Comenting this line forces the board definition to be configured with the 
default PCI_GNT1 | PCI_REQ1 defined in line 138.
The wifi and the usb have been deeply tested and they worked without 
problems. Maybe would be a good idea to make stress tests.

Once applied this ticket should be closed:
https://dev.openwrt.org/ticket/11704

Signed-off-by: José Vázquez Fernández ppvazquez...@gmail.com
Signed-off-by: Daniel González dgcb...@gmail.com

Index: target/linux/lantiq/files/arch/mips/lantiq/xway/mach-arv.c
===
--- target/linux/lantiq/files/arch/mips/lantiq/xway/mach-arv.c (revisión: 
36330)
+++ target/linux/lantiq/files/arch/mips/lantiq/xway/mach-arv.c (copia de 
trabajo)

@@ -529,7 +529,7 @@
ltq_register_gpio_keys_polled(-1, LTQ_KEYS_POLL_INTERVAL,
ARRAY_SIZE(arv4518pw_gpio_keys), arv4518pw_gpio_keys);
arv_load_nor(0x40);
- ltq_pci_data.gpio = PCI_GNT2 | PCI_REQ2;
+ // ltq_pci_data.gpio = PCI_GNT2 | PCI_REQ2;
ltq_register_pci(ltq_pci_data);
xway_register_dwc(ARV4518PW_USB);
arv_register_ethernet(ARV4518PW_MAC_ADDR);

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH] [lantiq] Fix ARV4518PW wifi issue. AA/12.09-rc2.

2013-04-13 Thread José Vázquez Fernández
This patch corrects an issue with the wifi for the ARV4518PW in Attitude 
Adjustment that involves the PCI bus configuration in this board. The bootlog 
shows: ath5k: phy0: failed to warm reset the MAC Chip.
Commenting this line forces the board definition to be configured with the 
default PCI_GNT1 | PCI_REQ1 defined in line 138.
The wifi and the usb have been deeply tested and they worked without problems. 
Maybe would be a good idea to make stress tests.
Once applied this ticket should be closed:
https://dev.openwrt.org/ticket/11704

Signed-off-by: José Vázquez Fernández ppvazquez...@gmail.com
Signed-off-by: Daniel González dgcb...@gmail.com
Index: target/linux/lantiq/files/arch/mips/lantiq/xway/mach-arv.c
===
--- target/linux/lantiq/files/arch/mips/lantiq/xway/mach-arv.c  (revisión: 
36330)
+++ target/linux/lantiq/files/arch/mips/lantiq/xway/mach-arv.c  (copia de 
trabajo)
@@ -529,7 +529,7 @@
ltq_register_gpio_keys_polled(-1, LTQ_KEYS_POLL_INTERVAL,
ARRAY_SIZE(arv4518pw_gpio_keys), 
arv4518pw_gpio_keys);
arv_load_nor(0x40);
-   ltq_pci_data.gpio = PCI_GNT2 | PCI_REQ2;
+   // ltq_pci_data.gpio = PCI_GNT2 | PCI_REQ2;
ltq_register_pci(ltq_pci_data);
xway_register_dwc(ARV4518PW_USB);
arv_register_ethernet(ARV4518PW_MAC_ADDR);


___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [OpenWrt-Devel, rt305x] MIPS ralink add GPIO mode to rt305x uart pinmux grou

2013-04-13 Thread Lixus
Hi all,

on the revision r36330 do not work gpio, on SoC rt305x.
on various platforms is declared in the file dts (ralink, uartmux =
gpio), but is not present in the array (struct ralink_pinmux_grp uart_mux
[]) in file + + + b/arch/mips/ralink/rt305x.c.
I've attached a patch tested and works on a Soc rt5350.



Ayyari


0212-MIPS-ralink-add-GPIO-mode-to-RT305x-UART-pinmux-grou.patch
Description: Binary data
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel