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)

Garp 2013-12-08 16:45

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

Originally Posted by peterleinchen (Post 1393664)
:D



Yep, trapped by some android relict (like me):
Code:


~ diff /home/user/preinit.txt  /home/user/preinit_ubiboot.txt
--- /home/user/preinit.txt
+++ /home/user/preinit_ubiboot.txt

-modprobe g_ether
-sleep 1
-/sbin/ifconfig usb0 192.168.2.15 up
-

Just comment these 3 lines and it will be fine (I guess).


Ups! 'developer' in trouble:cool:
What you mean 'comment these 3 lines'? from file preinit copy to preinit_ubiboot but where?

Edit: Same place in preinit_ubiboot as in preinit!:(

peterleinchen 2013-12-08 20:41

Re: Introducing ubiboot N9 (multiboot OS loader)
 
Oops myself. Should have known ;)
By commenting I meant
change the line(s) from
Code:

ifconfig bla bla ...
to
Code:

#ifconfig bla bla ...
in preinit of the non-ubiboot device.
Hereby the code will not be executed.

Possible could be also to copy the original preinit file (10661 bytes) from ubiboot device to the other. But idk if that may break sillyboot or something else.

Garp 2013-12-08 23:37

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

Originally Posted by peterleinchen (Post 1393797)
Oops myself. Should have known ;)
By commenting I meant
change the line(s) from
Code:

ifconfig bla bla ...
to
Code:

#ifconfig bla bla ...
in preinit of the non-ubiboot device.
Hereby the code will not be executed.

Possible could be also to copy the original preinit file (10661 bytes) from ubiboot device to the other. But idk if that may break sillyboot or something else.

Afraid of misunderstandings here!
The problems are in N9 with preinit_ubiboot file not N9 with preinit file!
So changes have to be made in the file named preinit_ubiboot (in N9 with no silliboot file!)?

juiceme 2013-12-08 23:45

Re: Introducing ubiboot N9 (multiboot OS loader)
 
@Garp, there is something I did not think about but it might be quite simple if you indeed have 2 devices;

So, you have one with ubiboot, and one without, right?
And when you say that MfE does not work with ubiboot, you actually mean it does not work in the device with ubiboot, but it works in the other device, right?

Consider then, the problem might not be in ubiboot at all, it might be in the Harmattan installation of the device you have ubiboot on...?

There is an easy way to make sure if this is so;
Just flash the L2-fixed kernel to the device with ubiboot, to bypass your ubiboot setup. When the device boots, check if you still have problems with MfE. If so, then the problem clearly is in Harmattan and not ubiboot. After that you can just flash back the ubiboot kernel and ubiboot will be re-enabled.

Garp 2013-12-08 23:56

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

Originally Posted by juiceme (Post 1393852)
@Garp, there is something I did not think about but it might be quite simple if you indeed have 2 devices;

So, you have one with ubiboot, and one without, right?
And when you say that MfE does not work with ubiboot, you actually mean it does not work in the device with ubiboot, but it works in the other device, right?

Consider then, the problem might not be in ubiboot at all, it might be in the Harmattan installation of the device you have ubiboot on...?

There is an easy way to make sure if this is so;
Just flash the L2-fixed kernel to the device with ubiboot, to bypass your ubiboot setup. When the device boots, check if you still have problems with MfE. If so, then the problem clearly is in Harmattan and not ubiboot. After that you can just flash back the ubiboot kernel and ubiboot will be re-enabled.

You are right nearly all the way but not at last:
The kernel in N9 without ubiboot is 'your' kernel l2fix dmesg | head showing juiceme and the same kernel are in n9 with ubiboot together with the plus kernel BUT same problem in this N9 no matter which kernel i use?

juiceme 2013-12-09 00:04

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

Originally Posted by Garp (Post 1393853)
You are right nearly all the way but not at last:
The kernel in N9 without ubiboot is 'your' kernel l2fix dmesg | head showing juiceme and the same kernel are in n9 with ubiboot together with the plus kernel BUT same problem in this N9 no matter which kernel i use?

Did you try what I suggested?
I believe the problem is not kernel, and not ubiboot, I believe you have problem in your Harmattan OS of the second device.

Just flash it with L2-fixed kernel, and try how it works without ubiboot.

Your ubiboot setup will not disappear, everything will be just as it was when you flash it again with ubiboot kernel.

Garp 2013-12-09 00:38

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

Originally Posted by juiceme (Post 1393855)
Did you try what I suggested?
I believe the problem is not kernel, and not ubiboot, I believe you have problem in your Harmattan OS of the second device.

Just flash it with L2-fixed kernel, and try how it works without ubiboot.

Your ubiboot setup will not disappear, everything will be just as it was when you flash it again with ubiboot kernel.

Thanks, I see you are right no connection without Ubiboot and same kernel l2fix (juice)? What then?:confused:

