Archive for June, 2008

Mamona: Good excuse !!

Friday, June 27th, 2008

I’m working with Mamona. The full build takes around 5 hours. It’s good excuse, is not it?

See you!

Mamona and BeagleBoard: when?

Friday, June 27th, 2008

I’m waiting the opportunity to put my hands on a Beagleboard and test many things.

My TODO list include Mamona test with BeagleBoard.

Mamona and BeagleBoard: When? 

N810: 3 OS and 1 DEVICE (Mamona/Maemo/Debian)

Monday, June 23rd, 2008

I have a N810 and 3 OS in the same device.

Now you will ask me : How?

The answer is below:

1 - Move your Maemo to the MMC internal

* Advantage : you will have more space.

Steps:  http://maemo.org/community/wiki/HowTo_EASILY_Boot_From_MMC_card/

Now you have the Maemo in the internal MMC.

2 -  Flash Mamona in your flash memory

* Advantage: Nowadays Mamona distro is good for developers. ;)

Steps:  http://dev.openbossa.org/trac/mamona/wiki/Releases/0.1/RunningMamona

3 - Debian XFCE in external MMC

* Advantage:  Debian rocks !! :P

You should partition your MicroSD in 2 parts:

- partition 1 - 100MB - fat32

- partition 2 - ALL THE REST - ext2

Download the Debian rootfs

wget  http://debian.i2c3.com/debian-armel-n800-xfce-beta3.tar.bz2

Untar the Debian rootfs in the second partition:

tar -xvjf  debian-armel-n800-xfce-beta3.tar.bz2

Boot using your external MMC.

That’s all!!

Debian: using chroot ubuntu

Monday, June 23rd, 2008

Download Ubuntu debootstrap:

http://archive.ubuntu.com/ubuntu/pool/main/d/debootstrap/debootstrap_1.0.9~hardy1_all.deb

Install Ubuntu debootstrap:

sudo dpkg -i debootstrap_1.0.9~hardy1_all.deb

Download Ubuntu rootfs using debootstrap:

sudo debootstrap –variant=buildd –arch i386 hardy /var/chroot/hardy http://archive.ubuntu.com/ubuntu/

Copy the sources.list:

 sudo editor /var/chroot/hardy/etc/apt/sources.list # copy and paste the text below

# ——— START HERE
#
# deb cdrom:[Ubuntu 8.04 _Hardy Heron_ - Release i386 (20080422.2)]/ hardy main restricted

#deb cdrom:[Ubuntu 8.04 _Hardy Heron_ - Release i386 (20080422.2)]/ hardy main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb http://br.archive.ubuntu.com/ubuntu/ hardy main restricted
deb-src http://br.archive.ubuntu.com/ubuntu/ hardy main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://br.archive.ubuntu.com/ubuntu/ hardy-updates main restricted
deb-src http://br.archive.ubuntu.com/ubuntu/ hardy-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://br.archive.ubuntu.com/ubuntu/ hardy universe
deb-src http://br.archive.ubuntu.com/ubuntu/ hardy universe
deb http://br.archive.ubuntu.com/ubuntu/ hardy-updates universe
deb-src http://br.archive.ubuntu.com/ubuntu/ hardy-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://br.archive.ubuntu.com/ubuntu/ hardy multiverse
deb-src http://br.archive.ubuntu.com/ubuntu/ hardy multiverse
deb http://br.archive.ubuntu.com/ubuntu/ hardy-updates multiverse
deb-src http://br.archive.ubuntu.com/ubuntu/ hardy-updates multiverse

## Uncomment the following two lines to add software from the ‘backports’
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://br.archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse
# deb-src http://br.archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical’s
## ‘partner’ repository. This software is not part of Ubuntu, but is
## offered by Canonical and the respective vendors as a service to Ubuntu
## users.
# deb http://archive.canonical.com/ubuntu hardy partner
# deb-src http://archive.canonical.com/ubuntu hardy partner

deb http://security.ubuntu.com/ubuntu hardy-security main restricted
deb-src http://security.ubuntu.com/ubuntu hardy-security main restricted
deb http://security.ubuntu.com/ubuntu hardy-security universe
deb-src http://security.ubuntu.com/ubuntu hardy-security universe
deb http://security.ubuntu.com/ubuntu hardy-security multiverse
deb-src http://security.ubuntu.com/ubuntu hardy-security multiverse
# ——— FINISH HERE

Define DNS server :

sudo cp /etc/resolv.conf /var/chroot/hardy/etc/resolv.conf

Chrooting to your ubuntu:

 sudo chroot /var/chroot/hardy

Update and some configurations:


apt-get update
apt-get install wget debconf devscripts gnupg nano #For package-building
apt-get update #clean the gpg error message
apt-get install locales dialog #If you don’t talk en_US
locale-gen en_GB.UTF-8 # or your preferred locale
tzselect; TZ=’Continent/Country’; export TZ #Configure and use our local time instead of UTC; save in .profile
exit
echo “export LANG=C” >> ~/.bashrc # if you don’t want locale warnings

Reinstall Debia debootstrap:


sudo apt-get install –reinstall debootstrap

reference: https://wiki.ubuntu.com/DebootstrapChroot

Building Mamona with Debian !!

Wednesday, June 18th, 2008

Hello guys,

Hi all,

I’m following the Mamona development tutorial(http://dev.openbossa.org/trac/mamona/wiki/MamonaSetup) to study and during the build I got the error below:

alecrim@alecrim ~/mamona/tmp/master/nokia800/work/gettext-native-0.14.1-r7/gettext-0.14.1/gettext-runtime/intl-java $ /bin/sh ../lib/javacomp.sh -d . ./gnu/gettext/GettextResource.java
———-
1. ERROR in ./gnu/gettext/GettextResource.java (at line 1)
/* GNU gettext for Java
^
The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files
———-
2. ERROR in ./gnu/gettext/GettextResource.java (at line 1)
/* GNU gettext for Java
^

Mamona build with should use its own java but it’s getting the host java. The ubuntu machines do not have this problem. It’s online for Debian without java.

I can solve it installing Java under Debian(host machine).

Go back to blog!!

Wednesday, June 18th, 2008

19-05-007.jpg

Hello folks,

I’m backing ! After a long time without posts!!

I need to post things about some places:

* Finland

* Recife

* Maragogi

* Porto de Galinhas

* INdT Recife

And many tutorials about:

* N810

* Mamona

* Maemo

I’ll be back !!