Hello, Tom and Andy,
I added the Linaro repository and installed
> linux-image-3.4.0-1-linaro-lt-omap - Linux kernel image for version 3.4.0 on TI OMAP-based systems
Ubuntu boots into the Unity desktop without any problems.
--
Thank you,
David Cullen
Postmortem and lessons learned for Linaro's release 2012.06
https://wiki.linaro.org/Cycles/1206/Release/Review
Highlights and Key Successes
============================
Release 12.06 highlights the Android team's multimedia enablement being review
on AOSP, and the update to Android version 4.0.4 r2.
The video of Bero demonstrating the efficiency of the Linaro Android
toolchain has
now garnered over 230,000 views on Youtube.
http://armdevices.net/2012/06/02/linaro-improvements-to-android-4-0-4-perfo…
The Ubuntu team has created and published a new Linux Linaro branch, called
Linux Linaro Tracking It contains the 3.4 Landing Team trees from TI, Samsung
and ARM, delivering a single and unified tree which helps identifying
conflicts and
issues ahead of upstream.
Postmortem and Lessons Learned
==============================
Most of the topics for this cycle revolve around Linaro Connect. The
success of the
event is dampened by the shortened development cycle it creates. This time,
Linaro Connect occurred over a release day. While this presented some
challenges, some interesting positive issues were observed.
Connect doesn't necessarily have to interrupt things. Possibly because
of release
week, planning for the cycle was accomplished while the teams were in the same
location, which made issue resolution quicker and easier to discuss.
Teams should
follow this example to get code in early and use release week to plan
for the next
cycle. So it is up to each team to plan for pre and post Linaro
Connect as well as
planning for the cycle.
The Infrastructure team has been experimenting with paired programming and a
maintenance team. Each cycle 2 infrastructure engineers take the maintenance
rotation to deal with high priority bugs and occurring issues. This is
working very
well and has helped facilitate speedy resolutions to some problems that came up
during the cycle.
Blueprints
=========
The number of high or essential priority blueprints that missed the cycle:
Android 5 out of 12
Developer Platform 3 out of 10
Infrastructure 4 out of 6
Lava 1 out of 3
Total 13 out of 31
42% of high or essential priority blueprints scheduled for this cycle
were not delivered.
Total blueprints: 31 out of 61 missed the cycle.
High priority missed blueprints recap:
12.05: 19 out of 48, 39%
12.06: 13 out of 31, 42%
* Not included is data from working groups and landing teams
Source: https://docs.google.com/a/linaro.org/spreadsheet/ccc?key=0AjEaTwrvj1bidHZPL…
--
David Zinman
Linaro Release Manager | Project Manager
Linaro.org | Open source software for ARM SoCs
Hello, Tom and Andy,
A bizarre thing just happened.
I used Ctrl-Alt-F1 to switch to the first VT. When I pressed
Ctrl-Alt-F7 to switch back to X, the Unity GUI was displayed.
However, when I opened Firefox and tried to navigate to YouTube,
everything went black and I was left with only the mouse cursor.
When I repeat the above steps, I get the same result.
You can view the Xorg.0.log here:
http://pastebin.com/3C1eXXPS
The last line is very interesting:
> [ 79.072] PVR:(Fatal): Debug assertion failed! [1785, /sgxtransfer_utils.c]
It's the first thing I've seen that hints at the cause of my problems.
--
Thank you,
David Cullen
add powertop test cases into pm-qa. Run
the powertop sanity test to check if tool
is available. If yes, then run powertop in
report generation mode and validate the output.
Signed-off-by: Rajagopal Venkat <rajagopal.venkat(a)linaro.org>
---
Makefile | 1 +
powertop/Makefile | 25 ++++++++++++++++++
powertop/powertop_01.sh | 58 ++++++++++++++++++++++++++++++++++++++++++
powertop/powertop_01.txt | 1 +
powertop/powertop_sanity.sh | 35 +++++++++++++++++++++++++
powertop/powertop_sanity.txt | 1 +
6 files changed, 121 insertions(+)
create mode 100644 powertop/Makefile
create mode 100755 powertop/powertop_01.sh
create mode 100644 powertop/powertop_01.txt
create mode 100755 powertop/powertop_sanity.sh
create mode 100644 powertop/powertop_sanity.txt
diff --git a/Makefile b/Makefile
index f85e5ac..1e73608 100644
--- a/Makefile
+++ b/Makefile
@@ -33,6 +33,7 @@ check:
@(cd sched_mc; $(MAKE) check)
# @(cd suspend; $(MAKE) check)
# @(cd thermal; $(MAKE) check)
+# @(cd powertop; $(MAKE) check)
uncheck:
@(cd cpufreq; $(MAKE) uncheck)
diff --git a/powertop/Makefile b/powertop/Makefile
new file mode 100644
index 0000000..412edb5
--- /dev/null
+++ b/powertop/Makefile
@@ -0,0 +1,25 @@
+#
+# PM-QA validation test suite for the power management on Linux
+#
+# Copyright (C) 2011, Linaro Limited.
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+#
+# Contributors:
+# Rajagopal Venkat <rajagopal.venkat(a)linaro.org>
+# - initial API and implementation
+#
+
+include ../Test.mk
diff --git a/powertop/powertop_01.sh b/powertop/powertop_01.sh
new file mode 100755
index 0000000..cf243f1
--- /dev/null
+++ b/powertop/powertop_01.sh
@@ -0,0 +1,58 @@
+#!/bin/bash
+#
+# PM-QA validation test suite for the power management on Linux
+#
+# Copyright (C) 2011, Linaro Limited.
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+#
+# Contributors:
+# Rajagopal Venkat <rajagopal.venkat(a)linaro.org>
+# - initial API and implementation
+#
+
+# URL : https://wiki.linaro.org/WorkingGroups/PowerManagement/Doc/QA/Scripts#powert…
+
+source ../include/functions.sh
+
+run_powertop() {
+
+ local bin_path=`command -v powertop`
+ local report=csv
+ local seconds=10
+ local iterations=2
+ local report_name=PowerTOP*.csv
+
+ # remove old reports if exists
+ rm -f $report_name
+
+ # run powertop for $(iterations) in report generation mode
+ start_time=`date +%s`
+ sudo $bin_path --$report --time=$seconds --iteration=$iterations
+ end_time=`date +%s`
+
+ # check if powertop run for desired time
+ let expected_time="$iterations * $seconds"
+ let actual_time="$end_time - $start_time"
+
+ check "if powertop run for $expected_time sec" "test $actual_time -ge $expected_time"
+
+ # check if $(iterations) number of reports are generated
+ check "if reports are generated" "test $(ls -1 $report_name | wc -l) -eq $iterations"
+
+ return 0
+}
+
+run_powertop
diff --git a/powertop/powertop_01.txt b/powertop/powertop_01.txt
new file mode 100644
index 0000000..0caa6f0
--- /dev/null
+++ b/powertop/powertop_01.txt
@@ -0,0 +1 @@
+run powertop for 2 iterations of 10sec each
diff --git a/powertop/powertop_sanity.sh b/powertop/powertop_sanity.sh
new file mode 100755
index 0000000..3ae3065
--- /dev/null
+++ b/powertop/powertop_sanity.sh
@@ -0,0 +1,35 @@
+#!/bin/bash
+#
+# PM-QA validation test suite for the power management on Linux
+#
+# Copyright (C) 2011, Linaro Limited.
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+#
+# Contributors:
+# Rajagopal Venkat <rajagopal.venkat(a)linaro.org>
+# - initial API and implementation
+#
+
+source ../include/functions.sh
+
+check_powertop() {
+
+ local bin_name=powertop
+
+ command -v $bin_name >/dev/null 2>&1 && return 1 || return 0
+}
+
+check_powertop
diff --git a/powertop/powertop_sanity.txt b/powertop/powertop_sanity.txt
new file mode 100644
index 0000000..1a182ae
--- /dev/null
+++ b/powertop/powertop_sanity.txt
@@ -0,0 +1 @@
+powertop is not available. Skipping all tests...
--
1.7.9.5
add powertop test cases into pm-qa. Run
the powertop sanity test to check if tool
is available. If yes, then run powertop in
report generation mode and validate the output.
Signed-off-by: Rajagopal Venkat <rajagopal.venkat(a)linaro.org>
---
Makefile | 1 +
powertop/Makefile | 25 ++++++++++++++++++
powertop/powertop_01.sh | 58 ++++++++++++++++++++++++++++++++++++++++++
powertop/powertop_01.txt | 1 +
powertop/powertop_sanity.sh | 35 +++++++++++++++++++++++++
powertop/powertop_sanity.txt | 1 +
6 files changed, 121 insertions(+)
create mode 100644 powertop/Makefile
create mode 100755 powertop/powertop_01.sh
create mode 100644 powertop/powertop_01.txt
create mode 100755 powertop/powertop_sanity.sh
create mode 100644 powertop/powertop_sanity.txt
diff --git a/Makefile b/Makefile
index f85e5ac..1e73608 100644
--- a/Makefile
+++ b/Makefile
@@ -33,6 +33,7 @@ check:
@(cd sched_mc; $(MAKE) check)
# @(cd suspend; $(MAKE) check)
# @(cd thermal; $(MAKE) check)
+# @(cd powertop; $(MAKE) check)
uncheck:
@(cd cpufreq; $(MAKE) uncheck)
diff --git a/powertop/Makefile b/powertop/Makefile
new file mode 100644
index 0000000..412edb5
--- /dev/null
+++ b/powertop/Makefile
@@ -0,0 +1,25 @@
+#
+# PM-QA validation test suite for the power management on Linux
+#
+# Copyright (C) 2011, Linaro Limited.
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+#
+# Contributors:
+# Rajagopal Venkat <rajagopal.venkat(a)linaro.org>
+# - initial API and implementation
+#
+
+include ../Test.mk
diff --git a/powertop/powertop_01.sh b/powertop/powertop_01.sh
new file mode 100755
index 0000000..cf243f1
--- /dev/null
+++ b/powertop/powertop_01.sh
@@ -0,0 +1,58 @@
+#!/bin/bash
+#
+# PM-QA validation test suite for the power management on Linux
+#
+# Copyright (C) 2011, Linaro Limited.
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+#
+# Contributors:
+# Rajagopal Venkat <rajagopal.venkat(a)linaro.org>
+# - initial API and implementation
+#
+
+# URL : https://wiki.linaro.org/WorkingGroups/PowerManagement/Doc/QA/Scripts#powert…
+
+source ../include/functions.sh
+
+run_powertop() {
+
+ local bin_path=`command -v powertop`
+ local report=csv
+ local seconds=10
+ local iterations=2
+ local report_name=PowerTOP*.csv
+
+ # remove old reports if exists
+ rm -f $report_name
+
+ # run powertop for $(iterations) in report generation mode
+ start_time=`date +%s`
+ sudo $bin_path --$report --time=$seconds --iteration=$iterations
+ end_time=`date +%s`
+
+ # check if powertop run for desired time
+ let expected_time="$iterations * $seconds"
+ let actual_time="$end_time - $start_time"
+
+ check "if powertop run for $expected_time sec" "test $actual_time -ge $expected_time"
+
+ # check if $(iterations) number of reports are generated
+ check "if reports are generated" "test $(ls -1 $report_name | wc -l) -eq $iterations"
+
+ return 0
+}
+
+run_powertop
diff --git a/powertop/powertop_01.txt b/powertop/powertop_01.txt
new file mode 100644
index 0000000..0caa6f0
--- /dev/null
+++ b/powertop/powertop_01.txt
@@ -0,0 +1 @@
+run powertop for 2 iterations of 10sec each
diff --git a/powertop/powertop_sanity.sh b/powertop/powertop_sanity.sh
new file mode 100755
index 0000000..3ae3065
--- /dev/null
+++ b/powertop/powertop_sanity.sh
@@ -0,0 +1,35 @@
+#!/bin/bash
+#
+# PM-QA validation test suite for the power management on Linux
+#
+# Copyright (C) 2011, Linaro Limited.
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+#
+# Contributors:
+# Rajagopal Venkat <rajagopal.venkat(a)linaro.org>
+# - initial API and implementation
+#
+
+source ../include/functions.sh
+
+check_powertop() {
+
+ local bin_name=powertop
+
+ command -v $bin_name >/dev/null 2>&1 && return 1 || return 0
+}
+
+check_powertop
diff --git a/powertop/powertop_sanity.txt b/powertop/powertop_sanity.txt
new file mode 100644
index 0000000..1a182ae
--- /dev/null
+++ b/powertop/powertop_sanity.txt
@@ -0,0 +1 @@
+powertop is not available. Skipping all tests...
--
1.7.9.5
add powertop test cases into pm-qa. Run the powertop sanity
test to check if tool is available. If yes, then run
powertop in report generation mode and validate the output.
Signed-off-by: Rajagopal Venkat <rajagopal.venkat(a)linaro.org>
---
Makefile | 1 +
powertop/Makefile | 25 ++++++++++++++++++
powertop/powertop_01.sh | 58 ++++++++++++++++++++++++++++++++++++++++++
powertop/powertop_01.txt | 1 +
powertop/powertop_sanity.sh | 35 +++++++++++++++++++++++++
powertop/powertop_sanity.txt | 1 +
6 files changed, 121 insertions(+)
create mode 100644 powertop/Makefile
create mode 100755 powertop/powertop_01.sh
create mode 100644 powertop/powertop_01.txt
create mode 100755 powertop/powertop_sanity.sh
create mode 100644 powertop/powertop_sanity.txt
diff --git a/Makefile b/Makefile
index f85e5ac..1e73608 100644
--- a/Makefile
+++ b/Makefile
@@ -33,6 +33,7 @@ check:
@(cd sched_mc; $(MAKE) check)
# @(cd suspend; $(MAKE) check)
# @(cd thermal; $(MAKE) check)
+# @(cd powertop; $(MAKE) check)
uncheck:
@(cd cpufreq; $(MAKE) uncheck)
diff --git a/powertop/Makefile b/powertop/Makefile
new file mode 100644
index 0000000..412edb5
--- /dev/null
+++ b/powertop/Makefile
@@ -0,0 +1,25 @@
+#
+# PM-QA validation test suite for the power management on Linux
+#
+# Copyright (C) 2011, Linaro Limited.
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+#
+# Contributors:
+# Rajagopal Venkat <rajagopal.venkat(a)linaro.org>
+# - initial API and implementation
+#
+
+include ../Test.mk
diff --git a/powertop/powertop_01.sh b/powertop/powertop_01.sh
new file mode 100755
index 0000000..cf243f1
--- /dev/null
+++ b/powertop/powertop_01.sh
@@ -0,0 +1,58 @@
+#!/bin/bash
+#
+# PM-QA validation test suite for the power management on Linux
+#
+# Copyright (C) 2011, Linaro Limited.
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+#
+# Contributors:
+# Rajagopal Venkat <rajagopal.venkat(a)linaro.org>
+# - initial API and implementation
+#
+
+# URL : https://wiki.linaro.org/WorkingGroups/PowerManagement/Doc/QA/Scripts#powert…
+
+source ../include/functions.sh
+
+run_powertop() {
+
+ local bin_path=`command -v powertop`
+ local report=csv
+ local seconds=10
+ local iterations=2
+ local report_name=PowerTOP*.csv
+
+ # remove old reports if exists
+ rm -f $report_name
+
+ # run powertop for $(iterations) in report generation mode
+ start_time=`date +%s`
+ sudo $bin_path --$report --time=$seconds --iteration=$iterations
+ end_time=`date +%s`
+
+ # check if powertop run for desired time
+ let expected_time="$iterations * $seconds"
+ let actual_time="$end_time - $start_time"
+
+ check "if powertop run for $expected_time sec" "test $actual_time -ge $expected_time"
+
+ # check if $(iterations) number of reports are generated
+ check "if reports are generated" "test $(ls -1 $report_name | wc -l) -eq $iterations"
+
+ return 0
+}
+
+run_powertop
diff --git a/powertop/powertop_01.txt b/powertop/powertop_01.txt
new file mode 100644
index 0000000..0caa6f0
--- /dev/null
+++ b/powertop/powertop_01.txt
@@ -0,0 +1 @@
+run powertop for 2 iterations of 10sec each
diff --git a/powertop/powertop_sanity.sh b/powertop/powertop_sanity.sh
new file mode 100755
index 0000000..3ae3065
--- /dev/null
+++ b/powertop/powertop_sanity.sh
@@ -0,0 +1,35 @@
+#!/bin/bash
+#
+# PM-QA validation test suite for the power management on Linux
+#
+# Copyright (C) 2011, Linaro Limited.
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+#
+# Contributors:
+# Rajagopal Venkat <rajagopal.venkat(a)linaro.org>
+# - initial API and implementation
+#
+
+source ../include/functions.sh
+
+check_powertop() {
+
+ local bin_name=powertop
+
+ command -v $bin_name >/dev/null 2>&1 && return 1 || return 0
+}
+
+check_powertop
diff --git a/powertop/powertop_sanity.txt b/powertop/powertop_sanity.txt
new file mode 100644
index 0000000..1a182ae
--- /dev/null
+++ b/powertop/powertop_sanity.txt
@@ -0,0 +1 @@
+powertop is not available. Skipping all tests...
--
1.7.10
Hi,
I need to re-compile 3.0.0-1002.3 lianro omap kernel to include MADC
drivers. The reason is that the linaro-m 11.07 release uses this kernel,
and I need to add this module to this release.
Where can I find 3.0.0-1002.3 lianro omap kernel...???
I use overo-fire.
Any suggestion on which release should I use to include the MADC drivers....
---------------------------------
Sudhangathan BS
Ph:(+91) 9731-905-205
---------------------------------
Hi All,
Would you give me some help about Linux vmalloc size issue, if you have
some idea about the vmalloc size?
I saw the vmalloc size was changed from 256M to 300M:
http://bazaar.launchpad.net/~linaro-image-tools/linaro-image-tools/trunk/re…
Would you tell me how did you find out the vmalloc size issue?
There is a bug https://bugs.launchpad.net/igloocommunity/+bug/1014650
And I found out a work around solution that is increasing the vmalloc size
to 380M.
Would you tell me how to make sure whether the root cause is the vmalloc
size or not?
Thank you.
BRs,
Kejun
---------- Forwarded message ----------
From: Kejun Zhou <kejun.zhou(a)linaro.org>
Date: 2 July 2012 17:13
Subject: Some question about the vmailloc size of Snowball
To: Philippe Langlais <philippe.langlais(a)linaro.org>
Hi Philippe,
I saw the vmalloc size was changed from 256M to 300M:
http://bazaar.launchpad.net/~linaro-image-tools/linaro-image-tools/trunk/re…
Would you tell me how did you find out the vmalloc size issue?
There is a bug https://bugs.launchpad.net/igloocommunity/+bug/1014650
And I found out a work around solution that is increasing the vmalloc size
to 380M.
Would you tell me how to make sure whether the root cause is the vmalloc
size or not?
Thank you.
BRs,
Kejun
add powertop test cases into pm-qa. Run the powertop sanity
test to check if tool is available. If yes, then run
powertop in report generation mode and validate the output.
Signed-off-by: Rajagopal Venkat <rajagopal.venkat(a)linaro.org>
---
Makefile | 1 +
powertop/Makefile | 25 ++++++++++++++++++
powertop/powertop_01.sh | 58 ++++++++++++++++++++++++++++++++++++++++++
powertop/powertop_01.txt | 1 +
powertop/powertop_sanity.sh | 35 +++++++++++++++++++++++++
powertop/powertop_sanity.txt | 1 +
6 files changed, 121 insertions(+)
create mode 100644 powertop/Makefile
create mode 100755 powertop/powertop_01.sh
create mode 100644 powertop/powertop_01.txt
create mode 100755 powertop/powertop_sanity.sh
create mode 100644 powertop/powertop_sanity.txt
diff --git a/Makefile b/Makefile
index f85e5ac..1e73608 100644
--- a/Makefile
+++ b/Makefile
@@ -33,6 +33,7 @@ check:
@(cd sched_mc; $(MAKE) check)
# @(cd suspend; $(MAKE) check)
# @(cd thermal; $(MAKE) check)
+# @(cd powertop; $(MAKE) check)
uncheck:
@(cd cpufreq; $(MAKE) uncheck)
diff --git a/powertop/Makefile b/powertop/Makefile
new file mode 100644
index 0000000..412edb5
--- /dev/null
+++ b/powertop/Makefile
@@ -0,0 +1,25 @@
+#
+# PM-QA validation test suite for the power management on Linux
+#
+# Copyright (C) 2011, Linaro Limited.
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+#
+# Contributors:
+# Rajagopal Venkat <rajagopal.venkat(a)linaro.org>
+# - initial API and implementation
+#
+
+include ../Test.mk
diff --git a/powertop/powertop_01.sh b/powertop/powertop_01.sh
new file mode 100755
index 0000000..3427899
--- /dev/null
+++ b/powertop/powertop_01.sh
@@ -0,0 +1,58 @@
+#!/bin/bash
+#
+# PM-QA validation test suite for the power management on Linux
+#
+# Copyright (C) 2011, Linaro Limited.
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+#
+# Contributors:
+# Rajagopal Venkat <rajagopal.venkat(a)linaro.org>
+# - initial API and implementation
+#
+
+# URL : https://wiki.linaro.org/WorkingGroups/PowerManagement/Doc/QA/Scripts#powert…
+
+source ../include/functions.sh
+
+run_powertop() {
+
+ local bin_name=powertop
+ local report=csv
+ local seconds=10
+ local iterations=2
+ local report_name=PowerTOP*.csv
+
+ # remove old reports if exists
+ rm -f $report_name
+
+ # run powertop for $(iterations) in report generation mode
+ start_time=`date +%s`
+ sudo $bin_name --$report --time=$seconds --iteration=$iterations
+ end_time=`date +%s`
+
+ # check if powertop run for desired time
+ let expected_time="$iterations * $seconds"
+ let actual_time="$end_time - $start_time"
+
+ check "if powertop run for $expected_time sec" "test $actual_time -ge $expected_time"
+
+ # check if $(iterations) number of reports are generated
+ check "if reports are generated" "test $(ls $report_name | wc -l) -eq $iterations"
+
+ return 0
+}
+
+run_powertop
diff --git a/powertop/powertop_01.txt b/powertop/powertop_01.txt
new file mode 100644
index 0000000..0caa6f0
--- /dev/null
+++ b/powertop/powertop_01.txt
@@ -0,0 +1 @@
+run powertop for 2 iterations of 10sec each
diff --git a/powertop/powertop_sanity.sh b/powertop/powertop_sanity.sh
new file mode 100755
index 0000000..3ae3065
--- /dev/null
+++ b/powertop/powertop_sanity.sh
@@ -0,0 +1,35 @@
+#!/bin/bash
+#
+# PM-QA validation test suite for the power management on Linux
+#
+# Copyright (C) 2011, Linaro Limited.
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+#
+# Contributors:
+# Rajagopal Venkat <rajagopal.venkat(a)linaro.org>
+# - initial API and implementation
+#
+
+source ../include/functions.sh
+
+check_powertop() {
+
+ local bin_name=powertop
+
+ command -v $bin_name >/dev/null 2>&1 && return 1 || return 0
+}
+
+check_powertop
diff --git a/powertop/powertop_sanity.txt b/powertop/powertop_sanity.txt
new file mode 100644
index 0000000..1a182ae
--- /dev/null
+++ b/powertop/powertop_sanity.txt
@@ -0,0 +1 @@
+powertop is not available. Skipping all tests...
--
1.7.9.5
To argue, I'm with Steffen Hemer,
I'm working for a practical project, I'm trying to include MADC module and
trying to compile a kernel for lot while now, without success, to be more
serious, my boss is counting on me.
Is it worthwhile trying this at all...?
Every time i follow instructions at
https://wiki.linaro.org/Resources/HowTo/KernelDeploy , I end up with a
non-working image, or kernel that panics, doesn't boot finally. I have all
the problems that Stefen Hemer says, though haven't tried 12.06. I have
only tried upto 12.03 since 11.07 and also an old and stable 11.05 Ubuntu
Desktop, which I downloaded long back. 11.05 is an image that i'm using
since long for all activities now. I was pretty impressed with it, inspite
of it being a little slow.
Please advice which version should I use with LinaroMediaCreate and which
version of kernel should I compile.
I need these features: Stable Bluetooth, Wi-Fi with fully working Ad-Hoc
mode, MADC, GPIO controls (which I never had problems),
And also later dreaming to include advanced power management features and
XIP kernel.
I can share more detailed info if anybody out there says it's solvable..
Counting....
---------------------------------
Sudhangathan BS
Ph:(+91) 9731-905-205
---------------------------------