maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Alternatives (https://talk.maemo.org/forumdisplay.php?f=36)
-   -   Introducing ubiboot N9 (multiboot OS loader) (https://talk.maemo.org/showthread.php?t=89345)

juiceme 2014-01-02 10:33

Re: Introducing ubiboot N9 (multiboot OS loader)
 
Quote:

Originally Posted by Ta76eem (Post 1402960)
in my N9
zImage_2.6.32.54-openmode_l2fix
is located in /boot
shouldn't be in
/boot/Harmattan ??

When you look at the device filesystem when running harmattan, then the correct place is /boot/ as your mmcblk0p2 is mounted as /

When you look at the device filesystem when running ubiboot, the same location becomes /boot/Harmattan/boot/ because your / is now a RAMFS instance, and your mmcblk0p2 is mounted at /mnt/2/, which is symlinked to /boot/Harmattan/ :D


Quote:

Originally Posted by Ta76eem (Post 1402960)
I can't boot into MeeGo from the first try .. I must boot my phone and press the MeeGo button (and repeat that process 3 times) so I can boot my N9 ..

What happens when your boot does not succeed, will the device just remain with black screen, does it reboot back to menu, or does it start loading Harmattan and then stop?

What is your device's HW revision?

Ta76eem 2014-01-02 10:54

Re: Introducing ubiboot N9 (multiboot OS loader)
 
Quote:

Originally Posted by juiceme (Post 1402966)
What happens when your boot does not succeed, will the device just remain with black screen, does it reboot back to menu, or does it start loading Harmattan and then stop?

What is your device's HW revision?

1- Boot the device press the MeeGo button the device Shutdown
2- Boot the device again choose the MeeGo button device Shutdown
3- Boot the device choose the MeeGo button the Nokia annimation apears and phone

juiceme 2014-01-02 11:46

Re: Introducing ubiboot N9 (multiboot OS loader)
 
Quote:

Originally Posted by Ta76eem (Post 1402975)
1- Boot the device press the MeeGo button the device Shutdown
2- Boot the device again choose the MeeGo button device Shutdown
3- Boot the device choose the MeeGo button the Nokia annimation apears and phone

Okay, now as you have Meego Harmattan running, can you check the ubiboot log which is created on your device as; "MyDocs/boot/ubiboot.log"

For each time you start device with ubiboot you will find an entry in the log, can you post that log somewhere?

peterleinchen 2014-01-02 12:02

Re: Introducing ubiboot N9 (multiboot OS loader)
 
Quote:

Originally Posted by juiceme (Post 1402954)
@cthorell, @fejd,

I consulted @rainisto on this and he suspects that the reason for the MTD partitioning being incorrect on your devices might be an upgrade gone wrong.

At some point the MTD partitioning scheme was changed, and when devices were upgraded to next PR level the MTD should have been partitioned accordingly but if there was some problem then the old partition layout could have been preserved on the devices.

It is worth rtying to reflash the device clean back to Closed Mode with --no-preserve flag added on the command line, this should repartition both MTD and EMMC and fix the problem.

Possibly an OTA upgrade ?

So do a:
Code:

flasher -F main.bin -F emmc.bin --no-preserve -f -R
and good luck.

Ta76eem 2014-01-02 12:09

Re: Introducing ubiboot N9 (multiboot OS loader)
 
Quote:

Originally Posted by juiceme (Post 1402986)
Okay, now as you have Meego Harmattan running, can you check the ubiboot log which is created on your device as; "MyDocs/boot/ubiboot.log"

For each time you start device with ubiboot you will find an entry in the log, can you post that log somewhere?

Here it is :
https://www.dropbox.com/s/7ccb859q0zsi0ex/ubiboot.log

juiceme 2014-01-02 12:41

Re: Introducing ubiboot N9 (multiboot OS loader)
 
Quote:

Originally Posted by Ta76eem (Post 1402994)

Thanks.

According to the log, each time you boot Harmattan, it should start normally as far as ubiboot is concerned:
Jan 2 11:13:42 (none) user.notice root: Loading kernel /boot/Harmattan/boot/zImage_2.6.32.54-openmode_l2fix
Jan 2 11:13:42 (none) user.notice root: kexec_load() successful
Jan 2 11:13:42 (none) user.notice root: Restarting to selected OS

If there was a problem that ubiboot could detect, you would see something else than "kexec_load() successful" in the logfile.
Now, the problem is then something that happens after kexec() which starts the 2nd stage kernel.

Now, I presume your harmattan has to be PR1.3 level, as else you propably could not start the zImage_2.6.32.54-openmode_l2fix kernel at all. (it would require an older PR kernel to match the OS)

So, most propably it is an aegis-related problem in startup. Can you check in your /var/log/syslog (and possibly /var/log/syslog.old) if there is something defilite that occurred when you tried starting harmattan and failed?

One thing that comes to mind, in which way have you entered Open Mode? Unless it is by back-to-back-closedmode-openmode flashing, it can leave your aegis in a state that causes all kinds of funny business, includeing but not limited to boot problems. :mad:

Ta76eem 2014-01-02 12:46

Re: Introducing ubiboot N9 (multiboot OS loader)
 
I flashed nitdroid kernel to enter openmode .. Didnt flash the openmode_fix

juiceme 2014-01-02 12:53

Re: Introducing ubiboot N9 (multiboot OS loader)
 
Quote:

Originally Posted by Ta76eem (Post 1403002)
I flashed nitdroid kernel to enter openmode .. Didnt flash the openmode_fix

That is also OK, it forks with any openmode kernel, but the important thing to do is to first flash it fully Closed Mode and then flash to Open Mode, without letting the device boot between the flashings.

If you do it that way, your device aegis keys will be created for Open Mode and everything will work much better.

FotixChiang 2014-01-02 14:54

Re: Introducing ubiboot N9 (multiboot OS loader)
 
Quote:

Originally Posted by Garp (Post 1402935)
Yes thanks!:)

https://mega.co.nz/#!VZYnGZxA!NEBsgF...moh-Fluztvjxo0

peterleinchen 2014-01-02 21:19

Re: Introducing ubiboot N9 (multiboot OS loader)
 
Quote:

Originally Posted by FotixChiang (Post 1403047)

Nice service, but not available from N9:
Quote:

Your browser seems a bit outdated
Please update to the latest version or switch to a recommended browser:
;)


All times are GMT. The time now is 16:29.

vBulletin® Version 3.8.8