Junkman Posted October 12, 2021 Posted October 12, 2021 (edited) 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 October 12, 2021 by Junkman
Werner Posted October 12, 2021 Posted October 12, 2021 OC is not enabled by default but you can simply enable is via armbian-config.
Junkman Posted October 14, 2021 Author Posted October 14, 2021 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>; }; ```
Werner Posted October 14, 2021 Posted October 14, 2021 Hm odd. It seems like overlay support is completely gone or I am blind...
NicoD Posted October 14, 2021 Posted October 14, 2021 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
Werner Posted October 14, 2021 Posted October 14, 2021 2 minutes ago, NicoD said: I didn't know it could be done with armbian-config That is how I always did that...
Solution Junkman Posted October 20, 2021 Author Solution Posted October 20, 2021 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 ```
Recommended Posts