You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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
9 years ago
..
adm5120 adm5120: switch kernel to 3.18 9 years ago
adm8668 kernel: move CONFIG_MIPS_O32_FP64_SUPPORT to generic configs 9 years ago
ar7 ar7: register_mtd_parser() does no longer have a return value 9 years ago
ar71xx ar71xx: Hornet UB GPIO WPS/Reset 9 years ago
arm64 kernel: disable ARCH_NEEDS_CPU_IDLE_COUPLED 9 years ago
at91 kernel: disable ARCH_NEEDS_CPU_IDLE_COUPLED 9 years ago
atheros kernel: disbale HAMRADIO in generic config 9 years ago
au1000 au1000: build fails if the input layer is not selected 9 years ago
avr32 targets: base-files: diag.sh does not need to be executable 10 years ago
bcm53xx bcm53xx: fixup early device id 8012 9 years ago
brcm47xx kernel: move KERNFS to generic config 9 years ago
brcm63xx kernel: move KERNFS to generic config 9 years ago
brcm2708 kernel: disbale HAMRADIO in generic config 9 years ago
cns3xxx kernel: move KERNFS to generic config 9 years ago
cns21xx kernel: disable ARCH_NEEDS_CPU_IDLE_COUPLED 9 years ago
cobalt cobalt: framebuffer device has moved 9 years ago
ep93xx kernel: disable ARCH_NEEDS_CPU_IDLE_COUPLED 9 years ago
gemini kernel: disable ARCH_NEEDS_CPU_IDLE_COUPLED 9 years ago
generic kernel: backport symbol export from r44653 to 3.14 9 years ago
imx6 kernel: disable ARCH_NEEDS_CPU_IDLE_COUPLED 9 years ago
iop32x kernel: disbale HAMRADIO in generic config 9 years ago
ipq806x ipq806x: add 2 missing symbols that broke a full build 9 years ago
ixp4xx kernel: disable ARCH_NEEDS_CPU_IDLE_COUPLED 9 years ago
kirkwood kirkwood: add missing symbol that broke full builds 9 years ago
lantiq kenrel: refresh patches 9 years ago
malta kernel: disbale HAMRADIO in generic config 9 years ago
mcs814x kernel: disbale HAMRADIO in generic config 9 years ago
mpc52xx kernel: move KERNFS to generic config 9 years ago
mpc83xx kernel: move KERNFS to generic config 9 years ago
mpc85xx kernel: move KERNFS to generic config 9 years ago
mvebu mvebu: add backported patch to reenable hw i/o coherency 9 years ago
mxs kernel: disable ARCH_NEEDS_CPU_IDLE_COUPLED 9 years ago
netlogic kernel: remove GENERIC_NET_UTILS from platform configs 9 years ago
octeon kernel: move KERNFS to generic config 9 years ago
omap kernel: move KERNFS to generic config 9 years ago
omap24xx kernel: disbale HAMRADIO in generic config 9 years ago
orion kernel: disable ARCH_NEEDS_CPU_IDLE_COUPLED 9 years ago
oxnas kernel: move KERNFS to generic config 9 years ago
ppc40x kernel: disable ARCH_NEEDS_CPU_IDLE_COUPLED 9 years ago
ppc44x ppc44x: use the mtdsplit framework for the Taishan 9 years ago
pxa kernel: disable ARCH_NEEDS_CPU_IDLE_COUPLED 9 years ago
ramips ralink: resize the flash partition for FireWRT 9 years ago
rb532 kernel: disbale HAMRADIO in generic config 9 years ago
realview kernel: move KERNFS to generic config 9 years ago
sibyte all targets: remove all =m kernel config symbols 10 years ago
sparc kernel: disbale HAMRADIO in generic config 9 years ago
sunxi kernel: move KERNFS to generic config 9 years ago
uml kernel: disbale HAMRADIO in generic config 9 years ago
x86 kernel: disable ARCH_NEEDS_CPU_IDLE_COUPLED 9 years ago
x86_64 kernel: disable ARCH_NEEDS_CPU_IDLE_COUPLED 9 years ago
xburst kernel: disbale HAMRADIO in generic config 9 years ago
Makefile Add kernel_nconfig make target 14 years ago