Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #50295

Bug#793185: [linux-sunxi] Re: forwarding a bug: cpufreq missing in debian stable on a cuibeboard

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From Leonardo Canducci <leonardo.canducci@gmail.com>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#793185: [linux-sunxi] Re: forwarding a bug: cpufreq missing in debian stable on a cuibeboard
Date Sat, 25 Jul 2015 17:10:01 +0200
Message-ID <pQ9fj-85m-9@gated-at.bofh.it> (permalink)
References <pPuYx-en-1@gated-at.bofh.it> <pPIf8-2Nv-1@gated-at.bofh.it> <pPIyt-3am-1@gated-at.bofh.it> <pPJuz-4vX-33@gated-at.bofh.it> <pPJNV-4T4-13@gated-at.bofh.it> <pPK7g-5uX-5@gated-at.bofh.it> <pPKgV-5Gn-15@gated-at.bofh.it> <pPKJY-6e8-13@gated-at.bofh.it> <pPLmG-7cG-5@gated-at.bofh.it> <pPLmG-7cG-7@gated-at.bofh.it> <pPLmG-7cG-3@gated-at.bofh.it>
X-Original-To Hans de Goede <hdegoede@redhat.com>
Old-Return-Path <debbugs@buxtehude.debian.org>
X-Spam-Flag NO
X-Spam-Score -3.786
Reply-To Leonardo Canducci <leonardo.canducci@gmail.com>, 793185@bugs.debian.org
Resent-To debian-bugs-dist@lists.debian.org
Resent-Cc Debian Kernel Team <debian-kernel@lists.debian.org>
X-Debian-Pr-Message followup 793185
X-Debian-Pr-Package src:linux
X-Debian-Pr-Source linux
X-Spam-Bayes score:0.0000 Tokens: new, 13; hammy, 150; neutral, 127; spammy, 0. spammytokens: hammytokens:0.000-+--31pm, 0.000-+--31PM, 0.000-+--cpufreq, 0.000-+--H*f:sk:2015072, 0.000-+--modprobe
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=iBWPKtU0f7BXHbrB1GUxOCHMzSIxV1ANsba+YpVlmyE=; b=WQsR9JD0shNIMifPpZ+iuhmc8BvV+PP0LN7TePe/XxT8E6elD86xRnlrE3sP90kxOY NFjg75zV45bNDtChk4yjUi2aZxCymOb4dBEh+PJqJR8E9DTym/ibdW2/rxfxLFNN60a4 efKVOT6mwQ0MQw4n6fEtHzwU6bTEYnkzKitueIRsHMoP8rVoLLNkLUdwP2y9SCEh1aaP hz6ihBXqfYWAbzmRtSgx6IxU7YkufDlC0yHEKRMpTwZr6xEaW9B6EsYtGE1czWlCM6F8 pWNo7feY9VqdeZuq1Lc+En9VUYq3Xe9b0/l1V2YMqjpbHs1mBCYNmdW8k/u3yKj5BkIO de1g==
MIME-Version 1.0
X-Received by 10.107.19.193 with SMTP id 62mr34535417iot.26.1437835578062; Sat, 25 Jul 2015 07:46:18 -0700 (PDT)
Content-Type multipart/alternative; boundary=001a113f91b6e03ff4051bb42e1b
X-Debian-Message from BTS
X-Mailing-List <debian-bugs-dist@lists.debian.org> archive/latest/1193799
List-ID <debian-bugs-dist.lists.debian.org>
List-URL <http://lists.debian.org/debian-bugs-dist/>
Approved robomod@news.nic.it
Lines 163
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Cc Maxime Ripard <maxime.ripard@free-electrons.com>, Thomas Kaiser <thomas.kaiser@phg-online.de>, linux-sunxi <linux-sunxi@googlegroups.com>, 793185@bugs.debian.org, m.silentcreek@gmail.com
X-Original-Date Sat, 25 Jul 2015 16:46:17 +0200
X-Original-Message-ID <CAPGGYnuT8y5chF=qtOBecakthvPz3L6CcM7mr26r2N4U_9Cu1g@mail.gmail.com>
X-Original-References <736b90b4-b000-4a79-817a-5e1b5c3605f3@googlegroups.com> <46ac4df1-b633-4244-8822-45be844af143@googlegroups.com> <55B21435.5040506@redhat.com> <e1b45ad6-6ea1-4ced-aa40-735aafcb91bf@googlegroups.com> <20150724115004.GD2564@lukather> <d01743f1-3513-4c44-8bcf-d3af19b801e0@googlegroups.com> <6c78647c-4d92-476c-a692-ee048cbce8ab@googlegroups.com> <2b493541-bf0d-4d60-a830-396b70a7ce95@googlegroups.com> <55B23677.2080709@redhat.com> <20150724131607.GI2564@lukather> <55B23C55.1060404@redhat.com>
Xref aioe.org linux.debian.bugs.dist:667101 linux.debian.kernel:50295

Cross-posted to 2 groups.

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

I got lost somewhere in that long thread but I saw cpufreq on cubie* works
for someone [0]. It's just a matter of loading two modules. I tried myself
on my jessie install (kernel from experimental) and can confirm that:

leo@cubetto:~$ sudo modprobe axp20x-regulator
leo@cubetto:~$ sudo modprobe cpufreq-dt
leo@cubetto:~$ ls /sys/devices/system/cpu/cpu0/cpufreq/
affected_cpus               related_cpus                   scaling_governor
cpuinfo_cur_freq            scaling_available_frequencies  scaling_max_freq
cpuinfo_max_freq            scaling_available_governors    scaling_min_freq
cpuinfo_min_freq            scaling_cur_freq               scaling_setspeed
cpuinfo_transition_latency  scaling_driver                 stats

How do I make this change persistent?

Thanks, Leonardo

[0]
http://forum.armbian.com/index.php/topic/108-no-cpufreq-support-in-cubietruck-debian-39-wheezy-405/?p=781

2015-07-24 15:23 GMT+02:00 Hans de Goede <hdegoede@redhat.com>:

> Hi,
>
> On 24-07-15 15:16, Maxime Ripard wrote:
>
>> On Fri, Jul 24, 2015 at 02:58:31PM +0200, Hans de Goede wrote:
>>
>>> There is slightly more to it then those 5 lines, but yes we should enable
>>> voltage scaling on more boards. This mostly requires someone to simply
>>> just do the work.
>>>
>>> I've a workshop on dts this weekend at our localhacker space and the plan
>>> is for the people attending to get some handson experience by them doing
>>> this work (amongst other things)  :)
>>>
>>
>> While I agree with you on the fact that more board needs to have the
>> regulators enabled, I really don't think that making some newbies
>> doing it without any schematics (and boards I guess?)
>>
>
> They will only be writing patches for boards which I have, and the patches
> will be tested on the actual boards before submitting them upstream.
>
> I will be collecting and double checking all patches before sending them
> to you.
>
> I will let you know if they blow up any boards :)  But I do not really
> expect that to happen.
>
> > is a good thing
>
>> when it comes to something that can permanently damage a board.
>>
>> I'd expect that such changes would be carefully done and tested before
>> being submitted.
>>
>
> And they will be, see above.
>
> Regards,
>
> Hans
>



-- 
Leonardo Canducci

Back to linux.debian.kernel | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Bug#793185: [linux-sunxi] Re: forwarding a bug: cpufreq missing in debian stable on a cuibeboard Hans de Goede <hdegoede@redhat.com> - 2015-07-24 12:40 +0200
  Bug#793185: [linux-sunxi] Re: forwarding a bug: cpufreq missing in debian stable on a cuibeboard Maxime Ripard <maxime.ripard@free-electrons.com> - 2015-07-24 14:00 +0200
    Bug#793185: [linux-sunxi] Re: forwarding a bug: cpufreq missing in debian stable on a cuibeboard Maxime Ripard <maxime.ripard@free-electrons.com> - 2015-07-24 14:30 +0200
    Bug#793185: [linux-sunxi] Re: forwarding a bug: cpufreq missing in debian stable on a cuibeboard m.silentcreek@gmail.com - 2015-07-24 14:30 +0200
      Bug#793185: [linux-sunxi] Re: forwarding a bug: cpufreq missing in debian stable on a cuibeboard Hans de Goede <hdegoede@redhat.com> - 2015-07-24 15:40 +0200
        Bug#793185: [linux-sunxi] Re: forwarding a bug: cpufreq missing in debian stable on a cuibeboard Chen-Yu Tsai <wens@csie.org> - 2015-07-25 17:10 +0200
          Bug#793185: [linux-sunxi] Re: forwarding a bug: cpufreq missing in debian stable on a cuibeboard Ian Campbell <ijc@debian.org> - 2015-07-25 17:40 +0200
            Bug#793185: [linux-sunxi] Re: forwarding a bug: cpufreq missing in debian stable on a cuibeboard Chen-Yu Tsai <wens@csie.org> - 2015-07-30 10:00 +0200
              Bug#793185: [linux-sunxi] Re: forwarding a bug: cpufreq missing in debian stable on a cuibeboard Ian Campbell <ijc@debian.org> - 2015-08-01 12:00 +0200
        Bug#793185: [linux-sunxi] Re: forwarding a bug: cpufreq missing in debian stable on a cuibeboard Leonardo Canducci <leonardo.canducci@gmail.com> - 2015-07-25 17:10 +0200
      Bug#793185: [linux-sunxi] Re: forwarding a bug: cpufreq missing in debian stable on a cuibeboard Hans de Goede <hdegoede@redhat.com> - 2015-07-24 15:40 +0200
        Bug#793185: [linux-sunxi] Re: forwarding a bug: cpufreq missing in debian stable on a cuibeboard Maxime Ripard <maxime.ripard@free-electrons.com> - 2015-07-24 16:10 +0200
      Bug#793185: [linux-sunxi] Re: forwarding a bug: cpufreq missing in debian stable on a cuibeboard Maxime Ripard <maxime.ripard@free-electrons.com> - 2015-07-24 15:40 +0200
      Bug#793185: [linux-sunxi] Re: forwarding a bug: cpufreq missing in debian stable on a cuibeboard Maxime Ripard <maxime.ripard@free-electrons.com> - 2015-07-24 15:40 +0200
      Bug#793185: [linux-sunxi] Re: forwarding a bug: cpufreq missing in debian stable on a cuibeboard m.silentcreek@gmail.com - 2015-07-24 16:10 +0200

csiph-web