From: 'Maxime Ripard' Date: Fri, 8 Sep 2017 16:50:20 +0200 Subject: [U-Boot] Starting u-boot in USB otg mode In-Reply-To: <015201d328a8$beeebc90$3ccc35b0$@com> References: <003701d326f6$710e28c0$532a7a40$@com> <7b71a5b8-48de-8568-8abf-c081da93ec78@rock-chips.com> <006e01d327b8$70f92c00$52eb8400$@com> <20170907094346.4akmy3krur3mhrmm@flea.lan> <008101d327c3$5dbed5d0$193c8170$@com> <20170907111557.6dbjojrmz2adfbta@flea.lan> <00ff01d3289f$6ca8f6c0$45fae440$@com> <20170908132719.jct6zkxl2ezh4knz@flea.lan> <015201d328a8$beeebc90$3ccc35b0$@com> Message-ID: <20170908145020.ab3hbb4gwl6ouioz@flea.lan> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Fri, Sep 08, 2017 at 04:45:31PM +0300, rivael_il wrote: > It got compiled. But the u-boot-sunxi-with-spl.bin still generate HOST > controller rather than Peripheral USB. > I can't see it in lsusb. > > Here is the u-boot console: > > => usb stop > stopping USB.. > => usb tree > USB is stopped. Please issue 'usb start' first. > => usb start > starting USB... > USB0: USB EHCI 1.00 > USB1: USB OHCI 1.0 > USB2: USB EHCI 1.00 > USB3: USB OHCI 1.0 > scanning bus 0 for devices... 1 USB Device(s) found > scanning bus 2 for devices... 1 USB Device(s) found > scanning usb for storage devices... 0 Storage Device(s) found > => usb tree > USB device tree: > 1 Hub (480 Mb/s, 0mA) > u-boot EHCI Host Controller > > 1 Hub (480 Mb/s, 0mA) > u-boot EHCI Host Controller Those are all host only commands. What are you trying to do, and which gadgets are you trying to use? Maxime -- Maxime Ripard, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 801 bytes Desc: not available URL: