Commit graph

185 commits

Author SHA1 Message Date
Ben Whitten
c2f052acae at91: convert boards to generic build target
Evaluation boards are left in component form to ease flashing
using vendor tooling and instructions. These boards also do
not include the EOF marker in the UBIFS as the bootloaders
are recent and easily upgradeable.

The end product boards use factory.bin images based on the
dts layout and include EOF markers as bootloader UBI support
is not determined.

Signed-off-by: Ben Whitten <ben.whitten@gmail.com>
Signed-off-by: Mathias Kresin <dev@kresin.me>
2017-06-12 21:07:31 +02:00
Felix Fietkau
018d80007e kernel: remove ubifs xz decompression support
It has been unused, and less useful than squashfs for cases where flash
space usage matters.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2017-01-09 14:07:06 +01:00
Ben Whitten
6638946f99 at91: Remove u-boot from platform images folder
Removes the bootloader from the images section as its now in packages/boot
with the others.

Signed-off-by: Ben Whitten <ben.whitten@gmail.com>
2016-10-06 12:15:13 +02:00
Tim Harvey
dc17fde994 kernel: clean up usb gadget support
clean up usb gadget support:
- rename gadget modules so that they appear together and are easier to
  identify as gadget modules
- make usb-lib-composite and usb-gadget hidden as there is no point in
  selecting those without gadget drivers that require them as deps

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
2016-09-15 13:11:21 +02:00
Jo-Philipp Wich
f7a2237b86 at91: fix SAMA5D3 subtarget
Add required architecture overrides to enable SAMA5 boards in Kconfig, add
resulting missing symbols, reorder config and remove unrelated XEN setting.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2016-04-25 14:54:07 +02:00
John Crispin
717bbc3550 at91: udc driver was missing deps
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 48726
2016-02-16 16:25:16 +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
John Crispin
e25a467072 at91: drop v3.18
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 48354
2016-01-19 10:15:39 +00:00
John Crispin
83c246dffd at91: move to 4.4 kernel
Signed-off-by: Ben Whitten <ben.whitten@gmail.com>

SVN-Revision: 48353
2016-01-19 10:15:32 +00:00
John Crispin
0007d435ec at91: fix typo in usb kernel module makefile
Fix a typo with generating the package description

Signed-off-by: Ben Whitten <ben.whitten@gmail.com>

SVN-Revision: 48352
2016-01-19 10:15:26 +00:00
John Crispin
7a3dacef98 at91: remove SAMA5D3 from Default image build.
As the Default profile option is a legacy subtarget, the dtb for the
sama5d3_xplained board DTS is not built and image generation fails.

Signed-off-by: Ben Whitten <ben.whitten@gmail.com>

SVN-Revision: 48351
2016-01-19 10:15:20 +00:00
John Crispin
f5454fe429 at91: add package for high speed usb device
Add a package for a missing module for the at91 high speed device.
Without this the build process pauses asking to build as module.

Signed-off-by: Ben Whitten <ben.whitten@gmail.com>

SVN-Revision: 48350
2016-01-19 10:15:14 +00:00
John Crispin
373594fb4b at91: add 4.4 support
This puts the existing patches and config in a 3.18 folder and introduces
a 4.4 config and patches.
The USB clock fix patch is no longer necessary, and the patches applying
to non DT boards has been dropped as the platform has been converted.
4.4 config was generated by copying 3.18 and running make kernel_menuconfig,
scripts/kconfig.pl filled in the gaps.

Signed-off-by: Ben Whitten <ben.whitten@gmail.com>

SVN-Revision: 48349
2016-01-19 10:15:04 +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
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
81f1ccbf96 at91: switch from uci-defaults to board.d
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47740
2015-12-03 23:07:38 +00:00
John Crispin
0ff8c94aab at91: fix usb rate backport patch tab mangle
The patch submitted in [46649] was mangled in the use of gmails webmail interface, tabs replaced with spaces, resulting in a patch which dit not apply.
This should fix the issue, sorry for the noise.

Signed-off-by: Ben Whitten <benwhitten@gmail.com>

SVN-Revision: 46676
2015-08-17 16:10:49 +00:00
John Crispin
8e90f20bf7 at91: Backport determine_rate prototype fix
This patch is backport of a fix to a USB prototype mismatch bug found
in 3.18 kernels, originally submitted by Boris Brezillon [1].
The symptom of this bug was that devices attached to the at91 using
at91_ohci on a hub never appeared and failed to initialise.

[1] http://www.spinics.net/lists/linux-usb/msg125969.html

Signed-off-by: Ben Whitten <ben.whitten@gmail.com>

SVN-Revision: 46649
2015-08-17 06:16:29 +00:00
Florian Fainelli
ad576d262d at91: add Device Tree based board detection
Set up eth0 as LAN interface by default.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 46174
2015-07-04 01:25:15 +00:00
Florian Fainelli
4748d69f33 at91: sama5d3: enable USB2 by default
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 46173
2015-07-04 01:24:48 +00:00
Florian Fainelli
d04f231706 at91: enable Micrel PHY driver
The AT91 SAMA5D3XPLAINED uses a KSZ9031 and a KSZ8081 that are supported
by this PHY driver.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 46171
2015-07-04 01:24:27 +00:00
Jo-Philipp Wich
ba9f34a389 at91: fix imagebuilder
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 45806
2015-05-28 13:25:21 +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
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
fa097e5ae5 kernel: disbale HAMRADIO in generic config
HAMRADIO enabled in all generic configs, but no one platform directly
use related drivers/protocols. This symbol is only used for kmod-ax25
package modules. Furthermore, half of platforms explicitly disables
this symbol, what silently disables build of modules for kmod-ax25
package.

