[Librem-5-dev] Cannot Flash My Librem5 Dev Kit - Failure claim interface

David Philipe Gil davidpgil at protonmail.com
Sun Nov 15 15:06:56 PST 2020


I am trying to flash my Librem5 Dev Kit using the following instructions:

https://developer.puri.sm/Librem5/Development_Environment/Boards/HowTo/Flashing_eMMC.html#imx8-devkit-flashing-emmc


But my flash fails with the following error:

```

MyUser at MyPC:~/Repositories/librem5-devkit-tools$ sudo
./scripts/librem5-flash-image --board devkit

2020-11-15 18:00:35,607 INFO Looking for devkit plain amber-phone image
2020-11-15 18:00:39,733 INFO Found disk image Build 5890 'plain devkit
amber-phone image' from Sat Nov 14 18:06:30 2020
2020-11-15 18:00:40,882 INFO Found uboot Build 35 from Sun Sep 20
22:18:07 2020
2020-11-15 18:00:40,883 INFO Downloading to ./devkit_image_p7xiqrh9
2020-11-15 18:00:41,220 INFO Downloading image from
https://arm01.puri.sm/job/Images/job/Image%20Build/5890/artifact/devkit.img.xz
2020-11-15 18:01:59,407 INFO Calculating sha256sum of
./devkit_image_p7xiqrh9/devkit.img         
2020-11-15 18:02:21,787 INFO Downloading uboot from
https://arm01.puri.sm/job/u-boot_builds/job/uboot_devkit_build/35/artifact/output/uboot-devkit/u-boot-devkit.imx
uuu (Universal Update Utility) for nxp imx chips --
lib1.2.91                                    

Success 0    Failure
1                                                                          
                                                                                               
 
3:9133 1/ 1   [Failure claim interface               ] SDP: boot -f
u-boot-devkit.imx            
2020-11-15 18:02:29,739 INFO Cleaning up.
Traceback (most recent call last):
  File "./scripts/librem5-flash-image", line 356, in <module>
    sys.exit(main())
  File "./scripts/librem5-flash-image", line 340, in main
    flash_image(uuu_target, args.debug)
  File "./scripts/librem5-flash-image", line 256, in flash_image
    subprocess.check_call(['uuu', uuu_target])
  File "/usr/lib/python3.6/subprocess.py", line 311, in check_call
    raise CalledProcessError(retcode, cmd)

subprocess.CalledProcessError: Command '['uuu',
'./devkit_image_p7xiqrh9/flash_devkit.lst']' returned non-zero exit
status 255.

```

Any idea why this may be happening?


-- 
==============================================

Sent from Protonmail -- https://protonmail.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.community.puri.sm/pipermail/librem-5-dev/attachments/20201115/1783d9c4/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 489 bytes
Desc: OpenPGP digital signature
URL: <http://lists.community.puri.sm/pipermail/librem-5-dev/attachments/20201115/1783d9c4/attachment.sig>


More information about the Librem-5-dev mailing list