aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mxs
Commit message (Collapse)AuthorAgeFilesLines
* kernel: 5.10: consolidate mac80211 crypto optionsSergey Ryazanov2021-12-171-4/+0
| | | | | | | | | | | | | | | | | | | | | | Each of - CRYPTO_AEAD2 - CRYPTO_AEAD - CRYPTO_GF128MUL - CRYPTO_GHASH - CRYPTO_HASH2 - CRYPTO_HASH - CRYPTO_MANAGER2 - CRYPTO_MANAGER - CRYPTO_NULL2 either directly required for mac80211 crypto support, or directly selected by such options. Support for the mac80211 crypto was enabled in the generic config since c7182123b9 ("kernel: make cryptoapi support needed by mac80211 built-in"). So move the above options from the target configs to the generic config to make it clear why do we need them. CC: Felix Fietkau <nbd@nbd.name> Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
* kernel: filter out both Clang and LLD versionsSergey Ryazanov2021-12-171-1/+0
| | | | | | | | Both CLANG_VERSION and LLD_VERISON are autogenerated runtime configuration options, so add them to the kernel configuration filter and remove from generic and per-target configs to keep configs clean. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
* mxs: drop kernel 5.4 supportZoltan HERPAI2021-11-142-355/+0
| | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
* mxs: switch to Kernel 5.10Paul Spooren2021-11-141-2/+2
| | | | Signed-off-by: Paul Spooren <mail@aparcar.org>
* kernel: Set some options in generic configurationHauke Mehrtens2021-11-021-1/+0
| | | | | | | Add CONFIG_USB_ETH and CONFIG_PWM_JZ4740 to generic kernel configuration. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* treewide: switch the timer frequency to 100 HzRui Salvaterra2021-04-211-2/+0
| | | | | | | | Some targets select HZ=100, others HZ=250. There's no reason to select a higher timer frequency (and 100 Hz are available in every architecture), so change all targets to 100 Hz. Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
* mxs: add support for 5.10 as testing kernelZoltan HERPAI2021-04-112-0/+251
| | | | | | | | | | | | | | The 100-ARM-dts-imx23-introduce-mmc0_sck_cfg.patch does not need to be copied over as it's already merged upstream. Other notable change is the USB_CHIPIDEA_OF change to USB_CHIPIDEA_IMX [1]. [1] https://www.spinics.net/lists/linux-usb/msg193347.html Compile/runtime-tested on Olinuxino Micro (imx23). Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
* treewide: remove execute bit and shebang from board.d filesAdrian Schmutzler2021-03-061-1/+0
| | | | | | | | | | | | | | | | So far, board.d files were having execute bit set and contained a shebang. However, they are just sourced in board_detect, with an apparantly unnecessary check for execute permission beforehand. Replace this check by one for existance and make the board.d files "normal" files, as would be expected in /etc anyway. Note: This removes an apparantly unused '#!/bin/sh /etc/rc.common' in target/linux/bcm47xx/base-files/etc/board.d/01_network Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
* target: use SPDX license identifiers on scriptsAdrian Schmutzler2021-02-102-8/+2
| | | | | | Use SPDX license tags to allow machines to check licenses. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
* target: use SPDX license identifiers on MakefilesAdrian Schmutzler2021-02-105-20/+6
| | | | | | Use SPDX license tags to allow machines to check licenses. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
* kernel: drop empty kmod-ledtrig-* packagesSungbo Eo2021-01-153-3/+3
| | | | | | | | | | | | | | The following four led triggers are enabled in generic config. * kmod-ledtrig-default-on * kmod-ledtrig-heartbeat * kmod-ledtrig-netdev * kmod-ledtrig-timer Drop the packages and remove them from DEVICE_PACKAGES. There's no other package depending on them in this repo. Signed-off-by: Sungbo Eo <mans0n@gorani.run>
* treewide: make dependency on kmod-usb-net selectiveAdrian Schmutzler2020-08-101-1/+1
| | | | | | | | A bunch of kernel modules depends on kmod-usb-net, but does not select it. Make AddDepends/usb-net selective, so we can drop some redundant +kmod-usb-net definitions for DEVICE_PACKAGES. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
* kernel: unify CONFIG_GPIO_SYSFS in kernel configsFelix Fietkau2020-08-061-1/+0
| | | | | | Enable it for all platforms Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: bump 5.4 to 5.4.28Petr Štetiar2020-03-281-7/+0
| | | | | | | | | | | | | | | | | | | | Changelog since 5.4.24 mentions CVE-2019-19769, CVE-2020-8648, CVE-2020-8649 and CVE-2020-8647. Removed upstreamed: generic: 507-v5.6-iio-chemical-sps30-fix-missing-triggered-buffer-depe.patch generic: 600-ipv6-addrconf-call-ipv6_mc_up-for-non-Ethernet-inter.patch bcm27xx: 950-0435-ASoC-pcm512x-Fix-unbalanced-regulator-enable-call-in.patch ipq806x: 701-stmmac-fix-notifier-registration.patch lantiq: 002-pinctrl-falcon-fix-syntax-error.patch octeontx: 0002-net-thunderx-workaround-BGX-TX-Underflow-issue.patch Run tested: apu2, qemu-x86-64, apalis, a64-olinuxino, nbg6617 Build tested: sunxi/a53, imx6, x86/64, ipq40xx Tested-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk> [apu2] Signed-off-by: Petr Štetiar <ynezz@true.cz>
* mxs: fix user led for OLinuXino boardsMichael Heimpold2020-03-171-0/+61
| | | | | | | | | | More testing after kernel upgrade to 5.4 uncovered a regression: the user led is not present anymore due to a pin mux "collision" in device tree. A patch sent to upstream kernel was accepted now. Integrate this pending fix as platform specific patch so that user led is available again. Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* treewide: remove maintainer variable from targetsPetr Štetiar2020-03-161-1/+0
| | | | | | | | | | | | | There is no such role as target maintainer anymore, one should always send corresponding changes for the review and anyone from the commiters is allowed to merge them or eventually use the hand break and NACK them. Lets make it clear, that it is solely a community doing the maintenance tasks. Signed-off-by: Petr Štetiar <ynezz@true.cz> Acked-by: Adrian Schmutzler <freifunk@adrianschmutzler.de> Acked-by: Piotr Dymacz <pepe2k@gmail.com>
* kernel: 5.4: remove some dup config options already set in genericYousong Zhou2020-03-101-1/+0
| | | | | | | This furthers 860652f4b9da ("kernel: 5.4: move some kconfig options to generic") Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
* mxs: switch to kernel 5.4Michael Heimpold2020-03-082-1/+1
| | | | | | | | Compiled for and run-tested on - I2SE Duckbill board - Olimex OLinuXino Maxi board Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* mxs: gen_sdcard_ext4_ext4.sh: use /bin/shRosen Penev2019-12-311-1/+1
| | | | | | | | Nothing here needs bash. Signed-off-by: Rosen Penev <rosenp@gmail.com> [adjust prefix of commit title] Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
* mxs: gen_sdcard_vfat_ext4.sh: use /bin/shRosen Penev2019-12-311-1/+1
| | | | | | | | Nothing here needs bash. Signed-off-by: Rosen Penev <rosenp@gmail.com> [change prefix of commit title] Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
* treewide: kernel config: remove runtime optionsPetr Štetiar2019-11-241-2/+0
| | | | | | | Remove CC_HAS_ASM_GOTO, CC_IS_GCC and GCC_VERSION kernel config options which are set at runtime and which should be ignored now. Signed-off-by: Petr Štetiar <ynezz@true.cz>
* mxs: start a console on USB gadget serial portsMichael Heimpold2019-11-091-0/+1
| | | | | | | | | | | | The I2SE Duckbill devices are pen-drive like and thus the usage of the USB gadget subsystem is highly indicated. Spawning a console if a serial gadget is configured saves us from connecting a physical debug uart. On Olimex OLinuXino Maxi/Mini boards, this does not hurt. Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* mxs: switch to askconsoleMichael Heimpold2019-11-091-1/+1
| | | | | | | Remove the dedicated tty name and use askconsole to spawn the console on serial debug uart. Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* mxs: add support and switch to kernel 4.19Michael Heimpold2019-11-093-76/+19
| | | | | | | | | | Also remove kernel 4.14 support and the meanwhile obsolete patch. This was run-tested on I2SE Duckbill device and Olimex OLinuXino Maxi board. Signed-off-by: Michael Heimpold <mhei@heimpold.de> Tested-by: Zoltan HERPAI <wigyori@uid0.hu>
* treewide: replace backticks by $(...) in gen_*_img.sh scriptsAdrian Schmutzler2019-09-292-2/+2
| | | | | | | | This replaces deprecated backticks by more versatile $(...) syntax. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de> [decapitalized patch subject at submitter's request] Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
* mxs: disable unused serial driversMichael Heimpold2019-03-111-3/+1
| | | | | | | | | | | | | | | | This disables PL010 and 8250 serial support for this platform as both drivers are not used: the debug UART is PL011 and the application UARTs use a dedicated MXS specific driver. The kernel size reduction is neglectable, but it also removes the non-working (confusing) /dev/ttyS0 and /dev/ttyS1 devices in a running system (which generate errors when trying to use): root@OpenWrt:~# echo "hello world" > /dev/ttyS0 ash: write error: I/O error root@OpenWrt:~# Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* mxs: use generic sysinfo board detectionMichael Heimpold2018-11-283-44/+2
| | | | | | | | | Since we do nothing special for mxs based boards, we can simply use the generic existing code. We just need to convert scripts to use the DT compatible strings. Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* kernel: bump 4.14 to 4.14.75Koen Vandeputte2018-10-101-3/+3
| | | | | | | | | Refreshed all patches. Compile-tested on: ar71xx, cns3xxx, imx6 Runtime-tested on: ar71xx, cns3xxx, imx6 Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
* kernel: enable THIN_ARCHIVES by defaultSergey Ryazanov2018-05-221-1/+0
| | | | | | | | THIN_ARCHIVES option is enabled by default in the kernel configuration and no one target config disables it. So enable it by default and remove this symbol from target specific configs to keep them light. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
* kernel: enable FUTEX_PI by defaultSergey Ryazanov2018-05-221-1/+0
| | | | | | | | | New FUTEX_PI configuration symbol enabled if FUTEX and RT_MUTEX symbols are enabled. Both of these symbols are enabled by default in the generic config, so enable FUTEX_PI by default too to keep platform specific configs minimal. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
* kernel: disable DRM_LIB_RANDOM by defaultSergey Ryazanov2018-05-221-1/+0
| | | | | | | DRM_LIB_RANDOM config symbol selected only by DRM_DEBUG_MM_SELFTEST which is disable by default, so disable DRM_LIB_RANDOM by default too. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
* kernel: disable DMA_{NOOP|VIRT}_OPS by defaultSergey Ryazanov2018-05-221-2/+0
| | | | | | | These options do not used by any supported arch, so disable them by default to make arch configs a bit more clean. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
* kernel: disable ARCH_WANTS_THP_SWAP by defaultSergey Ryazanov2018-05-221-1/+0
| | | | | | | | Only one arch (x86_64) enables this option. So disable ARCH_WANTS_THP_SWAP by default and remove referencies to it from all configs (except x86_64) to make them clean. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
* mxs: drop support for 4.9Michael Heimpold2018-02-203-486/+0
| | | | Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* mxs: enable LRADC driverMichael Heimpold2018-02-201-2/+2
| | | | Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* mxs: bump to use 4.14 by defaultZoltan HERPAI2018-02-201-1/+1
| | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
* mxs: add support for 4.14Zoltan HERPAI2018-02-202-0/+370
| | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
* mxs: rename files to files-4.9Michael Heimpold2018-02-131-0/+0
| | | | | | | | The Device Tree file for I2SE Duckbill boards was updated upstream. Let's use the upstream version for upcoming kernel 4.14 by keeping our current version for v4.9 still around. Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* 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-152-4/+3
| | | | | | 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>
* mxs: drop 4.4 supportMichael Heimpold2017-06-276-1231/+0
| | | | Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* mxs: add support for 4.9 and switch overMichael Heimpold2017-06-273-1/+348
| | | | | | | | | | | | | | | | | | | | I did not port the regulator and power patches from Stefan Wahren because I talked to him and he told me that work on this is currently stalled. And since AFAIK nothing depends on these patches, leaving them out seems reasonable. I build minimum default configurations and run-tested them on both I2SE Duckbill devices and Olimex Olinuxino Maxi boards successfully [1]. [1] Tested: - debug uart is working - boot without any obvious kernel problem - network is coming up and data transfer is possible - Olinuxino: USB detects a plugged-in pen drive Signed-off-by: Michael Heimpold <mhei@heimpold.de> [refreshed config and patches] Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* mxs: enable nvmem supportFelix Fietkau2017-02-101-0/+2
| | | | | | fixes build error due to missing kernel config options Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mxs: remove stale references to obsolete kernel module packagesMichael Heimpold2017-01-284-12/+4
| | | | | | | Commit 29443e2 (mxs: remove modules.mk, select drivers in the kernel config) missed to remove these references, so cleanup it now. Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* mxs: put u-boot images into image staging directoryJo-Philipp Wich2017-01-271-2/+2
| | | | | | | | | | | | Do not put the u-boot images into the kernel build directory as this directory might get removed after kernel updates while the u-boot packages InstallDev recipe is not getting re-executed because it is still considered current, leading to image build failures later on due to missing images. To ensure that built bootloader images persist over kernel version updates in the buildroot, put them into the new STAGING_DIR_IMAGE directory. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* mxs: fix image build issuesFelix Fietkau2017-01-251-2/+2
| | | | | | | stage u-boot images in KERNEL_BUILD_DIR for building images always select uboot-mxs Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mxs: gzip ext4 imagesFelix Fietkau2017-01-131-0/+3
| | | | | | Significantly reduces disk usage Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mxs: remove modules.mk, select drivers in the kernel configFelix Fietkau2017-01-102-99/+11
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mxs: remove obsolete kernel package depending on linux 3.18Felix Fietkau2017-01-101-21/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>