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)

Lucazz990 2014-01-02 21:33

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

Originally Posted by juiceme (Post 1403005)
That is also OK, it forks with any openmode kernel, but the important thing to do is to first flash it fully Closed Mode and then flash to Open Mode, without letting the device boot between the flashings.

If you do it that way, your device aegis keys will be created for Open Mode and everything will work much better.

Sometimes I have the same boot problem and now I know why :)
Do you think the same problem affects also backups? For example restore in open mode from a backup done in closed mode? :eek:

peterleinchen 2014-01-02 21:42

Re: Introducing ubiboot N9 (multiboot OS loader)
 
Yep, for sure ...

Zvjer 2014-01-02 21:45

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

Originally Posted by juiceme (Post 1402954)
@cthorell, @fejd,

I consulted @rainisto on this and he suspects that the reason for the MTD partitioning being incorrect on your devices might be an upgrade gone wrong.

At some point the MTD partitioning scheme was changed, and when devices were upgraded to next PR level the MTD should have been partitioned accordingly but if there was some problem then the old partition layout could have been preserved on the devices.

It is worth rtying to reflash the device clean back to Closed Mode with --no-preserve flag added on the command line, this should repartition both MTD and EMMC and fix the problem.

I have tried this and I, again, have 8MB partition like the other guys. So even after flashing with --no-preserve !

My phone is RM-696 rev. 1507 (16GB black model)
Can you guys confirm you solved the "small partition" issue and how exactly?

BTW I can tether-boot Sailfish with this command in Linux:
flasher -k zImage_2.6.32.54-ubiboot-02_301013 -l -b

juiceme 2014-01-02 22:12

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

Originally Posted by Lucazz990 (Post 1403196)
Sometimes I have the same boot problem and now I know why :)
Do you think the same problem affects also backups? For example restore in open mode from a backup done in closed mode? :eek:

Yes, it will affect that. If you have a backup taken when you have entered Open Mode accidentally or not correctly and you take a backup of that, restoring that backup later will re-introduce the problems... :p

juiceme 2014-01-02 22:19

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

Originally Posted by Zvjer (Post 1403203)
I have tried this and I, again, have 8MB partition like the other guys. So even after flashing with --no-preserve !

My phone is RM-696 rev. 1507 (16GB black model)
Can you guys confirm you solved the "small partition" issue and how exactly?

If flashing with "--no-preserve" does not cure it, then it is very problematic :(


Quote:

Originally Posted by Zvjer (Post 1403203)
BTW I can tether-boot Sailfish with this command in Linux:
flasher -k zImage_2.6.32.54-ubiboot-02_301013 -l -b

Yes, that will work as when you load it up with flasher in startup mode it never needs to be flashed to MTD2, and it will work correctly.

Now what I am thinking, it would be possible to make a tiny-version of ubiboot, with reduced maintanance mode (for example, no ssh, only telnet access) and if I strip it down enough it will fit onto 8M partition...

coderus 2014-01-02 22:20

Re: Introducing ubiboot N9 (multiboot OS loader)
 
@juiceme did you tried just starting bme in maintenance mode? it should start charging :) with bmestat you can try to check it.

juiceme 2014-01-02 22:26

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

Originally Posted by coderus (Post 1403213)
@juiceme did you tried just starting bme in maintenance mode? it should start charging :) with bmestat you can try to check it.

I have tried it, but it does not work like that, it needs a lot of other stuff around unfortunately.

Loading up the BME module is not enough, it needs the DSME server also. However, that is not enough to work, it needs the DBUS framework and some additional crap around to work also... :mad:

Zvjer 2014-01-02 22:31

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

Originally Posted by juiceme (Post 1403211)
Now what I am thinking, it would be possible to make a tiny-version of ubiboot, with reduced maintanance mode (for example, no ssh, only telnet access) and if I strip it down enough it will fit onto 8M partition...

Do you have time to try stripping it now? I have tried several images so far, and ended up moslo telling me he is unable to repartition and that I may be in trouble :) I'll try reflashing again but this time with erase option which takes time, but should be better for the phone.

Which image do you recommend flashing, anyway?

Ta76eem 2014-01-03 07:43

Re: Introducing ubiboot N9 (multiboot OS loader)
 
I have Ubiboot-sailfish installed should I flash Ubiboot-02 kernel normally
or I need to delete the current one first ?

juiceme 2014-01-03 10:23

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

Originally Posted by Ta76eem (Post 1403272)
I have Ubiboot-sailfish installed should I flash Ubiboot-02 kernel normally
or I need to delete the current one first ?

It depends what you want to do? Do you want to update to using the normal (6 bootable-OS version) of ubiboot from your current sailfish-only ubiboot?

In that case, you need not flash the ubiboot kernel, since the kernel is same on both versions. Instead, you need to replace your ubiboot-02.035_SF_v1.cpio with the CPIO file for normal ubiboot, and also edit your ubiboot.conf accordingly.


All times are GMT. The time now is 16:43.

vBulletin® Version 3.8.8