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> SVN-Revision: 42914
* uboot-sunxi: add support for Olimex A13 SOMZoltan Herpai2014-09-281-1/+5
| | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> SVN-Revision: 42692
* uboot-sunxi: add patch to fix gmac reliability issue on bananapiZoltan Herpai2014-09-281-0/+20
| | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> SVN-Revision: 42691
* 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> SVN-Revision: 42587
* uboot-sunxi: bump to 2014.04Zoltan Herpai2014-09-064-4357/+3439
| | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> SVN-Revision: 42422
* uboot-kirkwood: bump to 2014.07Luka Perkov2014-08-085-30/+30
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 42080
* uboot-envtools: bump to 2014.07Luka Perkov2014-08-082-19/+12
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 42078
* uboot-mxs: bump u-boot to 2014.07Zoltan Herpai2014-08-021-3/+3
| | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> SVN-Revision: 41946
* 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> SVN-Revision: 41935
* 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
* lantiq: re-add 0041-lzma-fixup.patch to ubootJohn Crispin2014-07-161-0/+44
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 41671
* 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
* rbcfg: fix format string bugFelix Fietkau2014-06-301-1/+1
| | | | | | Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr> SVN-Revision: 41410
* 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
* lantiq: Add ARV7510PW22 supportJohn Crispin2014-06-023-0/+258
| | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 40918
* uboot-sunxi: add bananapi supportZoltan Herpai2014-06-012-1/+96
| | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> SVN-Revision: 40899
* 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-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> SVN-Revision: 40828
* uboot-imx6: update to 2014.04Luka Perkov2014-05-203-22/+28
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 40805
* uboot-kirkwood: update to 2014.04Luka Perkov2014-05-205-96/+7
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 40804
* uboot-lantiq: remove duplicate defineLuka Perkov2014-05-191-2/+0
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 40779
* uboot-envtools: update to 2014.04Luka Perkov2014-05-193-19/+20
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 40778
* 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> SVN-Revision: 40718
* uboot-sunxi: update pcDuino3 config - beef up memory clock to 480 - fix ↵Zoltan Herpai2014-05-061-3/+3
| | | | | | | | network config Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> SVN-Revision: 40714
* uboot-sunxi: add support for LinkSprite pcDuino v3 (a20)Zoltan Herpai2014-04-303-1/+62
| | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> SVN-Revision: 40605
* 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> SVN-Revision: 40548
* 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> SVN-Revision: 40547
* Refresh patchesJohn Crispin2014-04-2240-908/+98
| | | | | | | | Refresh uboot-lantiq patches. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 40546
* 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> SVN-Revision: 40545
* 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> SVN-Revision: 40544
* 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> SVN-Revision: 40532
* lantiq: remove uboot lzma patch, apparently its not needed after allJohn Crispin2014-04-161-44/+0
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 40521
* uboot-lantiq: backport lzma fixJohn Crispin2014-04-161-0/+44
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 40520
* 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-lantiq: enable parallel buildingJohn Crispin2014-04-121-0/+2
| | | | | | Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> SVN-Revision: 40488
* 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> SVN-Revision: 40487
* uboot-lantiq: add packages for AudioCodes MP-252John Crispin2014-04-121-0/+12
| | | | | | Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> SVN-Revision: 40486
* uboot-lantiq: add packages for various Arcadyan boardsJohn Crispin2014-04-121-2/+63
| | | | | | Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> SVN-Revision: 40485
* uboot-lantiq: add packages for Lantiq EASY80920John Crispin2014-04-121-1/+26
| | | | | | Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> SVN-Revision: 40484
* uboot-lantiq: add packages for Lantiq EASY50712John Crispin2014-04-121-1/+19
| | | | | | Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> SVN-Revision: 40483
* 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> SVN-Revision: 40482
* grub2: disable mkfont - fix build on ArchlinuxFelix Fietkau2014-03-301-1/+2
| | | | | | Signed-off-by: Alexander Couzens <lynxis@fe80.eu> SVN-Revision: 40350