aboutsummaryrefslogtreecommitdiffstats
path: root/package/boot
Commit message (Collapse)AuthorAgeFilesLines
* grub2: disable building platform code for target utilityFelix Fietkau2018-02-221-1/+2
| | | | | | It is not used and it was causing a build error with GCC 7.3 Signed-off-by: Felix Fietkau <nbd@nbd.name>
* lantiq: rename gphy firmwareMathias Kresin2018-02-201-5/+5
| | | | | | | | | | Rename the gphy firmware to match the name requested by kernel 4.14 and update the devicetree source files to use the new name. Update the u-boot lantiq Makefile to be compatible with the new names as well. Signed-off-by: Mathias Kresin <dev@kresin.me>
* uboot-sunxi: Add Xunlong Orange Pi Zero PlusHauke Mehrtens2018-02-172-1/+158
| | | | | | | This is based on a patch from armbian: https://github.com/armbian/build/blob/master/patch/u-boot/u-boot-sunxi/add-orangepi-zeroplus.patch Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* sunxi: add support for NanoPi NEO Plus2 boardAntony Antony2018-02-171-0/+9
| | | | | | | | | | | | | | arm64: allwinner: h5: NanoPi NEO Plus2 DT support Add initial DT for NanoPi NEO Plus2 by FriendlyARM - Allwinner quad core H5 Cortex A53 with an ARM Mali-450MP GPU - 1 GB DDR3 RAM - 8GB eMMC flash (Samsung KLM8G1WEPD-B031) - micro SD card slot - Gigabit Ethernet (external RTL8211E-VB-CG chip) - 802.11 b/g/n WiFi, Bluetooth 4.0 (Ampak AP6212A module) - 2x USB 2.0 host ports & 2x USB via headers Signed-off-by: Antony Antony <antony@phenome.org>
* uboot-sunxi: add u-boot DT for NanoPi NEO Plus2 boardAntony Antony2018-02-171-0/+165
| | | | | | u-boot upstream commit 6130b1f6bc23 Signed-off-by: Antony Antony <antony@phenome.org>
* uboot-sunxi: dts: Update orange Pi R1 integrationHauke Mehrtens2018-02-172-146/+73
| | | | | | | | This syncs the Orange Pi R1 device tree files with the one from the upstream kernel and also uses the default configuration from the Orange Pi Zero. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* Revert "uboot-sunxi: bump to 2017.11"Zoltan HERPAI2018-02-1611-36/+392
| | | | | | | | This reverts commit 805f756d6e4ff5061380baf5e262aec72abcf195. Move back to 2017.07 until we move sunxi to GCC7. Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
* Revert "uboot-sunxi: refresh patches"Zoltan HERPAI2018-02-166-10/+10
| | | | | | | | This reverts commit f142de5f44bcba8cb0f12e5b1fd26cd9867cf866. Revert until we can move to 2017.11 Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
* Revert "uboot-sunxi: fix build by adding comparabilities for old dtc"Zoltan HERPAI2018-02-161-52/+0
| | | | | | | | This reverts commit ef0416666f48e1e7793c4230cec18c8cdd3e1003. Revert until we can move to 2017.11 Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
* ar71xx: Add eTactica EG-200 supportKarl Palsson2018-02-131-0/+1
| | | | | | | | | | | | | | EG-200 is a DIN rail mountable device with one ethernet port, wifi, an RS-485 port, and an internal USB attached uSD card reader. Two leds, "modbus" and "etactica" are managed by userspace applications in factory firmware. Flash instruction: Original firmware is based on OpenWrt. Use sysupgrade image directly in vendor GUI. Signed-off-by: Karl Palsson <karlp@etactica.com>
* packages: uboot-mxs: override instead of appending u-boot make flagsMichael Heimpold2018-02-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | This prevents passing down the HOSTCC stuff set in u-boot.mk which results in linking errors against openssl: tools/mxsimage.o: In function `sb_aes_reinit': mxsimage.c:(.text+0x202): undefined reference to `EVP_CIPHER_CTX_reset' tools/mxsimage.o: In function `mxsimage_generate': mxsimage.c:(.text+0x110d): undefined reference to `EVP_MD_CTX_new' mxsimage.c:(.text+0x114f): undefined reference to `EVP_MD_CTX_free' mxsimage.c:(.text+0x11c3): undefined reference to `EVP_MD_CTX_new' mxsimage.c:(.text+0x1323): undefined reference to `EVP_MD_CTX_free' mxsimage.c:(.text+0x134a): undefined reference to `EVP_CIPHER_CTX_reset' tools/mxsimage.o: In function `mxsimage_verify_print_header': mxsimage.c:(.text+0x23ce): undefined reference to `EVP_MD_CTX_new' mxsimage.c:(.text+0x242c): undefined reference to `EVP_MD_CTX_new' mxsimage.c:(.text+0x246b): undefined reference to `EVP_MD_CTX_free' mxsimage.c:(.text+0x24ef): undefined reference to `EVP_CIPHER_CTX_reset' mxsimage.c:(.text+0x2e52): undefined reference to `EVP_MD_CTX_free' collect2: error: ld returned 1 exit status Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* packages: uboot-mxs: bump to 2017.11Michael Heimpold2018-02-132-120/+292
| | | | | | Also update the U-Boot BSP patch for I2SE Duckbill devices. Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* layerscape: support ubifs rootfs in u-boot envYangbo Lu2018-02-135-15/+15
| | | | | | | ls1012ardb/ls1012afrdm/ls1046ardb/ls1088ardb firmwares now use ubifs rootfs. So u-boot env should be set accordingly. Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
* layerscape: update u-boot to LSDK1712Yangbo Lu2018-02-134-32/+32
| | | | | | | This patch is to update layerscape u-boot to NXP LSDK1712 release. Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
* kexec-tools: bump version to 2.0.16Philip Prindeville2018-02-115-245/+3
| | | | | | All patches have been integrated upstream. Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
* kexec-tools: issue warning when dd'ing vmcorePhilip Prindeville2018-02-112-1/+3
| | | | | | | | With no warning, it just looks like the box has hung during boot. We don't want users resetting it without having captured a crashdump. Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
* uboot-fritz4040: Fix build with HOSTCFLAGSHauke Mehrtens2018-02-111-1/+1
| | | | | | | | | | | | When we provide the HOSTCFLAGS to the U-Boot build it will fail because it can not find the u-boot provided header files any more. Just overwrite and not append the package specific configuration on top of the configuration provided by u-boot.mk. uboot-fritz4040 is based on U-Boot 2012.07 and this problem is probably similar to the problem seen with the lantiq and ar71xx u-boot build. Fixes: df9781a4205 ("u-boot,at91bootstrap: fix incorrect HOSTCPPFLAGS variable") Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* uboot-mvebu: fix build ; use the build's tools/libresslAlexandru Ardelean2018-02-103-251/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since I have no openssl-dev on my machine, I first get this error: ``` tools/kwbimage.c:21:10: fatal error: openssl/bn.h: No such file or directory #include <openssl/bn.h> ``` After removing the UBOOT_MAKE_FLAGS the next error is: ``` tools/kwbimage.c:40:6: error: conflicting types for ‘EVP_MD_CTX_cleanup’ void EVP_MD_CTX_cleanup(EVP_MD_CTX *ctx) ``` After removing the OpenSSL patches the next error is: ``` HOSTLD tools/dumpimage /usr/bin/ld: cannot find -lssl /usr/bin/ld: cannot find -lcrypto collect2: error: ld returned 1 exit status scripts/Makefile.host:108: recipe for target 'tools/dumpimage' failed make[5]: *** [tools/dumpimage] Error 1 ``` So, the final part is to add the build system's HOST_LDFLAGS to the UBOOT_MAKE_FLAGS. (which was done in the previous commit) Then the image builds. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* u-boot,at91bootstrap: fix incorrect HOSTCPPFLAGS variableAlexandru Ardelean2018-02-101-1/+1
| | | | | | | | | | | | | | | | | This would should up as `$$(HOSTCPPFLAGS)` in the host CFLAGS. ``` make --jobserver-fds=3,4 -j -C <openwrt>/build_dir/target-arm_cortex-a8+vfpv3_musl_eabi/u-boot-A10-OLinuXino-Lime/u-boot-2017.07 CROSS_COMPILE=arm-openwrt-linux-muslgnueabi- DTC="<openwrt>/build_dir/target-arm_cortex-a8+vfpv3_musl_eabi/linux-sunxi_cortexa8/linux-4.9.76/scripts/dtc/dtc" HOSTCC="gcc" HOSTCFLAGS='-O2 -I<openwrt>/staging_dir/host/include -I<openwrt>/staging_dir/host/usr/include -I<openwrt>/staging_dir/hostpkg/include -I<openwrt>/staging_dir/target-arm_cortex-a8+vfpv3_musl_eabi/host/include $$(HOSTCPPFLAGS)' HOSTLDFLAGS="" BL31=<openwrt>/staging_dir/target-arm_cortex-a8+vfpv3_musl_eabi/image/bl31.bin ``` And then it would complain with: ``` /bin/sh: 1: HOSTCPPFLAGS: not found ``` Also, HOSTCPPFLAGS does not exist. The correct var is HOST_CPPFLAGS. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* uboot-sunxi: fix build by adding comparabilities for old dtcHauke Mehrtens2018-02-101-0/+52
| | | | | | | We use the dtc from the kernel and that does not have all the options which u-boot would like to use now. make these parameters optional. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* uboot-sunxi: refresh patchesHauke Mehrtens2018-02-106-10/+10
| | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* uboot-sunxi: bump to 2017.11Zoltan HERPAI2018-02-0611-392/+36
| | | | | | | | | | | | | | | Runtime-tested on: - Pine64 (A64) - Orange Pi 2 (H3) - Bananapro (A20) - Olimex A20-Micro (A20) - Pcduino v3 (A20) - Pcduino v2 (A10) Compile-tested on: - all A8/A7/A53 boards Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
* arm-trusted-firmware-sunxi: use release build and bump versionZoltan HERPAI2018-02-051-5/+4
| | | | | | | | | - use release build instead of debug to reduce size - bump to use latest commit in allwinner tree Tested on Pine64/1G. Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
* uboot-envtools: add support for GL.iNet GL-AR750Piotr Dymacz2018-01-151-0/+1
| | | | Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
* uboot-envtools: add support for ALFA Network R36APiotr Dymacz2018-01-151-0/+1
| | | | Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
* uboot-envtools: add support for ALFA Network N5QPiotr Dymacz2018-01-141-0/+1
| | | | Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
* uboot-envtools: add support for ALFA Network AP91-5GPiotr Dymacz2018-01-141-0/+1
| | | | Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
* uboot-envtools: add OpenMesh A42 supportSven Eckelmann2018-01-131-0/+3
| | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
* ipq806x: Sort occurrences of boardame alphabeticallyLuis Araneda2018-01-131-3/+3
| | | | | | | This restores the alphabetical sort that was present before the renaming of boardname. Signed-off-by: Luis Araneda <luaraneda@gmail.com>
* ipq806x: convert to dt-based board-detectionLuis Araneda2018-01-131-3/+4
| | | | | | | | | | | | | | | | | Use the generic board detection method: - Board name: First compatible string from the device tree - Board model: Model property from the device tree Change occurrences of board name in userspace by the compatible string, and removed target specific board detection script Replace the definition of SUPPORTED_DEVICES in Device/Default to extract the dt compatible string from each device definition. Additionally, for devices supported by lede-17.01, append the value of BOARD_NAME to SUPPORTED_DEVICES in the device definition. Signed-off-by: Luis Araneda <luaraneda@gmail.com>
* uboot-at91: make packages hiddenHauke Mehrtens2018-01-091-0/+1
| | | | | | | | These packages are needed to generate the image, better mark them hidden so we will activate them based on which boards gets build and they will be activated always when the board which needs then gets build. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* at91bootstrap: make packages hiddenHauke Mehrtens2018-01-091-0/+1
| | | | | | | | These packages are needed to generate the image, better mark them hidden so we will activate them based on which boards gets build and they will be activated always when the board which needs then gets build. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* at91bootstrap: remove redundant definition of BUILD_SUBTARGETHauke Mehrtens2018-01-091-8/+0
| | | | | | | It is sufficient to define this in AT91Bootstrap/Default as this is not used for all. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* at91bootstrap: at91bootstrap default selectionSandeep Sheriker Mallikarjun2018-01-091-16/+16
| | | | | | | | | | | The fixes following problems 1. changing prefix at91bootstrap to AT91bootstrap will fix the default selection of at91bootstrap for the selected sama5 subtarget. 2. fixed missing default selection of sama5d4 nand flash for the selected sama5d4 subtarget. 3. corrected at91bootstrap Title name. Signed-off-by: Sandeep Sheriker Mallikarjun <sandeepsheriker.mallikarjun@microchip.com>
* uboot-at91: fix build after fpu activationSandeep Sheriker Mallikarjun2018-01-091-1/+1
| | | | | | | | | neon and VFPv4 support is added to this target and uboot-at91 build fails due to TARGET_CFLAGS -mfloat-abi set to hard. as a fix, setting uboot-at91 CFLAGS -mfloat-abi=soft. Fixes: 01cc6bd495f ("at91: sama5: activate fpu") Signed-off-by: Sandeep Sheriker Mallikarjun <sandeepsheriker.mallikarjun@microchip.com>
* kirkwood: sort occurrences of boardame alphabeticallyMathias Kresin2018-01-091-5/+5
| | | | | | | This restores the alphabetical sort that was present before the renaming of boardname. Signed-off-by: Mathias Kresin <dev@kresin.me>
* uboot-envtools: add pogoplug v4Alberto Bursi2018-01-091-1/+2
| | | | | | add pogoplug v4 envs support in uboot-envtools Signed-off-by: Alberto Bursi <alberto.bursi@outlook.it>
* uboot-kirkwood: add uboot for pogoplug v4Alberto Bursi2018-01-092-1/+1581
| | | | | | | | | | | | | | | | | | | | | add an uboot able to boot a kernel in an ubi partition This uboot also has a "recovery" feature, before booting from flash it will try to boot a initramfs image called "initramfs.bin" from a FAT32-formatted USB drive connected to the USB 2.0 port. (u-boot lacks drivers for usb 3.0 controllers) Just rename the initramfs image and place it on the usb drive, the uboot will load it. In case there is no USB drive or no such file is found, the uboot will boot from internal flash. The whole check takes less than a second, boot times are not impacted. Signed-off-by: Alberto Bursi <alberto.bursi@outlook.it>
* kirkwood: sync image filename with boardnameMathias Kresin2018-01-091-3/+11
| | | | | | | | | | Use <manufacturer>_<modelname> as image name. Use the BOARD_NAME variable to ensure that the former used boardname is still used as the subdirectory name for the sysupgrade-tar image, to not break sysupgrade from earlier versions. Signed-off-by: Mathias Kresin <dev@kresin.me>
* kirkwood: use the generic board detectMathias Kresin2018-01-091-7/+7
| | | | | | | Drop the target specific detection function in favour of the generic one provided by base-files. Signed-off-by: Mathias Kresin <dev@kresin.me>
* uboot-kirkwood: fix default u-boot selectionMathias Kresin2018-01-091-0/+2
| | | | | | | | | Build the Seagate GoFlexHome u-boot for the Seagate GoFlexNet as well. The name clearly indicates that the u-boot can be used for both boards Build the Zyxel NSA310 u-boot if the NSA310B image is selected. Signed-off-by: Mathias Kresin <dev@kresin.me>
* kirkwood: drop support for orphaned boardsMathias Kresin2018-01-093-31/+2
| | | | | | | No image build code for the Guruplug, Sheevaplug and NSA310S exists. Drop support for the boards for now. Signed-off-by: Mathias Kresin <dev@kresin.me>
* uboot-envtool: remove superfluous + sign from PKG_BUILD_DEPENDSMatthias Schiffer2018-01-071-1/+1
| | | | | | A + sign does not have meaning in build depends. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* layerscape: fix package downloadHauke Mehrtens2017-12-211-2/+2
| | | | | | | | | | | | | | | | The git hash was changed for multiple layerscape packages without changing the version number. The LEDE build system will not download the packages again if the old version is already there and so some people and the build bots are using wrong version of some packages. Use PKG_SOURCE_DATE instead of PKG_VERSION to generate packages with the date and the first charterers of the git hash. This will change the file name and make the build system download them again, also if in future the git hash is changed the file name will change and trigger a new download. This should fix a problem spotted by build bot. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* ramips: drop LinkIt Smart 7688 Duo userspace supportMathias Kresin2017-12-211-1/+0
| | | | | | | | | | The LinkIt Smart 7688/LinkIt Smart 7688 Duo are identical beside the extra ATmega32U4 - accessible via UART - on the the Duo. Since all relevant hardware is identical, drop the Duo special handling in userspace. Signed-off-by: Mathias Kresin <dev@kresin.me>
* uboot-layerscape-armv8_32b: fix package downloadHauke Mehrtens2017-12-201-2/+2
| | | | | | | | | | | | | | | | In commit 2b1ec44dbd3cd3 ("layerscape: add ls1012afrdm device support") The git revision and the mirror hash for this package was updated to a version which includes ls1012afrdm-uboot.bin, but the file name at dl/uboot-layerscape-armv8_32b-2017.09.tar.xz staid the same. This way most user did not download the new version but used the old file. Convert this package to the normal git clone parameters by using PKG_SOURCE_DATE instated of PKG_VERSION, now the file name in dl also contains the git hash and should change every time the git hash is updated. This should fix a problem spotted by build bot. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* lantiq: sync image filename with boardnameMathias Kresin2017-12-161-47/+47
| | | | | | | | | | | | | Use <manufacturer>_<modelname> as image name. Use the BOARD_NAME variable to ensure that the former used boardname is still used as the subdirectory name for the sysupgrade-tar image, to not break sysupgrade from earlier versions. While at it, normalise the image filenames by using only lower case characters and bin as file extension for sysupgrade images. Signed-off-by: Mathias Kresin <dev@kresin.me>
* lantiq: use the compatible string as board nameMathias Kresin2017-12-161-5/+5
| | | | | | | | | | | Use the first compatible string as board name in userspace. Add the new board name as well as the former used board name to the image metadata to keep compatibilty with already deployed installations. Don't add the former used boardname for boards which exists only in master or evaluation boards. Signed-off-by: Mathias Kresin <dev@kresin.me>
* merge: targets: update image generation and targetsZoltan HERPAI2017-12-081-1/+1
| | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
* uboot-sunxi: fix build of HAOYU Electronics Marsboard A10Hauke Mehrtens2017-11-231-1/+2
| | | | | | | | The uboot target is named MarsBoard_A10 and it was not build at all. This fixes a build problem seen by the build bot. Fixes: 6a3565985fde ("sunxi: Added profile for HAOYU Electronics Marsboard A10") Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>