Commit graph

269 commits

Author SHA1 Message Date
Felix Fietkau
24b8d31bad mvebu: update to linux 4.4
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-05-20 14:38:10 +02:00
Felix Fietkau
8eab383782 mvebu: fix portability issues in the image makefile code
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-05-20 14:38:10 +02:00
Luka Perkov
4d966e4dde mvebu: add SolidRun ClearFog A1 support
Signed-off-by: Andrej Vlasic <andrej.vlasic@sartura.hr>

SVN-Revision: 48736
2016-02-17 17:49:26 +00:00
John Crispin
e4db453eab mvebu: add missing symbols.
this broke full builds of the mvebu target

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 48725
2016-02-16 16:25:10 +00:00
Jo-Philipp Wich
2d04407e40 mvebu: fix WRT1900AC v1 LED driver module
Update OpenWRT build tree to reflect changes in TLC-591xx LED family driver.

In kernels < 4.0 the driver was present in form of a patch for the TLC-59116 chip,
and was upstreamed later in kernels > 4.0 to support the entire chip family.

Signed-off-by: Sebastian Careba <nitroshift@yahoo.com>
[jow: fix Kconfig symbol name]
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 48684
2016-02-09 12:33:53 +00:00
Felix Fietkau
57776e68ce base-files: remove default /etc/config/network, generate it via board.d instead
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48493
2016-01-25 16:30:41 +00:00
Hauke Mehrtens
ba3a749f9b kernel: refresh patches for kernel 4.4
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 48222
2016-01-12 20:50:41 +00:00
Imre Kaloz
5705d058eb generic/4.4: bump to -rc5
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 47894
2015-12-15 11:20:38 +00:00
Jo-Philipp Wich
67e1c87012 all: drop old uci-defaults.sh
Replace former uci-defaults.sh implementation with the uci-defaults-new.sh one
and update all users accordingly.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47867
2015-12-11 15:26:06 +00:00
Imre Kaloz
3357033b73 mvebu: drop support for old kernels
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 47835
2015-12-11 13:38:21 +00:00
Imre Kaloz
58e9e35444 mvebu: armada-385-rd has been renamed to armada-388-rd upstream
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 47834
2015-12-11 13:36:30 +00:00
Imre Kaloz
73f774c960 mvebu: update and fixup 4.4 patches
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 47832
2015-12-10 20:53:02 +00:00
Imre Kaloz
4707123fca mvebu: fixup wifi macs for Linksys boards
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 47820
2015-12-10 12:13:16 +00:00
Imre Kaloz
5ebd542e37 mvebu: add support for 4.4-rc
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 47819
2015-12-10 12:11:39 +00:00
Imre Kaloz
b17844d21a mvebu: add support for 4.1 and switch over
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 47818
2015-12-10 12:08:13 +00:00
Jo-Philipp Wich
08848936dd all: remove redundant board.d/00_model files
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47753
2015-12-04 11:07:06 +00:00
Jo-Philipp Wich
527ec2af59 all: remove dummy ucidef_set_interface_loopback() from board.d
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47744
2015-12-03 23:13:00 +00:00
Jo-Philipp Wich
9b02e73188 board.d: merge ucidef_add_switch() and ucidef_add_switch_ports()
This changes uci-defaults-new.sh, config_generate and all relevant board.d
files in order combine ucidef_add_switch() and ucidef_add_switch_ports() into
a single function.

