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

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

Hi Elinar,
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:
I've cleaned up this patch and made it work better (there are some issues with it that needed fixing), but needs (mostly style) work before being submitted as a patch for mainline.
Please email me off-list if you want to test the patch for yourself. If it works for you, I should make the effort to clean it up and contribute it back...
-- Damien

Dear Damien Dusha,
In message AANLkTim0vHBH_a_v2ZnHwXX7-tF3e9maN56LReCasv+m@mail.gmail.com you wrote:
Please email me off-list if you want to test the patch for yourself. If it works for you, I should make the effort to clean it up and contribute it back...
Please do this in any case. I would really like to add this feature.
Best regards,
Wolfgang Denk

Hi Damien
I'm very interested in testing this. Please send it to me to the address provided.
Regards Einar
________________________________________ From: u-boot-bounces@lists.denx.de [u-boot-bounces@lists.denx.de] on behalf of Wolfgang Denk [wd@denx.de] Sent: Tuesday, August 17, 2010 9:25 AM To: Damien Dusha Cc: u-boot@lists.denx.de; Einar Már Björgvinsson Subject: Re: [U-Boot] [u-Boot] USB EHCI for mpc512x crashes Uboot
Dear Damien Dusha,
In message AANLkTim0vHBH_a_v2ZnHwXX7-tF3e9maN56LReCasv+m@mail.gmail.com you wrote:
Please email me off-list if you want to test the patch for yourself. If it works for you, I should make the effort to clean it up and contribute it back...
Please do this in any case. I would really like to add this feature.
Best regards,
Wolfgang Denk
-- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de "If the code and the comments disagree, then both are probably wrong." - Norm Schryer _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
participants (3)
-
Damien Dusha
-
Einar Már Björgvinsson
-
Wolfgang Denk