WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: piCore 6.0 Beta355  (Read 13147 times)

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: piCore 6.0 Beta355
« Reply #15 on: December 29, 2014, 11:53:40 AM »
Is there any way how to change the default mode to performance to test the above mentioned way.

Download http://repo.tinycorelinux.net/6.x/armv6/release_candidates/kernel.img and overwrite /mnt/mmcblk0p1/kernel.img with it. It is the same kernel as before except with governor set to performace by default.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline onelife

  • Full Member
  • ***
  • Posts: 141
Re: piCore 6.0 Beta355
« Reply #16 on: December 29, 2014, 02:20:25 PM »
Hi all,

Festive greetings! I'm really excited to get a system up and running on this new beta BUT a quick question as I don't see the full "release update details" as such. I'm wondering if the recursive backup is now possible? I currently run an rsync script to achieve recursive backup but a way built into the system would be great :)

Chat soon - Thanks


Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: piCore 6.0 Beta355
« Reply #17 on: December 29, 2014, 02:33:29 PM »
What do you mean recursive backup?
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline jgrulich

  • Sr. Member
  • ****
  • Posts: 341
    • GRULICH DESIGN - R&D Lab.
Re: piCore 6.0 Beta355
« Reply #18 on: December 30, 2014, 06:05:22 AM »
Béla,

Great work !!!

The cpu freqency management and overclocking is working well now.
After installing the cpufrequtils.tcz I'm using the confix.txt frequency setup as follows:
Code: (bash) [Select]
arm_freq=1100
core_freq=500
sdram_freq=550
over_voltage=6

and first line in the bootlocal.sh:
Code: (bash) [Select]
cpufreq-set -g ondemand

and everything is working very fast and stable.

My suggestion is to make the cpufrequtils as a basic part of the next distro and set the ondemand into the bootlocal.sh.
The config.txt overclocking may be set to conservative values, safe even for slower CPU's used in A+ boards:
Code: (bash) [Select]
arm_freq=900
core_freq=333
sdram_freq=450

And please add the "&" string at the end of the getty line to enable the following command to be executed.

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: piCore 6.0 Beta355
« Reply #19 on: December 30, 2014, 06:34:37 AM »
Hi Jan

thanks for the feedback.

My suggestion is to make the cpufrequtils as a basic part of the next distro and set the ondemand into the bootlocal.sh.

cpufrequtils.tcz is not needed to change governor, this code can do the job in bootlocal.sh:

Code: [Select]
cat ondemand > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
Also you can tune ondemand parameters like tresholds to change its behavior.

And please add the "&" string at the end of the getty line to enable the following command to be executed.

& is not enough. With the present way if one types exit it stops the terminal and you can never log in again. Need a loop to restart it after exit. Will do in next cut.
« Last Edit: December 30, 2014, 06:37:34 AM by bmarkus »
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline jgrulich

  • Sr. Member
  • ****
  • Posts: 341
    • GRULICH DESIGN - R&D Lab.
Re: piCore 6.0 Beta355
« Reply #20 on: December 30, 2014, 08:49:16 AM »
cpufrequtils.tcz is not needed to change governor, this code can do the job in bootlocal.sh:
Code: [Select]
cat ondemand > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governorAlso you can tune ondemand parameters like tresholds to change its behavior.

Yes, you're right that this utility is not mandatory to control the governor, but it is easy way how to do so and
the part of the utility is the cpufreq-info which is nice tool to display all the CPU parameters instead of searching them in the
Code: (bash) [Select]
/sys/devices/system/cpu/cpu0/cpufreq/directory.

Offline jgrulich

  • Sr. Member
  • ****
  • Posts: 341
    • GRULICH DESIGN - R&D Lab.
Re: piCore 6.0 Beta355
« Reply #21 on: December 30, 2014, 09:47:51 AM »
Hi Béla,

the
Code: (bash) [Select]
cat ondemand > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
command is not working this way.
The "Permissio denied" message appears when writing to this folder, even with the "sudo" command in front.
It need to be done exactly this way:
Code: (bash) [Select]
sudo chown tc /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo ondemand > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
sudo chown root /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
This will change the governor and returns the write access rights back to root.

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: piCore 6.0 Beta355
« Reply #22 on: December 30, 2014, 11:27:44 AM »
I made a typo, in fact it is

Code: [Select]
echo ondemand > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
which works fine.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."