External battery charger for Librem5

jumpdrive doesn’t work, in both cases (jumpdrive and flashing) process just gets stuck after SDP: boot

uuu (Universal Update Utility) for nxp imx chips -- lib1.4.77

Connected Known USB Devices
	Path	 Chip	 Pro	 Vid	 Pid	 BcdVersion
	==================================================
	1:1	 MX8MQ	 SDP:	 0x1FC9	0x012B	 0x0001

and
Bus 001 Device 005: ID 1fc9:012b NXP Semiconductors i.MX 8M Dual/8M QuadLite/8M Quad Serial Downloader

Image download and creation

../librem5-flash-image/scripts/librem5-flash-image --variant plain --dir ./ --skip-cleanup --skip-flash
2022-03-19 12:29:49 INFO Looking for librem5r4 plain byzantium image
2022-03-19 12:29:52 INFO Found disk image Build 10652 'plain librem5r4 byzantium image' from Fri Mar 18 17:49:27 2022
2022-03-19 12:29:54 INFO Found uboot Build 82 from Fri Sep 10 11:19:03 2021
2022-03-19 12:29:54 INFO Downloading to ./
2022-03-19 12:29:54 INFO Calculating sha256sum of ./librem5r4.img
2022-03-19 12:30:05 INFO Downloading image from https://arm01.puri.sm/job/Images/job/Image%20Build/10652/artifact/librem5r4.img.xz
                                                                               2022-03-19 12:33:31 INFO Calculating sha256sum of ./librem5r4.img                
2022-03-19 12:33:42 INFO Downloading uboot from https://arm01.puri.sm/job/u-boot_builds/job/uboot_librem5_build/82/artifact/output/uboot-librem5/u-boot-librem5.imx
drwxr-xr-x 2 monkey monkey       4096 Mar 19 12:33 .
drwxr-xr-x 6 monkey monkey       4096 Mar 19 12:25 ..
-rw-r--r-- 1 monkey monkey        561 Mar 19 12:33 flash_librem5r4.lst
-rw-r--r-- 1 monkey monkey 4500000256 Mar 19 12:33 librem5r4.img
-rw-r--r-- 1 monkey monkey    1073880 Mar 19 12:33 u-boot-librem5.imx

This gets stuck at
uuu flash_librem5r4.lst
uuu (Universal Update Utility) for nxp imx chips – lib1.4.77

Success 0    Failure 0                                                         
                                                                                
                                                                                
1:1      1/ 1 [=================100%=================] SDP: boot -f u-boot-libre

As I’ve mentioned in previous post.
Following command from lst never finishes:
SDP: boot -f u-boot-librem5.imx

After that PC just keeps waiting.

sudo has same behavior

Som more info (Commands run in uuu shell)

U>CFG: SDP: -chip MX8MQ -compatible MX8MQ -vid 0x316d -pid 0x4c05
>Start Cmd:CFG: SDP: -chip MX8MQ -compatible MX8MQ -vid 0x316d -pid 0x4c05
Okay
U>SDP: boot -f u-boot-librem5.imx
>Start Cmd:SDP: boot -f u-boot-librem5.imx
New USB Device Attached at 1:1
6400%1:1>Okay (0.349s)
Okay
U>SDPU: delay 1000
1:1>Start Cmd:SDPU: delay 1000
Wait for Known USB \

Should vid and pid be what’s listed in lsusb?

1 Like