Espressobin support development efforts
13 13

342 posts in this topic

Recommended Posts

On 2-1-2018 at 7:13 PM, ebin-dev said:

 

All my best wishes to everybody too.

The file /etc/default/cpufrequtils was overwritten by default values - since you use a system with 1200MHz max frequency you need to change the values back to something like this (that was the reason why I recommended to flash u-boot with 1000MHz):

 

Thanks ebin-dev,

 

My cpufrequtils are:

ENABLE=true
MIN_SPEED=200000
MAX_SPEED=1200000
GOVERNOR=ondemand

 

The scaling doesn't work for me.

 

In the passed I tested with the 1000MHz u-boot but got a lot of kernel-panics.

Now, a few weeks or more later, I'll flash my u-boot again to 1000MHz. See what's happen.

 

 

kr.,

Patrick

Share this post


Link to post
Share on other sites
13 hours ago, Patrick said:

The scaling doesn't work for me.

 

I have checked your settings 1200MHz / 200MHz with my system:

 

Quote

# cat /proc/version

Linux version 4.4.107-mvebu64 (root@xeon) (gcc version 6.4.1 20171012 (Linaro GCC 6.4-2017.11) ) #7 SMP PREEMPT Sat Dec 30 14:02:18 CET 2017

 

# cpufreq-info 
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
  CPUs which need to have their frequency coordinated by software: 0 1
  maximum transition latency: 50.0 us.
  hardware limits: 200 MHz - 1.20 GHz
  available frequency steps: 200 MHz, 300 MHz, 600 MHz, 1.20 GHz
  available cpufreq governors: conservative, ondemand, userspace, powersave, performance
  current policy: frequency should be within 200 MHz and 1.20 GHz.
                  The governor "ondemand" may decide which speed to use
                  within this range.
  current CPU frequency is 300 MHz.
  cpufreq stats: 200 MHz:34.62%, 300 MHz:50.72%, 600 MHz:0.48%, 1.20 GHz:14.18%  (43235)
analyzing CPU 1:
  driver: cpufreq-dt
  CPUs which run at the same hardware frequency: 0 1
  CPUs which need to have their frequency coordinated by software: 0 1
  maximum transition latency: 50.0 us.
  hardware limits: 200 MHz - 1.20 GHz
  available frequency steps: 200 MHz, 300 MHz, 600 MHz, 1.20 GHz
  available cpufreq governors: conservative, ondemand, userspace, powersave, performance
  current policy: frequency should be within 200 MHz and 1.20 GHz.
                  The governor "ondemand" may decide which speed to use
                  within this range.
  current CPU frequency is 300 MHz.
  cpufreq stats: 200 MHz:34.62%, 300 MHz:50.72%, 600 MHz:0.48%, 1.20 GHz:14.18%  (43235)

 

Share this post


Link to post
Share on other sites
12 hours ago, ebin-dev said:

 

I have checked your settings 1200MHz / 200MHz with my system:

 

 

I flashed the u-boot with "flash-image-1g-1000_800_boot_sd_and_usb.bin" and burned a new image on the sd-card.

 

Now the scaling works for me also.

 

# cat /proc/version
Linux version 4.4.107-mvebu64 (root@xeon) (gcc version 6.4.1 20171012 (Linaro GCC 6.4-2017.11) ) #7 SMP PREEMPT Sat Dec 30 14:02:18 CET 2017

 

# cpufreq-info
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
  CPUs which need to have their frequency coordinated by software: 0 1
  maximum transition latency: 50.0 us.
  hardware limits: 200 MHz - 1000 MHz
  available frequency steps: 200 MHz, 250 MHz, 500 MHz, 1000 MHz
  available cpufreq governors: conservative, ondemand, userspace, powersave, performance
  current policy: frequency should be within 250 MHz and 1000 MHz.
                  The governor "ondemand" may decide which speed to use
                  within this range.
  current CPU frequency is 1000 MHz (asserted by call to hardware).
  cpufreq stats: 200 MHz:0.11%, 250 MHz:47.38%, 500 MHz:0.46%, 1000 MHz:52.06%  (10841)
