|
2013-07-01
, 11:23
|
Posts: 153 |
Thanked: 81 times |
Joined on Dec 2011
@ P town
|
#12
|
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?
The Following 5 Users Say Thank You to sLumPia For This Useful Post: | ||
|
2013-07-07
, 11:14
|
Posts: 3,328 |
Thanked: 4,476 times |
Joined on May 2011
@ Poland
|
#13
|
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 )
|
2013-07-07
, 12:48
|
|
Posts: 277 |
Thanked: 546 times |
Joined on Mar 2013
@ rack city
|
#14
|
The Following User Says Thank You to hardy_magnus For This Useful Post: | ||
|
2013-07-08
, 12:42
|
Posts: 3,328 |
Thanked: 4,476 times |
Joined on May 2011
@ Poland
|
#15
|
Can we flash nemo image to emmc just like we flash maemo image thus wiping entire maemo?
The Following 3 Users Say Thank You to marmistrz For This Useful Post: | ||
|
2013-07-08
, 16:03
|
|
Posts: 277 |
Thanked: 546 times |
Joined on Mar 2013
@ rack city
|
#16
|
The Following User Says Thank You to hardy_magnus For This Useful Post: | ||
|
2013-07-10
, 22:52
|
Posts: 362 |
Thanked: 426 times |
Joined on Nov 2010
@ Italy, Lombardia
|
#17
|
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?
|
2013-07-10
, 23:34
|
Posts: 153 |
Thanked: 81 times |
Joined on Dec 2011
@ P town
|
#18
|
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
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"
The Following 4 Users Say Thank You to sLumPia For This Useful Post: | ||
|
2013-07-12
, 08:15
|
Posts: 3,328 |
Thanked: 4,476 times |
Joined on May 2011
@ Poland
|
#19
|
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:
My Nemo boot partition is /dev/mmcblk0p5 and Nemo's root partition is /dev/mmcblk0p7.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"
Nemo will detect /dev/mmcblk0 as /dev/mmcblk1 and /dev/mmcblk1 as /dev/mmcblk0.
Hope this help.
The Following User Says Thank You to marmistrz For This Useful Post: | ||
|
2013-07-13
, 10:03
|
Posts: 224 |
Thanked: 132 times |
Joined on Jun 2012
@ Cairo ;Egypt
|
#20
|
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
The Following User Says Thank You to amr.fayz For This Useful Post: | ||
Once the partition is there, you can mount it in Maemo *manually* from Xterm to see if it is ok.