Received: from out2.migadu.com (out2.migadu.com [188.165.223.204]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id 7F0DC780DEC for <~alpine/users@lists.alpinelinux.org>; Sun, 29 May 2022 02:14:40 +0000 (UTC) MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ayaya.dev; s=key1; t=1653790480; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=4aMxwK+OQofKkOsn14rBZIuIDMoyMGcyZZgXBpp1MYQ=; b=XmFNN+SLs0uv4LgWBXYjHjq66pJT2LofcTOiqaZmRCC4oQlTid5awVi5JmktpHkH0bLJnw dZdAPEK9glSNcjT0EZHATBQhY6ndKo2l762s/XeBt9E6ykeP4J6kgeCep7N9COBC6vRHtT 7Jq/i5bdxZ/akbiFjG28VpfsBxB8R+U= Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Sun, 29 May 2022 04:14:37 +0200 Message-Id: Cc: Subject: Re: Raspberry PI cpufreq X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: "alice" To: "Jerome Marc" , <~alpine/users@lists.alpinelinux.org> References: In-Reply-To: X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: ayaya.dev On Sun May 29, 2022 at 1:16 AM CEST, Jerome Marc wrote: > Hi, > > I just installed Alpine 16 on an old Raspberry PI B. > I want to use the ondemand governor and set the freq between 100 and 700. > Unfortunately it looks like the arm_freq_min is ignored. > if I set : > arm_freq=3D700 > arm_freq_min=3D500 > > cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies > returns 700000 only > > But if I set > arm_freq=3D500 > > cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies > returns 700000 500000 > > Strange isn't it ? Did I misunderstand something? Or is there a bug in th= e > fernel/firmware ? https://www.raspberrypi.com/documentation/computers/config_txt.html is your friend :) i don't remember which gen the Pi B is from (i assume 1?), but it is not recommended to ever set the minimum below the default, nor are there any real power savings from it (and it's not supported). so, just keep it at the default of 700. as for where the issue lies, it's in the rpi firmware that reads the values and applies things- if it ignores it, then it's just ignored, unrelated to the kernel.