aboutsummaryrefslogtreecommitdiffstats
path: root/package/boot
Commit message (Collapse)AuthorAgeFilesLines
* grub2: rebase patchesJo-Philipp Wich2018-08-301-8/+4
| | | | | | | | | | Patch 300-CVE-2015-8370.patch was added without proper rebasing on the version used by OpenWrt, make it apply and refresh the patch to fix compilation. Fixes: 7e73e9128f ("grub2: Fix CVE-2015-8370") Signed-off-by: Jo-Philipp Wich <jo@mein.io> (cherry picked from commit 9ffbe84ea49fc643f41bfdf687de99aee17c9154)
* grub2: Fix CVE-2015-8370Rosen Penev2018-08-302-1/+45
| | | | | | | | | | | | This CVE is a culmination of multiple integer overflow issues that cause multiple issues like Denial of Service and authentication bypass. More info: https://nvd.nist.gov/vuln/detail/CVE-2015-8370 Taken from Fedora. Signed-off-by: Rosen Penev <rosenp@gmail.com> (cherry picked from commit 7e73e9128f6a63b9198c88eea97c267810447be4)
* package/grub2: update to 2.02Alif M. Ahmad2017-12-131-6/+3
| | | | | | | Update to version 2.02 Signed-off-by: Alif M. Ahmad <alive4ever@live.com> (cherry picked from commit 415c47de79ada7496c39f435df0b0523472aee58)
* grub2: update to 2.02~rc2Alif M. Ahmad2017-12-131-2/+2
| | | | | | | Update to version 2.02~rc2. Signed-off-by: Alif M. Ahmad <alive4ever@live.com> (cherry picked from commit ffd055d5bbc1a223c80eb5bbc03a6465d0ac0bb4)
* kexec-tools: get kexec running on MUSL and x86 hardwarePhilip Prindeville2017-12-132-0/+211
| | | | | | | | Couple of important upstream patches (slated for 2.0.15) that are necessary for kexec to run on MUSL and on x86 hardware. Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com> (cherry picked from commit dfacdc6a99757fcf7804b38784fc24f9fad30650)
* lantiq: remove lantiq_board_name, use the generic function insteadFelix Fietkau2017-12-131-2/+1
| | | | | Signed-off-by: Felix Fietkau <nbd@nbd.name> (cherry picked from commit 7e798dab56546d6f8e2fe0f913ff41e8f010af51)
* uboot-envtools: add support for ALFA Network AP121FPiotr Dymacz2017-07-231-0/+1
| | | | Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
* grub2: update to 2.02~rc1Alif M. Ahmad2017-03-011-2/+2
| | | | Signed-off-by: Alif M. Ahmad <alive4ever@live.com>
* uboot-kirkwood: fix goflexhome/net bootcommandAlberto Bursi2017-02-191-1/+1
| | | | | | | | | | Goflexhome/net use uImage, and to boot an uImage the u-boot must use bootm command, not bootz. Fixes the "i cannot boot LEDE with this u-boot" issue that I found out myself with my goflexnet. Signed-off-by: Alberto Bursi <alberto.bursi@outlook.it>
* package/uboot-envtools: add OpenMesh A40 supportSven Eckelmann2017-02-151-0/+1
| | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
* package/uboot-envtools: add OpenMesh a60 supportSven Eckelmann2017-02-151-0/+1
| | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
* package/uboot-envtools: add OpenMesh OM2Pv4/-HSv4 supportSven Eckelmann2017-02-151-1/+3
| | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
* packages: mark packages depending on a target as nonsharedMathias Kresin2017-01-243-0/+6
| | | | | | | | | The packages can't be build as shared packages due to the unmet dependencies. Fixes FS#418. Signed-off-by: Mathias Kresin <dev@kresin.me>
* uboot-mvebu: enable loader with the default profileFelix Fietkau2017-01-081-1/+1
| | | | | | Fixes build error Signed-off-by: Felix Fietkau <nbd@nbd.name>
* uboot-sunxi: enable parallel buildFelix Fietkau2017-01-051-0/+2
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* uboot-sunxi: add uboot-sunxi-all for selecting all other variantsYousong Zhou2017-01-051-142/+50
| | | | | | | | | While at it, the following changes are introduced - Rewrite the Makefile for better readability - Make parallel builds possible Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
* uboot-lantiq: fix boot of images larger than 8MBMathias Kresin2017-01-0212-12/+36
| | | | | | | | Increasing CONFIG_SYS_BOOTM_LEN from 8 MB to 16 MB is necessary to support uncompressing images larger than 8 MB when using the bootm command. Signed-off-by: Mathias Kresin <dev@kresin.me>
* uboot-lantiq: fix build with gcc6Mathias Kresin2017-01-022-87/+852
| | | | | | | Backport u-boot commit 9b2c282b348dfe966bbba967dc7a45ce817cce50 to fix compile with gcc5 and gcc6. Signed-off-by: Mathias Kresin <dev@kresin.me>
* kirkwood: convert iconnect, ib62x0 and pogoplug_e02 to the new image build codeFelix Fietkau2016-12-244-34/+39
| | | | | | | Update the correspoding u-boot configs to stop relying on kernel-in-rootfs, which was removed a while back Signed-off-by: Felix Fietkau <nbd@nbd.name>
* treewide: clean up and unify PKG_VERSION for git based downloadsFelix Fietkau2016-12-223-12/+6
| | | | | | Also use default defintions for PKG_SOURCE_SUBDIR, PKG_SOURCE Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kexec-tools: remove useless CONFIG_KEXEC_TOOLS_TARGET_NAME indirectionFelix Fietkau2016-12-202-11/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kexec-tools: build by default, even if CONFIG_KERNEL_KEXEC is unsetFelix Fietkau2016-12-201-1/+1
| | | | | | | Helps find build issues and makes the package available on snapshot builds Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kexec-tools: enable support for x86_64Felix Fietkau2016-12-201-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kexec-tools: update to 2.0.14-rc1, fix build errorsFelix Fietkau2016-12-207-321/+24
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kexec-tools: fix compile errorGilles Mazoyer2016-12-201-0/+11
| | | | | | When compiling file vmcore-dmesg.c, several errors "unknown type name 'loff_t'" Signed-off-by: Gilles Mazoyer <mazoyer.gilles@omega.ovh>
* grub2: upgrade to 2.02-beta3 (3 years newer than previous)Alexandru Ardelean2016-12-204-50/+10
| | | | | | | | '100-musl-compat.patch' does not seem to be required anymore. '210-fix_serial_rtscts.patchi' is superseeded by: http://git.savannah.gnu.org/cgit/grub.git/commit/?id=bac5d1a64ab4191058a8fd4c05f6b3b339e249e7 Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* grub2: disable 'check-macro-version' build rule in 'po' buildAlexandru Ardelean2016-12-201-0/+13
| | | | | | | | This seems to occur when gettext-full is built on the host-side and the autoreconf stuff re-generates some of the build files, except for the po/Makefile.in.in Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* grub2: do not generate mkfonts at build timeAlexandru Ardelean2016-12-201-0/+7
| | | | | | | | | | Even though these fonts may not be installed, they seem to be generated at build time. Seems that the configure script re-generated from configure.ac is a bit more annoying than it has to be. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* grub2: add PKG_FIXUP:=autoreconfAlexandru Ardelean2016-12-201-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reboot of: a0ea22ac430f91ab045431a79b2e2161e66cd56a Reverted: 3c52cbfa53056ded95ae5a7ae27319eafd5a37e5 The host-side build of grub2 requires this sometimes. This will re-generate the ./configure script from configure.ac. I don't know the conditions of how this reproduces, it just sometimes appears, and sometimes doesn't. Build error ``` <lede-dir>/build_dir/target-x86_64_musl-1.1.15_yogi/host/grub-2.02~beta2/build-aux/missing: line 81: aclocal-1.14: command not found WARNING: 'aclocal-1.14' is missing on your system. You should only need it if you modified 'acinclude.m4' or 'configure.ac' or m4 files included by 'configure.ac'. The 'aclocal' program is part of the GNU Automake package: <http://www.gnu.org/software/automake> It also requires GNU Autoconf, GNU m4 and Perl in order to run: <http://www.gnu.org/software/autoconf> <http://www.gnu.org/software/m4/> <http://www.perl.org/> Makefile:3962: recipe for target 'aclocal.m4' failed ``` Adding PKG_FIXUP adds sanity (i.e. autoreconf is used for host & target builds) over just using HOST_FIXUP. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* uboot-envtools: drop executable file attribute from files/ipqPiotr Dymacz2016-12-201-0/+0
| | | | Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
* uboot-envtools: fix Edimax BR-6425 board namePiotr Dymacz2016-12-201-1/+1
| | | | Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
* uboot-envtools: fix code formatting style in uci-defaults filesPiotr Dymacz2016-12-207-61/+62
| | | | | | | | | | Few minor code formatting style fixes, including: - keep one board per line - always use "|\" (for consistency) - remove redundant double quotes and empty lines Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
* uboot-envtools: keep boards in alphabetical orderPiotr Dymacz2016-12-204-15/+15
| | | | Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
* treewide: clean up download hashesFelix Fietkau2016-12-1623-20/+23
| | | | | | Replace *MD5SUM with *HASH, replace MD5 hashes with SHA256 Signed-off-by: Felix Fietkau <nbd@nbd.name>
* uboot-envtools: add support for YunCore SR3200 and XD3200Piotr Dymacz2016-12-121-1/+3
| | | | Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
* layerscape: add 64b/32b target for ls1046ardb deviceYutang Jiang2016-12-122-1/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | Add support for NXP layerscape ls1046ardb 64b/32b Dev board. LS1046ARDB Specification: ------------------------- Memory subsystem: * 8GByte DDR4 SDRAM (64bit bus) * 512 Mbyte NAND flash * Two 64 Mbyte high-speed SPI flash * SD connector to interface with the SD memory card * On-board 4G eMMC Ethernet: * Two XFI 10G ports * Two SGMII ports * Two RGMII ports PCIe: * PCIe1 (SerDes2 Lane0) to miniPCIe slot * PCIe2 (SerDes2 Lane1) to x2 PCIe slot * PCIe3 (SerDes2 Lane2) to x4 PCIe slot * USB 3.0: one super speed USB 3.0 type A port, one Micro-AB port * UART: supports two UARTs up to 115200 bps for console Signed-off-by: Yutang Jiang <yutang.jiang@nxp.com>
* layerscape: uboot-layerscape: prefer github over git.freescale.comYutang Jiang2016-12-1295-18498/+9
| | | | | | | In order to prevent the impact of the merger of the company and the potential rebase of the SDK repositories, migrate the u-boot source to github. Signed-off-by: Yutang Jiang <yutang.jiang@nxp.com>
* uboot-lantiq: Add BT Home Hub 5A supportMathias Kresin2016-11-292-0/+352
| | | | | | | | | | | | | | | | | | Based on the submission to the uboot-lantiq repo by Martin Blumenstingl. Use the ddr_settings.h from the GPL tarball. The NAND boot optimized one (with memory tuning enabled) doesn't work for the UART boot image. Use the same mtd layout as the stock u-boot. Add add UBI support. Use the leds to indicate boot status like it is done with the stock u-boot. Switch on the red power led if kernel image can't be loaded. Otherwise switch the green led on. Make only the ramboot u-boot available. Only this image is required for the first installation of LEDE. Signed-off-by: Mathias Kresin <dev@kresin.me>
* uboot-envtools: make it not sharedEddi De Pieri2016-11-231-0/+2
| | | | | | | | | | | | uboot-envtools have some stuff related to the cpu. This should fix following error on lantiq soc: Downloading http://downloads.lede-project.org/snapshots/packages/mips_24kc/base/uboot-envtools_2015.10-1_mips_24kc.ipk. Configuring uboot-envtools. //usr/lib/opkg/info/uboot-envtools.postinst: .: line 10: can't open '/lib/ar71xx.sh' Signed-off-by: Eddi De Pieri <eddi@depieri.net>
* uboot-lantiq: vgv7519 fix tftp loading of big kernel/image sizeEddi De Pieri2016-11-231-1/+3
| | | | | | | | | | | | | | | | | | On my board: Bytes transferred = 7084442 (6c199a hex) Image Name: MIPS OpenWrt Linux-3.10.49 Created: 2014-11-11 17:40:00 UTC Image Type: MIPS Linux Kernel Image (lzma compressed) Data Size: 7084378 Bytes = 6.8 MiB Load Address: 80002000 Entry Point: 80002000 Verifying Checksum ... OK Uncompressing Kernel Image ... LZMA: uncompress or overwrite error 7 - must RESET b ROM VER: 1.0.5 CFG 01 Signed-off-by: Eddi De Pieri <eddi@depieri.net>
* Revert "grub2: add PKG_FIXUP:=autoreconf"John Crispin2016-11-211-1/+0
| | | | | | | | this caused build errors on x86 This reverts commit a0ea22ac430f91ab045431a79b2e2161e66cd56a. Signed-off-by: John Crispin <john@phrozen.org>
* grub2: add PKG_FIXUP:=autoreconfAlexandru Ardelean2016-11-211-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | The host-side build of grub2 requires this sometimes. This will re-generate the ./configure script from configure.ac. I don't know the conditions of how this reproduces, it just sometimes appears, and sometimes doesn't. Build error ``` <lede-dir>/build_dir/target-x86_64_musl-1.1.15_yogi/host/grub-2.02~beta2/build-aux/missing: line 81: aclocal-1.14: command not found WARNING: 'aclocal-1.14' is missing on your system. You should only need it if you modified 'acinclude.m4' or 'configure.ac' or m4 files included by 'configure.ac'. The 'aclocal' program is part of the GNU Automake package: <http://www.gnu.org/software/automake> It also requires GNU Autoconf, GNU m4 and Perl in order to run: <http://www.gnu.org/software/autoconf> <http://www.gnu.org/software/m4/> <http://www.perl.org/> Makefile:3962: recipe for target 'aclocal.m4' failed ``` Adding PKG_FIXUP adds sanity (i.e. autoreconf is used for host & target builds) over just using HOST_FIXUP. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* uboot-envtools: add 'dockstar' for kirkwoodPaul Wassi2016-11-211-0/+1
| | | | | | Add board 'dockstar' to known fw_env-configurations. Signed-off-by: Paul Wassi <p.wassi@gmx.at>
* uboot-envtools: add support for YunCore CPE830Piotr Dymacz2016-11-211-0/+1
| | | | Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
* uboot-envtools: add support for YunCore CPE870Piotr Dymacz2016-11-211-0/+1
| | | | Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
* uboot-envtools: add support for YunCore AP90QPiotr Dymacz2016-11-211-0/+1
| | | | Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
* layerscape: uboot: using perl script:byte_swap.pl to replace tcl ↵Yutang Jiang2016-11-161-0/+72
| | | | | | script:byte_swap.tcl Signed-off-by: Yutang Jiang <yutang.jiang@nxp.com>
* yamonenv: move to Boot Loaders submenuAlberto Bursi2016-11-081-0/+1
| | | | | | Boot Loaders submenu is the place where all other boot loaders are. Signed-off-by: Alberto Bursi <alberto.bursi@outlook.it>
* uboot-envtools: move to Boot Loaders submenuAlberto Bursi2016-11-031-0/+1
| | | | | | Boot Loaders submenu is where other bootloader tools (fconfig and grub2-editenv) are. Signed-off-by: Alberto Bursi <alberto.bursi@outlook.it>
* uboot-sunxi: fix default config for OLIMEX A13 SOM (FS#239)Jo-Philipp Wich2016-11-0220-277/+58
| | | | | | | | | | | | | | | | | | The current uboot default config for the A13 SOM erroneously enables support for the AXP209 power regulator IC which is not present on the board. This superfluous support module sets an incorrect initial clock frequency and confuses the kernel, ultimately leading to a boot failure later on. Properly disable the PMIC support and enable the EHCI support by translating the deprecated SYS_EXTRA_OPTIONS values into proper SUNXI_NO_PMIC and USB_EHCI_HCD symbols respectively. Also rename 002-add-olimex-a13-som.diff to 002-add-olimex-a13-som.patch and refresh the remaining patches of the series while we're at it. Reported-by: Mario Fischer <mario-fischer@web.de> Signed-off-by: Jo-Philipp Wich <jo@mein.io>