summaryrefslogtreecommitdiffstats
path: root/configs/platform-rpi
Commit message (Collapse)AuthorAgeFilesLines
* platform-rpi: Update firmware to current releasecfi/for-mainlineChris Fiege2018-11-199-0/+0
| | | | | | | | This firmware was taken from the official firmware repository at: https://github.com/raspberrypi/firmware from 86e3ccc14e43618f82a13e639002199de29a16b1 Signed-off-by: Chris Fiege <chris@tinyhost.de>
* 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-142-417/+452
| | | | Signed-off-by: Alexander Dahl <post@lespocky.de>
* ptxdist: migrate 2018.10.0 -> 2018.11.0Roland Hieber2018-11-141-31/+3
| | | | | | | | | | | | Switch to using the gdb version provided by the toolchain, and clear its md5sum to prevent problems in the get stage (see thread in [9]). Otherwise use the default configuration. Compile-tested on platforms v7a, v8a and rpi. [9]: https://www.mail-archive.com/ptxdist@pengutronix.de/msg13675.html Signed-off-by: Roland Hieber <r.hieber@pengutronix.de>
* platform-rpi: platformconfig: some cleanupMichael Olbrich2018-10-261-5/+5
| | | | | | | | | | | - enable stack protector - link with --as-needed - don't add CONFIG_DEBUG_SECTION_MISMATCH=y to makevars - don't create the ipkg index All suggested by reason. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* platform-rpi: platformconfig: building the kernel requires opensslMichael Olbrich2018-10-261-2/+2
| | | | | | Needed to build scripts/extract-cert (CONFIG_SYSTEM_TRUSTED_KEYRING). Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* platform-rpi: image-boot-vfat: add missing dependencyMichael Olbrich2018-10-261-0/+1
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* platform-rpi: image-boot-vfat: add layer supportMichael Olbrich2018-10-262-4/+5
| | | | | | Remove all references to PTXDIST_PLATFORMCONFIGDIR to do this. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.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-232-181/+199
| | | | Signed-off-by: Alexander Dahl <post@lespocky.de>
* ptxdist: version bump 2018.08.0 -> 2018.10.0Robert Schwebel2018-10-051-2/+2
| | | | | | | Update to ptxdist-2018.10.0, which is the first one that contains layering support. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.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: ptxdist: version bump 2018.06.0 -> 2018.08.0Roland Hieber2018-09-141-32/+23
| | | | | | Run a ptxdist migrate with default settings. Signed-off-by: Roland Hieber <r.hieber@pengutronix.de>
* platform-rpi: image-boot-vfat: update section nameRoland Hieber2018-09-141-1/+1
| | | | | | | | Since ptxdist 2016.07, there is only one unified image section in platformconfig. If the package is in a section named "image2", it will never be built because that section no longer exists. Signed-off-by: Roland Hieber <r.hieber@pengutronix.de>
* ptxdist: version bump 2018.03.0 -> 2018.05.0Roland Hieber2018-05-231-2/+2
| | | | | | | We're too late for 2018.04.0, so we skip it. Some packages moved into staging, but they were disabled anyway. Signed-off-by: Roland Hieber <r.hieber@pengutronix.de>
* platform-rpi: toolchain version bump 2016.06 -> 2018.02Roland Hieber2018-03-151-3/+3
| | | | Signed-off-by: Roland Hieber <rohieb@rohieb.name>
* platform-rpi: barebox: version bump 2017.11.0 -> 2018.03.0Roland Hieber2018-03-152-6/+11
| | | | | | | | The old barebox does not build with OSELAS.Toolchain-2018.02. Also barebox is configured to compress its image with LZO, so host-lzop is needed. Signed-off-by: Roland Hieber <rohieb@rohieb.name>
* ptxdist: version bump 2018.02 -> 2018.03Robert Schwebel2018-03-071-2/+2
| | | | | | Update ptxdist to the latest version. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* ptxdist: version bump 2018.01.0 -> 2018.02.0Michael Olbrich2018-02-181-2/+4
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* ptxdist: version bump 2017.12.0 -> 2018.01.0Roland Hieber2018-01-291-2/+2
| | | | | | | Update PTXdist to the latest version: - systemd now uses the Python-based Meson build system 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-072-58/+79
| | | | | Tested-by: Roland Hieber <rohieb@rohieb.name> Signed-off-by: Alexander Dahl <post@lespocky.de>
* platform: rpi: Use autoversionAlexander Dahl2017-12-071-1/+1
| | | | | Tested-by: Roland Hieber <rohieb@rohieb.name> Signed-off-by: Alexander Dahl <post@lespocky.de>
* platform-rpi: barebox: re-enable booting from SD cardRoland Hieber2017-12-062-0/+45
| | | | Signed-off-by: Roland Hieber <r.hieber@pengutronix.de>
* platform-rpi: barebox: version bump 2017.10.0 -> 2017.11.0Roland Hieber2017-12-062-3/+3
|
* platform-rpi: set root image size to 120%Roland Hieber2017-12-061-1/+1
| | | | | | | | A smaller image doesn't need as long to be copied on the SD card, and the user probably needs to resize the partition anyways to fill the available space. Signed-off-by: Roland Hieber <rohieb@rohieb.name>
* ptxdist: version bump 2017.11.0 -> 2017.12.0Robert Schwebel2017-12-061-2/+2
| | | | | | Update ptxdist to the latest version. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* ptxdist: version bump 2017.10.0 -> 2017.11.0Robert Schwebel2017-11-301-2/+2
| | | | | | Update ptxdist to the latest version. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* platform-rpi: barebox: version bump 2017.07.0 -> 2017.10.0Roland Hieber2017-10-262-3/+4
|
* platform-rpi: migrate to ptxdist 2017.10.0Roland Hieber2017-10-261-3/+5
| | | | | | Simple migration without enabling additional options Signed-off-by: Roland Hieber <r.hieber@pengutronix.de>
* platform-rpi: barebox-defaultenv: make 'boot net' usable without TFTPRoland Hieber2017-08-241-0/+6
| | | | | | | | | | Even though barebox does not yet support the RPi1's ethernet controller, we can still load the kernel and device tree from the SD card and then boot the kernel with NFSROOT. This way rapid development is still possible as long as the kernel does not change. Signed-off-by: Roland Hieber <r.hieber@pengutronix.de> Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.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: enable Position Independent Executables for ASLRRoland Hieber2017-08-231-1/+1
| | | | | | Same as in commit 838ea9d, also for the RPi1 platform. Signed-off-by: Roland Hieber <r.hieber@pengutronix.de>
* platform-rpi: ptxdist migrate 2017.06.0 -> 2017.07.0Roland Hieber2017-07-211-2/+3
| | | | | | Not much to do here, we just enable build IDs for debug symbol support. Signed-off-by: Roland Hieber <r.hieber@pengutronix.de>
* platform-rpi: kernel: remove old linux 4.4 patchesAlexander Dahl2017-07-1815-1557/+0
| | | | | | | All patches have gone upstream. 0001 to 0013 are included from v4.5-rc1, 0014 is included from v4.6-rc1. Signed-off-by: Alexander Dahl <post@lespocky.de>
* platform-rpi: bump toolchain to 2016.06, gcc 5.4, glibc 2.23Roland Hieber2017-07-131-4/+4
| | | | Signed-off-by: Roland Hieber <rohieb@rohieb.name>
* platform-rpi: barebox: version bump 2015.12.0 -> 2017.07.0Roland Hieber2017-07-132-28/+89
| | | | Signed-off-by: Roland Hieber <rohieb@rohieb.name>
* platform-rpi: kernel: version bump 4.4 -> 4.12.1Roland Hieber2017-07-132-125/+395
| | | | Signed-off-by: Roland Hieber <rohieb@rohieb.name>