Reply
Thread Tools
explit's Avatar
Posts: 592 | Thanked: 1,603 times | Joined on Apr 2010 @ Berlin / Germany
#281
Hello Juiceme,

I have a question, if it would be possible to switch between Harmattan PR1.3 OpenMode-Kernel and Stock Nokia PR1.3 Kernel. Would it be possible ?
I want to switch between Stock and OpenMode because OpenMode has Problems with creating SIP Accounts. Do you know where i can get a stock Nokia PR1.3 Kernel?

Or how i can extract a kernel file from Fiasco Image ?

N900 Fremantle Flasher has a option --unpack, but it don't work with harmattan fiasco images.... Or I don't know how to do it...

THX
 
Community Council | Posts: 4,920 | Thanked: 12,867 times | Joined on May 2012 @ Southerrn Finland
#282
Originally Posted by explit View Post
Hello Juiceme,

I have a question, if it would be possible to switch between Harmattan PR1.3 OpenMode-Kernel and Stock Nokia PR1.3 Kernel. Would it be possible ?
I want to switch between Stock and OpenMode because OpenMode has Problems with creating SIP Accounts. Do you know where i can get a stock Nokia PR1.3 Kernel?

Or how i can extract a kernel file from Fiasco Image ?

N900 Fremantle Flasher has a option --unpack, but it don't work with harmattan fiasco images.... Or I don't know how to do it...

THX
Hi!

You should be able to unpack the firmware image with 0xFFFF, however I could not do that, it just complained about "Next valid header not found"

However, I remembered that the previous version of the Nokia flasher, the version 3.5 still has the "-u" optin available, and it seems to work on Harmattan images too.

So,do "flasher-3.5 -u -F firmware.bin" and you will get a laod of images out. Among all the files is the zImage file:
Code:
juice@puuma:~/n9_stuff$
juice@puuma:~/n9_stuff$ ls -l zImage 
-rw-r--r-- 1 juice juice 2779776 2013-05-07 00:31 zImage
However, I'd like to get your help too on debugging the reason the L2fixed image does not work with SIP when booted with kexec().
 

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
#283
Originally Posted by juiceme View Post
Hi!

You should be able to unpack the firmware image with 0xFFFF, however I could not do that, it just complained about "Next valid header not found"

However, I remembered that the previous version of the Nokia flasher, the version 3.5 still has the "-u" optin available, and it seems to work on Harmattan images too.

So,do "flasher-3.5 -u -F firmware.bin" and you will get a laod of images out. Among all the files is the zImage file:
Code:
juice@puuma:~/n9_stuff$
juice@puuma:~/n9_stuff$ ls -l zImage 
-rw-r--r-- 1 juice juice 2779776 2013-05-07 00:31 zImage
However, I'd like to get your help too on debugging the reason the L2fixed image does not work with SIP when booted with kexec().
Thank you, juiceme.

I tryed alredy with Fremantle Flasher, it finds all parts of the fiasco image (also the kernel zImage), but it gives an error an the end "Wrong size of the image" and don't unpack the files....

Of course i try to help you with the sip accounts problem, but i think, it is not ubiboot-problem, it's openmode problem. (I have 2 AVM FritzBox Routers with SIP ability). N900: No problem. N9 closed mode: No problem. N9 OpenMode: No connection to sip.
 
peterleinchen's Avatar
Posts: 4,118 | Thanked: 8,901 times | Joined on Aug 2010 @ Ruhrgebiet, Germany
#284
@explit
The way juiceme described how to get the kernel is exactly what I have done earlier. So I am sure it works. Maybe your firmware file is corrupted (during download)? Do not know the command by heart, but something as above.

About SIP problem: I am struggling with this since the beginning.
And now I am sure it is kexec causing this. Not openmode itsellf (what I thought before, too). I flashed the open mode kernel and all problems were gone. Back to ubiboot no SIP with open mode.

And yes you may switch between stock and open mode kernel. Just make sure you create your first account under open mode.