And other problem my memory!:( sorry but the kernel in the other N9 is not l2fix but harmattan pr13@openmode - meaning Nitdroid old kernel!

juiceme 2013-12-09 00:44

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

Originally Posted by Garp (Post 1393861)
Thanks, I see you are right no connection without Ubiboot and same kernel l2fix as in the other N9? What then?:confused:

Obviously, you have done some tweak/mod/thing or installed something that conflicts with MfE. It's very difficult to tell from this far, but you have another device where it works, so you can compare them :)

What I'd do first, is I'd look at the syslog if there's some obvious errors or funny writings when you start up MfE. I'd also try to uninstall/reinstall the SW to see if it makes any difference.

Last resort of course is to reflash the device, that will sure fix it, but it is a tedious work as you always need to install everything there after the flashing.

Garp 2013-12-09 00:59

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

Originally Posted by juiceme (Post 1393863)
Obviously, you have done some tweak/mod/thing or installed something that conflicts with MfE. It's very difficult to tell from this far, but you have another device where it works, so you can compare them :)

What I'd do first, is I'd look at the syslog if there's some obvious errors or funny writings when you start up MfE. I'd also try to uninstall/reinstall the SW to see if it makes any difference.

Last resort of course is to reflash the device, that will sure fix it, but it is a tedious work as you always need to install everything there after the flashing.

Due to my mistake written above could it be the l2fix kernel?
The SW is that the MfE account or..?

plourde 2013-12-09 05:50

Re: Introducing ubiboot N9 (multiboot OS loader)
 
how do i set ubiboot up to boot sailfish, image extracted to alt_os partition, please and thanks

taixzo 2013-12-09 06:18

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

Originally Posted by juiceme (Post 1393558)
You seem to be missing /home partition, or is that p5 in your layout?
Just as @peterleinchen said, check your /etc/fstab

So, more problems. I was studying the /etc/fstab for a while, and then the phone went black. Now whenever I plug it in, the status light turns on dimly white, and I can't get it to respond - I can't even reflash a kernel. Holding power button does nothing. Now what?

taixzo 2013-12-09 07:38

Re: Introducing ubiboot N9 (multiboot OS loader)
 
Update: phone turned on to recovery console for a few seconds, here is my /etc/fstab:
Code:

rootfs / rootfs defaults,errors=remount-ro,noatime 0 0
/dev/mmcblk0p3 /home ext4 rw,noatime,errors=remount-ro,barrier=1 0 0
/dev/mmcblk0p1 /home/user/MyDocs vfat noauto,nodev,noexec,nosuid,noatime,nodiratime,utf8,uid=29999,shortname=mixed,dmask=000,fmask=0133,rodir 0 0
ubi0:var /var ubifs noauto,no_chk_data_crc,bulk_read

What changes do I need for my current partition layout?

juiceme 2013-12-09 08:25

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

Originally Posted by taixzo (Post 1393907)
Update: phone turned on to recovery console for a few seconds, here is my /etc/fstab:
Code:

rootfs / rootfs defaults,errors=remount-ro,noatime 0 0
/dev/mmcblk0p3 /home ext4 rw,noatime,errors=remount-ro,barrier=1 0 0
/dev/mmcblk0p1 /home/user/MyDocs vfat noauto,nodev,noexec,nosuid,noatime,nodiratime,utf8,uid=29999,shortname=mixed,dmask=000,fmask=0133,rodir 0 0
ubi0:var /var ubifs noauto,no_chk_data_crc,bulk_read

What changes do I need for my current partition layout?

If your /home is p5 like you posted earlier, then you would want to change the second line addordingly, to something like
/dev/mmcblk0p5 /home ext4 rw,noatime,errors=remount-ro,barrier=1 0 0

But there's one question I'd really like you to explain; Why on earth have you made a partition layout like this, why have an extended partition there with a smallish /home partition?
I mean, what are you trying to accomplish??
If you needed more partitions, then it made sense you allocated a lot bigger chunk to the extended partition and put your data partitions inside it. As it is now, you are just wasting your FLASH size... :(

peterleinchen 2013-12-09 08:32

Re: Introducing ubiboot N9 (multiboot OS loader)
 
AND make sure your ubiboot.conf points the OSes to the right boot (rootfs) partition(s)!

Garp 2013-12-09 09:15

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

Originally Posted by juiceme (Post 1393863)
Obviously, you have done some tweak/mod/thing or installed something that conflicts with MfE. It's very difficult to tell from this far, but you have another device where it works, so you can compare them :)

What I'd do first, is I'd look at the syslog if there's some obvious errors or funny writings when you start up MfE. I'd also try to uninstall/reinstall the SW to see if it makes any difference.

Last resort of course is to reflash the device, that will sure fix it, but it is a tedious work as you always need to install everything there after the flashing.

After a night sleep I remember the flash problems I had in Sept.13 on my N9 16GB:
http://talk.maemo.org/showpost.php?p...&postcount=958
(see also #950)
It end with flashing to old kernel harmattan pr.13! due to proposal from nieldk #959 (to whom also had PM talk about it in our native language);)

taixzo 2013-12-09 09:27

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

Originally Posted by juiceme (Post 1393915)
If your /home is p5 like you posted earlier, then you would want to change the second line addordingly, to something like
/dev/mmcblk0p5 /home ext4 rw,noatime,errors=remount-ro,barrier=1 0 0

But there's one question I'd really like you to explain; Why on earth have you made a partition layout like this, why have an extended partition there with a smallish /home partition?
I mean, what are you trying to accomplish??
If you needed more partitions, then it made sense you allocated a lot bigger chunk to the extended partition and put your data partitions inside it. As it is now, you are just wasting your FLASH size... :(

I left more space inside the extended partition for more partitions later; I wanted to have the current setup working before I started sticking more partitions in it.

juiceme 2013-12-09 12:19

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

Originally Posted by taixzo (Post 1393931)
I left more space inside the extended partition for more partitions later; I wanted to have the current setup working before I started sticking more partitions in it.

OK, that makes sense then.

Garp 2013-12-09 13:35

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

Originally Posted by juiceme (Post 1393855)
Did you try what I suggested?
I believe the problem is not kernel, and not ubiboot, I believe you have problem in your Harmattan OS of the second device.

Just flash it with L2-fixed kernel, and try how it works without ubiboot.

Your ubiboot setup will not disappear, everything will be just as it was when you flash it again with ubiboot kernel.

You are right now 100% I see;) now have tested same kernel on both N9: zImage_2.6.32.54- dfl61-20121301 harmattanpr13@openmode
AND MfE works on N9 16GB but NOT on N9 flashed to harmattanpr13 and back to ubiboot. In both cases NO MfE server connection on this N9!:(

EDIT: Have stopped using MfE (always problem with sync - deleting everything!) now CalDav+Google(gmail) and manual import of contacts due to this http://talk.maemo.org/showthread.php?t=82979 then also possible to have stable contact groups!:p

taixzo 2013-12-09 14:49

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

Originally Posted by juiceme (Post 1393915)
If your /home is p5 like you posted earlier, then you would want to change the second line addordingly, to something like
/dev/mmcblk0p5 /home ext4 rw,noatime,errors=remount-ro,barrier=1 0 0

Ok, I changed that and now Harmattan is booting again! :) My other OSs are still borked though, giving the "Boot OS/kernel selection failed! Please run a maintanance(sic) boot" - would that be something I need to fix in ubiboot.conf or in the individual OS's?

coderus 2013-12-09 15:08

Re: Introducing ubiboot N9 (multiboot OS loader)
 
show logfile :)

peterleinchen 2013-12-10 08:24

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

Some other comment (it is not about installing sailfish, partitioning, black screen , os/kernel selection failed and so on ... :eek:):

You do remember the charging problem when connecting USB in act dead mode!
I always had it, sometimes it worked. Most often not.
I had your L2fix kernel as default!
Now I switched to kernel-plus r6 as default. And guess what? It seems to work reliably... (tested a few times)
What is not working is the LPS displaying of charging status, what has worked with your kernel (almost?) always.

So, any difference in the kernel itself responsible?

@all
can someone reproduce?

juiceme 2013-12-10 08:35

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

Originally Posted by peterleinchen (Post 1394400)
@juiceme

Some other comment (it is not about installing sailfish, partitioning, black screen , os/kernel selection failed and so on ... :eek:):

You do remember the charging problem when connecting USB in act dead mode!
I always had it, sometimes it worked. Most often not.
I had your L2fix kernel as default!
Now I switched to kernel-plus r6 as default. And guess what? It seems to work reliably... (tested a few times)
What is not working is the LPS displaying of charging status, what has worked with your kernel (almost?) always.

So, any difference in the kernel itself responsible?

@all
can someone reproduce?

I can well believe you :)
The charging behaviour depends on loading up DSME & BME, and it may well be that there is some race condition that can hit you with some kernels, and on others id won't. Debugging that is again one thing where serial console comes in handy, you can see what goes on there. On the other hand my debug-device has smashed screen so I cannot verify the LPS missing while charging with that... could do that with my main device though, but with that one I never had the problem of charging... :)

Garp 2013-12-10 23:47

Re: Introducing ubiboot N9 (multiboot OS loader)
 
Now got Ubiboot working with help from this thread, the Readme file and this http://wiki.maemo.org/Ubiboot and have installed working Harmattan, Firefox, Nitdroid and Nemo.
Only file miss installing is this 'SailfishOS Files' from wiki. Ubiboot side.
What to do with this there is no explanation?
Just unpack it in Alt_OS as with Nemo and change the Ubiboot.conf prepared for Sailfish too or what to do...?

juiceme 2013-12-11 04:26

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

Originally Posted by Garp (Post 1394763)
Now got Ubiboot working with help from this thread, the Readme file and this http://wiki.maemo.org/Ubiboot and have installed working Harmattan, Firefox, Nitdroid and Nemo.
Only file miss installing is this 'SailfishOS Files' from wiki. Ubiboot side.
What to do with this there is no explanation?
Just unpack it in Alt_OS as with Nemo and change the Ubiboot.conf prepared for Sailfish too or what to do...?

SailfishOS is like Nemo in the way that it also needs to be installed in its own partition. (actually it is Nemo, just with different UI)
So you need to either replace your ALT_OS Nemo installation with SailfishOS or make another partition that contains the installation.

For example, I have 7 partitions on my device for different installations.

For guides how to do it, look in the sailfish threads on this forum :)

