old nrfutil can't be installed with new python, new nrfutil not suitable replacement

I have an i.MX8 arm linux system running an OS based on yocto, with an nrf52840 connected over USB.  The linux system receives nrf52840 firmware as part of its OTA, and updates the nrf over USB using the old python nrfutil dfu usb-serial commands.

Newer yocto versions are using python 3.11 which is incompatible with the old nrfutil.  But I can't include the new nrfutil for a few reasons:

1) I can't find any information about the licensing of the new nrfutil?

2) I can't find any source and there does not seem to be an arm64 binary.

3) The weird way the nrfutil installs binaries into the users home directory makes it difficult to integrate into a system image.  I need a `nrfutil install --global --arm64` option that would put binaries into $SYSROOT/usr/bin/ at build time.

Is there an alternative utility to nrfutil that can be used on an arm64 system to perform dfu over USB?

Thanks,

Aaron

Related