Reply
Thread Tools
Community Council | Posts: 4,920 | Thanked: 12,867 times | Joined on May 2012 @ Southerrn Finland
#261
Originally Posted by explit View Post
Hello juiceme, hello guys.
The ubiboot_01 version for the mtd5 Partition working perfect for me, but ubiboot_02 not working at all... I put ubiboot-02.menus.cpio, ubiboot.conf and my kernels inside the MyDocs/boot folder. Also copied the kernel zImages into /boot on my N9 rootfs.
in the ubiboot.cfg I adjusted folders to /boot/.

I see the menus, can choose the kernel (or not choose them)...
Then i got black screen and nothing happen....

Any ideas ?

PS: inside the mtd5 i have a fully working ubifs_01 with all kernels inside /mnt/boot
Can you post the log files that ubiboot-02 creates on your Harmattan partition?
Each time it runs it will log to /var/log/ubiboot.dmesg and /var/log/ubiboot.log
If you copy those logs to pastebin.com, for example, I will see what's happening on your device.
 

The Following 2 Users Say Thank You to juiceme For This Useful Post:
explit's Avatar
Posts: 592 | Thanked: 1,603 times | Joined on Apr 2010 @ Berlin / Germany
#262
Originally Posted by juiceme View Post
Can you post the log files that ubiboot-02 creates on your Harmattan partition?
Each time it runs it will log to /var/log/ubiboot.dmesg and /var/log/ubiboot.log
If you copy those logs to pastebin.com, for example, I will see what's happening on your device.
Thank you very much juiceme for Your patience with us ;-)
Here are my log files, but I i take this files now (running ubiboot_01 on my mtd5)
I don't know if the log shows previos messages, where the ubiboot_02 was active...

ubiboot.log
http://pastebin.com/pkEGB2Dh

ubiboot.dmesg
http://pastebin.com/6jiRzFjw
 

The Following User Says Thank You to explit For This Useful Post:
Community Council | Posts: 4,920 | Thanked: 12,867 times | Joined on May 2012 @ Southerrn Finland
#263
Originally Posted by explit View Post
Thank you very much juiceme for Your patience with us ;-)
Here are my log files, but I i take this files now (running ubiboot_01 on my mtd5)
I don't know if the log shows previos messages, where the ubiboot_02 was active...

ubiboot.log
http://pastebin.com/pkEGB2Dh

ubiboot.dmesg
http://pastebin.com/6jiRzFjw
Okay, from your ubiboot.log I can see the following things:
(I am here looking at the second-latest boot in the file, as that is a normal non-maintanance boot)

Code:
Apr 17 19:37:29 (none) syslog.info syslogd started: BusyBox v1.19.4
Apr 17 19:37:29 (none) user.notice 0: No archive found from mtd5
Apr 17 19:37:31 (none) user.notice 0: Copied archive ubiboot-02.menus.cpio from mmcblk0p1/boot
Apr 17 19:37:31 (none) user.notice 0: N9 ubiboot ver. 0.3.1
Apr 17 19:37:31 (none) user.notice 0: kernel Linux (none) 2.6.32.54-ubiboot-02 #9 PREEMPT Fri Apr 5 08:49:40 EEST 2013 armv7l GNU/Linux
ubiboot-02 has started corectly, and found the cpio archive from your MyDocs/boot directory

Code:
Apr 17 19:37:31 (none) user.notice 0: bootreason: pwr_key
Apr 17 19:37:31 (none) user.notice 0: bootmode: normal
Apr 17 19:37:31 (none) user.notice 0: Exit maintanance mode
Normal boot detected, no USB cables connected

Code:
Apr 17 19:37:31 (none) user.notice 0: Mounting /mnt/2
Apr 17 19:37:31 (none) user.notice root: Mounting /mnt/4
Apr 17 19:37:32 (none) user.notice root: Starting menu launcher
Apr 17 19:37:32 (none) user.notice root: Reached end of init!
Apr 17 19:37:32 (none) user.notice root: Loading animation control file
Apr 17 19:37:32 (none) user.notice root: touchdevice: /dev/input/event3
Apr 17 19:37: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
Apr 17 19:37:32 (none) user.notice root: Started animated OS selection menu
Menu is loaded and shown for user

Code:
Apr 17 19:37:51 (none) user.notice root: Selecting Harmattan OS, running kernel /boot/zImage.nit
Apr 17 19:37:52 (none) user.notice root: kexec_load() successful
Apr 17 19:37:52 (none) user.notice root: Restarting to selected OS
Apr 17 19:37:52 (none) user.notice root: Saving ubiboot log files
Finally the selection is booted and ubiboot log ends.

Now, this kernel location looks like it's trying to load something that does not exist. As the root of ubiboot-02 is on the ramFS, when kernel is specified as "/boot/zImage.nit", it is trying to load from /boot of the ramFS, not from mmcblk/mtd partitions.

For example, on my device the Harmattan kernel line from my last boot reads like this:

Code:
Apr 18 07:18:02 (none) user.notice root: Selecting Harmattan OS, running kernel /boot/Harmattan/boot/zImage_2.6.32.54-openmode_l2fix
Of course that is also possible to boot kernel from ubiboot-02 rootfs, but then you would need to put the kernel inside the cpio to be loaded into ramFS.

Last edited by juiceme; 2013-04-18 at 08:34. Reason: corrected typo
 

The Following User Says Thank You to juiceme For This Useful Post:
Community Council | Posts: 4,920 | Thanked: 12,867 times | Joined on May 2012 @ Southerrn Finland
#264
Originally Posted by explit View Post
I put ubiboot-02.menus.cpio, ubiboot.conf and my kernels inside the MyDocs/boot folder. Also copied the kernel zImages into /boot on my N9 rootfs.
in the ubiboot.cfg I adjusted folders to /boot/.
To sum it up, you need to specify the Harmattan/Nitdroid kernel locations like this in your ubiboot.conf:

"/boot/Harmattan/boot/zImage-2.6.32.54-dfl61-20121301"
"/boot/Harmattan/boot/zImage.nit"

Then, it will load the kernels from your "mmcblk0p2:/boot/", the location that appears as "/boot/" on your Harmattan installation.
 

The Following 2 Users Say Thank You to juiceme For This Useful Post:
Posts: 111 | Thanked: 62 times | Joined on Apr 2012 @ Hong Kong
#265
Finially got triple boot!!!
Stuck at the preinit without x premission and where the zImage should place.
Thanks a lot!!!
 

The Following User Says Thank You to michaelmhk For This Useful Post:
explit's Avatar
Posts: 592 | Thanked: 1,603 times | Joined on Apr 2010 @ Berlin / Germany
#266
Originally Posted by juiceme View Post
To sum it up, you need to specify the Harmattan/Nitdroid kernel locations like this in your ubiboot.conf:

"/boot/Harmattan/boot/zImage-2.6.32.54-dfl61-20121301"
"/boot/Harmattan/boot/zImage.nit"

Then, it will load the kernels from your "mmcblk0p2:/boot/", the location that appears as "/boot/" on your Harmattan installation.
Thank you very much juiceme, now i understand.

One last question:

mmcblk0p:/boot/ is it the /boot/ Folder on Harmattan rootfs or /home/user/MyDocs/boot/ ?

Now i have the kernels on both places, but this is not necessary, i think ?
 
Community Council | Posts: 4,920 | Thanked: 12,867 times | Joined on May 2012 @ Southerrn Finland
#267
Originally Posted by explit View Post
Thank you very much juiceme, now i understand.

One last question:

mmcblk0p:/boot/ is it the /boot/ Folder on Harmattan rootfs or /home/user/MyDocs/boot/ ?
Yes, mmcblk0p1:/boot/ is the /home/user/MyDocs/boot/

Originally Posted by explit View Post
Now i have the kernels on both places, but this is not necessary, i think ?
You need only to have kernels on mmcblk0p2:/boot/, just like when using ubiboot-01. This is compability feature, I kept the kernel repository location same on both -01 and -02.

On first glance this might look a bit funny, that kernels are not on the same directory as the ubiboot-02 configuration file and cpio archive, but that is a concious design.
 
Community Council | Posts: 4,920 | Thanked: 12,867 times | Joined on May 2012 @ Southerrn Finland
#268
Mirrored the ubiboot repository on swagman.org to skeiron.org.
It might be that for some people access to skeiron is faster.

The mirror url is http://juiceme.cloud-7.de/ubiboot/
 

The Following User Says Thank You to juiceme For This Useful Post:
Posts: 181 | Thanked: 64 times | Joined on Feb 2012
#269
Is it reasonable to think that thanks to this multiboot OS loader we will have in the future a working Android and Jolla on our N9 ?
I mean, thinking out load, now with the ability to boot custom kernel, there are no more limitations, right ?
 
Community Council | Posts: 4,920 | Thanked: 12,867 times | Joined on May 2012 @ Southerrn Finland
#270
Originally Posted by KTy View Post
Is it reasonable to think that thanks to this multiboot OS loader we will have in the future a working Android and Jolla on our N9 ?
I mean, thinking out load, now with the ability to boot custom kernel, there are no more limitations, right ?
Well, booting alternate OS'es has been possible on the device for quite a some time, ubiboot only makes it very handy to do due to no external flasher required and via nice boot menu.

There are always limitations, for example the primary boot loader and NOLO are still locked but to most things there exist workarounds.
 
Reply


 
Forum Jump


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