From nobody Fri Jan 05 19:41: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 4T6DNm6Gv3z55jQ8; Fri, 5 Jan 2024 19:41: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 4T6DNm5JqJz46W0; Fri, 5 Jan 2024 19:41:44 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1704483704; 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=GYcihkG8yQcSpNa2J/a1XSNP015knD3qJhROYM+TmmE=; b=AQqIe6kQDyXg2CfMynLvCrZKNtXoUbVTRIspXKmt7akCfbbqLY4PWTFhosJOtAFvwGB74v jP6tRobF3k8cxBOtyWK7plt0qzTgXujs29Rh0gJLiud60oYNFDamQIlFlmBXjpynm36GWH obDu3eAQTHYcYv8YoE5iwvqMW8sSTswGzfdNxSFowa0XkRFrlEBE9Hr5+aJ/8W4Mbc7Ug3 u0VvgIErWqNJPWQd7wwfihAeRx+F3RkSaGb7mWLr324BHvdIP3tXzC6V0Nccyk5kWbmvJy 6qUvy/8RI9Js4bHdUM9z4hEoqCKa+B5BFAQ734gW478+IfbLsdGQGfQJhyJycQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1704483704; 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=GYcihkG8yQcSpNa2J/a1XSNP015knD3qJhROYM+TmmE=; b=tTkoHCI7VWxCmwXyaGXrTPL+XphK/FzK5GIv7Tr/otpO7pnp0in5RGwES5np/40NuCdhaf CCNLOZfEurbYRYt8V/k7oyI7wxNF7JNbfhpU90ZRKCTmNU1n1llwQKFOfKBRZtqQPuzSUe 2VZV20mZZNw/uzwLXmTpJkXj3ZLOR0RWrqD/9tPd+FpXB1fA8Cvt0TGRoSe6Umk6A9LgIt EWmoXXxs2IjJ+HE/UZbk8qDuIBKPfCgp87sAQ1dFNOTYFTbNf+3McnyINnAoI46MHS/uPO aJ5ZDXt3cxwHz/WbKEMxAQXzGknlRd/Fhi5h9OGyYL5PwWnHHrhWZVM/HjTyyg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1704483704; a=rsa-sha256; cv=none; b=yZD0oVz9BG+r+PBNqJ/hSa0IKHF/4FVi+aKOMNJtCCJ6gByMmwggw81+apgMbZSLw9gq+P l2a49hyVD2VcphDgHwobSHTbhuRRfkD2iysX1SBAcMc5AIMX+du2o0/DnTb+7YeN3/mWlh ACkDOwvKcfqmZ9vl41KDhghBXGGDiJdeI3hPmtoQVWx46qQsozpB59tRZ3QNBM2VqZi2f4 Vaeu5poumq1jGTmpMwsKGmnHuHpoRN/Y7DhRTihq47lcDLMcSH9x4jfpoX28EytE0WF1zH 48StJdti0JhqB7L6DSdZA3aL/BkMsXeqkbT7dlz1dlTDT6PVfnaZCIkgGbOjJQ== 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 4T6DNm4M4Fz196T; Fri, 5 Jan 2024 19:41: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 405Jfi8H074118; Fri, 5 Jan 2024 19:41:44 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 405Jfinw074116; Fri, 5 Jan 2024 19:41:44 GMT (envelope-from git) Date: Fri, 5 Jan 2024 19:41:44 GMT Message-Id: <202401051941.405Jfinw074116@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mike Karels Subject: git: 4347ef60501f - main - 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/main X-Git-Reftype: branch X-Git-Commit: 4347ef60501f2a55ad31f7532ad903b81f3af18f Auto-Submitted: auto-generated The branch main has been updated by karels: URL: https://cgit.FreeBSD.org/src/commit/?id=4347ef60501f2a55ad31f7532ad903b81f3af18f commit 4347ef60501f2a55ad31f7532ad903b81f3af18f Author: Mike Karels AuthorDate: 2024-01-05 19:41:24 +0000 Commit: Mike Karels CommitDate: 2024-01-05 19:41:24 +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 MFC after: 1 month Reviewed by: rgrimes Differential Revision: https://reviews.freebsd.org/D43296 --- 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}