![]() |
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
This archive has the modules and the kernel to be flashed like a regular kernel to boot SailfishOS directly from mmcblk0p4 (No uboboot required for this now...) http://www.swagman.org/juice/SFOS_boot_for_p4.tar Before using, untar the modules under /lib/modules/2.6.32.54 of your sailfish partition. Then, flash the kernel with "sudo flasher -a firmware.bin -k zImage_2.6.32-54_boot4 --flash-only=kernel -f -R" Have fun :D |
Hi.
I can't wait to test it! I think I'll get back home early tomorrow just to try it. Hopefully the only problem left will be to repartition to use the whole 16GB of disk space. Thank you again and I'll report as soon as I test it. Regards. |
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
If you get that working, it's no big deal to now make a kernel that boots SFOS from any partition you'd like, as I have the patched kernel tree done. You can partition your device however you like, for example everything as one partition :D |
Re: Introducing ubiboot N9 (multiboot OS loader)
Hi.
Unfortunately this didn't work either... :confused: I tried with&without RR mode enabled. I think I'll 'take a look' inside. I'll buy a pair of screwdrivers to see if something is wrong.... I'll keep you informed. Regards. |
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
Did it just hang, or did it reboot? If you have your SaifishOS FS image correctly extracted to your mmcblk0p4 and if you correctly untarred the kernel modules also there, it sure has to work. In fact I cannot see how it is possible for it not to work. If you can boot with ubiboot, then there is absolutely no way why you should not boot with SailfishOS. It just has to work. Now, I have to believe you have something wrong with your Sailfish installation, there is nothing else that can go wrong now, sorry. |
Re: Introducing ubiboot N9 (multiboot OS loader)
Hi.
All I can say is that it just hungs up. I have to press the power button for 8 seconds to reboot it. I think I'll start from scratch and also tear it apart .... Thank you for your patience. Regards. |
Re: Introducing ubiboot N9 (multiboot OS loader)
It works fine. Thank you!
Quote:
|
Re: Introducing ubiboot N9 (multiboot OS loader)
https://db.tt/IA08mHNr
You can download the file from this URL. Quote:
|
Re: Introducing ubiboot N9 (multiboot OS loader)
Hi.
O.K, I'm back :) After giving up for one day, I decided today to try and install nitdroid, following Coderus instructions from almost 2 years ago..... and it worked. This is allowing me to check that WiFi, audio, tactile screen, charging, etc. are working fine. I think I'll tinker a bit more with it (I don't like Android , that's why I'm in this forum ;) ) ,and try to install Sailfish again later. I'll keep you updated of my progress. Regards. |
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
Did you set Nitdroid up with ubiboot or sillyboot? (why I am asking, is because if you used ubiboot then you should be able to boot Sailfish also with it...) |
Re: Introducing ubiboot N9 (multiboot OS loader)
Hi.
Well, I did it with sillyboot. I've seen it has two files, and one of them is a binary file so that I'll take a look at the preinit file to see if I can find out something. Indeed, I untarred the sailfish image in the same place as the nitdroid to see if if worked, but it didn't..... Regards. |
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
(not even very close relatives...)
|
Re: Introducing ubiboot N9 (multiboot OS loader)
Hi.
Provided that I'm stuck.... I was wondering: What if I rewrite all the /dev/mtd* of the broken device with fresh data from my working device?. I can't stop thinking there must be something root with those partitions. The flasher even tells me that going from 40.2012.21-3.454.6 (Vietnam with preinstalled apps)to 40.2012.21-3.480.1 (Switzerland country variant) is a downgrade! Regards. |
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
Second, it is almost impossible to do; to be able to have write access to some of those areas you need to be in Closed Mode as they are locked in Open Mode. However, in Closed Mode you cannot do it as Aegis will block you for lack of credentials. (You might be able to break something permanently with Inception, though, if you really tried....) I still think the best option is to use ubiboot, you should be able to boot Sailfish that way, there has to be something wrong with your SailfishOS installation. |
Re: Introducing ubiboot N9 (multiboot OS loader)
Hi.
Sure, there has to be something wrong. However, I tried all the Sailfish images recommended in the Maemo Wiki, and I'm always using the specific Ubiboot version ONLY for Sailfish. I can almost do all the processes with my eyes closed, Ubiboot starts fine, etc. but the next step nothing happens...... What the heck!. I'll give it another try this weekend, the device is not working already! Regards. |
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
Now there does exist some things you could do, I presume you have not yet tried to boot the device with serial console connected, that'd give you the clue why it is borking...? ---------- edit ---------- See the pinout of N9 serial connector here: http://talk.maemo.org/showpost.php?p...2&postcount=93 |
Re: Introducing ubiboot N9 (multiboot OS loader)
Hi.
Do you mean I can watch the boot messages in the screen of the device, or should I connect a serial console to the SIM slot ? About the specially krafted kernel, just the same... Regards. |
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
You need to connect a rs232-levelshigter/USB adapter to the simslot pins, to just watch the messages it is enough to connect to the TxD and GND pins which are nearest to the edge. It is fairly easy just to hold a 2-pin connector pingead there by hand, not needing an adapter even if you just want a quick look what happens there. |
Re: Introducing ubiboot N9 (multiboot OS loader)
Hi.
I ordered one of these level changers to see the console boot messages. In the meantime I flashed nitdroid ... I`ll post again when I get the logs. Thank you. Regards. |
Re: Introducing ubiboot N9 (multiboot OS loader)
Hi
Can some one explain me how to copy paste the X-terminal output from nokia N900/N9 in the forum. Observed couple of codes are written in square box in many posts and reply's. Also how to display or project the N900/N9 terminal in to the PC screen. Please help me. This thread is most active one.. so posted here. sorry for inconvinence. |
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
http://everythingn9.com/how-to-use-p...-the-nokia-n9/ |
Re: Introducing ubiboot N9 (multiboot OS loader)
the first one is quite easy! just copy stuff from the terminal to the forum post page and wrap around the CODE tags...
second on you can achieve by using ssh to connect to your N9 look here |
Re: Introducing ubiboot N9 (multiboot OS loader)
hi @juiceme bro
i want to install latest kernel [linux_2.6.32.61-plus-20131128.tar] with ubiboot. need some help 1.''add the kernel filename to ubiboot.conf'' now should i replace 'zImage_2.6.32.54-openmode_l2fix' with 'zImage_2.6.32.61-plus_20131128' in ubiboot.conf file? 2.''Gone are the days of flashing kernels!'' original kernel+ this one ? asking bcoz in kernel thread it is explained for advanced users. |
Just add a new line with label and path to kernel and you are done
|
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
You can put the new kernel you want to on any of the lines. Remember that you have the setting "G_OS2_NUM=..." also there, that tells ubiboot how many lines to show on the device screen. Quote:
# The second OS is usually Harmattan. And again, of course remember to set up the modules before booting, or else you will fail to boot the new kernel (but of course this will not affect your old kernel, you can always boot with that if you fail to boot the new one...) |
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
I received the rs232 adapter. I'v been able to partially get the bootlog messages from the serial console. There's an error message trying to write nand :confused: and something about CAL... Can anyone decypher what this messages mean?. Do I have a hardware problem? Here's the bootlog, keep in mind it is partial (it is not easy to keep the cables connected to the pins inside the SIM tray. :) Code:
preinit: /var is still in rootfs. No changes |
Re: Introducing ubiboot N9 (multiboot OS loader)
Hi.
I finally got a complete sequence (ubiboot + Harmattan). The problem mentioned before no longer appears, but the device is stuck in the last message... :confused: I think I need to sleep ;) EDIT: I had to remove the ubibbot part because the post was too long. I'll try to repeat the process tomorrow. Regards. Code:
[ 19.917358] Starting new kernel |
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
Now, it is odd if your kernel output stops just like that, so that there's no panic message. It should continue with something like this, like the green part in the log below. (taken from one of my devices) aegis start/running Now, the thing that should follow the point where your device hangs is the timeout of the OMAP i2c bus 2 controller, followed by initialization of the RGB-LED driver lp5521. One way forward would be now to check from kernel sources what's happening at that point in initialization, maybe add some more debug and try again, to see if the exact hangpoint can be found. One another thing, BTW. There is the kernel command line on the log, on the 13th row. Did you cut off the rest of the line or is it in reality so short? In your log it is just [ 0.000000] Kernel command line: init=/sbin/preinit_harmattan root=/dev/mmcblk0p2 rootwait rootflags=errors=remount-ro rootfstype=ext4 8 It should in reality be something like this: [ 0.000000] Kernel command line: init=/sbin/preinit_harmattan root=/dev/mmcblk0p2 rootwait rootflags=errors=remount-ro rootfstype=ext4 rw mtdoops.mtddev=log mtdoops.record_size=65536 console=ttyS0,115200n8 mtdparts=omap2-onenand:1024k(bootloader),2816k@1024k(config),1638 4k@3840k(kernel),2048k@20224k(log),469248k@22272k( var),32768k@491520k(moslo) bootreason=32wd_to bootmode=normal nolo=2.3.6 product_name=RM-696 dbi-type=V5JW dbi-vendor=1 dbi-size=73 dbi-uid=01314A4D4A0025414314 imei=357923042386401 g_nokia.iSerialNumber=357923042386401 serialnumber=CON727735 omap_sec.kci=958 gpio=cmt_apeslpx:93:sysfs:output,cmt_en:23:sysfs:i nit_active:output,cmt_rst_rq:88:sysfs:init_active: output,sleep_ind:92:sysfs:output omapdss.def_disp_enabled=0 vhash=285e93eebfdded180a3ffdf0a42c0d09b0d8ce8a product_model=N9 hwid=1603 |
Re: Introducing ubiboot N9 (multiboot OS loader)
One thing I forgot to ask; If I recall correctly you also had trouble booting Sailfish via ubiboot, right?
So could you also please try to get same kind of boot log out of that, since the kernels are fairly different; it might be that looking at that log also will yield more insight into the problem... :) |
Re: Introducing ubiboot N9 (multiboot OS loader)
1 Attachment(s)
Hi.
I also thought about it :) Here you go. This looks similar (in the sense that stops at one point with no kernel panic...) I'll check the ubiboot kernel command lines to see if there's something wrong. Regards. |
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
Does the screen still show nothing when you boot to SailfishOS? What about if you connect the USB cable to a computer, does it make any difference? What gets recognized in the PC side when you try that? |
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
The kernel image is here: http://www.swagman.org/juice/debug_f...32_l2fix_debug (md5sum=6218bd1c976d66bed03044f5ee19d0c6) Modules to go are here: http://www.swagman.org/juice/debug_f...fl61_debug.tar (md5sum=302dce1c409ac3200c2ce3d45c702863) You need to untar the modules under your Harmattan /lib/modules, but there's no need to depmod them, I already built the dependencies. Then, boot up the kernel with ubiboot and check with serial console what it looks like. |
Re: Introducing ubiboot N9 (multiboot OS loader)
Hi.
After a few more tests and a lot of time spent, I decided to sell the thing for parts. I ran out of time &patience.... Should someone be interested, you can see the auction here: http://m.ebay.es/itm/291147632821?nav=SEARCH I`m sorry but I can`t test the new kernel Juiceme has just posted. Thankyou specially to Juiceme for his brilliant support, I didn`t expect to learn & hack as much as I did with his help. Regards. |
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
Too bad, I hope you'll be getting a Jolla or a Neo900 as a replacement device :D |
Re: Introducing ubiboot N9 (multiboot OS loader)
Hi.
Sure, the only restriction will be: WP , IOS or Android are excluded. Sincerely, thank you for your help.. Regards. |
Blank screen, only android booting
3 Attachment(s)
Hi!
I proudly changed my system (preinits, ubiboot files) from the preconfigured Harmattan/Sailfish dual-boot to real ubiboot-multiboot. I did not reflash my device! Harmattan works perfectly like before, Nitdroid boots also. Sailfish used to work greatly in previous configuration, but now suffers missing a port of the screen, 2cm to the right, leaving a black margin. Moreover, it is unusably lagging responsive now, and screen does not turn off. Kernel is the same i used previously! See also appended picture. I just realized that Harmattan shows a black screen only after boot, but it worked the first time after performing the modifications. I noticed once after starting ubiboot in maintenance mode and booting into Harmattan, it switched of regularly, i.e. the front light on for some seconds. kindly check my log, dmesg and ini files! I was also wondering how to access the kernel loading location from ubiboot maintenance mode. There is rootfs/boot holding my Harmattan and Nitdroid kernel. However, the ubiboot.conf points to a different location?! Thank you VERY MUCH for going to help! |
Re: Introducing ubiboot N9 (multiboot OS loader)
you should use ubiboot for sailfishos or copy config values from nemo to sailfishos entries
vram=6m omapfb.vram=0:6M |
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
Spasiba!!! |
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
Finally I bought a used N9 in good condition. As soon as I have some spare time I'll be back again! Regards. |
Re: Introducing ubiboot N9 (multiboot OS loader)
Still dudnt get to make that serial adapter :)
But, now at least I have the soldering iron hehe. And, somewhere, the USB-RS232 adapter. Would also love to see if it really is impossible to get that USB console up - I got some parts for that, which I hope would work. They should, they are from mainland China LOL |
All times are GMT. The time now is 07:20. |
vBulletin® Version 3.8.8