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


Groups > linux.kernel > #1434616

Re: [linux-sunxi] [PATCH v2 14/14] ARM: dts: sun8i: Enable DVFS on Orange Pi One

From Siarhei Siamashka <siarhei.siamashka@gmail.com>
Newsgroups linux.kernel
Subject Re: [linux-sunxi] [PATCH v2 14/14] ARM: dts: sun8i: Enable DVFS on Orange Pi One
Date 2016-06-30 16:30 +0200
Message-ID <rPL8B-2eN-9@gated-at.bofh.it> (permalink)
References <rNMLw-lT-3@gated-at.bofh.it> <rNMLw-lT-17@gated-at.bofh.it> <rPIaK-to-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, 30 Jun 2016 13:13:48 +0200
Michal Suchanek <hramrach@gmail.com> wrote:

> Hello,
> 
> On 25 June 2016 at 05:45,  <megous@megous.com> wrote:
> > From: Ondrej Jirman <megous@megous.com>
> >
> > Use Xulong Orange Pi One GPIO based regulator for
> > passive cooling and thermal management.
> >
> > Signed-off-by: Ondrej Jirman <megous@megous.com>
> > ---
> >  arch/arm/boot/dts/sun8i-h3-orangepi-one.dts | 39 +++++++++++++++++++++++++++++
> >  1 file changed, 39 insertions(+)
> >
> > diff --git a/arch/arm/boot/dts/sun8i-h3-orangepi-one.dts b/arch/arm/boot/dts/sun8i-h3-orangepi-one.dts
> > index b1bd6b0..a38d871 100644
> > --- a/arch/arm/boot/dts/sun8i-h3-orangepi-one.dts
> > +++ b/arch/arm/boot/dts/sun8i-h3-orangepi-one.dts
> > @@ -109,6 +109,45 @@
> >         };
> >  };
> >
> > +&cpu0 {
> > +       operating-points = <
> > +               /* kHz    uV */
> > +               1296000 1300000
> > +               1200000 1300000  
> 
> First problem is that the board boots at 1008000 which is not listed
> and the kernel complains.
> 
> Second problem is that the board locks up during boot with this enabled.
> 
> Do you have some suggestion for alternate configuration to test?

Maybe try the Allwinner's original DVFS table instead of these
undervolted values and see if it helps?

https://linux-sunxi.org/index.php?title=Xunlong_Orange_Pi_PC&oldid=17753#CPU_clock_speed_limit

While undervolting is tempting because it helps to decrease the SoC
temperature and avoid throttling, different units may have different
tolerances and one needs to be very careful when picking defaults
that are intended to work correctly on all boards. Some safety
headroom exists there for a reason.

If I remember correctly, some people pushed for undervolting experiments
at least twice in the past (on the Banana Pi and C.H.I.P.). In both
cases this did not end up well and had to be fixed later to solve
reliability problems.

In order to allow individual per-unit tuning, a concept of "speed
grading" may be probably introduced later. So that the board is tested
for reliability and then the speed grade rating is stored somewhere on
the non-removable storage (EEPROM, SPI flash, eFUSE, ...). Some SoC
manufacturers, such as Samsung, are already doing this with their chips.

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


Thread

[PATCH v2 14/14] ARM: dts: sun8i: Enable DVFS on Orange Pi One megous@megous.com - 2016-06-25 05:50 +0200
  Re: [linux-sunxi] [PATCH v2 14/14] ARM: dts: sun8i: Enable DVFS on  Orange Pi One Michal Suchanek <hramrach@gmail.com> - 2016-06-30 13:20 +0200
    Re: [linux-sunxi] [PATCH v2 14/14] ARM: dts: sun8i: Enable DVFS on  Orange Pi One Ondřej Jirman <megous@megous.com> - 2016-06-30 16:20 +0200
      Re: [linux-sunxi] [PATCH v2 14/14] ARM: dts: sun8i: Enable DVFS on  Orange Pi One Ondřej Jirman <megous@megous.com> - 2016-06-30 17:40 +0200
      Re: [linux-sunxi] [PATCH v2 14/14] ARM: dts: sun8i: Enable DVFS on  Orange Pi One Ondřej Jirman <megous@megous.com> - 2016-06-30 18:00 +0200
      Re: [linux-sunxi] [PATCH v2 14/14] ARM: dts: sun8i: Enable DVFS on  Orange Pi One Michal Suchanek <hramrach@gmail.com> - 2016-06-30 18:00 +0200
        Re: [linux-sunxi] [PATCH v2 14/14] ARM: dts: sun8i: Enable DVFS on  Orange Pi One Michal Suchanek <hramrach@gmail.com> - 2016-07-01 13:10 +0200
      Re: [linux-sunxi] [PATCH v2 14/14] ARM: dts: sun8i: Enable DVFS on  Orange Pi One Michal Suchanek <hramrach@gmail.com> - 2016-06-30 18:20 +0200
    Re: [linux-sunxi] [PATCH v2 14/14] ARM: dts: sun8i: Enable DVFS on  Orange Pi One Siarhei Siamashka <siarhei.siamashka@gmail.com> - 2016-06-30 16:30 +0200
      Re: [linux-sunxi] [PATCH v2 14/14] ARM: dts: sun8i: Enable DVFS on  Orange Pi One Ondřej Jirman <megous@megous.com> - 2016-07-01 03:30 +0200

csiph-web