[OpenWrt-Devel] [Patch][BCM63XX] Select HW_RANDOM_BCM63XX only in the SoCs that support it.

2014-06-06 Thread José Vázquez Fernández
Select HW_RANDOM_BCM63XX only in the SoCs that support it. Only BCM6368, BCM6362 and BCM63268 have a hardware random numbers generator, so, if none of these are selected, don't compile a driver that has no effect. Tested with BCM6358 and BCM6328 successfully. Signed off by: José Vázquez

[OpenWrt-Devel] [Patch][BCM63XX][V2][RFC] Select HW_RANDOM_BCM63XX only in the SoCs that support it.

2014-06-18 Thread José Vázquez Fernández
Vázquez Fernández ppvazquez...@gmail.com diff -urN a/arch/mips/bcm63xx/Kconfig b/arch/mips/bcm63xx/Kconfig --- a/arch/mips/bcm63xx/Kconfig 2014-06-02 16:00:48.0 +0200 +++ b/arch/mips/bcm63xx/Kconfig 2014-06-18 17:06:30.119106246 +0200 @@ -60,6 +60,7 @@ select HW_HAS_PCI select

Re: [OpenWrt-Devel] [PATCH 0/2] [telephony] Asterisk: Multiplevulnerabilities

2014-06-26 Thread José Vázquez Fernández
Do these vulnerabilities affect the versions included in Attitude Adjustment? Pepe Hello Daniel, I have applied your patches. Commits: 93ef5a1a85c9dc55b91778a806f6463b11d68026 eee55b8fd0ce811e0b1cc7400f012e19e1f99b30 Thank you so much! Jiri Dne 26/06/2014 05:18, Daniel Golle napsal(a):

[OpenWrt-Devel] [PATCH] [LANTIQ] Enable LANTIQ_PHY and LANTIQ_XRX200 only in XRX200 subtarget.

2014-06-30 Thread José Vázquez Fernández
Enable LANTIQ_PHY and LANTIQ_XRX200 only in XRX200 subtarget. These drivers are not needed for ASE, Danube and AR9. As side effect PHY11G and PHY22F firmwares are not included in the kernel image, which saves 64 KB. Signed off by: José Vázquez Fernández ppvazquez...@gmail.com Index: target

[OpenWrt-Devel] [Lantiq][RFC] Add cpu-feature-overrides.h and disable PCIe and multithreading in Danube

2014-06-30 Thread José Vázquez Fernández
This draft adds cpu-feature-overrides.h using the FALCON one as base. Due to the different cores used in ASE and Danube the Kconfig was modified to disable some options that are present in the AR9 and VR9 SoCs, like multithreading, mt ASE and some others. According with UGW all the Lantiq SoCs

[OpenWrt-Devel] [PATCH] [LANTIQ] Add XWAY cpu-feature-overrides.h

2014-07-02 Thread José Vázquez Fernández
. With this file the kernel size is reduced about 30KB in the XWAY subtarget. Tested in a Danube based router with no problems and with a little improvement in the USB port when using mass storage devices and wireless dongles. Signed off by: José Vázquez Fernández ppvazquez...@gmail.com --- a/arch

Re: [OpenWrt-Devel] [PATCH] [LANTIQ] Add XWAY cpu-feature-overrides.h

2014-07-02 Thread José Vázquez Fernández
On 02/07/14 21:49, José Vázquez Fernández wrote: Add XWAY cpu-feature-overrides.h file. This patch adds cpu-feature-overrides.h file for the XWAY family, based in the one in FALCON. Because Amazon SE was deprecated, cpu_has_dsp and cpu_has_mips16 have been set, while cpu_has_mt has been

[OpenWrt-Devel] [PATCH] [LANTIQ] [resend] Add XWAY cpu-feature-overrides

2014-07-02 Thread José Vázquez Fernández
. With this file the kernel size is reduced about 30KB in the XWAY subtarget. Tested in a Danube based router with no problems and with a little improvement in the USB port when using mass storage devices and wireless dongles. Signed off by: José Vázquez Fernández ppvazquez...@gmail.com diff --git

[OpenWrt-Devel] [PATCH] [LANTIQ][V2] Add XWAY cpu-feature-overrides.h

2014-07-03 Thread José Vázquez Fernández
this feature as pointed by Thomas Langer. Signed off by: José Vázquez Fernández ppvazquez...@gmail.com diff --git a/target/linux/lantiq/patches-3.10/0036-MIPS-lantiq-xway-add-cpu-feature-override.patch b/target/linux/lantiq/patches-3.10/0036-MIPS-lantiq-xway-add-cpu-feature-override.patch new file mode

[OpenWrt-Devel] [PATCH] [LANTIQ][V2][resend] Add XWAY cpu-feature-overrides.h

2014-07-03 Thread José Vázquez Fernández
this feature as pointed by Thomas Langer. Resent because the mail client changed its behaviour since an update. Signed off by: José Vázquez Fernández ppvazquez...@gmail.com --- a/arch/mips/include/asm/mach-lantiq/xway/cpu-feature-overrides.h 1970-01-01 01:00:00.0 +0100 +++ b/arch/mips

Re: [OpenWrt-Devel] Creating Atheros calibration data without ART(Atheros Radio Tool) ?

2013-11-18 Thread José Vázquez Fernández
A possible solution or workaround could be make a backup of the cal data of each unit and restore it in case of disaster. - Original Message - From: valent.turko...@gmail.com To: OpenWrt Development List openwrt-devel@lists.openwrt.org Sent: Monday, November 18, 2013 9:13 PM Subject:

[OpenWrt-Devel] [RFC] Rngd in busybox.

2013-12-12 Thread José Vázquez Fernández
A couple of days ago found an old patch that adds rngd in busybox: http://lists.busybox.net/pipermail/busybox/2008-August/066784.html Because it is 5 years old will need some rework, but could be a good alternative to rng-tools. Also made a patch that has the option to select between /dev/hwrng or

[OpenWrt-Devel] [PATCH] [Packages] Rng-tools: add selection between hwrng or urandom

2013-12-12 Thread José Vázquez Fernández
This patch allow to select between /dev/hwrng and /dev/urandom. Also updates rng-tools to the last version. Signed off by: José Vázquez Fernández ppvazquez...@gmail.com diff --git a/utils/rng-tools/Config.in b/utils/rng-tools/Config.in new file mode 100644 index 000..4f7b4d3 --- /dev/null

[OpenWrt-Devel] [RFC] Broadcom code found.

2014-01-10 Thread José Vázquez Fernández
While Daniel González and me were fighting with jffs2 tested some code extracted from Netgear. Here are what we found. We only tested brcm_wait, broadcom checksum code and the modification in tlbex.c and nothing strange happened when we flashed it. Hope this could help for the Broadcom SoCs and

[OpenWrt-Devel] [PATCH] [lantiq] Add support for Astoria ARV7519RW.

2014-03-10 Thread José Vázquez Fernández
...@gmail.com Signed off by: Carles Gadea carles...@gmail.com Tested by: José Vázquez Fernández ppvazquez...@gmail.com diff --git a/target/linux/lantiq/base-files/etc/uci-defaults/02_network b/target/linux/lantiq/base-files/etc/uci-defaults/02_network index 6e17d4d..a1f7b6a 100644 --- a/target

[OpenWrt-Devel] [PATCH] [lantiq] V2: add support for Astoria ARV7519RW.

2014-03-12 Thread José Vázquez Fernández
with an u-boot specifically made for these boards. Signed off by: Esteban Benito esteban...@gmail.com Signed off by: Carles Gadea carles...@gmail.com Tested by: José Vázquez Fernández ppvazquez...@gmail.com diff --git a/target/linux/lantiq/base-files/etc/uci-defaults/02_network b/target/linux/lantiq

Re: [OpenWrt-Devel] compiler optimization flags on the brcm2708platform?

