aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mvebu
Commit message (Collapse)AuthorAgeFilesLines
* mvebu: drop linux 3.14 supportFelix Fietkau2015-03-1616-1804/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44828 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mvebu: add backported patch to reenable hw i/o coherencyImre Kaloz2015-03-061-0/+111
| | | | | | | | | Reported-by: Claudio Leite <leitec@staticky.com> Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44621 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: move KERNFS to generic configJohn Crispin2015-03-062-2/+0
| | | | | | | | KERNFS symbol is selected by SYSFS, so place it in generic config. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44615 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: disable ARCH_NEEDS_CPU_IDLE_COUPLEDJohn Crispin2015-03-063-3/+0
| | | | | | | | | Disable ARCH_NEEDS_CPU_IDLE_COUPLED by-default in generic config, since only one platfrom (omap) needs them. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44614 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: move MTD_SPLIT_SUPPORT to generic configJohn Crispin2015-03-062-2/+0
| | | | | | | | | | | CONFIG_MTD_SPLIT_SUPPORT symbol default value is 'y' and many platform specific configs explicitly enables it, while no one platform disables this symbol. So place it in generic config and remove from platform specific configs. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44612 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: remove GENERIC_NET_UTILS from platform configsJohn Crispin2015-03-061-1/+0
| | | | | | | | | | CONFIG_GENERIC_NET_UTILS is selected by CONFIG_NET and already enabled in generic config, so we don't need this symbol in platform specific configurations. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44611 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mvebu: set default WRT1900AC switch configImre Kaloz2015-02-231-1/+4
| | | | | | | | | | | | This sets 'enable_vlan' and thus uses 802.1q VLANs, but without tagging on either interface. Signed-off-by: Claudio Leite <leitec@staticky.com> Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44509 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44508 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mvebu: refresh 3.18 patchesImre Kaloz2015-02-167-57/+11
| | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44462 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mvebu: fix WRT1900AC ubinized imagesImre Kaloz2015-02-141-3/+4
| | | | | | | | | | | | The current pxa3xx_nand driver doesn't support sub-page writing, so the VID header offset must be specified explicitly. Signed-off-by: Claudio Leite <leitec@staticky.com> Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44455 3c298f89-4303-0410-b956-a3cf2f4a3e73
* targets: base-files: diag.sh does not need to be executableLuka Perkov2015-02-071-0/+0
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44305 3c298f89-4303-0410-b956-a3cf2f4a3e73
* targets: files in uci-defaults do not need to be executablesLuka Perkov2015-02-071-0/+0
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44304 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mvebu: add note about the move to single firmware filesImre Kaloz2015-02-061-0/+3
| | | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44291 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mvebu: support building images for a single boardImre Kaloz2015-02-067-29/+170
| | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44290 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mvebu: don't generate targz images by defaultImre Kaloz2015-02-051-2/+2
| | | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44268 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mvebu: Enable the A385 AP on 3.19Imre Kaloz2015-02-057-0/+606
| | | | | | | | | | | | | | In order for the image to be built, some patches need to be ported to 3.19. Add the relevant patches. Note that most of them (if not all) should be merged in 3.20, removing the need to carry them on then. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44267 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mvebu: add Armada 385 DB AP supportImre Kaloz2015-02-058-0/+607
| | | | | | | | | Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44266 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mvebu: add the Armada 385 Reference Design supportImre Kaloz2015-02-053-0/+41
| | | | | | | | | Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44265 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mvebu: fix NAND and NOR optionsImre Kaloz2015-02-051-6/+10
| | | | | | | | | | | | | | | | | All the boards but Mamba had wrong UBI options so far, making it impossible to flash the built image on their respective storage medium. Fix all of the supported boards in order to make the generated images useful. Tested on a Mirabox, an Armada XP GP and an Openblocks AX3, and used the NAND chip datasheet for the others. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44264 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mvebu: add a subprofile for boards based on a small NORImre Kaloz2015-02-051-0/+25
| | | | | | | | | | | | | | | Some boards only come with a small NOR on it, where UBI isn't a good solution because of its overhead. Add a new subprofile for such boards, that rely on the mtd split framework instead. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44263 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mvebu: add large NOR sub-profile implementationImre Kaloz2015-02-051-0/+22
| | | | | | | | | | | | | While we supported only the NAND so far, some boards use a large enough NOR, where UBI is the only reasonable option. Create a new sub-profile template with a different set of UBI options. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44262 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mvebu: Add sub-profilesImre Kaloz2015-02-051-22/+74
| | | | | | | | | | | | | | | | In order to support the various board NAND layout that we support, introduce a sub-profile similar to the one used by ar71xx. These subprofiles provide a default implementation for most of the building functions, while allowing each sub-profile to override any of these operations in order to have a more specific behaviour, like Mamba expects for example. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44261 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mvebu: Add MTD split framework supportImre Kaloz2015-02-052-0/+4
| | | | | | | | | | We're going to need the MTD split related options for our NOR support. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44259 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mvebu: temporary el cheapo' fan control scriptImre Kaloz2015-01-262-0/+21
| | | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44153 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mvebu: add missing config symbolJo-Philipp Wich2015-01-251-0/+1
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44147 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mvebu: use pwmfan in the profileImre Kaloz2015-01-251-1/+1
| | | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44131 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mvebu: preliminary 3.19 supportImre Kaloz2015-01-2513-0/+1836
| | | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44130 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mvebu: gpio based pwm supportImre Kaloz2015-01-258-0/+969
| | | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44129 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mvebu: update mamba dtsImre Kaloz2015-01-251-70/+71
| | | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44128 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mvebu: backport some upstream changesImre Kaloz2015-01-2515-2/+1563
| | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44127 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mvebu: fixups for the new driverImre Kaloz2015-01-161-3/+3
| | | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43978 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mvebu: add the new tlc59116 driver and migrate the Mamba to itImre Kaloz2015-01-154-531/+401
| | | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43975 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mvebu: Switch to the generic mkuimage macroImre Kaloz2015-01-141-6/+3
| | | | | | | | | | | | | The mvebu image makefile define something almost identical to the generic implementation found in include/image.mk. Switch to this implementation. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43969 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mvebu: Replace the padjffs2 call by the generic definitionImre Kaloz2015-01-141-1/+1
| | | | | | | | | | | The mvebu image Makefile directly calls the padjffs2 utility, while there's an generic make function to do just that. Switch to it Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43968 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [mvebu]: now that the driver knows it, use the 88e6172's switch type in the ↵Imre Kaloz2015-01-121-1/+1
| | | | | | | | | | mamba dts Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43945 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mvsw6171: rename to 'mvsw61xx'Luka Perkov2015-01-113-3/+3
| | | | | | | | | In preparation for properly supporting switches beyond the 88E6171. Signed-off-by: Claudio Leite <leitec@staticky.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43935 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [mvebu]: switch to 3.18Imre Kaloz2015-01-091-1/+1
| | | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43893 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [mvebu/3.18]: refresh kernel config, add cpuidle and cpufreq supportImre Kaloz2015-01-052-18/+97
| | | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43855 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [mvebu]: enable swconfig and the mvsw6171 driverImre Kaloz2015-01-056-6/+40
| | | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43854 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [mvebu]: add tmp421 to the device tree instead of relying on autodetectImre Kaloz2015-01-041-0/+5
| | | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43825 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [mvebu]: enable wpad-mini by defaultImre Kaloz2014-12-311-1/+1
| | | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43801 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [mvebu]: fix mvneta vlan taggingImre Kaloz2014-12-261-0/+38
| | | | | | | | | | | | | | | | | | | | | This is a 3.14.x backport of: "mvneta: Fix TSO and checksum for non-acceleration vlan traffic" Upstream commits: 817dbfa5d1bc276a72c1a577310382008e8aca0a 2d39d120781a5770573dc6ed672a5a562f541aea Fixes vlan tagging on SoC interfaces for the WRT1900AC. Useful when using mvsw6171 driver. Signed-off-by: Mark Milburn <mark.a.milburn@gmail.com> Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43781 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [mvebu]: only call UbinizeImage and BuildSysUpgrade for boards we support ↵Imre Kaloz2014-12-261-2/+4
| | | | | | | | | | them on Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43779 3c298f89-4303-0410-b956-a3cf2f4a3e73
* The ubinized filesystems should be used for generating theImre Kaloz2014-12-261-1/+1
| | | | | | | | | | final images, so store them in KDIR instead. Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43778 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [kirkwood/mvebu]: we've changed places with Luka, reflect that :)Imre Kaloz2014-12-251-1/+1
| | | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43774 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [mvebu]: use mwlwifi by defaultImre Kaloz2014-12-251-1/+1
| | | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43773 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add "preinit_regular" diag.sh set_state argumentJohn Crispin2014-12-151-0/+3
| | | | | | | | | | | | This new argument is used right after starting regular preinit (which happens if failsafe wasn't triggered). The main purpose of "preinit" argument is to indicate that failsafe can be triggered, however we were missing a way to inform user that we don't wait for a trigger anymore. With this change it's clear when failsafe mode can be triggered. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43715 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: drop CONFIG_PROC_DEVICETREE in 3.18Luka Perkov2014-12-101-1/+0
| | | | | | | | This option was removed in upstream commit 8357041. Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43607 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: refresh patchesFelix Fietkau2014-12-083-8/+8
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43564 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [mvebu]: add initial 3.18 supportImre Kaloz2014-11-245-0/+1012
| | | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43366 3c298f89-4303-0410-b956-a3cf2f4a3e73