aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mvebu/base-files/lib
Commit message (Collapse)AuthorAgeFilesLines
* treewide: do board detection during preinitMathias Kresin2017-07-152-1/+9
| | | | | | Do the board detection during preinit to unify it across all targets. Signed-off-by: Mathias Kresin <dev@kresin.me>
* base-files: automatically handle paths and symlinks for RAMFS_COPY_BINMatthias Schiffer2017-07-111-1/+1
| | | | | | | | | | | | Depending on busybox applet selection, paths of basic utiilties may differ, and may not work as symlinks to busybox. Simply using whatever binary is found in PATH and detecting symlinks automatically is more robust and easier to maintain. The list of binaries is also slightly cleaned up and duplicates are removed. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* mvebu: fix sysupgradeMatthias Schiffer2017-06-012-18/+8
| | | | | | | | | | | | | | | | | mvebu was modifying RAMFS_COPY_BIN and RAMFS_COPY_DATA from a sysupgrade_pre_upgrade hook. As the ramfs is created from stage2, this did not have an effect anymore after the staged sysupgrade changes. As it doesn't really hurt to copy fw_printenv and fw_setenv unconditionally, simply add them in /lib/upgrade/platform.sh, so stage2 will see them. Config copying is moved to a function called by platform_copy_config, where it belongs. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> Fixes: FS#821 Fixes: 30f61a34b4cf "base-files: always use staged sysupgrade"
* mvebu: add ClearFog Base supportMarko Ratkaj2017-05-142-0/+6
| | | | | | | | | | Add support for SolidRun ClearFog Base board. The base model is a smaller version of ClearFog Pro without the DSA switch, replacing it with a second copper gigabit port, and only one PCIe socket. Signed-off-by: Marko Ratkaj <marko.ratkaj@sartura.hr>
* mvebu: ClearFog renamed upstream to ClearFog ProMarko Ratkaj2017-05-142-3/+3
| | | | | | The conventional model is now known as the "Clearfog Pro" Signed-off-by: Marko Ratkaj <marko.ratkaj@sartura.hr>
* mvebu: add linux 4.9 supportFelix Fietkau2017-02-161-0/+20
| | | | | Signed-off-by: Felix Fietkau <nbd@nbd.name> Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
* mvebu: fix sysupgrade for Linksys WRT3200ACMVignesh Balasubramaniam2016-12-041-1/+1
| | | | | | | | | | | | | | | sysupgrade command fails due to missing U-Boot environment-processing binaries on sysupgrade ramdisk. The missing binaries result in the following output: Switching to ramdisk... Performing system upgrade... ash: /usr/sbin/fw_printenv: not found ash: fw_setenv: not found ash: touch: not found cannot find target partition Signed-off-by: Vignesh Balasubramaniam <vigneshb.hp@gmail.com>
* mvebu: use image metadata for firmware validationFelix Fietkau2016-11-241-21/+2
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mvebu: add support for the Linksys WRT3200ACM (Rango)Imre Kaloz2016-10-244-10/+18
| | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* mvebu: fix sysupgradeAaron Curley2016-10-041-0/+2
| | | | | | | | | | | | | | sysupgrade command fails due to missing U-Boot environment-processing binaries on sysupgrade ramdisk. The missing binaries result in the following output: Switching to ramdisk... Performing system upgrade... ash: /usr/sbin/fw_printenv: not found ash: fw_setenv: not found ash: touch: not found cannot find target partition Fixes FS#197. Signed-off-by: Aaron Curley <accwebs@gmail.com>
* mvebu: add sysupgrade support for clearfogJonas Gorski2016-09-264-7/+78
| | | | | | | | Add and enable sysupgrade support for clearfog boards, based on how the brcm2708 target does it. Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com> Acked-by: Felix Fietkau <nbd@nbd.name>
* mvebu: add SolidRun ClearFog A1 supportLuka Perkov2016-02-171-0/+3
| | | | | | Signed-off-by: Andrej Vlasic <andrej.vlasic@sartura.hr> SVN-Revision: 48736
* mvebu: add support for the Linksys WRT1900ACS (Shelby)Imre Kaloz2015-10-084-4/+7
| | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 47164
* This had been set in r44508 as a workaround for switch problems.Imre Kaloz2015-08-211-2/+1
| | | | | | | | | | | | | Now that the switch driver can handle two devices with the same MAC address in separate VLANs we can go back to using the same address on both interfaces. This is the Linksys firmware's default behavior. Signed-off-by: Claudio Leite <leitec@staticky.com> Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 46700
* mvebu: make flashing more safeImre Kaloz2015-05-271-1/+4
| | | | | | | | | Turn on the auto recovery feature when flashing and turn it off on successful bootup. Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 45792
* mvebu: better integrate xp-gpLuka Perkov2015-04-161-0/+3
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 45459
* mvebu: add support for the Linksys Caiman and CobraImre Kaloz2015-04-164-4/+16
| | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 45456
* mvebu: better integrate 385-ap-dbLuka Perkov2015-04-151-1/+4
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 45452
* mvebu: migrate mamba support to the upstreamed codeImre Kaloz2015-04-124-6/+6
| | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 45400
* mvebu: reformat the damaged syscfg partition on the mambaImre Kaloz2015-04-121-1/+10
| | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 45386
* mvebu: set WRT1900AC WAN interface MAC addressImre Kaloz2015-02-231-1/+2
| | | | | | | | | Toggles the LA bit on the WAN interface. Signed-off-by: Claudio Leite <leitec@staticky.com> Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 44508
* handle sysupgrade tar files on the WRT1900ACImre Kaloz2014-07-142-5/+34
| | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 41647
* add sysupgrade supportImre Kaloz2014-07-133-0/+131
| | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 41630
* drop unneeded fileImre Kaloz2014-07-011-9/+0
| | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 41433
* fixup mac addresses on the WRT1900ACImre Kaloz2014-06-292-0/+29
| | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 41382
* mvebu: drop preinit scriptLuka Perkov2014-06-262-9/+1
| | | | | | | | The /lib/mvebu.sh script can now handle this task. Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 41341
* make script executable, add WRT1900AC detectionImre Kaloz2014-06-201-0/+3
| | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 41291
* mvebu: add support for the Armada XP GP board (DB-MV784MP-GP)Luka Perkov2014-02-111-0/+3
| | | | | | | | | | | | | | | | | | | | This Armada XP GP board from Marvell comes with: * 2GB DDR3 DIMM * 1GB NAND flash (8-bit interface) * 16MB NOR flash (16-bot interrface) * 16MB SPI flash * SDIO module * 3 PCIe * 1 SATA link * 2 USB EHCI * 1 internal SSD * 4 Ethernet Gigabit * 1 RS232 port over USB Signed-off-by: Seif Mazareeb <seif.mazareeb@gmail.com> SVN-Revision: 39568
* mvebu: add board detection scriptsFlorian Fainelli2013-01-172-0/+60
Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 35208