Skip to content
Snippets Groups Projects
  1. Oct 19, 2021
    • Jerome Forissier's avatar
      buildroot: Update toolchain when GDBSERVER=y · 9eccdd56
      Jerome Forissier authored
      Fix the following build error:
      
       $ make GDBSERVER=y
       ...
       Makefile.legacy:9: *** "You have legacy configuration in your .config! Please check your configuration.".  Stop.
      
      The error was introduced by the upgrade to Buildroot 2021.08 [1].
      
      The deprecated option can be found by running "make menuconfig" in
      out-br/ and checking the "Legacy options" submenu. It shows that
      "gcc 8.x support removed" is selected. We can also see that
      BR2_GCC_VERSION_8_X=y appears just below the comment "Legacy options
      removed in 2021.08" in out-br/.config. This options comes from file
      br-ext/configs/toolchain-br.
      
      Upgrade the toolchain to 10.x which is available in Buildroot 2021.08
      and corresponds to the pre-built version we use by default ("make
      toolchains" currently downloads 10.2).
      
      Link: https://github.com/OP-TEE/manifest/commit/e8d2210
      
      
      Signed-off-by: default avatarJerome Forissier <jerome@forissier.org>
      Reviewed-by: default avatarJoakim Bech <joakim.bech@linaro.org>
      9eccdd56
  2. Oct 18, 2021
  3. Oct 01, 2021
    • Jerome Forissier's avatar
      optee_rust_examples_ext.mk: remove extra space in PATH · c4d80a6c
      Jerome Forissier authored
      
      When upgrading from Buildroot 2021.2 to 2021.08, the following error
      occurs:
      
       $ make buildroot
       ...
         GEN     /home/jerome/work/optee_repo_qemu_v8/out-br/Makefile
      
       Your PATH contains spaces, TABs, and/or newline (\n) characters.
       This doesn't work. Fix you PATH.
       make[1]: *** [Makefile:23: _all] Error 2
       make[1]: Leaving directory '/home/jerome/work/optee_repo_qemu_v8/out-br'
       make: *** [common.mk:323: buildroot] Error 2
      
      The space comes from the line that appends the toolchain to the PATH in
      optee_rust_examples_ext.mk. Fix it.
      
      Signed-off-by: default avatarJerome Forissier <jerome@forissier.org>
      c4d80a6c
  4. Sep 15, 2021
  5. Aug 24, 2021
  6. Aug 12, 2021
  7. Jun 30, 2021
  8. Jun 25, 2021
  9. Jun 24, 2021
    • Ruchika Gupta's avatar
      qemu_v8.mk: Enable DomU in Dom0 rootfs · f3ca6b20
      Ruchika Gupta authored
      
      Xen tools are required to launch the other DomU's from
      Dom0. Enable them in Buildroot. Since Xen is built outside
      Buildroot, it is essential to maintain the same version of
      Xen built in build system and Xen tools built in Buildroot.
      
      DomU needs a rootfs without the Xen tools. So another target
      is introduced to build rootfs for DOMU without Xen tools.
      
      To launch & run DomU:
      
      make XEN_BOOT=y run
      
      From Dom0 prompt:
      
      > cd /mnt/host/qemu_v8/xen
      > xl create guest.cfg	# This will create a DomU
      To goto DomU's console:
      > xl console domu
      
      To run and check xtests from Dom0 and DomU:
      make XEN_BOOT=y check
      
      Signed-off-by: default avatarRuchika Gupta <ruchika.gupta@linaro.org>
      Reviewed-by: default avatarJerome Forissier <jerome@forissier.org>
      Acked-by: default avatarJens Wiklander <jens.wiklander@linaro.org>
      f3ca6b20
  10. Jun 15, 2021
  11. Jun 14, 2021
  12. Jun 10, 2021
  13. Apr 28, 2021
  14. Apr 26, 2021
  15. Mar 04, 2021
  16. Jan 25, 2021
  17. Jan 21, 2021
  18. Nov 17, 2020
  19. Oct 06, 2020
  20. Sep 28, 2020
  21. Sep 22, 2020
  22. Sep 01, 2020
  23. Aug 14, 2020
  24. 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
  25. May 29, 2020
  26. Feb 25, 2020
  27. Oct 10, 2019
  28. Oct 07, 2019
  29. Aug 07, 2019
  30. May 23, 2019
    • Joakim Bech's avatar
      buildroot: Update toolchain and kernel headers · 6e167bf1
      Joakim Bech authored
      
      The BR2_KERNEL_HEADERS_4_10 has been depracted, so when trying to build
      with GDBSERVER=y we got this warning:
      
        Makefile.legacy:9: *** "You have legacy configuration in your .config!
        Please check your configuration.".  Stop.
      
      To better match recent toolchain updates in this git (gcc updates and
      kernel header updates, commit e0298161), we also update buildroot to
      use and provide a GCC8.x based toolchain as well as 4.19 kernel headers.
      
      Signed-off-by: default avatarJoakim Bech <joakim.bech@linaro.org>
      Tested-by: Joakim Bech <joakim.bech@linaro.org> (QEMU v7)
      Acked-by: default avatarJerome Forissier <jerome@forissier.org>
      6e167bf1
  31. May 18, 2019
    • Joakim Bech's avatar
      toolchain: Update to GCC 8.3 and update kernel headers · e0298161
      Joakim Bech authored
      
      In the GCC v8.2-2018.08 toolchain (previous default in OP-TEE) the
      GDB/TUI mode was disabled, which made debugging using GDB slightly more
      complicated. However, in more recent versions of GCC like the one
      introduced here, i.e., GCC8.3-2019.03, Arm have re-enabled the TUI mode.
      
      But to be able to upgrade the toolchain, one must also step up kernel
      headers so that the toolchain matches the kernel headers used by
      Buildroot. This means that we are stepping up from 4.18 kernel headers
      to 4.19 kernel headers, which seems to be compatible with the version of
      GCC that is being introduced in this patch.
      
      Note that after this commit, older GCC versions will not work any
      longer when building full OP-TEE developer setups using OP-TEE's
      manifest.git and build.git, i.e., trying to run GCC8.2 for example will
      give a kernel header mismatch error.
      
      Fixes #334.
      
      Signed-off-by: default avatarJoakim Bech <joakim.bech@linaro.org>
      Tested-by: Joakim Bech <joakim.bech@linaro.org> (QEMU v7, v8)
      Acked-by: default avatarJerome Forissier <jerome.forissier@linaro.org>
      e0298161
Loading