So disable HAMRADIO by-default in generic config, add it to kmod-ax25
package and remove it from platform specific configs.

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

SVN-Revision: 44613
2015-03-06 07:56:21 +00:00
John Crispin
f1625b116f at91: add SAMA5D3-Xplained board UBI parameters to makefile.
Signed-off-by: Songjun Wu <songjun.wu@atmel.com>

SVN-Revision: 44604
2015-03-05 20:24:57 +00:00
John Crispin
0227827f7b at91: Add dts for Exegin Q5x boards.
Signed-off-by: Owen Kirby <osk@exegin.com>

SVN-Revision: 44492
2015-02-19 09:07:06 +00:00
John Crispin
3cf87e67b2 at91: USB gadget subsystem cleanup and driver fix.
Signed-off-by: Owen Kirby <osk@exegin.com>

SVN-Revision: 44491
2015-02-19 09:06:56 +00:00
John Crispin
6fb59689c6 at91: Enable power and reset controller drivers.
Signed-off-by: Owen Kirby <osk@exegin.com>

SVN-Revision: 44490
2015-02-19 09:06:49 +00:00
John Crispin
4a6e468588 at91: bump to v3.18
Signed-off-by: Your Name <blogic@openwrt.org>

SVN-Revision: 44489
2015-02-18 13:35:46 +00:00
Felix Fietkau
d34e2a337c at91: remove linux 3.10 support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43688
2014-12-13 11:55:24 +00:00
Felix Fietkau
c288d2d6d9 kernel: makefiles: make use of new var KERNEL_PATCHVER
replace all occurences of LINUX_VERSION with the cleaner
approach. future kernel upgrades must mostly touch only
one file. the only platform left is netlogic, because it
uses a intermediate kernel 3.14.16

Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com>

SVN-Revision: 43047
2014-10-24 19:34:02 +00:00
John Crispin
4b45695c9a at91: fix at91-adc dependencies
Error reported by buildbot:
Package kmod-at91-adc is missing dependencies for the following libraries:
input-core.ko

only compile tested

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>

SVN-Revision: 42893
2014-10-13 19:45:31 +00:00
John Crispin
ec69988d09 at91: remove support for TQMa9263
This board is EOL, we should not bother anymore with it.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>

SVN-Revision: 42825
2014-10-06 20:08:40 +00:00
Hauke Mehrtens
d56a44040d kernel: do not deactivate CONFIG_BLK_DEV
CONFIG_BLK_DEV does not activate any functionality, but many code, but
makes it possible to activate other options. Deactivating this breaks
the build of kmod-zram.

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

SVN-Revision: 42528
2014-09-13 22:10:00 +00:00
Luka Perkov
02629d8f87 kernel: update 3.14 to 3.14.18
Targets were build tested and patches are refreshed.

Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 42463
2014-09-10 21:40:19 +00:00
Florian Fainelli
d2a420fa22 at91: build images for AT91SAMA5D3XPLAINED
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 42418
2014-09-03 03:11:25 +00:00
Florian Fainelli
7175e520e1 at91: add SAMA5D3 subtarget
Add a subtarget for Atmel's SAMA5D3 Cortex-A5 based SoCs.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 42417
2014-09-03 03:11:11 +00:00
Florian Fainelli
00c0f4f27a at91: move legacy Kconfig options to subtarget
Some Kconfig options are only relevant for the legacy platforms, move
them where they belong

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 42416
2014-09-03 03:10:59 +00:00
Florian Fainelli
640579bf49 at91: switch to 3.14
We need a new kernel version to support Cortex-A5 based platforms such
as SAMA5GD3.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 42415
2014-09-03 03:10:47 +00:00
Florian Fainelli
892d571d07 at91: add 3.14 support
Add support for Linux 3.14 for the Atmel's AT91 platform.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 42414
2014-09-03 03:10:18 +00:00
Florian Fainelli
035f68e858 at91: move 3.10 specific files and patches
In preparation for adding 3.14 kernel support, move files and patches to
a separate per-version directory since some of them will have
incompatible changes (e.g: dts)

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 42413
2014-09-03 03:09:51 +00:00
Florian Fainelli
132676f1ac at91: add Kconfig symbol for CONFIG_USB_ATMEL_USBA
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 42412
2014-09-03 03:09:36 +00:00
Florian Fainelli
5efbc41cbb at91: fix typo on Calao
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 42410
2014-09-03 03:09:14 +00:00
Florian Fainelli
c2b92f9ef4 at91: create a legacy subtarget
In preparation for adding SAMA5D3 support, move the legacy ARMv5 based
platforms to a separate subtarget.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 42408
2014-09-03 03:08:51 +00:00
John Crispin
7d8f187201 target/linux/*/image/Makefile: use new dts path variable
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41791
2014-07-21 18:42:06 +00:00
John Crispin
ba63338d3f kernel: update to 3.10.49 Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 41776
2014-07-20 17:31:11 +00:00
Gabor Juhos
d0ad8c00b6 kernel: sort Kconfig options in kernel configs
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 41614
2014-07-13 16:25:54 +00:00
John Crispin
994e5ce2f9 kernel: update 3.10.36->3.10.44
205-fix-headers_install.patch is obseleted by upstream commit 3246a0352e3d58380b9386570f1db1faf7edf8a8

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

SVN-Revision: 41351
2014-06-26 13:47:42 +00:00
John Crispin
e9f664c879 kernel: make sure the new UBIBLOCK symbol does not break builds
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41134
2014-06-11 13:00:17 +00:00