Does armbian applied overlays-00-add-oc-opp-rk3399.patch by default in NanoPi r4s?


Junkman
 Share

0
Go to solution Solved by Junkman,

Recommended Posts

Hi all, I'm new to armbian, I have a nanopi r4s SBC, and I want to know that if armbian nanopi r4s enabled(applied) `overlays-00-add-oc-opp-rk3399.patch` by default?

 

i.e. https://github.com/armbian/build/blob/master/patch/kernel/archive/rockchip64-5.10/overlays-00-add-oc-opp-rk3399.patch

 

I really need this patch to bootst up performance, otherwise I have to build armbian by myself.

Edited by Junkman
Link to post
Share on other sites

Armbian is a community driven open source project. Do you like to contribute your code?

On 10/13/2021 at 2:59 AM, Werner said:

OC is not enabled by default but you can simply enable is via armbian-config.

I've check the DT, the overclock patch hasn't applied to the kernel DT. it using the default clock, and in armbian-config, the maximum clock speed allowable is 1.8GHz.

 

```

        opp07 {
            opp-hz = <0x00 0x6b49d200>;
            opp-microvolt = <0x124f80>;
        };
```

Link to post
Share on other sites

10 minutes ago, Werner said:

Hm odd. It seems like overlay support is completely gone or I am blind...

I didn't know it could be done with armbian-config. I always did it manually in /boot/armbianEnv.txt
 

overlay_prefix=rockchip
overlays=rk3399-opp-2ghz

 

Link to post
Share on other sites

  • Solution

Thanks you guys! @Werner, @NicoD

 

Here is how I did this:

 

```

$ sudo armbian-add-overlay rk3399-oc.dts

 

$ ls -1 /boot/overlay-user/

rk3399-oc.dtbo

 

$ cat /boot/armbianEnv.txt

verbosity=1

bootlogo=false

overlay_prefix=rockchip

rootdev=UUID=6c8153dd-e3ae-4b9c-8ea2-9c34a84bbed8

rootfstype=ext4

console=serial

usbstoragequirks=0x2537:0x1066:u,0x2537:0x1068:u

user_overlays=rk3399-oc

 

$ reboot

$ sudo apt install -y armbian-config

$ sudo armbian-config # System -> CPU (Choose new CPU freq)

 

# Done

```

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

0