Skip to content

New approach for the Zephyr SDK using crosstools-ng

License

Notifications You must be signed in to change notification settings

bbolen/sdk-ng

 
 

Repository files navigation

Zephyr SDK with Crosstool NG

This project is to replace the previous Yocto based SDK with a new framework for building the Zephyr SDK using crosstool-ng. (Some tools are still built using Yocto/Bitbake).

The repository consists of configurations for the various architectures (not all fully tested) and a script that builds on Linux (x86_64) and Mac in a consistent way, applying patches where needed.

Currently we build the following toolchains:

  • i586
  • nios2
  • arc
  • arc64
  • arm
  • arm64
  • riscv64
  • sparc
  • mips
  • xtensa (sample_controller, intel_apl_adsp, intel_s1000, intel_bdw_adsp, intel_byt_adsp, nxp_imx_adsp, nxp_imx8m_adsp)

To build for any of the above, run:

./go.sh <arch>

Production builds are done using the scripts in .buildkite/ and .github/workflows/ which identify some packages you'll need to have installed for the above command to work.

When building locally be aware that ./go.sh is written assuming it's invoked in a pristine workspace. That means if you pull an update of this repository ./go.sh will not update the crosstool-ng source or rebuild the bin/ct-ng utility to match the updated configuration. This can produce very confusing results.

Released Binaries packages

Pre-built binary releases of the SDK are made for a few OSes and host architectures. They can be found here:

https://github.com/zephyrproject-rtos/sdk-ng/releases

PR Builds

Successfull PR builds will get posted here:

https://builds.zephyrproject.org/zephyrproject-rtos/sdk-ng/<PR_NUMBER>/zephyr-sdk-<VERSION>-setup.run

Release Process

To release a new SDK:

  • Update the VERSION file with the new version, for example 0.11.0 or 0.11.0-beta1 etc.
  • On https://github.com/zephyrproject-rtos/sdk-ng/releases, create the release tag and add the release information.
  • Once the release is created, CI will build the SDK image and will upload it to the release page.

About

New approach for the Zephyr SDK using crosstools-ng

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages

  • BitBake 60.2%
  • Shell 29.5%
  • CMake 9.2%
  • HTML 1.1%