We have moved to a new Sailfish OS Forum. Please start new discussions there.
20

"core control" is missing?

asked 2017-02-14 08:41:13 +0300

Asmir gravatar image

updated 2017-06-19 21:36:27 +0300

Recently, I found one strange thing in "init.qcom.post_boot.sh"

case "$target" in
"msm8909")

   ...

# Enable core control
insmod /system/lib/modules/core_ctl.ko
echo 2 > /sys/devices/system/cpu/cpu0/core_ctl/min_cpus
    max_freq=`cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq`
    min_freq=800000

  ...

  esac

To my surprise the path "/system/lib/modules/" and the file "core_ctl.ko" are absent.

What does it mean?

EDIT 2017-03-25: still absent in v2.1.0.10

EDIT 2017-06-19: still absent in v2.1.1.12

edit retag flag offensive close delete

Comments

1

what kind of error does this produce(if at all)?

tortoisedoc ( 2017-02-14 08:57:25 +0300 )edit
3

@tortoisedoc. No any bugs and errors. But 4 cores work in idle => more power consumption in idle :(

Asmir ( 2017-02-14 09:00:52 +0300 )edit
1

Interesting; that's a serious power issue IMO (perhaps not an error per se but a misconfiguration)? Could you detail more how this script relates to idling control? (Noob here)

tortoisedoc ( 2017-02-14 10:29:47 +0300 )edit
2

@tortoisedoc, I'm noob too ;) This string:

echo 2 > /sys/devices/system/cpu/cpu0/core_ctl/min_cpus

means 2 core "always_on" (IMHO)

Asmir ( 2017-02-14 11:01:34 +0300 )edit
2

Okay; but as the core_ctl.ko module is missing; the /sys path in question will not exist, correct? Therefore this command wont have an effect.

tortoisedoc ( 2017-02-14 13:27:03 +0300 )edit

1 Answer

Sort by » oldest newest most voted
2

answered 2017-06-29 17:27:02 +0300

N9Sailfish gravatar image

You guys are now more valuable than gold. 😊 I got message from Jolla support today that they have a look only on the future phones etc from now on. Thus no longer other support on Jolla C than "usuall SFOS updates". Thus not any official support anymore on "core control missing". I do not want to write down what I'm thinking now of ...

edit flag offensive delete publish link more

Comments

The Jolla C is a community device for devs, without source code...

jolladiho ( 2017-06-29 18:12:38 +0300 )edit

I wonder, does this mean no support at all for Jolla C?

tortoisedoc ( 2017-06-29 19:21:04 +0300 )edit

@N9Sailfish I know nothing about the whole stuff here. But if i may give my feeling with understanding.
you speak to support which handles for "normally" official supported phones. Jolla c is as i undersand a community device for developer. I would interpret then that extern devel are on their own (otherwise they know somebody by jolla with direct contact where they may directly discuss on such kind of stuff, or someone extern who were trained on it)

Furthermore, they (support people) don't evolves on such deep technical stuff. And for knowing about it, they should refer then to the correct person, who is surely (in this small team) deep in development for next devel-step, and instructions from management are surely not to disturb (in closure).
I mean with it, support have no concrete idea on it, know which person intern is skilled on it, but have instruction not to disperse the small available capacity on any "small" (or i don't know what) request which has no deep impact on a phone usage (jolla c works, and all functions are available).

My interpretation, which could be totally wrong. I wanted to tell you, with this community devel-phone, that you are better supported on your own with people on the same case as you.

Question as newbie. what the Asmir found fit to a dual core like the JP1. the JC and aqua fish are 4-core. the aquaF is official, same for turing. maybe something happened in JC with less care that not happened in aqua or TRI. Would be possible to compare this part with the one by aqua and tri phone? Maybe some files from them may be taken (copy). I would not be surprised that jc was not be polished like the other one...

Do you know what i mean?

cemoi71 ( 2017-06-29 19:42:48 +0300 )edit

in JC could be some rest from JP1 at this point, but not completely change (not present), which could be found on other phones of similar generation and platform...
Is that a possible reasoning?
Then who has an aqua fish and tri and give a look at this place?

cemoi71 ( 2017-06-29 19:46:07 +0300 )edit

@cemoi71, JP1 works perfectly without any "core_ctl.ko". I think cause JP1's and JC's hardware is different.

Inoi R7 has the same hardware like JC and "core_ctl.ko" also is missing. But firmware for Inoi R7 was made by OMP. At least their logo on the boot splash screen is present

Asmir ( 2017-06-29 21:52:56 +0300 )edit
Login/Signup to Answer

Question tools

Follow
5 followers

Stats

Asked: 2017-02-14 08:41:13 +0300

Seen: 1,038 times

Last updated: Jun 29 '17