summaryrefslogtreecommitdiffstats
path: root/configs/platform-rpi
Commit message (Collapse)AuthorAgeFilesLines
...
* platform-{rpi,v[78]a}: kernel: Update to 5.3Björn Esser2019-09-162-20/+46
| | | | | | | Linux 5.3 is out, so we update the kernel to the new version. The config is oldconfiged with defaults. Signed-off-by: Björn Esser <b.esser@pengutronix.de>
* platform-{rpi,v[78]a}: toolchain version bump 2018.12.0 -> 2019.09.0Björn Esser2019-09-161-3/+3
| | | | | | A new OSELAS.Toolchain is out, with gcc-9.2.1 and glibc-2.30. Signed-off-by: Björn Esser <b.esser@pengutronix.de>
* platform-{rpi,v7a}: Update firmware for raspberrypi (2019-09-09).Björn Esser2019-09-119-0/+0
| | | | | This firmware was taken from the official firmware repository at: https://github.com/raspberrypi/firmware/commit/3bba1909a004fb34d5b01db2c319976f33d8eb1d
* ptxdist: version bump 2019.08.0 -> 2019.09.0Robert Schwebel2019-09-051-2/+2
| | | | | | A new ptxdist version is out, use it. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* ptxdist: version bump 2019.07.0 -> 2019.08.0Robert Schwebel2019-08-121-2/+2
| | | | | | A new ptxdist version is out, so we migrate Distrokit. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* kernel: deactivate CONFIG_VALIDATE_FS_PARSERRobert Schwebel2019-08-061-1/+1
| | | | | | | | The filesystem parameter description parser validation is not useful except when working on the mount interface and prints confusing messages during boot. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* platform-rpi, platform-v7a: kernel: version bump 5.1 -> 5.2Robert Schwebel2019-07-092-42/+246
| | | | | | | | | | | Linux 5.2 is out, so we update the kernel to the new version. The config is mostly oldconfiged with defaults, but we enable CONFIG_NULL_TTY and CONFIG_COUNTER. The OMAP hardware random number generator was applied in the upstream kernel, so we can remove it here. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* kernel: enable UTS_NSRobert Schwebel2019-07-081-1/+1
| | | | | | systemd requires UTS_NS, so enable it in the kernel. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* ptxdist: migrate from version 2019.06.0 to 2019.07.0Roland Hieber2019-07-081-2/+2
| | | | | | Keep all new features on their default values for now. Signed-off-by: Roland Hieber <rhi@pengutronix.de>
* ptxdist: version bump 2019.05.0 → 2019.06.0Robert Schwebel2019-06-031-4/+2
| | | | | | We have a new version; update. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* platform-v7a, platform-rpi: enable ARM unwinderRobert Schwebel2019-05-201-4/+4
| | | | | | The UNWINDER_ARM helps to get proper stack traces. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* platform-rpi/v7a: kernel version bump 5.0 -> 5.1Robert Schwebel2019-05-062-16/+57
| | | | | | The new kernel has been released today, so update. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* ptxdist: version bump 2019.04.0 → 2019.05.0Robert Schwebel2019-05-031-2/+3
| | | | | | A new ptxdist version has been released, update. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* ptxdist: version bump 2019.03.1 -> 2019.04.0Robert Schwebel2019-04-051-2/+2
| | | | | | A new ptxdist version has been released, update. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* ptxdist: version bump 2019.03.0 → 2019.03.1Roland Hieber2019-03-131-2/+2
| | | | | | | | | This fixes an errors in systemd.get, which only happened when that systemd tarball was not already downloaded previously: ptxdist: error: Wrong md5sum for 'systemd' (.../src/systemd-241-7-ga09c170122cf.tar.gz) Signed-off-by: Roland Hieber <rhi@pengutronix.de>
* platform-rpi: enable FORTIFY_SOURCESRouven Czerwinski2019-03-111-2/+1
| | | | | | This platform supports it, enable it. Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>
* rpi: sync kernelconfigRoland Hieber2019-03-111-2/+2
| | | | | | | | The compiler version is part of the kernelconfig, so changing the toolchain changes the kernelconfig too. Update the kernelconfig with a simple 'ptxdist oldconfig kernel'. Signed-off-by: Roland Hieber <rhi@pengutronix.de>
* rpi: enable gcc stack clash protectionRoland Hieber2019-03-111-1/+1
| | | | | | | | | | | | | | | This setting was introduced in PTXdist 2019.03.0: Generate code to prevent stack clash style attacks. When this option is enabled, the compiler will only allocate one page of stack space at a time and each page is accessed immediately after allocation. Thus, it prevents allocations from jumping over any stack guard page provided by the operating system. Make use of it to get more secure binaries with gcc-8's new -fstack-clash-protection option. Signed-off-by: Roland Hieber <rhi@pengutronix.de>
* rpi: toolchain version bump 2018.02 → 2018.12Roland Hieber2019-03-111-3/+3
| | | | | | Update to OSELAS.Toolchain-2018.12, which has gcc 8.2.1 and glibc 2.28. Signed-off-by: Roland Hieber <rhi@pengutronix.de>
* ptxdist: version bump 2019.02.0 → 2019.03.0Roland Hieber2019-03-111-2/+3
| | | | | | Use the default config values. Signed-off-by: Roland Hieber <rhi@pengutronix.de>
* platform-rpi: kernel version bump 4.20 -> 5.0Robert Schwebel2019-03-042-25/+32
| | | | | | Update the kernel to Linux 5.0 Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* ptxdist: version bump 2019.01.0 -> 2019.02.0Robert Schwebel2019-02-201-2/+4
| | | | | | A new ptxdist release is availabe, update to 2019.02.0. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* ptxdist: version bump 2018.12.0 → 2019.01.0Rouven Czerwinski2019-01-191-2/+4
| | | | Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>
* platform-rpi: kernel: disable kernel watchdog triggeringRouven Czerwinski2019-01-101-1/+1
| | | | | | | | | "reason" says: If the bootloader has enabled the watchdog, the intention is usually to monitor the whole boot process. Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>
* platform-rpi: kernel: disable virtual terminalsRobert Schwebel2019-01-091-23/+1
| | | | | | | | | "reason" says: Virtual terminal support is not needed on most embedded systems. Any available displays are not uses the kernel logging or consoles. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* platform-rpi: kernel: enable PREEMPTRobert Schwebel2019-01-091-9/+12
| | | | | | | | | "reason" says: The typical embedded use-cases are more sensitive to latency than throughput. Thus a fully preemptible kernel is preferred. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* platform-rpi: kernel: adapt DEFAULT_MMAP_MIN_ADDRRobert Schwebel2019-01-091-1/+1
| | | | | | | | | | "reason" says: Keeping userspace processes without CAP_SYS_RAWIO from writing to low pages can help reduce the impact of kernel NULL pointer bugs. 64kB is recommended by default. 32kB is recommended on ARM. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* platform-rpi: kernel: enable ARM optimized aes implementationRobert Schwebel2019-01-091-1/+1
| | | | | | Found by "reason". Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* platform-rpi: kernel: enable CPU_IDLERobert Schwebel2019-01-091-1/+11
| | | | | | | | | "reason" says: Enable ARM idle if possible. Before Linux kernel version 4.8, networking on i.MX6 may be broken. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* platform-rpi: kernel: disable initrdRobert Schwebel2019-01-091-17/+1
| | | | | | "reason" detected that we have initrd support, but we don't use it. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* platform-rpi: kernel: disable auditRobert Schwebel2019-01-091-5/+1
| | | | | | | | | | | "reason" says: Auditing support is not needed on most embedded systems. Except INTEGRITY is enabled. We don't have INTEGRITY, so disable AUDIT as well. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* platform-rpi: kernel: enable SLAB_FREELIST_RANDOMRobert Schwebel2019-01-091-1/+1
| | | | | | | | | | "reason" says: Randomizes the freelist order used on creating new pages. This security feature reduces the predictability of the kernel slab allocator against heap overflows. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* platform-rpi: kernel: disable namespace supportRobert Schwebel2019-01-091-3/+3
| | | | | | | | | | | "reason" says: Namespace support is not needed on most embedded systems (except NET_NS for systemd). Switch it off. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* platform-rpi: kernel: restrict dmesg accessRobert Schwebel2019-01-091-1/+1
| | | | | | Only root needs access to dmesg by default. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* platform-rpi: kernel: enable fq_codelRobert Schwebel2019-01-091-1/+56
| | | | | | | | | | | "reason" says: fq_codel helps fight the network bufferbloat problem. It is believed to be a good default with no tuning required for most workloads. Enable it. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* platform-rpi: kernel: version bump 4.19 -> 4.20Robert Schwebel2019-01-082-17/+29
| | | | Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* platform-rpi: Enable early debug UARTChris Fiege2018-11-281-0/+2
| | | | | | | | | | | | | | | | This config enables the early debug for the Raspberry-Pi Firmware bootloader. This makes sure that the UART is available to barebox even if the used board has additional hardware (like Bluetooth) connected to the UART. This command only works if the firmware is loaded from the SD-Card. See for more information: https://github.com/raspberrypi/firmware/wiki/USB-MSD-and-network-boot-debugging Signed-off-by: Chris Fiege <chris@tinyhost.de>
* platform-rpi: Remove barebox-2017.11.0 patchesChris Fiege2018-11-282-45/+0
| | | | | | | These patch has been merged by upstream and is part of barebox since 2017.12.0. Signed-off-by: Chris Fiege <chris@tinyhost.de>
* 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>