Re: OMAP3 & USB NFS root

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

 



On Mon, Feb 14, 2011 at 03:46:46PM +0200, Tomi Valkeinen wrote:
> Hi,
> 
> I've been trying to get USB ethernet gadget driver working so that I can
> use NFS root to boot my board (overo or beagle).
> 
> With 2.6.37 I did get it work, but only after I enabled host mode and
> set the driver mode to OTG. With just USB peripheral mode it didn't seem
> to work.
> 
> With 2.6.38-rc4 I don't seem to get it working at all, not matter what
> config options I have tried.
> 
> And when I say "not working" I mean I don't get any output about USB
> when the kernel is waiting for the rootfs. Not even if I unplug and plug
> the USB cable. And the PC's kernel messages don't show anything when the
> board's kernel boots up.
> 
> I've attached the configs I have tried.

try this patch:

commit d5f42190e7cf11b20face63ee96f26c7d2067b63
Author: Ming Lei <tom.leiming@xxxxxxxxx>
Date:   Wed Jan 5 22:03:21 2011 +0800

    arm: omap4: panda: remove usb_nop_xceiv_register(v1)
    
    Panda uses both twl6030 otg phy(vbus, id) and internal
    phy(data lines, DP/DM), so removes usb_nop_xceiv_register to make
    twl6030 otg driver working since current otg code only supports
    one global transceiver. Otherwise, musb doesn't work without
    the remove.
    
    Reviewd-by: Felipe Balbi <balbi@xxxxxx>
    Signed-off-by: Ming Lei <tom.leiming@xxxxxxxxx>
    Signed-off-by: Felipe Balbi <balbi@xxxxxx>

diff --git a/arch/arm/mach-omap2/board-omap4panda.c b/arch/arm/mach-omap2/board-omap4panda.c
index e001a04..e944025 100644
--- a/arch/arm/mach-omap2/board-omap4panda.c
+++ b/arch/arm/mach-omap2/board-omap4panda.c
@@ -409,8 +409,6 @@ static void __init omap4_panda_init(void)
        platform_add_devices(panda_devices, ARRAY_SIZE(panda_devices));
        omap_serial_init();
        omap4_twl6030_hsmmc_init(mmc);
-       /* OMAP4 Panda uses internal transceiver so register nop transceiver */
-       usb_nop_xceiv_register();
        omap4_ehci_init();
        usb_musb_init(&musb_board_data);
 }

-- 
balbi
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux