Impressions and INdT13 Mar 2008 09:29 pm

It is great when you can contribute to others work. It is amazing to have access to the code, read and improve it.

But it is amazing when you see that there are other people improving your own work.

Jott has improved my Linux patch for Xomap Rotation and created an applet to make our lives easy when rotating. Take a look at his install instructions.

I hadn’t published my compiled kernel and .deb packages for chinook yet because I found a bug when switch screen on after automatically switch off, but Jott’s patch has fixed it. :)

Thank’s Jott.

INdT and Mamona15 Feb 2008 12:35 pm


This video shows the screen rotation on a Nokia N800. We have here an Enlightenment running on Mamona distro where each navigation button is associated with an xrandr command, e.g. LEFT: xrandr -o left.

I’ve implemented the xrandr support to Xomap (1.3.99) and the LCD controller rotation support on Linux-omap kernel. It is a very fast rotation since its made directly by the Epson LCD controller. The X is responsible to deal with mouse events and to change the resolution.

Lauro and Aloisio helped me with the Linux-omap patch that was already accept and applied to linux omap git tree.

Download patches:


INdT14 Nov 2007 09:43 pm

Giving sequence to it’s universities cooperation program, INdT is going to make more two Tech Days. The first one on november 20th and 21th at Sociesc in Joinville, SC – Brasil, and the second one on november 26th and 27th at UFAM in Manaus, AM – Brasil.


Click the image to more information about Joinville’s Tech Day.

INdT team (Openbossa Lab) will present:

  • Python for Maemo;
  • QEMU for Kernel Linux development;
  • Application development with mozilla;
  • Developing microb extensions;

INdT is offering too (for free!!!) a twelve hours duration course on developing for Maemo Platform.

Enjoy it!

As soon as possible I’ll post more information about Manaus one.

INdT and Mamona and OpenEmbedded07 Oct 2007 04:56 am

It has been passed a while since my last post, and now I’m writing to answer some questions about it and to tell you were I am right now.

We intend to release the 0.1 version next Mounth. At this first version Mamona won’t be compatible with Nokia’s ITOS neither have Hildon or Matchbox. However they are on our plans.

Mamona doesn’t have binary compatibility with Maemo yet because we were thinking ahead, and hoping that when we have our first stable release, Maemo would be catching up on us in terms of package and toolchain versions. By taking a look at Chinook Beta, we can notice that Maemo is almost there. So, Maemo and Mamona will have very similar
packages at some point in a not so distant future.

At this first release we will have a Enlightenment window manager with a keyboard and my dream is to release with the Gustavo’s Keyboard but we will try the Matchbox-keyboard and others to see which one fits better.

  •  What am I doing?

I’m in Berlin attending OEDEM 2007. I’ll write about it latter…

INdT and Mamona28 Aug 2007 06:15 pm

Thinking to leave the main flash memory free for Mamona tests I looked for a way to have dual boot in the N800. Then I found a good documentation explaining how to easily boot from MMC card.

The only step that I skipped was the “How to install a dual boot menu?”.

To use the system in memory card I’ve edited the initfs manually  to access directly the partition created in the memory card. The only thing that I did was to add the code below in the begin of boot() function in linuxrc of initfs (My last post  explains how to edit and flash the initfs in your pc).


As you can easily notice it is hard coded. Actually I’m not using a real dual boot because when testing mamona I need to flash the kernel too, so I prefer to flash a different initfs for mamona every time instead of have to press a button during the boot.

However it is possible to have a dual boot changing the begin of boot() function of linuxrc in initfs to be like that:

if ! grep -q new_root /proc/mounts; then
text2screen -t “Press any key for MMC boot” -H left -y 80 -s 2 -B 0xffff
key_pressed 1
if [ $? -ne 0 ]; then
mount_device “$root_dev”
if [ $? -ne 0 ]; then
return 1

Or following that step that I haven’t tried.

It is important to clarify that when you flash only the initfs and/or the kernel you don’t loose any data in your main flash memory or in your MMC card.

Another important thing to say is about performance. I’ve been using it for more than a week from  internal MMC slot and couldn’t notice any lost of performance when compared to a system booting from main flash memory.

Are you curious about Mamona booting on N800? This is a topic for another post…

INdT20 Aug 2007 03:27 pm

initfs hack picture

