This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Maximum allowed frequency is 1.51GHz on 2.0.8 TinkerOS
#11
(03-27-2019, 02:38 AM)mt08 Wrote: Hi,

I've uploaded dtb.


Code:
# Fix Cpu Freq : /boot/rk3288-miniarm.dtb

curl -sSL https://github.com/mt08xx/files/raw/master/TinkerOS-v2.0.8_CPUFreqFix_rk3288-miniarm.dtb.bz2 | bzip2 -dc | tee rk3288-miniarm.dtb | md5sum
# => ce70fbd5cf42cc3e4d9728612837887e  - (Correct file ?)

# backup and copy to /boot
sudo mv /boot/rk3288-miniarm.dtb{,.bak}
sudo cp ./rk3288-miniarm.dtb /boot

@mt08

Thanks a lot Rolleyes This is what I have searched for.

...works perfect with TinkerOS 2.0.8. @1,8Ghz, now!!!

Cheers
Mark
Reply
#12
Did not work for me i tried mt08 code

so to test ,in one terminal i run (which will show current freq)

watch -n 1 cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_cur_freq


and in another terminal , i stress the cpu (you will need to install sysbench)

sysbench --test=cpu --num-threads=4 --cpu-max-prime=1000 run

max freq i see is1.6
Reply
#13
... I tested it on a 2nd Tinker Board with TinkerOS 2.0.8. The result is the same: The patch posted by mt08 works again.


Code:
linaro@tinkerboard:~$ cpufreq-info | grep "momentane Taktfrequenz ist" | awk '{print $4}'
1.80
1.80
1.80
1.80
linaro@tinkerboard:~$

Cheers
Mark
Reply
#14
is yours a tinker board s, im running the original tinkerboard, tried installing again and still getting 1.6
Reply
#15
Hello Z80,

I don't have a thinker bord s. I've two "original" tinker boards in use...both with TinkerOS 2.0.8. The patch of works with both of them.

Maybe it works for me, because I've installed the device-tree-compiler before. Here ard my steps:

Quote:sudo apt-mark hold chromium
$ sudo apt-update
$ sudo apt install -y device-tree-compiler
cd /boot
$ sudo cp rk3288-miniarm.dtb rk3288-miniarm.dtb.bak
sudo dtc -I dtb -O dts rk3288-miniarm.dtb -o rk3288-miniarm.dts
$ cd
curl -sSL https://github.com/mt08xx/files/raw/mast...rm.dtb.bz2 | bzip2 -dc | tee rk3288-miniarm.dtb | md5sum
sudo mv /boot/rk3288-miniarm.dtb{,.bak}
sudo cp ./rk3288-miniarm.dtb /boot
$ sudo reboot


Cheers
Mark
Reply
#16
i tried still only get 1.6   i.e.  using      lscpu

plus i get this error on the curl command


bzip2: (stdin) is not a bzip2 file.
d41d8cd98f00b204e9800998ecf8427e  -
curl: (23) Failed writing body (1362 != 1370)






(03-31-2019, 12:30 PM)mark-aus-51 Wrote: Hello Z80,

I don't have a thinker bord s. I've two "original" tinker boards in use...both with TinkerOS 2.0.8. The patch of works with both of them.

Maybe it works for me, because I've installed the device-tree-compiler before. Here ard my steps:

Quote:sudo apt-mark hold chromium
$ sudo apt-update
$ sudo apt install -y device-tree-compiler
cd /boot
$ sudo cp rk3288-miniarm.dtb rk3288-miniarm.dtb.bak
sudo dtc -I dtb -O dts rk3288-miniarm.dtb -o rk3288-miniarm.dts
$ cd
curl -sSL https://github.com/mt08xx/files/raw/mast...rm.dtb.bz2 | bzip2 -dc | tee rk3288-miniarm.dtb | md5sum
sudo mv /boot/rk3288-miniarm.dtb{,.bak}
sudo cp ./rk3288-miniarm.dtb /boot
$ sudo reboot


Cheers
Mark

i may have done an apt-get upgrade at some point, maybe my maxcpufreq is set at 1.6

maybe i need to try from a fresh 2.0.8 install

if i run cat /proc/version

i get which i think is 2.0.8 since date is 23-oct-2018

Linux version 4.4.132+ (jenkins@fdc-06) (gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.9) ) #1 SMP Tue Oct 23 18:03:49 CST 2018
linaro@tinkerboard:~$
Reply
#17
...in this case a clean install of TinkerOS 2.0.8 could be the best option.
Reply
#18
Just tried mt08 codes with a fresh 2.0.8 image, still only getting 1.6 (it was 1.5 before i tried mt08 code)
I am on the version 1 tinkerboard (i.e. has V1 stamped on pcb, think there is a v2 version)
I have 5 volt direct to gpio with a fan. can someone who says its working try doing lscpu on their machine and show the results?

lscpu

Model: 1
Model name: ARMv7 Processor rev 1 (v7l)
CPU max MHz: 1608.0000
CPU min MHz: 126.0000
BogoMIPS: 48.00
Flags: half thumb fastmult vfp edsp thumbee neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm
linaro@tinkerboard:~$ lscpu
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
Model: 1
Model name: ARMv7 Processor rev 1 (v7l)
CPU max MHz: 1608.0000
CPU min MHz: 126.0000
BogoMIPS: 48.00
Flags: half thumb fastmult vfp edsp thumbee neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm
linaro@tinkerboard:~$ ^C
linaro@tinkerboard:~$
Reply
#19
I had strange problems and curious behaviors with several power supplies at the beginning; via gpio and via micro-usb. Finally, I had success with a 3A micro-USB power supply, which delivers exactly 5.22V according to my multimeter. With this power supply the Tinker Board has been working without any problems for month now.

Cheers
Mark
Reply
#20
(04-04-2019, 10:51 AM)Z80 Wrote: Just tried mt08 codes with a fresh 2.0.8  image, still only getting 1.6 (it was 1.5  before i tried mt08 code)
I am on the version 1 tinkerboard (i.e. has V1 stamped on pcb, think there is a v2 version)
I have 5 volt direct to gpio with a fan. can someone who says its working try doing lscpu on their machine and show the results?

lscpu

Model:                 1
Model name:            ARMv7 Processor rev 1 (v7l)
CPU max MHz:           1608.0000
CPU min MHz:           126.0000
BogoMIPS:              48.00
Flags:                 half thumb fastmult vfp edsp thumbee neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm
linaro@tinkerboard:~$ lscpu
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
Model:                 1
Model name:            ARMv7 Processor rev 1 (v7l)
CPU max MHz:           1608.0000
CPU min MHz:           126.0000
BogoMIPS:              48.00
Flags:                 half thumb fastmult vfp edsp thumbee neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm
linaro@tinkerboard:~$ ^C
linaro@tinkerboard:~$


Hi Z80,

Can you make sure md5sum of /boot/rk3288-miniarm.dtb ?
My cmd replaces only this file.

Code:
linaro@tinkerboard:~$ md5sum /boot/rk3288-miniarm.dtb
ce70fbd5cf42cc3e4d9728612837887e  /boot/rk3288-miniarm.dtb
linaro@tinkerboard:~$ lscpu
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
Model:                 1
Model name:            ARMv7 Processor rev 1 (v7l)
CPU max MHz:           1800.0000
CPU min MHz:           126.0000
BogoMIPS:              48.00
Flags:                 half thumb fastmult vfp edsp thumbee neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm
linaro@tinkerboard:~$
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)