analyzing CPU 1:
  driver: cpufreq-dt
  CPUs which run at the same hardware frequency: 0 1
  CPUs which need to have their frequency coordinated by software: 0 1
  maximum transition latency: 50.0 us.
  hardware limits: 200 MHz - 1000 MHz
  available frequency steps: 200 MHz, 250 MHz, 500 MHz, 1000 MHz
  available cpufreq governors: conservative, ondemand, userspace, powersave, performance
  current policy: frequency should be within 250 MHz and 1000 MHz.
                  The governor "ondemand" may decide which speed to use
                  within this range.
  current CPU frequency is 1000 MHz (asserted by call to hardware).
  cpufreq stats: 200 MHz:0.11%, 250 MHz:47.38%, 500 MHz:0.46%, 1000 MHz:52.06%  (10841)

Share this post


Link to post
Share on other sites

Hi,

 

Sometimes my ESPRESSObin crashes (I think).

I need to "hard reset" the ESPRESSObin and afterwards it runs normal again.

 

Is there a way, a log file or so, to find the cause of the crash? 

 

kr.,

Patrick

Share this post


Link to post
Share on other sites
17 hours ago, Patrick said:

Is there a way, a log file or so, to find the cause of the crash? 

 

Did you check the output of your console ? The last thing it should do is to display a kernel panic.

You could also check if the problem remains if you flash u-boot/atf with 800_800 MHz.

Share this post


Link to post
Share on other sites
3 hours ago, ebin-dev said:

 

Did you check the output of your console ? The last thing it should do is to display a kernel panic.

You could also check if the problem remains if you flash u-boot/atf with 800_800 MHz.

When I connect to the console when the ESPRESSObin has crashed, I only get an empty window.

For me it's only possible to see the console when my macbook is connected (and the cosole open) on a running ESPRESSObin.

Share this post


Link to post
Share on other sites
1 hour ago, Patrick said:

For me it's only possible to see the console when my macbook is connected (and the cosole open) on a running ESPRESSObin.

 

Please post any errors / kernel panics you observe this way (disconnect the Power supply from your MacBook !).

If you observe any kernel panics please flash u-boot/atf with 800_800 MHz and see if the issue remains.

Share this post


Link to post
Share on other sites
18 hours ago, ebin-dev said:

 

Please post any errors / kernel panics you observe this way (disconnect the Power supply from your MacBook !).

If you observe any kernel panics please flash u-boot/atf with 800_800 MHz and see if the issue remains.

I'm back to 1200_750 MHz and the crashes are gone.

So the 1000_800 MHz doesn't work for at this moment.

 

kr.,

Patrick

Share this post


Link to post
Share on other sites
7 hours ago, Patrick said:

I'm back to 1200_750 MHz and the crashes are gone.

So the 1000_800 MHz doesn't work for at this moment.

 

kr.,

Patrick

I found all the firmware with 800mhz ram speed is dodgy. It must be a marginal board layout issue of the ram won't run stable at its rated speed.

 

We just have to put up with lower memory bandwidth on a board that already wasn't all that fast (single channel 16 bit memory interface).

Isn't it similar to the first ever DDR PC's 15 years ago? They had 64 bit bus width, 200mhz.

Patrick likes this

Share this post


Link to post
Share on other sites
On 5-1-2018 at 6:34 PM, ebin-dev said:

 

Please post any errors / kernel panics you observe this way (disconnect the Power supply from your MacBook !).

If you observe any kernel panics please flash u-boot/atf with 800_800 MHz and see if the issue remains.

Sometimes I've got this kind of errors and the system doesn't respond anymore:

 

Message from syslogd@localhost at Jan 12 17:42:02 ...
 kernel:[39637.813868] Call trace:

Message from syslogd@localhost at Jan 12 17:42:02 ...
 kernel:[39637.822536] Call trace:

 

After a few minutes (approx. 10 or so), the system is running normal again.

 

 

kr.

Patrick

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

13 13

  • Support the project

    We need your help to stay focused on the project.

    Choose the amount and currency you would like to donate in below.