Hi,

Le 27 Mai. 2015 20:19, "Kevin Hilman" <khilman@kernel.org> a écrit :
>
> Peter Griffin <peter.griffin@linaro.org> writes:
>
> >> Sorry for the lag, I just got back to this.  (frankly, I'm not
> >> motiviated to work on this board as I'm finding it to be one of the
> >> most PITA boards to deal with, and that's saying something since I
> >> have 50+ other boards in my farm right now)
> >>
> >
> > No problem. I must admit trying to replicate this issue reminded me
> > how much of a pain it is to flash l-loader.bin and have fastboot come
> > up properly.
>
> Heh, yeah.  Hence my PITA comment. ;)
>
> > I'm not sure if I'm the only person suffering from this (your comment
> > would suggest not) but with exactly the same software it seems quite
> > random whether my laptop can enumerate the USB fastboot device or not.
> >
> > Sometimes if I'm lucky I can get 2 or 3 good runs in a row and make some
> > progress, other times I have to load l-loader 6/7/8 times before I manage to
> > get fastboot and flash the board.
>
> Yes, I've noticed both of those problems too.
>
> > I've tried many things seemingly to no effect. Rebooting my laptop,
> > using a USB hub, power cycling the board every time, only plugging in
> > the usb cable after sending l-loader over the UART (and the
> > opposite). Nothing as far as I can tell has made much difference to
> > the stability.
>
> My experience as well.
>
> > If anyone has any tips for improving this please send them my way :-)

I'm not sure I can help with your exact situation (I'm not using u-boot) but let me share my experience just in case.

I've been using my HiKey board since HKG15 with almost no issue... well, the 96boards ARM TF repository has occasionally been unstable (exceptions in BL1), but at least I found a stable configuration.

I have created a repository on GitHub with everything I need for my work (OP-TEE development). Check out http://github.com/jforissier/hikey_optee -- that's basically a master Makefile and submodules for l-loader, ARM TF, edk2, Linux, BusyBox for the root fs, flashing tools, etc.

Also, I use a USB/ethernet adapter occasionally. But most often I work on the UART0 console.

HTH,

--
Jerome