1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-10-19 05:58:53 +02:00
openwrt/target/linux
John Crispin fd82ffec00 ar71xx: Hornet UB GPIO WPS/Reset
This problem has existed at least since Attitude Adjustment and
is also present in trunk. Basically on the Hornet-UB board the
functionality of RESET and WPS have "switched places".

There are two tickets about the issue at dev.openwrt.org,
The solution suggested on them both is incomplete though
and introduces the following proglem:

Patching as suggested on #14136/#15282 will result in a situation
where simply pressing the RESET button on the bottom will cause
FACTORY RESET to be run. This is due to GPIO high/low state being
incorrect as a result of the above change and virtually the RESET
button is in the pressed-down state the entire time. When it is
then physically pressed, that causes the opposite, release, to be
triggered and since to the board it seemed that the button was
pressed long before it was released, the FACTORY RESET results.

The attached patch works as expected. I have verified both the
incorrect functionality as well as after fixing the issue as
described in the patch and flashing the resulting firmware to a
Hornet-UB board.

Signed-off-by: Janne Cederberg <janne.cederberg@gmail.com>

SVN-Revision: 44692
2015-03-12 10:06:42 +00:00
..
adm5120 adm5120: switch kernel to 3.18 2015-03-01 16:24:15 +00:00
adm8668 kernel: move CONFIG_MIPS_O32_FP64_SUPPORT to generic configs 2015-03-01 11:37:15 +00:00
ar7 ar7: register_mtd_parser() does no longer have a return value 2015-03-10 11:02:45 +00:00
ar71xx ar71xx: Hornet UB GPIO WPS/Reset 2015-03-12 10:06:42 +00:00
arm64 kernel: disable ARCH_NEEDS_CPU_IDLE_COUPLED 2015-03-06 07:56:34 +00:00
at91 kernel: disable ARCH_NEEDS_CPU_IDLE_COUPLED 2015-03-06 07:56:34 +00:00
atheros kernel: disbale HAMRADIO in generic config 2015-03-06 07:56:21 +00:00
au1000 au1000: build fails if the input layer is not selected 2015-03-10 11:03:04 +00:00
avr32 targets: base-files: diag.sh does not need to be executable 2015-02-07 19:58:58 +00:00
bcm53xx bcm53xx: fixup early device id 8012 2015-03-11 17:32:02 +00:00
brcm47xx kernel: move KERNFS to generic config 2015-03-06 07:56:47 +00:00
brcm63xx kernel: move KERNFS to generic config 2015-03-06 07:56:47 +00:00
brcm2708 kernel: disbale HAMRADIO in generic config 2015-03-06 07:56:21 +00:00
cns3xxx kernel: move KERNFS to generic config 2015-03-06 07:56:47 +00:00
cns21xx kernel: disable ARCH_NEEDS_CPU_IDLE_COUPLED 2015-03-06 07:56:34 +00:00
cobalt cobalt: framebuffer device has moved 2015-03-12 10:05:48 +00:00
ep93xx kernel: disable ARCH_NEEDS_CPU_IDLE_COUPLED 2015-03-06 07:56:34 +00:00
gemini kernel: disable ARCH_NEEDS_CPU_IDLE_COUPLED 2015-03-06 07:56:34 +00:00
generic kernel: backport symbol export from r44653 to 3.14 2015-03-11 17:32:29 +00:00
imx6 kernel: disable ARCH_NEEDS_CPU_IDLE_COUPLED 2015-03-06 07:56:34 +00:00
iop32x kernel: disbale HAMRADIO in generic config 2015-03-06 07:56:21 +00:00
ipq806x ipq806x: add 2 missing symbols that broke a full build 2015-03-10 11:02:52 +00:00
ixp4xx kernel: disable ARCH_NEEDS_CPU_IDLE_COUPLED 2015-03-06 07:56:34 +00:00
kirkwood kirkwood: add missing symbol that broke full builds 2015-03-10 11:03:10 +00:00
lantiq kenrel: refresh patches 2015-03-11 17:08:46 +00:00
malta kernel: disbale HAMRADIO in generic config 2015-03-06 07:56:21 +00:00
mcs814x kernel: disbale HAMRADIO in generic config 2015-03-06 07:56:21 +00:00
mpc52xx kernel: move KERNFS to generic config 2015-03-06 07:56:47 +00:00
mpc83xx kernel: move KERNFS to generic config 2015-03-06 07:56:47 +00:00
mpc85xx kernel: move KERNFS to generic config 2015-03-06 07:56:47 +00:00
mvebu mvebu: add backported patch to reenable hw i/o coherency 2015-03-06 18:57:49 +00:00
mxs kernel: disable ARCH_NEEDS_CPU_IDLE_COUPLED 2015-03-06 07:56:34 +00:00
netlogic kernel: remove GENERIC_NET_UTILS from platform configs 2015-03-06 07:55:57 +00:00
octeon kernel: move KERNFS to generic config 2015-03-06 07:56:47 +00:00
omap kernel: move KERNFS to generic config 2015-03-06 07:56:47 +00:00
omap24xx kernel: disbale HAMRADIO in generic config 2015-03-06 07:56:21 +00:00
orion kernel: disable ARCH_NEEDS_CPU_IDLE_COUPLED 2015-03-06 07:56:34 +00:00
oxnas kernel: move KERNFS to generic config 2015-03-06 07:56:47 +00:00
ppc40x kernel: disable ARCH_NEEDS_CPU_IDLE_COUPLED 2015-03-06 07:56:34 +00:00
ppc44x ppc44x: use the mtdsplit framework for the Taishan 2015-03-11 12:20:03 +00:00
pxa kernel: disable ARCH_NEEDS_CPU_IDLE_COUPLED 2015-03-06 07:56:34 +00:00
ramips ralink: resize the flash partition for FireWRT 2015-03-12 10:06:31 +00:00
rb532 kernel: disbale HAMRADIO in generic config 2015-03-06 07:56:21 +00:00
realview kernel: move KERNFS to generic config 2015-03-06 07:56:47 +00:00
sibyte
sparc kernel: disbale HAMRADIO in generic config 2015-03-06 07:56:21 +00:00
sunxi kernel: move KERNFS to generic config 2015-03-06 07:56:47 +00:00
uml kernel: disbale HAMRADIO in generic config 2015-03-06 07:56:21 +00:00
x86 kernel: disable ARCH_NEEDS_CPU_IDLE_COUPLED 2015-03-06 07:56:34 +00:00
x86_64 kernel: disable ARCH_NEEDS_CPU_IDLE_COUPLED 2015-03-06 07:56:34 +00:00
xburst kernel: disbale HAMRADIO in generic config 2015-03-06 07:56:21 +00:00
Makefile