From nobody Fri Sep 30 19:02:58 2022
X-Original-To: freebsd-arm@mlmmj.nyi.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1])
	by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MfKPN3HPBz4Y9tQ
	for <freebsd-arm@mlmmj.nyi.freebsd.org>; Fri, 30 Sep 2022 19:03:04 +0000 (UTC)
	(envelope-from maciphone2@googlemail.com)
Received: from mail-ej1-x634.google.com (mail-ej1-x634.google.com [IPv6:2a00:1450:4864:20::634])
	(using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256
	 client-signature RSA-PSS (2048 bits) client-digest SHA256)
	(Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK))
	by mx1.freebsd.org (Postfix) with ESMTPS id 4MfKPM0cmDz3Bw0
	for <freebsd-arm@freebsd.org>; Fri, 30 Sep 2022 19:03:03 +0000 (UTC)
	(envelope-from maciphone2@googlemail.com)
Received: by mail-ej1-x634.google.com with SMTP id l14so10910499eja.7
        for <freebsd-arm@freebsd.org>; Fri, 30 Sep 2022 12:03:03 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=googlemail.com; s=20210112;
        h=message-id:in-reply-to:to:references:date:subject:mime-version
         :content-transfer-encoding:from:from:to:cc:subject:date;
        bh=zqHmN4KBNCJNqMNanP2gh/ONt5nkImZakqkoao0QRCU=;
        b=SMjXjK/IVfB1TN63z2Kg2aDbQfMbgGjTFD0McbvVAh6YxKjjHG1Y5K+OE2lT60ncV0
         olpzhxOWFfjJ/leOS5d+6IZEoN5EOoqxD1ZalA+ryKPEzDKglb2jUNfB409uIJ4xrAtC
         Z4hokYi0+Isv+KinxMsacAjzFGjcuh2nhj/PuCHrbl0+7uis+jrxnRzADYB4XSDQ3mN+
         OOAF5e8qkQDmADKEevR3UbWmRg204iSVFUNi61/LqVqOiPQx/9r7v72KiaSPwQ1spyXj
         od8TqkaOSS4fGGww9Tgxrwk2kAegFhSb2LVfF27dRY2/m2qiDPEaTCj6l4g8g/YF5+XZ
         nCQA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20210112;
        h=message-id:in-reply-to:to:references:date:subject:mime-version
         :content-transfer-encoding:from:x-gm-message-state:from:to:cc
         :subject:date;
        bh=zqHmN4KBNCJNqMNanP2gh/ONt5nkImZakqkoao0QRCU=;
        b=StUQ0EbNkLdZhNW9yAQ6lJ0Q7TQsKNwF60kSRjOs+92J18kT2AASE7e6o1GbJCvCDS
         zculAN7Q9psZqsEfIKTodjrH91NLP4uTvDBHYqzxgDHlLu2CMJG3Ln9VK0ozLZKGXZ3o
         xg4xi8TY6juGBvJUtPf8mI9Pow0439UHAwiVFA/VT7kjmxzy7KzwSeGRORUzhmqLrUw6
         LOEIT/32QybYAVg6LebWy/v/2IvIcbHO7FVw21Tp+Am//igbG8oWv5I5y3BmzqobwzU9
         fuP+xio2Fm1AkmC54Pn6aIJPxBTl+YXSFwf0vHsMf7/Gir7I+gePmW2WZ1B5U5URVbkD
         +qNg==
X-Gm-Message-State: ACrzQf12EdS88tJtUep6ZWz8O3YQ8VniAZ0QDIN3AQchMa/MBm+tJG6P
	t1EvxMtbFEEWKNASYHGqVPs=
X-Google-Smtp-Source: AMsMyM6PiZuLswpbyB8yC7Kdo07ewmCmgbjh1jPvSy7PrswfWwgMOUNsnQNyKwAeRwEU6txoiYuE+Q==
X-Received: by 2002:a17:906:fd84:b0:730:acee:d067 with SMTP id xa4-20020a170906fd8400b00730aceed067mr7568989ejb.206.1664564581449;
        Fri, 30 Sep 2022 12:03:01 -0700 (PDT)
Received: from smtpclient.apple (dynamic-046-114-061-204.46.114.pool.telefonica.de. [46.114.61.204])
        by smtp.googlemail.com with ESMTPSA id cb15-20020a0564020b6f00b004576e3aee69sm2205532edb.4.2022.09.30.12.03.00
        (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128);
        Fri, 30 Sep 2022 12:03:00 -0700 (PDT)
From: =?utf-8?Q?Klaus_K=C3=BCchemann?= <maciphone2@googlemail.com>
Content-Type: text/plain;
	charset=utf-8
Content-Transfer-Encoding: quoted-printable
List-Id: Porting FreeBSD to ARM processors <freebsd-arm.freebsd.org>
List-Archive: https://lists.freebsd.org/archives/freebsd-arm
List-Help: <mailto:freebsd-arm+help@freebsd.org>
List-Post: <mailto:freebsd-arm@freebsd.org>
List-Subscribe: <mailto:freebsd-arm+subscribe@freebsd.org>
List-Unsubscribe: <mailto:freebsd-arm+unsubscribe@freebsd.org>
Sender: owner-freebsd-arm@freebsd.org
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.1\))
Subject: Re: u-boot debug, was: Re: U-boot on RPI3, sees disk but won't boot
 it
