From nobody Thu Sep 29 19:55:00 2022 X-Original-To: freebsd-uboot@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 4Mdkbw0cXSz4V66m for ; Thu, 29 Sep 2022 19:55:08 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic312-24.consmr.mail.gq1.yahoo.com (sonic312-24.consmr.mail.gq1.yahoo.com [98.137.69.205]) (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 did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Mdkbv08xnz3CJ2 for ; Thu, 29 Sep 2022 19:55:06 +0000 (UTC) (envelope-from marklmi@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1664481305; bh=82wRJATo+6SBUlZ7Exwr2xzuB7QCC1nm/aTV32J2zmQ=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=PU/ORVpyuK3oNNlvEAP3cBPNaa4cBqHygn88SmsPCxkotPXXFgcMg8w0q+QaUBZaNys4dMxNAdZXz92yE9zL5hNgn2stSupQKIcV8Pe8zrMmaPp3hySAnFV26vTvlLh1LI70rYo0YEZ9Nk0FbPqunnqW4Takpy/ifWcv+mp0u+OaGgOJGjY5I/fuq50YrFXhvikhod13gUiNyJqPUHQ0nD1LIGoO36LlLtTWrbX1bQNfIC+QSwxcBik+36tRST5z0SOHgshokj5zaRuKaMZHA1aOBrZMEyV0yIQYnnFTMt0bfZz0fbidxQ6YOJYKUoTs2hvkPr+EWZfMkXh1PwMJXQ== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1664481305; bh=tDbu7o1CzlFEIymlQohSlX6ffOds6TFsmBCi/RfMYwI=; h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em5s90tUqNrSCf4X6BMIrrNrXjk.99LtJwTK6f .O6XSIQOkUjQUpwfGskG4MSE9wa42TNTfTuPa5ZnJvfljtAh8I3Iu0KknbZNAVOuqFt_HA7Wc5fW TK0GvN6Cho7ss3PMRMfjbbEWzh7BCzrink0Y.DI8pAy41F4ste8MoDJWoN_bfh0vxSo2z4F.4zjg _a7VDucyuURG72qfzn6qhmSCPeW68IB0DXuZLn8hQqmCtVixHLsHQyCNJLLuPOXp.kC_q33tdtHN irZn3raGBscPGilV5nc02KlL6ch3ELGVHz1sYiyeJXGDP0l.CceMDKAnkL6l41QwFhTBVk5sPSc8 M6j.bY1o6bOSVXOaSzIu0DrGrZfgginID1fkoKmCIXIhOeMRItz1ZI6GeWH7v0w0OPYvvELmc6Jb E79fmdk_oQE8Uvs2VBSThxIh.P6.H3ifTfZ9djmMC4O6WapA8JIil7Z5usbqSh22u7Qdmk8P6jhk QXLq5mFAhlls76wn28sCDjWXabFpaURPUmJbVexbK5On3Q1gjam2NNYwpP8fjNkkHLnruVITV2rO uMkIn8Q-- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic312.consmr.mail.gq1.yahoo.com with HTTP; Thu, 29 Sep 2022 19:55:05 +0000 Received: by hermes--production-ne1-6944b4579f-f6tkg (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 7f0a59c08ab471576036e52ed4a3446b; Thu, 29 Sep 2022 19:55:02 +0000 (UTC) Content-Type: text/plain; charset=us-ascii List-Id: Discussions List-Archive: https://lists.freebsd.org/archives/freebsd-uboot List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-uboot@freebsd.org X-BeenThere: freebsd-uboot@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 From: Mark Millard In-Reply-To: <20220929170927.GB80020@www.zefox.net> Date: Thu, 29 Sep 2022 12:55:00 -0700 Cc: freebsd-arm , freebsd-uboot@freebsd.org Content-Transfer-Encoding: 7bit Message-Id: <6C5019EC-B4A8-448F-9A85-4A98BC46F7DD@yahoo.com> References: <20220929002131.GA77106@www.zefox.net> <197D3C46-063B-4C67-AB1A-A3A072521D7F@yahoo.com> <6AA65AE6-41F1-405F-A592-7D641EA4C9CF@yahoo.com> <20220929054120.GA77803@www.zefox.net> <20220929151926.GA80020@www.zefox.net> <20220929170927.GB80020@www.zefox.net> To: bob prohaska X-Mailer: Apple Mail (2.3696.120.41.1.1) X-Rspamd-Queue-Id: 4Mdkbv08xnz3CJ2 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b="PU/ORVpy"; dmarc=pass (policy=reject) header.from=yahoo.com; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.69.205 as permitted sender) smtp.mailfrom=marklmi@yahoo.com X-Spamd-Result: default: False [-3.45 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.95)[-0.952]; MV_CASE(0.50)[]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; MIME_GOOD(-0.10)[text/plain]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; RCVD_IN_DNSWL_NONE(0.00)[98.137.69.205:from]; RCVD_COUNT_THREE(0.00)[3]; FREEMAIL_FROM(0.00)[yahoo.com]; TO_DN_SOME(0.00)[]; RCVD_TLS_LAST(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; MIME_TRACE(0.00)[0:+]; FROM_EQ_ENVFROM(0.00)[]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; MLMMJ_DEST(0.00)[freebsd-uboot@freebsd.org] X-ThisMailContainsUnwantedMimeParts: N On 2022-Sep-29, at 10:09, bob prohaska wrote: > On Thu, Sep 29, 2022 at 09:38:04AM -0700, Mark Millard wrote: >> On 2022-Sep-29, at 08:19, bob prohaska wrote: >> >>> >>> I'll try to gather a few more examples. >>> >> >> FYI: >> >> Building based on the latest patch-common_usb__storage.c >> that I sent (by itself) would avoid the huge number of >> sequences like: >> >> usb_read: udev 0 >> > [snip] >> >> and make the log files much smaller. Any other messages >> from usb_storage.c would still still be present. >> > > > From my point of view the size isn't a serious problem, the > script command makes capturing output easy. It seemed more > valuable to capture maximum detail until the problem is > better understood. If it's understood well enough now just > say the word and I'll recompile. > > Size might become an issue, but there are larger capacity > webservers available. I'm using www.zefox.net out of habit. In part I was going by your indication to avoid "bloat", which I had guessed was a reference to the logging output instead of the size of u-boot.bin : QUOTE The maximum logging level was 4 out of 7, fearing bloat. END QUOTE The first "usb_read:" is after the "1 Storage Device(s) found". Prior to that there is one example of a: COMMAND phase DATA phase STATUS phase sequence and one of a: COMMAND phase STATUS phase COMMAND phase DATA phase STATUS phase sequence. I'd be surprised if these 8 lines proved useful for the "0 Storage Device(s) found" issue. For issues after "Storage Device(s) found" the status is less clear and the output would be more likely to contribute. As long as you are happy with the size of the output, it should be fine either way for "Storage Device(s) found" observations. On a different issue . . . I'm also hoping that you will happen to also capture examples of automatic reset/start-over sequences. It may be that those requiring getting to the U-Boot prompt and typing commands. (Has it ever happened otherwise?) === Mark Millard marklmi at yahoo.com