Hi, I’ve hacked initfs of my n800 to show my name and email as you can see in this picture. I know that it is not a big deal, but it can be useful to avoid undesired changes/mistakes when you work in a team that has more than 1 n800.This post is not only to show, but to describe how to do this hack.

  • Download the image and flasher. (You can use the 0xffff if you prefer)
  • Unpack the image:

flasher -F <image name> -u

  • Mount the initfs.jffs2:

sudo modprobe mtdblock

sudo modprobe mtdram total_size=65536 erase_size=256

sudo modprobe jffs2

sudo modprobe loop

sudo dd if=/pathtoimage/initfs.jffs2 of=/dev/mtdblock0

mkdir /mnt/jffs2

sudo mount -t jffs2 /dev/mtdblock0 /mnt/jffs2

  • The /mnt/jfss2 directory is read only, so you need to create another dir and copy everything preserving the files:

mkdir $HOME/myinitfs

sudo tar pcf – -C /mnt/jffs2 . | tar xvf – -C $HOME/myinitfs

  • edit the $HOME/myinitfs/linuxrc using your preffered text editor. Look for “want_menu=0″ and add something like the text below just before it.

text2screen -t “Your Name” -H left -y 12 -s 3 -B 0xffff

text2screen -t “your_email@server” -H left -y 50 -s 2 -B 0xffff

  • Create your new initfs image:

sudo mkfs.jffs2 -r $HOME/myinitfs/ -o $HOME/myinitfs.jffs2 -e 128KiB -l -n

  • Flash it:

sudo flasher -n $HOME/myinitfs.jffs2 -f

That’s all. Enjoy it.

Another thing that I want to talk about is that I’m using the OS 2007 entire in a memory card (MMC) leaving free the main flash memory where I’m going to put Mamona. But this is a topic for another post…

INdT and Mamona06 Aug 2007 12:43 pm

mamona logo
This is a short post just to announce that now Mamona has a beautiful logo made by INdT designers, and that we finally added questions and answers to Mamona’s FAQ. But if your doubts weren’t answered by this FAQ, please contribute sending me your questions.

INdT and Mamona27 Jul 2007 05:36 am

I support mamona

“I support Mamona!” with a Mamona (castor oil plant in English) below – This was the support message that Marcelo Lira (setanta) left on my desk this morning. Nice, isn’t it? :-P

Impressions and INdT and Mamona26 Jul 2007 10:37 am

Today I read an email from Quim Gil where he was saying that a distro is a lot more than code, there are humans around it.

I completely agree with him. But I’d like to add that in a distro there are human believes, human expectations and human sweat.

There is no distro without believe. When someone decide to make a new distro he believes that it will be someway useful and somehow better than others that already exists. So this guy (or company) expects to do something with his distro. He expects to fill a need. After this job was started people start to believe (or not) and to expect something of his work.

I’ve already heard “Why there are too many Linux distributions? It is so complex, why don’t you join efforts and code just one distro?”, but the answer for that is quite simple: Humans are complex. We have different needs, different expectations and different believes so we code different distributions. It is completely normal.

But, there is no free lunch. Code a new and different distribution isn’t a very easy job. You need to work hard, and every help are welcome. Mainly from those who believes.

What I want and need to say is that if you believe and expect something of this new distribution, please, contribute. This kind of contribution that makes the free software community even better.

Finaly I’d like to say that I believe in Mamona, I expect that mamona will be used by community as a completely Open Source alternative and I’m working hard to code Mamona.

For those that don’t know yet:

Mamona is a completely open source distribution for arm that intends to be an useful and open SDK for Maemo platform. Running a simple chroot command you will easily have a complete arm distribution running in your pc emulated by QEMU (user-mode emulation).

INdT and Mamona and OpenEmbedded24 Jul 2007 02:25 pm

I’m pleased to announce that we already have the source code of base packages available under mamona’s repository (

Finally I could code a bbclass to OpenEmbedded to generate all files that are necessary to add the source to a deb repository:

* .dsc – debian source package control file
* .orig.tar.gz – Original source package
* .diff.gz – patches that we apply
* .changes – changes file

The sourcedsc.bbclass that generates these files is not under the OE repository yet. It is under evaluation by OE team. But it is available under OE bugtrack
or under our svn:

« Previous PageNext Page »