Reply
Thread Tools
Community Council | Posts: 680 | Thanked: 1,227 times | Joined on Sep 2010 @ Mbabane
#11
ok. you have to export the whole emmc via USB in order to adjust partitions. Here is the wiki i pointed you to: http://wiki.maemo.org/Repartitioning_the_flash

Once the partition is there, you can mount it in Maemo *manually* from Xterm to see if it is ok.
 

The Following 2 Users Say Thank You to sicelo For This Useful Post:
Posts: 153 | Thanked: 81 times | Joined on Dec 2011 @ P town
#12
Originally Posted by marmistrz View Post
I tried and copied. Unfortunately, I'm gettings
** Invalid partition: 4 **

in u-boot (the nemo rootfs partition)
What's more there are only partitions mmcblk0p{1,2,3} visible. The "new" partitions aren't visible.
Any ideas what's going on?
Nemo need 3 partition to be able to boot correctly: / (nemo root partition), /boot and swap.

Step to install Nemo mobile on EMMC:
1. Download Nemo mobile image
2. Extract and mount it (mount -o loop), let say to /tmp/nemo1
3. Create 3 partition as I mention above. You should be able to use your Maemo's swap partition. So you'll likely only need 2 partition.
Let say your swap is /dev/mmcblk0p5, Nemo's /boot partition is /dev/mmcblk0p6 and root partition is /dev/mmcblk0p7. Format the partition.
4. Mount the partition, let say /dev/mmcblk0p7 to /tmp/nemo2, /dev/mmcblk0p6 to /tmp/nemo2/boot.
5. cp -rv /tmp/nemo1/* /tmp/nemo2/
6. Edit /tmp/nemo2/usr/lib/oneshot.d/10-n900-swap according to your swap partition
7. Edit /tmp/nemo2/etc/fstab according to your Nemo's root partition and boot partition
8. Edit your u-boot's Nemo.item file. ITEM_DEVICE must be pointed to your Nemo's boot partition ( /dev/mmcblk0p6 ) and ITEM_CMDLINE="root=xxx" pointed to Nemo's root partition ( /dev/mmcblk0p7 )

Last edited by sLumPia; 2013-07-03 at 23:53.
 

The Following 5 Users Say Thank You to sLumPia For This Useful Post:
Posts: 3,328 | Thanked: 4,476 times | Joined on May 2011 @ Poland
#13
Originally Posted by sLumPia View Post
Nemo need 3 partition to be able to boot correctly: / (nemo root partition), /boot and swap.

Step to install Nemo mobile on EMMC:
1. Download Nemo mobile image
2. Extract and mount it (mount -o loop), let say to /tmp/nemo1
3. Create 3 partition as I mention above. You should be able to use your Maemo's swap partition. So you'll likely only need 2 partition.
Let say your swap is /dev/mmcblk0p5, Nemo's /boot partition is /dev/mmcblk0p6 and root partition is /dev/mmcblk0p7. Format the partition.
4. Mount the partition, let say /dev/mmcblk0p7 to /tmp/nemo2, /dev/mmcblk0p6 to /tmp/nemo2/boot.
5. cp -rv /tmp/nemo1/* /tmp/nemo2/
6. Edit /tmp/nemo2/usr/lib/oneshot.d/10-n900-swap according to your swap partition
7. Edit /tmp/nemo2/etc/fstab according to your Nemo's root partition and boot partition
8. Edit your u-boot's Nemo.item file. ITEM_DEVICE must be pointed to your Nemo's boot partition ( /dev/mmcblk0p6 ) and ITEM_CMDLINE="root=xxx" pointed to Nemo's root partition ( /dev/mmcblk0p7 )
About point 8. Is the Nemo.item file somewhere or should I download it from the u-boot thread - maybe http://talk.maemo.org/showthread.php?t=81613&page=36
?

Thanks
__________________
If you want to support my work, you can donate by PayPal or Flattr

Projects no longer actively developed: here
 

The Following 2 Users Say Thank You to marmistrz For This Useful Post:
hardy_magnus's Avatar
Posts: 277 | Thanked: 546 times | Joined on Mar 2013 @ rack city
#14
Can we flash nemo image to emmc just like we flash maemo image thus wiping entire maemo?
__________________
research complete.
sorry for my bad english
 

The Following User Says Thank You to hardy_magnus For This Useful Post:
Posts: 3,328 | Thanked: 4,476 times | Joined on May 2011 @ Poland
#15
Originally Posted by hardy_magnus View Post
Can we flash nemo image to emmc just like we flash maemo image thus wiping entire maemo?
More or less: http://wiki.meego.com/ARM/N900/Install/EMMC

But I'm having problems with it. (When flashing kernel - "bz2 - not found"
__________________
If you want to support my work, you can donate by PayPal or Flattr

Projects no longer actively developed: here
 

The Following 3 Users Say Thank You to marmistrz For This Useful Post:
hardy_magnus's Avatar
Posts: 277 | Thanked: 546 times | Joined on Mar 2013 @ rack city
#16
Thanx marmistrz for the wiki page link. I read the page but it says emmc installation is not possible through windows machine.
Thanx alot man.
 

The Following User Says Thank You to hardy_magnus For This Useful Post:
Posts: 362 | Thanked: 426 times | Joined on Nov 2010 @ Italy, Lombardia
#17
Originally Posted by marmistrz View Post
Hi,

The de-installer script wipes off Maemo installation. The Nemo raw image contains three partitions. What about installing it side by side?

My idea is: shrink the MyDocs partition and copy the partitions to the emmc. Create uboot entries and run.

Can this be done with Nemo?
Yes it can be done (with a repartitioned eMMC)

I have done it many months ago (over one year ago) with meego before and nemo after, with no problems.

Please read this guide (after translating it with google) that I have written two years ago: http://www.smartphonetab.net/forum/s...-MeeGo-su-eMMC
u-boot part is to be completly revised but I suppose that the rest is still usable.

Last edited by Fabry; 2013-07-10 at 23:00.
 

The Following 2 Users Say Thank You to Fabry For This Useful Post:
Posts: 153 | Thanked: 81 times | Joined on Dec 2011 @ P town
#18
Originally Posted by marmistrz View Post
About point 8. Is the Nemo.item file somewhere or should I download it from the u-boot thread - maybe http://talk.maemo.org/showthread.php?t=81613&page=36
?
Thanks
I should have type it in a more detail steps, but English is not my mother language, so I'm not really confortable typing long post in English.
I think by default, u-boot only provide 3 .item file: Maemo default kernel, Maemo power kernel and Backupmenu item file.
So you'll need to create a new item file for Nemo. This is my Nemo.item file:
Code:
ITEM_NAME="Nemo Mobile"
ITEM_KERNEL="nemo-n900-uImage"
ITEM_DEVICE="${INT_CARD}p5"
ITEM_FSTYPE="ext2"
ITEM_CMDLINE="root=/dev/mmcblk1p7 rootwait rw console=tty02,115200n8 console=tty0 omapfb.vram=0:2M,1:2M,2:2M mtdoops.mtddev=2"
ITEM_OMAPATAG="1"
My Nemo boot partition is /dev/mmcblk0p5 and Nemo's root partition is /dev/mmcblk0p7.
Nemo will detect /dev/mmcblk0 as /dev/mmcblk1 and /dev/mmcblk1 as /dev/mmcblk0.
Hope this help.

Last edited by sLumPia; 2013-07-10 at 23:41.
 

The Following 4 Users Say Thank You to sLumPia For This Useful Post:
Posts: 3,328 | Thanked: 4,476 times | Joined on May 2011 @ Poland
#19
Originally Posted by sLumPia View Post
I should have type it in a more detail steps, but English is not my mother language, so I'm not really confortable typing long post in English.
I think by default, u-boot only provide 3 .item file: Maemo default kernel, Maemo power kernel and Backupmenu item file.
So you'll need to create a new item file for Nemo. This is my Nemo.item file:
Code:
ITEM_NAME="Nemo Mobile"
ITEM_KERNEL="nemo-n900-uImage"
ITEM_DEVICE="${INT_CARD}p5"
ITEM_FSTYPE="ext2"
ITEM_CMDLINE="root=/dev/mmcblk1p7 rootwait rw console=tty02,115200n8 console=tty0 omapfb.vram=0:2M,1:2M,2:2M mtdoops.mtddev=2"
ITEM_OMAPATAG="1"
My Nemo boot partition is /dev/mmcblk0p5 and Nemo's root partition is /dev/mmcblk0p7.
Nemo will detect /dev/mmcblk0 as /dev/mmcblk1 and /dev/mmcblk1 as /dev/mmcblk0.
Hope this help.
Thanks very much!

In case someone needs it: if you don't have the SD card (there's no /dev/mmcblk1), /dev/mmcblk0 is still /dev/mmcblk0
__________________
If you want to support my work, you can donate by PayPal or Flattr

Projects no longer actively developed: here
 

The Following User Says Thank You to marmistrz For This Useful Post:
Posts: 224 | Thanked: 132 times | Joined on Jun 2012 @ Cairo ;Egypt
#20
Originally Posted by marmistrz View Post
Hi,

The de-installer script wipes off Maemo installation. The Nemo raw image contains three partitions. What about installing it side by side?

My idea is: shrink the MyDocs partition and copy the partitions to the emmc. Create uboot entries and run.

Can this be done with Nemo?

/edit: solved.

First guide (important notes in 2 last posts):
http://talk.maemo.org/showpost.php?p...4&postcount=12
http://talk.maemo.org/showpost.php?p...1&postcount=18
http://talk.maemo.org/showpost.php?p...1&postcount=19

Another guide: http://talk.maemo.org/showpost.php?p...5&postcount=17




thanks marmistrz

Can you work a detailed explanation please Including some pictures And links to Required files

And the images version used hold from here or from somewhere else

http://repository.maemo.org/meego/Ne...1-08.1/images/

And the end will be like this video or not
http://youtu.be/8Rp32sOiNNQ
 

The Following User Says Thank You to amr.fayz For This Useful Post:
Reply

Tags
nemoos, nokia n900


 
Forum Jump


All times are GMT. The time now is 13:12.