My PC on fire!

Well almost; I upgrade my computer that I use for openembedded [1] builds with a
quad core processor, once I remove the old processor and put back everything in
place I turn on the computer and star a build from scratch to generate an
x11-sato-image [2], when I saw that the build process start I left to take dinner with
my parents and come back like two hours later, to my surprise a burning smell in
my room! so I brutally turn off my computer.

Once my computer cold down a little I open the case and everything look OK,
no wires around the CPU fan no apparent damage in the motherboard, so the
problem must be on the power supply, um strange my first tough is a brand
know power supply and it provides more that enough watts necessary to
power-up all my system, please don’t be the power supply (they are expensive
in Mexico) its out of warranty, it has more than 4 years, oh well let’s open it and
find out if I can fix it; And I did the fix was simple the fan got damage so I replace
it reassemble and plug everything back turn on and restart the build processes.

Power supply fix

This problem got me thinking that the high price on technology products are and
obstacle in order to generate our own innovations, I do spend a lot of money on
computers and gadgets which I pay the best case scenario like 20% over of their
price in a first world class country in some cases the deferential is up to the 100%.

Poky kernel image and file system

Last post address the build process of Poky ARM SDK and how to configure Anjunta to use the toolchain for cross development; once you start building an application you  are going to need to deploy it to an target system and here is where Qemu comes to play, as you might know Qemu is an processor emulator that can be used as target platform.

The ingredients that you need are a kernel image and root file system that can be bitbaked:

source poky-init-build-env
bitbake poky-image-sato

if you are an Ubuntu hardy user like me you are going to see the next error:

ERROR:  Poky’s config sanity checker detected a potential misconfiguration.
Either fix the cause of this error or at your own risk disable the checker (see sanity.conf).
Following is the list of potential problems / advisories:

/proc/sys/vm/mmap_min_addr is not 0. This will cause problems with qemu so please fix the value   (as root).

I find an bug report about it, by I lost the reference, anywise you only need to set mmap_min_addr to 0:

sudo sysctl -w vm.mmap_min_addr=0

After a successful build the image and files system will be place on
[poky root path]/build/tmp/deploy/images/

the kernel image zImage-qemuarm.bin and
the file system poky-image-sato-qemuarm.ext2

However the building process my take a long time so you may prefer to download the kernel image and the root file system from http://pokylinux.org/releases/

In Anjuta poky plug-in preferences add the path for the root file system and kernel image:

You can find a screen cast on how to launch quemu, deploy your application and debug at   poky-anjuta-screencast.