Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Setting from maximum processor frequencies, and setting SWAP

Featured Replies

Hello, please tell me how I can configure the processor on my Orange Pi Zero to the maximum frequency and voltage, as well as how to do SWAP and register it at startup, I use active cooling radiators and a cooler, I am warned of a possible failure, thank you in advance!

You can set your governor to performance. For swap, do you mean creating a swap file? Or zram?
A swap file on an sd-card is a bad idea, you need fast storage for that.
You can find here how to create a swap file, and how to install zram. Zram shoud be installed by default to my knowledge in Armbian.

I don't have your board, no idea of possible OC for it.

45 minutes ago, enceladusspace said:

Hello, please tell me how I can configure the processor on my Orange Pi Zero to the maximum frequency and voltage


This is Armbian. Your board is well tuned out of the box. You can push speed little higher, but all you will gain is higher consumption and instability.

  • Author
42 minutes ago, NicoD said:

Вы можете настроить свой губернатор на производительность. Для swap, вы имеете в виду создание файла подкачки? Или зрам?
Файл подкачки на SD-карте - плохая идея, для этого нужно быстрое хранилище.
Вы можете найти здесь, как создать файл подкачки и как установить zram. Zram должен быть установлен по умолчанию, насколько мне известно в Armbian.

У меня нет твоей доски, нет понятия о возможном OC для этого.

namely zram, by default it is 256mb, I would like to increase it to 2048mb and break it into 4 blocks

  • Author
4 hours ago, Igor said:


This is Armbian. Your board is well tuned out of the box. You can push speed little higher, but all you will gain is higher consumption and instability.

So you tell me how I can control the frequencies and voltage?

  • Author
Just now, Igor said:

 

Have you used forum search function extensively? Pretty much all boards have this define in device tree. Decompile, edit, compile back and reboot is the basic principle.

opp- 1008 000000 {
                        opp-hz = <0x00 0x3c14dc00>;
                        опр- микровольт = <0x 124 f80 0x124f80 0x13d620>;
                        clock-latency-ns = <0x3b9b0>;
                };

                opp- 1104 000000 {
                        opp-hz = <0x00 0x41cdb400>;
                        опр- микровольт = <0x 142 440 0x142440 0x142440>;
                        clock-latency-ns = <0x3b9b0>;
                };

                opp- тысяча двести 000000 {
                        ОППЫ-хз = <0x00 0x47868c00>;
                        опр- микровольт = <0x 142 440 0x142440 0x142440>;
                        clock-latency-ns = <0x3b9b0>;
                };

 

Which file do you want to make the following changes to?

  • Author
Just now, Igor said:


Начните использовать кнопку поиска, прежде чем открывать вопросы.

 

In this topic and solution, the path to editing the file is not indicated, why can not I ask this question here?

2 hours ago, enceladusspace said:

In this topic and solution, the path to editing the file is not indicated, why can not I ask this question here?

 

This are the file/commands for the Orange Pi Zero (non-plus or 2):

backup original .dtb for safety:
cp /boot/dtb/sun8i-h2-plus-orangepi-zero.dtb ~/sun8i-h2-plus-orangepi-zero.dtb

decompile .dtb (binary) to .dts (read-/editable):
dtc -I dtb -O dts /boot/dtb/sun8i-h2-plus-orangepi-zero.dtb -o /boot/dtb/sun8i-h2-plus-orangepi-zero.dts

edit/change .dts:
nano /boot/dtb/sun8i-h2-plus-orangepi-zero.dts

compile .dts (read-/editable) back to .dtb (binary):
dtc -I dts -O dtb /boot/dtb/sun8i-h2-plus-orangepi-zero.dts -o /boot/dtb/sun8i-h2-plus-orangepi-zero.dtb

then reboot to activate

But be aware as @Igor wrote before:
 

Quote

You can push speed little higher, but all you will gain is higher consumption and instability.

 

Other users and I here in the forum also tested and edited these values and only did get instable and crashing SBCs.

If you want to get your SBC working stable use the tested frequencies.... and most cheap SBCs like the OPi Zero cant switch to a voltage where the CPU is stable above 1.08GHz (e.g. 1.2GHz)

  • Author
24 minutes ago, guidol said:

 

This are the file/commands for the Orange Pi Zero (non-plus or 2):


backup original .dtb for safety:
cp /boot/dtb/sun8i-h2-plus-orangepi-zero.dtb ~/sun8i-h2-plus-orangepi-zero.dtb

decompile .dtb (binary) to .dts (read-/editable):
dtc -I dtb -O dts /boot/dtb/sun8i-h2-plus-orangepi-zero.dtb -o /boot/dtb/sun8i-h2-plus-orangepi-zero.dts

edit/change .dts:
nano /boot/dtb/sun8i-h2-plus-orangepi-zero.dts

compile .dts (read-/editable) back to .dtb (binary):
dtc -I dts -O dtb /boot/dtb/sun8i-h2-plus-orangepi-zero.dts -o /boot/dtb/sun8i-h2-plus-orangepi-zero.dtb

then reboot to activate

But be aware as @Igor wrote before:
 

 

Other users and I here in the forum also tested and edited these values and only did get instable and crashing SBCs.

If you want to get your SBC working stable use the tested frequencies.... and most cheap SBCs like the OPi Zero cant switch to a voltage where the CPU is stable above 1.08GHz (e.g. 1.2GHz)

Thank you for the detailed answer! Peace to your home!

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.