Jump to content

Switching SUNXI-DEV to 5.6.y


Recommended Posts

OrangePi One Plus confirmed as well. Did not test much though. Boots, HDMI works, DE without Panfrost works. Ethernet works...well, that's pretty much it what I have tested :lol:

Link to comment
Share on other sites

Check forum guidelines to use maximum potential!

2 minutes ago, dolphs said:

Will wait for that till 1,8GHz can be configured (re-enabled) again,

It can. At current at least.

Simply chance the max at /etc/default/cpufrequtils to 1810000

Link to comment
Share on other sites

unfortunately not on my OpiOnePlus, at least with this config

@orangepioneplus1:~$ cat /etc/default/cpufrequtils
ENABLE=true
MIN_SPEED=480000
MAX_SPEED=1810000
GOVERNOR=conservative

 

Board shows after "reboot" :

root@orangepioneplus1:~# cpufreq-info |grep cpufreq
cpufrequtils 008: cpufreq-info (C) Dominik Brodowski 2004-2009
Report errors and bugs to cpufreq@vger.kernel.org, please.
  driver: cpufreq-dt
  available cpufreq governors: conservative, userspace, powersave, ondemand, performance, schedutil
  cpufreq stats: 480 MHz:85.35%, 720 MHz:4.05%, 816 MHz:0.51%, 888 MHz:0.95%, 1.08 GHz:1.39%, 1.32 GHz:1.31%, 1.49 GHz:6.45%  (179)
  driver: cpufreq-dt
  available cpufreq governors: conservative, userspace, powersave, ondemand, performance, schedutil
  cpufreq stats: 480 MHz:85.35%, 720 MHz:4.05%, 816 MHz:0.51%, 888 MHz:0.95%, 1.08 GHz:1.39%, 1.32 GHz:1.31%, 1.49 GHz:6.45%  (179)
  driver: cpufreq-dt
  available cpufreq governors: conservative, userspace, powersave, ondemand, performance, schedutil
  cpufreq stats: 480 MHz:85.35%, 720 MHz:4.05%, 816 MHz:0.51%, 888 MHz:0.95%, 1.08 GHz:1.39%, 1.32 GHz:1.31%, 1.49 GHz:6.45%  (179)
  driver: cpufreq-dt
  available cpufreq governors: conservative, userspace, powersave, ondemand, performance, schedutil
  cpufreq stats: 480 MHz:85.36%, 720 MHz:4.05%, 816 MHz:0.51%, 888 MHz:0.95%, 1.08 GHz:1.39%, 1.32 GHz:1.31%, 1.49 GHz:6.45%  (179)

 

As well armbian-config not showing 1,8GHz , did not find an overlay setting ( like H5 ) so I guess this is WIP and will await a permanent solution.

for now I am OK as it boots in to the new kernel and therefore I can access and play with both boards  

Link to comment
Share on other sites

@Werner would you mind allowing my the QnD way by adding your " sun50i-h6-orangepi-one-plus.dtb " to your post so I should not need to recompile and just replace current file in " /boot/dtb/allwinner " ...:rolleyes:

 

[ current state meanwhile after compiling :]

  CC [M]  drivers/staging/rtl8723cs-new/core/rtw_mp.o
  LD [M]  drivers/staging/rtl8723cs-new/8723cs.o
Makefile:1685: recipe for target 'drivers' failed
[ error ] ERROR in function compile_kernel [ compilation.sh:378 ]
[ error ] Kernel was not built [ @host ]
[ o.k. ] Process terminated

 

[ this is meanwhile resolved with

./compile.sh BRANCH=dev RELEASE=buster BUILD_MINIMAL=yes BUILD_DESKTOP=no KERNEL_ONLY=no KERNEL_CONFIGURE=no BUILD_EXTERNAL=no WIREGUARD=no EXTRAWIFI=no AUFS=no ]

Link to comment
Share on other sites

I just noticed that for 5.6 it seems like this patch is not longer necessary. Simply edit the cpufrequitls max frequency to 1810000 and reload the service. The max clock is unlocked then. Check with armbianmonitor and put some load to the board.

Make sure to put some cooling to the board.

Link to comment
Share on other sites

@Werner Err check my previous post, NOK

I did this previously ( exact steps below ) and even the OPiOnePlus got a nice reboot

 

Just to be certain this is what my build says : " Linux orangepioneplus1 5.6.2-sunxi64 #trunk SMP Tue Apr 7 09:22:09 CEST 2020 aarch64 GNU/Linux "

Next attempt when 5.6.3 is incorporated in to dev build

