maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   [Announce] Maemo5 running 32GB eMMC root FS (scripts) (https://talk.maemo.org/showthread.php?t=59374)

Radicalz38 2011-04-16 03:45

Re: [Announce] Maemo5 running 32GB eMMC root FS (scripts)
 
Ok pali sorry but it's still not working... Still stuck at "Starting boot.sh from immc2 (mmcblk0p2 ext3)" but now it doesn't reboot so did my device hang up or did you really made it?

BTW have you tried your script? Is it working on your device? If yes I guess it's my n900's problem :(

pali 2011-04-16 03:50

Re: [Announce] Maemo5 running 32GB eMMC root FS (scripts)
 
Bootmenu now communicate with HW watchdogs, so while bootmenu is active N900 will not reboot (needed for usb network/mass storage mode).

Yes, I'm using my scripts on my N900 and all works fine.

Radicalz38 2011-04-16 03:55

Re: [Announce] Maemo5 running 32GB eMMC root FS (scripts)
 
Well I don't know what's the problem now :/ Do you have any more suggestions? I have managed to use bootmenu few months ago in dual booting meego so I guess I need to do that style again on here. But I need to repartition my EMMC there and dump all files on that partition lol!

pali 2011-04-16 03:58

Re: [Announce] Maemo5 running 32GB eMMC root FS (scripts)
 
Try this:
Connect phone with USB cable to computer and start usb network recovery mode from bootmenu. Login via ssh and run this boot script:

$ modprobe mbcache jbd ext3
$ mkdir /mnt/new_root
$ mount -t ext3 -o noatime,nodiratime,commit=1,data=writeback /dev/mmcblk0p2 /mnt/new_root
$ cp /mnt/new_root/boot.sh /tmp/linuxrc
$ chmod +x /tmp/linuxrc
$ exec /tmp/linuxrc

Radicalz38 2011-04-16 04:05

Re: [Announce] Maemo5 running 32GB eMMC root FS (scripts)
 
Ok could you explain it to me how? I'm not yet familiar with USB networking on n900 so I can't do that lol! Also when doing SSH on what IP?

Also I dont see network recovery mode on bootmenu n900 :confused:

pali 2011-04-16 04:11

Re: [Announce] Maemo5 running 32GB eMMC root FS (scripts)
 
First install openssh server (and optional udhcpd). Then connect USB cable and in bootmenu press SHIFT to enable USB networking. All info is printed on screen.

IP address of device is 192.168.2.15

Radicalz38 2011-04-16 04:32

Re: [Announce] Maemo5 running 32GB eMMC root FS (scripts)
 
Weird omg! I can't get to SSH I'm using putty from windows 7 OS to connect but it prompts

---------------------------
PuTTY Fatal Error
---------------------------
Network error: Connection timed out
---------------------------
OK
---------------------------
Although my device already says USB Networking is up with IP 192.168.2.15


I can connect to my remote server so I know port 22 isn't blocked :(

pali 2011-04-16 04:34

Re: [Announce] Maemo5 running 32GB eMMC root FS (scripts)
 
Sorry but with Windows I cannot you help. Make sure that you have assigned ip address on computer too.

Radicalz38 2011-04-16 04:39

Re: [Announce] Maemo5 running 32GB eMMC root FS (scripts)
 
Quote:

Originally Posted by pali (Post 989603)
Sorry but with Windows I cannot you help. Make sure that you have assigned ip address on computer too.

What do you mean by this? How do I assign them? Well my IP are retrieved automatically from my ISP

pali 2011-04-16 04:42

Re: [Announce] Maemo5 running 32GB eMMC root FS (scripts)
 
This USB network has network adapter too with IP address. (not ISP).
For USB adapter on computer, configure static IP addres: 192.168.2.14

Radicalz38 2011-04-16 04:51

Re: [Announce] Maemo5 running 32GB eMMC root FS (scripts)
 
lol sorry ok will try it :p

Radicalz38 2011-04-16 04:51

Re: [Announce] Maemo5 running 32GB eMMC root FS (scripts)
 
btw what about gateway?

pali 2011-04-16 05:05

Re: [Announce] Maemo5 running 32GB eMMC root FS (scripts)
 
gateway? It isnt needed. If you know how to share internet between network adapter on windows, you can do it...

Radicalz38 2011-04-16 05:09

Re: [Announce] Maemo5 running 32GB eMMC root FS (scripts)
 
rofl ok I give up for now :( I'll try it on my linux box at work this monday and give feedback. I'm not really familiar with regards to networking at all. Thanks for the thorough help pali! Greatly appreciate it. :)

qwazix 2011-04-16 08:59

Re: [Announce] Maemo5 running 32GB eMMC root FS (scripts)
 
sorry to ask again, but is it possible that we mount opt to a different location in the second maemo installation? or running a maemo from the sd, opt and everything?
________
Art On The Hill Condo

pali 2011-04-16 09:05

Re: [Announce] Maemo5 running 32GB eMMC root FS (scripts)
 
Yes. It is possible to boot maemo from other SD card, from other subdir location. (But it needs to modify boot script like mine)

Radicalz38 2011-04-16 11:52

Re: [Announce] Maemo5 running 32GB eMMC root FS (scripts)
 
qwazix or anybody there managed to make pali's script work? Would like some feedbacks...

qwazix 2011-04-16 12:19

Re: [Announce] Maemo5 running 32GB eMMC root FS (scripts)
 
I didn't try it, I am scared with the same opt thing, so I just think I will be trying to figure out how to do it completely new on SD, (tried once by myself and I ended up corrupting the rootfs installation. All text became boxes and the theme was messed up, also IIRC the watchdog kicked in and resulted in a restart)
________
MrMuscles cam

Radicalz38 2011-04-16 12:35

Re: [Announce] Maemo5 running 32GB eMMC root FS (scripts)
 
If only I can manage to get it working I can help you with regards to making multiple copies(applies only to pali's script). But it's just I can't test it out to safely give it to you. I know how to make it use another partition, another folder or even in a external mmc.

Radicalz38 2011-04-16 15:24

Re: [Announce] Maemo5 running 32GB eMMC root FS (scripts)
 
Ok update! I have managed to get 009N's script to work I dunno how but it just worked after 4 tries. So now I'm gonna try and find out how to make pali's script be independent from bootmenu and instead use preinit.

Radicalz38 2011-04-16 17:15

Re: [Announce] Maemo5 running 32GB eMMC root FS (scripts)
 
@qwazix
At last I have managed to merge 009N's script and pali's script which means it uses the old open/close keyboard function to boot between the ubifs or EMMC + fully seperates it's own filesystem making it fully independent from the other(so no worries about sharing /opt or any other paths[anybody can give feedback if this has any complications as why they didn't did this?]) plus the flexibility to use another partition(which means filesystem doesn't reside on /home folder) + fixed + fixed this ugly problem with regards to the default filemanager

http://talk.maemo.org/attachment.php...1&d=1290171836

Now if you are interested to try my script please tell me if where do you want your alternate filesystem to be copied (dev/mmcblk0p* or dev/mmcblk1p*) cause I'm not good at creating shell scripts so I can't automate it.

Radicalz38 2011-04-16 17:28

Re: [Announce] Maemo5 running 32GB eMMC root FS (scripts)
 
Tried it using default stock kernel, kernel-power46 & kernel-power46-wl
And I hope pali compiles the kernel with all the new patches w/ bleeding edge support mentioned here
http://talk.maemo.org/showthread.php?t=71879 :rolleyes:
Here are screenshots as proof
http://i164.photobucket.com/albums/u...418-012015.pnghttp://i164.photobucket.com/albums/u...418-012009.png
http://i164.photobucket.com/albums/u...418-011955.pnghttp://i164.photobucket.com/albums/u...418-011941.png
All credit goes to egoshin for the scripts, 009N for the modded script which i've used & most of all pali for all the help I got and also his custom script too which I merged.

But I really would like to use pali's bootmenu to switch between these two T_T since it's much more organized looking than using open/close keyboard so whoever wants to help me with that I would really appreciate it.


Please note that I am using a very customized partition table so don't compare it with yours as it would really be totally different.

mehulrajput 2011-04-17 07:37

Re: [Announce] Maemo5 running 32GB eMMC root FS (scripts)
 
I too was able to move everything to emmc. My only motivation was to get more space to opt and battery life claims made by egoshin :-)

Thanks to 900N for his script as I used them.

Currently I am using keyboard open to switch to this kernel. Would love to get bootmenu working.

mehulrajput 2011-04-17 07:39

Re: [Announce] Maemo5 running 32GB eMMC root FS (scripts)
 
Quote:

Originally Posted by 009N (Post 884490)
A little bump. I just wonder if those (very) few brave souls find the scripts working or not. If yes, I am interested in knowing which kernel(s) or other special/optimizing setup you have applied.
So far I have done these post-installation stuff:
- SavageD's boost scripts:
http://talk.maemo.org/showthread.php?t=63997
-MohammadAG's faster kinetic scrolling package http://talk.maemo.org/showthread.php?t=60599
(PR1.3 deb here: http://mohammadag.xceleo.org/public/...+0m5_armel.deb Thanks systemcrash :D )
- Black plastic theme. Just the plain vanilla without any fancy decorations
- Overclocking using Titan's Power-kernel and Jakiman's Queen Beecon Overclocking Widgets
http://talk.maemo.org/showthread.php?t=39753 (a must read!)
A more nooby version: http://talk.maemo.org/showthread.php?t=61709

The system is very stable and no crash so far. :D

I am using titan kernel with the ccsu update. Overclocked to 500-950.

mehulrajput 2011-04-17 07:54

Re: [Announce] Maemo5 running 32GB eMMC root FS (scripts)
 
Hit the first issue after moving to emmc root. My nokia messaging account is no longer working i.e. I am not able to go inside it. Neither I can modify it. I think it is related to MyDocs, Any idea how to resolve this?

Radicalz38 2011-04-17 12:39

Re: [Announce] Maemo5 running 32GB eMMC root FS (scripts)
 
Mind guiding me what is nokia messaging? Seems like I can't find that app on my n900 0.o

mehulrajput 2011-04-17 15:39

Re: [Announce] Maemo5 running 32GB eMMC root FS (scripts)
 
Nokia messaging is account under Email settings. It does a push email of all accounts configured with it.

mehulrajput 2011-04-19 20:05

Re: [Announce] Maemo5 running 32GB eMMC root FS (scripts)
 
I raised a bug for the nokia messaging and mfe failing to work. am not hopeful for a fix but lets see.

pali 2011-07-01 17:47

Re: [Announce] Maemo5 running 32GB eMMC root FS (scripts)
 
Quote:

Originally Posted by kureta (Post 934960)
@pali I have tried your scripts but bootmenu freezes at "Starting boot.sh ..."

stays there for a while and shuts down the phone. Do you know if there is a "verbose" mode of bootmenu so that I can see where the script stops?

I needed to completly flash my phone (eMMC too).

And I found where was problem: Missing character device /dev/console :D

Fixed version is in my bzr branch:
https://code.launchpad.net/~pali/+junk/maemo_M32GB

Now it is working (tested on clean flashed phone)

TiagoTiago 2011-10-08 08:26

Re: [Announce] Maemo5 running 32GB eMMC root FS (scripts)
 
doesn't seem to be compatible with backupmenu...

i knew it wasn't a good idea, but people kept saying good things about backupmenu and i lowered my guard, dumb move; not sure if i'll figure out how to make it boot from the copy again without having to wipe it and start over... :(

TiagoTiago 2011-10-08 08:31

Re: [Announce] Maemo5 running 32GB eMMC root FS (scripts)
 
What do i need to modify on the scripts to make it set things again without deleting or overwriting the stuff i already did inside the copy?

pali 2011-10-08 11:43

Re: [Announce] Maemo5 running 32GB eMMC root FS (scripts)
 
Quote:

Originally Posted by TiagoTiago (Post 1105115)
doesn't seem to be compatible with backupmenu...

No backupmenu is incompatible with anything. backupmenu ignore bootmenu...

TiagoTiago 2011-10-08 12:28

Re: [Announce] Maemo5 running 32GB eMMC root FS (scripts)
 
Usually i would try harder to figure out how to fix things, but i don't feel comfortable with my N900 not having everything i want installed and ready to go, so i reflashed and am installing things again, this time staying away from backupmenu...

geneven 2011-10-08 12:39

Re: [Announce] Maemo5 running 32GB eMMC root FS (scripts)
 
I've been watching this discussion forever without trying it out. I don't want to have missed anything. Is the current status of best practice to follow the instructions in the very first post or is there something major in the intervening 20 pages that I missed?

TiagoTiago 2011-10-08 13:42

Re: [Announce] Maemo5 running 32GB eMMC root FS (scripts)
 
Pali's version is the one to use, no?

Hurrian 2011-10-09 00:02

Re: [Announce] Maemo5 running 32GB eMMC root FS (scripts)
 
Apparently there's no way to do this with the slide closed except for hooking into /sbin/preinit which is not the best solution.

IMO, since no one's feeding initrd's to initfs on the N900, we should have a custom tiny little system on ubifs just for booting and recovery tasks etc, and it kexec's kernels off partitions, or sets up devices (eMMC + MMC RAID! dm-crypt! booting from loopmounts!). I don't have the time to do this though :(

This kind of thing should be high-priority for the community, because when I tried it a while back, it definitely improves Maemo's response time.

TiagoTiago 2011-10-09 13:04

Re: [Announce] Maemo5 running 32GB eMMC root FS (scripts)
 
btw, if shutting down with the power button is bad, couldn't you intercept it and replace the shutdown method with a safe one?

TiagoTiago 2011-10-23 19:57

Re: [Announce] Maemo5 running 32GB eMMC root FS (scripts)
 
Btw, what is the procedure to set it up again without wiping down the emmc system? Somthing happened and it couldn't get past the first NOKIA screen (didn't even show the "loading boot menu" msg) and i had to reflash :(

I would rather not have to install everything again in the emmc copy; please tell me how to just set up again the parts that aren't touched by a rootfs reflash (the one where you don't use the VANILLA image) without having to start over the inside stuff

TiagoTiago 2011-10-23 21:47

Re: [Announce] Maemo5 running 32GB eMMC root FS (scripts)
 
If i rename the existing folder, then do the process normally, and then delete what it did and re-rename the folder back, would that work?

TiagoTiago 2011-10-24 01:18

Re: [Announce] Maemo5 running 32GB eMMC root FS (scripts)
 
Ok, i did it, i'll be reporting in the next few days if i spot any sideeffects


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

vBulletin® Version 3.8.8