2014-03-25 Thread José Vázquez Fernández
The GCC arm options are explained here: http://gcc.gnu.org/onlinedocs/gcc-4.8.2/gcc/ARM-Options.html#ARM-Options The BCM2708 has the following features: swp half thumb fastmult vfp edsp java tls To add option to the toolchain go to make menuconfig-Advanced options -- Target options Once

[OpenWrt-Devel] Wireless eeprom fix for ARV4518PW, ARV7518PW and some others.

2014-04-01 Thread José Vázquez Fernández
Tki2000, in the openwrt subforum of seguridadwireless, published a modified ath_eep.c file because, since the Lantiq target moved to kernel 3.10 some routers cannot read calibration data nor mac. The code also applies a patch made by Noltari that disables regdomain limitations, but still

[OpenWrt-Devel] [PATCH] [lantiq] [2/2] DTS updates for the ARV4518PW and ARV7518PW.

2014-05-16 Thread José Vázquez Fernández
Fernández papijunkm...@yahoo.com Signed off by: Bruno Rodríguez bruno.rodriguez.1...@gmail.com Signed off by: José Vázquez Fernández ppvazquez...@gmail.com Index: target/linux/lantiq/dts/ARV4518PWR01.dts === --- target/linux/lantiq/dts

[OpenWrt-Devel] [PATCH] [lantiq] [1/2] EEPROM fix for Astoria/Arcadyan boards.

2014-05-16 Thread José Vázquez Fernández
papijunkm...@yahoo.com Signed off by: Bruno Rodríguez bruno.rodriguez.1...@gmail.com Signed off by: Álvaro Fernández nolt...@gmail.com Tested by: José Vázquez Fernández ppvazquez...@gmail.com --- a/arch/mips/lantiq/xway/ath_eep.c +++ b/arch/mips/lantiq/xway/ath_eep.c @@ -41,94 +41,182 @@ int

[OpenWrt-Devel] [PATCH] [lantiq] [1/2] EEPROM fix for Astoria/Arcadyan boards.

2014-05-16 Thread José Vázquez Fernández
- Mensaje reenviado De: José Vázquez Fernández ppvazquez...@gmail.com Para: openwrt-devel openwrt-devel@lists.openwrt.org Asunto: [OpenWrt-Devel] [PATCH] [lantiq] [1/2] EEPROM fix for Astoria/Arcadyan boards. Fecha: Fri, 16 May 2014 19:47:03 +0200 EEPROM fix for Astoria/Arcadyan

[OpenWrt-Devel] [PATCH] [lantiq] [1/2] [V2] EEPROM fix for Astoria/Arcadyan boards.

2014-05-16 Thread José Vázquez Fernández
papijunkm...@yahoo.com Signed off by: Bruno Rodríguez bruno.rodriguez.1...@gmail.com Signed off by: Álvaro Fernández nolt...@gmail.com Tested by: José Vázquez Fernández ppvazquez...@gmail.com Index: target/linux/lantiq/patches-3.10/0203-arv-athx-workaround.patch

[OpenWrt-Devel] [PATCH] [lantiq] [1/2] [V3] EEPROM fix for Astoria/Arcadyan boards.

2014-05-16 Thread José Vázquez Fernández
papijunkm...@yahoo.com Signed off by: Bruno Rodríguez bruno.rodriguez.1...@gmail.com Signed off by: Álvaro Fernández nolt...@gmail.com Tested by: José Vázquez Fernández ppvazquez...@gmail.com Index: target/linux/lantiq/patches-3.10/0203-arv-athx-workaround.patch

[OpenWrt-Devel] [PATCH] [Lantiq] ltq-hcd: disable mips16 support

2014-05-17 Thread José Vázquez Fernández
ltq-hcd: disable mips16 support. This patch disables mips16 support in the ltq-hcd driver because some people reported slow speed and problems with usb storage devices, 3G dongles and wireless usb adapters. Signed off by: José Vázquez Fernández ppvazquez...@gmail.com Index: package/kernel

[OpenWrt-Devel] [PATCH] [lantiq] [1/2] V2: EEPROM fix for Atheros wireless based boards.