Also removes now superfluous enable and reset arguments.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47721
2015-12-03 17:30:24 +00:00
Jo-Philipp Wich
fff1a82180 mvebu: switch network and led config defaults to board detection framework
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47674
2015-11-30 10:43:31 +00:00
Jo-Philipp Wich
fc64fd8712 Revert "mvebu: migrate led and network setup to board detection framework"
Roll back the mvebu conversion to board detection code as we need to fix
some strcutural issues first.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47597
2015-11-22 20:52:10 +00:00
Jo-Philipp Wich
e20b689249 mvebu: migrate led and network setup to board detection framework
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47541
2015-11-20 23:59:31 +00:00
Imre Kaloz
8bb23cfb66 mvebu: add support for the Linksys WRT1900ACS (Shelby)
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 47164
2015-10-08 10:01:30 +00:00
Imre Kaloz
87a70e0774 This had been set in r44508 as a workaround for switch problems.
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
2015-08-21 08:10:48 +00:00
Imre Kaloz
f57484c4af mvebu: fix cobra chainmask
Thanks Sebastian for spotting it.

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 46697
2015-08-21 08:01:48 +00:00
Imre Kaloz
20fac016e4 mvebu: add support for the Linksys boot counter
The u-boot boot counter was never reset after a successful boot,
which sometimes could make some variables become out of sync.
This patch adds support for the boot counter and enables
auto_recovery unconditionally.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
Signed-off-by: Rob Mosher <nyt-openwrt@countercultured.net>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 46690
2015-08-19 08:31:23 +00:00
Jonas Gorski
bed330204a image.mk: move KDIR_TMP definition to a central location
Instead of each target defining it the same, move the KDIR_TMP
definition to include/image.mk. In addition Image/Build/SysupgradeNAND
already requires KDIR_TMP to be set, so it makes sense to have it
globally defined.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 46592
2015-08-14 10:20:53 +00:00
Jonas Gorski
dbe4173b20 image: fix jffs2(_nand) image generation
Variables dependend on JFFS2_BLOCKSIZE and NANDBLOCK_SIZE are used
for template generation, so need to be present before inclusion of
image.mk in target image Makefiles.
So move all declarations to before any includes.

Fixes: r42878 ("image.mk: clean up and parallelize mkfs calls")
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 46564
2015-08-05 13:55:52 +00:00
Imre Kaloz
eca9068815 mvebu: update dts files for mamba / WRT1900AC
Fix for default button states in WRT1900AC dts files.
This prevents overlay wipe when reset is pressed.

Signed-off-by: Rob Mosher <nyt-openwrt@countercultured.net>

SVN-Revision: 46530
2015-07-31 18:23:28 +00:00
Imre Kaloz
d78c7f1765 mvebu: fix gpio config on the WRT1200AC
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 46527
2015-07-31 18:08:12 +00:00
Hauke Mehrtens
7c7e5c4276 mvebu: make patches apply against 3.18.18 again
commit r46299 broke the mvebu target because one patch does not apply
any more. This commit closes #20070.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 46303
2015-07-12 10:38:54 +00:00
Jonas Gorski
9a59b350b7 kernel: update 3.18 to 3.18.16
Changelogs:

* https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.15
* https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.16

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 46011
2015-06-17 09:54:55 +00:00
Imre Kaloz
9fb062cf93 mvebu: make flashing more safe
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
2015-05-27 19:03:22 +00:00
Imre Kaloz
f1ebb1dddd mvebu: update Linux 4.0 patches
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 45762
2015-05-26 09:31:39 +00:00
Jonas Gorski
76d079204d kernel: update 3.18 to 3.18.14
Changelogs:

* https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.12
* https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.13
* https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.14

