avafinger / bananapi-zero-ubuntu-base-minimal

BananaPi M2 Zero - Ubuntu Focal Base Minimal Image (Experimental) - U-Boot 2017.09 / Kernel 4.18.y / Kernel 4.19.y / Kernel 4.20.y / Kernel 5.3.y / Kernel 5.6.y / Kernel 5.7.y / Kernel 5.11.y
88 stars 17 forks source link

[SOLVED] cpu no longer @1200 MHz #62

Closed gavan1 closed 3 years ago

gavan1 commented 3 years ago

using https://github.com/avafinger/bananapi-zero-ubuntu-base-minimal/releases/tag/v3.10

CPU mac Mhz: 1008

anyway to bring this back up as you had before? The CPU is rated for 1200 MHz.

avafinger commented 3 years ago

anyway to bring this back up as you had before?

Can you remember which kernel was it?

avafinger commented 3 years ago

Can you try this one and report the results? Kernel 5.11.10-server

bpi-m2-zero-v4.dtb.tar.gz

avafinger commented 3 years ago

In case you don't know how to install it, make sure you have a backup of the file bpi-m2-zero-v4.dtb in /boot prior to decompressing (untar) the file bpi-m2-zero-v4.dtb.tar.gz in /boot partition with sudo or root.

gavan1 commented 3 years ago

currently kernel 5.7.10

followed

  cd /boot
     sudo ln -sf bpi-m2-zero-v4.dtb_5.11.10-server bpi-m2-zero.dtb
     sudo ln -sf zImage_5.11.10-server zImage
     sudo reboot

as per docs, now 5.11.10 and CPU still @1008Mhz

Architecture:        armv7l
Byte Order:          Little Endian
CPU(s):              4
On-line CPU(s) list: 0-3
Thread(s) per core:  1
Core(s) per socket:  4
Socket(s):           1
Vendor ID:           ARM
Model:               5
Model name:          Cortex-A7
Stepping:            r0p5
CPU max MHz:         1008.0000
CPU min MHz:         120.0000
BogoMIPS:            22.85
Flags:               half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm

followed up with bpi-m2-zero-v4.dtb.tar.gz by placing in the /boot dir.

then

cd /boot
sudo ln -sf bpi-m2-zero-v4.dtb bpi-m2-zero.dtb

Boom!

Architecture:        armv7l
Byte Order:          Little Endian
CPU(s):              4
On-line CPU(s) list: 0-3
Thread(s) per core:  1
Core(s) per socket:  4
Socket(s):           1
Vendor ID:           ARM
Model:               5
Model name:          Cortex-A7
Stepping:            r0p5
CPU max MHz:         1200.0000
CPU min MHz:         120.0000
BogoMIPS:            48.00
Flags:               half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm

but I lost the red led power / heartbeat light, not sure what happened there.

Thanks!

avafinger commented 3 years ago

Hmmm, It should not interfere with the heartbeat, watch the CPU Temp and stability issues. Use a really good heat sink!

gavan1 commented 3 years ago

Board works....Not sure what happened there.

Does Kernel 5.11.10-server have Mali support built in? How to test?

avafinger commented 3 years ago

The "server" has no mali support.

If I remember correctly https://github.com/avafinger/bananapi-zero-ubuntu-base-minimal/releases/tag/v3.3 support mali gbm.

glmark2-2014.03 or kmscube