From nobody Wed Sep 28 02:25:09 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 4McgM41Vwvz4V7t6 for ; Wed, 28 Sep 2022 02:25:20 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic301-20.consmr.mail.gq1.yahoo.com (sonic301-20.consmr.mail.gq1.yahoo.com [98.137.64.146]) (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 4McgM26gjjz3Zbq for ; Wed, 28 Sep 2022 02:25:18 +0000 (UTC) (envelope-from marklmi@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1664331917; bh=LP2zQwCtKp418SSDQeJqXS8dbM00fQDAm+K2taYFw9U=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=gTuM99ijriC8umej2OTeP2IWiteuPyH0oeE7ZTecxMAikDXH+oWJfjk2r3xklNDbZNufxNOEASLyxXTltfgsaZKpZGPj3C5iNHlM2o5tQBdSubtGJ+ca7j+fhdj3BppOWa73GyNyLDyEY7RlbyaYjPvVhDYpeiKeOBzVIIUIhgQ+HhDpphSahDk6+BDpdYS7737DuY34jqo+EfkvK22OketaNHNA1h9JNL5CCQ29u/2T3UECQrCaAQi4IOAri46N2bfijfGle8Mt21htDqDMkey0FlepjyiSXINCaJZaQ+4NbzEYG26lisMHS01eFkkFx8pxdghJ8LXK+GepgdaVLQ== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1664331917; bh=j3pBNGp1mTUTjj/Le6/idOr9w4294mMRIIkJOkB5+lb=; h=X-Sonic-MF:Subject:From:Date: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o7xhuoJjMSSLi_mwNZIR96Ku6SYCz0H kRRtG.6srKawjXJq1EF_mPVLLyN4znjnpuCzlLsvNVSKA5yTuEGunUAnISkzrGaXJD21NZQ6DSbq Eu.Tuf3oD3BH2DfqbkIkBeAL9mKm0BrDyhYNM3CdWFIeOM.Rq80k49wG_jWCUIxbX9.RzPT5HVSu pJW4CGBHsNs85dchT5vSm4UCnC52.brMzSJBbb63BXFvuceDAg360LxkHG0BkIIahJJx.x5sYFb3 24RInIcTFfIAWpWDpQoWUukEziFEKZvatynAy48UvI0ArFXY6P69spzUXD6mNe6FKlmt6fwyzuSG eZc9lwK1RJfQmHuexSAvwoKhKNWKQmbk.KlrRMhkVW5xNkRAxh.X3_7jisZkfDUGkdcf_V2pwHJH etwoWUkW2nshjh30uZL1rB8mfyDaTv_TAhzrZhkuJUnmMGPgS6e6PunP.v4xA80QyO7K_nmO_6VL 5xVmQ4wMwsgEx3WPkmp_V33eKzt_s1_.uRGFrZ9ElyXGS7OnXas.35tjpuak1LrPfBX_y4y0HtqF vHghCVIF5 X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic301.consmr.mail.gq1.yahoo.com with HTTP; Wed, 28 Sep 2022 02:25:17 +0000 Received: by hermes--production-bf1-759bcdd488-v8j49 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 35b2e023577342379fe6dfd1e51b063b; Wed, 28 Sep 2022 02:25:12 +0000 (UTC) Content-Type: text/plain; charset=us-ascii List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: 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 From: Mark Millard In-Reply-To: Date: Tue, 27 Sep 2022 19:25:09 -0700 Cc: Klaus K??chemann , freebsd-arm@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <67C09E9F-AD1D-4D0D-9E6F-9C1B046D8952@googlemail.com> <4154AFCB-7428-4005-843A-4EF8C0EBCCB8@googlemail.com> <9A3609DF-D873-4712-A61D-C351C162EF2A@googlemail.com> <61CFA9D4-8DFD-41C5-A2B4-E5B3CD78C327@yahoo.com> <650FD030-783D-46C4-8CC9-50D608569898@yahoo.com> <81C8A094-8492-41DC-A74E-486A9225A2A3@googlemail.com> <760FE9D5-7A1D-40C2-B4CC-E90B300F5B3B@yahoo.com> <20220927232930.GC72077@www.zefox.net> <9F57D5D0-F715-4DD2-A05C-FB2B9E8B5C30@yahoo.com> <20220928015721.GA73356@www.zefox.net> To: bob prohaska X-Mailer: Apple Mail (2.3696.120.41.1.1) X-Rspamd-Queue-Id: 4McgM26gjjz3Zbq X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=gTuM99ij; dmarc=pass (policy=reject) header.from=yahoo.com; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.64.146 as permitted sender) smtp.mailfrom=marklmi@yahoo.com X-Spamd-Result: default: False [-3.49 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-0.999]; NEURAL_HAM_SHORT(-0.99)[-0.994]; MV_CASE(0.50)[]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; MIME_GOOD(-0.10)[text/plain]; RCPT_COUNT_THREE(0.00)[3]; FROM_HAS_DN(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; ARC_NA(0.00)[]; MLMMJ_DEST(0.00)[freebsd-arm@freebsd.org]; RCVD_IN_DNSWL_NONE(0.00)[98.137.64.146:from]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.64.146:from]; RCVD_COUNT_THREE(0.00)[3]; FREEMAIL_FROM(0.00)[yahoo.com]; TO_DN_SOME(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; RCVD_TLS_LAST(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; MIME_TRACE(0.00)[0:+]; FREEMAIL_CC(0.00)[googlemail.com,freebsd.org] X-ThisMailContainsUnwantedMimeParts: N On 2022-Sep-27, at 19:13, Mark Millard wrote: > On 2022-Sep-27, at 18:57, bob prohaska wrote: >=20 >> On Tue, Sep 27, 2022 at 05:14:54PM -0700, Mark Millard wrote: >>> On 2022-Sep-27, at 16:29, bob prohaska wrote: >>>=20 >>>> On Tue, Sep 27, 2022 at 03:27:10PM -0700, Mark Millard wrote: >>>>> . . . >>>> . . . >>>> U-Boot> usb reset >>>> resetting USB... >>>> Bus usb@7e980000: dwc2_usb usb@7e980000: Can't get reset: -2 >>>> USB DWC2 >>>> scanning bus usb@7e980000 for devices... 6 USB Device(s) found >>>> scanning usb for storage devices... 1 Storage Device(s) found >>>> U-Boot>=20 >>>>=20 >>>> Issuing >>>> U-Boot> run bootcmd_usb0 >>>>=20 >>>> Device 0:=20 >>>>=20 >>>> [tens of seconds pause, looks like u-boot started over] >>>>=20 >>>> U-Boot 2022.04 (Sep 27 2022 - 15:47:57 -0700) >>> . . . >>>=20 >>> Do you have RPi* firmware debug output ennabled such that >>> you would see messages from it if the RPi* firmware started >>> over? >>>=20 >> I do now, enable_uart=3D1 is set in config.txt >=20 > Good. Beyond enable_uart=3D1 there is, quoting from: https://github.com/raspberrypi/firmware/issues/1301 QUOTE "uart_2ndstage=3D1" causes the second-stage loader (bootcode.bin, Pi 4 = EEPROM) and the main firmware (start*.elf) to output diagnostic = information to UART0. Output is likely to interfere with Bluetooth = operation unless disabled ("dtoverlay=3Ddisable-bt") or switched to the = other UART ("dtoverlay=3Dminiuart-bt"), and if the UART is accessed = simultaneously to output from Linux then data loss could occur, so this = is not a feature to activate except when trying to diagnose a loading = problem. END QUOTE It is possible that this extra output might put out messages about watchdog activity if such is involved in the restarts. For the current purposes, dtdebug=3D1 probably does not provide anything of interest. But it is available to enable as well. =3D=3D=3D Mark Millard marklmi at yahoo.com