EgyptRocks265 2013-12-11 04:55

Re: Introducing ubiboot N9 (multiboot OS loader)
 
hey juiceme so i recently installed ubiboot and sailfish and nemo and firefox and nitdroid etc... and i've run into a few problems and i'm no genuis like you guys but i think i can work around most of them my only problem right now seems that i can't get maps or drive workin on open mode kernel or your l2fix kernel any idea why ? :/

juiceme 2013-12-11 05:58

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

Originally Posted by EgyptRocks265 (Post 1394808)
hey juiceme so i recently installed ubiboot and sailfish and nemo and firefox and nitdroid etc... and i've run into a few problems and i'm no genuis like you guys but i think i can work around most of them my only problem right now seems that i can't get maps or drive workin on open mode kernel or your l2fix kernel any idea why ? :/

I have not had any problems with that, but is it possible the problem is in the applications themselves, and not in the kernel?

So if you suspect it is launching a kernel with ubiboot causes the problems, you can temporarily override ubiboot with just flashing any kernel on top of it, so that it will boot to harmattan directly. (afterwards you can again flash ubiboot kernel and your configuration as-it-is will come back)

If you find that you still have the same problems, then you can be assured that it is the applications and not the kernel that is causing them :D

Hurrian 2013-12-11 14:00

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

Originally Posted by peterleinchen (Post 1394400)
What is not working is the LPS displaying of charging status, what has worked with your kernel (almost?) always.

So, any difference in the kernel itself responsible?

@all
can someone reproduce?

