From nobody Tue Jan 30 20:10:44 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 4TPbrh5Kccz59T95; Tue, 30 Jan 2024 20:10:44 +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 4TPbrh4mpXz4dGf; Tue, 30 Jan 2024 20:10:44 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1706645444; 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=WciP65kVBJSWODgoQUYO8FPgBpN5E6iEm8Wk1CquDwk=; b=nUYveJFenEz2YiaXo8yQ8VONw+DD17FZRwV40KolDuqkWWuHDjhPgwvYYWVwyPWpJFOrzJ il6qC0MoO6dpmj5Y9KTwRmnrRemPqd8FWYHx6ahPuk5+gGT52iBp68VodgFBZLXCDlcowP 1MPh3BqRRh0IbSwUone5tpHE6WxOwdBRDNXqXOBMXepNRAhaf8wRGSb2YvGzdydsoShCp4 zi0hHe3EHgsMZnO8YfN+xoI2cGc3OhEmDSHiLUcZDyQKV+I6I3j85tByX+OweiCdWbbLIR ABRc705vjyo/pppFiLxQXtzPHa58ruKvQrWUa/5liwXV4/7h5fTwIwzS9/Om6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1706645444; 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=WciP65kVBJSWODgoQUYO8FPgBpN5E6iEm8Wk1CquDwk=; b=TKcBV8Y4Tuj2hbKHaJ4oFbu6wc1tObifD2mf7FPact31UojpFxyQeKO6IZHETopt5E0qlP vkpYZY4B5cFJBFjrY0F8AyEgi1AoDp684734ePfJtq0xzI+cpyPp2oZSk57ods1yXJoyyd Ev77hBiExdjKuEp12CblGtaVnh3kZz9WpFbLXr3VumqJngjyQ8r3d17f9XNdz3WjFq7trz p8NF/mshcMv0muFNnhigc8OQ3Q+KSqkeUiqIibAPeiQC1rvZwN8F3aqop0EQN1y2sKzr/s ibapCayX+gzhNruQATX0mtfcH/DM5/XO9I4Wvg2K2aPwz0/6ad/GHgxh/I7WMA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1706645444; a=rsa-sha256; cv=none; b=PapZHe1a5EUbpKTwUfHt2ycOkUcZM8lxyDZbjZK2tiK7hl4hJ/eIbiGJlrH0G3HLkI1KRJ 2csJ6XzxqwKdEEbyzegbhsBldIGzj0DPKjIdccQ8cGZ4JYwohf46Z4sRdHlvog1jGcykzZ tTF29UOvyLFRpXFg2o32Q60Y/ev7jeD+MPm3oX7xEzCMcGRLeJc7xTicEIC26DSpBwJueB BW3C4LJ0YuSdo/Slh/B2fk0ZmnHGZ9kGaeX06uE86NxHdpPkL6N9etVOoYnxNLVHEX9Z5g T6bJX4nB7FS8K9CDQEFO4h2WAlEFVEdhKMaZhtcksX95azVdhW5zWOB72571GA== 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 4TPbrh3qvmzpsC; Tue, 30 Jan 2024 20:10:44 +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 40UKAiKk096773; Tue, 30 Jan 2024 20:10:44 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 40UKAiTM096770; Tue, 30 Jan 2024 20:10:44 GMT (envelope-from git) Date: Tue, 30 Jan 2024 20:10:44 GMT Message-Id: <202401302010.40UKAiTM096770@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: 0c6e3bfd1362 - stable/14 - 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/14 X-Git-Reftype: branch X-Git-Commit: 0c6e3bfd13621cfa2dbc432b08cbfb3dcf012d87 Auto-Submitted: auto-generated The branch stable/14 has been updated by karels: URL: https://cgit.FreeBSD.org/src/commit/?id=0c6e3bfd13621cfa2dbc432b08cbfb3dcf012d87 commit 0c6e3bfd13621cfa2dbc432b08cbfb3dcf012d87 Author: Mike Karels AuthorDate: 2024-01-05 19:41:24 +0000 Commit: Mike Karels CommitDate: 2024-01-30 20:10:00 +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 4f668cabea77..1a36a3af521e 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 c7beb6692f7a..2a3a278fbee6 100644 --- a/release/tools/arm.subr +++ b/release/tools/arm.subr @@ -224,6 +224,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}