Re: Comment to "[PATCH 7/8] Add EHCI support for MX27 and MX31 based boards"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2009/7/14 Daniel Mack <daniel@xxxxxxxx>:
> On Tue, Jul 14, 2009 at 09:38:53AM +0200, javier Martin wrote:
>> Well, I am using gdb for debugging the kernel through JTAG,
>> it currently crashes in function "static int __init ehci_hcd_init(void)"
>>  when executing line "retval = platform_driver_register(&PLATFORM_DRIVER);".
>
> The platform_driver's probe function is also called. Set a breakpoint at
> ehci_mxc_drv_probe(), the real crash must be there or in one the
> functions called.
>
> Daniel
>
>
Yeah, you are right, the hierarchy is as follows:

ehci_mxc_setup() -> ehci_reset() -> ehci_hub_control()

In "ehci_hub_control" it crashes in the following "ehci_readl":

		case USB_PORT_FEAT_POWER:
			if (HCS_PPC (ehci->hcs_params))
				ehci_writel(ehci,
					  temp & ~(PORT_RWC_BITS | PORT_POWER),
					  status_reg);
			break;

Where "status_reg" is 0xc4846184, it seems this is a wrong value
because base address of USB in i.mx27 is 0x10024000.
What do you think?

-- 
Javier Martin
Vista Silicon S.L.
Universidad de Cantabria
CDTUC - FASE C - Oficina S-345
Avda de los Castros s/n
39005- Santander. Cantabria. Spain
+34 942 25 32 60
www.vista-silicon.com
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux