Jump to content

Switching SUNXI-DEV to 5.8.y (h3-h5-h6/megous)


Recommended Posts

If 5.9 will be LTS, is that confirmed officially undeva @Werner?

I'd say let's head for 5.9 in DEV then asap.

 

@5kft Also please note from 5.9-rc2 DVFS is incorporated for H5 chipsets ( like 5.8 had for H6 )  

4 hours ago, 5kft said:

I think there are still some patch issues with the H6...?

 

Hmm yes , eg. build with EXTRAWIFI=no and you will find out some issues there.

 

Speaking of building a kernel with custom .config,

If 'd create config file in " ~/armbian/userpatches/kernel/sunxi-dev " ( as no sunxi64-dev is available ).

Read some here but appears I'm too tired to understand atm, so please hint me to proper path. thx!

 

Link to comment
Share on other sites

5 hours ago, dolphs said:

If 5.9 will be LTS, is that confirmed officially undeva @Werner?

I'd say let's head for 5.9 in DEV then asap.

 

@5kft Also please note from 5.9-rc2 DVFS is incorporated for H5 chipsets ( like 5.8 had for H6 )  

 

 

I haven't seen anything announced that 5.9 is LTS...where did you see this @Werner ?

 

BTW, I messed around with this a bit (had to patch a few things), and a super quick test build looks promising:

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

Welcome to Armbian 20.08.0-trunk Buster with Linux 5.9.0-rc2-sunxi

No end-user support: built from trunk

System load:   1.05 0.32 0.11   Up time:       0 min
Memory usage:  14 % of 492MB    IP:            192.168.1.151
CPU temp:      41°C
Usage of /:    23% of 7.2G

Last login: Fri Aug 21 15:28:22 2020

root@air:~# cat /proc/version
Linux version 5.9.0-rc2-sunxi (root@8b25ad840cf6) (arm-none-linux-gnueabihf-gcc (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10)) 9.2.1 20191025, GNU ld (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10)) 2.33.1.20191209) #trunk SMP Thu Aug 27 22:27:48 UTC 2020
root@air:~# cpufreq-info -c 0
cpufrequtils 008: cpufreq-info (C) Dominik Brodowski 2004-2009
Report errors and bugs to cpufreq@vger.kernel.org, please.
analyzing CPU 0:
  driver: cpufreq-dt
  CPUs which run at the same hardware frequency: 0 1 2 3
  CPUs which need to have their frequency coordinated by software: 0 1 2 3
  maximum transition latency: 5.44 ms.
  hardware limits: 480 MHz - 1.30 GHz
  available frequency steps: 480 MHz, 648 MHz, 816 MHz, 960 MHz, 1.01 GHz, 1.06 GHz, 1.10 GHz, 1.15 GHz, 1.20 GHz, 1.22 GHz, 1.25 GHz, 1.30 GHz
  available cpufreq governors: conservative, ondemand, userspace, powersave, performance, schedutil
  current policy: frequency should be within 480 MHz and 1.30 GHz.
                  The governor "ondemand" may decide which speed to use
                  within this range.
  current CPU frequency is 480 MHz (asserted by call to hardware).
  cpufreq stats: 480 MHz:89.62%, 648 MHz:0.97%, 816 MHz:0.08%, 960 MHz:0.08%, 1.01 GHz:0.08%, 1.06 GHz:0.05%, 1.10 GHz:0.02%, 1.15 GHz:0.04%, 1.20 GHz:0.04%, 1.22 GHz:0.02%, 1.25 GHz:0.02%, 1.30 GHz:8.98%  (171)
root@air:~#
root@air:~# cat /sys/class/thermal/thermal_zone0/temp
32928
root@air:~#
root@air:~# ls -al /boot/
total 31799
drwxr-xr-x  4 root root     1024 Aug 27 16:04 .
drwxr-xr-x 18 root root     4096 Aug 21 15:28 ..
-rw-r--r--  1 root root      277 Aug 27 16:04 armbianEnv.txt
-rw-r--r--  1 root root     1536 Aug 21 17:57 armbian_first_run.txt.template
-rw-r--r--  1 root root   230454 Aug 21 17:57 boot.bmp
-rw-r--r--  1 root root     3895 Aug 21 17:57 boot.cmd
-rw-r--r--  1 root root     3967 Aug 21 17:57 boot.scr
-rw-r--r--  1 root root   188640 Aug 27 15:27 config-5.9.0-rc2-sunxi
lrwxrwxrwx  1 root root       19 Aug 27 16:03 dtb -> dtb-5.9.0-rc2-sunxi
drwxr-xr-x  3 root root    10240 Aug 27 16:02 dtb-5.9.0-rc2-sunxi
-rw-r--r--  1 root root 10116125 Aug 27 16:03 initrd.img-5.9.0-rc2-sunxi
-rw-r--r--  1 root root        0 Aug 27 16:03 .next
drwxr-xr-x  2 root root     1024 Aug 24 09:16 overlay-user
-rw-r--r--  1 root root  4072041 Aug 27 15:27 System.map-5.9.0-rc2-sunxi
lrwxrwxrwx  1 root root       23 Aug 27 16:03 uInitrd -> uInitrd-5.9.0-rc2-sunxi
-rw-r--r--  1 root root 10116189 Aug 27 16:03 uInitrd-5.9.0-rc2-sunxi
-rwxr-xr-x  1 root root  7806728 Aug 27 15:27 vmlinuz-5.9.0-rc2-sunxi
lrwxrwxrwx  1 root root       23 Aug 27 16:03 zImage -> vmlinuz-5.9.0-rc2-sunxi
root@air:~#

 

Link to comment
Share on other sites

On 8/19/2020 at 1:21 PM, martinayotte said:

Even less misery since all the one seen as "Reversed patch detected! Skipping patch." means the patch already present in Megous branch, so I will do the clean up by removing them.

So, I will check how to fix the only remining ones ...

 

I went ahead and cleaned up the remaining problems for 5.8.  I don't have an H6 board so I can't test the changes there, but I believe they should work fine (I did a rework of my previous thermal changes for H6 and re-applied on the new 5.8 base).

Link to comment
Share on other sites

On 6/18/2020 at 8:25 AM, dolphs said:

[scripts/Makefile.modpost:111: Module.symvers] Error 1 compilation.log:make: ***

 

Hi @dolphs,

 

Have you found the ultimate culprit for this compilation error? 

 

I'm getting this one compiling a Realtek (lwfinger) module with latest Armbian stable kernel. 

 

I think this is something related with a kernel compilation option (Module.symvers generation) but I'm still looking into this subject... 

 

Thanks! 

Link to comment
Share on other sites

On 9/13/2020 at 12:06 AM, ZupoLlask said:

 

Hi @dolphs,

 

Have you found the ultimate culprit for this compilation error? 

 

I'm getting this one compiling a Realtek (lwfinger) module with latest Armbian stable kernel. 

 

I think this is something related with a kernel compilation option (Module.symvers generation) but I'm still looking into this subject... 

 

Thanks! 

This topic is outdated. sunxi-dev has been pushed to kernel version 5.9 while current is now 5.8

If you have issues while compiling this should be reported here: https://github.com/armbian/build/issues

Link to comment
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...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines