summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* platform v7a: kernel: version bump 4.18 -> 4.19Robert Schwebel2018-10-232-409/+446
| | | | Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* platform: v7a: Remove no longer needed make ruleAlexander Dahl2018-10-231-49/+0
| | | | | | | | | That one was used before renaming the platform to v7a, and later reintroducing support for Raspberry Pi 2. The package is not activated anymore and so there's no need to overwrite the rule from ptxdist itself anymore. Signed-off-by: Alexander Dahl <ada@thorsis.com>
* platform: v7a: Loosen toolchain version to minor releaseAlexander Dahl2018-10-231-1/+1
| | | | | | | | | No need to insist on point release. This way a user can update the toolchain to (the not yet existent) 2018.02.x once it arrives, without the need to touch the BSP. This makes it consistent with the other platforms rpi and v8a. Signed-off-by: Alexander Dahl <post@lespocky.de>
* ptxconfig: don't install libanlMichael Olbrich2018-10-231-1/+1
| | | | | | It's not used by anything. 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>
* scripts: backport bugfix for /etc/issue generationRobert Schwebel2018-10-051-7/+8
| | | | | | | | | | | | | | In 4e3f122b9094f2e7c990207f7564ea575a455e07, the /etc/issue banner generation was ported back to the version from ptxdist-2018.09.0. It turned out that there is a bug in ptxdist-2018.10.0 (missing ,g in regular expression), so we go back to that version, with the missing ,g added. The fix should go into ptxdist-2018.11.0, so we can remove this local override afterwards. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* ptxdist: version bump 2018.08.0 -> 2018.10.0Robert Schwebel2018-10-054-9/+31
| | | | | | | Update to ptxdist-2018.10.0, which is the first one that contains layering support. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* scripts: revert /etc/issue generation to pre-ptxdist-2018.10.0 variantRobert Schwebel2018-10-051-0/+56
| | | | | | | | The upstream rework of the banner generation from ptxdist commit f53889792197d93ca2f9bb7edc0d8e778c0ba9e2 is broken. Revert temporarily to the version from ptxdist-2018.09.0. 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>
* platform-v8a: ptxdist: version bump 2018.06.0 -> 2018.08.0Roland Hieber2018-09-141-29/+20
| | | | | | Run a ptxdist migrate with default settings. Signed-off-by: Roland Hieber <r.hieber@pengutronix.de>
* ptxdist: version bump 2018.06.0 -> 2018.08.0Robert Schwebel2018-08-162-7/+32
| | | | | | A new ptxdist version is out, use it to build DistroKit. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* kernel: version bump 4.17 -> 4.18Robert Schwebel2018-08-152-35/+68
| | | | | | kernel.org has released 4.18, update to the new kernel. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* ptxdist: version bump 2018.05.1 -> 2018.06.1Robert Schwebel2018-06-212-86/+70
| | | | | | We have a new ptxdist version, so update DistroKit. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* kernel: version bump 4.16 -> 4.17Robert Schwebel2018-06-212-116/+46
| | | | | | kernel.org has released 4.17, update to the new kernel. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* qemu: remove leftover patchesRoland Hieber2018-06-054-146/+0
| | | | | | | | | | | | | | | | | With PTXdist 2018.05, qemu was bumped to version 2.11.1, so those patches are no longer applied. - 0001-virtfs-proxy-helper-make-sure-sys-xattr.h-is-include.patch: unclear if still needed, but qemu now builds fine without it. (Someone should to check whether we still have an "older glibc".) In any case this patch should be applied in upstream PTXdist if needed. - 0002-hw-sd-fix-out-of-bounds-check-for-multi-block-reads.patch: applied in upstream qemu-2.11, commit 8573378e62d19e25a2434e - 0003-memfd-fix-configure-test.patch: applied in upstream ptxdist-2018.04.0, commit 99f897ba09b9d1528a4b Fixes: 22ae0f6 ("ptxdist: version bump 2018.03.0 -> 2018.05.0") Signed-off-by: Roland Hieber <r.hieber@pengutronix.de>
* platform-v7a: kernel: re-activate virtio supportRoland Hieber2018-06-051-1/+5
| | | | | | | | | | | | | | | This got lost in commit 5dc9701fe9ec ("platform-v7a: kernel version bump 4.15 -> 4.16"), and resulted in a qemu system no longer able to mount external 9p devices: $ ./configs/platform-v7a/run 9p [...] [ 1.799073] 9pnet_virtio: no channels available for device /dev/root [ 1.800620] VFS: Cannot open root device "root" or unknown-block(0,0): error -2 [ 1.802147] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) Fixes: 5dc9701fe9ec ("platform-v7a: kernel version bump 4.15 -> 4.16") Signed-off-by: Roland Hieber <r.hieber@pengutronix.de>
* ptxdist: version bump 2018.03.0 -> 2018.05.0Roland Hieber2018-05-234-19/+11
| | | | | | | 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-v8a: toolchain version bump 2016.06 -> 2018.02Rouven Czerwinski2018-05-231-3/+3
| | | | | | | Signed-off-by: Rouven Czerwinski <rouven@czerwinskis.de> Tested-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> [rhi: fix typo in the subject] Signed-off-by: Roland Hieber <r.hieber@pengutronix.de>
* platform-v7a: kernel version bump 4.15 -> 4.16Robert Schwebel2018-05-182-36/+42
| | | | Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* ptxconfig: disable unused libnslRobert Schwebel2018-05-181-2/+2
| | | | | | | | | | | | | | | | | | | | | 'reason' claims this is unused, so disable it: +rootfs_unused_libraries: + history: + rootfs.ref: + description: | + Libraries that are not used by programs or other libraries. + Match /usr/lib and /lib as needed to handle pre and post /usr merge. + libthread_db.so.1 is loaded by gdb(server) to debug threaded programs. + The rest are plugins for various programs that are loaded dynamically + at runtime. + analyzer: rootfs.RootfsObjectTree().unused() + optional: ... + present: + - /usr/lib/libnsl.so.1 Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* platform-v7a: barebox: consistently disable netconsoleRoland Hieber2018-05-183-3/+3
| | | | | | | It is not needed and on some boards it errors when it does not find a network interface. Signed-off-by: Roland Hieber <r.hieber@pengutronix.de>
* platform-v7a: barebox: version bump 2018.03.0 -> 2018.05.0Roland Hieber2018-05-1616-81/+99
| | | | | | | Bump all barebox variants, followed by oldconfig. Consistently enable CONSOLE_ALLOW_COLOR, otherwise use default values. 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>
* Add support for Marvell espressobin2018-02-espressobin-v3Uwe Kleine-König2018-03-118-0/+4243
|
* platform-v7a: kernel: version bump 4.14 -> 4.15Robert Schwebel2018-03-112-31/+53
| | | | | | Update platform-v7a to the latest released kernel. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* .gitmodules: remove empty fileRoland Hieber2018-03-111-0/+0
| | | | Signed-off-by: Roland Hieber <r.hieber@pengutronix.de>
* doc: v7a: riotboard: document boot switch settingsRoland Hieber2018-03-111-1/+12
| | | | Signed-off-by: Roland Hieber <r.hieber@pengutronix.de>
* qemu: add upstream patchRobert Schwebel2018-03-102-1/+55
| | | | | | | Without this patch from qemu upstream, the code cannot be built with newer toolchains. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* qemu: add patches from ptxdist-2018.03.0Robert Schwebel2018-03-103-0/+92
| | | | | | This is to prepare the addition of another patch. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* platform-v7a: toolchain version bump 2016.06.1 -> 2018.02.0Robert Schwebel2018-03-092-5/+5
| | | | | | | | | | | A new OSELAS.Toolchain is out, with gcc-7.3.2 and glibc-2.27. Switch v7a platform to new toolchain, now that ptxdist-2018.03.0 and barebox-2018.03.0 are ready for it. Switch gdbserver to gdb-8.1 as well. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* barebox: version bump 2018.01.0 -> 2018.03.0Robert Schwebel2018-03-0716-55/+83
| | | | | | Update the barebox version to the latest and greatest. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* ptxdist: version bump 2018.02 -> 2018.03Robert Schwebel2018-03-073-14/+8
| | | | | | Update ptxdist to the latest version. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* doc: v7a: document Nitrogen6X boardDistroKit-2018.03.0Roland Hieber2018-02-192-0/+23
| | | | Signed-off-by: Roland Hieber <r.hieber@pengutronix.de>
* platform-v7a: platformconfig: build a generic hd.img without bootloaderRoland Hieber2018-02-191-1/+4
| | | | | | | For those boards which boot their bootloader from SPI flash, only the userland is needed on the SD card. Signed-off-by: Roland Hieber <r.hieber@pengutronix.de>
* platform-v7a: blspec: remove options already added by barebox-defaultenvRoland Hieber2018-02-193-3/+3
| | | | Signed-off-by: Roland Hieber <r.hieber@pengutronix.de>
* platform-v7a: blspec-nitrogen6x: barebox can auto-detect the root partitionRoland Hieber2018-02-191-1/+2
| | | | Signed-off-by: Roland Hieber <r.hieber@pengutronix.de>
* platform-v7a: image-hd: generate a disk signature for the imageRoland Hieber2018-02-191-0/+1
| | | | | | | | The disk signature is necessary so that barebox can auto-detect the boot source and append it to the Linux command line in the 'root=' parameter. A random but fixed value will suffice for this purpose. Signed-off-by: Roland Hieber <r.hieber@pengutronix.de>
* platform-v7a: image-hd: fork locally from PTXdist 2018.02.0Roland Hieber2018-02-191-0/+13
| | | | Signed-off-by: Roland Hieber <r.hieber@pengutronix.de>
* platform-v7a: barebox: don't break the console autodetectionRoland Hieber2018-02-194-0/+0
| | | | | | | | | The global variable linux.bootargs.console is set by barebox on startup to the chosen stdout path from the Device Tree. Rename the variable in our barebox defaultenvs to prevent shadowing this automatic variable, so that the stdout path is passed on to the Linux kernel. Signed-off-by: Roland Hieber <r.hieber@pengutronix.de>
* platform-v7a: barebox-mx6: enable i.MX I2C driverRoland Hieber2018-02-191-1/+28
| | | | | | I2C is a useful thing to have in a generic barebox image. Signed-off-by: Roland Hieber <r.hieber@pengutronix.de>
* platform-v7a: barebox-mx6: enable i.MX SPI driverRoland Hieber2018-02-191-1/+1
| | | | | | | SPI is a useful thing to have, especially if you want to read your barebox-env from SPI-NOR, like some boards do. Signed-off-by: Roland Hieber <r.hieber@pengutronix.de>
* kernelconfig: enable CGROUP_BPF needed for IPAddressDeny=Michael Olbrich2018-02-181-2/+4
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* kernelconfig: reason: filter access to /dev/memMichael Olbrich2018-02-181-1/+2
| | | | | | | | Access to normal system memory is usually not needed and it makes compromising the kernel more difficult. IO addresses are still accessible as long as CONFIG_IO_STRICT_DEVMEM is disabled. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* kernelconfig: reason: enable SCHED_STACK_END_CHECKMichael Olbrich2018-02-181-1/+1
| | | | | | | | | | | This option checks for a stack overrun on calls to schedule(). If the stack end location is found to be over written 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: Michael Olbrich <m.olbrich@pengutronix.de>
* kernelconfig: reason: don't ping the watchdog in the kernelMichael Olbrich2018-02-181-1/+1
| | | | | | | If the bootloader has enabled the watchdog, the intention is usually to monitor the whole boot process. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* kernelconfig: reason: set better DEFAULT_MMAP_MIN_ADDRMichael Olbrich2018-02-181-1/+1
| | | | | | | | Keeping userspace processes without CAP_SYS_RAWIO from writing to low pages can help reduce the impact of kernel NULL pointer bugs. 32kB is recommened on ARM. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>