2014-05-17 Thread José Vázquez Fernández
covers both ath5k and ath9k drivers. Signed off by: David Fernández papijunkm...@yahoo.com Signed off by: Bruno Rodríguez bruno.rodriguez.1...@gmail.com Signed off by: Álvaro Fernández nolt...@gmail.com Tested by: José Vázquez Fernández ppvazquez...@gmail.com Index: target/linux/lantiq/patches

[OpenWrt-Devel] [PATCH][bcm63xx]: Support for Comtrend VR-3025u and VR-3025un.

2014-05-23 Thread José Vázquez Fernández
Support for Comtrend VR-3025u and VR-3025un. This patch adds support for both VR-3025u and VR-3025un. Due to these routers are very close in terms of board definitions because the only differences are a led name and the board_id, the patch covers both boards. Signed off by: José Vázquez

[OpenWrt-Devel] [PATCH] [LANTIQ]ath5k fix in wifi and ethernet eeprom handling patch.

2014-06-03 Thread José Vázquez Fernández
by: Bruno Rodríguez bruno.rodriguez.1...@gmail.com Signed off by: José Vázquez Fernández ppvazquez...@gmail.com diff --git a/target/linux/lantiq/patches-3.10/0010-MIPS-lantiq-wifi-and-ethernet-eeprom-handling.patch b/target/linux/lantiq/patches-3.10/0010-MIPS-lantiq-wifi-and-ethernet-eeprom-handling.patch

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

2013-04-13 Thread José Vázquez Fernández
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

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

2013-04-13 Thread José Vázquez Fernández
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

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

2013-04-13 Thread José Vázquez Fernández
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

[OpenWrt-Devel] [RFC] Driver for RTL8192SU wifi family chips.

2013-04-18 Thread José Vázquez Fernández
implies that nobody can maintain a some kind of experimental driver in openwrt, so, i could be added as the r92su driver maintainer. Forgot to mention that, if this driver is added in trunk, must be marked as broken. Regards: José Vázquez Fernández

[OpenWrt-Devel] [RFC] Lantiq subtargets based in SoC.

2013-05-03 Thread José Vázquez Fernández
As have been done preciously in the ramips target the Lantiq target could be divided in subtargets based in the SoC (ase, danube, svip, ar9, vr9, ...) or the mips core (4k, 24k, 34k, ...), but the second option might be very confusing. The benefits will be the same as in ramips: better

[OpenWrt-Devel] [PATCH] [lantiq] set mips16 support.

2013-06-11 Thread José Vázquez Fernández
Set mips16 support in XWAY subtarget. This patch is based in changeset #36600 Signed-off-by: José Vázquez Fernández ppvazquez...@gmail.com Signed-off-by: Felix Fietkau n...@openwrt.org ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org

[OpenWrt-Devel] [PATCH] [lantiq] set mips16 support.

2013-06-11 Thread José Vázquez Fernández
- Mensaje reenviado De: José Vázquez Fernández ppvazquez...@gmail.com Para: openwrt-devel@lists.openwrt.org openwrt-devel@lists.openwrt.org Cc: openwrt-devel@lists.openwrt.org openwrt-devel@lists.openwrt.org Asunto: [OpenWrt-Devel] [PATCH] [lantiq] set mips16 support. Fecha: Tue

[OpenWrt-Devel] [PATCH] [lantiq] Tune the XWAY subtarget cflags.

2013-06-11 Thread José Vázquez Fernández
Tune the XWAY subtarget cflags. This patch sets the cflags -mtune=34kc -mdsp only in XWAY subtarget, while the others remain with mtune=mips32r2. Although the Danube has a Mips 24KEc core performs well with the above cflags. Signed-off-by: José Vázquez Fernández ppvazquez...@gmail.com Index

[OpenWrt-Devel] Entropy problem?

