Archive

Archive for November, 2007

Tech day INdT – Manaus e Joinville – Fotos

Categories: debian, evento, kernel Tags:

Tech day – INdT e UFAM

O techday – INdT e UFAM está sendo realizado na UFAM. Na trilha Core, as apresentações estão disponíveis no site do INdT.

http://osmrc.indt.org/keppler/techday_manaus_ufam_2007/

Categories: debian, evento, kernel Tags:

INDT promove Tech day em Joinville

Depois de um certo tempo de trabalha no Linux’s minix, Linus Torvalds manda um email chamando desenvolvedores para colaborar com o Linux.

“Você sente saudade dos bons dias do minix-1.1, quando homens eram homens e escreviam seus próprios device drivers? Você está sem um bom projeto e morrendo de vontade de colocar as mãos em um sistema operacional o qual possa modificar de acordo com suas necessidades? Você acha frustante quando tudo funciona bem no Minix? Sem mais noites em claro para fazer com que um programa funcione? Então esta mensagem pode ser exatamente para você. :-) ” [1]

Agora é sua vez de coloborar com o Linux. Quer saber como, venha ao INDT Techday Joinville.

Sábado, eu devo publicar a palestra que irei apresentar no Tech day Joinville.

Tema: QEMU para desenvolvimento do kernel do Linux

Referências:
[1] – http://www.vivaolinux.com.br/artigos/verArtigo.php?codigo=4409
[2] – http://www.uploadx.com/articles/linux/History_of_Linux.html
[3] – http://franciscoalecrim.blogspot.com/search?q=qemu

Categories: debian, evento, kernel Tags:

N810 : measure standard memory consumption using IA

Hi all,

Maemo gave me a discount to buy a N810 and soon I’ll do some test using the tool that I based my final project (SOM-IA + MAEMO + MEMORY). ;)

Regards,

Alecrim.

Categories: debian, maemo Tags:

Distributed ARM cross compilation ( Fast ARM Compilation )

+

You configured the ARM cross compiler and now you can compile your ARM kernel more fast using distcc.

Follow the instructions below.

Requirement:

* Configure DISTCC

* Configure ARM toolchain

After requirements:
”’You need to execute the instructions in all machines available for DISTCC_HOSTS.”’

=== ALL DISTCC_HOSTS MACHINES ===

* Directing ARM compilation to distcc

for a in /opt/cs-gcc/bin/arm-none-* ; do sudo ln -s /usr/bin/distcc `echo $a | cut -f5 -d/  | sed -e 's/none-eabi/linux/'` ; done

* Edit /etc/init.d/distcc

Change from: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11"      to: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/opt/cs-gcc/bin/"

* Restart distcc service

  /etc/init.d/distcc restart

* After all machines configured then you can your kernel

make ARCH=arm omap_h3_1710_defconfigmake ARCH=arm cleanmake ARCH=arm -j12

That’s all!!

Categories: debian, kernel, omap Tags:

Installing ARM Cross compilation

Many phones are based on OMAP 1710. Search “OMAP 1710″ on google and you will find them.

The instructions below show you how you could configure a compiler for OMAP 1710 and compile a kernel using this compiler.

Instructions
Get CodeSourcery toolchain ==> arm-2005q3-2-arm-none-eabi
* On what system will your program run? ARM EABI
* On what system will you run the tools? IA32 GNU/Linux
* Download

Untar on /opt/cs-gcc

make -p /opt/cs-gcccp TOOLCHAIN_PATH/arm-2005q3-2-arm-none-eabi-i686-pc-linux-gnu.tar.bz2 /opt/cs-gcctar -xvjf arm-2005q3-2-arm-none-eabi-i686-pc-linux-gnu.tar.bz2

Create links from arm-none-eabi-* to arm-linux-*

cd /opt/cs-gcc/binfor a in arm-none-* ; do ln -s $a $(echo $a | sed -e 's/none-eabi/linux/') ; done

Compile your kernel

cd linux-omap-2.6 make ARCH=arm clean make ARCH=arm omap_h3_1710_defconfigmake ARCH=arm 

References:
* http://linux.omap.com/pipermail/linux-omap-open-source/2004-November/002175.html
* http://people.via.ecp.fr/~clem/nist/qt-notes.php

Categories: debian, kernel, omap Tags:

Distributed compilation (FAST COMPILATION)

Save your time!! Reduce the compilation time.

Edit and use the script below (debiandistcc_quickinstall.sh) :

—————————————————————————————–

#!/bin/bash

##########################################
# CHANGE BELOW
##########################################
SUBNETWORK=192.168.1.0/24
# name or ip from machines
MACHINES=”machineA machineB localhost”
# max number of threads — we recommend : NUMBER OF CPUs * 4 = 3 * 4 = 12
NCONCURRENCY=”12″

##########################################
# DO NOT CHANGE BELOW
##########################################

#install distcc
apt-get install distcc
apt-get install distccmon-gnome

#configure distcc
echo ‘STARTDISTCC=”true”‘>/etc/default/distcc
echo ‘ALLOWEDNETS=”$SUBNETWORK”‘>>/etc/default/distcc
echo ‘LISTENER=”0.0.0.0″‘>>/etc/default/distcc

#distcc executable
mkdir -p /usr/local/distcc/bin
cd /usr/local/distcc/bin
ln -s /usr/bin/distcc c++
ln -s /usr/bin/distcc cc
ln -s /usr/bin/distcc g++
ln -s /usr/bin/distcc gcc

#exporting distcc
echo ‘CONCURRENCY_LEVEL=$NCONCURRENCY’ >> ~/.bashrc
echo ‘DISTCC_HOSTS=”$MACHINES”‘ >> ~/.bashrc
echo ‘PATH=”/usr/local/distcc/bin:${PATH}”‘ >> ~/.bashrc
echo ‘export CONCURRENCY_LEVEL DISTCC_HOSTS PATH’ >> ~/.bashrc
source ~/.bashrc

—————————————————————————————–

Compiling kernel
* cd YOUR_KERNEL_TREE
* make clean
* make ”’-j12”’

HAPPY COMPILATION!!!

Reference:

http://distcc.samba.org/

Categories: debian, kernel Tags: