Skip to content
Snippets Groups Projects
  1. Jan 11, 2022
  2. Jan 03, 2022
  3. Sep 30, 2021
  4. Sep 20, 2021
    • Ibai Erkiaga's avatar
      zynqmp: initial non petalinux based build · 236a7812
      Ibai Erkiaga authored
      
      Current ZynqMP build script is based on Xilinx Petalinux tool, which
      requires the installation of a proprietary tool. The following patch
      removes this dependency and gets closed to the common build Makefile
      used by other platforms.
      
      The build is done using Xilinx out-of-tree repositories for Linux,
      U-Boot and ATF, while using upstream OP-TEE and Buildroot repositories.
      
      Finally the only non standard piece is the usage of pre-compiled
      firmware images from the Xilinx wiki page.
      
      Signed-off-by: default avatarIbai Erkiaga <ibai.erkiaga-elorza@xilinx.com>
      Acked-by: default avatarJerome Forissier <jerome@forissier.org>
      236a7812
  5. Aug 31, 2021
    • Jerome Forissier's avatar
      qemu: do not force kernel CONFIG_PREEMPT=y · db215798
      Jerome Forissier authored
      
      Since Linux commit dcb3b06d9c34 ("tee: optee: replace might_sleep with
      cond_resched") in v5.11, setting CONFIG_PREEMPT=y in kconfigs/qemu.conf
      is not needed anymore. It was a workaround for the missing call to
      cond_resched() in the TEE driver. At that time, might_sleep() together
      with preemption enabled allowed to get rid of some RCU warning messages
      when running long operations in secure world such as large key generation
      (test case: "xtest -l 1 4007_rsa"). With cond_resched() the preemption
      settings do not matter anymore.
      
      As a result of this change, QEMUv8 is unmodified (CONFIG_PREEMPT=y is
      set by default in the kernel's arch/arm64/configs/defconfig), but 32-bit
      QEMU now has CONFIG_PREEMPT disabled. Both platforms are tested and
      4007_rsa runs as expected with no warning.
      
      Signed-off-by: default avatarJerome Forissier <jerome@forissier.org>
      Acked-by: default avatarJens Wiklander <jens.wiklander@linaro.org>
      Acked-by: default avatarEtienne Carriere <etienne.carriere@linaro.org>
      db215798
  6. Jun 30, 2021
  7. Jun 24, 2021
  8. Jun 21, 2021
  9. Jun 11, 2021
  10. May 03, 2021
  11. Apr 26, 2021
  12. Mar 02, 2021
  13. Feb 17, 2021
    • Jens Wiklander's avatar
      Add support for NXP i.MX8MQ EVK · 16328060
      Jens Wiklander authored
      
      Adds support for the NXP® i.MX 8MQuad Evaluation Kit (EVK) using the
      same standard buildroot setup as for the other platforms here.
      
      The flash-image target (part of the all target) produces a out/boot.img
      which can be copied to a SD card using the command:
      dd if=out/boot.img of=/dev/sdX bs=1M conv=fsync
      
      Where 'X' has to be adjusted to the device of the SD card when connected
      to the host system.
      
           ****** Please be careful to choose the correct device ******
           ****** or there's a risk of damaging the host system. ******
      
      Acked-by: default avatarJoakim Bech <joakim.bech@linaro.org>
      Signed-off-by: default avatarJens Wiklander <jens.wiklander@linaro.org>
      16328060
  14. Jun 10, 2020
  15. Jun 05, 2020
    • Etienne Carriere's avatar
      stm32mp1: initial support · bba5972e
      Etienne Carriere authored
      
      Build OP-TEE for STM32MP1 based platforms. Currently supports platforms
      STM32MP157A-DK1, STM32MP157C-DK2 and STM32MP157C-EV1 using a SDcard as
      boot media.
      
      Default build targets board STM32MP157C-DK2:
      # make
      
      One can specify a target board with PLATFORM configuration switch:
      # make PLATFORM=stm32mp1-157A_DK1
      # make PLATFORM=stm32mp1-157C_DK2
      # make PLATFORM=stm32mp1-157C_EV1
      
      Refer to br-ext/board/stmicroelectronics/stm32mp1-tz/readme.txt for
      mode information.
      
      TF-A, OP-TEE OS, U-Boot and Linux kernel are built outside Builrdoot.
      All other embedded components are built through Buildroot.
      Buildroot generates the final SDcard binary image file to be loaded
      raw in the target SD card. The image includes a GPT partition table.
      See br-ext/board/stmicroelectronics/stm32mp1-tz/genimage-*.cfg
      for more details.
      
      Note on U-Boot defconfig: from v2019.10 up to v2020.07-rc2, one shall
      use stm32mp15_optee_defconfig. From v2020-rc3 onward, one shall use
      stm32mp15_trusted_defconfig. For flexibility, stm32mp1.mk supports both.
      
      Signed-off-by: default avatarEtienne Carriere <etienne.carriere@linaro.org>
      Reviewed-by: default avatarJoakim Bech <joakim.bech@linaro.org>
      bba5972e
  16. May 12, 2020
  17. Jan 09, 2020
  18. Oct 07, 2019
  19. May 13, 2019
  20. Mar 06, 2019
  21. Nov 05, 2018
  22. Aug 28, 2018
  23. Jul 19, 2018
  24. Jun 08, 2018
  25. Oct 19, 2017
  26. Oct 06, 2017
  27. Oct 05, 2017
  28. Aug 09, 2017
  29. May 30, 2017
  30. May 16, 2017
  31. Mar 30, 2017
  32. Mar 23, 2017
  33. Oct 26, 2016
  34. Sep 20, 2016
  35. Apr 21, 2016
    • Joakim Bech's avatar
      Initial debian files for HiKey · a40320b1
      Joakim Bech authored
      
      It's working, but there is quite a few thing that should be fixed or
      just to make it better in general. See this initial commit as a working
      start, but slighly experimental. I think this will be easier to deal
      with in the future when Linaro builds will include more of this by
      default.
      
      List of things that could be better or should be fixed.
      
      - It builds a complete *.deb package for Linux kernel, modules, dtb etc,
        that is convenient, but also takes a lot of time and also it seems
        like it always start by cleaning the builds, which is a little bit
        annoying.
      
      - Each time you launch a new kernel build it will generate completely
        new *.deb files, but with incremented version number. Due to this
        we're using linux-image-*.deb when copy files to the device.
      
      - The UART will probably be hardcoded to UART3 after UEFI, since we're
        using a pre-built boot image.
      
      - We build EDK2 even though we download a pre-build boot image. If we
        sort out which kernel, initrd, dtb etc to put into grub, then we will
        probably not need to download a pre-built boot image and would not
        have the issue with the UART.
      
      - The versioning for the OP-TEE debian package is hardcoded in the
        makefile. It would be good to grab that from git instead for example,
        similar to how we do with the autogenerated h-file.
      
      - This is old, but I've noticed that we only support the 4G version (the
        partition table)
      
      - The URLs to the boot-image and the root fs are hardcoded, eventually
        they will become old an invalid at a point in time.
      
      - There are probably quite a few flags that either doesn't work or
        doesn't make sense when having HiKey / Debian as a target.
      
      Signed-off-by: default avatarJoakim Bech <joakim.bech@linaro.org>
      Tested-by: Joakim Bech <joakim.bech@linaro.org> (HiKey 4G)
      Reviewed-by: default avatarPascal Brand <pascal.brand@linaro.org>
      a40320b1
  36. Apr 15, 2016
  37. Apr 01, 2016
Loading