Detach kernel driver failure while flashing Portenta x8 with MacOS

I'm trying to update the Portenta x8 as per this tutorial:

I'm using a Portenta breakout board.

Steps taken

  • downloaded and extracted 436 release files from GitHub
  • flipped both DIP switches ON
  • connected to Mac via USB
  • ran $ uuu full_image.uuu

Result

❯ uuu full_image.uuu
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.4.193-0-ge56424c

Success 0    Failure 1

0:1      1/ 1 [detach kernel driver failure          ] SDP: boot -f imx-boot-mfgtool

Have tried several times using both the uuu_mac binary provided with mfgtool-files-portenta-x8 as well as running an installed version via brew.

I'm not familiar enough with this tool to tell what's wrong and how to attempt fixing. As far as I can tell the Portenta is connected via USB OK:

❯ uuu -lsusb
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.4.193-0-ge56424c

Connected Known USB Devices
	Path	 Chip	 Pro	 Vid	 Pid	 BcdVersion
	==================================================
	0:1	 MX8MM	 SDP:	 0x1FC9	0x0134	 0x0101

Current OS version running on the Portenta:

$ cat /etc/os-release
ID=lmp-xwayland
NAME="Linux-microPlatform XWayland"
VERSION="3.3.2-399-83-21-g3ad61e0"
VERSION_ID=3.3.2-399-83-21-g3ad61e0
PRETTY_NAME="Linux-microPlatform XWayland 3.3.2-399-83-21-g3ad61e0"
HOME_URL="https://foundries.io/"
SUPPORT_URL="https://support.foundries.io/"
LMP_MACHINE="portenta-x8"
LMP_FACTORY="arduino"
LMP_FACTORY_TAG="devel"

I'm thinking this may be a Mac thing but don't have access to a Windows PC to test.

Any help would be much appreciated.

FIXED!
Need to run uuu with root permissions. :man_facepalming:

> sudo uuu full_image.uuu