1. 19 Oct, 2022 2 commits
  2. 29 Sep, 2022 1 commit
  3. 27 Sep, 2022 1 commit
  4. 14 Sep, 2022 2 commits
    • Peter Hoyes's avatar
      arm/lib: Specify the FVP environment variables explicitly · 0a5eba13
      Peter Hoyes authored
      
      It is sometimes useful to be able to configure the behavior of FVPs
      using environment variables, e.g. for licensing or plugins.
      
      Add a new FVP option: FVP_ENV_PASSTHROUGH, which allows the Bitbake
      variables to be passed to the environment to be specified explicitly (in
      a similar way to BB_ENV_PASSTHROUGH). This ensures that:
      
       * FVPs launched via runfvp have a reproducable environment
       * FVPs launched via testimage (which run from an isolated Bitbake task)
         can receive environment variables
      
      Change the self-tests to use cwd instead of PATH to find the mock FVPs,
      as the PATH environment variable is no longer passed through.
      
      Issue-Id: SCM-4964
      Signed-off-by: default avatarPeter Hoyes <Peter.Hoyes@arm.com>
      Change-Id: Idf6ac6d41fda4cd5f950bc383c2fc1fa1acdf4e3
      Signed-off-by: default avatarJon Mason <jon.mason@arm.com>
      0a5eba13
    • Jon Mason's avatar
      arm/trusted-firmware-m: fix branch issue · 68f7d5d5
      Jon Mason authored
      
      The 1.5.x branch no longer exists on the tf-m git repo, but the SHA is
      still present.  Update the branch name to allow for this.
      Signed-off-by: default avatarJon Mason <jon.mason@arm.com>
      68f7d5d5
  5. 12 Sep, 2022 1 commit
  6. 11 Sep, 2022 1 commit
    • Denys Dmytriyenko's avatar
      arm-toolchain/gcc,external-arm-toolchain: resolve conflict with gcc headers · af696672
      Denys Dmytriyenko authored
      Historically external-arm-toolchain recipe packaged all gcc headers from
      ${libdir}/gcc/${TARGET_SYS}/${BINV}/include - some would be picked up by
      packages like gcc-sanitizers, libssp-dev. libquadmath-dev or libgomp-dev.
      The rest would fall into catch-all libgcc-dev package.
      
      Unfortunately, that could result in a conflict with a target gcc, which
      also packages some of those files, like unwind.h or stddef.h, among others.
      
      The conflict could be seen with this config:
      
      EXTRA_IMAGE_FEATURES += "dev-pkgs tools-sdk"
      TCMODE = "external-arm"
      EXTERNAL_TOOLCHAIN = "/OE/toolchains/gcc-arm-11.2-2022.02-x86_64-aarch64-none-linux-gnu"
      
      And the error message is:
      
      Error: Transaction test error:
        file /usr/lib/gcc/aarch64-poky-linux/11.2.1/include/stddef.h conflicts between attempted installs of libgcc-s-dev-11.2.1-r0.1.cortexa57 and gcc-arm+11.2-r2022.02.1.cortexa57
        file /usr/lib/gcc/aarch64-poky-linux/11.2.1/include/unwind.h conflicts between attempted installs of libgcc-s-dev-11.2.1-r0.1.cortexa57 and gcc-arm+11.2-r2022.02.1.cortexa57
      
      Modify external-arm-toolchain recipe according to how libgcc in OE-Core
      handles those header files by removing and not packaging them:
      
      https://git.openembedded.org/openembedded-core/tree/meta/recipes-devtools/gcc/libgcc-common.inc#n40
      
      Also need to adjust gcc recipe to pick up unwind.h from EXTERNAL_TOOLCHAIN
      location now, since libgcc-dev no longer carries it, and install it into
      STAGING_LIBDIR_NATIVE, where OE-Core gcc-target.inc expects it from
      gcc-cross:
      
      https://git.openembedded.org/openembedded-core/tree/meta/recipes-devtools/gcc/gcc-target.inc#n164
      
      Signed-off-by: default avatarDenys Dmytriyenko <denys@konsulko.com>
      Signed-off-by: default avatarJon Mason <jon.mason@arm.com>
      af696672
  7. 01 Sep, 2022 1 commit
  8. 23 Aug, 2022 1 commit
    • Leo Yan's avatar
      optee-ftpm: Update to "main" branch · faa70b76
      Leo Yan authored
      
      Since the github repository doesn't contain a "master" branch but has the
      "main" branch now, this patch updates to the "main" branch so can
      download the repository successfully.
      
      CC: Ilias Apalodimas <ilias.apalodimas@linaro.org>
      CC: Jerome Forissier <jerome.forissier@linaro.org>
      CC: Peter Griffin <peter.griffin@linaro.org>
      Signed-off-by: default avatarLeo Yan <leo.yan@linaro.org>
      Signed-off-by: default avatarJon Mason <jon.mason@arm.com>
      faa70b76
  9. 09 Aug, 2022 3 commits
  10. 08 Aug, 2022 1 commit
  11. 04 Aug, 2022 1 commit
  12. 03 Aug, 2022 2 commits
    • Changqing Li's avatar
      optee.inc: update setting for OPTEE_ARCH · 653754d7
      Changqing Li authored
      
      lib32-optee-os do_compile failed since OPTEE_ARCH is not set correctly.
      In file included from lib/libutee/include/link.h:9,
                       from lib/libutee/arch/arm/tcb.c:37:
      lib/libutee/include/elf.h:67:2: error: #error Unknown architecture
         67 | #error Unknown architecture
            |  ^~~~~
      In file included from lib/libutee/arch/arm/tcb.c:37:
      lib/libutee/include/link.h:13:9: error: unknown type name 'Elf_Addr'
         13 |         Elf_Addr dlpi_addr;                     /* module relocation base */
      Signed-off-by: default avatarChangqing Li <changqing.li@windriver.com>
      Signed-off-by: default avatarJon Mason <jon.mason@arm.com>
      653754d7
    • Peter Hoyes's avatar
      runfvp: Stop the FVP when telnet shuts down cleanly · 025fb194
      Peter Hoyes authored
      
      At the moment, when using the --console flag, if telnet is shut down
      cleanly (i.e. by typing "quit" at the prompt instead of Ctrl+C), runfvp
      still waits on the FVP to exit of its own accord, so hangs.
      
      Move the fvp.run() call so that when telnet quits, it immediately
      proceeds to shut down the FVP.
      
      Issue-Id: SCM-4954
      Signed-off-by: default avatarPeter Hoyes <Peter.Hoyes@arm.com>
      Change-Id: I2169c99586a1eebc2c6ab4b2e15fb0c769fc81a8
      Signed-off-by: default avatarJon Mason <jon.mason@arm.com>
      025fb194
  13. 02 Aug, 2022 1 commit
    • Changqing Li's avatar
      optee-os.inc: support multilib · 844696e4
      Changqing Li authored
      
      Run command: bitbake optee-os && bitbake lib32-optee-os
      bitbake lib32-optee-os will fail with following error since
      bitbake optee-os already deploy same file under the path.
      RROR: lib32-optee-os-3.12.0+gitAUTOINC+3d47a131bc-r0 do_deploy: The recipe lib32-optee-os is trying to install files into a shared area when those files already exist. Those files and their manifest location are:
        /build/tmp-glibc/deploy/images/qemuarm64/optee/tee.elf
          (matched in manifest-qemuarm64-optee-os.deploy)
      
      Fix by deploy them to differernt dir
      Signed-off-by: default avatarChangqing Li <changqing.li@windriver.com>
      Signed-off-by: default avatarJon Mason <jon.mason@arm.com>
      844696e4
  14. 30 Jul, 2022 1 commit
  15. 27 Jul, 2022 6 commits
  16. 18 Jul, 2022 1 commit
    • Peter Hoyes's avatar
      arm/lib: Improve FVPRunner shutdown logic · 78fce73c
      Peter Hoyes authored
      
      We have encountered intermittent hanging during FVP shutdown, so improve
      the termination logic by first issuing a terminate(), waiting a bit
      then, if necessary, issuing a kill().
      
      Move returncode logic to after the telnet/pexpect cleanup so it
      actually runs.
      
      Move pexpect.EOF logic into FVPRunner.stop so that it executes before
      closing the pexpect handle.
      
      Issue-Id: SCM-4957
      Signed-off-by: default avatarPeter Hoyes <Peter.Hoyes@arm.com>
      Change-Id: Iebb3c3c89367256b1e116e66ffdb6b742358bce4
      Signed-off-by: default avatarJon Mason <jon.mason@arm.com>
      78fce73c
  17. 13 Jul, 2022 6 commits
  18. 11 Jul, 2022 1 commit
  19. 22 Jun, 2022 3 commits
  20. 07 Jun, 2022 2 commits
    • Peter Hoyes's avatar
      arm-bsp/conf: fvp-baser-aemv8r64 model parameter update · a8cb33d5
      Peter Hoyes authored
      
      Add parameters required to boot with cache_state_modelled enabled:
       * bp.virtio_net.secure_accesses=1
       * bp.virtio_rng.secure_accesses=1
       * bp.virtioblockdevice.secure_accesses=1
       * cci400.force_on_from_start=1
      
      Add bp.ve_sysregs.exit_on_shutdown=1 to match fvp-base.
      
      Remove parameters that are not required to boot or are setting the
      default value.
      
      Alphabetize the list.
      
      Issue-Id: SCM-4304
      Signed-off-by: default avatarPeter Hoyes <Peter.Hoyes@arm.com>
      Change-Id: I0a696eff5bb83206e5501f651c487f16f695aa4c
      Signed-off-by: default avatarJon Mason <jon.mason@arm.com>
      a8cb33d5
    • Peter Hoyes's avatar
      arm-bsp/u-boot: fvp-baser-aemv8r64 cache_state_modelled fixes · dd8b6c1d
      Peter Hoyes authored
      
      Running the FVP_Base_AEMv8R model with the cache_state_modelled
      parameter enabled exposed some defects in the U-Boot BSP patches for the
      fvp-baser-aemv8r64:
       * The MPU memory attributes are inconsistent with the existing MMU
         attributes, causing a model hang when sending packets using
         virtio-net in U-Boot.
       * The instruction cache was left disabled after booting an EFI payload
         at S-EL1, violating the UEFI specification and causing Grub to hang
         when attempting to use dynamically loaded modules.
      
      The cache_state_modelled FVP parameter is enabled by default in the
      model (for simulation accuracy) but is disabled by default in the
      machine conf (for simulation speed).
      
      This patch adds two additional machine-specific U-Boot patches to fix
      the above issues.
      
      Issue-Id: SCM-4641
      Signed-off-by: default avatarPeter Hoyes <Peter.Hoyes@arm.com>
      Change-Id: I5ab13c9fdadd82456ac3f3e3703df36590d52fb7
      Signed-off-by: default avatarJon Mason <jon.mason@arm.com>
      dd8b6c1d
  21. 23 May, 2022 2 commits