summaryrefslogtreecommitdiffstats
path: root/configs
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* barebox-configs: updateRobert Schwebel2019-01-084-4/+4
| | | | | | | ptxdist-2018.12.0 has a stricter understanding of barebox config files, so we need to update them in order to survive a 'ptxdist oldconfig'. 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-v7a: kernel: version bump 4.19 -> 4.20Robert Schwebel2019-01-082-13/+27
| | | | Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* ptxdist: version bump 2018.11 -> 2018.12Robert Schwebel2019-01-081-3/+12
| | | | | | | | | | | Without this version bump, linux-4.20 doesn't build and fails with: make[2]: *** No rule to make target 'silentoldconfig'. Stop. make[1]: *** [Makefile:544: silentoldconfig] Error 2 make: *** [/home/rsc/git/DistroKit/ptxdist/rules/kernel.make:111: /home/rsc/git/DistroKit/platform-v7a/state/kernel.prepare] Error 2 make: *** Waiting for unfinished jobs.... Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* platform-v7a: barebox-rpi2: configure commandsRouven Czerwinski2018-12-171-24/+34
| | | | | | Configure barebox for rpi2 and rpi3 for the test suite commands. Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>
* add RPI3 SupportRouven Czerwinski2018-12-1724-46/+574
| | | | Signed-off-by: Rouven Czerwinski <rouven@czerwinskis.de>
* platform-v7a/rpi-firmware: bump firmwareRouven Czerwinski2018-12-1710-1/+3
| | | | | | Bump firmware to the same version as platform-rpi. Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>
* platform-v7a: add bootsource init scriptRouven Czerwinski2018-12-071-0/+7
| | | | Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>
* barebox-am335x: enable watchdog and wd commandRouven Czerwinski2018-12-071-1/+6
| | | | | | | The watchdog is used in the tests and the command is needed to test on the barebox shell. Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>
* barebox-am335x: disable state, bootchooser and UBIRouven Czerwinski2018-12-071-23/+3
| | | | | | | | Disable state, bootchooser and UBI support. State and bootchooser will be enabled in the layer configuration, UBI is not needed since DistroKit does not use it. Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>
* barebox-vexpress: disable state and bootchooser and remove filesRouven Czerwinski2018-12-0711-29/+2
| | | | | | | | This disables broken support for state and bootchooser for barebox-vexpress. We also remove the nv files and the bootsource file, the later is unsupported since the vexpress platform will always report the bootsource as unknown. Signed-off-by: Rouven Czerwinski <rouven@czerwinskis.de>
* barebox-mx6: disable state and remove boostate entriesRouven Czerwinski2018-12-073-7/+1
| | | | Signed-off-by: Rouven Czerwinski <rouven@czerwinskis.de>
* barebox-mx6: fix bootsource selectionRouven Czerwinski2018-12-072-6/+5
| | | | | | Also disable the bootchooser which is no longer used. Signed-off-by: Rouven Czerwinski <rouven@czerwinskis.de>
* barebox-am335x-defaultenv: remove state entriesRouven Czerwinski2018-12-072-2/+0
| | | | | | These will be moved into a redundant update layer. Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>
* barebox-am335x-defaultenv: add usb limit script from upstreamRouven Czerwinski2018-12-071-0/+5
| | | | | | | | The barebox beaglebone defaultenv contains an init script to adjust the usb-limit to 1300mA. Import from upstream to be consistent with the barebox defaultenv. Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>
* barebox-am335x-defaultenv: fix bootsource selectionRouven Czerwinski2018-12-071-4/+2
| | | | | | | | According to the board.c file from barebox, the bootsource can either be "mmc0" or "mmc1". Adjust the bootsource init file for barebox to automatically start a newly installed DistroKit. Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>
* platform-v7a: disable CONFIG_BPFILTER_UMHRouven Czerwinski2018-12-071-1/+1
| | | | | | | This tries to use the host compiler directly. Disable it until we either have a patch for the compiler selection or a fix is merged upstream. Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>
* platform-v7a: barebox bump v2018.05.0 → v2018.12.0Rouven Czerwinski2018-12-0716-103/+186
| | | | | | | | Bump barebox from v2018.05.0 to v2018.12.0. This barebox release officially supports RPI3, this will be enabled in a later commit. Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>
* barebox-v7a: remove bootchoser filesRouven Czerwinski2018-11-284-12/+0
| | | | | | | Remove bootchoser files which contain a typo and try to call a binary with an option that does not exist. Signed-off-by: Rouven Czerwinski <r.czerwinski@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>
* 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-144-223/+28
| | | | | | | | | | | | 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>
* v7a/kernel: use CONSOLE_LOGLEVEL_DEFAULT=7Uwe Kleine-König2018-11-061-1/+1
| | | | | | | | This matches the default value for this symbol and the two other platforms use 7, too. This makes the machine emit the "normal" logging when the loglevel=5 parameter is removed from the kernel command line. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@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-v7a: barebox-am335x-mlo: add layer supportMichael Olbrich2018-10-261-1/+1
| | | | | | Remove all references to PTXDIST_PLATFORMCONFIGDIR to do this. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* platform-v7a: barebox-vexpress: add layer supportMichael Olbrich2018-10-262-2/+8
| | | | | | Remove all references to PTXDIST_PLATFORMCONFIGDIR to do this. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* platform-v7a: image-rpi2: add layer supportMichael Olbrich2018-10-261-6/+7
| | | | | | Remove all references to PTXDIST_PLATFORMCONFIGDIR to do this. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* platform-v7a: barebox-rpi2: add layer supportMichael Olbrich2018-10-262-2/+8
| | | | | | Remove all references to PTXDIST_PLATFORMCONFIGDIR to do this. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* platform-v7a: barebox-mx6: add layer supportMichael Olbrich2018-10-262-2/+8
| | | | | | Remove all references to PTXDIST_PLATFORMCONFIGDIR to do this. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>