aboutsummaryrefslogtreecommitdiffstats
path: root/package/boot/uboot-envtools
Commit message (Collapse)AuthorAgeFilesLines
* ar71xx: qihoo-c301: reset imageNtrynum after each successful boot.John Crispin2014-10-141-0/+3
| | | | | | | | | | | | | | | | | | | | | | | 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
* uboot-envtools: bump to 2014.07Luka Perkov2014-08-082-19/+12
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 42078
* package/uboot-envtools: add OpenMesh OM5P supportJohn Crispin2014-07-201-0/+1
| | | | | | | | 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
* package/uboot-envtools: add support for the EnGenius EAP300 v2 boardGabor Juhos2014-07-141-0/+1
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 41660
* package/uboot-envtools: add support for the Tube2H boardGabor Juhos2014-07-141-0/+1
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 41651
* lantiq: configure uboot-envtools on BTHOMEHUBV2B and make it work correctly ↵John Crispin2014-07-131-1/+4
| | | | | | | | | | | | | | on other lantiq boards Generate the configuration file for uboot-envtools on BTHOMEHUBV2B. Adds the specific parameters for the BTHOMEHUBV2B and also fixes an incorrect path which would have affected other lantiq boards as well (currently only the GIGASX76X). Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com> SVN-Revision: 41597
* add mvebu supportImre Kaloz2014-06-292-1/+30
| | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 41380
* uboot-envtools: use new scripts from /lib/ to match boardsLuka Perkov2014-06-263-8/+12
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 41340
* uboot-envtools: fix build if ubi volume support is disabledJohn Crispin2014-06-241-9/+11
| | | | | | | | | | | | Insert a missing #ifdef UBI around the use of libubi_close(). As the preceding if (libubi) will never be true on non-UBI builds, compiling only failed when disabling optimization. Also rebase patch to latest u-boot.git HEAD. Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 41313
* package/uboot-envtools: add OpenMesh OM2P-HSv2 supportJohn Crispin2014-06-021-0/+1
| | | | | | | | 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
* package/uboot-envtools: add OpenMesh OM2Pv2 supportJohn Crispin2014-06-021-0/+1
| | | | | | | | 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
* uboot-envtools: add support for environment in ubi volumeJohn Crispin2014-06-023-0/+184
| | | | | | | | | | On UBI enabled devices, U-Boot might store it's environment on UBI volume(s). Support this in uboot-envtools, so fw_setenv and fw_printenv can work on these platforms. Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 40929
* uboot-envtools: add support for kirkwood ea4500Luka Perkov2014-05-282-2/+3
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 40872
* uboot-envtools: add Pogoplug E02 supportLuka Perkov2014-05-231-0/+1
| | | | | | | | | | The settings require that the OpenWrt provided u-boot is used as either first or second stage bootloader as it modifies the partitioning scheme to move the u-boot environment to a separate mtd partition. Signed-off-by: Felix Kaechele <heffer@fedoraproject.org> SVN-Revision: 40829
* uboot-envtools: update to 2014.04Luka Perkov2014-05-193-19/+20
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 40778
* uboot-envtools: add support for the ZyXEL NBG6716 boardGabor Juhos2014-04-131-0/+3
| | | | | | | | 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
* uboot-envtools: fix build with muslFelix Fietkau2014-03-201-0/+10
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 39961
* uboot-envtools: pass target cflagsNicolas Thill2014-02-182-1/+14
| | | | SVN-Revision: 39629
* uboot-envtools: add support for wndr3700Luka Perkov2014-01-242-4/+5
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 39380
* uboot-envtools: add support for mxs targetZoltan Herpai2013-11-122-0/+30
| | | | | | Signed-off-by: Michael Heimpold <mhei@heimpold.de> SVN-Revision: 38776
* u-boot: prefer mirror2.openwrt.org over ftp.denx.de - the denx ftp is slow ↵Felix Fietkau2013-10-281-1/+4
| | | | | | | | and unreliable Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 38559
* uboot-envtools: update to 2013.10Luka Perkov2013-10-183-145/+3
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 38444
* uboot-envtools: update kirkwood scriptsLuka Perkov2013-10-142-13/+10
| | | | | | | | Also, scripts can be installed as data so let's change that here too. Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 38403
* uboot-envtools: update to v2013.07Luka Perkov2013-08-293-21/+38
| | | | SVN-Revision: 37857
* uboot-env: fix spurious esac within ramips uci-defaultsLuka Perkov2013-08-192-3/+1
| | | | | | Signed-off-by: Alexander Couzens <lynxis@fe80.eu> SVN-Revision: 37814
* uboot-envtools: add support for hornet-ub-x2Luka Perkov2013-08-151-0/+1
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 37789
* uboot-env: add config for the ALFA NETWORKS Hornet-UB (AP121U)Luka Perkov2013-07-171-0/+1
| | | | | | Signed-off-by: Daniel Golle <daniel.golle@gmail.com> SVN-Revision: 37382
* uboot-envtools: add support for imx6 targetLuka Perkov2013-07-022-0/+28
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 37136
* uboot-envtools: upgrade to 2013.07-rc1Luka Perkov2013-07-023-10/+135
| | | | | | | | Support for writing on MMC devices has been added. Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 37135
* uboot-envtools: upgrade to 2013.04Luka Perkov2013-05-201-2/+2
| | | | SVN-Revision: 36665
* This adds Gateworks Laguna family board support. Note that some Laguna ↵Luka Perkov2013-04-112-0/+32
| | | | | | | | boards have SPI flash and others have NOR flash, thus the size/erasesize are detected dynamically. Signed-off-by: Tim Harvey <tharvey@gateworks.com> SVN-Revision: 36313
* uboot-envtools: upgrade to version 2013.01.01Luka Perkov2013-03-155-220/+15
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 36033
* uboot-env: wzr-600dhp uses wzr-hp-ag300h nameLuka Perkov2013-03-031-2/+1
| | | | SVN-Revision: 35866
* ar71xx: add support for Buffalo WZR 600DHPLuka Perkov2013-03-011-1/+5
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 35840
* uboot-envtools: add config for the Edimax BR-6425 boardGabor Juhos2013-02-021-0/+5
| | | | | | | Signed-off-by: Yuval Adam <yuv.adm@gmail.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35464
* package/uboot-envtools: add OpenMesh MR600v2 supportGabor Juhos2013-02-011-1/+2
| | | | | | | Signed-off-by: Marek Lindner <marek@open-mesh.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35432
* package/uboot-envtools: add OpenMesh MR600 supportGabor Juhos2012-11-181-1/+2
| | | | | | | Signed-off-by: Marek Lindner <lindner_marek@yahoo.de> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 34236
* package/uboot-envtools: add CAP4200AG supportGabor Juhos2012-10-271-1/+2
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 33959
* uboot-envtools: OM2P-HS partition informationGabor Juhos2012-10-171-0/+1
| | | | | | | Signed-off-by: Marek Lindner <lindner_marek@yahoo.de> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 33802
* move boot related packages to their own folderJohn Crispin2012-10-1610-0/+423
SVN-Revision: 33781