aboutsummaryrefslogtreecommitdiffstats
path: root/package/boot
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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42914 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uboot-sunxi: add support for Olimex A13 SOMZoltan HERPAI2014-09-281-1/+5
| | | | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42692 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uboot-sunxi: add patch to fix gmac reliability issue on bananapiZoltan HERPAI2014-09-281-0/+20
| | | | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42691 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uboot-sunxi: add PSCI support for bringing up secondary core on A20Zoltan HERPAI2014-09-171-0/+1495
| | | | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42587 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uboot-sunxi: bump to 2014.04Zoltan HERPAI2014-09-064-4357/+3439
| | | | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42422 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uboot-kirkwood: bump to 2014.07Luka Perkov2014-08-085-30/+30
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42080 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uboot-envtools: bump to 2014.07Luka Perkov2014-08-082-19/+12
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42078 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uboot-mxs: bump u-boot to 2014.07Zoltan HERPAI2014-08-021-3/+3
| | | | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41946 3c298f89-4303-0410-b956-a3cf2f4a3e73
* package:grub2: fix build error on linux missing libzfsJohn Crispin2014-08-011-0/+2
| | | | | | | | | configure enables libzfs support on default. This will break the build, on systems without libzfs. Signed-off-by: Hans Ulli Kroll <ulli.kroll@googlemail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41935 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41774 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: re-add 0041-lzma-fixup.patch to ubootJohn Crispin2014-07-161-0/+44
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41671 3c298f89-4303-0410-b956-a3cf2f4a3e73
* package/uboot-envtools: add support for the EnGenius EAP300 v2 boardGabor Juhos2014-07-141-0/+1
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41660 3c298f89-4303-0410-b956-a3cf2f4a3e73
* package/uboot-envtools: add support for the Tube2H boardGabor Juhos2014-07-141-0/+1
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41651 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41597 3c298f89-4303-0410-b956-a3cf2f4a3e73
* rbcfg: fix format string bugFelix Fietkau2014-06-301-1/+1
| | | | | | Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41410 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [uboot-envtools]: add mvebu supportImre Kaloz2014-06-292-1/+30
| | | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41380 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uboot-envtools: use new scripts from /lib/ to match boardsLuka Perkov2014-06-263-8/+12
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41340 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41313 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40965 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40959 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40929 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: Add ARV7510PW22 supportJohn Crispin2014-06-023-0/+258
| | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40918 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uboot-sunxi: add bananapi supportZoltan HERPAI2014-06-012-1/+96
| | | | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40899 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] uboot-envtools: add support for kirkwood ea4500Luka Perkov2014-05-282-2/+3
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40872 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40829 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] uboot-kirkwood: re-add Pogoplug E02 supportLuka Perkov2014-05-233-2/+64
| | | | | | | | | This patch modifies the u-boot config for the Pogoplug E02 to work with OpenWrt. It also enables building a second stage bootloader image. Signed-off-by: Felix Kaechele <heffer@fedoraproject.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40828 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] uboot-imx6: update to 2014.04Luka Perkov2014-05-203-22/+28
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40805 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] uboot-kirkwood: update to 2014.04Luka Perkov2014-05-205-96/+7
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40804 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] uboot-lantiq: remove duplicate defineLuka Perkov2014-05-191-2/+0
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40779 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] uboot-envtools: update to 2014.04Luka Perkov2014-05-193-19/+20
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40778 3c298f89-4303-0410-b956-a3cf2f4a3e73
* apex: change Source URL for Apex packageFlorian Fainelli2014-05-071-2/+1
| | | | | | | | | | | | | As both of the PKG_SOURCE_URLs within the Apex Makefile appear to be no longer functional, this patch changes the source URL to the OpenWRT downloads page. Apologies for resubmitting, but there was a syntax error in the previous patch ( http://patchwork.openwrt.org/patch/5025 ). Signed-off-by: Riley Baird <orthogonal@librewrt.org> [florian: unmangle patch, fix subject] Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40718 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uboot-sunxi: update pcDuino3 configZoltan HERPAI2014-05-061-3/+3
| | | | | | | | | | | - beef up memory clock to 480 - fix network config Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40714 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uboot-sunxi: add support for LinkSprite pcDuino v3 (a20)Zoltan HERPAI2014-04-303-1/+62
| | | | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40605 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Add Zyxel P-2812HNU-Fx imagesJohn Crispin2014-04-221-1/+16
| | | | | | | | P-2812HNU-Fx images are already supported but not generated. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40548 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Add Fritz!Box 3370 imagesJohn Crispin2014-04-221-1/+22
| | | | | | | | Fritz!Box 3370 images are already supported but not generated. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40547 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Refresh patchesJohn Crispin2014-04-2240-908/+98
| | | | | | | | Refresh uboot-lantiq patches. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40546 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Create firmware directory if it doesn't existJohn Crispin2014-04-221-0/+1
| | | | | | | | Fixes package refreshing. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40545 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Depend on lantiq boardJohn Crispin2014-04-221-2/+30
| | | | | | | | | | Depend on lantiq board. ARV7510 depends on ARV4510 because (according to OpenWrt wiki) both boards are identical except for the unsupported WiFi. Moreover, ARV7510 isn't especifically supported and ARV4510 images valid. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40544 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kobs-ng: Add support for overriding sizeLuka Perkov2014-04-192-2/+44
| | | | | | | | | | | | | | | | By default kobs-ng will use the size of /dev/mtd0 for the IMX bootstreams. This patch allows overriding that size in order to reserve space at the end of the mtd partition for u-boot.img in the case of using an SPL bootloader. For example, to flash an SPL bootloader that loads u-boot.img from 0xe0000 (14MB) offset in a 16MB /dev/mtd0: kobs-ng init -v -x --search_exponent=1 --chip_0_size=0xe00000 SPL nandwrite --start=0xe00000 --pad /dev/mtd0 u-boot.img Signed-off-by: Tim Harvey <tharvey@gateworks.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40532 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: remove uboot lzma patch, apparently its not needed after allJohn Crispin2014-04-161-44/+0
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40521 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uboot-lantiq: backport lzma fixJohn Crispin2014-04-161-0/+44
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40520 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40501 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uboot-lantiq: enable parallel buildingJohn Crispin2014-04-121-0/+2
| | | | | | Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40488 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uboot-lantiq: reuse/copy VR9 GPHY firmware blobs from target/linux/lantiqJohn Crispin2014-04-121-0/+15
| | | | | | Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40487 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uboot-lantiq: add packages for AudioCodes MP-252John Crispin2014-04-121-0/+12
| | | | | | Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40486 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uboot-lantiq: add packages for various Arcadyan boardsJohn Crispin2014-04-121-2/+63
| | | | | | Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40485 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uboot-lantiq: add packages for Lantiq EASY80920John Crispin2014-04-121-1/+26
| | | | | | Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40484 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uboot-lantiq: add packages for Lantiq EASY50712John Crispin2014-04-121-1/+19
| | | | | | Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40483 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uboot-lantiq: update to v2013.10John Crispin2014-04-1260-3103/+8333
| | | | | | | | | | Patches created from tree: git@github.com:danielschwierzeck/u-boot-lantiq.git v2013.10..u-boot-lantiq-v2013.10-openwrt4 Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40482 3c298f89-4303-0410-b956-a3cf2f4a3e73
* grub2: disable mkfont - fix build on ArchlinuxFelix Fietkau2014-03-301-1/+2
| | | | | | Signed-off-by: Alexander Couzens <lynxis@fe80.eu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40350 3c298f89-4303-0410-b956-a3cf2f4a3e73