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-06-28 18:08

Re: Introducing ubiboot N9 (multiboot OS loader)
 
Serial USB console would be pretty good in most cases. You just need to initialize the driver fairly early in the boot process so that most of the kernel logs could be captured.
(and the best thing is you need no adapters for that, just the traditional ubiquitous USB computer cable...)

I doubt you could catch the very earliest oops'es like with a true serial console, but usually the hairiest stuff happen in pretty late phase anyway,,,

nieldk 2014-06-28 18:42

Re: Introducing ubiboot N9 (multiboot OS loader)
 
@juiceme

I know you have a 'private' kernel for the serial stuff, did you share that somewhere? or will you ;)

juiceme 2014-06-28 19:06

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

Originally Posted by nieldk (Post 1431317)
@juiceme

I know you have a 'private' kernel for the serial stuff, did you share that somewhere? or will you ;)

eh, do you mean the serial-console-forwarded-to-usb kind? I did once think of making that kind of modification but did not really have very good success on it. What needs to be done is step up the USB initialization to *** early phase as possible.

As for "normal" serial console access, I usually enable that in all my kernels (and it can be also enabled from command line by inserting "console=ttyS0,115200n8" there...

nieldk 2014-06-28 19:35

Re: Introducing ubiboot N9 (multiboot OS loader)
 
@juiceme cool :) thanks buddy

hrbani 2014-07-30 16:46

Re: Introducing ubiboot N9 (multiboot OS loader)
 
1 Attachment(s)
Hi :)

With special thanks for this big work;

1) my friend has trouble with NitDroid booting. MeeGo boots completely.

Ubiboot .log and .conf are attached.

Here is the screenshot from critical locations:

http://dl.mobilestan.net/index.php/i...0729011046.png

http://dl.mobilestan.net/index.php/i...0729011046.png

The left is /boot/
Center is /home/user/MyDocs/boot
Right is NitDroid folder.

2) May I want you tell me how I must install ubiboot 0.3.6 step by step, please? (I have ubiboot 0.3.5 installed)


Thanks a lot

peterleinchen 2014-07-30 21:51

Re: Introducing ubiboot N9 (multiboot OS loader)
 
Did you read the logs yourself?

There are two obvious things:
first one is
Jul 30 09:59:46 (none) user.notice root: Could not mount /dev/mmcblk0p3 on /mnt/3
This is the /home partition where Nitdroid resides. Ubiboot cannot -for whatever reason- mount that partition, so it loads kernel successful and then dies out as in the preinit.nitdroid it is told to exec some stuff from p3.
But when booted Harmattan you can see all data on /home?


And another no-go is you have all kernels in the nitdroid section. Only kernel 2 and 3 are able to boot nitdroid. Which one do you select?

--
Oh, and the installation of ubiboot v0.3.6 is exactly the same as v0.3.5

hrbani 2014-07-31 13:49

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

Originally Posted by peterleinchen (Post 1434348)
Did you read the logs yourself?
Thanks from your answer; Yes, but I couldn't understand.

There are two obvious things:
first one is
Jul 30 09:59:46 (none) user.notice root: Could not mount /dev/mmcblk0p3 on /mnt/
This is the /home partition where Nitdroid resides. Ubiboot cannot -for whatever reason- mount that partition, so it loads kernel successful and then dies out as in the preinit.nitdroid it is told to exec some stuff from p3.
Thanks, I learn it know.

But when booted Harmattan you can see all data on /home?
I must ask from my friend, I think he can see them, because of exist folders in screenshot.

And another no-go is you have all kernels in the nitdroid section. Only kernel 2 and 3 are able to boot nitdroid. Which one do you select?
.

He tried all of them, and none of them booted nitdroid :(

peterleinchen 2014-07-31 14:42

Re: Introducing ubiboot N9 (multiboot OS loader)
 
Okay, just read logs again.
And it is really like the kernel gets loaded but then dies out. So it is not ubiboot boot sequence causing this mess.

i do not understand the p3 (/home) thing. If this is true, then you are out of luck to ever get Nitdroid running. Or you pack it on another partition and modify the /sbin/preinit_nitdroid script .....

... Ah maybe it is an easy and now remembered often made mistake:
Please check the exec rights of the file /sbin/preinit_nitdroid under booted Harmattan via ls -l /sbin/preinit_nitdroid (should be: rwxr-xr-x).
If it misses the exec bits, do chmod +x /sbin/preinit_nitdroid (under devel-su).

If that does not help you have to wait for juiceme (as he is much better in reading his logs ;)).
Or you may connect your powered off N9 via USB to a PC (flavour Linux), then you possibly might find out why p3 is not mounted...

FAN"9"user 2014-08-22 16:58

Complete step by step guide to triple boot Nokia N9
 
Hey buddies...Can anyone provide a complete step by step guide for installing (Android and Sailfish) on my Nokia N9 64Gb??

coderus 2014-08-22 17:24

Re: Complete step by step guide to triple boot Nokia N9
 
http://talk.maemo.org/showthread.php?t=89345


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

vBulletin® Version 3.8.8