On my device, properly booting is sketchy at best when the phone is started by connecting the phone to a USB power source, even on stock kernel in closed mode :D

Sometimes the phone powers on, boots into Harmattan and does the charging pulse, but nothing ever shows up on the screen.

I try not to run down my device, but when I do, I prefer to run flasher to charge it from NOLO instead of trying to jump hoops to get it into ACT_DEAD.

IIRC I also had this problem on the N900, but found it too much of a PITA to fix.

gdelca5 2013-12-11 23:03

Re: Introducing ubiboot N9 (multiboot OS loader)
 
sorry if this topic does not belong to this thread,

The infamous "Sim Lock" issue:

http://img18.imageshack.us/img18/7720/qp66.png

Can 2ndboot help to load an unsigned kernel ?

http://forum.xda-developers.com/show....php?t=1942319

arthurartoria 2013-12-11 23:23

Re: Introducing ubiboot N9 (multiboot OS loader)
 
Hi, guys. I have finished flashing sailfish and installing multiboot. THe sailfish is workable, but now I cannot boot into the harmattan. Here is ubiboot.log. Anyone could help me? Thank you so much.


Dec 11 22:28:08 (none) user.notice root: Selecting Harmattan OS, running kernel /boot/Harmattan/boot/zImage_2.6.32.54-openmode_l2fix
Dec 11 22:28:09 (none) user.notice root: Loading kernel /boot/Harmattan/boot/zImage_2.6.32.54-openmode_l2fix
Dec 11 22:28:09 (none) user.notice root: kexec_load() successful
Dec 11 22:28:09 (none) user.notice root: Restarting to selected OS
Dec 11 22:28:09 (none) user.notice root: Saving ubiboot log files

