LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM
User Name
Password
Slackware - ARM This forum is for the discussion of Slackware ARM.

Notices


Reply
  Search this Thread
Old 10-20-2016, 01:36 PM   #1
SCerovec
Senior Member
 
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware on x86 and arm
Posts: 2,471
Blog Entries: 2

Rep: Reputation: 980Reputation: 980Reputation: 980Reputation: 980Reputation: 980Reputation: 980Reputation: 980Reputation: 980
Question overclocking Allwinner A20 on Banana Pi


hi,
I'm trying to clock my B_Pi to more than 960 and no source so far provided a working recipe?

Do I have to modify the driver source and how, or is there a way I "tell it"?

Still looking though.

I'm running -current and 4.8.1 vanilla

I would prefer a /sys/* tip/trick than any recompile?
 
Old 10-21-2016, 05:14 AM   #2
SCerovec
Senior Member
 
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware on x86 and arm
Posts: 2,471

Original Poster
Blog Entries: 2

Rep: Reputation: 980Reputation: 980Reputation: 980Reputation: 980Reputation: 980Reputation: 980Reputation: 980Reputation: 980
found this, anyone tried?
 
Old 11-01-2016, 11:14 AM   #3
SCerovec
Senior Member
 
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware on x86 and arm
Posts: 2,471

Original Poster
Blog Entries: 2

Rep: Reputation: 980Reputation: 980Reputation: 980Reputation: 980Reputation: 980Reputation: 980Reputation: 980Reputation: 980
Arrow

Code:
$ cd /usr/src/linux
$ diff -p  arch/arm/boot/dts/sun7i-a20-bananapi.dts arch/arm/boot/dts/sun7i-a20-bananapi.dts.old
and got this:
Code:
*** arch/arm/boot/dts/sun7i-a20-bananapi.dts	2016-11-01 16:40:31.492513534 +0100
--- arch/arm/boot/dts/sun7i-a20-bananapi.dts.old	2016-11-01 16:40:57.812513547 +0100
***************
*** 100,107 ****
  	cpu-supply = <&reg_dcdc2>;
  	operating-points = <
  		/* kHz	  uV */
- 	       1056000	1450000
- 	       1008000	1400000
  		960000	1400000
  		912000	1400000
  		864000	1350000
--- 100,105 ----
***************
*** 214,220 ****
  &reg_dcdc2 {
  	regulator-always-on;
  	regulator-min-microvolt = <1000000>;
! 	regulator-max-microvolt = <1450000>;
  	regulator-name = "vdd-cpu";
  };
  
--- 212,218 ----
  &reg_dcdc2 {
  	regulator-always-on;
  	regulator-min-microvolt = <1000000>;
! 	regulator-max-microvolt = <1400000>;
  	regulator-name = "vdd-cpu";
  };
if You copy this to a file called patch you could apply it to the source and just need recompile the dts folder and manually copy sun7i-a20-bananapi.dtb to /boot/dtb/
I recommend preserving the original file though, just in case , and having a heat sink installed couldn't hurt either.

The out of box 960MHz is rock solid and advised for hotter cases and worse cooling than optimal.

GPL applies: no warranty, be advised not to try if any doubt.

Otherwise, enjoy

Last edited by SCerovec; 11-01-2016 at 11:16 AM. Reason: NOTE: it's on 4.8.4 and Slackware-ARM-current
 
  


Reply

Tags
a20, allwinner, bananam1, device tree, overclock



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: 64-bit Banana Pi runs Linux on Allwinner A64, has WiFi, BT, GbE LXer Syndicated Linux News 0 07-13-2016 07:51 PM
LXer: Hackable $39 Allwinner A20 SBC packs HDMI and GbE LXer Syndicated Linux News 0 09-18-2014 08:50 AM
LXer: Pico-ITX hacker board runs Linux on Allwinner A20 LXer Syndicated Linux News 0 11-25-2013 07:40 PM
LXer: Open SBC runs Linux and Android on Allwinner A20 LXer Syndicated Linux News 0 11-12-2013 12:03 AM
Smartlink over Toshiba A20-S207 tsatsa Linux - Laptop and Netbook 0 01-10-2005 08:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM

All times are GMT -5. The time now is 09:50 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration