| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Linux has traditionally used the BSD-like names like /dev/ptyxx for
masters and /dev/ttyxx for slaves of pseudo-terminals. This scheme has a
number of problems, including security, but is still provided for
backwards-compatibility. All modern Linux systems since glibc 2.1 use
Unix98-style pty names (/dev/pts/*), so support for the legacy BSD-style
names is not needed.
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
Link: https://lore.pengutronix.de/20210818205848.26402-1-rhi@pengutronix.de
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
| |
This is possible since ptxdist-2021.03.0 introduced in DistroKit with
ee0945e61587 ("ptxdist: migrate to 2021.03.0").
Signed-off-by: Alexander Dahl <ada@thorsis.com>
Reviewed-by: Roland Hieber <rhi@pengutronix.de>
Link: https://lore.pengutronix.de/20210713115218.16671-1-ada@thorsis.com
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
|
|
| |
Migrate all platforms with default options.
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
Link: https://lore.pengutronix.de/20210620180725.5193-1-rhi@pengutronix.de
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When using layers that inherit DistroKit, doing a 'ptxdist oldconfig
barebox-common' in the inherited layer can lead to strange errors about
unmatched MD5 sums in the config diff. This happens because
ptxd_make_world_kconfig_mode() in scripts/lib/ptxd_make_world_kconfig.sh
only updates the config files when the stage name matches "*config".
Rename the "barebox-common_oldconfig_" target to something that matches
the regex.
As a side note, we still need a separate oldconfig target for
barebox-common here because it must run before all other barebox's
oldconfig stages.
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
Link: https://lore.pengutronix.de/20210426082840.5999-1-rhi@pengutronix.de
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Since Barebox v2020.11.0, the build system supports a configurable
version string that is baked into the barebox image, see the following
upstream barebox commits:
* commit 98c221e3fad57f271d60 (2020-09-23, "Makefile: add buildsystem version variable")
* commit c7dcac9de597f006fdc8 (2020-09-23, "common: print buildsystem version in barebox banner")
* commit c600d8812e9f3b98591a (2020-09-23, "common: globalvar: add variable for buildsystem_version_string")
* commit 01b53d3b728073996e7e (2020-09-23, "imd: add buildsystem version to metadata")
Set that version string to the Git hash so we can always find out from
which DistroKit version a barebox-in-the-wild was built. (Even if we
don't use barebox >= v2020.11.0 on all platforms yet, future barebox
updates will benefit from this change.)
For mips, we use the upstream barebox rule, which takes the version
string from the platformconfig. For all other platforms, this change
effectively ports the following commit from PTXdist 2021.04.0:
| commit f5500c922424ee71dd99e80f743ed6d994e5bca6
| Author: Steffen Trumtrar <s.trumtrar@pengutronix.de>
| Date: 2021-04-01 10:36:41
|
| rules: barebox: support barebox buildsystem_version
|
| barebox supports setting a buildsystem version. This is useful to have
| an exact buildsystem version like a commit hash accessible from barebox.
|
| Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
| Message-Id: <20210401083641.9251-2-s.trumtrar@pengutronix.de>
| Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Link: https://git.pengutronix.de/cgit/barebox/commit/?id=98c221e3fad57f271d60
Link: https://git.pengutronix.de/cgit/barebox/commit/?id=c7dcac9de597f006fdc8
Link: https://git.pengutronix.de/cgit/barebox/commit/?id=c600d8812e9f3b98591a
Link: https://git.pengutronix.de/cgit/barebox/commit/?id=01b53d3b728073996e7e
Link: https://git.pengutronix.de/cgit/ptxdist/commit/?id=f5500c922424ee71dd99
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This ports the following commits from PTXdist 2021.04.0:
| commit a22b449946eed634f42b06b0c385b29621c6d02e
| Author: Michael Olbrich <m.olbrich@pengutronix.de>
| Date: 2021-04-01 15:58:54
|
| template: kernel: proper handle signed modules
|
| Same as 565aabf6f36d3ed31544d882394604c4a1b13597 but for the kernel
| template instead of the kernel itself.
|
| Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
| commit 565aabf6f36d3ed31544d882394604c4a1b13597
| Author: Denis Osterland-Heim <denis.osterland@diehl.com>
| Date: 2021-03-31 13:35:25
|
| kernel: proper handle signed modules
|
| If CONFIG_MODULE_SIG_ALL is set in kernelconfig then modules will be
| automatically signed during the modules_install phase of a kernel build.
|
| Signed modules are BRITTLE as the signature is outside of the defined ELF
| container. Thus they MAY NOT be stripped once the signature is computed
| and attached. Note the entire module is the signed payload, including any
| and all debug information present at the time of signing.
|
| See: https://www.kernel.org/doc/html/latest/admin-guide/module-signing.html
| Signed-off-by: Denis Osterland-Heim <denis.osterland@diehl.com>
| Message-Id: <20210331113525.22330-1-denis.osterland@diehl.com>
| Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
We might not sign kernel modules at the time, but apply the principle of
least surprise and port it now to be up to date with the upstream
kernel rule template.
Link: https://git.pengutronix.de/cgit/ptxdist/commit/?id=a22b449946eed634f42b
Link: https://git.pengutronix.de/cgit/ptxdist/commit/?id=565aabf6f36d3ed31544
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
|
|
| |
Migrate with default settings to the new PTXdist version, which was
released today.
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
|
|
|
|
|
|
| |
New version came out today, but the diff is uneventful.
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
|
|
|
|
|
|
|
| |
A new PTXdist version was released last week, which also includes a
kconfig update from v5.1 to v5.11-rc3.
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This ports PTXdist commit 4f058f4c37fa9fb1465a:
| commit 4f058f4c37fa9fb1465a77757a35c48e5e4a9179
| Author: Michael Olbrich <m.olbrich@pengutronix.de>
| Date: 2018-07-31 16:12:58
|
| dtc: support layers in DTC_OFTREE_DTS_PATH by default
|
| PTXDIST_PLATFORMCONFIG_SUBDIR is a relative path and will be searched in
| all layers.
|
| Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Reviewed-by: Alexander Dahl <ada@thorsis.com>
Reviewed-by: Michael Olbrich <m.olbrich@pengutronix.de>
Link: https://git.pengutronix.de/cgit/ptxdist/commit/?id=4f058f4c37fa9fb1465a
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
|
|
|
|
|
|
|
| |
Make malta kernel work with qemu-xhci controller. It was needed to
reproduce endiannes bug with candleLight CAN adapter.
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
| |
Version 1.6.0 includes a fix for building on hosts with gcc 10.
This ports PTXdist commit 7990fbf116f66f82796b (2020-05-24, Michael
Olbrich: "host-dtc: update default version to 1.6.0").
Link: https://lkml.org/lkml/2020/4/1/1206
Link: https://git.pengutronix.de/cgit/ptxdist/commit/?id=7990fbf116f66f82796b
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
|
|
|
|
|
|
|
|
| |
Update to the most recent kernel version and do an oldconfig with
default values.
Tested-by: Roland Hieber <rhi@pengutronix.de> on qemu-malta
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
|
|
|
|
|
|
| |
Migrate to the most current PTXdist version with default settings.
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
|
|
|
|
|
|
| |
Update to the latest toolchain, which was released this week.
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
|
|
|
|
|
|
|
|
|
| |
A new ptxdist version is out.
We set PTXCONF_KERNEL_CONFIG_BASE_VERSION=y in all platforms, as
DistroKit is a base layer for other BSPs.
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
| |
A new ptxdist version is out, update.
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
| |
A new ptxdist version is out, so we update our configs.
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
| |
A new ptxdist version is out, update DistroKit.
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
| |
it should be provided by the bootloader
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
|
|
|
|
|
|
| |
Without prompt we can't enable it.
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
|
|
|
|
|
|
| |
With LZO we need 1 second less of boot time.
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
|
|
|
|
|
|
|
|
|
| |
With this release, the TF-A rule went upstream in revised form, so it's
dropped as part of the migration.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
[adapted to current next]
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
| |
BSP kernel make files was changed. Now we can regenerate kernel configs
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
Most targets do not fully support stack clash protection. However, on
those targets -fstack-clash-protection will protect dynamic stack
allocations. -fstack-clash-protection may also provide limited
protection for static stack allocations if the target supports
-fstack-check=specific.
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
|
|
|
|
|
|
|
|
| |
Tis enables extra error checking in the form of precondition assertions,
such as bounds checking in strings and null pointer checks when
dereferencing smart pointers.
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
|
|
|
|
|
|
| |
We have separate kernel images for different HW.
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
|
|
|
|
|
|
| |
It is an QEMU system. This options are currently not needed
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
|
|
|
|
|
|
|
| |
The typical embedded use-cases are more sensitive to latency than
throughput. Thus a fully preemptible kernel is preferred.
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
|
|
|
|
|
|
| |
It is not possible to enable strict devmem on this platform
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
|
|
|
|
|
|
| |
This driver is not used. Disable it.
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
|
|
|
|
|
|
| |
Sync EXT4 and VFAT support with ARM platforms
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
|
|
|
|
|
|
|
| |
Power management is tricky can be a source of different issues. It
should be tested and fixed as early as possible.
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
|
|
|
|
|
|
|
| |
All currently supported ARM platforms provide USB support. Enable USB on
MIPS, to make it consistent with other platforms.
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
|
|
|
|
|
|
| |
We have I2C support on all ARM platforms. Enable it for MIPS as well.
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is basically the same as the ptxdist upstream commit
c065184961ab1973c304ee31347205569b4f7536 ("kernel: add workaround to keep
kernelconfigs stable")
With linux-4.19 and gcc-8.x oldconfig will prompt for extra options that
are not available with e.g. gcc-7.x. This causes problems when a BSP is
built with different host compilers.
Add a workaround to optionally disable these extra options by forcing the
compiler check to fail.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
| |
A new kernel is out, update all platforms.
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
| |
A new ptxdist version is out, update the configs.
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
|
|
| |
This file has never existed here, and the respective lines were also
removed from the upstream PTXdist rules and templates in commit
cbd6bda680c65d7e01cf ("CREDITS: remove unmaintained file").
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
|
|
Currently this platform can build rootfs and run only barebox. Other
parts need more work, but even on this stage we would be able to make
toolchain and barebox regression tests.
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
|