From nobody Sun Sep 25 22:57:34 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 4MbLrR1QZqz4d9Hw for ; Sun, 25 Sep 2022 22:57:43 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic314-20.consmr.mail.gq1.yahoo.com (sonic314-20.consmr.mail.gq1.yahoo.com [98.137.69.83]) (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 4MbLrQ0QzGz3rRQ for ; Sun, 25 Sep 2022 22:57:41 +0000 (UTC) (envelope-from marklmi@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1664146660; bh=kXuTi0fDCCl+q9MJ7p2naMpftzA1UjraQSgcwocra4w=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=VV6/qj//oimDa8rHPsSd9hwbVzEqx3hWH7D5rdf1m3sX+E837hFm1qJ3+SvsPAsi6cso9fZMFNUyQeZWLvLNbPS/Pxk6o3bnhkCNfV6tP3oLwj2V2XILRrYfp3ekcx4jVl/1H0Op3bFKPti8Nei+GPYn8wHpqGZQvVmjKXjNZX0CAmxQtqMdEtjm5+mLvDUPFsevXP2XmYmkBICFeoEHQqvmGqKsRCXfJiSY9cOW8HuuNibkcrzRQl7yLhVI6jhvLGwwL8Ad1fZPwyRQHEtVhkw+zL32/2GCzXdGycT17Fjoq1kIX+knrT/RlJwrc+I64Jw89dGCejYTHpjNdbRBYQ== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1664146660; bh=VEaUHSTbhb5fchbRqU9dS2q/16s6QlRCU1cddyYqnCh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pa1OVnvSe3oN7xol5zNEHduJFJ8iYDpUxw8IT0moOFPQ1T1puFWf6Hh6Jb21 OLWdJxBV37otHGtdA9DddxjEaOCBOt6BAat3X48swhC.N5r6LAIEUkckHt7rukEzJK.cM6U2mTg_ n8b0Vb_1Y_eXafA.AAwCqCYzuQbzhoY8BqR1gU1ifX5DANs4VVo8KgujHXJTh2D_eEfe1m5ST0nk gyAPzdpqJaUVssQCv2nzaQpL6vapGLR6X1iHzmClUx.uk5Voo96Bj0RhpLt2OUACkvGLvkRI6E5j jhht3qTwrUJLi._PXIPiUzgmP.ZOl5zTayB8HBwfUrzkIL4Sa2.46TfbhMd3RUT_sPmyK5NEruAM XKXlM89a6tndr9uHw2_7CLXmfrnehcN7kpWgsHdHl3rvn1hWlbrK8O9jWW6ZvMmS4Sfav4QYAtFS QG.uoO5XKKMygSbZJ1WQRXnixQ7tbEwdPYwCQ4xxmqtCjqRPVGCbB_3rtKnInLng9bGQcEpOlVTI lYvuUVwZKNurJG1IHRjPoigqnbQTwPXCJri96O2KelFsR5iA2_WfeNETMqQkrLecn5wWrW63boF1 k X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic314.consmr.mail.gq1.yahoo.com with HTTP; Sun, 25 Sep 2022 22:57:40 +0000 Received: by hermes--production-ne1-6dd4f99767-4dqfp (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID b7900d7cb0c43cd00c621ef708e6ce2d; Sun, 25 Sep 2022 22:57:36 +0000 (UTC) Content-Type: text/plain; charset=utf-8 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: <20220925193415.GA63733@www.zefox.net> Date: Sun, 25 Sep 2022 15:57:34 -0700 Cc: FreeBSD Mailing List , freebsd-arm Content-Transfer-Encoding: quoted-printable Message-Id: <0C5BA8D9-0EEB-421A-99E7-2E6F10D5D425@yahoo.com> References: <20220919221553.GA33878@www.zefox.net> <9A2A4E83-22F2-4441-82BF-0B8E6718ED34@yahoo.com> <20220921154240.GA37735@www.zefox.net> <8CC2A42B-21AC-44C6-BD02-44D320CADF63@yahoo.com> <20220921175026.GA45144@www.zefox.net> <5DB9C93B-B9E1-418D-ABA3-8A0CFCE85C0F@yahoo.com> <3781CF46-C4F7-4579-8655-B7558B724C0A@yahoo.com> <20220922014500.GA46697@www.zefox.net> <20220925160531.GA63213@www.zefox.net> <20220925193415.GA63733@www.zefox.net> To: bob prohaska X-Mailer: Apple Mail (2.3696.120.41.1.1) X-Rspamd-Queue-Id: 4MbLrQ0QzGz3rRQ X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b="VV6/qj//"; dmarc=pass (policy=reject) header.from=yahoo.com; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.69.83 as permitted sender) smtp.mailfrom=marklmi@yahoo.com X-Spamd-Result: default: False [-2.23 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; MV_CASE(0.50)[]; NEURAL_SPAM_SHORT(0.27)[0.273]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; MIME_GOOD(-0.10)[text/plain]; FROM_HAS_DN(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; RCVD_TLS_LAST(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[98.137.69.83:from]; TO_DN_ALL(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; FREEMAIL_FROM(0.00)[yahoo.com]; MID_RHS_MATCH_FROM(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; MIME_TRACE(0.00)[0:+]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; MLMMJ_DEST(0.00)[freebsd-arm@freebsd.org] X-ThisMailContainsUnwantedMimeParts: N On 2022-Sep-25, at 12:34, bob prohaska wrote: >=20 > . . . >=20 > IIRC I did try replacing the Sabrent enclosure with the Startech > enclosure, which worked and seemed to implicate the Sabrent as > the culprit. Thus my interest in u-boot debug information. =20 Looking at https://u-boot.readthedocs.io/en/latest/develop/logging.html it appears the logging availability has to be enabled at compile time: QUOTE Enabling logging The following options are used to enable logging at compile time: =E2=80=A2 CONFIG_LOG - Enables the logging system =E2=80=A2 CONFIG_LOG_MAX_LEVEL - Max log level to build (anything higher is compiled out) =E2=80=A2 CONFIG_LOG_CONSOLE - Enable writing log records to the console If CONFIG_LOG is not set, then no logging will be available. The above have SPL and TPL versions also, e.g. CONFIG_SPL_LOG_MAX_LEVEL and CONFIG_TPL_LOG_MAX_LEVEL. If logging is disabled, the default behaviour is to output any message at level LOGL_INFO and below. If logging is disabled and DEBUG is defined (at the very top of a C file) then any message at LOGL_DEBUG will be written. END QUOTE (There is more about "Using DEBUG" vs. LOG_DEBUG and the like that I'll not quote.) =3D=3D=3D Mark Millard marklmi at yahoo.com