summaryrefslogtreecommitdiffstats
path: root/configs
Commit message (Collapse)AuthorAgeFilesLines
* v7a: barebox-rpi2: slim down config diffRoland Hieber2019-06-052-180/+165
| | | | | | | | | | | | | | | | | | | | | * don't disable common features unnecessarily: enable the features BOOTM_*, BZLIB, DRIVER_SPI_GPIO, HWRNG, I2C, I2C_GPIO, IMD, LED_GPIO_OF, LZO_DECOMPRESS, MCI_MMCI, MTD, NET, NET_NFS, NET_RESOLV, NET_IFUP, NET_DHCP, NET_USB_*, OF_BAREBOX_DRIVERS, OF_NET, PINCTRL, RESET_SOURCE, STATE, USB_EHCI, USB_GADGET_SERIAL, USB_HOST, USB_STORAGE, XZ_DECOMPRESS, ZLIB, and the commands cmd, dhcp, host, i2c, imd, ip-route-get, led, trigger, memtest, ping, regulator, sha1sum, spi, state, tftp, and usb. All of those are enabled in the barebox-common config too, and make sense to have on a generic barebox. * repair compile log level < default log level by using the defaults * disable unneeded features: - CMD_LOADB: no one uses kermit these days - BAREBOXENV_TARGET: should come from a common barebox-tools package - CMD_MENU_MANAGEMENT: not used - PASSWORD: not used Signed-off-by: Roland Hieber <rhi@pengutronix.de>
* v7a: barebox-mx6: slim down config diffRoland Hieber2019-06-052-40/+27
| | | | | | | | | | | | * don't disable common features unnecessarily: enable the features BZLIB, DRIVER_SPI_GPIO, I2C_GPIO, NET_NFS, STATE, XZ_DECOMPRESS, and the commands bootz, cmp, defaultenv, sha1sum, and state. All of those are enabled in the barebox-common config too, and make sense to have on a generic barebox. * repair compile log level < default log level by using the defaults * disable unused features (CMD_MENU_MANAGEMENT) Signed-off-by: Roland Hieber <rhi@pengutronix.de>
* v7a: barebox-am335x: slim down config diffRoland Hieber2019-06-052-79/+49
| | | | | | | | | | | | | | | | | * don't disable common features unnecessarily: enable the features BZLIB, DRIVER_SPI_GPIO, HWRNG, I2C_GPIO, IMD, NET_USB*, REGULATOR, STATE, USB_EHCI, USB_HOST, XZ_DECOMPRESS, ZLIB, and the commands cmp, defaultenv, imd, memtest, regulator, sha1sum, state, and usb. All of those are enabled in the barebox-common config too, and make sense to have on a generic barebox. * repair compile log level < default log level by using the defaults * now that USB_HOST is enabled, MUSB_HOST makes sense too * disable unneeded features: - CMD_LOADB: no one uses kermit these days - FIT image support: not used - initrd support: not used Signed-off-by: Roland Hieber <rhi@pengutronix.de>
* v7a: bareboxes: use config diffs with the common reference configRoland Hieber2019-06-058-0/+715
| | | | | | | | | | | | | | Make it easier to maintain a common set of features and also review the device-specific changes between all the barebox variants by using the config diff mechanism which has been available since PTXdist 2019.01.0. No barebox config was harmed in the making of this patch, only their difference to the common reference config was computed. Also add a helper script to regenerate the config diffs after the common config was changed. Signed-off-by: Roland Hieber <rhi@pengutronix.de>
* v7a: bareboxes: use shared settings from the barebox-common packageRoland Hieber2019-06-0511-39/+15
| | | | | | | | | | | As implemented in the previous commit, the barebox version and MD5 can be reduced to one entry in the menu. Also do the same for the host-lzop dependency, which will be needed for every barebox package when using the common reference config. Be sure to depend on the new barebox-common package so the barebox packages are rebuilt when the version and MD5 variables change. Signed-off-by: Roland Hieber <rhi@pengutronix.de>
* v7a: barebox-common: add a common reference config for all barebox variantsRoland Hieber2019-06-054-0/+853
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This package serves multiple purposes: * Make the barebox version and MD5 for all used barebox variants configurable with just one menu entry. * Have a common barebox configuration with a baseline feature set, which can be used by all barebox-* variants as a reference config with the config diff functionality introduced in PTXdist 2019.01.0. The common config is currently based on ARCH_BCM283X, which seems to generate the smallest config diff for all the existing device-specific barebox configs (which will be adapted in the next commits). The new barebox-common package only exists for the ability to call "ptxdist menuconfig" on it in order to change the common config. It isn't meant to build or install anything, so the compile, install and targetinstall stages can be no-ops. Also make sure that the menu entry for the common configuration is listed before all other barebox variants by naming the kconfig file appriopriately. Since the barebox-common config uses LZO image compression, depend on host-lzop too. Then configure it to use the version which is currently used for all other variants in the v7a platform. Signed-off-by: Roland Hieber <rhi@pengutronix.de>
* v7a: remove unused barebox_mlo menu entryRoland Hieber2019-06-051-45/+0
| | | | | | There is no corresponding make file, and the package is not selected. Signed-off-by: Roland Hieber <rhi@pengutronix.de>
* ptxdist: version bump 2019.05.0 → 2019.06.0Robert Schwebel2019-06-034-30/+8
| | | | | | We have a new version; update. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* platform-v7a, platform-rpi: enable ARM unwinderRobert Schwebel2019-05-202-8/+8
| | | | | | The UNWINDER_ARM helps to get proper stack traces. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* platform-v7a: switch on gpio trace eventsRobert Schwebel2019-05-201-1/+1
| | | | | | | 'reason' suggests: "Trace events for GPIOs are helpful and low-overhead, so don't disable them if tracing is enabled globally.", so enable them. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* platform-v7a: vexpress: run qemu with CPU 4 coresMichael Olbrich2019-05-201-1/+1
| | | | | | | | Newer versions of qemu can use multiple threads to emulate the CPU cores. This can speed up booting significantly: 22 seconds instead of 34 seconds for multi-user.target on on test machine. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* platform-v7a: barebox: add dependency to LZOP toolsJuergen Borleis2019-05-201-0/+1
| | | | | | | | | | | | | | Since commit 2532fa8e1faf66f5ee0dc52a5deafaba74a96562 "platform-v7a: barebox: use reworked vexpress patches" the bootloader gets compressed via 'lzop' tools. Due to the missing dependency to these build host tools, building this bootloader fails sporadically, depending on the build order. This change adds the explicit dependency to these 'lzop' tools to have it available when used. Signed-off-by: Juergen Borleis <jbe@pengutronix.de>
* ptxdist: remove nonexistent config symbolRoland Hieber2019-05-071-1/+0
| | | | | | | | | | This symbol is not part of PTXdist 2019.05.0, it cannot be found in menuconfig, and is removed as soon as saving changes. It probably slipped in due to local changes in the working tree during the PTXdist update. Fixes: 643f557226e15c4a2ec8 ("ptxdist: version bump 2019.04.0 → 2019.05.0") Signed-off-by: Roland Hieber <rhi@pengutronix.de>
* ptxconfig: enable hexdump reverseRobert Schwebel2019-05-071-1/+1
| | | | | | | | | | | 'reason' suggests: "The hexdump utility is useful to generate hexdumps from files and memory. With the -R option, it can also read hexdump so it can serve as a fallback to transfer files to the target when only a serial console is available." So enable it. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* platform-rpi/v7a: kernel version bump 5.0 -> 5.1Robert Schwebel2019-05-066-42/+125
| | | | | | 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-034-8/+36
| | | | | | 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-054-9/+10
| | | | | | A new ptxdist version has been released, update. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* ptxconfig: enable sftp serverRobert Schwebel2019-03-302-8/+1
| | | | | | | | SFTP is used by sshfs, which is a useful tool to directly access files on a target machine from a development host. Enable it. Inspired-by: Roland Hieber <r.hieber@pengutronix.de> Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* ptxdist: version bump 2019.03.0 → 2019.03.1Roland Hieber2019-03-134-8/+8
| | | | | | | | | 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-v7a: add patch for omap hwrngRouven Czerwinski2019-03-112-0/+36
| | | | | | | | | | | The kernel does not use the omap hwrng as an entropy source, since the quality is not set. The getrandom system call is now used by OpenSSH, which results in a long wait of 2 Minutes on first boot because of the ed25519 key generation. This patch sets the quality within the driver, allowing the beaglebone black to boot fast again. Signed-off-by: Rouven Czerwinski <r.czerwinski@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>
* platform v8a: enable FORTIFY_SOURCESRobert Schwebel2019-03-111-1/+1
| | | | | | The platform supports this hardening option, enable it. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* platform v7a: enable FORTIFY_SOURCESRobert Schwebel2019-03-111-2/+1
| | | | | | The platform supports this hardening option, enable it. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* v8a: sync kernelconfigRoland Hieber2019-03-111-4/+0
| | | | | | | | The kernelconfig shows changes when doing a 'ptxdist oldconfig kernel', which were introduced previously in commit 7cb2beb67. Fixes: 7cb2beb67b21adbf3a5e ("platform-v8a: fix reason checks") Signed-off-by: Roland Hieber <rhi@pengutronix.de>
* v8a: 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>
* v8a: 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>
* v7a: 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>
* v7a: 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>
* v7a: 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>
* 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-114-15/+13
| | | | | | Use the default config values. Signed-off-by: Roland Hieber <rhi@pengutronix.de>
* platform-v7a: barebox bump v2019.01.0 → v2019.03.0Rouven Czerwinski2019-03-0722-840/+62
| | | | | | Patch free, baby! Signed-off-by: Rouven Czerwinski <r.czerwinski@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>
* platform-v7a: kernel version bump 4.20 -> 5.0Robert Schwebel2019-03-042-28/+42
| | | | | | 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-204-9/+23
| | | | | | A new ptxdist release is availabe, update to 2019.02.0. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* ptxconfig: busybox: disable date compat and enable nano precisionRouven Czerwinski2019-02-151-2/+2
| | | | Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>
* busybox: disable unnecessary appletsRobert Schwebel2019-02-151-11/+6
| | | | | | | | | | | | | As suggested by 'reason', disable some busybox applets that do not make sense on an embedded system: - cal - powertop - ftpget - ftpput - whois Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* v7a: image-vexpress: fix comment in image configRoland Hieber2019-02-121-1/+5
| | | | Signed-off-by: Roland Hieber <rhi@pengutronix.de>
* ptxdist: version bump 2018.12.0 → 2019.01.0Rouven Czerwinski2019-01-194-9/+19
| | | | Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>
* platform-v7a: barebox 2018.12.0 → 2019.01.0Rouven Czerwinski2019-01-1823-98/+185
| | | | Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>
* platform-v8a: fix reason checksRouven Czerwinski2019-01-163-489/+146
| | | | | | Fix all the reason checks reported for platform-v8a. Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>
* platform-v8a: migrate to ptxdist-2018.12.0Robert Schwebel2019-01-111-2/+3
| | | | Signed-off-by: Robert Schwebel <r.schwebel@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>