tn3399_openwrt/target/linux
Steve Glennon 9b0eb4d260 ipq40xx: Fix reboot on EnGenius ENS620EXT
This patch works around an issue where reboot would cause the AP
to power down and not reboot.

The ipq4019 restart controller reboot causes the system
to power down and not recover. Fix is to disable the restart
controller in the device tree and the device reverts to
using the watchdog to perform the reset.

The real problem is due to the buggy bootloader that ships
with the device. Steve Glennon reported in the PR for this
patch: <https://github.com/openwrt/openwrt/pull/2009> that:

"the problem was due to a bad u-boot that ships with the device.

Using the u-boot that comes with 3.5.5.3 EnGenius factory
software now allows the old code (using the do_msm_reboot)
to reboot successfully.

On to the bad news:
Well 3.5.5.3 is a bad path. Finally managed to recover. You
CANNOT use prior EnGenius firmware to downgrade.

Findings:

* They now password protect the serial console with a new, unkown
  password.
* They changed the protection on their walled-garden. I have to
  use the ssh admin@ip /bin/sh --login to get out of their
  walled-garden.
* Attempts to flash the original 3.0.0 or 3.0.1 EnGenius firmware
  fail through the UI and sysupgrade. Their firmware update GUI now
  seem to detect regular openwrt images, but they fail to flash
  Attempts to flash a normal OpenWrt image with sysupgrade fail.
[..]

Attempts to sysupgrade with EnGenius firmware fail with the same
"mandatory section(s) missing" error, so you cannot downgrade to
3.0.0 or 3.0.1."

Signed-off-by: Steve Glennon <s.glennon@cablelabs.com>
Signed-off-by: Christian Lamparter <chunkeey@gmail.com> [added valuable
findings from github discussion]
2019-05-11 16:37:11 +02:00
..
apm821xx build: add a config option for enabling a testing version of the target kernel 2019-05-11 11:37:10 +02:00
ar7 kernel: bump 4.9 to 4.9.153 2019-01-28 18:17:32 +01:00
ar71xx ar71xx: fix failsafe interface for TL-WR940nv6 2019-05-05 21:11:01 +02:00
arc770 treewide: use wpad-basic for not small flash targets 2018-10-16 15:07:41 +01:00
archs38 treewide: use wpad-basic for not small flash targets 2018-10-16 15:07:41 +01:00
armvirt armvirt64: enable qemu drm drivers 2019-04-18 12:06:47 +02:00
at91 kernel: Build: Split kmod-regmap 2019-01-27 00:16:13 +01:00
ath25 kernel: bump 4.14 to 4.14.79 2018-11-05 16:00:00 +01:00
ath79 build: add a config option for enabling a testing version of the target kernel 2019-05-11 11:37:10 +02:00
bcm53xx build: add a config option for enabling a testing version of the target kernel 2019-05-11 11:37:10 +02:00
brcm47xx build: add a config option for enabling a testing version of the target kernel 2019-05-11 11:37:10 +02:00
brcm63xx kernel: bump 4.9 to 4.9.164 2019-03-22 18:14:28 +01:00
brcm2708 kernel: bump 4.14 to 4.14.115 2019-05-06 12:43:01 +02:00
cns3xxx build: add a config option for enabling a testing version of the target kernel 2019-05-11 11:37:10 +02:00
gemini build: add a config option for enabling a testing version of the target kernel 2019-05-11 11:37:10 +02:00
generic kernel: bump 4.19 to 4.19.38 2019-05-06 12:43:01 +02:00
imx6 build: add a config option for enabling a testing version of the target kernel 2019-05-11 11:37:10 +02:00
ipq40xx ipq40xx: Fix reboot on EnGenius ENS620EXT 2019-05-11 16:37:11 +02:00
ipq806x kernel: bump 4.14 to 4.14.108 2019-03-27 10:48:59 +01:00
ixp4xx kernel: bump 4.9 to 4.9.160 2019-02-25 17:33:16 +01:00
kirkwood kirkwood: enable sata port multiplier 2019-05-11 16:37:11 +02:00
lantiq lantiq: tdw90x0: Fix WLAN LED on TP-Link W8970 v1.2 (FS#2232) 2019-04-17 14:55:32 +02:00
layerscape kernel: bump 4.14 to 4.14.115 2019-05-06 12:43:01 +02:00
malta malta: Add support for kernel 4.19 2019-01-13 16:31:40 +01:00
mediatek kernel: bump 4.14 to 4.14.99 2019-02-14 16:45:01 +01:00
mpc85xx build: add a config option for enabling a testing version of the target kernel 2019-05-11 11:37:10 +02:00
mvebu kernel: bump 4.14 to 4.14.112 2019-04-22 21:15:17 +02:00
mxs mxs: disable unused serial drivers 2019-03-11 19:35:43 +01:00
octeon build: add a config option for enabling a testing version of the target kernel 2019-05-11 11:37:10 +02:00
octeontx kernel: enable memory compaction 2018-10-09 14:29:55 +02:00
omap kernel: bump 4.14 to 4.14.77 2018-10-19 10:01:57 +02:00
orion treewide: use wpad-basic for not small flash targets 2018-10-16 15:07:41 +01:00
oxnas kernel: bump 4.14 to 4.14.108 2019-03-27 10:48:59 +01:00
pistachio kernel: bump 4.14 to 4.14.91 2019-01-07 17:09:06 +01:00
ramips ramips: mt7620: fix dependencies 2019-05-11 01:05:11 +02:00
rb532 kernel: bump 4.14 to 4.14.86 2018-12-10 11:48:44 +01:00
samsung kernel: Deactivate CONFIG_COMPAT_BRK 2018-12-26 17:32:48 +01:00
sunxi build: add a config option for enabling a testing version of the target kernel 2019-05-11 11:37:10 +02:00
tegra build: add a config option for enabling a testing version of the target kernel 2019-05-11 11:37:10 +02:00
uml treewide: use wpad-basic for not small flash targets 2018-10-16 15:07:41 +01:00
x86 build: add a config option for enabling a testing version of the target kernel 2019-05-11 11:37:10 +02:00
zynq zynq: replace storage related configs by packages 2019-04-06 16:31:10 +02:00
Makefile