Dec 11 22:30:29 (none) syslog.info syslogd started: BusyBox v1.19.4
Dec 11 22:30:29 (none) user.notice root: Display Text: Waiting for eMMC device...
Dec 11 22:30:29 (none) user.notice root: N9 ubiboot ver. 0.3.5
Dec 11 22:30:29 (none) user.notice root: kernel Linux (none) 2.6.32.54-ubiboot-02-b #3 PREEMPT Wed Oct 30 00:51:46 EET 2013 armv7l GNU/Linux
Dec 11 22:30:29 (none) user.notice root: Rootfs build info: ROOTFS created by juice@osiris on Wed Oct 30 00:51:29 EET 2013 (svn rev. 65)
Dec 11 22:30:29 (none) user.notice root: Mounted /dev/mmcblk0p1 on /mnt/1 as VFAT
Dec 11 22:30:30 (none) user.notice root: Mounted /dev/mmcblk0p2 on /mnt/2 as EXT4
Dec 11 22:30:30 (none) user.notice root: Mounted /dev/mmcblk0p3 on /mnt/3 as EXT4
Dec 11 22:30:30 (none) user.notice root: Mounted /dev/mmcblk0p4 on /mnt/4 as EXT4
Dec 11 22:30:30 (none) user.notice root: Could not mount /dev/mmcblk0p5 on /mnt/5
Dec 11 22:30:30 (none) user.notice root: Could not mount /dev/mmcblk0p6 on /mnt/6
Dec 11 22:30:30 (none) user.notice root: Could not mount /dev/mmcblk0p7 on /mnt/7
Dec 11 22:30:30 (none) user.notice root: Found /mnt/1/boot/ubiboot.conf
Dec 11 22:30:31 (none) user.notice root: Copied archive /mnt/1/boot/ubiboot-02.menus.cpio (md5sum=d1e1a6eb6d877f53a01e946a5ccf5017)
Dec 11 22:30:31 (none) user.notice root: Umounting /mnt/1
Dec 11 22:30:31 (none) user.notice root: Umounting /mnt/2
Dec 11 22:30:31 (none) user.notice root: Umounting /mnt/3
Dec 11 22:30:31 (none) user.notice root: Umounting /mnt/4
Dec 11 22:30:31 (none) user.notice root: Umounting /mnt/5
Dec 11 22:30:31 (none) user.notice root: Umounting /mnt/6
Dec 11 22:30:31 (none) user.notice root: Umounting /mnt/7
Dec 11 22:30:31 (none) user.notice root: Config version is 3
Dec 11 22:30:31 (none) user.notice root: Archive cpio version is 3
Dec 11 22:30:31 (none) user.notice root: Archive cpio build info: CPIO packed by juice@osiris on Tue Oct 29 23:54:26 EET 2013 (svn rev. 65)
Dec 11 22:30:31 (none) user.notice root: bootreason: pwr_key
Dec 11 22:30:31 (none) user.notice root: bootmode: normal
Dec 11 22:30:31 (none) user.notice root: Mounted /dev/mmcblk0p1 on /mnt/1 as VFAT
Dec 11 22:30:31 (none) user.notice root: Mounted /dev/mmcblk0p2 on /mnt/2 as EXT4
Dec 11 22:30:31 (none) user.notice root: Mounted /dev/mmcblk0p3 on /mnt/3 as EXT4
Dec 11 22:30:31 (none) user.notice root: Mounted /dev/mmcblk0p4 on /mnt/4 as EXT4
Dec 11 22:30:31 (none) user.notice root: Could not mount /dev/mmcblk0p5 on /mnt/5
Dec 11 22:30:31 (none) user.notice root: Could not mount /dev/mmcblk0p6 on /mnt/6
Dec 11 22:30:31 (none) user.notice root: Could not mount /dev/mmcblk0p7 on /mnt/7
Dec 11 22:30:32 (none) user.notice root: Started watchdog kicker
Dec 11 22:30:32 (none) user.notice root: Starting menu launcher
Dec 11 22:30:32 (none) user.notice root: Reached end of init!
Dec 11 22:30:32 (none) user.notice root: Loading animation control file
Dec 11 22:30:32 (none) user.notice root: touchdevice: /dev/input/event3
Dec 11 22:30:32 (none) user.notice root: O_COMMAND_LINE: init=/sbin/preinit root=/dev/mmcblk0p2 rootwait rootflags=errors=remount-ro rootfstype=ext4 rw mtdoops.mtddev=log mtdoops.record_size=65536 console=tty0 mtdparts=omap2-onenand:1024k(bootloader),2816k@1024k(config
Dec 11 22:30:32 (none) user.notice root: Started animated OS selection menu
Dec 11 22:30:38 (none) user.notice root: Selected second level menu for OS3
Dec 11 22:30:39 (none) user.notice root: Drawing second level menu items for OS3
Dec 11 22:30:39 (none) user.notice root: Get menuitem for OS3 (2 lines)
Dec 11 22:30:44 (none) user.notice root: Selecting Nemo OS, running kernel /boot/Nemo/boot/bzImage
Dec 11 22:30:45 (none) user.notice root: Appending options to CMDLINE: vram=6m omapfb.vram=0:6M
Dec 11 22:30:45 (none) user.notice root: Loadin kernel /boot/Nemo/boot/bzImage
Dec 11 22:30:46 (none) user.notice root: kexec_load() successful
Dec 11 22:30:46 (none) user.notice root: Restarting to selected OS
Dec 11 22:30:46 (none) user.notice root: Saving ubiboot log files

Dec 11 22:34:29 (none) syslog.info syslogd started: BusyBox v1.19.4
Dec 11 22:34:29 (none) user.notice root: Display Text: Waiting for eMMC device...
Dec 11 22:34:29 (none) user.notice root: N9 ubiboot ver. 0.3.5
Dec 11 22:34:29 (none) user.notice root: kernel Linux (none) 2.6.32.54-ubiboot-02-b #3 PREEMPT Wed Oct 30 00:51:46 EET 2013 armv7l GNU/Linux
Dec 11 22:34:29 (none) user.notice root: Rootfs build info: ROOTFS created by juice@osiris on Wed Oct 30 00:51:29 EET 2013 (svn rev. 65)
Dec 11 22:34:29 (none) user.notice root: Mounted /dev/mmcblk0p1 on /mnt/1 as VFAT
Dec 11 22:34:30 (none) user.notice root: Mounted /dev/mmcblk0p2 on /mnt/2 as EXT4
Dec 11 22:34:30 (none) user.notice root: Mounted /dev/mmcblk0p3 on /mnt/3 as EXT4
Dec 11 22:34:30 (none) user.notice root: Mounted /dev/mmcblk0p4 on /mnt/4 as EXT4
Dec 11 22:34:30 (none) user.notice root: Could not mount /dev/mmcblk0p5 on /mnt/5
Dec 11 22:34:30 (none) user.notice root: Could not mount /dev/mmcblk0p6 on /mnt/6
Dec 11 22:34:30 (none) user.notice root: Could not mount /dev/mmcblk0p7 on /mnt/7
Dec 11 22:34:30 (none) user.notice root: Found /mnt/1/boot/ubiboot.conf
Dec 11 22:34:30 (none) user.notice root: Copied archive /mnt/1/boot/ubiboot-02.menus.cpio (md5sum=d1e1a6eb6d877f53a01e946a5ccf5017)
Dec 11 22:34:30 (none) user.notice root: Umounting /mnt/1
Dec 11 22:34:30 (none) user.notice root: Umounting /mnt/2
Dec 11 22:34:30 (none) user.notice root: Umounting /mnt/3
Dec 11 22:34:30 (none) user.notice root: Umounting /mnt/4
Dec 11 22:34:30 (none) user.notice root: Umounting /mnt/5
Dec 11 22:34:30 (none) user.notice root: Umounting /mnt/6
Dec 11 22:34:30 (none) user.notice root: Umounting /mnt/7
Dec 11 22:34:30 (none) user.notice root: Config version is 3
Dec 11 22:34:30 (none) user.notice root: Archive cpio version is 3
Dec 11 22:34:30 (none) user.notice root: Archive cpio build info: CPIO packed by juice@osiris on Tue Oct 29 23:54:26 EET 2013 (svn rev. 65)
Dec 11 22:34:30 (none) user.notice root: bootreason: pwr_key
Dec 11 22:34:30 (none) user.notice root: bootmode: normal
Dec 11 22:34:30 (none) user.notice root: Started watchdog kicker
Dec 11 22:34:30 (none) user.notice root: Started maintanance mode
Dec 11 22:34:30 (none) user.notice root: Display Text: Welcome to N9 Ubiboot ver. 0.3.5
Dec 11 22:34:30 (none) user.notice root: Display Text: (Boot loader is based on MOSLO ver. 0.0.13.1)
Dec 11 22:34:30 (none) user.notice root: Display Text:
Dec 11 22:34:30 (none) user.notice root: Umounting /mnt/1
Dec 11 22:34:30 (none) user.notice root: Umounting /mnt/2
Dec 11 22:34:31 (none) user.notice root: Umounting /mnt/3
Dec 11 22:34:31 (none) user.notice root: Umounting /mnt/4
Dec 11 22:34:31 (none) user.notice root: Umounting /mnt/5
Dec 11 22:34:31 (none) user.notice root: Umounting /mnt/6
Dec 11 22:34:31 (none) user.notice root: Umounting /mnt/7
Dec 11 22:34:31 (none) user.notice root: Display Text: Try 1 (0)
Dec 11 22:34:32 (none) user.notice root: Display Text: Partitons exported successifully via USB
Dec 11 22:34:32 (none) user.notice root: Display Text: Configured 192.168.2.15 on USB
Dec 11 22:34:32 (none) user.notice root: Starting DHCP server, offering 192.168.2.100
Dec 11 22:34:32 (none) user.notice root: Display Text: Starting DHCP server, offering 192.168.2.100
Dec 11 22:34:32 (none) user.notice root: Starting TELNET server
Dec 11 22:34:32 (none) local0.info dnsmasq[256]: started, version 2.45 DNS disabled
Dec 11 22:34:32 (none) local0.info dnsmasq[256]: compile time options: IPv6 GNU-getopt no-ISC-leasefile no-DBus no-I18N TFTP
Dec 11 22:34:32 (none) local0.info dnsmasq[256]: DHCP, IP range 192.168.2.100 -- 192.168.2.100, lease time 416d15h
Dec 11 22:34:32 (none) local0.warn dnsmasq[256]: failed to access /etc/resolv.conf: No such file or directory
Dec 11 22:34:32 (none) user.notice root: Display Text: Starting TELNET server
Dec 11 22:34:32 (none) user.notice root: Starting SSH server
Dec 11 22:34:32 (none) user.notice root: Display Text: Starting SSH server
Dec 11 22:34:32 (none) auth.info sshd[268]: Server listening on 0.0.0.0 port 22.
Dec 11 22:34:35 (none) local0.info dnsmasq[256]: DHCP packet: transaction-id is 2017558596
Dec 11 22:34:35 (none) local0.info dnsmasq[256]: Available DHCP range: 192.168.2.100 -- 192.168.2.100
Dec 11 22:34:35 (none) local0.info dnsmasq[256]: DHCPDISCOVER(usb0) 76:39:eb:a8:30:f8
Dec 11 22:34:35 (none) local0.info dnsmasq[256]: DHCPOFFER(usb0) 192.168.2.100 76:39:eb:a8:30:f8
Dec 11 22:34:35 (none) local0.info dnsmasq[256]: requested options: 1:netmask, 28:broadcast, 2:time-offset, 3:router,
Dec 11 22:34:35 (none) local0.info dnsmasq[256]: requested options: 15:domain-name, 6:dns-server, 119:domain-search,
Dec 11 22:34:35 (none) local0.info dnsmasq[256]: requested options: 12:hostname, 44:netbios-ns, 47:netbios-scope,
Dec 11 22:34:35 (none) local0.info dnsmasq[256]: requested options: 26:mtu, 121:classless-static-route, 42:ntp-server,
Dec 11 22:34:35 (none) local0.info dnsmasq[256]: requested options: 121:classless-static-route, 249, 252, 42:ntp-server
Dec 11 22:34:35 (none) local0.info dnsmasq[256]: sent size: 1 option: 53:message-type 02
Dec 11 22:34:35 (none) local0.info dnsmasq[256]: sent size: 4 option: 54:server-identifier c0:a8:02:0f
Dec 11 22:34:35 (none) local0.info dnsmasq[256]: sent size: 4 option: 51:lease-time 02:25:42:f0
Dec 11 22:34:35 (none) local0.info dnsmasq[256]: sent size: 4 option: 58:T1 01:12:a1:78
Dec 11 22:34:35 (none) local0.info dnsmasq[256]: sent size: 4 option: 59:T2 01:e0:9a:92
Dec 11 22:34:35 (none) local0.info dnsmasq[256]: sent size: 4 option: 1:netmask ff:ff:ff:00
Dec 11 22:34:35 (none) local0.info dnsmasq[256]: sent size: 4 option: 28:broadcast c0:a8:02:ff
Dec 11 22:34:35 (none) local0.info dnsmasq[256]: DHCP packet: transaction-id is 2017558596
Dec 11 22:34:35 (none) local0.info dnsmasq[256]: Available DHCP range: 192.168.2.100 -- 192.168.2.100
Dec 11 22:34:35 (none) local0.info dnsmasq[256]: DHCPREQUEST(usb0) 192.168.2.100 76:39:eb:a8:30:f8
Dec 11 22:34:35 (none) local0.info dnsmasq[256]: DHCPACK(usb0) 192.168.2.100 76:39:eb:a8:30:f8 ubuntu
Dec 11 22:34:35 (none) local0.info dnsmasq[256]: requested options: 1:netmask, 28:broadcast, 2:time-offset, 3:router,
Dec 11 22:34:35 (none) local0.info dnsmasq[256]: requested options: 15:domain-name, 6:dns-server, 119:domain-search,
Dec 11 22:34:35 (none) local0.info dnsmasq[256]: requested options: 12:hostname, 44:netbios-ns, 47:netbios-scope,
Dec 11 22:34:35 (none) local0.info dnsmasq[256]: requested options: 26:mtu, 121:classless-static-route, 42:ntp-server,
Dec 11 22:34:35 (none) local0.info dnsmasq[256]: requested options: 121:classless-static-route, 249, 252, 42:ntp-server
Dec 11 22:34:35 (none) local0.info dnsmasq[256]: sent size: 1 option: 53:message-type 05
Dec 11 22:34:35 (none) local0.info dnsmasq[256]: sent size: 4 option: 54:server-identifier c0:a8:02:0f
Dec 11 22:34:35 (none) local0.info dnsmasq[256]: sent size: 4 option: 51:lease-time 02:25:42:f0
Dec 11 22:34:35 (none) local0.info dnsmasq[256]: sent size: 4 option: 58:T1 01:12:a1:78
Dec 11 22:34:35 (none) local0.info dnsmasq[256]: sent size: 4 option: 59:T2 01:e0:9a:92
Dec 11 22:34:35 (none) local0.info dnsmasq[256]: sent size: 4 option: 1:netmask ff:ff:ff:00
Dec 11 22:34:35 (none) local0.info dnsmasq[256]: sent size: 4 option: 28:broadcast c0:a8:02:ff
Dec 11 22:34:35 (none) local0.info dnsmasq[256]: sent size: 6 option: 12:hostname 75:62:75:6e:74:75
Dec 11 22:48:31 (none) user.notice root: Exit maintanance mode
Dec 11 22:48:31 (none) user.notice root: Mounted /dev/mmcblk0p1 on /mnt/1 as VFAT
Dec 11 22:48:32 (none) user.notice root: Mounted /dev/mmcblk0p2 on /mnt/2 as EXT4
Dec 11 22:48:32 (none) user.notice root: Mounted /dev/mmcblk0p3 on /mnt/3 as EXT4
Dec 11 22:48:32 (none) user.notice root: Mounted /dev/mmcblk0p4 on /mnt/4 as EXT4
Dec 11 22:48:32 (none) user.notice root: Could not mount /dev/mmcblk0p5 on /mnt/5
Dec 11 22:48:32 (none) user.notice root: Could not mount /dev/mmcblk0p6 on /mnt/6
Dec 11 22:48:32 (none) user.notice root: Could not mount /dev/mmcblk0p7 on /mnt/7
Dec 11 22:48:33 (none) user.notice root: Starting menu launcher
Dec 11 22:48:33 (none) user.notice root: Reached end of init!
Dec 11 22:48:33 (none) user.notice root: Loading animation control file
Dec 11 22:48:33 (none) user.notice root: touchdevice: /dev/input/event3
Dec 11 22:48:33 (none) user.notice root: O_COMMAND_LINE: init=/sbin/preinit root=/dev/mmcblk0p2 rootwait rootflags=errors=remount-ro rootfstype=ext4 rw mtdoops.mtddev=log mtdoops.record_size=65536 console=tty0 mtdparts=omap2-onenand:1024k(bootloader),2816k@1024k(config
Dec 11 22:48:33 (none) user.notice root: Started animated OS selection menu
Dec 11 22:48:38 (none) user.notice root: Selected second level menu for OS2
Dec 11 22:48:40 (none) user.notice root: Drawing second level menu items for OS2
Dec 11 22:48:40 (none) user.notice root: Get menuitem for OS2 (5 lines)
Dec 11 22:48:47 (none) user.notice root: Selecting Harmattan OS, running kernel /boot/Harmattan/boot/zImage_2.6.32.54-openmode_l2fix
Dec 11 22:48:48 (none) user.notice root: Loading kernel /boot/Harmattan/boot/zImage_2.6.32.54-openmode_l2fix
Dec 11 22:48:48 (none) user.notice root: kexec_load() successful
Dec 11 22:48:48 (none) user.notice root: Restarting to selected OS
Dec 11 22:48:48 (none) user.notice root: Saving ubiboot log files

gdelca5 2013-12-11 23:23

Re: Introducing ubiboot N9 (multiboot OS loader)
 
sorry if the topic does not belong to this thread,

The infamous simlock issue:

http://img18.imageshack.us/img18/7720/qp66.png

Can 2ndboot help to load an unsigned kernel image ?
http://forum.xda-developers.com/show....php?t=1942319

Garp 2013-12-12 00:09

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

Originally Posted by juiceme (Post 1328315)
Hey, for the people that have Nemo in non-standard location!!

As peterleinchen got it, I have indeed hardcoded the Nemo partition to be "/dev/mmcblkp04# in the menu selection logic!

When I made it I did not think that people would ever put Nemo somewhere else.

However, it is easy to correct:
Just edit your "/boot/menu/select_os_animated.sh", and find the function load_nemo()
On that function, replace the sed script "s/root\=\/dev\/mmcblk0p2/root\=\/dev\/mmcblk0p4/" with "s/root\=\/dev\/mmcblk0p2/root\=\/dev\/mmcblk0p7/", for example, if your Nemo is on partition#7

Is Nemo partition still hard coded as p4?
If so how to editing the script? (sorry but normally I use KhtSimple Text (root) to handle this - is it nano to use here?):(

juiceme 2013-12-12 06:15

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

Originally Posted by arthurartoria (Post 1395234)
Hi, guys. I have finished flashing sailfish and installing multiboot. THe sailfish is workable, but now I cannot boot into the harmattan. Here is ubiboot.log. Anyone could help me? Thank you so much.

......
Dec 11 22:48:47 (none) user.notice root: Selecting Harmattan OS, running kernel /boot/Harmattan/boot/zImage_2.6.32.54-openmode_l2fix
Dec 11 22:48:48 (none) user.notice root: Loading kernel /boot/Harmattan/boot/zImage_2.6.32.54-openmode_l2fix
Dec 11 22:48:48 (none) user.notice root: kexec_load() successful
Dec 11 22:48:48 (none) user.notice root: Restarting to selected OS
Dec 11 22:48:48 (none) user.notice root: Saving ubiboot log files

Since you get this far, it means that ubiboot is able to find and load your kernel correctly.
Does the device just hang, with a black screen?

The most propable cause is that you are missing the preinit file for harmattan, or that the preinit is not marked executable.
Ubiboot uses a set of preinit files for Harmattan, Nitdroid and FirefoxOS that you can download from here.
If you do not use any of those except Harmattan, the quick fix is to copy your /sbin/preinit to /sbin/preinit_harmattan
Be sure to check that the preinit file has the execute permissions set.

juiceme 2013-12-12 06:29

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

Originally Posted by gdelca5 (Post 1395235)
sorry if the topic does not belong to this thread,

The infamous simlock issue:

Yes, this is the same problem that @flotron has.
I think it is particulary nasty that this exists, as I was sure that N9's were not sold simlocked.


Quote:

Originally Posted by gdelca5 (Post 1395235)
Can 2ndboot help to load an unsigned kernel image ?
http://forum.xda-developers.com/show....php?t=1942319

I thought about this a bit, and yes, it is doable but it is not simple.
Also, every time you boot you'd need to run the same thing again :(

How I'd take a go at it if I was you;
  • 1.) first thing you need is to port the boot module to 2.6.32.54 so it is usable on N9. The userspace utilities propably compile without modifications.
  • 2.) as you are stuck permanently in Closed Mode due to simlock, you need inception to install the module.
  • 3.) Possibly some modification on the 2nd stage kernel? using kexec() chainloading does not need this but I am not famliar with 2ndboot.

