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.

changing DRAM frequency on mainline kernel

Featured Replies

Hi all

 

Given that the node that H3 consumption uses to change DRAM frequency no longer exists on H5 on the mainline kernel, how would one go about altering this?

  • Author

Ah OK, so there are no userspace hooks for this? Would it involve editing the following file https://github.com/armbian/build/blob/master/patch/u-boot/u-boot-sunxi-dev/add-orangepi-zeroplus.patch for the OPi0+ and changing the DRAM lines:

 

 

@ -0,0 +1,22 @@

+CONFIG_ARM=y

+CONFIG_ARCH_SUNXI=y

+CONFIG_SYS_TEXT_BASE=0x4a000000

+CONFIG_SPL_SPI_FLASH_SUPPORT=y

+CONFIG_MACH_SUN50I_H5=y

+CONFIG_DRAM_CLK=624

+CONFIG_DRAM_ZQ=3881977

 

1 hour ago, reverend_t said:

Ah OK, so there are no userspace hooks for this?

No, unless you want to write a driver for completely undocumented controller with no or very little source code (reverse engineering ftw). It seems that something can be concluded from sunxi-dramfreq.c, which can be found in BSP kernel source, but AFAIK, no one works on that.

 

Yes, you have to change CONFIG_DRAM_CLK. But be very careful what you set here. Going up is completely discouraged.

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.