aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/at91
Commit message (Collapse)AuthorAgeFilesLines
* at91: remove unused at91part driverHauke Mehrtens2017-10-221-122/+0
| | | | | | | There is no patch in the kernel 4.4 and 4.9 patches which adds this driver to the build system. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* at91: update to kernel 4.9Hauke Mehrtens2017-10-229-23/+26
| | | | | | | This brings the at91 target to kernel 4.9. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Tested-by: Ben Whitten <ben.whitten@gmail.com>
* at91: fix legacy buildHauke Mehrtens2017-10-161-2/+1
| | | | | | | | | | | The build system took the DTB_SIZE definition from Default and not from production-dtb under some conditions. Move the size definitions to Default now as it is only used in production-dtb anyway. Thanks Mathias Kresin for helping me with this. Fixes: c2f052acaeb ("at91: convert boards to generic build target") Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* at91: add support for the WB50N module from LairdBen Whitten2017-10-154-0/+348
| | | | | | | | | | | | | | This module from Laird includes the following: - CPU Atmel SoC SAMA5D31 - Wifi QCA6004 - Bluetooth CSR8811 - RAM 64MB LPDDR - FLASH 128MB The flash is a dual image layout, kernel a/b, rootfs a/b, and a user partition. Signed-off-by: Ben Whitten <ben.whitten@gmail.com>
* at91: add support for the WB45N module from LairdBen Whitten2017-10-154-0/+253
| | | | | | | | | | | | | | This module from Laird includes the following: - CPU Atmel SoC ARM926EJS - Wifi AR6003 - Bluetooth CSR8510 - RAM 64MB LPDDR - FLASH 128MB The flash is a dual image layout, kernel a/b, rootfs a/b, and a user partition. Signed-off-by: Ben Whitten <ben.whitten@gmail.com>
* at91: separate MKUBIFS opts to defaults in the sub targetBen Whitten2017-10-153-13/+18
| | | | | | | Instead of applying global defaults based on selected board, transition to using a per board setting for UBIFS and UBINIZE. Signed-off-by: Ben Whitten <ben.whitten@gmail.com>
* at91: refresh kernel config, enable UBI block and DMABen Whitten2017-10-151-1/+6
| | | | | | | | | The platform generates squashfs images in a UBI block but misses the kernel module to be able to mount the block. DMA is also enabled to allow systems which include them in the DTS to use it. Signed-off-by: Ben Whitten <ben.whitten@gmail.com>
* at91: Add ext4 filesystemSandeep Sheriker Mallikarjun2017-10-141-1/+1
| | | | | | | Add ext4 filesystem for creating sdcard image with ext4 rootfs and removing ext2 as it superset of ext4. Signed-off-by: Sandeep Sheriker Mallikarjun <sandeepsheriker.mallikarjun@microchip.com>
* at91: Enable SDHCI for sama5 in default configSandeep Sheriker Mallikarjun2017-10-141-0/+4
| | | | | | | Enabled SDHCI for sama5 in kernel default config and this is needed to mount sdcard rootfs partition during boot. Signed-off-by: Sandeep Sheriker Mallikarjun <sandeepsheriker.mallikarjun@microchip.com>
* at91: refresh kernel configurationHauke Mehrtens2017-10-143-48/+35
| | | | | | | This was done by running "make kernel_oldconfig" and "make kernel_oldconfig CONFIG_TARGET=subtarget" Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* at91: Add UBI parameters for sama5d4.Sandeep Sheriker Mallikarjun2017-09-201-1/+6
| | | | | | Add UBIFS_OPTS & UBINIZE_OPTS parameters for sama5d4 Xplained board. Signed-off-by: Sandeep Sheriker Mallikarjun <sandeepsheriker.mallikarjun@microchip.com>
* at91: Add SAMA5D4 deviceSandeep Sheriker Mallikarjun2017-09-202-0/+11
| | | | | | | Add support for SAMA5D4 with target device as at91-sama5d4_xplained in SAMA5 subtarget and build images for SAMA5D4 Xplained board. Signed-off-by: Sandeep Sheriker Mallikarjun <sandeepsheriker.mallikarjun@microchip.com>
* at91: Add SAMA5D2 deviceSandeep Sheriker Mallikarjun2017-09-202-0/+11
| | | | | | | Add support for SAMA5D2 with target device as at91-sama5d2_xplained in SAMA5 subtarget and build images for SAMA5D2 Xplained board. Signed-off-by: Sandeep Sheriker Mallikarjun <sandeepsheriker.mallikarjun@microchip.com>
* at91: Install zImage.Sandeep Sheriker Mallikarjun2017-09-201-0/+6
| | | | | | Installing zImage to bin folder of device target. Signed-off-by: Sandeep Sheriker Mallikarjun <sandeepsheriker.mallikarjun@microchip.com>
* at91: Renaming subtarget sama5d3 to sama5Sandeep Sheriker Mallikarjun2017-09-205-8/+8
| | | | | | | | | Renaming at91 subtarget sama5d3 to sama5 and using at91-sama5d3_xplained as a target device in sama5 subtarget.This will enable to add other sama5d2 & sama5d4 target devices in sama5 subtraget.This will avoid code duplication when sama5d2 & sama5d4 added as different subtarget. Signed-off-by: Sandeep Sheriker Mallikarjun <sandeepsheriker.mallikarjun@microchip.com>
* treewide: drop target board_name functionsMathias Kresin2017-07-151-9/+0
| | | | | | They are not used any longer. Signed-off-by: Mathias Kresin <dev@kresin.me>
* treewide: use the generic board_name functionMathias Kresin2017-07-151-2/+1
| | | | | | Use the generic function instead ot the target specific ones. Signed-off-by: Mathias Kresin <dev@kresin.me>
* treewide: populate boardname and model earlierMathias Kresin2017-07-151-0/+0
| | | | | | | | | | | | | For targets using the generic board detection and board specific settings in diag.sh, the board name is still unset at the time the set_state() provided by diag.sh is called by 10_indicate_preinit. Change the execution order to ensure the boardname is populated before required the first time. Do the target specific board detection as early as possible, directly followed by the generic one to allow a seamless switch to the generic function for populating /tmp/sysinfo/. Signed-off-by: Mathias Kresin <dev@kresin.me>
* kernel: cleanup CONFIG_SCHED_HRTICKStijn Tintel2017-06-291-1/+0
| | | | | | | Remove CONFIG_SCHED_HRTICK from target configs, as it was added to the generic config in b47fd7656336162360ebf66147326763ddae3f8d. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* at91: convert boards to generic build targetBen Whitten2017-06-129-222/+163
| | | | | | | | | | | | | | 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>
* kernel: remove ubifs xz decompression supportFelix Fietkau2017-01-091-1/+0
| | | | | | | It has been unused, and less useful than squashfs for cases where flash space usage matters. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* at91: Remove u-boot from platform images folderBen Whitten2016-10-067-836/+0
| | | | | | | 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>
* kernel: clean up usb gadget supportTim Harvey2016-09-151-1/+1
| | | | | | | | | | 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>
* at91: fix SAMA5D3 subtargetJo-Philipp Wich2016-04-252-6/+12
| | | | | | | 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>
* at91: udc driver was missing depsJohn Crispin2016-02-161-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 48726
* base-files: remove default /etc/config/network, generate it via board.d insteadFelix Fietkau2016-01-251-5/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48493
* at91: drop v3.18John Crispin2016-01-197-423/+0
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 48354
* at91: move to 4.4 kernelJohn Crispin2016-01-191-2/+2
| | | | | | Signed-off-by: Ben Whitten <ben.whitten@gmail.com> SVN-Revision: 48353
* at91: fix typo in usb kernel module makefileJohn Crispin2016-01-191-1/+1
| | | | | | | | Fix a typo with generating the package description Signed-off-by: Ben Whitten <ben.whitten@gmail.com> SVN-Revision: 48352
* at91: remove SAMA5D3 from Default image build.John Crispin2016-01-191-2/+1
| | | | | | | | | 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
* at91: add package for high speed usb deviceJohn Crispin2016-01-191-0/+19
| | | | | | | | | 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
* at91: add 4.4 supportJohn Crispin2016-01-1910-0/+296
| | | | | | | | | | | | | 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
* all: drop old uci-defaults.shJo-Philipp Wich2015-12-111-1/+1
| | | | | | | | | 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
* all: remove redundant board.d/00_model filesJo-Philipp Wich2015-12-041-13/+0
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 47753
* at91: switch from uci-defaults to board.dJo-Philipp Wich2015-12-032-8/+17
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 47740
* at91: fix usb rate backport patch tab mangleJohn Crispin2015-08-171-14/+14
| | | | | | | | | 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
* at91: Backport determine_rate prototype fixJohn Crispin2015-08-171-0/+20
| | | | | | | | | | | | | 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
* at91: add Device Tree based board detectionFlorian Fainelli2015-07-044-3/+127
| | | | | | | | Set up eth0 as LAN interface by default. Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 46174
* at91: sama5d3: enable USB2 by defaultFlorian Fainelli2015-07-041-0/+2
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 46173
* at91: enable Micrel PHY driverFlorian Fainelli2015-07-041-0/+1
| | | | | | | | | 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
* at91: fix imagebuilderJo-Philipp Wich2015-05-281-2/+3
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 45806
* kernel: update 3.18 to 3.18.14Jonas Gorski2015-05-213-7/+7
| | | | | | | | | | | | | | 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
* kernel: disable ARCH_NEEDS_CPU_IDLE_COUPLEDJohn Crispin2015-03-061-1/+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> SVN-Revision: 44614
* kernel: disbale HAMRADIO in generic configJohn Crispin2015-03-061-1/+0
| | | | | | | | | | | | | | | 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
* at91: add SAMA5D3-Xplained board UBI parameters to makefile.John Crispin2015-03-051-0/+3
| | | | | | Signed-off-by: Songjun Wu <songjun.wu@atmel.com> SVN-Revision: 44604
* at91: Add dts for Exegin Q5x boards.John Crispin2015-02-193-0/+207
| | | | | | Signed-off-by: Owen Kirby <osk@exegin.com> SVN-Revision: 44492
* at91: USB gadget subsystem cleanup and driver fix.John Crispin2015-02-195-11/+103
| | | | | | Signed-off-by: Owen Kirby <osk@exegin.com> SVN-Revision: 44491
* at91: Enable power and reset controller drivers.John Crispin2015-02-191-0/+8
| | | | | | Signed-off-by: Owen Kirby <osk@exegin.com> SVN-Revision: 44490
* at91: bump to v3.18John Crispin2015-02-188-1/+7
| | | | | | Signed-off-by: Your Name <blogic@openwrt.org> SVN-Revision: 44489
* at91: remove linux 3.10 supportFelix Fietkau2014-12-135-328/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43688