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 EDA1DC678D4 for ; Thu, 2 Mar 2023 12:23:24 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 36F9A85C40; Thu, 2 Mar 2023 13:23:22 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=posteo.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; secure) header.d=posteo.de header.i=@posteo.de header.b="lxy22GuF"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 2EDF685AF7; Thu, 2 Mar 2023 00:30:39 +0100 (CET) Received: from mout02.posteo.de (mout02.posteo.de [185.67.36.66]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id F309D85720 for ; Thu, 2 Mar 2023 00:30:33 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=posteo.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=a-development+asahi@posteo.de Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 9D5C824082F for ; Thu, 2 Mar 2023 00:30:33 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1677713433; bh=nMc8mmnWgmyCKXM36IzCU4ddUaaB+A0itbc9wnASGyQ=; h=Date:From:To:Cc:Subject:From; b=lxy22GuF3YKWsjZPLV5CCRgC6NZpp7PLrH2UN6/K05x3XVW3x4ANKMslqNMpTonpc wiJSfvAKxmrnsmet48bHmff+gXIrU5UgkpWNwuenLwGy58QV0JsIQQFcID7Gu8pcy4 c3bO2Of1tn1MUXPvsN66Rqe51hJLuouoELWwhvdOzTiXlQ/ZfuqliTsaVzCvj4wZq0 78zAxvgj4b704RsN19ntwgfSZToCDHTplrYbegpLKc/jwvqor/UELNyxnodrUSVj7a sOUOJ49WtS2w8gFEGmO+uB5J+gkfPnl0b+RYN0t3dSGRRhLe7cIN6pTCRcZ3wF0FK2 4eHCCLIKfW+gQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4PRr7r38fjz6tmH; Thu, 2 Mar 2023 00:30:32 +0100 (CET) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Wed, 01 Mar 2023 23:30:32 +0000 From: bluetail To: Marek Vasut Cc: Simon Glass , Bin Meng , Mark Kettenis , Tom Rini , u-boot@lists.denx.de, Janne Grunau Subject: Re: u-boot crashes if mass-storage devices are connected via USB-C In-Reply-To: <79b7c4da-eae4-2e9c-585e-ae10f5bb0489@denx.de> References: <322414817369964463b2ffd89ff1989f@posteo.net> <79b7c4da-eae4-2e9c-585e-ae10f5bb0489@denx.de> Message-ID: <51317fdd620a146a7927cebf90f2e81c@posteo.net> X-Mailman-Approved-At: Thu, 02 Mar 2023 13:23:20 +0100 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 Sure. Please send some instructions my way on how to proceed. I know there is a u-boot manual, but I don't wanna mess up my mac mini m1 system. So I'd stick with instructions on your end. Ideally, the action is reversible. I always keep complete system backups, though. My current version is asahi-v2022.10-1 as far as I can tell. I'm used to git, so pulling and making would be the slightest issue. All the best and thanks, --- aka zDEFz On 01.03.2023 23:51, Marek Vasut wrote: > 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 ?