Radxa Compute Module 3

@gregszalay please check: Preliminary radxa support · nandra/meta-mender-community@96d3dde · GitHub

I’ve booted rockpi-e using meta-radxa and those small fixes mender enabled image. Which layer do you use meta-radxa or forked meta-rockchip? If you need I can give a hand with integrating to rockpi cm3 module.

And this is snippet for kas I’ve used:

local_conf_header:
  mender: |
    MENDER_ARTIFACT_NAME ?= "release-1"
    MENDER_FEATURES_ENABLE:append = " mender-uboot mender-image mender-client-install mender-image-gpt"
    MENDER_FEATURES_DISABLE:append = " mender-grub mender-image-uefi"

    MENDER_UBOOT_STORAGE_INTERFACE = "mmc"
    MENDER_UBOOT_STORAGE_DEVICE = "1"
    IMAGE_CLASSES += "radxa-sdimg"
    IMAGE_BOOT_FILES:append = "boot.scr"

    IMAGE_FSTYPES:remove = "mender.bmap rockchip-gpt-img"

    # we must shift ENV_OFFSET and default one conflict with u-boot
    # move to 4M instead of default 8M
    MENDER_PARTITION_ALIGNMENT = "4161536"
    BOOTENV_SIZE = "0x4000"