--
Oh. And could you give us your hardware revision, please?
Code:
hal-device | grep hardware
--
And another Oh @juiceme
Originally Posted by juiceme View Post
However, I'd like to get your help too on debugging the reason the L2fixed image does not work with SIP when booted with kexec().
It is not only the L2fixed kernel, but any open mode kernel has this problem when started via kexec.
__________________
SIM-Switcher, automated SIM switching with a Double (Dual) SIM adapter
--
Thank you all for voting me into the Community Council 2014-2016!

Please consider your membership / supporting Maemo e.V. and help to spread this by following/copying this link to your TMO signature:
[MC eV] Maemo Community eV membership application, http://talk.maemo.org/showthread.php?t=94257

editsignature, http://talk.maemo.org/profile.php?do=editsignature

Last edited by peterleinchen; 2013-05-06 at 22:47.
 

The Following User Says Thank You to peterleinchen For This Useful Post:
Posts: 65 | Thanked: 18 times | Joined on Mar 2013 @ Serbia
#285
http://en.wikipedia.org/wiki/File:U-...freerunner.jpg

Is this possible on our N9??? with power off & reboot commands???
 
Community Council | Posts: 4,920 | Thanked: 12,867 times | Joined on May 2012 @ Southerrn Finland
#286
Originally Posted by dex87 View Post
http://en.wikipedia.org/wiki/File:U-...freerunner.jpg

Is this possible on our N9??? with power off & reboot commands???
Yes, you could add power off & reboot commands to ubiboot, that's no problem.

Also, it's possible to port u-boot to N9, that would not be a big problem altough ubiboot is more versatile than u-boot.
 
Community Council | Posts: 4,920 | Thanked: 12,867 times | Joined on May 2012 @ Southerrn Finland
#287
Originally Posted by explit View Post
I tryed alredy with Fremantle Flasher, it finds all parts of the fiasco image (also the kernel zImage), but it gives an error an the end "Wrong size of the image" and don't unpack the files....
Get the image I extracted from here:
http://www.swagman.org/juice/zImage_...13_nokiasigned
(md5sum = 1c080ed7d8cb3341e1610939838ea5d4)
 

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
#288
Originally Posted by juiceme View Post
Get the image I extracted from here:
http://www.swagman.org/juice/zImage_...13_nokiasigned
(md5sum = 1c080ed7d8cb3341e1610939838ea5d4)
Thank you, juiceme, i not seen your answer. Will try it now.

How did You did it (extract the kernel) ?
 
Community Council | Posts: 4,920 | Thanked: 12,867 times | Joined on May 2012 @ Southerrn Finland
#289
Originally Posted by explit View Post
Thank you, juiceme, i not seen your answer. Will try it now.

How did You did it (extract the kernel) ?
I spliced it off the PR1.3 firmware image (DFL61_HARMATTAN_40.2012.21-3_PR_LEGACY_001-OEM1-958_ARM.bin, actually) with the Maemo version of flasher, which understands the --unpack flag.

Nokia seems to have removed that option (propably as a security-by-obscurity-measures reason) from the Harmattan version of the flasher utility, but fortunately the older flasher understands the Harmattan FIASCO images too
 

The Following User Says Thank You to juiceme For This Useful Post:
explit's Avatar
Posts: 592 | Thanked: 1,603 times | Joined on Apr 2010 @ Berlin / Germany
#290
Originally Posted by juiceme View Post
I spliced it off the PR1.3 firmware image (DFL61_HARMATTAN_40.2012.21-3_PR_LEGACY_001-OEM1-958_ARM.bin, actually) with the Maemo version of flasher, which understands the --unpack flag.

Nokia seems to have removed that option (propably as a security-by-obscurity-measures reason) from the Harmattan version of the flasher utility, but fortunately the older flasher understands the Harmattan FIASCO images too
Now i know, what my problem was:
I renamed the DFL61_HARMATTAN_40.2012.21-3_PR_LEGACY_001-OEM1-958_ARM.bin to firmware.bin and got File size mismatch with Fremantle flasher...

Thanks
 
Reply


 
Forum Jump


All times are GMT. The time now is 11:41.