I am faced with a strange problem that I did not have so far while I flashed my Librem 5 many times, I went through all the other post that talks about the error message: LIBUSB_ERROR_TIMEOUT
But my problem seems different, indeed I downloaded the script, with all dependencies (including for python) but my Librem 5 refuses to update after the flash of uboot, it blocks in step two, with this error message.
I used to do it with a kvm but I even tried it on two computers live on debian, changed the USB-C cable, tried multiple times in one direction and then in the other, and the problem persists, while the Librem 5 works perfectly.
passed the rights udev (with succés) first used the update script in automatic with default image of 2023, then with elements loaded independent, just boot with uuu, loaded the most recent images but nothing does it, someone has an idea? Maybe the boot partition is too full, I checked with jumpdrive but there are still 210mo available⊠I confess that I do not know what is wrong.
Here is the exact error code
gustav@robot:/media/gustav/FLASH/librem5-flash-image$ sudo ./scripts/librem5-flash-image --stable --skip-download --dir â/media/gustav/FLASHâ
2025-04-13 16:04:12 INFO Looking for librem5r4 luks current image
2025-04-13 16:04:13 INFO Found disk image Build âstableâ âLast stable librem5r4 buildâ from Fri Jun 23 22:21:40 2023
2025-04-13 16:04:13 INFO Looking for librem5 u-boot
2025-04-13 16:04:14 INFO Found uboot Build âstableâ from Wed Jun 21 13:54:04 2023
2025-04-13 16:04:14 INFO Downloading to /media/gustav/FLASH
2025-04-13 16:04:14 INFO Skipping download and using local image â/media/gustav/FLASH/librem5r4.imgâ
uuu (Universal Update Utility) for nxp imx chips â lib1.4.193Success 0 Failure 1
1:6 2/ 3 [HID(R):LIBUSB_ERROR_TIMEOUT ] SDPV: write -f u-boot-librem5
Traceback (most recent call last):
File â/media/gustav/FLASH/librem5-flash-image/./scripts/librem5-flash-imageâ, line 628, in
sys.exit(main())
^^^^^^
File â/media/gustav/FLASH/librem5-flash-image/./scripts/librem5-flash-imageâ, line 611, in main
flash_image(uuu_target, args.debug)
File â/media/gustav/FLASH/librem5-flash-image/./scripts/librem5-flash-imageâ, line 403, in flash_image
subprocess.check_call([âuuuâ, uuu_target])
File â/usr/lib/python3.11/subprocess.pyâ, line 413, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command â[âuuuâ, â/media/gustav/FLASH/flash_librem5r4.lstâ]â returned non-zero exit status 255.
Here is a command list suite that I also tried
sudo ./scripts/librem5-flash-image --udev;
sudo sh -c âuuu -udev >> /etc/udev/rules.d/99-uuu.rulesâ
sudo udevadm control --reload
sudo udevadm control --reload-rulesuuu u-boot-librem5.imx
sudo ./scripts/librem5-flash-image --stable --skip-download --skip-cleanup --dir â/media/gustav/FLASHâ --skip-flash
And finally screenshoot of the kvm that allows to see that the step wrong thing came when the phone goes into Purism USB download gadget
Thank you