On 23 April 2017 at 09:40, David Bensoussan <dbensoussan@synapticon.com> wrote:
I managed to track down how to create the SDK. Sorry for the long answer but it might help people googling it.

Honestly no idea why this doesn't work for you:

$ MACHINE=qemuarm64 bitbake core-image-base -c do_populate_sdk
Parsing recipes: 100% |################################################################################################| Time: 00:00:05
Parsing of 899 .bb files complete (0 cached, 899 parsed). 1330 targets, 62 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION        = "1.28.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "Debian-8.6"
TARGET_SYS        = "aarch64-poky-linux"
MACHINE           = "qemuarm64"
DISTRO            = "poky"
DISTRO_VERSION    = "2.0.3"
TUNE_FEATURES     = "aarch64"
TARGET_FPU        = ""
meta
meta-yocto
meta-yocto-bsp    = "HEAD:e08994ce953ff5ab49b260e7763a40bfad4285ca"

NOTE: Preparing RunQueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
NOTE: Tasks Summary: Attempted 3297 tasks of which 1609 didn't need to be rerun and all succeeded.

Jefro branch, standard config with just package_deb and DL_DIR set.

Every time we do a test build on the autobuilder we probably build about 20 SDKs, so they should work.  Can you replicate with a qemu machine with no other layers?  All the fiddling you're doing shouldn't be required, unless meta-raspberrypi is breaking something.

Ross