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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id A1312C678D4 for ; Wed, 1 Mar 2023 22:52:05 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id E73A385C1D; Wed, 1 Mar 2023 23:51:20 +0100 (CET) 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=1677711081; bh=IglNtybrSky3yi45x8djYPzCVq95p69Eia+F6Ur1iyI=; h=Date:Subject:To:Cc:References:From:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=OHwdvlNQXW2hJ5CeCgjRVPUIv/v7lXCHfktJMLcYj4x/Urmd03qejVv5izT1G0kxX S/nUR3bbThxlTD6t6Z6m9knxQqzDR2e9dgtNfhOPu3YvYC+UsaK0mrh3lqkDtrgOjB a+x9MXwEjA4Lpba+3x8Dtk7dWY0KkSqbsoKnlkFp1baaPQOs41UJQ0DyTcRyZ+pROI xMkEM5Zh4CLRJZSfyy++n+1JhDKWTwSsOYUHzlsVBNViAwR0GknAbDg2GeJoh10Bf6 IxWxdbbANWVxDjXpMRsmSRcHHTmGYLveKbmc7Jsw696jMHr9mnpH1BkuvlWnb4KDTp liCAGF/CBSjkA== Received: from [127.0.0.1] (p578adb1c.dip0.t-ipconnect.de [87.138.219.28]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: marex@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id CE31F85B43; Wed, 1 Mar 2023 23:51:14 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1677711075; bh=IglNtybrSky3yi45x8djYPzCVq95p69Eia+F6Ur1iyI=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=QFl/hclmykzuGm3/+PbU0pYKCOTqZrqb8GX5wQNmuFMP0y8GgO84+Z7CY9oqSb/8e ie/Q5CVh4enC4yEnOmYM5mdZdyiyJZTfEtX26c8dRuwSXov0TH0fcaLUOiyUYcJCJp uZkt6kiZ2PHyRTphukkksZd3t4nCE588qASe8PSBMofHrWvUpZiTz8GBHjrPu52Jvn eVc+PM+Zv+wP6N9w93XxD9bq/GpSnvNrC979EyUa8q6ueG5P05W8EnG4pFV1udaDVS hpxyVQzzFBKDxvjnPo7fXR6ElD+FcoA0zN00lYPcQ80NGqdP73tE3X8syrOFfi9zGD +L91BoP7+dg4Q== Message-ID: <79b7c4da-eae4-2e9c-585e-ae10f5bb0489@denx.de> Date: Wed, 1 Mar 2023 23:51:14 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 Subject: Re: u-boot crashes if mass-storage devices are connected via USB-C To: Simon Glass , bluetail , Bin Meng , Mark Kettenis , Tom Rini Cc: u-boot@lists.denx.de, Janne Grunau References: <322414817369964463b2ffd89ff1989f@posteo.net> Content-Language: en-US From: Marek Vasut In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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.6 at phobos.denx.de X-Virus-Status: Clean On 3/1/23 21:34, Simon Glass wrote: > +Marek Vasut +Bin Meng +Mark Kettenis +Tom Rini > > On Wed, 1 Mar 2023 at 08:12, bluetail wrote: >> >> Hello. user kettenis aka "Mark Kettenis" guided me write my bug report >> to this email. "bluetail: please report these usb bugs upstream; they're >> almost certainly not hardware-specific" >> >> But before, jannau aka Janne Grunau asked me to give the version output >> of `pacman -Qi uboot-asahi` to which I replied 2022.10.asahi1-1. >> Because I had the feeling that sometimes the reboot with a USB-C >> connected device succeeds, depending how many bays are populated. But I >> have no evidence for that. >> I did try other USB Type C Cables, but without success of fixing the >> underlying issue. The device works fine via USB Type A or C fine if >> plugged in AFTER u-boot. >> But, u-boot does not support USB Type A yet, which is why it wont break >> my boot sequence with USB Type A. >> >> Essentially, I connect a mass-storage device to the USB-C port of a Mac >> Mini 2020 (M1), and it leads to the issue in the attachment. >> I was able to reproduce it with Icy Box IB-3810 and ICY BOX IB-3805. >> Initially I thought this issue was only for some devices (also attached >> here) https://github.com/AsahiLinux/u-boot/issues/4 but it appears this >> might be a issue that is with many devices. >> >> If you need any more information, please feel free to ask. I am very >> eager to have this issue fixed because it seems to be a very broad issue >> with mass media storage in general. >> uname-r returns 6.1.0-asahi-2-2-edge-ARCH Would it be possible to check whether current u-boot/master works any better ?