Speed up compiling

My laptop has a dual core processor. During the bitbake omap3-console-image, only one cpu is working each time.
In order to increase the speed of bitbake compiling (use two cpu in the same time), go to the 'overo-oe/build/conf' folder. Open file 'site.conf'.

un-comment following statement:

# Uncomment these lines to enable parallel make.
# This allows make to spawn mutliple processes to take advantage of multiple 
# processors. Useful on SMP machines

done! both cpus are running at over 90% speed.

Error: Could not find a glib-genmarshal in your PATH

I got an error message during bitbake  omap3-console-image:

| checking for EILSEQ... yes
| checking for glib-genmarshal... no
| configure: error: Could not find a glib-genmarshal in your PATH
NOTE: Task failed: /home/erik/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/glib-2.0-2.24.1-r0/temp/log.do_configure.3375
ERROR: TaskFailed event exception, aborting
ERROR: Build of /home/erik/overo-oe/ do_configure failed
ERROR: Task 1369 (/home/erik/overo-oe/, do_configure) failed
NOTE: Tasks Summary: Attempted 483 tasks of which 483 didn't need to be rerun and 1 failed.
ERROR: '/home/erik/overo-oe/' failed

the way to fix the problem is do the  following: 

1. bitbake -c clean glib-2.0 
2. bitbake -c rebuild glib-2.0 

Then bitbake your normal image e.g bitbake omap3-console-image

Problem solved!

CPU/GPU Monitor Application for Linux

'gkrellm' is a good application to monitor your cpu and gpu usage.

To get cpu / gpu temperature, install
$sudo apt-get install sensors-detect
(note the last sentence after install it)

Then, restart 'gkrellm', enable the temperature sensor.


Can not use 'wget' download file through proxy in Ubuntu

I am trying to

$bitbake omap3-console-image

I got 'wget' errors.

I have already setup the proxy in my Ubuntu to be:
http_proxy = http://10.0.x.x:port/
ftp_proxy = http://10.0.x.x:port/

But it still does not work. The reason is that Ubuntu does not look at the proxy setting when use wget.

Here is the solution:

Take a look at .wgetrc or /etc/wgetrc and define there your proxy server.