[U-Boot] [PPC] get_timer without CONFIG_INTERRUPTS

2013-09-30 Thread Chris Packham
Hi, Has anyone looked at a way of implementing get_timer for PowerPC without using interrupts. We appear to be having a problem with common/usb_hub.c where occasionally (1 in ~150 reboots) we seem to get stuck in the do/while loop in usb_hub_configure. It looks like this should timeout but becaus

Re: [U-Boot] [PPC] get_timer without CONFIG_INTERRUPTS

2013-10-02 Thread Chris Packham
On 30/09/13 21:22, Chris Packham wrote: > Hi, > > Has anyone looked at a way of implementing get_timer for PowerPC without > using interrupts. > > We appear to be having a problem with common/usb_hub.c where > occasionally (1 in ~150 reboots) we seem to get stuck in the do/while > loop in usb_hub

Re: [U-Boot] [PPC] get_timer without CONFIG_INTERRUPTS

2013-10-02 Thread Wolfgang Denk
Dear Chris, In message <524bccee.5020...@gmail.com> you wrote: > > Our mistake was to add a call to usb_start in our boards misc_init_r. You never want to run this automatically. And if you do, you absolutely must make sure to shut down the USB controller after use / before booting Linux, otherw