[Librem-5-dev] devkit flashing help

Aaron aaron.morand at gmail.com
Mon Sep 21 07:23:28 PDT 2020


Greetings,

I've had this same issue with my dev-kit since I got it.  I had originally
gotten an externally powered USB-C hub to help with power issues, but I
still had this issue.  The battery idea sounded interesting and I have
tried that as well, with the same results.  I have also tried turning off
the kill switches for the wifi, wlan and camera/mic in hopes to minimize
power consumption, with no success.

How do I get debug port output?  As per the documentation
<https://developer.puri.sm/Librem5/Hardware_Reference/devkit.html>, I have
only found the unpopulated JTAG and UART headers.  I would need to get
headers on one of those to be able to get the debug information mentioned?

Thanks,

Aaron


On Fri, 18 Sep 2020 at 11:56, Angus Ainslie via Librem-5-dev <
librem-5-dev at lists.community.puri.sm> wrote:

> Hi Phil,
>
> On 2020-09-15 1:37 p.m., Phil via Librem-5-dev wrote:
> > Hello list members,
> >
> >  I hope everyone is well. I have a devkit that has been in storage since
> > I received it and I'm trying to get it up and running here. I'm
> > following along with the docs online and getting stuck while attempting
> > to flash the system image[1].
> >
> > My device is connected in USB boot mode:
> >
> >     Bus 002 Device 071: ID 1fc9:012b NXP Semiconductors i.MX 8M Dual/8M
> QuadLite/8M Quad Serial Downloader
> >
> > and the librem5-devkit-flash-image script is hanging like so:
> >
> >     librem5-devkit-tools$ ./scripts/librem5-devkit-flash-image --dir
> ~/Downloads --skip-cleanup2020-09-15 12:40:22,175 INFO Looking for devkit
> current buster+ci image
> >     2020-09-15 12:40:25,840 INFO Found disk image Build 5369 'current
> devkit buster+ci image' from Mon Sep 14 16:01:31 2020
> >     2020-09-15 12:40:27,912 INFO Found uboot Build 34 from Fri May 22
> 06:40:11 2020
> >     2020-09-15 12:40:27,913 INFO Downloading to /home/elektron/Downloads
> >     2020-09-15 12:40:28,628 INFO Downloading image from
> https://arm01.puri.sm/job/Images/job/Image%20Build/5369/artifact/devkit.img.xz
> >     2020-09-15 12:50:04,980 INFO Calculating sha256sum of
> /home/elektron/Downloads/devkit.img
> >     2020-09-15 12:50:22,634 INFO Downloading uboot from
> https://arm01.puri.sm/job/u-boot_builds/job/uboot_devkit_build/34/artifact/output/uboot-devkit/u-boot-devkit.imx
> >     uuu (Universal Update Utility) for nxp imx chips -- lib1.2.91
>
> >
> >     Success 0    Failure 0
>
> >
>
> >     2:111  1/ 1   [=================100%=================] SDP: boot -f
> u-boot-devkit.imx
> >
> > It just kinda hangs there forever. Any pointers would be appreciated!
>
> All of the above looks ok. Without having debug port output my guess
> would be that whatever you are using as a supply doesn't provide enough
> current.
>
> Either use a wall dongle that can supply more voltage and/or current or
> you can also use a battery which will help handle the spikes.
>
> Cheers
>
> Angus
>
> > Thanks in advance,
> >
> > Phil
> >
> >
> > 1:
> https://developer.puri.sm/Librem5/Development_Environment/Boards/HowTo/Flashing_eMMC.html#flashing-the-system-image
> > _______________________________________________
> > Librem-5-dev mailing list
> > Librem-5-dev at lists.community.puri.sm
> > https://lists.community.puri.sm/listinfo/librem-5-dev
> _______________________________________________
> Librem-5-dev mailing list
> Librem-5-dev at lists.community.puri.sm
> https://lists.community.puri.sm/listinfo/librem-5-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.community.puri.sm/pipermail/librem-5-dev/attachments/20200921/ded45606/attachment.html>


More information about the Librem-5-dev mailing list