From nobody Fri Jan 12 20:32:45 2024 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 4TBYBn1JXsz56JFm for ; Fri, 12 Jan 2024 20:33:05 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic305-21.consmr.mail.gq1.yahoo.com (sonic305-21.consmr.mail.gq1.yahoo.com [98.137.64.84]) (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 4TBYBm5vD0z4MX9 for ; Fri, 12 Jan 2024 20:33:04 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1705091582; bh=tWpSGPovM8hZdGhRDcUuza29BhcccfPgC4Me2kL8SNU=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=Kv3DrAvtzp2bWrCr9fDfLxnho2hgIHFYIfsprqCyejGo1gjj+/nb6tyOVuzjLgFmy/sS7mFhkfsE8TdAR9SnOMEaxdid8xxuULAJmzpySyj0G2KZbl4x2aTF9MP7/v1mec4Ho8/bSuQFYXh42J4RnZr9ihZhqQoWMvkr/fRyB+9wPWkhdnuxke93aWt2zdgN7fikC9h6zmPHqnFJAQnJryjpb6H7UVsAgWZE/DIH2cpF4Yx7xiWbA1hqwSZAB+1d/2LR+ECUC1ZsXKD+uz9+sA8IhpHNr53i8jeR5tkVDU3S1LkslpVc8Z517h/IV04xIeIzp4dLQ/Uql6l2/5BuFw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1705091582; bh=A+oRXkxt2tjuN3j+ZRuRm8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ShGyqlgUI6FDyUQ1Vy2 kWqO_8JkufRbPMJG2jRBB4oVJXk_S9PXzYMLLyfokRsUcMhcjGWzyuWHaYa2ZvhayEaredygpqOD 9hAPrFmGaeT2gJUwdkELfSCjPT0n_HRlCVuPBcaNX4yh6raw9N4E_JJQH5qjtYgKV.GxwEn0SIfq TwiIgVVFj7BwjItJcAuIbwi3RNOm5QXOUV6PtfQN8g4XsyVGY7g1Hn1CR9mFe_d.TPUk2OLVuDAJ zY5UGtkmFJgMaEt4Fmxk57_EyVrD5GtClwqOLZrz0dWvXeuPjZWNPSMqq6Fcg2KPMWf4ViY_2cAc Uie4mTlhpSxXn5yw.VHnNIg7MYd672rRUfyVWePa4PiVGMze77vaIx30MzbqAagKp6.zKv4xXmgq KAj0zNd2T5q0YpINKhAB89Z1tGHFxt52UBmSW1Ev_j_N0.qnkqR45cAjAWo9.4u7wnF2h8zDIdM7 gnyUQdwsXJK0sRSZEXRjYyMYv48b5fEgqYw3580S0FJY_U6DXx3pE8.gmEOtw47Cv_InE2pnGuki 6iyelt4vitGPi7TG2ldKu3En0PQG.1Nf32x2nnnpXaW6WjVe3tcd69nZqvyDEdsAUaFdWiWcGFw- - X-Sonic-MF: X-Sonic-ID: 510a1958-4815-4a01-baf8-d1a8c7e9e6a2 Received: from sonic.gate.mail.ne1.yahoo.com by sonic305.consmr.mail.gq1.yahoo.com with HTTP; Fri, 12 Jan 2024 20:33:02 +0000 Received: by hermes--production-gq1-78d49cd6df-hlpbq (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 0f7c658edb5e4e20cf22bb61e151521d; Fri, 12 Jan 2024 20:32:56 +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 \(3774.300.61.1.2\)) Subject: Re: USB-serial adapter suggestions needed From: Mark Millard In-Reply-To: Date: Fri, 12 Jan 2024 12:32:45 -0800 Cc: freebsd-arm@freebsd.org Content-Transfer-Encoding: 7bit Message-Id: References: <7D27DF9F-AA9A-4D44-BC28-8CC637D0F550@yahoo.com> <3012A549-9482-4D69-9DF4-7987E650DFFA@yahoo.com> To: bob prohaska X-Mailer: Apple Mail (2.3774.300.61.1.2) X-Rspamd-Queue-Id: 4TBYBm5vD0z4MX9 X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US] On Jan 12, 2024, at 12:03, bob prohaska wrote: > On Fri, Jan 12, 2024 at 10:48:01AM -0800, Mark Millard wrote: >> On Jan 12, 2024, at 09:25, bob prohaska wrote: >> >>>> >>>> Please do not use a configuration based in part on armv7 FreeBSD >>>> config.txt material any more for the testing activity: Just use >>>> the FreeBSD normal aarch64 configuration with the force_mac_address >>>> related material added at the end. >>>> >>> >>> Just tried it now. The boot seems _extremely_ slow and invited >>> at least some intervention (manually typing run bootcmd_usb0 >>> at the u-boot prompt) but it did come up multi-user. >> >> The above seems odd to me. What version of U-Boot is in use? > > Older, U-Boot 2022.04 (Oct 02 2022 - 23:00:31 +0000) Do all your aarch64 RPi*'s use that aarch64 U-Boot vintage? If not, it is another undocumented source of context variability. What vintage of EFI/BOOT/bootaa64.efi (in other words: what vintage of the FreeBSD loader for aarch64 contexts)? Are they all the same vintage? If not, it is another undocumented source of context variability. For armv7 systems: EFI/BOOT/bootarm.efi ? Going the other direction (earlier in the boot sequence): what vintage(s) of RPi* firmware? Are they all the same? If not, . . . > It's possible the boot would have completed on its own had > I kept my mitts off the keyboard. The loader boot delay > countdown ticks seems slow by about 10X. The FreeBSD loader starts after U-Boot is done. You wrote of forcing U-Boot to speed things up. I'm confused. There used to be notes around about the countdown rate being slow and what contributed to that, if I remember right. But I'm not sure I could find them any more and I do not remember any detail. > That might > explain the > init_uart_clock=3000000 > in the old config.txt. I doubt it. > I should have said earlier that this particular Pi3 was > configured to boot direct from USB, without a microSD > card, but never would. I ended up using a bootcode.bin > file alone on the DOS partition. On a microsd card, I presume. For the RPi3B, RPi2B v1.2, and RPi2B v1.1 I always use a microsd card with a modern bootcode.bin and a timeout file but otherwise boot from USB. That bootcode.bin handles more of the modern config.txt notation than what is built into the RPi3B, RPi2B v1.2, and RPi2B v1.1 does. There is other additional functionality as well, as I understand. (The RPi3B, RPi2B v1.2, and RPi2B v1.1 internal bootcode can not be updated, just avoided via the bootcode.bin on a microsd card.) > I should probably pull > the microSD card to see if the new config.txt changes > that behavior. For RPi3B, RPi2B v1.2, and RPi2B v1.1 (not RPi4B): I recommend using a microsd card with a modern bootcode.bin and, possibly, the timeout file. Using the older, internal bootcode is more likely to have problems vs. modern documentation/operation. === Mark Millard marklmi at yahoo.com