- Oct 13, 2023
-
-
- Oct 11, 2023
-
-
Felix Gerking authored
The RTC is used on the LEVY D18 SOM. BCS 746-001553
-
- Oct 06, 2023
-
-
As a preparation for rauc, add initial slot variable. Rauc takes RAUC_CURRENT_BOOTNAME from kernel command line. Signed-off-by:
Mikhail Vanyulin <mikhail.vanyulin@rtsoft.de>
-
- Sep 29, 2023
-
-
Tobias Kahlki authored
-
-
-
- Sep 28, 2023
-
-
GitBot authored
-- Commit: seco-ne/yocto/infrastructure/gitlab-ci@cf0336d6 Define manifest file to build from
-
- Sep 25, 2023
-
-
GitBot authored
-- Commit: seco-ne/yocto/infrastructure/gitlab-ci@a7503809 Confluence: add supported hardware information -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@0ef32ce7 Update simulated build to kirkstone-14.0 Remove temporary workarounds that were necessary due to changes after the previously used release kirkstone-7.0.
-
- Sep 21, 2023
-
-
Mikhail Vanyulin authored
Fix the problem with floating IP addresses after first reboot in Edgehog image. Even when a stable MAC is assigned to device via device-tree, an IP address may change after the first reboot. This is due to default implementation of built-in DHCP client provided by systemd-network daemon - DHCP RELEASE packet is sent to the DHCP server during reboot by this daemon. So, next time a new IP address is allocated to the same DHCP client (device). To change this behavior of the DHCP client, a "KeepConfiguration=dhcp-on-stop" option is enabled in configuration file for systemd-networkd. Signed-off-by:
Mikhail Vanyulin <mikhail.vanyulin@rtsoft.de>
-
Mikhail Vanyulin authored
Squashfs is required for rauc bundles installation. Signed-off-by:
Mikhail Vanyulin <mikhail.vanyulin@rtsoft.de>
-
- Sep 20, 2023
-
-
The driver is used for the D18 SMARC module. Original commit https://git.seco.com/edgehog/bsp/nxp/linux-seco-imx/-/commit/c20ef657 BCS 746-001345
-
- Sep 19, 2023
-
-
Tim Jaacks authored
This variable will be used by CI for creating the release page in Confluence.
-
- Sep 18, 2023
-
-
GitBot authored
-- Commit: seco-ne/yocto/infrastructure/gitlab-ci@64dc51d3 Use regex operator to check for multiple variables The "&&" operator does not work as expected when checking if multiple variables are set. See for reference: https://gitlab.com/gitlab-org/gitlab/-/issues/321371 -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@89fbce24 Hide Confluence stage if confluence variables not set -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@db50e93b Hide deploy stage if DEPLOY_RELEASE_TARGET not set -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@f4aa0048 Hide FTP stage if DEPLOY_FTP_TARGET not set This makes the variable HIDE_FTP_UPLOAD_STAGE obsolete, because we can hide the FTP stage now by setting DEPLOY_FTP_TARGET to an empty string. -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@409c4f27 Do not run CI test sub-pipeline on master
-
- Sep 15, 2023
-
-
GitBot authored
-- Commit: seco-ne/yocto/infrastructure/gitlab-ci@a731b156 Remove DISTRO_IMAGES This variable has been removed in Yocto. Its contents have been merged into DISTRO_RELEASE_ARTEFACTS. See for reference: meta-seconorth-distro@a316e95e
-
- Sep 14, 2023
-
-
GitBot authored
-- Commit: seco-ne/yocto/infrastructure/gitlab-ci@45f2aca7 Refactoring: remove parsing of testdata.json in package stage Extract and save these variables in the build stage instead and explicitly pass them as arguments to the package script. -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@8ca2487d Move .simulate_build below .build_yocto -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@2808f067 Fix build.env contents for simulated build -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@73d00715 Pretty print release metadata JSON file
-
- Sep 08, 2023
-
-
GitBot authored
-- Commit: seco-ne/yocto/infrastructure/gitlab-ci@f2a29f53 Refactoring: remove RELEASE_NAME from deploy targets Append it to the configured target at the deploy class level instead. This removes the need for eval'ing the variables before usage. RELEASE_NAME can be used directly at the class level because it is known from build-version.env. This makes the deploy behavior identical to the Azure stage. -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@e136e5e2 Remove top-level "release" folder from package -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@1d5e479f Define MACHINE variable on job level Instead of passing MACHINE from stage to stage or loading it from testdata.json, use the original value from the Jinja2 loop and set it directly for each job where it is used. -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@cdd47023 Introduce separate variables to set RELEASE_NAME and RELEASE_VERSION The expressions to calculate RELEASE_NAME and RELEASE_VERSION cannot be stored within these variables themseselves. If set on the trigger level, they would override the calculated values in build-version.env then, as trigger variables always have the highest precedence. Use separate variables RELEASE_VERSION_EXPRESSION and RELEASE_NAME_EXPRESSION to define how RELEASE_VERSION and RELEASE_NAME are calculated instead. -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@372d192b Use RELEASE_VERSION and RELEASE_NAME from build-version job Instead of passing these variables from stage to stage or regenerating their values in later stages, use the ones set in the build-version job at all places. -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@cad30c20 Remove RELEASE_SUFFIX variable The RELEASE_NAME variable can be set directly now, so there's no need to have a dedicated RELEASE_SUFFIX anymore. A previous configuration like RELEASE_SUFFIX: "-custom" can now be achieved using: RELEASE_NAME: "Yocto-${RELEASE_VERSION}-custom" -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@922f49f8 Add yocto version job This adds a machine-independent job "build-version" which populates the RELEASE_VERSION and RELEASE_NAME variables, so that following jobs can use these without depending on the various build jobs. The variables can be set from the trigger job in a project's `.gitlab-ci.yml` file. They are eval'ed before saving them to version.env, so we can use deferred variable expansion or even command execution to construct their values. This mechanism is already used for the Flash-N-Go System variables. -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@073ae81e LAVA: rename MACHINE to LAVA_MACHINE Rename variable in order to avoid confusion with the original MACHINE variable used everywhere else. Also rename the local Jinja2 variable to include an underscore to make naming consistent. -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@a91baa55 Clean build.env before writing This had been accidentally removed in 5e36715ef6cf98df4c1b98fedddc0c3c50ed4040. -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@1860ca8e Remove LOG_PREFIX variable This was used in times when the same code was executed from different places. We don't do that anymore, so the variable is obsolete. -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@3d2dbe4d Documentation: update job generation chapter
-
- Sep 06, 2023
-
-
Felix Gerking authored
The VPU firmware binary for the imx6dl SoCs was not present in the image. Adding the mx6dl override adds the firmware-imx-vpu-imx6d package to the image.
-
Felix Gerking authored
Perform the do_install task only for the seco-mx6 machines, otherwise the firmware binaries conflict with the files from the firmware-imx recipe of the Freescale layer.
-
- Sep 04, 2023
-
-
Tobias Kahlki authored
The Flash-N-Go System bootscript should also check for an additional custom bootscript and run it if one was found.
-
GitBot authored
-- Commit: seco-ne/yocto/infrastructure/gitlab-ci@17b87f84 Refactoring: remove CI_PARAM_ prefix from variables There is no need to add a prefix to the variables. Basically every variable can be set or overridden at the trigger level, so we just use plain variable names for everything. -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@825f3686 Refactoring: do not rename *_PATH variables in build.env We were using different variable names for the same variable in build and package stages. Unify these names in order to reduce potential confusion. -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@2346bb98 Refactoring: make build variable naming consistent Use underscore to separate words within variable name. -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@581541b9 Refactoring: improve FNG_INSTALL_URL definition FNG_INSTALL_URL was defined in build.env only, and in order to use it during the build we sourced build.env after writing it. Remove this workaround and define the variable cleanly in the first place. This removes the intermediate variable FNG_INSTALL_PATH. Also move the "/artifact" path from JOB_URL to FNG_INSTALL_URL in order to make the JOB_URL variable name match better. -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@35784f29 Refactoring: improve IMAGEPATH et al. definition On every usage of IMAGEPATH, SDKPATH and LICENSESPATH we prepended BUILDPATH to it. Prepend it directly on definition to prevent repetition. Also remove redundant variable IMAGEBASEPATH. -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@5e36715e Remove needless variables from build.env There were three variables set in build.env of which the values are already known in the environment for all jobs, because they are passed from the parent pipeline. Use the original variables instead of defining new ones. -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@84aa6afb Fix LAVA job name -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@8160c7d5 Sourcery: enable "low-code-quality" check globally Disable it locally instead, so that 1. new code additions are always checked, and 2. we can refactor one function at a time to make the check pass. -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@ef60c378 Sourcery: keep "for-append-to-extend" check disabled This is another check that suggests changes an average developer without profound Python experience would find hard to understand. Disable it. See for reference: https://docs.sourcery.ai/Reference/Python/Default-Rules/for-append-to-extend/
-
- Aug 28, 2023
-
-
GitBot authored
-- Commit: seco-ne/yocto/infrastructure/gitlab-ci@cf371aca alphaplan_fwr: Remove obsolete pkg.py artifact The pkg.py file is no longer deployed by the build process. See commit meta-seconorth-distro@e79e8579 -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@b2b43f71 Sourcery: keep "use-named-expression" check disabled This suggestion aims to reduce code size, but IMO for the expense of readability for non-python-experts, so we disable it. See for reference: https://docs.sourcery.ai/Reference/Python/Default-Rules/use-named-expression/ -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@ae8c5423 Sourcery: keep "use-next" check disabled I don't see any benefit in accepting the refactoring suggestions based on this rule. IMO it makes the code harder to read, especially for non- experienced Python developers. See for reference: https://docs.sourcery.ai/Reference/Python/Default-Rules/use-next/ -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@9462f826 Refactoring: raise specific errors See for reference: https://docs.sourcery.ai/Reference/Python/Default-Rules/raise-specific-error/ -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@61eb3e11 Switch all strings to formatted string literals (f-strings) The old printf-style string formatting syntax using '%' is not recommended anymore. See for reference: https://docs.python.org/3/library/stdtypes.html#printf-style-string-formatting https://docs.sourcery.ai/Reference/Python/Default-Rules/replace-interpolation-with-fstring/ Python 3.6 introduced f-strings as a better alternative: https://docs.python.org/3/reference/lexical_analysis.html#f-strings Consequently switch to this new syntax for all strings.
-
Jonas Höppner authored
As the u-boot for seco-mx6-fsl does not work yet, the install script should only be generated for seco-mx6 instead for all mx6q machines.
-
GitBot authored
-- Commit: seco-ne/yocto/infrastructure/gitlab-ci@b2fb3e93 Combine build-yocto.yml and and build-common.yml to build-pipeline.yml
-
- Aug 24, 2023
-
-
GitBot authored
-- Commit: seco-ne/yocto/infrastructure/gitlab-ci@e6808701 Add "Deploy Azure" stage This stage contains jobs to deploy packaged artifacts to our Azure blob storage. The required variables `AZURE_STORAGE_ACCOUNT` and `AZURE_STORAGE_SAS_TOKEN` are stored in the GitLab CI/CD variables. The storage container `AZURE_CONTAINER_NAME` and artifact path `AZURE_TARGET_FOLDER` are passed from the parent pipeline.
-
Jonas Höppner authored
-
- Aug 22, 2023
-
-
Mikhail Vanyulin authored
Signed-off-by:
Mikhail Vanyulin <mikhail.vanyulin@rtsoft.de>
-
Mikhail Vanyulin authored
Currently yocto-install-services package only holds seco-hmi-postinstallation.service. Which is to be used in Edgehogs builds. Service will check if gfxml-overlay.dtbo is present on correspondig bootfs_X partition and will start fnginstall-postinstallation if overlay is absent. Signed-off-by:
Mikhail Vanyulin <mikhail.vanyulin@rtsoft.de>
-
Mikhail Vanyulin authored
Added initial SRCREV.conf with gfxml2dto commit set. SECO-NE stores this file in manifest repo. Edgehog stores this file in machine layers and copies it into build/conf during initial setup. This is needed as gfxml2dto recipe is set to use dunfell branch, which is outdated. Signed-off-by:
Mikhail Vanyulin <mikhail.vanyulin@rtsoft.de>
-
Edgehog imx6 machines use zImage, while SECO-NE uses uImage. So we change bootz to bootm in U-Boot boot script for Edgehog builds. Signed-off-by:
Mikhail Vanyulin <mikhail.vanyulin@rtsoft.de>
-
Added kernel to IMAGE_BOOT_FILES, as Edgehog builds use U-Boot boot script, which loads kernel from bootfs_X partitions. bootfs_X partition is filled with IMAGE_BOOT_FILES. Signed-off-by:
Mikhail Vanyulin <mikhail.vanyulin@rtsoft.de>
-
Edgehog boot script uses uImage as kernel name. Enable KERNEL_IMAGETYPE_SYMLINK for Edgehog builds, as it is taken from deploy directory during WIC creation. Signed-off-by:
Mikhail Vanyulin <mikhail.vanyulin@rtsoft.de>
-
GitBot authored
-- Commit: seco-ne/yocto/infrastructure/gitlab-ci@f8c1d732 Add confluence stage This adds two jobs to the Yocto pipeline: - generate-confluence-page - publish-confluence-page The first one generates a confluence page from a template (`confluence-page.xml.jinja2`) using information downloaded from all successful "Deploy FTP" jobs of the same pipeline. The second one publishes this page in Confluence and displays a link to the new page. If the page already exists it is overwritten. The place in Confluence where the new page is published is configurable via the `CONFLUENCE_SPACE` and `CONFLUENCE_PARENT_ID` variables. -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@fee9493b generate-build-pipeline: re-add YAML format parsing This was accidentally forgotten in the previous commit. -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@9b777f29 Rename "generate_job_from_template" script to "render_jinja2_template" This makes the script more general and open for other future purposes. The parsing of the YAML content is conditional now, depending on the new "format" argument.
-
- Aug 21, 2023
-
-
Jonas Höppner authored
The 'main' branch was renamed to main some time ago, but the recipe was not adapted.
-
- Aug 17, 2023
-
-
For Edgehog builds WIC requires combine_kernel file to present in deploy directory. Adding dependency to bootscript recipe, which provides combine_kernel. Signed-off-by:
Mikhail Vanyulin <mikhail.vanyulin@rtsoft.de>
-
For Edgehog builds WIC creation needs combine_kernel file, so we place it to deploy directory. Signed-off-by:
Mikhail Vanyulin <mikhail.vanyulin@rtsoft.de>
-
-
Signed-off-by:
Mikhail Vanyulin <mikhail.vanyulin@rtsoft.de>
-
SysData is an Edgehog internal standardized way to store data from bootloader to the user space level. Added u-boot-seco-imx-fw-sysdata recipe, which will provide fw_sysdata utility to access sysdata from the linux. Signed-off-by:
Mikhail Vanyulin <mikhail.vanyulin@rtsoft.de>
-
Add Edgehog specific MACHINEOVERRIDES. Aside from providing corresponding overrides in recipes, this will also fix dependency loop for seco-image-edgehog. Signed-off-by:
Mikhail Vanyulin <mikhail.vanyulin@rtsoft.de>
-