Problems building KL730 SDK environment

I am setting up the KL730 SDK environment as described in the KL730 Development Environment User Guide (v1.04, June 2025), but I’ve run into some problems that prevent me from building successfully:

  1. devel_leipzig missing
  • The documentation states that the devel_leipzig script should be present in the 03_Toolchain folder to configure environment variables (TOOLSDIR, KERNELINC, KERNELSRC, etc.).
  • In the SDK package I received, this file is not included. I also checked the Buildroot folder in case an alternative script was provided, but did not find it.
  1. Sysroot not generated/detected
  • Both the prebuilt toolchain from 03_Toolchain/vtcs_toolchain.tar.gz and the Buildroot-built toolchain do not include a sysroot directory.
  • When attempting to build the root file system, Buildroot reports:
o    unable to detect the toolchain sysroot ... cannot use this toolchain
  • The guide shows that the sysroot should be under:
  • /opt/vtcs_toolchain/leipzig/aarch64-buildroot-linux-gnu/sysroot
  • but this directory does not exist after extraction or after building.
  1. Environment confirmed
  • Host OS: Ubuntu 20.04 LTS (64-bit), as recommended.
  • SDK archives were extracted on Linux (to avoid symlink loss).
  • Toolchain path is set to /opt/vtcs_toolchain/leipzig/ as documented.
  • Compiler works (aarch64-linux-gcc --version and --print-sysroot), but since no valid sysroot exists, Buildroot fails.


Comments

  • Hello,

    The "devel_leipzig" should be sourced every time you compile a file (U-Boot, TFA, etc.).

    e.g.

    If you are going to compile U-Boot, before entering the folder "/SDK_v1.3.0/SDK/01_BSP/04_U-Boot/U-Boot" to compile U-Boot, you must source the devel_leipzig with the command:

    source devel_leipzig

    (Depending on the directory of the file devel_leipzig, you should enter the path to devel_leipzig before running 'source'.")

    Then execute the steps to compile U-Boot.


    Don't forget to modify the parameters "KERNELINC" and "KERNELSRC" to match your environment.


    And remember, the "kernel" must be compiled before you compile any other firmware.


    So here are the steps you need to check:

    1. Modify the path of "KERNELINC" and "KERNELSRC".

    2. Compile the Kernel. (Don't forget to "source devel_leipzig")

    3. Compile other firmware. (Don't forget to "source devel_leipzig" every time before compiling)

Sign In or Register to comment.