juiceme 2013-12-12 06:32

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

Originally Posted by Garp (Post 1395243)
Is Nemo partition still hard coded as p4?
If so how to editing the script? (sorry but normally I use KhtSimple Text (root) to handle this - is it nano to use here?):(

No, these issues were for older version of ubiboot :)
0.3.5 is fairly flexible in this, for example my ow device's got radicalily different partition layout and just about anything can be configured in your ubiboot.conf :D

romu 2013-12-12 15:36

Re: Introducing ubiboot N9 (multiboot OS loader)
 
Hi,
Just tried to install Uniboot and this was not a success. Indeed, it is a success, but I can't boot Harmattan anymore.

I didn't install Sailfish nor other OS, just Harmattan for the moment. I've successfully open my N9, and re-partioned it, without any issue. Troubles being with Ubiboot.

First, to copy the "zImage_2.6.32.54-openmode_l2fix" to /media/<login>/rootfs/boot, I had to switch to sudo, normal? I asked because this is not explicitely described in the tutorial.

Now when I start my N9, if I let the default OS starting, I see...nothing, just a black screen. Nothing happens, and I had to press the power off button few seconds to shutdown the device.

Of course, that's the same if I click the second icon on the left (the one with 2 characters "fighting"), and choose "Openmode + L2fix".

