From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8A120C4320A for ; Fri, 6 Aug 2021 11:39:19 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 7911D60FE7 for ; Fri, 6 Aug 2021 11:39:18 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 7911D60FE7 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 0882882F2B; Fri, 6 Aug 2021 13:39:16 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1628249956; bh=s4I3jGP9E0tB2ZLp1mWjdD0LMZVCCJe2P37zjO/B5QM=; h=Subject:From:To:Date:In-Reply-To:References:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=WjT/VHxBxegFlmJXx/3I3j4ExeSXlUjeE7XUQdqOr9ETtWhz5jI7/faUTLBUwEirW zXRFe7hsCoQ06Gc/ZURwb3VXXkrWzdpTGFbthZErQWfn7doPwZNCwCMNGiLKmSQwFM UPOcoktIgw6v+iz9vQn6AoiwW8vCtqNtO6WaisGAb1n7SvTORyAn/IFZEXac1hZ8Q6 ko6/0kSQ2Aj2FqWuT1q2RpA/YvuIaTyWkH999jnEW8+VTNtX6erlhFuJClWVGj0k3w kWOszeWp/DRAeDMdWqdboBgzwGAVUPDzvE2yX+IwgJP1heu7MXFRvRaTF8c0ckmOmI aI+m5vzanENWg== Received: from maia.denx.de (p578adb1c.dip0.t-ipconnect.de [87.138.219.28]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: hws@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id 6341E82E0C; Fri, 6 Aug 2021 13:39:14 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1628249954; bh=s4I3jGP9E0tB2ZLp1mWjdD0LMZVCCJe2P37zjO/B5QM=; h=Subject:From:To:Date:In-Reply-To:References:From; b=V9H0Hsz7aC5oz/tr6Y6mlqf6mT40UdpdvROi50MaoNBh8eMGFJu/P15nbWg+T8Mno eozhVDtqiDTKrb36tmBw2YmBgrDw/s3r2YGQXylbDWSAwvcr7wgFm6mWA4ezhhltLC U8uocprZdi84aNrH0J3kES5D2Jp5kMImqj+UGLLxfgKVlK2yq3YMTJLuejgC0Y8QY+ WulbPDQO+djFKNNH3KCF47iYSLoFdm4uOd62SrWRGQDYv3Lok5w4VxCe6V8XTvx166 Gg27rGHRaWEbd0Ce///XUQCnh2NJR7fmNc9nlT88ngKKQK5JVb3HO3lcMVqpjEMCNa PsGI03z1GfeQg== Message-ID: <5739230aa8a33618d50645315c456669c41598d1.camel@denx.de> Subject: Re: [BISECTED] arm: dts: Resync BeagleBone device trees From: Harald Seiler To: "Matwey V. Kornilov" , U-Boot Mailing List , paul.barker@sancloud.com, Tom Rini Date: Fri, 06 Aug 2021 13:39:08 +0200 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.40.3 (3.40.3-1.fc34) MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean 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 > 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: hws@denx.de