- Oct 16, 2023
-
-
GitBot authored
-- Commit: seco-ne/yocto/infrastructure/gitlab-ci@0a3b1406 Confluence: get only those build jobs with a corresponding successful deploy job We cannot handle build jobs and deploy jobs similarly, because all build jobs are successful usually, while not all deploy jobs necessarily have run. Get build.env only from those build job which have a corresponding successful deploy job, otherwise MACHINE and SUPPORTED_HARDWARE fields always contain the full list of built platforms, even if they might have not been deployed. -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@97228cdb Move MACHINE variable from deploy.env to build.env The Confluence stage is the only stage that needs the MACHINE variable. Since the collect_release_information script already loads the build.env from the build jobs, there is no need to store this variable in deploy.env. -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@ba156b0f Confluence: check if variables are defined -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@cae6e282 Confluence: improve variable passing to template Use a general mechanism of storing all job variables for each build job separately, so that we have all documentation files in the FILES_documentation variable. This makes the dedicated HTML_FILES variable obsolete. The merged variables are still kept, though, so that we have all machines in the MACHINE variable to loop over. -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@41f8a49f Confluence: add error handling if artifact not found -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@1a519057 Make documentation files configurable This disables the documentation jobs for SDK and FNGSystem. -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@303e24eb Build documentation in dedicated job Previously the documentation files were rendered as part of the package jobs. Each package job converted the same set of static markdown files to HTML files, which was redundant. Add dedicated jobs to build, package and deploy the documentation files. Modify convert_md2html.py to support file globs as arguments. -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@838da585 Refactoring: move Alphaplan stage code to the end This reflects the stage order in the code. -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@ff31d083 Refactoring: use multiple MACHINE loops for better structure This is a preparation for adding dedicated documentation jobs. In order to have these grouped by stage along with their corresponding machine jobs, we have to get rid of the giant outer loop and add loops for each stage instead. -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@69973c95 Deploy: save deployed files in dotenv variable instead of dedicated file Previously the deployed files were stored in a dedicated text file called files.txt. Move this information to a dotenv variable called FILES, so that we don't need special handling for it in the Confluence stage. -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@45d04033 Remove disabling sourcery low-code-quality in package_release This check is not failing anymore since the latest refactorings.
-
- Oct 04, 2023
-
-
GitBot authored
-- Commit: seco-ne/kernel/linux-imx-kuk@705cd239 arm64:seco:Tanaro: Configure the sel6_8 gpio for displays used with Tanaro. Add the default polarity to the tanaro.dtsi and add one override to the display, where the default polarity does not work. (cherry picked from commit 0a6a819373fe79bf5c0a7764ebb5d3a934df23aa) -- Commit: seco-ne/kernel/linux-imx-kuk@c3c5a461 gpu:drm:panel-lvds: Add sel6/8 gpio support The sel6/8 gpio is needed to toggle between 18bpp and 24bpp. This allow to specify the gpio in the devicetree. (cherry picked from commit b6581905c9c020fd28f6f788a60aa170a1ceb031)
-
- 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 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: seco-ne/yocto/layers/meta-seconorth-distro@a316e95e
-
GitBot authored
-- Commit: seco-ne/yocto/layers/meta-seconorth-distro@58db9895 Refactoring: remove DISTRO_IMAGES variable DISTRO_IMAGES was passed to the CI package stage only to add the corresponding manifest and testdata.json files as well. Add these directly to DISTRO_RELEASE_ARTEFACTS and remove DISTRO_IMAGES variable. -- Commit: seco-ne/yocto/layers/meta-seconorth-distro@b0f41c8e Refactoring: append to DISTRO_IMAGES for FNGSystem instead of redefining it ${IMAGE_LINK_NAME}.cpio.gz is part of DISTRO_IMAGES automatically due to its original definition in seconorth-distro.inc. Append ${IMAGE_LINK_NAME}.tgz to make clear that this is an addition compared to the Yocto build.
-
- 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 04, 2023
-
-
Tim Jaacks authored
Change-Id: I98d7ce6c7d0b39534883f4b6f2ac80f8363bd215
-
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 30, 2023
-
-
Tobias Kahlki authored
This reverts commit 10d880e2. Change-Id: I3ca1abbc57d474a143d544f2d8e63eb08b7bd243
-
GitBot authored
-- Commit: seco-ne/3rd-party/kuk/uboot-imx-kuk@fbf116e3 gitlab: Set new recipe name The recipe name for U-Boot was changed to u-boot-seco-imx
-
Tobias Kahlki authored
The name was changed to reflect the name used in Italy. Change-Id: I20dee93a292576452183c5f019425f90eb487e47
-
- Aug 29, 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 seco-ne/yocto/layers/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.
-
- Aug 28, 2023
-
-
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/3rd-party/kuk/uboot-imx-kuk@b77cd6dd seco_mx6: apply dt overlay generated from xml
-
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.
-
- Aug 22, 2023
-
-
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 11, 2023
-
-
GitBot authored
-- Commit: seco-ne/yocto/infrastructure/gitlab-ci@b20f6b95 Use multiple CI test pipelines Instead of mixing dedicated CI test jobs and Yocto build simulation jobs within one pipeline, use the new multi-build-pipelines architecture to split them up into separate child pipelines. This also makes most of the Yocto pipeline code reusable, so that we don't have to declare all the jobs again in ci-test.
-
GitBot authored
-- Commit: seco-ne/yocto/infrastructure/gitlab-ci@f9dc2517 Rename "build jobs" to "build pipeline" -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@633c9fb4 get_pipeline_jobs: remove redundant job ID output -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@347745c5 download_job_artifacts: add error message if artifact not found -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@50f7396d ci-test: re-enable build simulation caching In 438f1e2aae23472d692ce6314e8c683f950657d2 we accidentally disabled caching for the build simulation by moving the cache definition to a job class. The order of inheritance led to the cache configuration being overwritten by the one of the "buildbase" class. Change inheritance order to fix this. -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@30f7d966 update_submodule: fix integration branch name in case of multiple MRs When there are multiple open merge requests for a commit, we currently take the newest one to determine the integration branch name. This is not necessarily the correct one, we can have an open merge request with the commit being part of the commit history while the top commit is a different one. Add a check if the commit is the top commit of the merge request in order to get the correct integration branch name in these cases. -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@438f1e2a ci-test: use more recent release for build simulation -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@1c900bf9 Update docs/add-new-project-to-pipeline.md -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@8854fd8f download_job_artifacts: fix temp file creation mkstemp() returns a tuple containing an OS-level handle to an open file (as would be returned by os.open()) and the absolute pathname of that file, in that order. Use higher-level function NamedTemporaryFile() instead. -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@151f1cd6 Refactoring: remove redundant if See for reference: https://docs.sourcery.ai/Reference/Python/Default-Rules/remove-redundant-if/ -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@872ec6d9 Refactoring: swap if and else branches Move the main part of the action to the if branch. See for reference: https://docs.sourcery.ai/Reference/Python/Default-Rules/swap-if-else-branches/ -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@c058236c Sourcery: skip a certain suggestion for better readability -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@b9196ae5 Fix typo in comment -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@eba0649d gitignore: add .vscode and convert line-endings to LF -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@876da56d Refactoring: merge dictionary assignments See for reference: https://docs.sourcery.ai/Reference/Python/Default-Rules/merge-dict-assign/ -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@e8e3ff37 Refactoring: use single assignment for "if, else" See for reference: https://docs.sourcery.ai/Reference/Python/Default-Rules/assign-if-exp/ -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@14eaf45a Refactoring: inline immediately returned variables See for reference: https://docs.sourcery.ai/Reference/Python/Default-Rules/inline-immediately-returned-variable/ -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@f9096a52 Refactoring: use "{}" for creating an empty dictionary This is the most concise and Pythonic way to create a dictionary. See for reference: https://docs.sourcery.ai/Reference/Python/Default-Rules/dict-literal/ -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@a3baa39e Refactoring: use list comprehensions A list comprehension can create the list on one line, cutting out the clutter of declaring an empty list and then appending values. See for reference: https://docs.sourcery.ai/Reference/Python/Default-Rules/list-comprehension/ -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@52de8d7c Refactoring: use dictionary comprehensions A dictionary comprehension can create the dictionary on one line, cutting out the clutter of declaring an empty dict and then adding items. See for reference: https://docs.sourcery.ai/Reference/Python/Default-Rules/dict-comprehension/ -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@5d09b9de Refactoring: simplify length comparisons Something we often do is check whether a list or sequence has elements before we try and do something with it. A Pythonic way of doing this is just to use the fact that Python lists and sequences evaluate to True if they have elements, and False otherwise. Doing it this way is a convention, set out in Python's PEP8 style guide. See for reference: https://docs.sourcery.ai/Reference/Python/Default-Rules/simplify-len-comparison/
-
- Aug 10, 2023
-
-
GitBot authored
-- Commit: seco-ne/3rd-party/kuk/uboot-imx-kuk@798df8d4 xml2dto: Add serial number Add code to generate the "serial" property in DT overlay. It contains the last 3 bytes of MAC address combined into one integer. By analogy with MAC address we need to apply it to a base dtb so that serial number remains the same from the first boot. -- Commit: seco-ne/3rd-party/kuk/uboot-imx-kuk@f0e49ee4 xml2dto: Add README.md -- Commit: seco-ne/3rd-party/kuk/uboot-imx-kuk@f7b42843 Add "xml2dto" U-boot command A new command is available in U-Boot to parse an XML configuration file and generate a device tree overlay (dto). The code is based on "gfxml2dto" tool (https://git.seco.com/seco-ne/tools/gfxml2dto). -- Commit: seco-ne/3rd-party/kuk/uboot-imx-kuk@cd8a6d55 lib: ezxml: port to uboot -- Commit: seco-ne/3rd-party/kuk/uboot-imx-kuk@00f2d4e8 lib: import ezxml from linux
-
- Aug 08, 2023
-
-
GitBot authored
-- Commit: seco-ne/3rd-party/kuk/uboot-imx-kuk@1620b721 seco_mx6: change to simplified version of edgehog env Signed-off-by:
Mikhail Vanyulin <mikhail.vanyulin@rtsoft.de> -- Commit: seco-ne/3rd-party/kuk/uboot-imx-kuk@fbc14904 Sysdata: add sysdata functionality to bootm, booti and board_r Bootcounter and switch partitions functionality was not ported with original sysdata copy from u-boot-seco-imx. Added corresponding code to bootm and booti commands and to board_r.c. Signed-off-by:
Mikhail Vanyulin <mikhail.vanyulin@rtsoft.de> -- Commit: seco-ne/3rd-party/kuk/uboot-imx-kuk@f98411be board:seco-mx6: set fdt_file based on board name and cpu type Signed-off-by:
Mikhail Vanyulin <mikhail.vanyulin@rtsoft.de> -- Commit: seco-ne/3rd-party/kuk/uboot-imx-kuk@a1a63978 seco-mx6: set env_is_mmc in defconfig Env is planned to be taken from user partition of eMMC. Disabled CONFIG_ENV_IS_IN_FAT and enabled CONFIG_ENV_IS_IN_MMC. Updated env offset to match edgehog boards. Signed-off-by:
Mikhail Vanyulin <mikhail.vanyulin@rtsoft.de> -- Commit: seco-ne/3rd-party/kuk/uboot-imx-kuk@d7566cd2 seco_mx6.h: update mmc and env related variables Set mmc env device to 0, to match new mmc order. Set env offset ot 0xc0000 to mathc edgehog settings. Signed-off-by:
Mikhail Vanyulin <mikhail.vanyulin@rtsoft.de> -- Commit: seco-ne/3rd-party/kuk/uboot-imx-kuk@7c1e5b20 seco-mx6:seco_mx6.h: update config after mmc reordering Signed-off-by:
Mikhail Vanyulin <mikhail.vanyulin@rtsoft.de> -- Commit: seco-ne/3rd-party/kuk/uboot-imx-kuk@9f1ec1dd seco-mx6:imx6qdl-san.dtsi: change mmc order to match linux eMMC is now mmc dev 0. SD - 1. Signed-off-by:
Mikhail Vanyulin <mikhail.vanyulin@rtsoft.de> -- Commit: seco-ne/3rd-party/kuk/uboot-imx-kuk@4d281ee7 mx6:soc.c: always use env_get_ulong in mmc_get_env_dev for seco-mx6 mmc_get_boot_dev return a base boot dev number. In case of eMMC it is 3. This happens even after mmc order will be changed via aliases. To workaround this, always use following code for seco-mx6 target: env_get_ulong("mmcdev", 10, CONFIG_SYS_MMC_ENV_DEV) Signed-off-by:
Mikhail Vanyulin <mikhail.vanyulin@rtsoft.de>
-
- Jul 27, 2023
-
-
GitBot authored
-- Commit: seco-ne/yocto/infrastructure/gitlab-ci@9406ad75 Yocto build: separate images in multiple pipelines Instead of building the Yocto image, the Yocto SDK and the FNGSystem image in one single pipeline, separate them into three independent pipelines that are triggered in parallel. This makes the concept more modular: we have a single general pipeline now which is configurable from outside via variables. Hence we can have a custom number of pipelines along with custom build targets in each project without having to make code changes in the gitlab-ci project. The default Yocto manifest pipeline configures three build pipelines: - yocto-build-jobs - sdk-build-jobs - fngsystem-build-jobs In a project including the Yocto manifest pipeline, we can disable certain build pipelines using job rules, e.g. disabling the SDK build: sdk-build-jobs: rules: - when: never Furthermore we can add more pipelines by simply adding jobs extending the '.build-jobs' class in the project's .gitlab-ci.yml: yocto-custom-build-jobs: extends: - .build-jobs variables: BITBAKE_TASK: build CI_PARAM_IMAGE: custom-image CI_PARAM_DISTRO: custom-distro PACKAGE_TYPE: image -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@447804d2 .gitlab-ci: increase analyze timeout
-
- Jul 26, 2023
-
-
GitBot authored
-- Commit: seco-ne/yocto/infrastructure/gitlab-ci@5762a54c Yocto build: unify image and SDK package jobs Image and SDK package jobs call the same package script just with different arguments. Instead of having two job classes `package_release` and `package_sdk` for these two tasks, merge them into the base class `package` and make the differences configurable via a variable `PACKAGE_TYPE`. -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@8e72eac2 Yocto build: add variable for manual builds Instead of hard-coding the rules for manual builds in each actual job, conditionally add this to the `buildbase` class and add a variable `MANUAL_BUILD` to the according jobs. -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@e6d71996 Yocto build: unify image and SDK build jobs Image and SDK builds share a lot of similar code. Instead of having two job classes `build_yocto_image` and `build_yocto_sdk` for these two tasks, merge them into the base class `build_yocto` and make the differences configurable via a variable. The `dump_install_command` part of the script, which was not executed for SDK builds, is always present now, but it's only executed if the `INSTALLSCRIPT` variable is set, which is not the case for SDK builds. The `collect_srcrevs` part of the script is executed in all cases. It was not part of the SDK build before, but it's not less relevant there. -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@f892500f Yocto build: make main artifacts path configurable Instead of specifying all possible artifacts paths and abusing the fact that GitLab ignores non-existing paths during artifact upload, implement a cleaner solution with a configurable path.
-
- Jul 24, 2023
-
-
GitBot authored
-- Commit: seco-ne/yocto/infrastructure/gitlab-ci@c227e053 Yocto build: use common artifact pathspec for image and SDK builds This is the first step on the way to a common pipeline for all build configurations. -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@fa2766e6 README: review documentation for adding new project -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@c027f42b README: use consistent heading style -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@f8bf107b Sourcery: keep min-max-identity check disabled IMO code is easier to read without the proposed change: https://docs.sourcery.ai/Reference/Python/Default-Rules/min-max-identity/ Move the disabled check to the top of the list and add a comment that all the checks below need to be verified. -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@01484573 Refactoring: replace if-expression with or See for reference: https://docs.sourcery.ai/Reference/Python/Default-Rules/or-if-exp-identity/ -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@ccdac3d5 Sourcery: enable more passing checks -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@d5908ee5 Refactoring: remove needless str() from print() See for reference: https://docs.sourcery.ai/Reference/Python/Default-Rules/remove-str-from-print/ -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@479861fb Sourcery: enable passing checks -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@7c87d4d1 Sourcery: skip use-assigned-variable -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@26591c0b Refactoring: use datetime.now() instead of datetime.today() now() is officially preferred over today() according to the docs. See for reference: https://docs.sourcery.ai/Reference/Python/Default-Rules/use-datetime-now-not-today/ https://docs.python.org/3/library/datetime.html#datetime.datetime.now -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@414ebe6d Add python code analysis via sourcery Disable all checks which do not pass currently. These should be enabled in the future along with a code refactoring to make them pass. -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@df817ecf README: Add howto to create a new project.
-
- Jul 17, 2023
-
-
GitBot authored
-- Commit: seco-ne/3rd-party/kuk/uboot-imx-kuk@5b7e1241 board:common: Temp grade detection Add a common function to export the current temperature grade as environment var. The var should later be evaluated by bootscript to set the appropriate temperature limits in the devicetree. Enabled the temp grade export for imx8m platforms. BCS 746-001385
-
- Jun 29, 2023
-
-
GitBot authored
-- Commit: seco-ne/3rd-party/kuk/uboot-imx-kuk@83809706 seco-mx8[mp|mm]: Use board detection in SPL to apply board specific SSC values The 'pbb' board needs different settings, so these are applied depending on the board detection. BCS 746-001402 -- Commit: seco-ne/3rd-party/kuk/uboot-imx-kuk@3c129085 baseboard_util: fix board detection in SPL The current implementation of board detection calls gpio_lookup_name() which is not available in SPL: aarch64-seconorth-linux-ld.bfd: board/keithkoep/common/built-in.o: in function `baseboard_get_gpio_value': uboot-imx-kuk/board/keithkoep/common/baseboard_util.c:20: undefined reference to `gpio_lookup_name' make[1]: *** [scripts/Makefile.spl:420: spl/u-boot-spl] Error 1 make: *** [Makefile:1865: spl/u-boot-spl] Error 2 The existing GPIO names are just simple numbers coded as strings (i.e. expanded IMX_GPIO_NR macro): #define PFID_SOM_MARKER_PIN "109" ... // SBC imx6 #define PFID_SBC_IMX6_VERSION_BIT0 "37" ... // SBC imx8m Mini #define PFID_SBC_IMX8MM_VERSION_BIT0 "89" ... // SBC imx8m Plus #define PFID_SBC_IMX8MP_VERSION_BIT0 "102" ... // SOM imx8m #define PFID_SOM_VERSION_BIT0 "113" ... The easiest way to fix baseboard_get_gpio_value() routine in SPL is replace gpio_lookup_name() call with simple_strtol(). This should work if we will follow this naming convention in future.
-
- Jun 23, 2023
-
-
GitBot authored
-- Commit: seco-ne/tools/libmdb@ff1fa48e fix all device mode if clause for clarity -- Commit: seco-ne/tools/libmdb@8ad06329 add all device mode by allowing pollbyte to be 0.
-
- Jun 15, 2023
-
-
GitBot authored
-- Commit: seco-ne/3rd-party/kuk/uboot-imx-kuk@e21629ff board:seco-mx6: fix implicit declaration of function imx_ddr_size During initial board preparation sys_proto.h was lost. This will fix following warning during compilation: board/keithkoep/seco_mx6/seco_mx6.c: In function ‘dram_init’: board/keithkoep/seco_mx6/seco_mx6.c:45:24: warning: implicit declaration of function ‘imx_ddr_size’ [-Wimplicit-function-declaration] 45 | gd->ram_size = imx_ddr_size(); Signed-off-by:
Mikhail Vanyulin <mikhail.vanyulin@rtsoft.de> -- Commit: seco-ne/3rd-party/kuk/uboot-imx-kuk@a3f1ef3b board:seco_mx6: set version information to env Signed-off-by:
Mikhail Vanyulin <mikhail.vanyulin@rtsoft.de> -- Commit: seco-ne/3rd-party/kuk/uboot-imx-kuk@727f256e board:common:baseboard_pfids: add handling for mx6 san boards Signed-off-by:
Mikhail Vanyulin <mikhail.vanyulin@rtsoft.de> -- Commit: seco-ne/3rd-party/kuk/uboot-imx-kuk@fbb1da6f board:common:baseboard: add mx6 boards to board_info and baseboard_type Signed-off-by:
Mikhail Vanyulin <mikhail.vanyulin@rtsoft.de> -- Commit: seco-ne/3rd-party/kuk/uboot-imx-kuk@47a0f5cd seco-mx6_defconfig: enable CONFIG_VERSION_VARIABLE It was enabled for other boards. Signed-off-by:
Mikhail Vanyulin <mikhail.vanyulin@rtsoft.de>
-
- Jun 12, 2023
-
-
GitBot authored
-- Commit: seco-ne/3rd-party/kuk/uboot-imx-kuk@aff59043 cmd:guf: add pcf8563 rtc_type for san boards Signed-off-by:
Mikhail Vanyulin <mikhail.vanyulin@rtsoft.de> -- Commit: seco-ne/3rd-party/kuk/uboot-imx-kuk@b1071ff6 board:kuk_boards.c: make dummy kuk_GetOTP function for imx6 arch Fuse description differs between imx6 and imx8. Compilation for imx6 fails with following error: board/keithkoep/common/kuk_boards.c: In function ‘kuk_GetOTP’: board/keithkoep/common/kuk_boards.c:105:22: error: ‘struct fuse_bank1_regs’ has no member named ‘cfg0’ 105 | switch( fuse1->cfg0 & 0x7000) Signed-off-by:
Mikhail Vanyulin <mikhail.vanyulin@rtsoft.de> -- Commit: seco-ne/3rd-party/kuk/uboot-imx-kuk@c4ff470e uboot:board:seco-mx6: add initial seco-mx6 board It will be used to support all imx6 SAN boards. Signed-off-by:
Mikhail Vanyulin <mikhail.vanyulin@rtsoft.de>
-
- Jun 02, 2023
-
-
GitBot authored
-- Commit: seco-ne/yocto/infrastructure/gitlab-ci@31e5a427 CI: package: Increase timeout to 90 We had timeouts during the upload of the artifacts so I increase it to 90 minutes.
-
- Jun 01, 2023
-
-
GitBot authored
-- Commit: seco-ne/3rd-party/kuk/uboot-imx-kuk@c38a7425 Enable watchdog in defconfig for seco-mx8mm and seco-mx8mp BCS 746-001370
-
- May 26, 2023
-
-
GitBot authored
-- Commit: seco-ne/3rd-party/kuk/uboot-imx-kuk@a29ae92c uboot:board: add command "version_to_fdt" This u-boot command looks for a set of known environment variables containing module, board and u-boot version and installs their values into the /version node in the device tree.
-
- May 25, 2023
-
-
GitBot authored
-- Commit: seco-ne/yocto/layers/meta-seconorth-distro@ab2b6b4f fngsystem-self-update: Handle left over 'overlays' text file from old installations Prior versions of fngsystem used the overlays textfile, now we have an overlays folder. This may disturb the copy overation so we delete it in case it exists.
-
GitBot authored
-- Commit: seco-ne/yocto/layers/meta-seconorth-machine@0d51c9d6 rtc-pcf8563-guf: prevent resetting of TIE bit to support bootselect Save the value of TIE bit value before resetting CONTROL_STATUS_2 register in probe() routine of PCF8563 driver. Otherwise, a bootselect functionality stops working because it stores some information across reboot in RTC registers. Signed-off-by:
Mikhail Vanyulin <mikhail.vanyulin@rtsoft.de> (cherry picked from commit abfdf4adc4890d1cf70291cc2ec4cc53c2adf26e) BCS 746-001359
-
- May 24, 2023
-
-
GitBot authored
-- Commit: seco-ne/kernel/linux-guf@b36da0c5 dts:arm:seco:nallino: Add always on to two hardwired regulators The regulators are always logically disabled by the kernel, though they are hardwired on. The always on flag should change this and remove the messages.
-
GitBot authored
-- Commit: seco-ne/tools/gfxml2dto@c1953298 debug: Add some verbose messages -- Commit: seco-ne/tools/gfxml2dto@b96703d0 dto: Create ldb nodes only if lvds was enabled in xml Devices with parallel display interface like Santino, Nallino and so on do not have the ldb node in their devicetree, so an overlay changing this node fails to apply. The node would also be useless without lvds usage. BCS 746-001369
-
- May 22, 2023
-
-
GitBot authored
-- Commit: config@36f92d4e setup:config: Replaced MIRRORS by PREMIRRORS The PREMIRRORS are always queried before the main software sources. This fixes errors, where a branch was removed from the main source. BCS 746-001368
-
- May 19, 2023
-
-
Tobias Kahlki authored
Cherry picked from commit 8e7af3e3
-