![]() |
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
Of course, as long as your Nitdroid is on same partition as your Harmattan, also "/boot/Harmattan/boot" works for both :) |
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
Quote:
Quote:
059J661 now boot into Nitdroid/Nemo. And Harmattan sometimes?! min. 3 starts i need to really boot up. I will check in a few days. many thanks in advance |
Re: Introducing ubiboot N9 (multiboot OS loader)
recently i had same issue with booting Harmattan.
if no actions after selecting Harmattan - it can boot or can not boot. 1/3, or so. but! if i touching screen repeatedly after selecting harmattan - it booting fine always! there is some extra hw input watchdog, i think. but it very nice to see when phone need to be touched for boot. it need more care and love :D |
Re: Introducing ubiboot N9 (multiboot OS loader)
Somehow, my phone can't boot anymore
I wanted to flash the kernel, but I forget to turn off the lock code. But now, it just shows the Nokia logo, and turn it self off. After just pressing the power button once, the phone turns on again, shows the nokia logo, and turns off again after like 5-7 seconds. What should I do (to save the data at least)? flashing the original kernel didn't solve the problem: Code:
flasher -f -F main.img --flash-only=kernel meh, to preserve data... I've flashed with: Code:
flasher -f -F main.bin I really dont know why I couldnt boot anymore after trying to flash :/ |
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
So, you did manage to boot it after all, OK? I am just a bit confused but I guess you had the problem first but now it's fixed. Sometimes it happens that the device goes in a state it will not really boot correctly, but most often that can be solved by forcing it down with 8s press to the power button and then reflashing. About the ubiboot versions you asked on IRC; nowdays it's strongly suggested that you use ubiboot-02. if you do not know why you should use ubiboot-01, do not use it. version 02 is better, and I am no longer supporting 01. Version 01 has some problems that possibly CAN brick your device to FOREVER. It has happened just once AFAIK but even once is enough, and for that reason version 02 was done. |
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
Harmattan bootup procedure is fairly fragile, and there are tweaks that when used together might have an undesirable end result. |
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
What I have found up to now, at least with 1603 which is the most troublesome revision, the problem really is not the watchdog, the doggy is just the thing that will cause the phone to boot but the root cause is the fact that DSME stops feeding the watchdog. I made a preinit script that forces the watchdog to be kept happy no matter what, and then the phone does not reboot but it will have massive problems accessing the HW, as DSME does not get connection to battery status and shuts itself down. When that happens the device does not go to normal operation mode, but you can ssh into it and check what's going on there. coderus, what's the variant, model/color and HWREV of your device? |
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
But after flashing the device, it booted, backup up my files, than did a total flash with emmc :p |
Re: Introducing ubiboot N9 (multiboot OS loader)
Released ubiboot-02 (integrated) version, rev. 0.3.3.
See the README file See the Changelog If you have installed/downloaded the previous release 0.3.2, you need only update the new kernel to your device as the configuration file and cpio are compatible with previous release. You can find the correct kernel image here The files are also uploaded at Skeiron, for your convenience: ubiboot-02_040613.tar zImage_2.6.32.54-ubiboot-02_040613 |
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
I flash my device with your new kernel image, now, 6 starts with 6x boot into Harmattan :) |
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
|
Re: Introducing ubiboot N9 (multiboot OS loader)
Confirmed working for 1507 black N9.
Finally, I don't have to wait for the system to settle and drop down to 0MHz at sleep to use it. |
Re: Introducing ubiboot N9 (multiboot OS loader)
@Juiceme
I confirmed latest kernel worked with my 1603 version Thanks you! |
Re: Introducing ubiboot N9 (multiboot OS loader)
@juiceme Congrats for finding 1603 problem.
Finally I managed to update to -02. And it worked out of the box :) I still have some remarks. First one is just "cosmetic". Would you mind taking out partition 8 and 9 from configuration and init? Our standard compiled kernels only support up to 8 devices (7 partitions). We would need to have recompiled kernel to support more than 7 partitions (and that would count for ubi kernel as well as harmattan/nitdroid/nemo (possibly sailfish? ;)) kernels. Second one is I would like to give my device(s) a unique IP address. Even for telnet usage. I know x.x.x.15 is kind of standard, but would like to have my own. So just adding a G_IP_ADDRESS would be fine. (after reading sources I think just adding IP_ADDRESS= to ubiboot.conf will work. Not yet tested) So maybe obsolete. Third one is a bug (probably). Did you or anyone else was successful with version -02 and using mtd5? I moved my old v-01 sources to mtd and worked flawlessly with mtd5 kernel. Then I copied ubiboot.conf and cpio to root of mtd5 and also to MyDocs/boot. But the files from mtd are never read and always MyDocs/boot config used. Of course flashe v-02 ubi kernel. I think you not only need to detach mtd device, but also delete ubi device (-d 0); otherwise moslo will be mounted to ubi1:moslo. So either add ubidetach -d 0 or just exchange ubi0:moslo to ubi1:moslo. I also moved my nemo from p7 to p6 and everythings works. Nitdroid without any changes work. I wanted to boot nit from p5: I copied my full p2 to p5 (of course together with all kernels in boot), moved nit folder to p5, changed nitdroid partition number to 5 in config. And here comes my problem. Nitdroid does not want to start. It always shuts down with black screen: selection in ubi works, selecting nit kernel works (ubi log kexec load success), but then I have dim-lighted black screen for about a few (30?) seconds and device is off. Power button for 3 s jsust boots up again. I have nfc what is biting me here? Maybe watchdog, as it seems not to be started by default. Maybe we can discuss this on irc next days? I already added some logging to preinit_nitdrod, and it seems execution gets stuck randomly during execution (sometimes during check_rootfs, sometimes a bit later at mounting p3, but never getting to droidboot??? --edit Ah and maybe one more (to be confirmed tomorrow morning). Charging an empty device with wall charger works in act-dead mode. :) But this morning it was still connected to charger and an alarm fired up: no light on display, no UI at all, no possibility to stop the alarm ... --edit2 Confirming the total absence of UI, when device is on charger in act-dead and an alarm triggers. An alarm triggered when off (not charging) works nice. Even so when the device is powered on. Furthermore I experienced that the act#ead charging mode worked only 1 out of 3 times. I had device off, plugged charger, then it booted, shut down (steady LED) and rebooted to telnet console. I pulled charger, pushed power button for 8s and tried again. Same. Only af the third time I saw the charging symbol. Logs do not tell any suspicious (to me ;)). |
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
The second edit seems the same problem of the first start alarm bug (maybe isn't this the case) that have users (me too) that installed the CODeRUS Unrestricted System UI, solvable with the deactivation of the orientation widget with: Code:
gconftool -s --type=bool /desktop/meego/status_menu/widgets/orientation/working false |
Re: Introducing ubiboot N9 (multiboot OS loader)
I feel really stupid posting it. But I seem to have hit a roadblock. Where do I place the kernels? What do I mount what folders do I create? I do have the open kernel and I am able to perform all the steps correctly. but I don't know where to place the kernel. I am stumped having been trying this for over a week now. Can someone please help?:confused:
|
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
The kernel/kernels (I put in mind that everything else is in place), with correct names as writed in the README file, for the Harmattan and NITdroid must be placed into the /boot directory of the Harmattan root; the ubiboot-02.menus.cpio file and ubiboot.conf (this one edited with the correct names that you have given to kernels) file must be placed into /boot of the Harmattan eMMC. Recapitulating with full path, starting from the root (/), for clarity:
|
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
Quote:
I do not (yet) have unrestricted system UI installed. Nor do I have that tree in gconf settings. |
Re: Introducing ubiboot N9 (multiboot OS loader)
peterleinchen,
The "flasher trick" is not a trick but just using flasher to charge the phone to around 10% before plugging it into a wall charger to continue charging... since a flash doesnt occur before the battery is at 11%, flasher charges it to that level... Regarding the alarms, maybe death_jax is referring to unrestricted sys-ui as its known to cause the same issue on non-ubiboot phones too. However although the symptoms are the same here, your case seems to be caused by ubiboot while his problem is a common unrestricted sys-ui issue... |
Re: Introducing ubiboot N9 (multiboot OS loader)
Allright, I have been off-line for a longish time, sorry for that. I was off on a trip to Far North, and after some incident with shovel&wheelbarrows called physical work I hurt my back. I have been on sick leave for few days...
Here's some combination of answers I can dream up at the spur of the moment. Later to follow... :D Quote:
Quote:
Also might add something on the DHCP side, currently it gives 192.168.0.100 as the address of the USB device on the PC, should maybe set that also as configurable... Quote:
I'll have to test that, and if found guilty, it'll be corrected. Quote:
It sure sounds like a WD problem, and those are a bitch to debug... Quote:
Actually when it's in the charging/ACT_DEAD mode, when the alarm later triggers it should not restart ubiboot as it is already running a Harmattan instance, just without user input functionality. Quote:
Quote:
That should not happen, do you have the setting "G_OVERRIDE_USB_CHARGER_BOOT=1" in your ubiboot.conf? Also you do need to have G_DEFAULT_OS and G_DEFAULT_KERNEL set up to start a Harmattan kernel. Quote:
I hope you managed to do that with the good advice people gave you here... Quote:
More testing is obviously required. Some additional random things; I still have not had time to fix the ssh server to ubiboot. I hope to get to that sometime soonish... Also I thought of adding WLAN configuration to ubiboot, enabling telnet to the device without having the USB connection present. |
Re: Introducing ubiboot N9 (multiboot OS loader)
You don't have to mount any partition, because you'd better use (because it's updated) the ubiboot-02 method.
The kernel/kernels (I put in mind that everything else is in place), with correct names as writed in the README file, for the Harmattan and NITdroid must be placed into the /boot directory of the Harmattan root; the ubiboot-02.menus.cpio file and ubiboot.conf (this one edited with the correct names that you have given to kernels) file must be placed into /boot of the Harmattan eMMC. Recapitulating with full path, starting from the root (/), for clarity: The kernels (only for Harmattan and NITdroid because for Nemo it's different) must be placed into /boot directory. The Ubiboot files (described above) must be placed into /home/user/MyDocs/boot directory [QUOTE=juiceme;1353573] No need to feel stupid, I have found out that quite a few people have trouble figuring out that. The problem is that when you are running Harmattan you have a different view of the mounted filesystem than when you are running ubiboot. The README document evidently does not make that clear enough. I hope you managed to do that with the good advice people gave you here...] Thanks a lot for the advice. I was finally able to boot using ubiboot but for some reason it boots into Harmattan even when I pick Nitdroid. I am not sure what to do to resolve this issue. Also where to I find the modules to put in the "/lib/modules" directory. Where can I find instructions to install Nemo. Thanks for all the help. |
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
For Nemo installation I advise you not to think about it now, but maybe later, after a better understanding of boot of Harmattan/NITdroid. For NITdroid boot problem: did you put the NITdroid kernel file in the right place? Did you edited correctly the Ubiboot.conf file? Did you extracted the NITdroid system files correctly? |
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
|
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
|
Re: Introducing ubiboot N9 (multiboot OS loader)
/boot is correct place and /home/nitdroid also correct ...
What about posting output of ls -al /boot nitdroid section of ubiboot.conf /var/log/ubiboot.log and /var/log/ubiboot.dmesg ? |
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
As peterleinchen wroted, in order to help you, you must post the file in the /boot folder and the content and your NITdroid entries section in ubiboot.conf file (starting from # Nitdroid kernels) |
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
Thanks a lot. I got everything working. Just wasn't waiting long enough. Android is really slow though. I am not sure why. Now I have to learn more and install Nemo. Thanks a lot for your support. :) |
Re: Introducing ubiboot N9 (multiboot OS loader)
Ah yes, especially on first boot it takes ages.
Furthermore you should get the latest nit kernel from e-yes with juiceme's L2 cache fix. Check http://downloads.nitdroid.com/e-yes/n9/ubiboot/ |
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
And also, as long as you ar onto it, I'd advice you to use the default Harmattan preinit file instead of the one I provide as "/sbin/preinit_harmattan" in the preinits.tar file... many people report that the file in the archive is not so reliable as the original Harmattan preinit. (I trimmed it down a bit, removed parts that I did not think were that useful and maybe I went a bit too far...) |
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
in your cut down preinit_harmattan is only one problem (compared your version with original one), the early start up of usb network! You remember? I have it commented out, but now as I write I believe a configurable option could be nice to have early telnet/ssh possibilty during harmattan as we have in nitdroid and nemo. But I do not know if it makes sense at all and how to fetch config values in preinit? Do you get me, juiceme? Or just talking bullsh.t? ;) For preinit_nitdroid I also would like to fetch config values from ubiboot.conf, but who cares? Only me probably and so I just edit the preinit_nitdroid directly. Maybe one day I will get it starting from p5 !? |
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
|
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
Quote:
That would work just once, though as of course on the second run it had already been changed. Having a bit more complex sed script, you could well have a marker there to signify the place of replacement so that is leaves the marker section there for subsequent runs. Possible, but is it useful for many people? |
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
And thanks for confirmation (of my bs talk :))! I had smth like that in mind, but ... Quote:
But again thanks for pointing to me a possible way to do it (in init of ubiboot). If I am going to do so, I will send you sources. But I do not think so, as it will be only me using p5 for nitdroid nd wanting an own unique IP address. So direct edit will be okay. But configuration for IP and DHCP range would be nice in ubiboot. --info today I got nitdroid booted from p5 :) (call me dumb *ss, as it was again a wrong link :mad: but some error popped up about android worker process stopped now I need to fix that :( but maybe it is just due to some SIM card registration failure I have since today?!? Yes! It is working. Next step will be booting harmattan with rootfs from p5. Any idea how to block access to p2, so we can be sure that everything is loaded from p5? |
Documentation for ubiboot-02 Installation
Hi Friends,
It's been quite a while since I have posted...this "ubiboot-02" is great! I gave it a try and so far so good; was able to boot up with Harmattan/NITDroid/Nemo. However, I got a little confused with the steps documented in the README file. I participate in a local forum site here in the Philippines where there are also enthusiasts of the Nokia N900 and Nokia N9/50. They are also interested in ubiboot-02, but they did share the same sentiment (that they got confused with the README). So what I did is to document the steps that I took to get this to work. Initially I intended to have this for personal use, but then again, I thought it might benefit others. Hence, I hope you won't mind if I share this here too. I already converted it to PDF, but I also have the original document. There are file size restrictions so I wasn't able to attach the documents directly using the Attachment Tool. I uploaded it via Mediafire instead: http://www.mediafire.com/folder/4zua...6cy/ubiboot-02 I have also recorded a video of the steps. I am just converting the videos and will upload (will edit this post accordingly). |
Re: Introducing ubiboot N9 (multiboot OS loader)
Hi Friends,
I attempted to make my first Wiki Page. :) I used the Ubiboot Steps to make it. Please review and hope you like it. Feedback is most welcome (preferably via PM as I am not always online on the forums). http://wiki.maemo.org/Ubiboot |
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
I also attempted my first wiki page edit, and I added skeiron as the mirror location of ubiboot files. |
Re: Introducing ubiboot N9 (multiboot OS loader)
1 Attachment(s)
Hej juiceme,
I think I spotted some hurdle when trying to boot harmattan from p5. Taking a deeper look into the files compiled into the kernel, I have seen that you symlink /etc/passwd and /etc/group directly hardcoded from /mnt/2/etc/ passwd respective /mnt/2/etc/group. This is what I wanted to avoid (to have the need for some harmattan files/dirs accessible on p2). I edited /init (attached), but I am absolutely not sure if this will work. When, at what time, the ubi system needs passwd and group? If it is only when launching a shell, I think my small modification (peterleinchen 1) may work. But when it is already needed for starting /init itself, then I am doomed. In first case what about the maintenance mode: do we need it here also as it starts a shell (I have begun to modify: peterleinchen 2)? Please take a look and let me know, please. And i thought about changing the log location to /mnt/p1/boot/log (peterleinchen 3) as this location is visible to all operating systems and easily to access for everybody. I thought also about saving log to the selected OS /var/log location, but after rethinking discarded this idea. What do you think? (of course this needs to be fixed in all files then as well) And I edited the wiki for the open mode preparation as Jonni told us. I did not do it this way, but it cannot harm nor cause trouble to try out (if you wanna flash)! -- oops forgot the attachment, corrected. |
Re: Introducing ubiboot N9 (multiboot OS loader)
@juiceme: thanks for reviewing and for adding the mirror site.
@peterleinchen: thanks for adding the tip. :) Actually, I am aware that when the device is newly flashed, the "prepare for Open-Mode" steps will not be required because the folders ./accounts, ./aegis, and ./activesync are still at an empty state, but I just had to put it in there for "mistake-proofing" of "fool-proofing" (I conscientiously thought that there will be a lot of end-users who will try out Ubiboot), just to be sure. By the way, I cleaned up your edit a bit for formatting consistency, hope you won't mind. :) |
Re: Introducing ubiboot N9 (multiboot OS loader)
1 Attachment(s)
Quote:
I reviewed your changes, and there are some things to note. First thing, though, you have an older version of init, where you are placing your modifications. Your version does not contain the corrected watchdog kicker and it has the incorrect BME initialization which cause the rev.1603 boot problems with Harmattan. Also the boot partition configuration changes are missing. Here is the current version of init from the latest ubiboot-02: Attachment 32482 Then, comments about the edits: 1. Actually the symlinks to /etc/passwd and /etc/group are not used for anything at all at the moment. The files are there just as I am trying to get SSHD to work. SSHD requires the entries to manage userids, and my idea here was to symlink those from the Harmattan side so that I could reuse the Harmattan credentials on ubiboot domain. This is maybe a futile idea anyway, so the files are totally excess as of current. (meaning, just do not care if the links point to nothing at all...) 2. About choosing the logging location. Yes, you are absolutely correct there are far better places than Harmattan's /var/log/ to store the logs, obvious location would be of course where ubiboot.conf and the cpio are. Or it could be made configurable in the conf file. I do not remember exactly what I was thinking when decided to put the logs there... maybe it went on something like, if there's a problem with something users tend do look into /var/log/ to see if there's a hint of the cause... |
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
|
All times are GMT. The time now is 04:03. |
vBulletin® Version 3.8.8