Skip to content
Snippets Groups Projects
  1. Aug 11, 2023
  2. Aug 09, 2023
  3. Aug 08, 2023
  4. Jul 27, 2023
    • GitBot's avatar
      Integrate gitlab-ci/separate-images-in-multiple-pipelines and 1 more · d0983938
      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
      d0983938
  5. Jul 25, 2023
    • GitBot's avatar
      Integrate gitlab-ci/unify-image-and-sdk-package-jobs and 3 more · c49cb607
      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.
      c49cb607
  6. Jul 24, 2023
  7. Jul 17, 2023
    • Felix Gerking's avatar
      board:common: Temp grade detection · 5b7e1241
      Felix Gerking authored
      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
      5b7e1241
  8. Jun 29, 2023
    • Dmitry Petrov's avatar
      seco-mx8[mp|mm]: Use board detection in SPL to apply board specific SSC values · 83809706
      Dmitry Petrov authored and Jonas Höppner's avatar Jonas Höppner committed
      The 'pbb' board needs different settings, so these are applied depending
      on the board detection.
      
      BCS 746-001402
      83809706
    • Dmitry Petrov's avatar
      baseboard_util: fix board detection in SPL · 3c129085
      Dmitry Petrov authored and Jonas Höppner's avatar Jonas Höppner committed
      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.
      3c129085
  9. Jun 15, 2023
  10. Jun 13, 2023
  11. Jun 12, 2023
  12. Jun 02, 2023
  13. Jun 01, 2023
  14. May 24, 2023
    • Martin Oemus's avatar
      uboot:board: add command "version_to_fdt" · a29ae92c
      Martin Oemus authored
      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.
      a29ae92c
  15. May 19, 2023
  16. Apr 26, 2023
  17. Apr 24, 2023
Loading