summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 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>
* tests: remove old testlibRobert Schwebel2019-03-302-1536/+0
| | | | | | Nowadays we test with Jenkins and labgrid, so remove the old testlib. 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>
* scripts: p-all: allow overriding ptxdist via $PTXDISTRoland Hieber2019-03-131-1/+8
| | | | | | | This actually makes it possible to call specific versions of PTXdist, e.g. when migrating to a specific version. 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>
* scripts: add helper to run PTXdist on all platformconfigsRoland Hieber2019-03-111-0/+6
| | | | | | | This makes it easier not to forget some platforms e.g. when doing a ptxdist migrate. Signed-off-by: Roland Hieber <rhi@pengutronix.de>
* gitignore all old config filesRoland Hieber2019-03-111-1/+1
| | | | | | | | | The platformconfig.old, kernelconfig.old, bareboxconfig.old etc. files are autogenerated by 'ptxdist oldconfig' and are only backups for the config before the oldconfig. Since the config files are versioned, those backup files have no value for us. 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>
* 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>