From: Eric van Tassell <evt(a)evtM17x.(none)>
Since my first attempt at doing this by analogy to what's already in
powerdebug(tree of sysfs files) was rejected because reviewers didn't
want to add a bunch more OMAP specific files to sysfs, I rewrote things
in userland.
There are a few basic chunks to the changes:
1) Add code to parse a CSV-like config file that defines a heirarchy
of whatever form you want where the leaves are fields in mmio
registers. Include decoders for the field values something easy to read
(ex: "off" instead of 0)
2) A code to build a tree that the powerdebug framework walks
from a CSV config file
3) A small bit of code to read the mmio regs via /dev/mem
4) One example config file each for Power & Voltage Domains.
It's all tested on OMAP4430(panda) but the config file mechanism
is completely general.
Eric van Tassell (7):
- add config files to define selected power domain and voltage domain
registers for OMAP4430 add delimi.* to parse config
files with clone of strchrnul
- add support for reading memory mapped I/O registers via /dev/mem
- add support to display fields of memory mapped I/O registers with
optional value decoding as defined by config files
- largest commit of this series. Provide an instance of the tree
abstraction used by powerdebug core that is built by parsing a
config file instead of walking a debugfs tree as, for example,
the sensor functionality does
- add display options for Voltage and Power domains - enable
extended display function call
- add options for power and voltage domains - call tree_mgr_new
to create the objects that implement them
- cleanup
Android.mk | 4 +-
Makefile | 4 +-
delimi.c | 106 +++++++++++++++++++
delimi.h | 30 ++++++
dirtree.c | 149 +++++++++++++++++++++++++++
dirtree.h | 22 ++++
display.c | 30 +++++-
display.h | 4 +-
mainloop.c | 2 +
mmioreg.c | 77 ++++++++++++++
mmioreg.h | 27 +++++
powerdebug.c | 56 +++++++++--
pwrdm.regdefs.omap4 | 33 ++++++
regfield.c | 279 +++++++++++++++++++++++++++++++++++++++++++++++++++
regfield.h | 52 ++++++++++
tree.c | 28 ++++++
tree.h | 11 +-
tree_mgr.c | 203 +++++++++++++++++++++++++++++++++++++
tree_mgr.h | 25 +++++
utils.c | 69 +++++++++++++
utils.h | 15 ++-
vdd.regdefs.omap4 | 68 +++++++++++++
22 files changed, 1275 insertions(+), 19 deletions(-)
create mode 100644 delimi.c
create mode 100644 delimi.h
create mode 100644 dirtree.c
create mode 100644 dirtree.h
create mode 100644 mmioreg.c
create mode 100644 mmioreg.h
create mode 100644 pwrdm.regdefs.omap4
create mode 100644 regfield.c
create mode 100644 regfield.h
create mode 100644 tree_mgr.c
create mode 100644 tree_mgr.h
create mode 100644 vdd.regdefs.omap4
--
1.7.9.5
Hello
We are a graduation project and we work on i.mx53 quick start board, We
need to run android on it and we don't know how to begin
any help, please ?
thanks
--
*Ahmed Elshafey*
CSED Student
Hello, linaro-dev,
When I boot the Ubuntu desktop image available from
http://releases.linaro.org/12.06/ubuntu/leb-panda/lt-panda-x11-base_2012062…
all I see is a black screen and the mouse pointer.
I see some messages on the console like
[ 13.996887] (stk) : timed out waiting for ldisc to be
un-installed
[ 15.145019] (stk) :ldisc installation timeout
and
[ 22.983459] omap-hdmi-audio-dai omap-hdmi-audio-dai: audio
not supported
[ 22.990631] omap-hdmi-audio-dai omap-hdmi-audio-dai: can't
open interface omap-hdmi-audio-dai: -19
My PandaBoard is connected to a Dell monitor with a native
resolution of 1680 x 1050. Is this a problem?
--
Thank you,
David Cullen
Greetings,
I've published the current version of the script used to maintain the
Linux Linaro kernel trees. It is still at early stages of the
development, and has a big room for enhancements and improvements.
Nevertheless, it can recreate the earlier trees from the pinned
manifests (and do some other stuff). For some more details see
https://wiki.linaro.org/Platform/DevPlatform/LinuxLinaroKernelTreeProcess#L…
If interested, you can use ll-fold.sh in the way described at the wiki
page above at your own risk :)
Thanks,
Andrey
Hello, linaro-dev,
When I boot the Ubuntu desktop image available from
http://releases.linaro.org/12.06/ubuntu/leb-panda/lt-panda-x11-base_2012062…
all I see is a black screen and the mouse pointer.
I see some messages on the console like
[ 13.996887] (stk) : timed out waiting for ldisc to be un-installed
[ 15.145019] (stk) :ldisc installation timeout
and
[ 22.983459] omap-hdmi-audio-dai omap-hdmi-audio-dai: audio not supported
[ 22.990631] omap-hdmi-audio-dai omap-hdmi-audio-dai: can't open interface omap-hdmi-audio-dai: -19
My PandaBoard is connected to a Dell monitor with a native resolution of
1680 x 1050. Is this a problem?
--
Thank you,
David
Hi,
The SD card I routinely use for testing which I got at some Linaro
meeting or other has fallen apart (physically), so I'm on the hunt for a
new one. Does anyone have a recommendation of a brand of card I should
be looking for? For LAVA stuff, it needs to be at least 8 gigs.
Cheers,
mwh
Dear Mr Kurt Taylor,
Hello, I'm Claude Youn, work for InSignal, she made Origen board. I'm so
interest your project 'android-ucm', because I have a role on sound of
Origen board. And also Mr Bernard Park, who is in Linaro, asked me to
support audio and origen board works for linaro. :) After that, I asked
to Mr Mark brown, ASoC maintainer, about his tinyhal project status, and
he answered me to contect to you.
For now, I worked audioHAL of Origen board from alsa HAL, which was
ported by windriver guys, with some modifications. And also I ported
tinyhal, from Mr Mark Brown's git. :) But it's not enought to be a
official one, I think.
See below links,
- alsa legacy porting based hal
http://git.insignal.co.kr/?p=insignal-android/vendor/insignal/hal/alsahw_le…
- tinyhal based audio hal
http://git.insignal.co.kr/?p=insignal-android/vendor/insignal/hal/tinyhal.g…
So, how can I contribute to your project? Can you share your plan to me?
with best regards,
claude