![]() |
Re: Introducing ubiboot N9 (multiboot OS loader)
At least I have some device where mtd4 is totally locked due memory errors and which are always inialized as readonly. Thats why it might be nice to have initramfs or mmcblk based version of ubiboot... Some people ofcourse are lucky and have working still mtd4 :)
|
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
There were some mentioning that the partition order would matter, that in some cases the partition naming would not be consistent. I still think the problem is mainly this: When in ubiboot environment, whether it be menu or console, your partition is accessible when you mount it as otherwice the kexec_load would not succeed, not finding the kernel. However, when you boot it the new bootin kernel cannot find it, due to some namespace conflict, maybe ? A easy case to solve if you only had serial console on your device :D |
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
I am developing the alternate implementations, and at same time collecting info on bugs of the current implementation. |
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
Quote:
Quote:
|
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
Quote:
Quote:
Do I have the wrong Nemo image (nemo-handset-armv7hl-n950-0.20130218.0.1.NEMO.2013-02-15.1.tar)? I do not think so, but when then :facepalm: Or what? I have done above from harmattan, mounted ubifs on /mnt and Nemo partition on /mnt/mnt/7 |
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
Harmattan kernel does not implement kexec(), or at least it is not done correctly, hence the load of errors given to you when you try to load the kernel image to memory. I actually made one Harmattan-vanilla kernel that implements kexec() but have not used it since I adopted the MOSLO kernel (Nemo variant) to ubiboot. Tou only get /proc/atags on kernels compiled with kexec() support. You need to do that in ubiboot console or Nemo (Nemo should be able to kexec() if the needed tools and modules are in place) Quote:
|
Re: Introducing ubiboot N9 (multiboot OS loader)
HOLY SH..
I have struggled the whole day with my computers USB networking capabilities or lets say the Nokia f...ing non-ability to provide correct driver for Win7 64. You will not believe (or at least i didn't): The kernel could be loaded, so this command Quote:
Then the excution of Quote:
And the screen did stay black :( BUT: I did see the LED blinking. AND my computer detected the Linux/RNDIS gadget (the correct name of USB network driver). So I thought what's going on here? I disconnected USB, connected again. And fired up another telnet session on newly configured USB network. And voila: I could log in to Nemo as root :D And now ??? ;) How to enable the screen? And/or X, or whatever it is called in Nemo. --UPDATE-- Now i disconnected USB immediately after executing kernel. Lost again telnet session. But now i do see a nice snow crystal :D To be continued ... |
Re: Introducing ubiboot N9 (multiboot OS loader)
peterleinchen,
Slightly off-topic; if you mean Win7 not being able to find/install SDK mode drivers for N9; get them from here and install them ;) |
Re: Introducing ubiboot N9 (multiboot OS loader)
Continued:
Unfortunately this was the only time I could touch the Nemo (when loaded and kexec the kernel from ubi command line and immediately disconnect USB). When selected the Nemo via ubiboot menu nothing happens (screen stays black). I need to decouple battery. When selected via ubi console and leave USB connected then screen stays black, but I can SSH into Nemo. I did not test (yet) the black scrren from ubiboot selection for possibility of SSH login. So I am stuck now... |
Re: Introducing ubiboot N9 (multiboot OS loader)
So, can you sum up what is working currenty?
Boot to Nemo is failing but can you boot normally to Harmattan and Nitdroid? From experience I have had myself and from other users boot to Harmattan is the trickiest, everybody that has installed ubiboot is able to boot to Nitdroid, and all that have Nemo in mmcblk0p4 can boot to Nemo. |
Re: Introducing ubiboot N9 (multiboot OS loader)
Hey juiceme,
I thought I had already summarized above ;) But once again (maybe more precise). Nit is working Harmattan (all kernels) working Nemo: I got it (this morning) :D I had a wrong link (mnt/7 instead of /mnt/7). Please do NOT kill me (even remotely) ... BUT: that was not enough. The return value of kexec -l was 255. So we never ever got to execute the kernel or return to console. Nice idea would here be to go back to menu? So i just added a few lines to return a "0" in case the result was not "0". Then Nemo booted fine !? What the heck? I did not find meaning of "kexec -l" returning 255. But kexec -e worked. So no problems at all with partitions or logical disks or my mods (just the wrong link). Thank you --edit OK, got a dead battery. And put it to charger. Checked again and now return value is "0", so everything okay! This time bootreason=usb. When I got the 255 the bootreason was sw_rst. Maybe this caused the 255? IDK. But I am happy :) --Remarks - I still have sometimes weird restart behavior, i.e. after decoupling battery (nemo did not start) it needed a few attempts. It seems bootreason=pwr_off? Maybe change the bootreason in command_line also? - Charging does not take place when connected charger to powered off phone. it goes to ubi console and does not charge. Maybe wait for 60s and when there was no telnet connection established (do not know how to detect) then boot to Harmattan (bootreason=act_dead) and let it charge? - A recovery shell from ubi console! After rethinking and recognizing that this (n)9 is a touch-only device, it would be hard to achieve, or? - Possibly add /mnt/5, /mnt/6, /mnt/7 dirs in file system and code (maily unmounting in init). And if somehow easy configurable Nemo partition (7 instead of 4). Not for me, as I already have and know now what to do. In this context again my question regarding the possible number of devices on mmcblk0? Anybody here knows about that? (maybe thedead? ;), thanks for the drivers) |
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
But yes, now that I read the thread back a bit I find all the information there. Quote:
Quote:
I find it highly unlikely that this has something to do with the kexec_load return value. Actually, this is just the indicator I need to watch for, as the bug correction mentioned earlier :D Quote:
To be fixed in near future :) Quote:
I already made my own virtual keyboard for N9 preinit environment, it's usable for things like encfs passphrase entry. There's just four lines of text visible on screen at the same time but that's better than nothing. it's actually fairly nice hack, done just with bash scripting :D It would not be too difficult to implement a small shell interface with something like it... See https://toosa.swgman.org/svn/sillykbd/TRUNK/sillykbd Quote:
Quote:
|
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
Quote:
Seems I need to educate myself a bit more ... Quote:
Quote:
Quote:
toosa.swagman.org is down? Thanks to your work I start to like the N9, even I still need a PC alongside :D |
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
The charging/connection seems to be a tradeoff at the moment. It could be possible to hack up a module that does both, maybe. I really just took what was already there and did not look that deeply into it. Re: toosa being down, no, it's up, but there's some DNS trickery going on, maybe? Try the IP address: https://88.115.90.185/svn/sillykbd/TRUNK/sillykbd |
Re: Introducing ubiboot N9 (multiboot OS loader)
Updated ubiboot to use alternate installation FS. Now it is possible to use either mtd4 or mtd5 partition.
See changes of installation the README file |
Re: Introducing ubiboot N9 (multiboot OS loader)
I dont understand the part, where kernel file put to
|
Re: Introducing ubiboot N9 (multiboot OS loader)
anywhere to mmcbk0p2
for example in readme: /boot |
Re: Introducing ubiboot N9 (multiboot OS loader)
@juiceme instructions 3. ends with umount. 4. starts with configuring boot.conf. but partition was unmounted :)
|
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
Confirm the kernel not put in /mnt/boot/Harmattan/boot? make the directory self? |
Re: Introducing ubiboot N9 (multiboot OS loader)
/boot/Harmattan in ubifs is symlink to / in meego :)
|
Re: Introducing ubiboot N9 (multiboot OS loader)
oic
let me try again |
Re: Introducing ubiboot N9 (multiboot OS loader)
I just success booting into nitdroid and Harmattan but with only 1 kernel work, I only can boot with zImage-2.6.32.54-dfl61-20121301, the nitdroid and l2fix kernel I cant boot up, it shutdown when booting.
|
Re: Introducing ubiboot N9 (multiboot OS loader)
Just keep trying to boot.
Kexec is hit and miss on Harmattan. |
Re: Introducing ubiboot N9 (multiboot OS loader)
keep booting until it can boot in harmattan you mean...??
|
Re: Introducing ubiboot N9 (multiboot OS loader)
And make sure you have exactly the same spelling in boot.conf for the file name of kernels (was one of my mistakes at early stage: put a "_" instead of a "-".
|
Re: Introducing ubiboot N9 (multiboot OS loader)
A firm no mistake
|
Re: Introducing ubiboot N9 (multiboot OS loader)
I find in the boot.conf preset
G_HARMATTAN_INITSCRIPT="\/sbin\/preinit_harmattan" G_NITDROID_INITSCRIPT="\/sbin\/preinit_nitdroid" G_NEMO_INITSCRIPT="\/sbin\/init" there is \/ between, is it the format is wrong? |
Re: Introducing ubiboot N9 (multiboot OS loader)
TMavica,
That's right; what you should do is simply give the paste of all the steps you did and the contents of /boot/ in Harmattan as well as your ubifs/etc/boot.conf paste That would make things easier instead of just guessing what you may have done wrong :) |
Re: Introducing ubiboot N9 (multiboot OS loader)
I think the problem is here...should be change to
G_HARMATTAN_INITSCRIPT="/sbin/preinit_harmattan" G_NITDROID_INITSCRIPT="/sbin/preinit_nitdroid" G_NEMO_INITSCRIPT="/sbin/init" |
Re: Introducing ubiboot N9 (multiboot OS loader)
TMavica,
I mentioned to you above that format isn't wrong. If you want to solve issues its best you paste like mentioned instead of trying to "fix" what isn't broken ;) Also before you do the above try to replace your preinit_harmattan with nitdroid's preinit by renaming nitdroid's preinit to preinit_harmattan |
Re: Introducing ubiboot N9 (multiboot OS loader)
@TMavica i think there are no type mistakes in scrips and configs :D
|
Re: Introducing ubiboot N9 (multiboot OS loader)
leave it
I gave up, the device keep booting |
Re: Introducing ubiboot N9 (multiboot OS loader)
sure. no need in ubiboot, if you can't just install it, set up and use ;)
|
Re: Introducing ubiboot N9 (multiboot OS loader)
but I can sure all step is no wrong and no error..
|
Re: Introducing ubiboot N9 (multiboot OS loader)
attaching serial cable to console rx tx pins will ofcourse tell you whats wrong, but thats beyond that most people are willing to do.
|
Re: Introducing ubiboot N9 (multiboot OS loader)
Just tested this with one of my N950's. but unfortunately that one had ecc memory errors even on mtd5, so no way to make a volume for it.
Would be great to see initramfs or mmcblk version someday. |
Re: Introducing ubiboot N9 (multiboot OS loader)
Cool Thing. After a mtd-5 update I'm able to boot NITDROID with zImage.pr13 and Harmattan with zImage.pr13 and standard openmode Kernel.
I copied both kernels inside /mnt/boot (Without Harmattan or Nemo Folders). and modiefied /etc/boot.conf to point to my kernels inside /boot. Is it a bad idea ? Maybe anybody can give me a tip for Tripleboot (Harmattan, Nitdroid, Nemo) ? Has anybody of you have a running tripleboot with the UBIBoot ? THX guys... |
Can you post out your boot.conf file?
|
Re: Introducing ubiboot N9 (multiboot OS loader)
Code:
# Original version is based on the MOSLO kernel & boot OS. |
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
I will fix that in instructions... |
All times are GMT. The time now is 03:51. |
vBulletin® Version 3.8.8