Date: Fri, 30 Sep 2022 21:02:58 +0200
References: <A8C2BA4E-4520-4B34-9614-DDC4D8BEB097@yahoo.com>
 <6AA65AE6-41F1-405F-A592-7D641EA4C9CF@yahoo.com>
 <E3A1C678-8C47-4283-9F9F-4C9011DB8A2B@yahoo.com>
 <20220929054120.GA77803@www.zefox.net>
 <D7A62820-4928-49F0-8387-C1E6D998B121@yahoo.com>
 <ABFBD0E6-8A9B-4C99-84DF-BF398F23678A@yahoo.com>
 <20220929151926.GA80020@www.zefox.net>
 <F316420B-C7AF-4131-9734-06117FFE212D@yahoo.com>
 <20220929170927.GB80020@www.zefox.net>
 <6C5019EC-B4A8-448F-9A85-4A98BC46F7DD@yahoo.com>
 <20220930002742.GA81169@www.zefox.net>
 <7A431698-1A8C-44BA-AFA2-EF5BAA69574F@googlemail.com>
 <924ED901-F9EB-4CFE-8376-1C2653FB6EBE@yahoo.com>
 <97AB11F6-2F4D-4026-8A96-50FC68B6EF8C@googlemail.com>
 <ED81813C-6F25-4751-BBCA-BC711684B219@yahoo.com>
 <5F180C78-BC07-4605-A042-0BEC8A6FD185@googlemail.com>
 <8CE490A2-B512-4170-95BC-D0584F2B254A@yahoo.com>
To: Mark Millard <marklmi@yahoo.com>,
 bob prohaska <fbsd@www.zefox.net>,
 freebsd-arm@freebsd.org
In-Reply-To: <8CE490A2-B512-4170-95BC-D0584F2B254A@yahoo.com>
Message-Id: <A2D394A3-8382-4EB2-A697-8A3D5F2687A2@googlemail.com>
X-Mailer: Apple Mail (2.3696.120.41.1.1)
X-Rspamd-Queue-Id: 4MfKPM0cmDz3Bw0
X-Spamd-Bar: ---
Authentication-Results: mx1.freebsd.org;
	dkim=pass header.d=googlemail.com header.s=20210112 header.b="SMjXjK/I";
	dmarc=pass (policy=quarantine) header.from=googlemail.com;
	spf=pass (mx1.freebsd.org: domain of maciphone2@googlemail.com designates 2a00:1450:4864:20::634 as permitted sender) smtp.mailfrom=maciphone2@googlemail.com
X-Spamd-Result: default: False [-3.50 / 15.00];
	NEURAL_HAM_LONG(-1.00)[-1.000];
	NEURAL_HAM_MEDIUM(-1.00)[-1.000];
	NEURAL_HAM_SHORT(-1.00)[-1.000];
	MV_CASE(0.50)[];
	DMARC_POLICY_ALLOW(-0.50)[googlemail.com,quarantine];
	R_DKIM_ALLOW(-0.20)[googlemail.com:s=20210112];
	R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36];
	MIME_GOOD(-0.10)[text/plain];
	ARC_NA(0.00)[];
	FROM_HAS_DN(0.00)[];
	RCVD_VIA_SMTP_AUTH(0.00)[];
	DWL_DNSWL_NONE(0.00)[googlemail.com:dkim];
	RCPT_COUNT_THREE(0.00)[3];
	TO_MATCH_ENVRCPT_SOME(0.00)[];
	PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org];
	MID_RHS_MATCH_FROM(0.00)[];
	ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US];
	RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::634:from];
	RCVD_COUNT_THREE(0.00)[3];
	FREEMAIL_FROM(0.00)[googlemail.com];
	TO_DN_SOME(0.00)[];
	RCVD_TLS_LAST(0.00)[];
	DKIM_TRACE(0.00)[googlemail.com:+];
	FROM_EQ_ENVFROM(0.00)[];
	FREEMAIL_TO(0.00)[yahoo.com,www.zefox.net,freebsd.org];
	FREEMAIL_ENVFROM(0.00)[googlemail.com];
	MIME_TRACE(0.00)[0:+];
	MLMMJ_DEST(0.00)[freebsd-arm@freebsd.org]
X-ThisMailContainsUnwantedMimeParts: N



> Am 30.09.2022 um 20:36 schrieb Mark Millard <marklmi@yahoo.com>:
>=20
> Which "the"? The Hub in question is internal to the
> RPi3B. It also shows up on my RPi3B with no external
> hubs involved. (But I've never had the failure mode
> occur.)
>=20
> Manufacturer=20
> Product      U-Boot Root Hub
> SerialNumber=20
> bind node usb1@1
>=20
> It is a hub with 5 ports, one associated with the
> EtherNet port and 4 for plugging things in. Or,
> that is my understanding.
:-), I started reading the discussion from the beginning because I =
missed the Hub-manufacturer in the logs,
Now I know it=E2=80=99s the internal, thanks for Info .
I  was absolutely sure from the beginning that this is a 3b-power-issue =
(regulator or whatever)=E2=80=A6
I guess you also wrote that.
Since my lowest model is 3b+, I never turned on any RPI during this =
discussion.

>=20
> I've little clue what would interfere with its
> operation in this specific way.

=46rom reading the logs  we end up in line 377 of common/usb_hub.c :
'cannot reset port=E2=80=98
The comment beginning in line 305 indicates that perhaps more attempts =
of a reset=20
could work around mysterious power or disconnect issues( although for =
nVidia not rpi).
 So by guessing I would say, a code injection of reset retries could =
perhaps help,
I would ask a long year known USB-expert if it=E2=80=99s worth to try =
hacking usb_hub.c=20
 but it=E2=80=99s better not to call his name so loud again :-) =E2=80=A6

Regards

Klaus