Any help to get back my device would be great, preferably without having to reflash a stock ROM.

Another question, is there a way to remove non wanted OSes? By tweaking the ubiboot.conf?

Thanks...pretty urgent.

juiceme 2013-12-12 15:46

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

Originally Posted by romu (Post 1395582)
Hi,
Just tried to install Uniboot and this was not a success. Indeed, it is a success, but I can't boot Harmattan anymore.

I didn't install Sailfish nor other OS, just Harmattan for the moment. I've successfully open my N9, and re-partioned it, without any issue. Troubles being with Ubiboot.

First, to copy the "zImage_2.6.32.54-openmode_l2fix" to /media/<login>/rootfs/boot, I had to switch to sudo, normal? I asked because this is not explicitely described in the tutorial.

Now when I start my N9, if I let the default OS starting, I see...nothing, just a black screen. Nothing happens, and I had to press the power off button few seconds to shutdown the device.

Of course, that's the same if I click the second icon on the left (the one with 2 characters "fighting"), and choose "Openmode + L2fix".

Any help to get back my device would be great, preferably without having to reflash a stock ROM.

Another question, is there a way to remove non wanted OSes? By tweaking the ubiboot.conf?

Thanks...pretty urgent.

I guess you are propably another one who has missed the part that explains about preinit scripts in the ubiboot README file.

