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. Jun 30, 2021
  3. 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
  4. Jun 15, 2021
  5. Jun 14, 2021
  6. Sep 28, 2020
  7. May 29, 2020
  8. 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
  9. 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
  10. Sep 26, 2018
  11. Aug 23, 2018
  12. Aug 22, 2018
  13. Mar 14, 2018
  14. Mar 12, 2018
Loading