Build tested on brcm63xx and ipq806x, runtested on brcm63xx.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 45711
2015-05-21 19:32:46 +00:00
Imre Kaloz
c4c4cce190 mvebu: supress useless in-cpu rtc init on the Mamba
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 45704
2015-05-19 22:54:05 +00:00
Imre Kaloz
9d3f24465f mvebu: add xhci phy support
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 45629
2015-05-08 12:12:20 +00:00
Luka Perkov
76330e9b57 mvebu: better integrate xp-gp
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 45459
2015-04-16 13:53:57 +00:00
Imre Kaloz
2705cda813 mvebu: add support for the Linksys Caiman and Cobra
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 45456
2015-04-16 09:54:39 +00:00
Luka Perkov
0926e4c22f mvebu: bring back CONFIG_CPU_THERMAL
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 45455
2015-04-16 00:23:34 +00:00
Luka Perkov
a635c0a04e mvebu: refresh kernel config
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 45454
2015-04-16 00:10:42 +00:00
Luka Perkov
dade4535bb mvebu: fix typo in marvell profile
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 45453
2015-04-15 16:23:20 +00:00
Luka Perkov
a046ce235f mvebu: better integrate 385-ap-db
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 45452
2015-04-15 16:23:10 +00:00
Imre Kaloz
232c61742e mvebu: copy the initramfs files to the bin dir
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 45421
2015-04-13 20:06:47 +00:00
Imre Kaloz
8c684f42e5 mvebu: add support for the in-CPU RTC on the Armada 38x
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 45415
2015-04-13 13:06:34 +00:00
Imre Kaloz
c9e6c7c836 mvebu: add comments to image generation
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 45414
2015-04-13 12:15:40 +00:00
Imre Kaloz
e3bd4f0969 mvebu: stop legacy image generation
If you can't find the firmware for you board, send proper patches.

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 45413
2015-04-13 12:08:42 +00:00
Imre Kaloz
96c793f529 mvebu: generate a single firmware for the 385-db-ap
This has been done without having a board, but should work.

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 45412
2015-04-13 12:06:56 +00:00
Imre Kaloz
4da8f96754 mvebu: reflect Armada 38x support in the name
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 45411
2015-04-13 11:30:39 +00:00
Imre Kaloz
ceb7321e13 mvebu: refresh patches
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 45401
2015-04-12 17:30:41 +00:00
Imre Kaloz
b0ad24f0d5 mvebu: migrate mamba support to the upstreamed code
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 45400
2015-04-12 17:29:50 +00:00
Imre Kaloz
6f01238398 mvebu: handle other SKUs as well
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 45396
2015-04-12 15:04:14 +00:00
Imre Kaloz
d1bedfbdf5 mvebu: include the ahci driver in the default profile
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 45395
2015-04-12 15:03:25 +00:00
Imre Kaloz
a62fa2d365 mvebu: reformat the damaged syscfg partition on the mamba
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 45386
2015-04-12 08:35:33 +00:00
John Crispin
6d0ad03fac kernel: remove references to kmod-of-i2c
these break the IB since the module is part of i2c-core now

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 45363
2015-04-10 13:39:33 +00:00
Imre Kaloz
7a9fe56452 generic/3.18: upgrade to 3.18.11
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 45303
2015-04-07 21:29:26 +00:00
Imre Kaloz
be2d60465d mvebu: disable cpu idle on a38x
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 45302
2015-04-07 21:13:44 +00:00
Imre Kaloz
f60fea1923 Upstream commits 43b68879de27b1993518687fbc6013da80cdcbfe and ce6031c89a35cffd5a5992b08377b77f49a004b9 improve the cpuidle driver on Armada XP. The latter commit improves performance at the slight expense of power consumption.
Signed-off-by: Claudio Leite <leitec@staticky.com>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 45294
2015-04-07 18:13:51 +00:00
Imre Kaloz
f079ad97ce mvebu: use CONFIG_MANGLE_BOOTARGS
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 45200
2015-03-31 19:27:59 +00:00
Imre Kaloz
77f322e0d7 mvebu: add missing a38x dts labels
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 45199
2015-03-31 19:23:32 +00:00
Imre Kaloz
35df52f89f generic/3.18: upgrade to 3.18.10
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 45197
2015-03-31 19:21:13 +00:00
Imre Kaloz
b9c4dadc11 mvebu: deal with the new path in the fan control script for Linux 4.0+
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 45195
2015-03-31 19:12:27 +00:00
Imre Kaloz
f6eff33b8d mvebu: fixup usb3 support on the a38x
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 45026
2015-03-26 14:32:45 +00:00
Imre Kaloz
23b880b373 mvebu: add a coherency fix which didn't make it to -stable, yet
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 45024
2015-03-26 13:52:21 +00:00
Imre Kaloz
af69bf56b6 drop 3.19 support
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 45002
2015-03-26 09:42:59 +00:00
Imre Kaloz
5be4f2b5b8 mvebu: update mamba dts
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 44949
2015-03-23 12:44:30 +00:00
Imre Kaloz
b95a9f01c1 mvebu: set default regdomain
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 44908
2015-03-20 12:15:40 +00:00
Imre Kaloz
e3d19988cf mvebu: add Linux 4.0 support
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 44882
2015-03-19 10:25:44 +00:00
Felix Fietkau
298d67ec7b mvebu: drop linux 3.14 support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44828
2015-03-16 08:29:42 +00:00
Imre Kaloz
fd17ad3d9a mvebu: add backported patch to reenable hw i/o coherency
Reported-by: Claudio Leite <leitec@staticky.com>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 44621
2015-03-06 18:57:49 +00:00
John Crispin
d15ac306fa kernel: move KERNFS to generic config
KERNFS symbol is selected by SYSFS, so place it in generic config.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

SVN-Revision: 44615
2015-03-06 07:56:47 +00:00
John Crispin
f04a268a04 kernel: disable ARCH_NEEDS_CPU_IDLE_COUPLED
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>

SVN-Revision: 44614
2015-03-06 07:56:34 +00:00
John Crispin
6617845711 kernel: move MTD_SPLIT_SUPPORT to generic config
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>

