summaryrefslogtreecommitdiffstats
path: root/configs/platform-rpi/kernelconfig
Commit message (Collapse)AuthorAgeFilesLines
* rpi: kernel: enable ARM-optimized SHA256 implementationRoland Hieber2018-11-181-1/+5
| | | | | | | CRYPTO_SHA256 is set as a dependency of several modules, so CRYPTO_SHA256_ARM shold be used too. Signed-off-by: Roland Hieber <r.hieber@pengutronix.de>
* rpi: kernel: detect stack corruption when calling the schedulerRoland Hieber2018-11-181-1/+1
| | | | | | | | | | | This option checks for a stack overrun on calls to schedule(). If the stack end location is found to be overwritten, always panic as the content of the corrupted region can no longer be trusted. This is to ensure no erroneous behaviour occurs which could result in data corruption or a sporadic crash at a later stage once the region is examined. The runtime overhead introduced is minimal. Signed-off-by: Roland Hieber <r.hieber@pengutronix.de>
* rpi: kernel: suspend-to-RAM is not needed on RPi, disable itRoland Hieber2018-11-181-10/+1
| | | | Signed-off-by: Roland Hieber <r.hieber@pengutronix.de>
* rpi: kernel: disable swap supportRoland Hieber2018-11-181-3/+1
| | | | | | RPi doesn't have any usable storage for swap. Signed-off-by: Roland Hieber <r.hieber@pengutronix.de>
* rpi: kernel: USELIB is only needed for libc ≤ 5, disable itRoland Hieber2018-11-181-1/+1
| | | | Signed-off-by: Roland Hieber <r.hieber@pengutronix.de>
* rpi: kernel: BOOTP is obsolete and not needed when DHCP is enabledRoland Hieber2018-11-181-1/+1
| | | | Signed-off-by: Roland Hieber <r.hieber@pengutronix.de>
* rpi: kernel: make kernel and module text and rodata read-onlyRoland Hieber2018-11-181-2/+4
| | | | Signed-off-by: Roland Hieber <r.hieber@pengutronix.de>
* rpi: kernel: disable ext2 and ext3 supportRoland Hieber2018-11-181-7/+3
| | | | | | | ext2 and ext3 have been replaced by ext4, and those two file systems are not used on the target. Signed-off-by: Roland Hieber <r.hieber@pengutronix.de>
* rpi: kernel: enable /proc/config.gzRoland Hieber2018-11-181-1/+3
| | | | | | /proc/config.gz is useful for debugging or rebuilding the kernel. Signed-off-by: Roland Hieber <r.hieber@pengutronix.de>
* rpi: kernel: harden memory copies between kernel and userspaceRoland Hieber2018-11-181-1/+3
| | | | | | | This protects against using obviously wrong memory regions when copying memory to/from the kernel. Signed-off-by: Roland Hieber <r.hieber@pengutronix.de>
* rpi: kernel: enable soft lockup detectorRoland Hieber2018-11-181-1/+4
| | | | | | | | The kernel lockup detector should be active, as it's low overhead and potentially provides useful debug output when the system is failing due to a lockup. Signed-off-by: Roland Hieber <r.hieber@pengutronix.de>
* platform rpi: enable some network diag optionsRobert Schwebel2018-11-161-3/+3
| | | | | | Enable some debug options needed for 'ss'. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* platform rpi: lower magic sysrq capabilitiesRobert Schwebel2018-11-151-1/+1
| | | | | | | | | To avoid security issues, only sync (MAGIC_SYSRQ_DEFAULT_ENABLE == 0x10) is allowed by default. Note: with systemd, another value is always set at runtime (also 0x10 by default) so the runtime default should be changed there. Suggested by 'reason' checker. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* platform-rpi: kernel: version bump 4.18.14 -> 4.19Alexander Dahl2018-11-141-415/+450
| | | | Signed-off-by: Alexander Dahl <post@lespocky.de>
* platform: rpi: kernel: Activate support for thermal sensorAlexander Dahl2018-10-231-2/+156
| | | | | | | | For lm-sensors to be able to read the RPi temperatur sensor we need CONFIG_THERMAL and CONFIG_HWMON, see https://github.com/groeck/lm-sensors/issues/30 for details. Signed-off-by: Alexander Dahl <post@lespocky.de>
* platform: rpi: kernel: Upgrade from 4.14.4 to 4.18.14Alexander Dahl2018-10-231-179/+197
| | | | Signed-off-by: Alexander Dahl <post@lespocky.de>
* platform-rpi: kernel: enable CONFIG_BPF as suggested by reasonRoland Hieber2018-09-181-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | reason suggests: --- reference +++ suggested @@ -1 +1,11 @@ -systemd_cgroup_bpf: {} +systemd_cgroup_bpf: + history: + systemd_ptxdist.ref: + description: | + Since systemd 235 (present in PTXdist 2018.01) BPF programs + attached to cgroups are used to implement some of the + firewalling features. This requires kernel support. + analyzer: kconfig.KernelConfig()['CGROUP_BPF'] + matched: (kconfig.KernelConfig().version >= + kconfig.KernelConfig().parse_version('4.10') and + kconfig.PTXBSPConfig().version >= + kconfig.PTXBSPConfig().parse_version('2018.01')) + value: True + value: False CGROUP_BPF depends on CONFIG_BPF_SYSCALL, so enable that too. Signed-off-by: Roland Hieber <r.hieber@pengutronix.de>
* platform: rpi: kernel: Activate GPIO LEDs and triggersDistroKit-2017.12.0Alexander Dahl2017-12-071-5/+5
| | | | | | | | Use the LED related settings from bcm2835_defconfig. Now the ACT LED blinks like an heartbeat. Tested-by: Roland Hieber <rohieb@rohieb.name> Signed-off-by: Alexander Dahl <post@lespocky.de>
* platform: rpi: kernel: Upgrade from v4.12.1 to v4.14.4Alexander Dahl2017-12-071-56/+77
| | | | | Tested-by: Roland Hieber <rohieb@rohieb.name> Signed-off-by: Alexander Dahl <post@lespocky.de>
* platform-rpi: kernel: enable NFSROOT supportRoland Hieber2017-08-241-1/+5
| | | | | Signed-off-by: Roland Hieber <r.hieber@pengutronix.de> Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* platform-rpi: kernel: version bump 4.4 -> 4.12.1Roland Hieber2017-07-131-123/+393
| | | | Signed-off-by: Roland Hieber <rohieb@rohieb.name>
* platform-rpi: kernel: enable CONFIG_AUTOFS4_FS, CONFIG_AUDITRoland Hieber2017-07-131-2/+4
| | | | | | This makes systemd compile again. Signed-off-by: Roland Hieber <rohieb@rohieb.name>
* config: initial import rpiAlexander Aring2016-06-061-0/+2768
Signed-off-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>