From nobody Tue Jan 30 20:11:13 2024 X-Original-To: dev-commits-src-all@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 4TPbsG1DWdz59T0D; Tue, 30 Jan 2024 20:11:14 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TPbsG0msDz4fD2; Tue, 30 Jan 2024 20:11:14 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1706645474; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=X6/i9pqaHndhIJmnfFRVARB7ZtgQwW1SdEcdvYT1SgM=; b=bcTW0e0/4TwsIePEb3o4rewvusnMgzUs+TiCTwiV2ohdUC+Cf7Dba/7XT0r8wrFtE1g8KO ke2bP99u2mXfub4UhtH7uuTMRNZD9c9jBzOKtDIiqE8BlYp70OIjF6fLYDLFU4wd0EvTgg gpsoZHj8p9TZVEoGjTL9rKQkNGjtsG9qQ6vDuQyfY4/QyWqRqny0y2fX7raJs0aQ5AYlBG MZSuZlp7FB9k+dn2vaatMj2KDqThLI9GUT2dRtv3H1dXVS5trWB5NFHaAYbiUrqWtBIiCn +J4rs5AyxjWjeuexUjxGIJCG9cAGohiNlESKug31yGfhuhG8O3QIPWo5+KFRlw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1706645474; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=X6/i9pqaHndhIJmnfFRVARB7ZtgQwW1SdEcdvYT1SgM=; b=vAU19O6XuW5QHwBCOwpGqUEPQJkEpQLHVMjLPEODOJRFiXdHMVnuewg+5f/W/legHGGUzF cZERcEdExdwojFZGKAhijMD1QA0GQmudtUNExiIpOzMf8uj0AoLaxeWMQAI0xj5n5Z3+UG NFrWlMUUtBa7kTywKj0CgGPiyD9jF6KD0UgDFHea7RcBe1QNYe66O/RnMjzGF37PGxLtBv sFuZPWlW96GfB4O/SqorLP17z7vvB+UL7MKfkcn2FthV9BIaNkSSt412Wk7B3S/dXnveNZ /HglX3T8deSAK+hIWPpUGnRsfMKQtx6QkcEcO8wnQyuGI/6kjCe1awpNAoszDQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1706645474; a=rsa-sha256; cv=none; b=gDjCRZr0ak0g0EF7UAqtadI/p98aPtwqcdW9Wdu2bbY3XgdLSQGiQF6ox1IysgeqI6cqCQ VGYorxXUHCJZYexS7vBo6mAB2OyfLE43WPZz76dv7BqrNUoutvhKct00/DSLfhix/k9GAo JyW9UnxdIEhhR3xcBH555Flp2Va1JeR1st12AHou/Ok1btrYf10Ghe3BsZahnAqdR7uZxj G5+fnHg+M4XgHhi2nU4GUkMVeyIA8PQAAJokWLMeRqbq5v1ERaW9RXA9jcYEozr69uUwZV DdBh76oA19Qh5retODZoZyLgzfSSRjqlHmtOkq1sQ6FBPKl0Ar4MytBHjcJeTw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4TPbsF6z76zpmQ; Tue, 30 Jan 2024 20:11:13 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 40UKBDid097969; Tue, 30 Jan 2024 20:11:13 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 40UKBDc4097966; Tue, 30 Jan 2024 20:11:13 GMT (envelope-from git) Date: Tue, 30 Jan 2024 20:11:13 GMT Message-Id: <202401302011.40UKBDc4097966@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Mike Karels Subject: git: e889b5a892b6 - stable/13 - arm64/RPI: enable powerd by default on arm64-aarch64-RPI images List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: karels X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: e889b5a892b63e5868ffbcbf82f55cbe79dda5ac Auto-Submitted: auto-generated The branch stable/13 has been updated by karels: URL: https://cgit.FreeBSD.org/src/commit/?id=e889b5a892b63e5868ffbcbf82f55cbe79dda5ac commit e889b5a892b63e5868ffbcbf82f55cbe79dda5ac Author: Mike Karels AuthorDate: 2024-01-05 19:41:24 +0000 Commit: Mike Karels CommitDate: 2024-01-30 20:10:56 +0000 arm64/RPI: enable powerd by default on arm64-aarch64-RPI images Most 64-bit Raspberry Pi models have a variable processor clock speed that defaults to a slow speed (e.g. 600 MHz for a nominal 1.5 GHz clock). This results in everything running slowly unless or until powerd is started, and FreeBSD is then thought to be slow. Enable powerd by default in /etc/rc.conf on the arm64-aarch64-RPI images. Tested on Raspberry Pi 3B+ and 4B so far. PR: 256836 Reviewed by: rgrimes Differential Revision: https://reviews.freebsd.org/D43296 (cherry picked from commit 4347ef60501f2a55ad31f7532ad903b81f3af18f) --- release/arm64/RPI.conf | 1 + release/tools/arm.subr | 3 +++ 2 files changed, 4 insertions(+) diff --git a/release/arm64/RPI.conf b/release/arm64/RPI.conf index 6030bc584574..27b638702c6a 100644 --- a/release/arm64/RPI.conf +++ b/release/arm64/RPI.conf @@ -17,6 +17,7 @@ OL_DIR="${DTB_DIR}/overlays" OVERLAYS="mmc.dtbo pwm.dtbo disable-bt.dtbo" PART_SCHEME="MBR" export BOARDNAME="RPI" +CONFIG_POWERD_ENABLE=1 arm_install_uboot() { UBOOT_DIR="/usr/local/share/u-boot/u-boot-rpi-arm64" diff --git a/release/tools/arm.subr b/release/tools/arm.subr index 6656cbff81e8..cdc086c56337 100644 --- a/release/tools/arm.subr +++ b/release/tools/arm.subr @@ -223,6 +223,9 @@ arm_install_base() { echo 'sendmail_outbound_enable="NO"' >> ${CHROOTDIR}/${DESTDIR}/etc/rc.conf echo 'sendmail_msp_queue_enable="NO"' >> ${CHROOTDIR}/${DESTDIR}/etc/rc.conf echo 'growfs_enable="YES"' >> ${CHROOTDIR}/${DESTDIR}/etc/rc.conf + if [ -n "${CONFIG_POWERD_ENABLE}" ]; then + echo 'powerd_enable="YES"' >> ${CHROOTDIR}/${DESTDIR}/etc/rc.conf + fi sync umount_loop ${CHROOTDIR}/${DESTDIR}