2013-06-25 Thread José Vázquez Fernández
Checked the entropy in an ARV4518pw (Lantiq Danube) running Attitude Adjustment and the available entropy was, more or less, between 300-400. Found this link (http://vafer.org/blog/20071219173915/), so plugged a pendrive and thanks to the dwg-otg generated interrupts the entropy_avail

Re: [OpenWrt-Devel] [Porting help] Support for NETGEAR DGN2200V3

2013-07-14 Thread José Vázquez Fernández
More info is needed: - Wich SoC it has (bcm6358, 6328, ...) - Board ID (can be obtained with the serial bootlog). - The other components: switch, ram, ... The most important is the board ID. In example, in the DGN2200 v2 is 963281TAN. Regards: Pepe - Original Message - From: mrkiko rs

[OpenWrt-Devel] [RFC] usbreset package

2013-07-20 Thread José Vázquez Fernández
Some days ago found that usbreset don't work due to the lack of usbfs. I think that the choices are: - Delete it. - Enable usbfs. - Look for an usbreset utility that doesn't depend on usbfs. Found this: http://www.roman10.net/how-to-reset-usb-device-in-linuxusing-libusb/ Regards: José Vázquez

[OpenWrt-Devel] [PATCH] [1/5] AA: ARV4518PWR01. Update machtypes.h

2013-09-25 Thread José Vázquez Fernández
Update machtypes.h to support ARV4518PWR01 diff -urN a/arch/mips/lantiq/machtypes.h b/arch/mips/lantiq/machtypes.h --- a/arch/mips/lantiq/machtypes.h 2013-09-25 13:14:59.0 +0200 +++ b/arch/mips/lantiq/machtypes.h 2013-09-25 13:34:39.665808763 +0200 @@ -34,6 +34,7 @@ /* Arcadyan */

[OpenWrt-Devel] [PATCH] [1/5] AA: ARV4518PWR01. Update machtypes.h

2013-09-25 Thread José Vázquez Fernández
Update machtypes.h to support ARV4518PWR01 Signed off by: José Vázquez Fernández ppvazquez...@gmail.com Tested by: Carles Gadea Roig carles...@gmail.com diff -urN a/arch/mips/lantiq/machtypes.h b/arch/mips/lantiq/machtypes.h --- a/arch/mips/lantiq/machtypes.h 2013-09-25 13:14:59.0

[OpenWrt-Devel] [PATCH] [1/5] AA: ARV4518PWR01. Board definition.

2013-09-25 Thread José Vázquez Fernández
Board definition for the ARV4518PWR01. In the board definition, leds and buttons of the ARV4518PW were used. Signed off by: José Vázquez Fernández ppvazquez...@gmail.com Tested by: Carles Gadea Roig carles...@gmail.com diff -urN a/arch/mips/lantiq/xway/mach-arv.c b/arch/mips/lantiq/xway/mach

[OpenWrt-Devel] [PATCH] [3/5] AA: ARV4518PWR01. Change leds behavior.

2013-09-25 Thread José Vázquez Fernández
This change the led behavior at init. With this patch only the power led remains powered on when the board is flashed with openwrt. Signed off by: José Vázquez Fernández ppvazquez...@gmail.com Tested by: Carles Gadea Roig carles...@gmail.com diff -urN a/arch/mips/lantiq/xway/mach-arv.c b/arch

[OpenWrt-Devel] [PATCH] [2/5] AA: ARV4518PWR01. Board definition.

2013-09-25 Thread José Vázquez Fernández
Board definition for the ARV4518PWR01. In the board definition, leds and buttons of the ARV4518PW were used. Signed off by: José Vázquez Fernández ppvazquez...@gmail.com Tested by: Carles Gadea Roig carles...@gmail.com diff -urN a/arch/mips/lantiq/xway/mach-arv.c b/arch/mips/lantiq/xway/mach

[OpenWrt-Devel] [PATCH] [4/5] AA: ARV4518PWR01. Image and config generation.

2013-09-25 Thread José Vázquez Fernández
Generates the ARV4518PWR01 image and defines the board in target.mk Signed off by: José Vázquez Fernández ppvazquez...@gmail.com Tested by: Carles Gadea Roig carles...@gmail.com diff -urN a/target/linux/lantiq/danube/profiles/002-arcadyan.mk b/target/linux/lantiq/danube/profiles/002-arcadyan.mk

[OpenWrt-Devel] [PATCH] [5/5] AA: ARV4518PWR01. Led definitions for onboard devices.

2013-09-25 Thread José Vázquez Fernández
Led definitions for onboard devices. Defines some leds when the related devices are activated/deactivated. Signed off by: José Vázquez Fernández ppvazquez...@gmail.com Tested by: Carles Gadea Roig carles...@gmail.com diff -urN a/target/linux/lantiq/base-files/etc/uci-defaults/leds b/target/linux

Re: [OpenWrt-Devel] Quick hack for kernel entropy problem on MIPS

2013-10-18 Thread José Vázquez Fernández
Take a look at this ticket: https://dev.openwrt.org/ticket/9631 - Original Message - From: Weedy To: OpenWrt Development List Sent: Friday, October 18, 2013 1:02 AM Subject: Re: [OpenWrt-Devel] Quick hack for kernel entropy problem on MIPS On 17 Oct 2013 13:07, chrono

[OpenWrt-Devel] [PATCH][Kernel] unset NF_REJECT_IPV6 and PHY_SAMSUNG_USB2

2014-12-03 Thread José Vázquez Fernández
oldconfig kept asking for that config symbol... PHY_SAMSUNG_USB2 depends on DWC2 diff --git a/target/linux/generic/config-3.18 b/target/linux/generic/config-3.18 index e0e2a0b..d014334 100644 --- a/target/linux/generic/config-3.18 +++ b/target/linux/generic/config-3.18 @@ -2560,6 +2560,7 @@

[OpenWrt-Devel] [PATCH][modules] Add support for Realtek r8712 and RTL8192SU.

2014-12-15 Thread José Vázquez Fernández
Add support for Realtek r8712 and RTL8192SU family. This patch adds support for Realtek r8712 and RTL8188SU/RTL8191SU/RTL8192SU family of fullmac usb wireless cards. The r8712u staging driver only supports WEXT but works with no problems in OpenWRT. Signed off by: José Vázquez Fernández

[OpenWrt-Devel] [Fwd: [PATCH][modules][V2] Add support for Realtek r8712 and RTL8192SU.]

2014-12-15 Thread José Vázquez Fernández
off by: José Vázquez Fernández ppvazquez...@gmail.com Index: package/kernel/linux/modules/wireless.mk === --- package/kernel/linux/modules/wireless.mk(revisión: 43720) +++ package/kernel/linux/modules/wireless.mk(copia de trabajo

[OpenWrt-Devel] [PATCH] [LANTIQ] ARV7519RW22 dts fix

2015-09-02 Thread José Vázquez Fernández
>From a9d8a4d04c5564abb0440a3b67dd21e8645e2c43 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20V=C3=A1zquez=20Fern=C3=A1ndez?= Date: Tue, 1 Sep 2015 19:30:26 +0200 Subject: [OpenWrt-Devel] [PATCH] [LANTIQ] ARV7519RW22 dts fix The ARV7519RW22 has only one flash chip.

[OpenWrt-Devel] [PATCH] [LANTIQ] [CC] ARV7519RW22 dts fix

2015-09-02 Thread José Vázquez Fernández
>From d9de074b635e8d9442409922f867d1ed8dd36887 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20V=C3=A1zquez=20Fern=C3=A1ndez?= Date: Wed, 2 Sep 2015 13:40:28 +0200 Subject: [OpenWrt-Devel] [PATCH] [LANTIQ] ARV7519RW22 dts fix The ARV7519RW22 has only one flash chip.

[OpenWrt-Devel] bcm5357 wireless support

2015-11-30 Thread José Vázquez Fernández
I have a Linksys E1000 with a BCM5357 SoC but the wifi is not supported in b43 nor brcmsmac, and bcmdhd is not an option. Will it be supported in a future? Regards: José Vázquez ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org