From mboxrd@z Thu Jan 1 00:00:00 1970 From: rivael_il Date: Fri, 8 Sep 2017 16:45:31 +0300 Subject: [U-Boot] Starting u-boot in USB otg mode In-Reply-To: <20170908132719.jct6zkxl2ezh4knz@flea.lan> 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> Message-ID: <015201d328a8$beeebc90$3ccc35b0$@com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 => U-Boot SPL 2017.09-rc2-00168-g90ae53c-dirty (Sep 08 2017 - 11:26:35) DRAM: 1024 MiB