Hi, On Fri, 2021-08-06 at 13:54 +0300, Matwey V. Kornilov wrote: > Hello, > > I've found that the following commit breaks USB on BeagleBone Black > board (am335x based): > > commit 942853dd96df5de1c0a2a61c877c1cf1c24f1e91 > Author: Paul Barker <paul.bar...@sancloud.com> > Date: Mon Jul 12 21:14:09 2021 +0100 > > arm: dts: Resync BeagleBone device trees > > > When commit is applied then I see the following: > > starting USB... > No working controllers found > USB is stopped. Please issue 'usb start' first. > starting USB... > No working controllers found > > Before the commit USB was working as expected: > > starting USB... > Bus usb@47401800: scanning bus usb@47401800 for devices... 1 USB Device(s) > found > scanning usb for storage devices... 1 Storage Device(s) found > > Device 0: Vendor: Rev: PMAP Prod: USB DISK Pro > Type: Removable Hard Disk > Capacity: 7381.2 MB = 7.2 GB (15116736 x 512) > ... is now current device
It looks the the arch/arm/dts/am33xx.dtsi file is out of sync with Linux, leading to this regression. In the current U-Boot version, it has status = "disabled"; lines for e.g. usb0 while in Linux mainline, those are missing. As the commit you found by bisecting drops the status = "okay"; lines from arch/arm/dts/am335x-bone-common.dtsi, the device now are no longer enabled. Maybe try syncing am33xx.dtsi as well to check if it helps? -- Harald DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-62 Fax: +49-8142-66989-80 Email: h...@denx.de