Commit graph

42 commits

Author SHA1 Message Date
John Crispin
74a3a77bcd license info - revert r43155
turns out that r43155 adds duplicate info.

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

SVN-Revision: 43167
2014-11-03 09:56:44 +00:00
John Crispin
c10d97484a 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>

SVN-Revision: 43155
2014-11-03 08:01:08 +00:00
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
Luka Perkov
61d83b3a2f uboot-envtools: bump to 2014.07
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 42078
2014-08-08 15:14:26 +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
1475263d5c 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>

SVN-Revision: 41597
2014-07-13 07:17:54 +00:00
Imre Kaloz
a91b9e35a4 add mvebu support
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 41380
2014-06-29 12:38:35 +00:00
Luka Perkov
e575c759ca uboot-envtools: use new scripts from /lib/ to match boards
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 41340
2014-06-26 10:14:14 +00:00
John Crispin
8a82c2cd36 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>

SVN-Revision: 41313
2014-06-24 18:12:56 +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
John Crispin
dab35f044a 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>

SVN-Revision: 40929
2014-06-02 12:44:19 +00:00
Luka Perkov
591b5285f5 uboot-envtools: add support for kirkwood ea4500
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 40872
2014-05-28 21:43:42 +00:00
Luka Perkov
2381f4a7b0 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>

SVN-Revision: 40829
2014-05-23 08:17:02 +00:00
Luka Perkov
740ed0ede4 uboot-envtools: update to 2014.04
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 40778
2014-05-19 16:41:24 +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
Felix Fietkau
fbda3388f9 uboot-envtools: fix build with musl
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39961
2014-03-20 13:51:27 +00:00
Nicolas Thill
ece85d2d25 uboot-envtools: pass target cflags
SVN-Revision: 39629
2014-02-18 22:11:24 +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
Zoltan Herpai
dcd8a08be1 uboot-envtools: add support for mxs target
Signed-off-by: Michael Heimpold <mhei@heimpold.de>

SVN-Revision: 38776
2013-11-12 10:07:03 +00:00
Felix Fietkau
e31ccd95c7 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>

SVN-Revision: 38559
2013-10-28 15:15:05 +00:00
Luka Perkov
494bc1d026 uboot-envtools: update to 2013.10
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38444
2013-10-18 00:39:28 +00:00
Luka Perkov
c15bec4a1b 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>

SVN-Revision: 38403
2013-10-14 19:46:43 +00:00
Luka Perkov
cdd6361649 uboot-envtools: update to v2013.07
SVN-Revision: 37857
2013-08-29 23:06:29 +00:00
Luka Perkov
32b80b8653 uboot-env: fix spurious esac within ramips uci-defaults
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>

SVN-Revision: 37814
2013-08-19 13:01:17 +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
2b6519b8c2 uboot-envtools: add support for imx6 target
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 37136
2013-07-02 23:08:19 +00:00
Luka Perkov
d352ff6cac uboot-envtools: upgrade to 2013.07-rc1
Support for writing on MMC devices has been added.

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

SVN-Revision: 37135
2013-07-02 23:08:17 +00:00
Luka Perkov
3b1c133d1d uboot-envtools: upgrade to 2013.04
SVN-Revision: 36665
2013-05-20 08:52:44 +00:00
Luka Perkov
b591e15f36 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>

SVN-Revision: 36313
2013-04-11 16:04:31 +00:00
Luka Perkov
fe24afe37f uboot-envtools: upgrade to version 2013.01.01
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 36033
2013-03-15 01:36:53 +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
b01e744632 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>

SVN-Revision: 35464
2013-02-02 17:01:52 +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