cd ~/armbian/userpatches     # neither in ~armbian/userpatches/kernel/sunxi-current
wget https://github.com/armbian/build/blob/master/patch/kernel/sunxi-current/xxx-sun50i-h6-enable-higher-clock.patch

cd..
./compile.sh BRANCH=dev RELEASE=buster BUILD_MINIMAL=yes BUILD_DESKTOP=no KERNEL_ONLY=no KERNEL_CONFIGURE=no BUILD_EXTERNAL=no EXTRAWIFI=no

 

Link to comment
Share on other sites

1 hour ago, Werner said:

Fixed.

 

@Wernermoin moin I had to put it in sunx-dev of course,

me bad however still NOK " only garbage was found in the patch input " - seems I am overlooking something else now

ouput.log
---
[ warn ] * [u][c] xxx-sun50i-h6-enable-higher-clock.patch [ failed ]

patching.log
---
Processing file /home/armbian/userpatches/kernel/sunxi-dev/xxx-sun50i-h6-enable-higher-clock.patch
patch: **** Only garbage was found in the patch input.


 

Link to comment
Share on other sites

ok firing up a new build, wiped armbian completely and looks promising so far - will flash OPiOnePlus shortly:

[ o.k. ] * [l][c] xxx-sun50i-h6-enable-higher-clock.patch

 

And indeed looking much better now so no need for Jira  story anymore ;-), danke-gracias-thanks-bedankt-multumesc-hvala etc etc

 

@orangepioneplus:~# cpufreq-info |tail -1
  cpufreq stats: 480 MHz:83.61%, 720 MHz:0.92%, 816 MHz:0.20%, 888 MHz:0.02%, 1.08 GHz:0.09%, 1.32 GHz:0.11%, 1.49 GHz:8.99%, 1.64 GHz:0.09%, 1.80 GHz:5.98%  (153)

 

Now let's see how things will hold as H5's show in "idle mode" ( conservative)  a CPU temp of +/- 35°C ( current CPU frequency is 480 MHz )

while H6 shows CPU temp of 49°C already with passive cooling  . The 1,8Ghz would be needed only when I synch my NAS with remote site for a couple of minutes.

For regular TV streaming CPU stays at mostly at 480Mhz (  cpufreq stats: 408 MHz:85.35% ) so I hope active cooling won't be needed because of the 15 degrees temp difference in idle mode already

 

Link to comment
Share on other sites

4 hours ago, dolphs said:

Kernel 5.6.5 brings fix for "  arm64: dts: allwinner: h5/h6: Fix PMU compatible ", so more juice comes in place for these nice boards


Coming to beta.armbian.com tomorrow morning. Together with u-boot 2020.04

Link to comment
Share on other sites

18 hours ago, Igor said:


Coming to beta.armbian.com tomorrow morning. Together with u-boot 2020.04

Yes :) arrived on my Neo2...
 

Welcome to Armbian Buster with Linux 5.6.5-sunxi64

dpkg -l|grep u-boot
linux-u-boot-nanopineo2-dev      20.05.0-trunk	arm64	Uboot loader 2020.04

 

Link to comment
Share on other sites

good news , I can concur 

ii  linux-u-boot-orangepioneplus-dev      20.05.0-trunk                       arm64        Uboot loader 2020.04
ii  u-boot-tools                          2019.01+dfsg-7                      arm64        companion tools for Das U-Boot bootloader

 

And OrangePiOnePlus is happy so far:

root@orangepioneplus's password:
  ___  ____  _    ___
 / _ \|  _ \(_)  / _ \ _ __   ___   _
| | | | |_) | | | | | | '_ \ / _ \_| |_
| |_| |  __/| | | |_| | | | |  __/_   _|
 \___/|_|   |_|  \___/|_| |_|\___| |_|

Welcome to Armbian buster with Linux 5.6.5-sunxi64

No end-user support: built from trunk

 

Paste fericit tuturor :-) [ yes for some among us Easter is now ]

easter.jpg

Link to comment
Share on other sites

OrangePi Lite2 might be broken on the latest 5.6 kernel version (which is at this moment 5.6.12 at megi's repo) since these two patches fail to apply:

npi-a64-only-audio-usb.patch
board-h6-orangepi-lite2-fix-missing-all.patch

 

Link to comment
Share on other sites

4 hours ago, Werner said:

OrangePi Lite2 might be broken on the latest 5.6 kernel version (which is at this moment 5.6.12 at megi's repo) since these two patches fail to apply:


npi-a64-only-audio-usb.patch
board-h6-orangepi-lite2-fix-missing-all.patch

 

Fixes pushed.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...