Power management

Hello,

I'm a volunteer Chromium developer and have spent some time over the
past 6 months getting the browser building for ARM. I've recently
been taking some power measurements of Chromium and Firefox running on
the Beagleboard. If you're interested, see
http://jms.id.au/wiki/TheresSomethingOnMyArm

As I mentioned in my notes I was using the tip of omap-2.6 as my
kernel. I now want to attempt using a power management enabled
kernel. I built tip of the omap-26/pm branch using:

* oamp3_pm_defconfig
* UART change
* building all options that were selected as modules into the kernel
* omapfb options
* various drivers i need for networking, keyboard

It OOPSes during boot almost half the time, and locks up the other
half. I then tried the same config on omap-2.6/master, and it boots
to a login prompt, but I cannot get the display to work. "probe of
omapfb failed with error -22".

Are there any 'last known good revision' type tags for pm kernels, and
more importantly, a defconfig that will give me display and usb?

I have read the recent threads on pm kernels. I am not interested in
using OpenEmbedded as I already have a working distribution, as well
as a working cross building setup.

Cheers,

Joel

Hello,

Hello,

I'm a volunteer Chromium developer and have spent some time over the
past 6 months getting the browser building for ARM. I've recently
been taking some power measurements of Chromium and Firefox running on
the Beagleboard. If you're interested, see
http://jms.id.au/wiki/TheresSomethingOnMyArm

As I mentioned in my notes I was using the tip of omap-2.6 as my
kernel. I now want to attempt using a power management enabled
kernel. I built tip of the omap-26/pm branch using:

* oamp3_pm_defconfig
* UART change
* building all options that were selected as modules into the kernel
* omapfb options
* various drivers i need for networking, keyboard

It OOPSes during boot almost half the time, and locks up the other
half.

That's about what i got out of it too... Can you dump your dmesg,
defconfig to pastebin for comparison...

I then tried the same config on omap-2.6/master, and it boots
to a login prompt, but I cannot get the display to work. "probe of
omapfb failed with error -22".

I noticed this error too, just about as 2.6.32 was released. Didn't
really trace it down, since i merged Tomi's DSS2 tree.. Which going
forward (merged in 2.6.33) replaces the old omapfb driver..
Angstrom's been running this since 2.6.28 days..

His tree is at: http://gitorious.org/linux-omap-dss2/

Then add a patch to enable dss2 support for the beagle, something like:
http://bazaar.launchpad.net/~beagleboard-kernel/%2Bjunk/2.6-dev/annotate/head%3A/patches/rcn/beagle-dss2-support.diff

Just watch the mach -to- plat include changes in the patches as this
just occurred in the merge for 2.6.33

Are there any 'last known good revision' type tags for pm kernels, and
more importantly, a defconfig that will give me display and usb?

Anything pre 2.6.33 merge will need a patch for ehci, as this just got
merged over the weekend..

Regards,

Hello Robert,

That's about what i got out of it too... Can you dump your dmesg,
defconfig to pastebin for comparison...

See attached for a boot of todays omap-2.6/master. The offending
lines, I presume, are

omapfb omapfb: no displays
omapfb omapfb: failed to setup omapfb
omapfb: probe of omapfb failed with error -22

I have tried a number of different kernel command lines for omapfb,
including none, and it did not help.

I noticed this error too, just about as 2.6.32 was released. Didn't
really trace it down, since i merged Tomi's DSS2 tree.. Which going
forward (merged in 2.6.33) replaces the old omapfb driver..
Angstrom's been running this since 2.6.28 days..

His tree is at: http://gitorious.org/linux-omap-dss2/

Then add a patch to enable dss2 support for the beagle, something like:
~beagleboard-kernel/+junk/2.6-dev : contents of patches/rcn/beagle-dss2-support.diff at revision 130

Just watch the mach -to- plat include changes in the patches as this
just occurred in the merge for 2.6.33

It appears that omap-2.6/master is pulling in Linus' tree as the merge
window progresses, so I shouldn't need the separate dss2 tree or
patches, correct?

Joel

omap-master-2.6.32-14362-g340cc2b.dmesg (11.6 KB)

omap-master-2.6.32-14362-g340cc2b.log (7.13 KB)

omap-master-2.6.32-14362-g340cc2b.config (39.1 KB)

Hi Joel,

It appears that omap-2.6/master is pulling in Linus' tree as the merge
window progresses, so I shouldn't need the separate dss2 tree or
patches, correct?

Joel

Yeap, the dss2 is in omap-2.6/master.. Tony merged Tomi's dss2 tree..

You just need this dss2 enable patch, needs to be cleaned up a bit
before sent upstream, and little defconfig change..

Regards,

beagle-dss2-support.diff (8.5 KB)

dmesg.log (11.3 KB)

defconfig.change (551 Bytes)

Thanks for your help. That did the trick.

Joel