Trying to build imx-boot-ccimx8x-sbc-pro-C0.bin from source

I would like to customize Digi u-boot to support distromode. As a first step towards that I want to be able to build the equivalent binary from source.

I can currently build Digi u-boot from the source files available on the digi-embedded Github, using the right defconfigs etc.

As I understand it, now I need to use imx-mkimage to package u-boot with some various other firmware. Is there any documentation on how Digi does that, or can you point me to the Yocto build steps that build it so I can attempt to figure it out for myself? I found some reference to Digi-custom sc firmware, is that available in a form other than the one in an image with u-boot already attached?

Thanks for any help!

Since my first post I’ve found github.com/digi-embedded/meta-digi/meta-digi-arm/recipes-bsp which seems to describe in more detail how to build some of these packages. I’m still struggling to determine where some of the variables are set.

For instance, it seems like the scfw is available at ${DIGI_PKG_SRC}/${BPN}-${PV}.tar.gz, but I don’t know what those variables are. I’m willing to do the legwork myself, but can someone help me decode what DIGI_PKG_SRC is set to for example?