Mathew!
Posts: 5
Joined: Thu Jun 14, 2012 12:58 pm

A dig into PI's and u-boot(Targeting PI1 B and PI zero)

Sat Feb 23, 2019 3:26 am

I brought a PI zero a while back and so far things have gone well, installed u-boot got all working over uart nice simple text mode interruptible boot at worse a bit of a war on the hardware front but mostly just cheap nasty usb hubs with ethernet chips that caused nastyness.

So far pi zero auto boots nicely with u-boot so I decided to try my luck with it on a PI1 B so far working from getting the mainstream u-boot working on the zero via a linaro toolchain to sort out the gcc6 toolchain as per hints, the USB host showed its true colors, "Can not get configuration data", so I tweaked a define in the u-boot dwc2.h file to force the driver into full speed mode as some googling found that this seems to be a quirk to my understanding that putting the dwc2 in high speed mode makes it unable to 'see' full and low speed devices(usb 2.0 only).

So I have gotten a different error now, "device not accepting address <number>" so I am wondering does anyone know a good fork of u-boot where this fault has been fixed up?

Mostly curious at this point as quite a few bits of info I was following on elinux were old and the handiness of an interruptible boot with PXE for recovery to me seems a really tempting reward if I could find a means to convince this to like the kernel's driver actually work.

Return to “General discussion”