From nobody Wed Sep 28 01:59:29 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 4McfnN2pNwz4V5Wm for ; Wed, 28 Sep 2022 01:59:36 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic310-22.consmr.mail.gq1.yahoo.com (sonic310-22.consmr.mail.gq1.yahoo.com [98.137.69.148]) (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 4McfnM2Vtwz3XkX for ; Wed, 28 Sep 2022 01:59:35 +0000 (UTC) (envelope-from marklmi@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1664330373; bh=NzpIrZDoYRTdYaBg1ilD14pVFELxnNx8j7z5ZTjIgaw=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=V8mnGpVXWr5P9a0fmo/5t+kMLogDTEfQKue/4J6w0auuRWG1XCRNLoWNfU0wigMGk3Pv0tWNTr91O744mzfOFYuFC8el4UdXFZpMY5AJEVjBWFdKxmO1C/8Vbdmw00RJuLboB/6+h7g0v6FH+vBJTFi+v+7ThAJ7RsOuCND/olEfYbMlPQCfl0Cl7f2F0jPJZE0SBQ0RimASSZ/eBBn2CYcZyN4F0ev5uqUWpCOv0c0wx4qTpiUFa4sOWTyijUur5kxtZNAtqSz/QyKeHDJyYs4DXDuEdWkZCqSgJoXHytEU4Dhh3vGn1UQBqCNHLIeslnzCBtvIHa6zhy2iX15oMQ== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1664330373; bh=6S/t9+6vIEPFZ0JfudcjJPrOGyTP7rhjq0+GiW2c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W4QwgJireMijnyFy152NDUpxzJLRkuFqNZ oBp08lWeLGZyoJVRY82Icz8.UcxuAc9gnhpyMNx7YXhOPeeq1YvEjIWsmw7vLLByAkX.QrUpj153 TAV4AmG2rSOO20JftqDog46GSMau3.ViUo1pzDLTBpVyloo61Opp81SZk5mZfrUHouLq9YGMGmUn KoLpt0IFxj8j6okdC1K.W00tnn7on_kcEHJ7JICiYdOeWGhGmJn4iprJAtZf6_VZ_NrnbQ8BONw0 AkPlx7ZRbtYOregbTT5RJShxXXE80wEbAqC3j_jMV7ExMrF3HvvbyVFEcunuAkDwE0d0CNWpQ0uG MaQAFmIRpXlwviTJZqCAqUyuQrqe.M5xowDW.J5HpgdAGalIPeMqEhgNgbs6QmERdv_oaMxc7ksV 8nHcAfy74T6BzXXqNeFh.hJVq7OQG.nwT6iNXiYMYfO9WXVae2JAUie5S65qalLIWzku1K.ThOio UAztV1kU34myFx_46nC42.Fbxh1MkmAgLVEEMgkYAUhCJ1j2F0rnAtS2wAu55mN53KP_K_mm1LHR AJymKmCOC X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic310.consmr.mail.gq1.yahoo.com with HTTP; Wed, 28 Sep 2022 01:59:33 +0000 Received: by hermes--production-ne1-6dd4f99767-w779p (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 51f457168e8cd1a106eed8b48effe2f1; Wed, 28 Sep 2022 01:59:30 +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: <20220927232930.GC72077@www.zefox.net> Date: Tue, 27 Sep 2022 18:59:29 -0700 Cc: Klaus K??chemann , freebsd-arm@freebsd.org Content-Transfer-Encoding: 7bit Message-Id: References: <3D6CF13E-261D-41D2-AC5B-923C0BF54087@yahoo.com> <20220927160328.GA71742@www.zefox.net> <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> To: bob prohaska X-Mailer: Apple Mail (2.3696.120.41.1.1) X-Rspamd-Queue-Id: 4McfnM2Vtwz3XkX X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=V8mnGpVX; dmarc=pass (policy=reject) header.from=yahoo.com; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.69.148 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_SHORT(-1.00)[-0.998]; NEURAL_HAM_LONG(-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.69.148: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.69.148: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 16:29, bob prohaska wrote: > On Tue, Sep 27, 2022 at 03:27:10PM -0700, Mark Millard wrote: >> >> Until the following are changed to have appropriate >> values at the overall configuration level, it does >> not appear that LOG_DEBUG and/or DEBUG will do >> anything: >> >> QUOTE >> The following options are used to enable logging >> at compile time: >> >> CONFIG_LOG - Enables the logging system >> CONFIG_LOG_MAX_LEVEL - Max log level to >> build (anything higher is compiled out) >> CONFIG_LOG_CONSOLE - Enable writing log >> records to the console >> END QUOTE >> >> I expect that means having them set appropriately >> in rpi_arm64_defconfig for the experiments. >> > At long last I did it correctly and got a u-boot.bin > that's just under 600kB. After issuing shutdown -r now > part of the output includes > > Uptime: 1h38m7s > Resetting system ... Note the lack of output from the RPi* firmware at the point in the sequence. This answered an earlier question: you can not tell a full RPi* reset with the RPi* firmware starting over before U-Boot starts over vs. just U-Boot starting over. I expect that when you have said/shown U-Boot as starting over that in fact the RPi* reset and the RPi* firmware also started over (before it starts U-Boot again). It would help to enable getting some output from the RPi* firmware as well so that you have evidence for when it is (re)running. > U-Boot 2022.04 (Sep 27 2022 - 15:47:57 -0700) > > DRAM: 948 MiB > RPI 3 Model B (0xa02082) === Mark Millard marklmi at yahoo.com