![]() |
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
Trust me, you have to escape backslashes in sedscripts :D Harmattan boot is alwayst the trickiest. Booting Nitdroid or Nemo is piece of cake, but getting Harmattan to boot correctly when kexec'ed is difficult. However, you tell me that you have managed to boot it with the zImage-2.6.32.54-dfl61-20121301 kernel... Is that the standard version or is it some openmode version? (the same designation is used by all versions based on vanilla 2.6.32 source by nokia, available in kernel_2.6.32-20121301+0m8.tar file) Booting with either Nitdroid zImage.pr13 or zImage_2.6.32.54-openmode_l2fix will succeed if booting with vanilla 2.6.32 kernel boot succeeds. Hence I belive you have an error in your paths somewhere. If the boot hangs with the "NOKIA" text displayed on the screen after kernel selection&boot something is not correct in the preinit scripts, either device does not find the script or the script does not do as it should. One thing you could try; copy your original "/sbin/preinit" as the harmattan script "/sbin/preinit_harmattan". At least thedead1440 had problems using my provided preinit script. However problematic it seems to get Harmattan boot up correctly, after you have tweaked it so that it boots it is VERY stable and will thereafter boot correctly without additional tickling :D |
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
Currently the implementation plan is as follows:
The reason why it does it like this is that now I can mount the ubi devices in ro-mode. This lessens the wear of the flash device :) |
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
What's the problem with that: nothing really, except that your mtd5 partition is so small; you will use it up if you put lots of stuff there. Also, as it DOES wear down somewhat quickly when used extensively, you can/will run out of eraseblocks if you do lots of deletes/rewrites on it... That's why I prefer to keep the kernels outside ubifs. :D Quote:
The scripts to do it are already in the menu script. Just install your android on /home/ as usual, install Nemo on mmcblkp04 as usual and you are done :D |
I using mtd5, i put all kernel into /boot/, harmattan is not success to boot, show nokia logo then reboot self, but android is ok.
I have used your l2fix to boot, but still unsuccessful, all kernel cant be bootup. Maybe the preinit got problem, let me try again later and report. Thanks your help. |
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
I just tested on another N950, but even that one had ecc errors on mtd4&5. I still have a third one in mint unopened box, but I'll keep that one still unopened, since I want to have one perfect N950 in my shelves as a memory :) |
Re: Introducing ubiboot N9 (multiboot OS loader)
off:
@rainisto ehhh, sad to read when dev have N950 and not using it, and other devs havent device for testing and buying N9 by own money... |
Re: Introducing ubiboot N9 (multiboot OS loader)
@juiceme
Finally I can boot to Harmattan by using default preinit file, but there is some problem I found. 1. l2fix kernel, when bootup, it said "recharge battery", then it reboot self 2. Nitdroid zImage, sometimes can boot , sometimes cant... 3. zImage-2.6.32.54-dfl61-20121301, it said "recharge battery", or sometimes cant boot... The path shouldnt wrong, because android can bootup everytime, then kernel is same directory with Harmattan /boot/, I GUESS something in Harmattan, maybe some tunning or mod, make my Harmattan cant bootup. I dont want to reflash to try:D |
Re: Introducing ubiboot N9 (multiboot OS loader)
+1
my friend can't ubiboot to Harmattan with "Recharge battery" notification too. |
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
When circle the nokia logo, it said recharge battery, I tried plug to charger, nil help |
Re: Introducing ubiboot N9 (multiboot OS loader)
i have the same proble
|
Re: Introducing ubiboot N9 (multiboot OS loader)
Yup, I had this about a few weeks also. I stopped testing for now. The l2 fix will reboot with an empty battery message.
zImage3 is working. And I got three OSes running. So for now I am ok. But I was wondering that when we can have more partitions, can we have more OSes? Now we are limited to three. There is also an Easy Debian package that starts a Debian OS using chroot (http://talk.maemo.org/showthread.php?t=85878) Would it not be cool to have that as a fourth OS? Regards TheYOSH |
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
Quote:
|
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
THX |
Re: Introducing ubiboot N9 (multiboot OS loader)
@explit mmcblk0p4 not equal mtd4 ;)
|
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
The problem propably is that when the kexec() to the 2nd stage kernel is done the BME is left in some uninitialized state. This again could confuse the charging logic of Harmattan which performs an emergency shutdown... It seems to require some debugging to find out why this affects only some devices. Could it have something to do with N9 HW revision? For example, my device is 64G rev.1501 |
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
|
Mine is 16GB rev 1603 using europe firmware 001
|
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
mine is a 64GB rev. 1601 with (almost) zero problems. Swiss firmware, highest PR of all :( or :) Sometimes I do need a few boots, until Harmattan comes up. Maybe due to this bug, also? But I have never seen such message. I guess on wrong bootreason passed to second kernel? |
How chk rev version?
|
Re: Introducing ubiboot N9 (multiboot OS loader)
Code:
~# cat /proc/cpuinfo | grep Revision Using mtd4 swap and mtd5 ubiboot... Black 64GB... |
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
Quote:
And btw I do not see the need/gain for more swap. |
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
Mtd4 allows the full 1GB to be allocated as RAM with ~420MB for swap. Even if you don't feel you need more swap I'm sure you would prefer more RAM right? In that case of course you can disable the creation of swap on ramzswap :p However I prefer having the full gig for RAM and swap active too hence I personally prefer the mtd4 approach for swap ;) As for being a flash-killer well its been proven that both the mtd4 and mtd5 are unreliable partitions and are faulty on many devices hence why they have been left unused so if they currently work might as well use them for something meaningful and frankly i don't think they would wear off that quick (maybe a year or two?) :D |
Re: Introducing ubiboot N9 (multiboot OS loader)
Black 16G rev 1603 (Poland version... used in Holland ;) )
'act dead' issue with the l2 cache fix kernel. |
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
|
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
Now there are at least 2 people with 16G/rev.1603 devices that will complain about charging when booting to Harmattan. |
Re: Introducing ubiboot N9 (multiboot OS loader)
Created channel #ubiboot for support & info.
|
Help with Step 4.
Hi,
I followed the step by step directions on the README file and everything has worked as it should. But i have a question regarding the step 4. My N9 has Nitdroid installed as described in their own tutorial, it works without a problem, so i assume i have a plain open mode and everything else is stock/default. I didn't quite understand what should be configured in the boot.conf file, where should i copy new modules nor what "depmod -a <name>" would do. My question is, given my actual configuration should i modify this file in any way? or can i just leave the default values and go on? Thanks for your help, Me |
Re: Introducing ubiboot N9 (multiboot OS loader)
@jmsarriat just stay with nitdroid sillyboot, it works good. and ubiboot dont't give anything useful for you :)
|
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
|
Re: Introducing ubiboot N9 (multiboot OS loader)
It is!
Just look for ubimkvol. This will clear your mtd4, but it is not needed at all (you could also go for ubirmvol, but this is not tested/advised). |
Re: Introducing ubiboot N9 (multiboot OS loader)
@jmsarriat mtd partitions unused by system and you can not care about them :)
|
Re: Introducing ubiboot N9 (multiboot OS loader)
Can someone give me more detailed instruction about this part?
Where can I download kernel & os files for Nitdroid,Harmattan,Nemo and where I must put them if I use default boot.conf. thx in advance Quote:
|
Re: Help with Step 4.
Quote:
Configuring how your kernels appear in the menu is done in the boot.conf file. The defaults in there are how my own system appeared at that moment, but something like this is very basic configuration: Code:
# Nitdroid kernels Now, in addition to setting up your boot.conf, you need to put these kernels somewhere. A good place (and this is what is shown in the boot.conf file) is to put the kernels in the "/boot" directory on your Harmattan rootfs (mmcblk0p2). So just copy the kernel files there. That part about the modules and depmod is only useful to you when you want to compile and test your own kernels (which might have modules that have different dependencies & naming conventions than the default set of modules) If you are just using the vanilla kernel, vanilla open mode, l2-fixed openmode or Nitdroid-pr13 kernels, then you do not have to do anything to your modules as all of those use the already installed /lib/modules/2.6.32.54-dfl61-20121301 path. And, like Coderus says, unless you have more OS'es than just Harmattan and Nitdroid, this might not really give you any extra advances, except perhaps the integrated repair mode which I find quite useful myself. |
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
For the vanilla open mode kernel, you can look at this thread for information: http://talk.maemo.org/showthread.php?t=81579 The l2-fixed kernel you can get from the ubiboot home page http://www.swagman.org/juice/ubiboot/ See my previous posting for the items in boot.conf... |
Seem there only problem with hw1603 16GB
|
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
I would need to see what happens in the boot phase of rev.1603 devices that's different from the other revisions to fix it :( |
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
In fact I find it useful to have it there even if you do not use it for boot selection; the repair mode can be then activated by just booting an ubiboot-aware kernel with the "-l -b" options without flashing anything... :D |
I have 2 of my friends in 16GB 1603, same situation, cant boot harmattan, recharge battery something like that
|
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
Code:
# if boot reason is USB or RTC, boot up directly to default Harmattan Now, what this is supposed to do; When the boot reason is not "pwr_key", meaning the device has woken up either from pugging in USB or RTC event (alarm clock triggering) then instead of normal menu the device should boot to Harmattan directly. For RTC events this works as it should; device boots up to the alarm handling state and then powers off, just as it would do without ubiboot installed. Unfortunately it still does not do that when USB is plugged in, at least with computer connected USB (did not try it yet with just dummy charger), instead it tries to boot into Harmattan but goes to boot loop instead. |
Re: Introducing ubiboot N9 (multiboot OS loader)
Hello guys...
My Ubiboot is working ok. Harmattan booting with OpenMode / Open Mode L2fix / Nitdroid PR13 kernels NITDorid booting with PR13 / PR13 USB fixed Kernel What about Nemo? Maybe someone can give me a short advice how i should install Nemo on /dev/mmcbll0p4 ? fdisk -l /mmcblk0 show me: /home/user # fdisk -l /dev/mmcblk0 Disk /dev/mmcblk0: 64.1 GB, 64130908160 bytes 4 heads, 16 sectors/track, 1957120 cylinders Units = cylinders of 64 * 512 = 32768 bytes Device Boot Start End Blocks Id System /dev/mmcblk0p1 17 1760512 56335872 c Win95 FAT32 (LBA) /dev/mmcblk0p2 1760513 1891584 4194304 83 Linux /dev/mmcblk0p3 1891585 1957120 2097152 83 Linux So i think i must create /dev/mmcblk0p4 ? Can anybody assist me? In the Nemo installation manual this part isn't well discribed IMHO.... THX |
All times are GMT. The time now is 03:43. |
vBulletin® Version 3.8.8