Guias Y Tutoriales Maemo - Como instalar MEEGO en N900 (version para desarrolladores) |
Pues eso, para los impacientes que quieren ver las novedades que trae este nuevo SO, aqui les dejo las instrucciones para instalarlo:
En primer lugar, decir que hay 3 formas de instalarlo, en un principio voy a poner las 3 y si tengo tiempo iré traduciendo poco a poco. Pero bueno, tampoco es muy dificil de entender y creo que el señor google lo sabemos usar todos muy bien...
1.-ARM/Meego native install on N900
WARNING: Flashing MeeGo to your N900 will permanently erase your settings and may cause damage to your device. This image is meant for experienced developers only. With the open image the battery management is not functional so you may cause damage to your device. We do not take any responsibility of the damage that may be caused to your device.
Para la instalación necesitareis este flasheador: http://tablets-dev.nokia.com/maemo-d...-downloads.php
Preparacion
Antes de flashear:
Asegurarse de que la batería esta completamente cargada
Desconectar el cargador y apagar el terminal.
Diferentes imagenes
Existen 2 imagenes disponibles, open MeeGo image y otra de Nokia. Más abajo se especifican las diferencias y los detalles de los imágenes.
La imagen de Nokia añade además las siguientes funcionalidades:
Battery management (BME) [Gestor de la batería], Sin el, puedes causar daño a tu batería.
WLAN firmware
Bluetooth firmware
Instalandola imagen de MeeGo
Descarga la imagen de Meego y el kernel.
1. Asegurate de que el dispositivo se encuentra apagado y completamente cargado.
2. Quita la batería.
3. Conecta el dispositivo al PC por medio del cable USB.
4. Inicia el programa de flasheado:
sudo flasher-3.5 -f -k <kernel_image> -r <meego.ubiimg>
5.Vuelve a poner la batería en el dispositivo.
6. Si el flasheador no reconoce el dispositivo, vuelve al paso 2.
Una vez termine el flasheo, apaga el dispositivo retirando la batería y ve al paso 7 en el caso de que no hayas usado la imagen de Nokia..
7. (Optional: For image without closed components): You need to also disable watchdogs if you are not using the closed components, especially the Battery Management Entity (BME). This can be done similarly to above, except the flasher command is following:
sudo flasher-3.5 --enable-rd-mode --set-rd-flags=no-omap-wd,no-ext-wd
Despues de estos pasos ya puedes retirar el cable USB y poner la batería de nuevo al teléfono. Debería arrancar con la imagen de xterm codedrop Meego.
Adding closed components to open image
FIXME
2.-ARM/Meego chroot install on N900
Prepare chroot directory
Problem with chroot installation is finding space for it. Flash card would have plenty of space but that uses FAT32 so it can't be used directly. We can however create image and loopback mount it.
Create 2GB image file
dd if=/dev/zero of=/home/user/MyDocs/meego-image bs=1024 count=2097152
Create filesystem on image file
mkfs.ext3 /home/user/MyDocs/meego-image
Create mount point and loopback mount the image
mkdir /mnt/meego
mount -o loop /home/user/MyDocs/meego-image /mnt/meego
Unpack Meego rootfs image there
export MEEGO_ROOT="/mnt/meego"
tar xzf <meego-image> -C $MEEGO_ROOT
Mount system directories
Mounts for chroot environment
mount -o bind /proc $MEEGO_ROOT/proc
mount -o bind /sys $MEEGO_ROOT/sys
mount -o bind /dev $MEEGO_ROOT/dev
mount -o bind /dev/pts $MEEGO_ROOT/dev/pts
mount -o bind /var/lib/dbus/ $MEEGO_ROOT/var/lib/dbus/
mount -o bind /usr/share/fonts $MEEGO_ROOT/usr/share/fonts
mount -t tmpfs tmpfs $MEEGO_ROOT/tmp
mount -t tmpfs tmpfs $MEEGO_ROOT/var/run
Setup
Copy resolv.conf for networking
cp /etc/resolv.conf $MEEGO_ROOT/etc/resolv.conf
Start your engines
Starting chroot
cd $MEEGO_ROOT
chroot $MEEGO_ROOT /bin/bash
Cleanup
Don't forget to unmount all the system directories that were mounted inside chroot. You might have to setup MEEGO_ROOT again after leaving chroot.
cd ~
umount $MEEGO_ROOT/proc
umount $MEEGO_ROOT/sys
umount $MEEGO_ROOT/dev
umount $MEEGO_ROOT/dev/pts
umount $MEEGO_ROOT/var/lib/dbus/
umount $MEEGO_ROOT/usr/share/fonts
umount $MEEGO_ROOT/tmp
umount $MEEGO_ROOT/var/run
umount $MEEGO_ROOT
3.-ARM/Meego kexec install on N900
Native installation is based on kexec. Default Maemo kernel however doesn't have support for it so it needs to be replaced first.
You can either install the patched "kernel-flasher-maemo" package (version maemo18) from Maemo extras-devel section System or you can compile and install a fremantle kernel with following patches yourself.
Building and installing your own kernel
ARM: 5884/1: arm: Fix DCC console for v7
ARM: 5885/1: arm: Flush TLB entries in setup_mm_for_reboot()
ARM: 5886/1: arm: Fix cpu_proc_fin() for proc-v7.S and make kexec work
ARM: 5888/1: arm: Update comments in cacheflush.h and remove unnecessary V6 and V7 comments
Instructions for compiling Maemo kernel can be found from: Maemo kernel guide
Create a symbolic link on N900 so that existing kernel modules will be used with the new kernel.
cd /lib/modules
ln -s 2.6.28-omap1 2.6.28-omap1-kexec-patched
Flash the patched kernel:
flasher -f -k zImage-kexec-patched
Installing MeeGo and tools
Install kexec-tools user space application from Maemo-extras repository.
Install Meego image on external micro mmc card.
sudo moblin-image-writer <image-file>
Running MeeGo
Connect external micro mmc card.
Run kexec
kexec -l /boot/zImage-2.6.33 --command-line="init=/sbin/init rootwait root=/dev/mmcblk0p1 rw console=ttyS2,115200n8"
sync
kexec -e
Por último los 2 tipos de imagenes....
There are two types of images available for N900. One that contains only open source software from MeeGo repositories and one that has some Nokia proprietary components installed.
Open source image
The open image for N900 can be obtained from Index of /MeeGo/builds/trunk/0.9.80.1.20100330.1/n900/images. There are four kind of files
.ubiimg for native install
.zImage is the linux kernel image
.tar.gz for chroot install
.ks for creating and customizing the image your self using MIC2
Closed image
The image with Nokia proprietary components can be loaded from here: tablets-dev.nokia.com restricted downloads
Note that you must own a N900 device and accept the Nokia End User License Agreement to access the files.
There are two kinds of files available
.ubiimg for native install
.ks for creating and customizing the closed image your self using MIC2
NB! You can use the open kernel with the closed image
haber muchas gracias por el intentar de ayudarlos a intalar el meego en el n900, pero nose lo primero de todo tendrias que haber mirado si la traducion estaba bien echa y demas nose, espero que esto te lo tomes como una critica de buen rollo.. y lo dicho gracias!!
Dark_AJ9 (01/07/2010)
perdona que empieze riendome, pero amos haber lo primero de todo, el post no lo e echo yo, sino seguro que asin no seria, empezando por hay, luego que haber tu cuando miras un tutorial esperas que este desde el principio asta el final perfecto para poderlo acer, y haber si me pongo a leerlo i me doy cuanta que cuando casi llega al final empieza ai todo en ingles pos dices a mu bien echo el copia y pega, nose es lo primero que pense y lo dije, no es una critica de mal rollo es una critica contructiva, que tu te lo quieras tomar a mal es otra cosa, pero tambien lo que deberia de haber echo antes de subirlo es haber mirado si estaba todo bien la verdad,nose yo almenos cuando ago cualquier cosa para subirla aqui, lo primero que lo escribo con mis palabras mientras que voy haciendo el processo, ya que no subo nada que no aiga estado testeado antes pormi, ya que luego si la gente tiene problema yo no sabre como solucionarselo, pero nada mas!!! espero que esto no te lo tomes como a mal rollo, ya que no es el kaso!! un saludo
ThePhoneClub es la comunidad más grande de telefonía móvil de habla hispana. Nació ante la necesidad de obtener más información sobre la nueva tecnología móvil que iba surgiendo. Siéntete libre de aprender con nosotros. Desde 2007 ayudando a miles de usuarios cada día.