aboutsummaryrefslogtreecommitdiffstats
path: root/package/boot/uboot-kirkwood
Commit message (Collapse)AuthorAgeFilesLines
* uboot-kirkwood: fix malformed boot configurationAlberto Bursi2018-06-268-8/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With current uboot default configuration the bootloader will fail to start the OpenWrt firmware with the following error: ----- unexpected character 'b' at the end of partition Error initializing mtdparts! incorrect device type in ubi Partition ubi not found! Error, no UBI device/partition selected! Wrong Image Format for bootm command Error occured, error code = 112 ----- If the uboot configuration is examined with printenv I can see that mdtparts line (on a nsa310) is wrong: ----- mtdparts=mtdparts=orion_nand:0x0c0000(uboot), 0x80000(uboot_env),0x7ec0000(ubi)bootargs_root= ---- The "bootargs_root=" that was appended to it should not be there. Fix the issue by adding a \0 line terminator at the end of affected lines, mimicking what is also done by uboot upstream. This issue was detected and confirmed on a nsa310, nsa325 and a pogoplug v4, but it's not hardware-specific, so apply the same fix to other devices as well. Note that the issue is with the uboot's integrated boot configuration, which is not used unless the uboot configuration in flash is unavailable (erased or corrupted), which happens only on first time installation, or if the user deletes the uboot configuration when upgrading uboot. People just upgrading from an older uboot without erasing their previous uboot configuration stored in flash would not have noticed this issue. Signed-off-by: Alberto Bursi <alberto.bursi@outlook.it>
* uboot-kirkwood: update to 2018.03Paul Wassi2018-03-2010-218/+120
| | | | | | | | | | | U-Boot now requires GCC > 5 Catch up with upstream and move some configuration options from the header files to the corresponding defconfig files. Also move some options of patch 010 affecting the whole platform to 010's device only. Signed-off-by: Paul Wassi <p.wassi@gmx.at>
* 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>
* 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-092-27/+1
| | | | | | | 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-kirkwood: update to 2017.09Paul Wassi2017-11-039-101/+160
| | | | | | | | | | Upgrade uboot-kirkwood to upstream release 2017.09 Catch up with upstream and move configuration options from simple defines to Kconfig, as otherwise dependencies would not be resolved and code would not compile. Tested-by: Alberto Bursi <alberto.bursi@outlook.it> Signed-off-by: Paul Wassi <p.wassi@gmx.at>
* package/boot/uboot-kirkwood: fix build errors for nsa310 and nsa325Paul Wassi2017-03-273-54/+14
| | | | | | | With upstream changes, the last update to U-Boot 2017.03 broke the nsa310 and nsa325 targets. Also fix some redefines. Signed-off-by: Paul Wassi <p.wassi@gmx.at>
* package/boot: update uboot-kirkwood to 2017.03Paul Wassi2017-03-209-29/+30
| | | | | | Bump uboot-kirkwood to upstream release 2017.03 Signed-off-by: Paul Wassi <p.wassi@gmx.at>
* uboot-kirkwood: fix usb of nsa310b u-bootAlberto Bursi2017-02-141-1/+3
| | | | | | | fixes issue "nsa 310b u-boot can initialize usb but cannot use usb storage so it cannot load files from usb" Signed-off-by: Alberto Bursi <alberto.bursi@outlook.it>
* uboot-kirkwood: add Zyxel NSA325 ubootAlberto Bursi2017-02-112-0/+714
| | | | | | add uboot for NSA325 Signed-off-by: Alberto Bursi <alberto.bursi@outlook.it>
* uboot-kirkwood: fix goflexhome/net bootcommandAlberto Bursi2017-02-091-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>
* uboot-kirkwood: remove obsolete patchesAlberto Bursi2017-02-096-142/+0
| | | | | | | | | | all patches for CONFIG_SYS_GENERIC_BOARD are obsolete for uboot 2016 sources. Run-tested with the uboot of goflexnet, also the md5sum of all other uboots is the same with or without these patches. Signed-off-by: Alberto Bursi <alberto.bursi@outlook.it>
* uboot-kirkwood: switch to u-boot.mkFelix Fietkau2017-01-241-78/+38
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* uboot-kirkwood: add uboot for nsa310bAlberto Bursi2017-01-243-9/+745
| | | | | | | | | | | | this commit allows to make a standalone u-boot for nsa310b. While both first-stage and second-stage u-boot work fine if installed to flash or loaded with kwboot, I could not get stock u-boot nor bodhi's u-boot to chainload any second stage u-boot (I also tried with dockstar's uboot that works fine on this device if loaded with kwboot). Signed-off-by: Alberto Bursi <alberto.bursi@outlook.it>
* 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 download hashesFelix Fietkau2016-12-161-1/+1
| | | | | | Replace *MD5SUM with *HASH, replace MD5 hashes with SHA256 Signed-off-by: Felix Fietkau <nbd@nbd.name>
* uboot-kirkwood: fix default bootcmd for Seagate DockstarPaul Wassi2016-10-271-1/+1
| | | | | | | Fix the default value for the 'bootcmd' environment variable. Therefore make the default bootcmd work for buildbot's images. Signed-off-by: Paul Wassi <p.wassi@gmx.at>
* uboot-kirkwood: bump to upstream 2016.09.01Paul Wassi2016-10-2717-385/+52
| | | | | | | Bump U-Boot for Kirkwood to upstream 2016.09.01. Local patches cleaned up and reworked. Signed-off-by: Paul Wassi <p.wassi@gmx.at>
* uboot-kirkwood/goflexhome: explicit define the size of the last partitionLuka Perkov2016-03-141-1/+1
| | | | | | | | | Explicit sets the size of the mtdparts, because the kernel has also an explicit value. If they have diffent sizes the ubi won't be detected. Signed-off-by: Alexander Couzens <lynxis@fe80.eu> SVN-Revision: 49018
* uboot-kirkwood/goflexhome: add forgotten include openwrt-kirkwood-common.h"Luka Perkov2016-03-141-0/+9
| | | | | | | | | otherwise the uboot is missing important commands like bootz Signed-off-by: Martin Mueller <mm@sig21.net> Signed-off-by: Alexander Couzens <lynxis@fe80.eu> SVN-Revision: 49017
* uboot-kirkwood/goflexhome: update bootargs to use new ubi styleLuka Perkov2016-03-141-0/+30
| | | | | | | | | | Since switching to new ubi(kernel,squashfs,ubifs) layout, the kernel lies in a ubi volume. Dropping the mtd parts because the mtd layout is saved in the device-tree, which is appended to the zImage. Signed-off-by: Alexander Couzens <lynxis@fe80.eu> SVN-Revision: 49016
* uboot/kirkwood: correct mtdparts + cmdline for new ubifs on dockstarLuka Perkov2016-03-141-12/+6
| | | | | | Signed-off-by: Alexander Couzens <lynxis@fe80.eu> SVN-Revision: 49012
* uboot-kirkwood: fix build with gcc-5Hauke Mehrtens2015-11-202-1/+88
| | | | | | | | This backports a patch from upstream u-boot to make it compile with gcc-5. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 47537
* uboot-kirkwood: bump to 2014.10Luka Perkov2014-11-3015-68/+349
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 43436
* uboot-*: update license info in uboot packagesLuka Perkov2014-11-291-0/+3
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 43429
* license info - revert r43155John Crispin2014-11-031-3/+0
| | | | | | | | turns out that r43155 adds duplicate info. Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 43167
* Add more license tags with SPDX identifiersJohn Crispin2014-11-031-0/+3
| | | | | | | | | | | | | | | | | | 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
* uboot-kirkwood: bump to 2014.07Luka Perkov2014-08-085-30/+30
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 42080
* 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-kirkwood: update to 2014.04Luka Perkov2014-05-205-96/+7
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 40804
* uboot-kirkwood: add support for Seagate GoFlexNetLuka Perkov2014-02-161-0/+5
| | | | | | | Signed-off-by: Alexander Couzens <lynxis@fe80.eu> Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 39594
* uboot-kirkwood: update to 2013.10Luka Perkov2014-02-156-27/+439
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tested on: * Cloud Engines Pogoplug E02 * RaidSonic ICY BOX IB-NAS62x0 * Iomega Iconnect Some users are avoiding to replace their bootloader, because of that add support for second stage u-boot image. Having ubifs capable bootloader is required in order to boot current OpenWrt trunk. Sample ib62x0 commands for running second stage bootloader: tftpboot 0x800000 uboot-kirkwood-ib62x0_second_stage/openwrt-kirkwood-ib62x0_second_stage-u-boot.img bootm 0x800000 Sample ib62x0 commands for flashing second stage bootloader: tftpboot 0x800000 uboot-kirkwood-ib62x0_second_stage/openwrt-kirkwood-ib62x0_second_stage-u-boot.img nand erase 0x100000 0x100000 ; nand write 0x800000 0x100000 0x${filesize} nand read 0x800000 0x100000 0x100000 ; bootm 0x800000 While at it include parallel build support, use alphabetic order of the boards and introduce common OpenWrt configuration. Signed-off-by: Luka Perkov <luka@openwrt.org> Tested-by (on ib62x0): Luka Perkov <luka@openwrt.org> Tested-by (on dockstar): Alexander Couzens <lynxis@fe80.eu> Tested-by (on iconnect): Wojciech Dubowik <wojciech.dubowik@neratec.com> CC: Felix Kaechele <heffer@fedoraproject.org> CC: Wojciech Dubowik <wojciech.dubowik@neratec.com> CC: Alexander Couzens <lynxis@fe80.eu> CC: Daniel Engberg <daniel.engberg@pyret.net> CC: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 39590
* u-boot: prefer mirror2.openwrt.org over ftp.denx.de - the denx ftp is slow ↵Felix Fietkau2013-10-281-1/+3
| | | | | | | | and unreliable Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 38559
* uboot-kirkwood: build in $(BUILD_DIR)Luka Perkov2012-11-291-2/+1
| | | | SVN-Revision: 34401
* uboot-kirkwood: update to 2012.10Luka Perkov2012-11-2210-1964/+5
| | | | SVN-Revision: 34303
* move boot related packages to their own folderJohn Crispin2012-10-1611-0/+2099
SVN-Revision: 33781