[U-Boot] [u-Boot] USB EHCI for mpc512x crashes Uboot

Einar Már Björgvinsson Einar.Bjorgvinsson at marel.com
Mon Aug 16 18:00:31 CEST 2010


 Hi

I'm new to this list so I hope that this is the right place for my question.

I have a board with mpc5121e cpu on it and I'm been patching my Uboot (U-Boot v2009.11) with the patch given initially by Francesco Rendine:

http://lists.denx.de/pipermail/u-boot/2009-June/055022.html

It seems like that every time I run 'usb start' from the Uboot prompt it crashes the Uboot like:

------------
Hit any key to stop autoboot:  0
=> usb start
(Re)start USB...
USB:


U-Boot 2009.11.1-svn813 (Aug 16 2010 - 15:07:33) MPC512X

CPU:   MPC5121e rev. 3.0, Core e300c4 at 396 MHz, CSB at 198 MHz
Board: V39 Revision B
I2C:   ready
.
.
.
-------------------

After some debugging it seems to be in the ehci_hcd_init():
- hcor = (struct ehci_hcor *)((uint32_t) hccr + HC_LENGTH(ehci_readl(&hccr->cr_capbase)));

this line makes it crash.


Regards
Einar



More information about the U-Boot mailing list