Commit Graph

54 Commits (d22b0247547b719007722591aa3f8599c0abf315)

Author SHA1 Message Date
Luka Perkov b7c188b9a9 package: uboot-envtools: add nbg6716 to appropriate group
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44308 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-07 19:59:08 +00:00
Luka Perkov f65a3470a9 uboot-envtools: fix Linksys EA3500 env size
Signed-off-by: Claudio Leite <leitec@staticky.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44037 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-18 16:45:11 +00:00
Luka Perkov b3bf8f8884 uboot-envtools: add more kirkwood boards
- SheevaPlug
- SheevaPlug with eSATA
- GuruplugServerPlus

Signed-off-by: Gerald Kerma <dreagle@doukki.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43747 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-18 15:53:46 +00:00
John Crispin 7552e0e805 uboot-envtools: enable UBI support per default on oxnas
Signed-off-by: Daniel Golle <daniel@makrotopia.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43716 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-15 10:37:09 +00:00
John Crispin 3eb3771e2c uboot-envtools: use environment stored in UBI also for KD20
Signed-off-by: Daniel Golle <daniel@makrotopia.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43510 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-03 16:05:23 +00:00
Luka Perkov 5694907d83 uboot-envtools: bump to 2014.10
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43433 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-30 01:14:17 +00:00
Luka Perkov d498e13cc9 [package] uboot-*: update license info in uboot packages
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43429 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-29 23:45:53 +00:00
John Crispin 37940a23fe uboot-envtools: add support for oxnas target
Signed-off-by: Daniel Golle <daniel@makrotopia.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43390 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-26 09:00:40 +00:00
John Crispin 3b07d1414b uboot-envtools: add carambola2 support
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43317 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-19 13:49:54 +00:00
John Crispin 95d7ac2e59 package/uboot-envtools: add OpenMesh MR900v2 support
Signed-off-by: Sven Eckelmann <sven@open-mesh.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43269 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-14 16:55:26 +00:00
John Crispin a3125f4044 package/uboot-envtools: add OpenMesh MR900 support
Signed-off-by: Sven Eckelmann <sven@open-mesh.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43263 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-14 16:54:45 +00:00
Luka Perkov 6c196e1ea7 kirkwood: add support for Linksys EA3500
http://wiki.openwrt.org/toh/linksys/ea3500

Signed-off-by: Dan Walters <dan@walters.io>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43230 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-10 23:55:10 +00:00
John Crispin 85c10a8a6a license info - revert r43155
turns out that r43155 adds duplicate info.

Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43167 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-03 09:56:44 +00:00
John Crispin b8df8ca970 Add more license tags with SPDX identifiers
Note, that licensing stuff is a nightmare: many packages does not clearly
state their licenses, and often multiple source files are simply copied
together - each with different licensing information in the file headers.

I tried hard to ensure, that the license information extracted into the OpenWRT's
makefiles fit the "spirit" of the packages, e.g. such small packages which
come without a dedicated source archive "inherites" the OpenWRT's own license
in my opinion.

However, I can not garantee that I always picked the correct information
and/or did not miss license information.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43155 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-03 08:01:08 +00:00
John Crispin 96d2eba315 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42914 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-14 12:21:36 +00:00
Luka Perkov 71e7b3b220 uboot-envtools: bump to 2014.07
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42078 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-08 15:14:26 +00:00
John Crispin 6cd7d2f548 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41774 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-20 17:31:00 +00:00
Gabor Juhos 96131b0538 package/uboot-envtools: add support for the EnGenius EAP300 v2 board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41660 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-14 21:30:29 +00:00
Gabor Juhos 0299c1d457 package/uboot-envtools: add support for the Tube2H board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41651 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-14 16:03:36 +00:00
John Crispin 4cb2ca86ab lantiq: configure uboot-envtools on BTHOMEHUBV2B and make it work correctly 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41597 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-13 07:17:54 +00:00
Imre Kaloz 709b91a2bf [uboot-envtools]: add mvebu support
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41380 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-29 12:38:35 +00:00
Luka Perkov 65fcfca2eb uboot-envtools: use new scripts from /lib/ to match boards
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41340 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-26 10:14:14 +00:00
John Crispin b5f47d40c1 uboot-envtools: fix build if ubi volume support is disabled
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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41313 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-24 18:12:56 +00:00
John Crispin 1b66b2b0c9 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40965 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 13:21:47 +00:00
John Crispin 359d5d94de 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40959 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 13:21:17 +00:00
John Crispin c78da29d8e uboot-envtools: add support for environment in ubi volume
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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40929 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 12:44:19 +00:00
Luka Perkov 1d6e93165d [package] uboot-envtools: add support for kirkwood ea4500
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40872 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-28 21:43:42 +00:00
Luka Perkov 10a05d152c [package] uboot-envtools: add Pogoplug E02 support
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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40829 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-23 08:17:02 +00:00
Luka Perkov bfe38bdeff [package] uboot-envtools: update to 2014.04
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40778 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-19 16:41:24 +00:00
Gabor Juhos ca99aed1c4 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40501 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-13 08:29:08 +00:00
Felix Fietkau c6019944e3 uboot-envtools: fix build with musl
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39961 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-20 13:51:27 +00:00
Nicolas Thill e386a2e3ae uboot-envtools: pass target cflags
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39629 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-18 22:11:24 +00:00
Luka Perkov 6f3bf6a7b9 [package] uboot-envtools: add support for wndr3700
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39380 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-24 00:07:48 +00:00
Zoltan HERPAI b4e6bd6786 uboot-envtools: add support for mxs target
Signed-off-by: Michael Heimpold <mhei@heimpold.de>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38776 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-12 10:07:03 +00:00
Felix Fietkau 7d9a6a4129 u-boot: prefer mirror2.openwrt.org over ftp.denx.de - the denx ftp is slow and unreliable
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38559 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-28 15:15:05 +00:00
Luka Perkov de3ed2d3d6 [package] uboot-envtools: update to 2013.10
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38444 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-18 00:39:28 +00:00
Luka Perkov d99e8c2a5b [package] uboot-envtools: update kirkwood scripts
Also, scripts can be installed as data so let's change that here too.

Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38403 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-14 19:46:43 +00:00
Luka Perkov 8901997bbc [package] uboot-envtools: update to v2013.07
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37857 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-29 23:06:29 +00:00
Luka Perkov a2f85214c2 [package] uboot-env: fix spurious esac within ramips uci-defaults
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37814 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-19 13:01:17 +00:00
Luka Perkov 8ec906f328 uboot-envtools: add support for hornet-ub-x2
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37789 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-15 00:57:48 +00:00
Luka Perkov 4dffb2b78d [package] uboot-env: add config for the ALFA NETWORKS Hornet-UB (AP121U)
Signed-off-by: Daniel Golle <daniel.golle@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37382 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-17 17:31:21 +00:00
Luka Perkov f6852707e4 [package] uboot-envtools: add support for imx6 target
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37136 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-02 23:08:19 +00:00
Luka Perkov 374758b6da [package] uboot-envtools: upgrade to 2013.07-rc1
Support for writing on MMC devices has been added.

Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37135 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-02 23:08:17 +00:00
Luka Perkov 2677e04582 [package] uboot-envtools: upgrade to 2013.04
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36665 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-20 08:52:44 +00:00
Luka Perkov 9b2655fa70 This adds Gateworks Laguna family board support. Note that some Laguna
boards have SPI flash and others have NOR flash, thus the size/erasesize
are detected dynamically.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36313 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-11 16:04:31 +00:00
Luka Perkov c449658f92 [package] uboot-envtools: upgrade to version 2013.01.01
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36033 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-15 01:36:53 +00:00
Luka Perkov ba14ffc2bc [package] uboot-env: wzr-600dhp uses wzr-hp-ag300h name
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35866 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-03 21:59:35 +00:00
Luka Perkov 3fc6a70a19 ar71xx: add support for Buffalo WZR 600DHP
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35840 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-01 13:46:01 +00:00
Gabor Juhos 2883641f47 uboot-envtools: add config for the Edimax BR-6425 board
Signed-off-by: Yuval Adam <yuv.adm@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35464 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-02 17:01:52 +00:00
Gabor Juhos 48bf26a5ac package/uboot-envtools: add OpenMesh MR600v2 support
Signed-off-by: Marek Lindner <marek@open-mesh.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35432 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-01 15:50:52 +00:00