From owner-freebsd-arm@freebsd.org Thu Mar 18 21:41:14 2021 Return-Path: <owner-freebsd-arm@freebsd.org> Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 9537B5AE2BD for <freebsd-arm@mailman.nyi.freebsd.org>; Thu, 18 Mar 2021 21:41:14 +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.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4F1gSn55vzz4pqL for <freebsd-arm@freebsd.org>; Thu, 18 Mar 2021 21:41:13 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1616103671; bh=Rdh1/UHLLleCApgcApuk86e9NGcU6Bir722Z6FUeQzF=; h=X-Sonic-MF:Subject:From:Date:To:From:Subject; b=rl70hPoR30eAszi4dMCzVnYo6xSKlsARD+RD7H9S4fhtSth/iiIhCBgABJRE8QWc1BMgcPcczdmOiAJRMiR27vnyYylk7PIGiKu7F64UTvk+lNrqJFjAtL0AizgZSBJ+bGjhA7vVYElVtzLlEqzMEVpipJGRJabzxI7+tBEhj5mKL4i0my3A9FxB05D8tSmMDYNcIuV99JYoIO5wGgn4m+i0P00Wn+rHXrLbACqVEHaHKYa5n38wEP6/W+CeABdKAA1h6hZ4wwPuo3BBBj0GqNzYgFYQNku1e32edZwFhoym5QSUHforlkH6VCKcaFJILcFJwrDsgmyS1RZ2hPSyPw== X-YMail-OSG: MUXy4rEVM1ktbBs4TzAy69yoards3CuaRdnJ8MHjthruk8fed_ZKQgUg1MgCDO1 sldIxcPCcB93RGY5z1gc5FADS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u_eEi4r4YmvwAoqLV1IiBrIfTt1jAQbDHpMIZwuswFz9C k1.RPNGucvF2gasywl9pz3FIFe7yVksjGBr4_QOaXvF7crv1dF7gtWbNR0q75FNWSZUKdRmBj1Bx qhklXY3du1NDmk6lPRLdasTHjB2QvJZkdqG1c3_Z7az_A98mc1ShxXLOJBiT2hAngA8CaErBFX5x 0A7H9nVXeDH.VtMJsKJgBL9OWJX5DCJ0J16JEecztgxvG0mGN0B5JwYZcQR4N6hpmqLdECJSDHOR DJ.IFXnCHZdIDTmNin87KqdynU1WsHhcna9VlXDSqG52zb4TepIqhC_hoKv85qOEOi9QfaSzaoAh vgx6gQHLVfIKyHUySx9xYMNc8fp6DweonCBUVkQ-- X-Sonic-MF: <marklmi@yahoo.com> Received: from sonic.gate.mail.ne1.yahoo.com by sonic312.consmr.mail.gq1.yahoo.com with HTTP; Thu, 18 Mar 2021 21:41:11 +0000 Received: by smtp408.mail.bf1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID dc1fe691dfae912f7b0d2287d7bb10b4; Thu, 18 Mar 2021 21:41:08 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\)) Subject: Re: RPI4 clock speeds and serial port From: Mark Millard <marklmi@yahoo.com> In-Reply-To: <E384D160-E31A-42A0-AA54-F5AD991FFA4D@yahoo.com> Date: Thu, 18 Mar 2021 14:41:05 -0700 Cc: bob prohaska <fbsd@www.zefox.net>, freebsd-arm@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <7736E7C9-173A-4823-8B0E-869157AD1CC1@yahoo.com> References: <20210318170053.GA26688@www.zefox.net> <YFONu3Ry0o6VlV92@ceres.zyxst.net> <20210318180736.GA26853@www.zefox.net> <20210318203835.GA83932@night.db.net> <E384D160-E31A-42A0-AA54-F5AD991FFA4D@yahoo.com> To: Diane Bruce <db@db.net> X-Mailer: Apple Mail (2.3654.60.0.2.21) X-Rspamd-Queue-Id: 4F1gSn55vzz4pqL X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.50 / 15.00]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; DKIM_TRACE(0.00)[yahoo.com:+]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; ARC_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[98.137.69.205:from]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; SPAMHAUS_ZRD(0.00)[98.137.69.205:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[98.137.69.205:from]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.69.205:from]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-arm] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting FreeBSD to ARM processors <freebsd-arm.freebsd.org> List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-arm>, <mailto:freebsd-arm-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-arm/> List-Post: <mailto:freebsd-arm@freebsd.org> List-Help: <mailto:freebsd-arm-request@freebsd.org?subject=help> List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-arm>, <mailto:freebsd-arm-request@freebsd.org?subject=subscribe> X-List-Received-Date: Thu, 18 Mar 2021 21:41:14 -0000 On 2021-Mar-18, at 14:21, Mark Millard <marklmi at yahoo.com> wrote: > On 2021-Mar-18, at 13:38, Diane Bruce <d at db.net> wrote: >=20 >> On Thu, Mar 18, 2021 at 11:07:36AM -0700, bob prohaska wrote: >>> On Thu, Mar 18, 2021 at 05:28:27PM +0000, tech-lists wrote: >>>> hi, >>>>=20 >>>> On Thu, Mar 18, 2021 at 10:00:53AM -0700, bob prohaska wrote: >>>>=20 >> ... >>> bob prohaska >>>=20 >>=20 >> I've been meaning to get someone to look this over but basically this >> rejigs the mini-uart baud rate depending on the CPU clock.. >>=20 >>=20 >> https://reviews.freebsd.org/D24339 >=20 > I'm confused. The RPi* firmware dynamically > assigns which UART used for the serial console > based on other settings (including a default > context). >=20 > For the default, with Bluetooth in use the > miniuart is used for the serial console and > the PL011 for Bluetooth. (Only the miniuart > has the speed variability issue.) >=20 > But with either ( in config.txt ): >=20 > dtoverlay=3Ddisable-bt > or: > dtoverlay=3Dminiuart-bt >=20 > the PL011 is used for the serial console. > That last uses the miniuart for Bluetooth > as well, letting it suffer the variability. >=20 > Is the proposed change compatible with > this? Is it compatible with Bluetooth > being what is using the miniuart? >=20 > (Note: I happen to use dtoverlay=3Ddisable-bt .) >=20 Now I'm even more confused: = https://www.raspberrypi.org/documentation/configuration/config-txt/overclo= cking.md reports for the RPi4: QUOTE Changing core_freq in config.txt is not supported on the Pi 4 any change from the default will almost certainly cause a failure to boot. END QUOTE Or, more completely, it reports ties with hdmi_enable_4kp60 and enable_tvout for core_freq: QUOTE The core_freq of the Raspberry Pi 4 can change from the default if either hdmi_enable_4kp60 or enable_tvout are used, due to relationship between internal clocks and the particular requirements of the requested display modes. Display option Frequency Default 500 enable_tvout 360 hdmi_enable_4kp60 550 Changing core_freq in config.txt is not supported on the Pi 4, any change from the default will almost certainly cause a failure to boot. It is recommended when overclocking to use the individual frequency settings (isp_freq, v3d_freq etc) rather than gpu_freq, as since it attempts to set core_freq (which cannot be changed on] the Pi 4), it is not likely to have the desired effect. END QUOTE = https://www.raspberrypi.org/documentation/configuration/config-txt/overclo= cking.md also documents the Pi3/Pi3A+/Pi3B+ as using a 400 MHz core_freq (Pi0/W as well). Only the Pi1/Pi2 list 250 MHz. My guess is that "Pi2" means RPi2 V1.1 and below, not the RPi2 V1.2 as well. It is true that the "core_freq_min" figures are almost all 250 MHz: RPi4 lists 250 MHz / 275 MHz with no clear indication of the context difference for 275 MHz that I can find. Have you covered what all the: = https://www.raspberrypi.org/documentation/configuration/config-txt/overclo= cking.md page reports for things that you are planning to touch? =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)