aboutsummaryrefslogtreecommitdiffstats
path: root/package/boot/uboot-kirkwood/patches
Commit message (Collapse)AuthorAgeFilesLines
* uboot-kirkwood: refresh patchesAdrian Schmutzler2021-06-0610-45/+35
| | | | | | | | This is only cosmetic, but the next one adding a patch here would have to do it anyway, and thus will get a smaller diff for review now. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
* kirkwood: Add support for SheevaplugBERENYI Balazs2021-06-062-0/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Globalscale SheevaPlug: * Marvell Kirkwood 88F6281 * 512 MB SDRAM * 512 MB Flash * Gigabit Network * USB 2.0 * SD slot * Serial console The device is supported in mainline uboot/linux the commit adds only some openwrt config for building an image. Installation: 1 - Update uboot: setenv ipaddr '192.168.0.111' setenv serverip '192.168.0.1' tftpboot u-boot.kwb nand erase 0x0 0x100000 nand write 0x800000 0x0 0x100000 reset 2 - Install OpenWRT: setenv ethaddr 00:50:43:01:xx:xx saveenv setenv ipaddr '192.168.0.111' setenv serverip '192.168.0.1' tftpboot openwrt-kirkwood-globalscale_sheevaplug-squashfs-factory.bin nand erase.part ubi nand write 0x800000 ubi 0x600000 reset Signed-off-by: BERENYI Balazs <balazs@wee.hu> Reviewed-by: Pawel Dembicki <paweldembicki@gmail.com> [add vendor name for uboot-kirkwood, merge patches, copy to 5.10, add AUTORELEASE for uboot-kirkwood, refresh patches] Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
* kirkwood: add support for Seagate BlackArmor NAS220Kip Porterfield2020-12-221-0/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Seagate BlackArmor NAS220 is a consumer NAS with two internal drive bays. The stock OS runs RAID 1 over the disks via mdadm. Device specification: - SoC: Marvell 88F6192 800 MHz - RAM: 128 MB - Flash: 32 MB - 2 x internal SATA II drives - Ethernet: 10/100/1000 Mbps (single port, no switch) - WLAN: None - LED: Power, Status, Sata Activity - Key: Power, Reset - Serial: 10 pin header, (115200,8,N,1), 3.3V TTL 9|x - x|10 7|x - x|8 5|x - GND|6 3|x - RX|4 1|TX - x|2 front of case - USB ports: 2 x USB 2.0 Flash instruction: NOTE: this process uses a serial connection. It will upgrade the bootloader and reset the bootloader environment variables TFTP server setup - Setup PC with TFTP server set the PC IP to 10.4.50.5 as TFTP server - Copy these files to TFTP server location - u-boot.kwb - seagate_blackarmor-nas220-initramfs-uImage - seagate_blackarmor-nas220-squashfs-sysupgrade.bin - seagate_blackarmor-nas220-squashfs-factory.bin Seagate NAS setup - Connect LAN cable between PC and seagate device - Connect to serial to seagate device Install u-boot - Boot seagate device and stop in bootloader by pressing any key - run 'printenv' from u-boot and save the values - tftpboot 0x2000000 u-boot.kwb - nand erase.part uboot - nand write 0x2000000 0x0 ${filesize} - reset Update MAC address in u-boot env - Stop in u-boot by pressing any key - Get your MAC address from your saved printenv. Is also on chassis - setenv ethaddr <your MAC> - saveenv Option 1 (recommended) - Install OpenWrt via initramfs and sysupgrade - tftpboot 0x2000000 seagate_blackarmor-nas220-initramfs-uImage - bootm 0x2000000 - *OpenWrt should be running now, however it is not written to flash yet* - From the running instance of OpenWrt use Luci's "flash image" feature from the web site or use sysupgrade from the console to write seagate_blackarmor-nas220-squashfs-sysupgrade.bin to flash Option 2 - Install OpenWrt by flashing factory image from u-boot - nand erase.part ubi - tftpboot 0x2000000 seagate_blackarmor-nas220-squashfs-factory.bin - nand write 0x2000000 ubi ${filesize} - reset Signed-off-by: Kip Porterfield <kip.porterfield@gmail.com>
* uboot-kirkwood: add uboot for CheckPoint L-50Pawel Dembicki2020-07-114-2/+1072
| | | | | | This patch add u-boot for CheckPoint L-50 routers. Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
* uboot-kirkwood: add support for Zyxel NSA310SPawel Dembicki2020-07-082-0/+74
| | | | | | | This patch modifies the u-boot config for the Zyxel NSA310S to work with OpenWrt. Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
* uboot-kirkwood: Revert "uboot-kirkwood: enable sata in nsa310 uboot"Hauke Mehrtens2020-06-271-3/+1
| | | | | | | | | | | This reverts commit 930f3c014821df423507c878415c7fb4910a454d. The build fails with the following build error: arm-openwrt-linux-muslgnueabi-ld.bfd: drivers/built-in.o: in function `ide_init': build_dir/target-arm_xscale_musl_eabi/u-boot-nsa310/u-boot-2020.04/drivers/block/ide.c:750: undefined reference to `ide_preinit' make[4]: *** [Makefile:1700: u-boot] Error 1 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* uboot-kirkwood: enable sata in nsa310 ubootAlberto Bursi2020-06-271-1/+3
| | | | | | | | | | | | | | | | the uboot of nsa310 cannot use the network chip as it is a realtek on the PCIe lanes and not a Marvell ethernet from the SoC. Therefore tftp is not possible on this device and the only way to install is by loading files from a USB drive. If the USB subsystem is dead there is no way to install OpenWrt. Enable sata support and commands so it can be used as a fallback in case of USB issues. Signed-off-by: Alberto Bursi <bobafetthotmail@gmail.com>
* uboot-kirkwood: update to 2020.04Pawel Dembicki2020-04-209-116/+99
| | | | | | | | | | | | | Update U-Boot to current 2020.04 release for kirkwood platform. Catch up with upstream and move some configuration options from the header files to the corresponding defconfig files. Compile tested: all devices Run tested: nsa310, pogoplugv4 Tested-by: Cezary Jackiewicz <cezary@eko.one.pl> [nsa310] Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
* uboot-kirkwood: update to 2019.01Paul Wassi2019-02-179-78/+81
| | | | | | Update U-Boot to current 2019.01 release for kirkwood platform Signed-off-by: Paul Wassi <p.wassi@gmx.at>
* uboot-kirkwood: fix malformed boot configurationAlberto Bursi2018-06-278-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: fix whitespacesAlberto Bursi2018-06-278-29/+29
| | | | | | remove whitespaces from the patches Signed-off-by: Alberto Bursi <alberto.bursi@outlook.it>
* uboot-kirkwood: update to 2018.03Paul Wassi2018-03-209-216/+118
| | | | | | | | | | | 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-091-0/+1574
| | | | | | | | | | | | | | | | | | | | | 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: drop support for orphaned boardsMathias Kresin2018-01-091-21/+0
| | | | | | | 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-038-99/+158
| | | | | | | | | | 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-208-27/+28
| | | | | | 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-111-0/+709
| | | | | | 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: add uboot for nsa310bAlberto Bursi2017-01-242-9/+740
| | | | | | | | | | | | 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>
* 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-2716-383/+50
| | | | | | | 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-3014-56/+339
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 43436
* uboot-kirkwood: bump to 2014.07Luka Perkov2014-08-084-28/+28
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 42080
* uboot-kirkwood: re-add Pogoplug E02 supportLuka Perkov2014-05-232-1/+59
| | | | | | | | | 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-204-93/+4
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 40804
* uboot-kirkwood: update to 2013.10Luka Perkov2014-02-155-14/+397
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* uboot-kirkwood: update to 2012.10Luka Perkov2012-11-224-1442/+0
| | | | SVN-Revision: 34303
* move boot related packages to their own folderJohn Crispin2012-10-165-0/+1477
SVN-Revision: 33781