summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-03-27tdx-base.inc: bump to 5.7.7dunfell-5.x.yMax Krummenacher
Related-to: ELB-5597 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2024-02-08tdx-base.inc: bump to 5.7.6Max Krummenacher
Related-to: ELB-5513 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2023-12-18tdx-base.inc: bump to 5.7.5Max Krummenacher
Related-to: ELB-5324 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2023-07-27tdx-base.inc: bump to 5.7.4Max Krummenacher
Related-to: TEI-1054 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2023-02-27tdx-base.inc: bump to 5.7.3Max Krummenacher
Related-to: ELB-4709 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2022-12-13uprev-srcrev: remove imx-sc-firmware-toradexFrancesco Dolcini
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>
2022-09-06tdx-base.inc: bump to 5.7.2Philippe Schenker
Related-to: TEI-1034 Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2022-08-02tdx-base.inc: bump to 5.7.1Philippe Schenker
Related-to: ELB-4422 Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2022-04-01tdx-base.inc: Bump version number to 5.7.0Max Krummenacher
Related-to: ELB-4289 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2022-02-03meta: move in TEZI_SHOW_EULA_LICENSE from meta-toradex-demosMing Liu
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>
2022-01-11tdx-base.inc: Bump version number to 5.6.0Max Krummenacher
Related-to: ELB-4199 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2021-12-14uprev-srcrev: fix uprev of tezi buildMax Krummenacher
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>
2021-11-09buildconf/local.conf: drop apalis-imx8x machine supportDenys Drozdov
apalis-imx8x is no longer supported Signed-off-by: Denys Drozdov <denys.drozdov@toradex.com>
2021-10-12updatesrcrev.py: work around python crashMax Krummenacher
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>
2021-10-11buildconf/local.conf: don't set any machine by defaultMax Krummenacher
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>
2021-10-05tdx-base.inc: Bump version number to 5.5.0Philippe Schenker
Related-to: ELB-4053 Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2021-09-09local.conf: add verdin-imx8mp MACHINEMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2021-09-09buildconf/local.conf: set DISTRO as a default valueTomas Novotny
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)
2021-09-07scripts: uprev-srcrev: add teziPhilippe Schenker
Relates-to: ELB-4127 Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2021-09-06distro: tdx-base.inc: prefer gstreamer with a weak assignmentMax Krummenacher
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>
2021-08-23local.conf: add colibri-imx6ull-emmc MACHINEOleksii Bidnichenko
Related-to: ELB-4065 Signed-off-by: Oleksii Bidnichenko <oleksii.bidnichenko@toradex.com>
2021-07-07tdx-base.inc: Bump version number to 5.4.0Philippe Schenker
Related-to: ELB-3903 Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2021-06-02uprev-srcrev: update after rename of u-boot-toradex-tk1Marcel Ziswiler
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2021-05-10local.conf: add toradex-sanity to INHERITMing Liu
To involve in basic sanity check for Toradex builds. Related-to: ELB-3944 Signed-off-by: Ming Liu <ming.liu@toradex.com>
2021-04-22uprev-srcrev: return status of subprocess callssamuel.bissig
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>
2021-04-15uprev-srcrev: print recipe name together with new git hashMax Krummenacher
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>
2021-04-08tdx-base.inc: Bump version number to 5.3.0Max Krummenacher
Related-to: ELB-3320 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2021-04-07uprev-srcrev: uprev to imx-sc-firmware-toradex_1.7.0Max Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2021-03-03buildconf:local.conf: support fitimageMing Liu
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>
2021-03-03tdx-base.inc: remove version-going-backwards from ERROR_QAMing Liu
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>
2021-02-01distro: tdx-base.inc: preferred_versions: follow updatesMax Krummenacher
NXP release imx_5.4.70_2.3.0. Related-to: ELB-3327 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2021-01-29uprev-srcrev: uprev to linux-toradex_5.4-2.3.xDenys Drozdov
Signed-off-by: Denys Drozdov <denys.drozdov@toradex.com>
2021-01-11tdx-base.inc: Bump version number to 5.2.0Sergio Prado
Signed-off-by: Sergio Prado <sergio.prado@toradex.com>
2020-11-17uprev-srcrev: uprev different lists depending on the projectMax Krummenacher
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>
2020-11-17uprev-srcrev: change fetch policy to fetch from remote repoMax Krummenacher
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>
2020-11-17tdx distros: add x11 to image filename and descriptionsMax Krummenacher
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>
2020-10-27tdx-base.inc: drop ptest from DISTRO_FEATURESMing Liu
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>
2020-10-07tdx-base.inc: Bump version number to 5.1.0Philippe Schenker
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2020-09-16local.conf: use xwayland as the default in the sample local.confMax Krummenacher
Related-to: ELB-2303 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2020-09-16uprev-srcrev: add imx-sc-firmware supportStefan Agner
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>
2020-09-07uprev-srcrev: add Toradex specific script to uprev all recipesStefan Agner
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>
2020-09-07recipetool: add updatesrcrev sub-commandStefan Agner
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>
2020-08-24tdx-base: drop unstable elements from sdk versionMax Krummenacher
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)
2020-08-17tdx-xwayland-upstream-rt: correct basenameMax Krummenacher
'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)
2020-08-14tdx-base: pin versions for nxp bsp 5.4.24_2.1.0Max Krummenacher
Related-to: ELB-2758 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2020-08-10tdx-base: set PREFERRED_PROVIDER_u-boot-fw-utils to libubootenvMing Liu
Related-to: ELB-2552 Signed-off-by: Ming Liu <ming.liu@toradex.com> (cherry picked from commit 52c6924586ecc03cd14292fba7f3ef2a2851001a)
2020-08-03distro: set inital dunfell version to 5.0.0Max Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2020-07-31buildconf: export: change targets to new image namesPhilippe Schenker
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2020-07-23bblayers.conf: add meta-qt5 layerPhilippe Schenker
Related-to: ELB-2838 Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2020-06-18tdx-base: pin versions for nxp bsp 4.14.98_2.3.0Max Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>