Age | Commit message (Collapse) | Author |
|
Related-to: ELB-5597
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Related-to: ELB-5513
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Related-to: ELB-5324
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Related-to: TEI-1054
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Related-to: ELB-4709
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Remove SCFW uprev, we do not plan to update this with BSP5 and currently
the build is failing because of an updated licence. In case of a
maintenance release we will have to manually update the sha.
Related-to: ELB-4917
Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
|
|
Related-to: TEI-1034
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
Related-to: ELB-4422
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
Related-to: ELB-4289
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
TEZI_SHOW_EULA_LICENSE shall be a machine global variable but not image
specific, move it to tdx-base.inc in meta-toradex-distro layer.
Torizoncore/Tezi/BSP now use the same setting of
TEZI_SHOW_EULA_LICENSE.
Related-to: TOR-2102
Signed-off-by: Ming Liu <ming.liu@toradex.com>
|
|
Related-to: ELB-4199
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Uprev all recipes used by the Toradex Easy Installer.
Do this by refactoring the list of recipes in a bsp list used for all
builds and add the additional ones for TEZI and Torizon.
Related-to: AUT-932
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
apalis-imx8x is no longer supported
Signed-off-by: Denys Drozdov <denys.drozdov@toradex.com>
|
|
Since commit c9c9679 ("buildconf/local.conf: don't set any machine by
default") calling scripts/uprev-srcrev creates a python crash unless
one makes sure a MACHINE is set.
Just reading PV from the datastore before continuing with doing the
uprev fixes the issue.
Fixes:
| Traceback (most recent call last):
| File "/home/krm/bla/dunfell/layers/openembedded-core/bitbake/lib/bb/fetch2/__init__.py", line 1585, in latest_revision
| return revs[key]
| File "/home/krm/bla/dunfell/layers/openembedded-core/bitbake/lib/bb/persist_data.py", line 50, in wrap_func
| return f(self, *args, **kwargs)
| File "/home/krm/bla/dunfell/layers/openembedded-core/bitbake/lib/bb/persist_data.py", line 79, in wrap_func
| return f(self, cursor, *args, **kwargs)
| File "/home/krm/bla/dunfell/layers/openembedded-core/bitbake/lib/bb/persist_data.py", line 167, in __getitem__
| raise KeyError(key)
| KeyError: 'git:git.toradex.com.u-boot-toradex.gittoradex_2020.07'
|
| During handling of the above exception, another exception occurred:
|
| ...
|
| The above exception was the direct cause of the following exception:
|
| Traceback (most recent call last):
| ...
| File "/home/krm/bla/dunfell/layers/openembedded-core/bitbake/lib/bb/fetch2/__init__.py", line 1587, in latest_revision
| revs[key] = rev = self._latest_revision(ud, d, name)
| File "/home/krm/bla/dunfell/layers/openembedded-core/bitbake/lib/bb/fetch2/git.py", line 689, in _latest_revision
| sha1, ref = l.split()
| bb.data_smart.ExpansionError: Failure expanding variable SRCPV, expression was ${@bb.fetch2.get_srcrev(d)} which triggered exception ValueError: not enough values to unpack (expected 2, got 0)
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Don't set a default machine so that a user has to explicitly choose
what machine one builds for.
Add a warning to not set MACHINE after the include ${MACHINE}.inc line.
Related-to: ELB-4179
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Related-to: ELB-4053
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
The usage of the default value operator makes it easier to overwrite the
DISTRO variable in other configuration files (e.g., for continuous
integration).
Signed-off-by: Tomas Novotny <tomas@novotny.cz>
(cherry picked from commit deae13d4db872a395366c1eb9f2fd42942e09c7b)
|
|
Relates-to: ELB-4127
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
Currently the preferred version for the gstreamer components is
assigned with '='. Relax that to '?=' to allow for a easier override
in other configuration files.
Proposed-by: Carlos Rafael Giani <crg7475@mailbox.org>
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Related-to: ELB-4065
Signed-off-by: Oleksii Bidnichenko <oleksii.bidnichenko@toradex.com>
|
|
Related-to: ELB-3903
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
To involve in basic sanity check for Toradex builds.
Related-to: ELB-3944
Signed-off-by: Ming Liu <ming.liu@toradex.com>
|
|
So far exceptions have been catched in the python script and
have not been reported back to caller. The status code of the script
was always 0. This makes it impossible to the build scripts to react
on failed runs of uprev-srcrev tool.
In case a recipe can not be found, patching further recipes
gets skipped and a status code not equal to 0 is returned.
Signed-off-by: samuel.bissig <samuel.bissig@toradex.com>
|
|
On the build server the three output lines produced by a single recipe
are not together which makes it hard to check which recipe got updated
to which source revision.
Print the recipe file name together with the git hash makes it all clear.
Changes
| [krm@linuxdev2 build]$ ../layers/meta-toradex-distro/scripts/uprev-srcrev
| INFO: Processing recipe ../layers/meta-toradex-bsp-common/recipes-kernel/backports/backports_5.4.bb
| NOTE: Starting bitbake server...
| INFO: Update SRCREV to 4cb81c29dde242744eccf9f37f2014ea3b37ade2.
|
| INFO: Processing recipe ../layers/meta-toradex-bsp-common/recipes-kernel/linux/linux-toradex-mainline_5.4.bb
| NOTE: Starting bitbake server...
| INFO: Update SRCREV_machine to db57a7415fa94e0d5a7f23908be15d5d6e72a891.
| ...
to
| [krm@linuxdev2 build]$ ../layers/meta-toradex-distro/scripts/uprev-srcrev
| INFO: Processing recipe ../layers/meta-toradex-bsp-common/recipes-kernel/backports/backports_5.4.bb
| NOTE: Starting bitbake server...
| INFO: backports_5.4.bb: Update SRCREV to 4cb81c29dde242744eccf9f37f2014ea3b37ade2.
|
| INFO: Processing recipe ../layers/meta-toradex-bsp-common/recipes-kernel/linux/linux-toradex-mainline_5.4.bb
| NOTE: Starting bitbake server...
| INFO: linux-toradex-mainline_5.4.bb: Update SRCREV_machine to db57a7415fa94e0d5a7f23908be15d5d6e72a891.
| ...
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Related-to: ELB-3320
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
It's by default disabled, the end users could choose to enable them by
uncommenting two lines.
Related-to: TOR-1700
Signed-off-by: Ming Liu <ming.liu@toradex.com>
|
|
Some Toradex recipes like linux-toradex, u-boot-toradex,
device-tree-overlays are appending SCM hashes to PV, version numbers
going backwards are not a problem as we don't provide binary feeds.
This avoids some annoying errors as follows:
| QA Issue: Package version went backwards which would break package feeds
Related-to: ELB-3583
Signed-off-by: Ming Liu <ming.liu@toradex.com>
|
|
NXP release imx_5.4.70_2.3.0.
Related-to: ELB-3327
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Signed-off-by: Denys Drozdov <denys.drozdov@toradex.com>
|
|
Signed-off-by: Sergio Prado <sergio.prado@toradex.com>
|
|
Use two lists of recipes which should be upreved, one for tdxref and one
for Torizon builds.
Currently Torizon has additionally the linux kmeta repo but lacks the
Apalis TK1 U-Boot.
Relates-to: AUT-507
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Force BB_SRCREV_POLICY to 'clear'. Thus the fetcher queries the remote
git repo for the latest HEAD and does not rely on the copy in the local
download directory.
With this, we can change CI to run uprev-srcrev before building the
images if we want to build latest HEAD of our components rather than
using AUTOREV through use-head-next.
This prevents that a push to the repos during a build might cause
build errors.
Related-to: AUT-528
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
So far the graphical backend (X11 / Wayland) did not show in the created
image names or the Toradex Easy Installer meta data at all.
As we now build by default only Wayland, leave those alone. If one builds
for X11 then add this to the file name and the descriptive meta data.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
We dont really need 'ptest' and that would invovle in a lot of recipes
to be built which could be very time consuming.
Related-to: ELB-3195
Signed-off-by: Ming Liu <ming.liu@toradex.com>
|
|
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
Related-to: ELB-2303
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Add imx-sc-firmware to the list of recipes to update src rev. This
recipe is now a regular recipe (not a bbappend) and hence can be used
uprev'ed using recipetool.
Related-to: AUT-355
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
|
|
Create a Toradex specific script which loops through all recipes using
AUTOREV and updates them to the current git hash.
Related-to: AUT-355
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
|
|
Use the recipetool plugin mechanism to add a updatesrcrev command. This
allows to update the SRCREV variable to point to the current git hash
the references git branch is pointing to. A OpenEmbedded build
environment needs to be initialized. Then use the following command to
update SRCREV of a particular recipe:
recipetool updatesrcrev <path-to-recipe>
Related-to: AUT-354
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
|
|
SDK_VERSION is used as a path element for the nativesdk packages. Thus,
if variables are used to form it which are excluded to force a rebuild,
when using sstate or previous build artefacts paths stay not the same
resulting in various build failures.
So drop all elements which are marked with "vardepsexclude".
E.e.:
Dependencies not found in compile/configure as the search paths don't match.
Build output not found:
| rm: cannot remove '.../image/opt/tdx-xwayland/5.0.0-devel-20200821220610+build.0/sysroots/x86_64-tdxsdk-linux/usr/lib/aarch64-tdx-linux/gcc/aarch64-tdx-linux/9.3.0/install-tools': No such file or directory
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
(cherry picked from commit d84f3ee332e6e14fad9d1af9aa374d993f068036)
|
|
'upstream' has already been appended in tdx-xwayland-upstream.conf.
Don't add a second one. I.e. don't create an image file name like this:
Apalis-iMX6_Reference-Minimal-Image-upstream-rt-upstream-Tezi_5.0.0-devel-20200817071112+build.0
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
(cherry picked from commit 41d0ea6aa295e4e72ae01e539d2051f34d722413)
|
|
Related-to: ELB-2758
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Related-to: ELB-2552
Signed-off-by: Ming Liu <ming.liu@toradex.com>
(cherry picked from commit 52c6924586ecc03cd14292fba7f3ef2a2851001a)
|
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
Related-to: ELB-2838
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|