As for modifying the menus, that can be done by recompiling the CPIO, an easy thing to do really. I actually already considered of maybe doing a special one that contains just the Harmattan menu and Sailfish menu, if people need something like that...

romu 2013-12-12 16:59

Re: Introducing ubiboot N9 (multiboot OS loader)
 
Thanks, been able to start Harmattan again, guess the Sailfish tutorial should talk about these scripts, this is not currently the case.

Garp 2013-12-12 19:54

Re: Introducing ubiboot N9 (multiboot OS loader)
 
My partitions are not in disk order. Anyone have experience with using x) exstra functionality f) fix?
Is it risky business to use fix and has this missing order any impact on devise function?

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 1359680 43509248 c Win95 FAT32 (LBA)
Partition 1 does not end on cylinder boundary
/dev/mmcblk0p2 1760513 1891584 4194304 83 Linux
/dev/mmcblk0p3 1891585 1957120 2097152 83 Linux
/dev/mmcblk0p4 1359681 1760512 12826624 5 Extended
Partition 4 does not end on cylinder boundary
/dev/mmcblk0p5 1629473 1760512 4193280 83 Linux
/dev/mmcblk0p6 1494593 1629440 4315136 83 Linux
/dev/mmcblk0p7 1359713 1494560 4315136 83 Linux

Partition table entries are not in disk order

peterleinchen 2013-12-12 20:23

Re: Introducing ubiboot N9 (multiboot OS loader)
 
@garp
Everything is alright. Just a small cylinder boundary inconsistency, which should not affect anything as on the endd. If they were at the head they could make disk access a bit slower.
So no need to change. Or you have again to change ubiboot.conf, /etc/fstab and so on ....

taixzo 2013-12-13 06:59

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

Originally Posted by coderus (Post 1394062)
show logfile :)

Logfile: http://pastebin.com/dxCxp6Vk


All times are GMT. The time now is 07:24.

vBulletin® Version 3.8.8