SVN-Revision: 44612
2015-03-06 07:56:08 +00:00
John Crispin
7886cced18 kernel: remove GENERIC_NET_UTILS from platform configs
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>

SVN-Revision: 44611
2015-03-06 07:55:57 +00:00
Imre Kaloz
e02478a22a mvebu: set default WRT1900AC switch config
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>

SVN-Revision: 44509
2015-02-23 10:35:29 +00:00
Imre Kaloz
0de48a0dd8 mvebu: set WRT1900AC WAN interface MAC address
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
2015-02-23 10:33:19 +00:00
Imre Kaloz
29130d39e3 mvebu: refresh 3.18 patches
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 44462
2015-02-16 12:48:05 +00:00
Imre Kaloz
9b1c7a9de4 mvebu: fix WRT1900AC ubinized images
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>

SVN-Revision: 44455
2015-02-14 22:18:35 +00:00
Luka Perkov
81db848656 targets: base-files: diag.sh does not need to be executable
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 44305
2015-02-07 19:58:58 +00:00
Luka Perkov
92e6e80080 targets: files in uci-defaults do not need to be executables
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 44304
2015-02-07 19:58:52 +00:00
Imre Kaloz
865647cea2 mvebu: add note about the move to single firmware files
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 44291
2015-02-06 11:18:59 +00:00
Imre Kaloz
eda08dd423 mvebu: support building images for a single board
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 44290
2015-02-06 11:16:20 +00:00
Imre Kaloz
12531a0f86 mvebu: don't generate targz images by default
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 44268
2015-02-05 16:31:52 +00:00
Imre Kaloz
66e35c5246 mvebu: Enable the A385 AP on 3.19
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>

SVN-Revision: 44267
2015-02-05 15:41:07 +00:00
Imre Kaloz
9be491f084 mvebu: add Armada 385 DB AP support
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 44266
2015-02-05 11:34:21 +00:00
Imre Kaloz
3019f7ecbd mvebu: add the Armada 385 Reference Design support
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 44265
2015-02-05 11:29:56 +00:00
Imre Kaloz
40daf9346e mvebu: fix NAND and NOR options
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>

SVN-Revision: 44264
2015-02-05 11:26:17 +00:00
Imre Kaloz
f14c4e5cff mvebu: add a subprofile for boards based on a small NOR
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>

SVN-Revision: 44263
2015-02-05 11:25:21 +00:00
Imre Kaloz
e46593a54c mvebu: add large NOR sub-profile implementation
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>

SVN-Revision: 44262
2015-02-05 11:24:10 +00:00
Imre Kaloz
80cfe34291 mvebu: Add sub-profiles
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>

SVN-Revision: 44261
2015-02-05 11:22:43 +00:00
Imre Kaloz
67b91f47d6 mvebu: Add MTD split framework support
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>

SVN-Revision: 44259
2015-02-05 11:14:53 +00:00
Imre Kaloz
7be967e954 mvebu: temporary el cheapo' fan control script
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 44153
2015-01-26 20:41:43 +00:00
Jo-Philipp Wich
0798de785e mvebu: add missing config symbol
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 44147
2015-01-25 22:17:43 +00:00
Imre Kaloz
9a8a348f14 mvebu: use pwmfan in the profile
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 44131
2015-01-25 15:52:28 +00:00
Imre Kaloz
18012a4198 mvebu: preliminary 3.19 support
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 44130
2015-01-25 15:37:31 +00:00
Imre Kaloz
d9c6ff8c25 mvebu: gpio based pwm support
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 44129
2015-01-25 15:36:47 +00:00
Imre Kaloz
9a172c70eb mvebu: update mamba dts
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 44128
2015-01-25 15:26:33 +00:00
Imre Kaloz
afa58d8589 mvebu: backport some upstream changes
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 44127
2015-01-25 15:25:14 +00:00
Imre Kaloz
8a103d5c56 mvebu: fixups for the new driver
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 43978
2015-01-16 08:44:15 +00:00
Imre Kaloz
9a8bf84879 mvebu: add the new tlc59116 driver and migrate the Mamba to it
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 43975
2015-01-15 13:59:01 +00:00
Imre Kaloz
a72bf9f3d2 mvebu: Switch to the generic mkuimage macro
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>

SVN-Revision: 43969
2015-01-14 11:39:20 +00:00