~/Downloads/846/mfgtool-files-portenta-x8 ls -lu
total 71960
-rw-r--r--@ 1 michelgokan staff 587 25 Jun 17:33 bootloader.uuu
-rw-r--r--@ 1 michelgokan staff 26945618 25 Jun 17:33 fitImage-portenta-x8-mfgtool
-rw-r--r--@ 1 michelgokan staff 658 25 Jun 18:43 full_image.uuu
-rw-r--r--@ 1 michelgokan staff 215591 25 Jun 17:33 imx-boot-mfgtool
-rw-r--r--@ 1 michelgokan staff 511 25 Jun 17:33 linux_initramfs.uuu
-rw-r--r--@ 1 michelgokan staff 180 25 Jun 17:33 probe_emmc.uuu
-rw-r--r--@ 1 michelgokan staff 180 25 Jun 17:33 probe_sdcard.uuu
-rw-r--r--@ 1 michelgokan staff 1043 25 Jun 17:33 test_ram.uuu
-rw-r--r--@ 1 michelgokan staff 1416746 25 Jun 17:33 u-boot-mfgtool.itb
-rwxr-xr-x@ 1 michelgokan staff 5632296 25 Jun 17:33 uuu
-rw-r--r--@ 1 michelgokan staff 1282560 25 Jun 17:33 uuu.exe
-rwxr-xr-x@ 1 michelgokan staff 664568 25 Jun 18:36 uuu_mac
I'm running with my local uuu installation that I installed using brew install uuu. Running the provided uuu_mac file is not working and I'm getting other type of errors:
./uuu_mac full_image.uuu
dyld[13729]: Library not loaded: /usr/local/opt/libusb/lib/libusb-1.0.0.dylib
Referenced from: <244D7715-E5DC-3962-A45D-A562D5DED2A6> /Users/michelgokan/Downloads/846/mfgtool-files-portenta-x8/uuu_mac
Reason: tried: '/usr/local/opt/libusb/lib/libusb-1.0.0.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/opt/libusb/lib/libusb-1.0.0.dylib' (no such file), '/usr/local/opt/libusb/lib/libusb-1.0.0.dylib' (no such file), '/usr/local/lib/libusb-1.0.0.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')), '/usr/lib/libusb-1.0.0.dylib' (no such file, not in dyld cache)
[1] 13729 abort ./uuu_mac full_image.uuu
It seems it can find libusb file, but it's looking for the x86_64 architecture instead of arm64 :/
I'm trying to run the following command on my M2 machine:
Getting following error:
Here is the content of the folder I'm in:
I'm running with my local
uuu
installation that I installed usingbrew install uuu
. Running the provideduuu_mac
file is not working and I'm getting other type of errors:It seems it can find libusb file, but it's looking for the
x86_64
architecture instead ofarm64
:/Any help would be appreciated.
P.S: For more context, I'm trying to flash my Portenta X8 by following this tutorial: https://docs.arduino.cc/tutorials/portenta-x8/image-flashing/