>
> How do you guys build the PM kernel by Kevin Hilman, and what .config-
> file do you use?
I use openembedded to build pm and non-pm kernels. OE includes patches
and known good configs to make them work.
regards,
Koen
> Hi Koen,
>
> Maybe you can write a short Wiki on how to choose which Kernel OE/
> Bitbake/Angstrom will build?
I don't write wikis since they go out of date way too quickly to be
usefull and I end up with people following outdated instructions.
> Default is a .21 kernel I believe?
.21 is so 5 years ago, try .29.
I tried building using your instructions and got the same Angstrom/
2.6.30+2.6.31rc1-pm1+gi image:
----console message----
## Booting kernel from Legacy Image at 80300000 ...
Image Name: Angstrom/2.6.30+2.6.31rc1-pm1+gi
...
----
Even though it says pm1 as a part of the image name, the kernel does
not seem to be enabled with power management features (there are no
"cpufreq" directory in /sys/devices/system/cpu/cpu0/cpufreq).
is it the same for you? Or am I missing something obvious?
-hari
On Dec 13 2009, 12:22 pm, "Joep Schroen" <joepschr...@gmail.com>
wrote:
> Van: Joep Schroen [mailto:joepschr...@gmail.com]
> Verzonden: zaterdag 12 december 2009 14:46
> Aan: Beagle Board
> Onderwerp: Re: [beagleboard] Re: How do you build and run the PM kernel?
>
> Finally... The solution that works for me:
> /openembedded/conf/machine/include/omap3.inc -> remove
> PREFERRED_PROVIDER_virtual/kernel line
> /openembedded/conf/machine/beagleboard.conf -> add
> PREFERRED_PROVIDER_virtual/kernel = "linux-omap-pm"
> /openembedded/recipes/linux/linux-omap_2.6.29.bb -> remove
> DEFAULT_PREFERENCE_beagleboard = "1
> /openembedded/recipes/linux/linux-omap_2.26.27 till 2.26.28 -> add
> DEFAULT_PREFERENCE = "-1"
> /openembedded/recipes/linux/linux-omap-pm_git.bb -> add
> DEFAULT_PREFERENCE_beagleboard = "1"
>
> Can someone comment on this; Is this the "preferred way" of doing, or is
> there a better way?
> I had to remove the PREFERRED line from omap3.inc otherwise both the normal
> and pm kernel got made (with an error that both provide virtual/kernel).
>
> Wkr,
> Joep
>
> 2009/12/11 Duckyduck <joepschr...@gmail.com>
> > >> you. If you want to build a PM kernel, you can do this usingAngstrom, or
> > >> you can build the PM kernel directly from GIT and add the
> patches that
> > >>Angstromuse. If you have installedAngstrom, then the PM
> recipes in
> > >> openembedded/recipes/linux will show you how to build a PM
> kernel. Look at
> > >> linux-omap-pm_git.bb for example. The SRC_URI shows you the GIT
> used to
> > >> retrieve the source, the SRCREV gives you the Shar1 to checkout
> the correct
> > >> release in GIT, and the SRC_URI_append are the patches you
> should apply.
>
> > >> You should learn how to useAngstromand also how to use GIT.
>
> > >> I think withAngstrom, you can just use
> > >> bitbakelinux-omap-pm
> > >> and this will build the PM kernel for you.
>
> > >> If you want to do this manually, then it is a little more
> complicated:
> > >> Create a folder for your GIT repositories.
> > >> git clone
>
> git://git.kernel.org/pub/scm/linux/kernel/git/khlman/liinux-omap-pm.git;prot
> > >> ocol=git;branch=pm
> > >> cdlinux-omap-pm
> For more options, visit this group athttp://groups.google.com/group/beagleboard?hl=en.- Hide quoted text -
>
> - Show quoted text -
Both run properly and launch the shell, but somehow I can find neither
the cpufreq directory nor the cpufreq- commands in usr/bin. Did I miss
any steps along the way? Or do I need to use OE so that it builds the
file system required? Any help is appreciated. Thanks.
-Aji
On Jan 4, 12:34 pm, "haribabu.narayanan"
<haribabu.naraya...@gmail.com> wrote:
> @Joep:
>
> I tried building using your instructions and got the same Angstrom/
> 2.6.30+2.6.31rc1-pm1+gi image:
>
> ----console message----
> ## Booting kernel from Legacy Image at 80300000 ...
> Image Name: Angstrom/2.6.30+2.6.31rc1-pm1+gi
> ...
> ----
>
> Even though it says pm1 as a part of the image name, the kernel does
> not seem to be enabled withpowermanagementfeatures (there are no
> > For more options, visit this group athttp://groups.google.com/group/beagleboard?hl=en.-Hide quoted text -
I was working with OE/Angstrom environment and all I had to do was
to choose 2.6.29-r46 PM kernel instead of the default PM kernel (which
is 2.6.31 i guess). If you are not particular about using the latest
PM-kernel, mebbe this can work for you.
For cpufreq-utils, you will have to install it separately. See
http://www.kernel.org/pub/linux/utils/kernel/cpufreq/cpufrequtils.html.
If you succeed in installing it, please post back your solution. I am
facing the following problem with libtool:
/usr/bin/libtool: line 371: CDPATH: not found
/usr/bin/libtool: line 1079: func_opt_split: not found
libtool: Version mismatch error. This is libtool 2.2.4, but the
libtool: definition of this LT_INIT comes from an older release.
libtool: You should recreate aclocal.m4 with macros from libtool
2.2.4
libtool: and run autoconf again.
-hari
> > > For more options, visit this group athttp://groups.google.com/group/beagleboard?hl=en.-Hidequoted text -
>
> > > - Show quoted text -- Hide quoted text -
I have to config kernel:
1. enable [ CPU Power Management->CPU Frequency scaling ]
2. set [ Default CPUFreq governor->performance ]
This sets the frequency statically to the highest frequency
supported
by the CPU.
3. check cpufreq:
cd /sys/devices/system/cpu/cpu0/cpufreq/
cat scaling_available_frequencies
550000 500000 250000 125000
cat scaling_max_freq
550000
cat cpuinfo_cur_freq
550000
cat scaling_cur_freq
550000
so, cpufreq is 550Mhz now.
Best Regards,
George Qiao
>> git://git.kernel.org/pub/scm/linux/kernel/git/khlman/liinux-omap-pm.git;prot
--
使用 Opera 革命性的电子邮件客户程序: http://www.opera.com/mail/
On Feb 10, 3:24 am, george <joesensp...@gmail.com> wrote:
> Hi All,
>
> I have to config kernel:
> 1. enable [ CPU Power Management->CPU Frequency scaling ]
> 2. set [ Default CPUFreq governor->performance ]
> This sets the frequency statically to the highest frequency
> supported
> by the CPU.
> 3. check cpufreq:
> cd /sys/devices/system/cpu/cpu0/cpufreq/
> cat scaling_available_frequencies
> 550000 500000 250000 125000
> cat scaling_max_freq
> 550000
> cat cpuinfo_cur_freq
> 550000
> cat scaling_cur_freq
> 550000
> so, cpufreq is 550Mhz now.
>
> Best Regards,
> George Qiao
>
> ...
>
> read more »
> I see u-boot is built using codesourcery, but the kernel using OE. I
> tried to build the kernel
> using codesourcery, build failed in some options. Why can't we build u-
> boot and uImage using same cross compiler?
For angstrom everything is built with the same compiler
U-Boot 2009.11-rc1 (Jan 08 2010 - 21:19:52)
OMAP3530-GP ES3.1, CPU-OPP2 L3-165MHz
OMAP3 Beagle board + LPDDR/NAND
I2C: ready
DRAM: 256 MB
NAND: 256 MiB
*** Warning - bad CRC or NAND, using default environment
In: serial
Out: serial
Err: serial
Board revision C4
Die ID #1978000400000000040365fa1700e01a
Hit any key to stop autoboot: 0
mmc1 is available
reading boot.scr
603 bytes read
Running bootscript from mmc ...
## Executing script at 82000000
reading uImage.bin
3812320 bytes read
***** Kernel: /dev/mmcblk0p1/uImage.bin *****
reading ramdisk.gz
7999649 bytes read
***** RootFS: /dev/mmcblk0p1/ramdisk.gz *****
Wrong Image Format for bootm command
ERROR: can't get kernel image!
On Feb 11, 1:12 pm, Koen Kooi <k...@beagleboard.org> wrote:
> Op 11 feb 2010, om 11:50 heeftKaihet volgende geschreven:
>
> > I see u-boot is built usingcodesourcery, but the kernel using OE. I
> > tried to build the kernel
> > usingcodesourcery, build failed in some options. Why can't we build u-