John Crispin
24a0269b71
ar71xx: qihoo-c301: reset imageNtrynum after each successful boot.
...
Qihoo C301 has 2 flash chips of which one is used as primary and the
other is used as backup. OEM U-Boot will try to boot an activeregion N
with imageNstatus=0 and imageNtrynum <= imagemaxtry. If such a region
is found, bootloader will try to increment imageNtrynum and boot it.
This patch tries to reset imageNtrynum after each successful boot (if
the boot process reaches the execution of /etc/init.d/done).
root@OpenWrt:/# hexdump -C -n 128 /dev/mtdblock9
00000000 9e f3 63 91 61 63 74 69 76 65 72 65 67 69 6f 6e |..c.activeregion|
00000010 3d 31 00 69 6d 61 67 65 31 73 74 61 74 75 73 3d |=1.image1status=|
00000020 30 00 69 6d 61 67 65 32 73 74 61 74 75 73 3d 30 |0.image2status=0|
00000030 00 69 6d 61 67 65 32 74 72 79 6e 75 6d 3d 30 00 |.image2trynum=0.|
00000040 69 6d 61 67 65 6d 61 78 74 72 79 3d 33 00 69 6d |imagemaxtry=3.im|
00000050 61 67 65 31 74 72 79 6e 75 6d 3d 30 00 00 00 00 |age1trynum=0....|
00000060 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
SVN-Revision: 42914
2014-10-14 12:21:36 +00:00
John Crispin
596ff29ade
package/uboot-envtools: add OpenMesh OM5P support
...
Signed-off-by: Marek Lindner <marek@open-mesh.com>
[sven@open-mesh.com: Rebased]
Signed-off-by: Sven Eckelmann <sven@open-mesh.com>
SVN-Revision: 41774
2014-07-20 17:31:00 +00:00
Gabor Juhos
f6a334c6c1
package/uboot-envtools: add support for the EnGenius EAP300 v2 board
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 41660
2014-07-14 21:30:29 +00:00
Gabor Juhos
ddd5a9a8f2
package/uboot-envtools: add support for the Tube2H board
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 41651
2014-07-14 16:03:36 +00:00
John Crispin
1a6a14c757
package/uboot-envtools: add OpenMesh OM2P-HSv2 support
...
Signed-off-by: Marek Lindner <marek@open-mesh.com>
[sven@open-mesh.com: Rebased]
Signed-off-by: Sven Eckelmann <sven@open-mesh.com>
SVN-Revision: 40965
2014-06-02 13:21:47 +00:00
John Crispin
f777b06875
package/uboot-envtools: add OpenMesh OM2Pv2 support
...
Signed-off-by: Marek Lindner <marek@open-mesh.com>
[sven@open-mesh.com: Rebased]
Signed-off-by: Sven Eckelmann <sven@open-mesh.com>
SVN-Revision: 40959
2014-06-02 13:21:17 +00:00
Gabor Juhos
daca4351b1
uboot-envtools: add support for the ZyXEL NBG6716 board
...
Signed-off-by: André Valentin <avalentin@marcant.net>
Patchwork: http://patchwork.openwrt.org/patch/5101/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 40501
2014-04-13 08:29:08 +00:00
Luka Perkov
ad48ba11db
uboot-envtools: add support for wndr3700
...
Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 39380
2014-01-24 00:07:48 +00:00
Luka Perkov
e8d6de95b3
uboot-envtools: add support for hornet-ub-x2
...
Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 37789
2013-08-15 00:57:48 +00:00
Luka Perkov
af9d30f713
uboot-env: add config for the ALFA NETWORKS Hornet-UB (AP121U)
...
Signed-off-by: Daniel Golle <daniel.golle@gmail.com>
SVN-Revision: 37382
2013-07-17 17:31:21 +00:00
Luka Perkov
6337803d65
uboot-env: wzr-600dhp uses wzr-hp-ag300h name
...
SVN-Revision: 35866
2013-03-03 21:59:35 +00:00
Luka Perkov
107e0c6d1f
ar71xx: add support for Buffalo WZR 600DHP
...
Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 35840
2013-03-01 13:46:01 +00:00
Gabor Juhos
a2a5f9b405
package/uboot-envtools: add OpenMesh MR600v2 support
...
Signed-off-by: Marek Lindner <marek@open-mesh.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35432
2013-02-01 15:50:52 +00:00
Gabor Juhos
21393323d0
package/uboot-envtools: add OpenMesh MR600 support
...
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34236
2012-11-18 09:32:40 +00:00
Gabor Juhos
5a6a2e55b9
package/uboot-envtools: add CAP4200AG support
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 33959
2012-10-27 08:55:41 +00:00
Gabor Juhos
6e6e72470d
uboot-envtools: OM2P-HS partition information
...
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 33802
2012-10-17 08:26:04 +00:00
John Crispin
e75106aa0d
move boot related packages to their own folder
...
SVN-Revision: 33781
2012-10-16 13:44:25 +00:00