maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   Multiboot Kernel Power issue (https://talk.maemo.org/showthread.php?t=77989)

tusharpatel123 2011-09-28 12:19

Multiboot Kernel Power issue
 
I have Multiboot kernel power and am using NITDROID with MAEMO.
The multiboot Countdown Timer never times out ( ZERO) rather the phone turns off as soon as the timer reaches Seven.

I tried reinstalling the Kernel, modules, multiboot but didn't help.

Please Help

Fabry 2011-09-28 12:30

Re: Multiboot Kernel Power issue
 
It seems that a WatchDog timer is expired.

Matan's u-boot has a watchdog management but it seems that on your phone is not working.

Which HW version you have ?

You can see with cat /proc/cpuinfo from a xterm console.

Matan's u-boot is 100% compatible only with rev 2101

You can try the more recent Pali's u-boot version : http://talk.maemo.org/showpost.php?p...7&postcount=58
But unfortunately it seems that it is for rev 2101 also

tusharpatel123 2011-09-28 13:02

Re: Multiboot Kernel Power issue
 
My HW Version is 2204. I just purchased this handset in Feb, 2011

Also before replacing the Power kernel boot file with the one you provided i had this issue. I could never Timeout.
I tried to Reinstall the Multiboot Kernel, Modules but no help
Also reinstalled the Power Kernel 48 but no help.

http://talk.maemo.org/showthread.php...ri-boot&page=4

Fabry 2011-09-28 14:48

Re: Multiboot Kernel Power issue
 
Ops I misread you talk about countdown on multiboot menu and not countdown on u-boot menu.

N900 has some hardware watchdog.
If software not reset some Hw register every x seconds, N900 will be rebooted (or powered off).
This prevents software stalls, if Maemo hangs then it stops to reset the watchdog register and so watchdog will reboot N900 to exit the blocked state.

Watchdog timers are near 30 sec.

Multiboot during boot process loads a watchdog handler to avoid watchdog reboots, but in your phone this process seems to fail.

tusharpatel123 2011-09-28 14:52

Re: Multiboot Kernel Power issue
 
Any suggestions or reinstalls i need to do? Becuase i any how want to run Meego on my handset along with the existing NITDROID

As i informed i just bought it in Feb, 2011 hence not much time i could enjoy it. so would like to have different OS keeping my phone more alive.

Fabry 2011-09-28 15:05

Re: Multiboot Kernel Power issue
 
Why do you wait that countdown reaches zero ?

tusharpatel123 2011-09-28 15:10

Re: Multiboot Kernel Power issue
 
I replaced the kernel 48 with the uboot prebuild you provided in the below thread

http://talk.maemo.org/showthread.php?t=57551&page=4

To enter the U Boot i need to Restart under Power Kernel 48 and keep my keyboard open and wait unitll timer is out, right?

michaaa62 2011-09-28 15:44

Re: Multiboot Kernel Power issue
 
Just type the single digit number in Front of the multiboot entry probably called:
"Maemo kernel-power 2.6.28.10-power48"

tusharpatel123 2011-09-28 15:54

Re: Multiboot Kernel Power issue
 
that will boot maemo with kernel 48.
i have added the uboot to kernel 48. and as per fabry i need not select maemo kernel power 2.6.28.10 power48 but rather wait for it to load by default since i restarted under it

michaaa62 2011-09-28 16:11

Re: Multiboot Kernel Power issue
 
Quote:

i need not select maemo kernel power 2.6.28.10 power48 but rather wait for it to load
Then you should simply start with the keyboard not visible.

tusharpatel123 2011-09-28 16:55

Re: Multiboot Kernel Power issue
 
Tried that but didn't work. May be something i haven't understood?

Below thread from Fabry for Tri-boot.

http://talk.maemo.org/showthread.php?t=57551&page=3

michaaa62 2011-09-28 17:13

Re: Multiboot Kernel Power issue
 
Did you boot the stock nokia maemo kernel in-between to get the uboot-kernel-power to actually start uboot? Or did you go to Android?
You have to boot another kernel to enable multiboot to reflash the uboot kernel.

tusharpatel123 2011-09-28 17:25

Re: Multiboot Kernel Power issue
 
To make things clear i'll go step by step. I first downloaded the prebuild file ( zImage-power48-ubootMod.7z) sent to me by fabry and saved it in the /boot/Multiboot and renamed it to "vmlinuz-2.6.28.10-power48) then i restarted the system back in Maemo Original Kernel.
Again Restarted and this time booted in "Maemo kernel-power 2.6.28.10-power48" then again restarted the phone and just kept the Key board open but the timer never timed out and phone turns off on timer reaching 7.

michaaa62 2011-09-28 17:39

Re: Multiboot Kernel Power issue
 
You did not mention Meego, is it installed? I ask, because with open keyboard all the way you should boot Meego, not maemo. To boot maemo you should power on with keyboard in, then slide it out when 'kernel loading' is displayed. The auto-boot of maemo with power kernel will only work on keyboard all the way in!

tusharpatel123 2011-09-28 17:43

Re: Multiboot Kernel Power issue
 
To start from Scratch i have reinstalled the kernel Power and Kernel Power Flasher.

Now in my /Boot/Multiboot i have below files

.Multiboot.item
.multiboot.log
.multiboot.log.1
.multiboot.log.2
.multiboot.log.3
.multiboot.log.4
.multiboot.log.5
.multiboot.log.6
vmlinuz-2.6.28-omap1
vmlinuz-2.6.28.NIT.06
vmlinuz-2.6.28.NIT.07
zImage-2.6.28.10-power48.fiasco

Since i have upgraded the Kernel for android the "vmlinuz-2.6.28.NIT.06" is not more bootable

Now what should i do with the file from Fabry.

tusharpatel123 2011-09-28 17:45

Re: Multiboot Kernel Power issue
 
Quote:

Originally Posted by michaaa62 (Post 1098319)
You did not mention Meego, is it installed? I ask, because with open keyboard all the way you should boot Meego, not maemo. To boot maemo you should power on with keyboard in, then slide it out when 'kernel loading' is displayed. The auto-boot of maemo with power kernel will only work on keyboard all the way in!

Nop the Meego is yet not installed i was going as per Fabry's step and hence had to reflash kernel and so will activate/install u-boot

michaaa62 2011-09-28 18:09

Re: Multiboot Kernel Power issue
 
Start the power kernel from the multiboot menu, if that fails you have to boot into maemo kernel and set up the /etc/multiboot.d/ item and copy your uboot custom kernel to /boot/multiboot and rename it according to the multiboot standard

tusharpatel123 2011-09-28 18:23

Re: Multiboot Kernel Power issue
 
So you mean i first copy the custom kernel file "zImage-power48-ubootMod.7z" to /boot/multiboot folder and delete the existing kernel boot image "zImage-2.6.28.10-power48.fiasco" and rename the custom kernel file to vmlinuz-2.6.28.10-power48 and then boot to power kernel, right?

michaaa62 2011-09-28 18:44

Re: Multiboot Kernel Power issue
 
Nope!
Please make sure what you got from Fabry. Ask him or figure it out yourself.
My guess is: Unpack the 7z archive, copy the resulting file to /boot/multiboot and rename it vmlinuz-2.6.28.10-power48, create a file or copy your existing kernel-power item in /etc/multiboot.d, this file could be called 01-Maemo-kernel-power-2.6.28.10-power48.item containing the following
Code:

ITEM_NAME="Maemo kernel-power 2.6.28.10-power48"
ITEM_KERNEL="2.6.28.10-power48"
ITEM_MODULES="ext3"

Then flash the kernel from your PC, i guess you know how to make the device ready for flashing.
Code:

flasher-3.5 -f -k zImage-power48-ubootMod -R

tusharpatel123 2011-09-28 19:06

Re: Multiboot Kernel Power issue
 
Quote:

Originally Posted by michaaa62 (Post 1098404)
Nope!
Please make sure what you got from Fabry. Ask him or figure it out yourself.
My guess is: Unpack the 7z archive, copy the resulting file to /boot/multiboot and rename it vmlinuz-2.6.28.10-power48, create a file or copy your existing kernel-power item in /etc/multiboot.d, this file could be called 01-Maemo-kernel-power-2.6.28.10-power48.item containing the following
Code:

ITEM_NAME="Maemo kernel-power 2.6.28.10-power48"
ITEM_KERNEL="2.6.28.10-power48"
ITEM_MODULES="ext3"

Then flash the kernel from your PC, i guess you know how to make the device ready for flashing.
Code:

flasher-3.5 -f -k zImage-power48-ubootMod -R

Thanks . got you. I have extracted the file and copied it to MULTIBOOT Folder and renamed it.
now i am in the /etc/miltiboot.d and i already have 01-Maemo-kernel-power-2.6.28.10-power48.item which i think executes the zImage-2.6.28.10-power48.fiasco ( Existing Image file for Power Kernel 48)do i need to make another copy of the item file or leave this item file as it is and just remove the "zImage-2.6.28.10-power48.fiasco"

I am not a programmer at all hence doing things as per the guidance provided by people like you and trying to understand on what ever i do.

michaaa62 2011-09-28 19:49

Re: Multiboot Kernel Power issue
 
The .fiasco files are mend to be used by the flasher utility from your PC, not from the N900 itself.
Is the extracted file an fiasco image? Then you would have to apply changes to it according to Fabry's link in his post or is it a plain zimage which already has uboot applied to? Multiboot is only able to flash kernel images in vmlinuz/zImage style, not fiasco images.

Fabry 2011-09-29 00:06

Re: Multiboot Kernel Power issue
 
Nope the supplied file (a 7-zip archive) contains a file named "zImage-power48-ubootMod"
This is a zImage file ready to flash if it will be renamed as vmlinuz-2.6.28.10-power48

My file is only zImage Power Kernel v48 + u-boot (Matan's version) modded to search boot.scr on mmc's first partition instead of third partition.

This kernel image was created before Pali released his version which is better because it uses newer version of u-boot:

Here the Pali's U-Boot zImage (with power kernel v48) : http://atrey.karlin.mff.cuni.cz/~pali/u-boot+kp48.bin

tusharpatel123 2011-09-30 18:53

Re: Multiboot Kernel Power issue
 
Understood. I have downloaded the Pali's u-boot+kp48.bin and will give a try on flashing it using a PC. am going through the other threads guiding on how to flash this .bin file. If any issues i'll again seek your help.

just wanted to confirm before i could proceed. After flashing this kernel I'll have the original Maemo Kernel ( Default), Kernel Power 48 ( with U-Boot ), and my NITdroid, right?

Is there a particular way i need to flash to achiveve the above possibility

Fabry 2011-10-03 10:28

Re: Multiboot Kernel Power issue
 
Quote:

Originally Posted by tusharpatel123 (Post 1099833)
Understood. I have downloaded the Pali's u-boot+kp48.bin and will give a try on flashing it using a PC. am going through the other threads guiding on how to flash this .bin file. If any issues i'll again seek your help.

It has been found out a power consumption problem with Pali's U-Boot

See latest messages on this thread : http://talk.maemo.org/showthread.php?t=62146&page=10

tusharpatel123 2011-10-04 07:21

Re: Multiboot Kernel Power issue
 
Quote:

Originally Posted by Fabry (Post 1101728)
It has been found out a power consumption problem with Pali's U-Boot

See latest messages on this thread : http://talk.maemo.org/showthread.php?t=62146&page=10

This means i should stick with ur process as of now as thats stable right?

tusharpatel123 2011-10-04 20:19

Re: Multiboot Kernel Power issue
 
trying to play with the power kernel my phone could no more boot maemo with power kernel 48
i treid to reinstall the kernel flasher kernel power kernel modules and bootimg but no luck.
lastly i deleted the vmlinuz 2.6.28.10 power 48 from /boot/multiboot and also removed the item file from /etc/multiboot.d

later i tried to first install flasher via apt-get than the power kernel than modules and lastly bootimg but failed to see a entry/addition of .itme file in /multiboot.d and image file in /boot/multiboot

the only change i see after reinstalling the kernel is an zimage-2.6.28.10-power48 in /boot

since there is no item file and an image file i have only 3 option in my multiboot

1 maemo omap1
2 vmlinuz-2.6.28.nit06
3 vmlinuz-2.6.28.nit07

any help please

tusharpatel123 2011-10-04 20:39

Re: Multiboot Kernel Power issue
 
Quote:

Originally Posted by tusharpatel123 (Post 1102751)
trying to play with the power kernel my phone could no more boot maemo with power kernel 48
i treid to reinstall the kernel flasher kernel power kernel modules and bootimg but no luck.
lastly i deleted the vmlinuz 2.6.28.10 power 48 from /boot/multiboot and also removed the item file from /etc/multiboot.d

later i tried to first install flasher via apt-get than the power kernel than modules and lastly bootimg but failed to see a entry/addition of .itme file in /multiboot.d and image file in /boot/multiboot

the only change i see after reinstalling the kernel is an zimage-2.6.28.10-power48 in /boot

since there is no item file and an image file i have only 3 option in my multiboot

1 maemo omap1
2 vmlinuz-2.6.28.nit06
3 vmlinuz-2.6.28.nit07

any help please

just created the power kernel .item file in /etc/multiboot.d and was able to boot in power kernel

thanks

michaaa62 2011-10-04 20:51

Re: Multiboot Kernel Power issue
 
This zimage file is your kernel from the bootimg package.
Copy or move it to /boot/multiboot/ folder and rename it to vmlinuz-2.6.28.10-power48 .
Copy 00-Maemo-2.6.28-omap1.item to 01-Maemo-2.6.28.10-power48.item and edit the item name and the item kernel lines to reflect the kernel-power48.
Code:

sudo gainroot
mv /boot/zImage-2.6.28.10-power48 /boot/mutiboot/vmlinuz-2.6.28.10-power48
cp /etc/multiboot.d/00-Maemo-2.6.28-omap1.item /etc/multiboot.d/01-Maemo-2.6.28.10-power48.item

Use any editor of your choice for me it would be nano
Code:

nano /etc/multiboot.d/01-Maemo-2.6.28.10-power48.item
The content of this file lokks like that:
Quote:

ITEM_NAME="Maemo kernel-power 2.6.28.10-power48"
ITEM_KERNEL="2.6.28.10-power48"
ITEM_MODULES="ext3"
Save it and you are ready to reboot into kernel-power48.

tusharpatel123 2011-10-06 15:57

Re: Multiboot Kernel Power issue
 
Thanks i am able to reboot with Power Kernel 48 now.

After installing the kernel Power (Bootimg) zImage-2.6.28.10-power48 is created in the /boot folder.

I than just created the .item file in the /Multiboot.d folder and it worked, i am able to boot in Power Kernel, but just for your info i tried your above steps where in if i Change the name of zImage file to Vmlinuz the phone doesn't boot in power kernnel.

This means the multiboot tries to find the zImage instead of the Vmlinuz. Any idea why would this be in my case, is this due to some changes in the new Bootimg i reinstalled?

Just to summarise

After creating the .item file for Power Kernel

1) zImage-2.6.28.10-power48 file in /Boot/Multiboot (system boots in power kernel)
2) zImage-2.6.28.10-power48 file in /Boot (system boots in power kernel)
3) zImage-2.6.28.10-power48 file copied to /Boot or /boot/Multiboot and renamed to vmlinuz-2.6.28.10-power48 (system will not boot in power kernel)

tusharpatel123 2011-10-09 08:11

Re: Multiboot Kernel Power issue
 
Stuck with Meego and cant return to Maemo.

Since for power Kernel the .item file is linked with the zImage and not vmlinuz i replaced the file supplied by Fabry and rename it to the zImage-2.6.28.10-power48 and replaced the existing one created by bootimg and on restarting the phone the u-boot started. but later came till Starting Kernel and phone Freezes.

i later inserted the SD card with Meego image on in and restarted the phone and the phone could boot in Meego. but i cant find any way going back to Maemo. I tried the Run noloboot but same stucks at Starting Kernel.

Any suggestion / help.

Quote:

Originally Posted by tusharpatel123 (Post 1104178)
Thanks i am able to reboot with Power Kernel 48 now.

After installing the kernel Power (Bootimg) zImage-2.6.28.10-power48 is created in the /boot folder.

I than just created the .item file in the /Multiboot.d folder and it worked, i am able to boot in Power Kernel, but just for your info i tried your above steps where in if i Change the name of zImage file to Vmlinuz the phone doesn't boot in power kernnel.

This means the multiboot tries to find the zImage instead of the Vmlinuz. Any idea why would this be in my case, is this due to some changes in the new Bootimg i reinstalled?

Just to summarise

After creating the .item file for Power Kernel

1) zImage-2.6.28.10-power48 file in /Boot/Multiboot (system boots in power kernel)
2) zImage-2.6.28.10-power48 file in /Boot (system boots in power kernel)
3) zImage-2.6.28.10-power48 file copied to /Boot or /boot/Multiboot and renamed to vmlinuz-2.6.28.10-power48 (system will not boot in power kernel)


michaaa62 2011-10-09 08:25

Re: Multiboot Kernel Power issue
 
Try to boot into Maemo default kernel and reinstall kernel-power-bootimg. This should not touch multiboot setup.

tusharpatel123 2011-10-09 08:39

Re: Multiboot Kernel Power issue
 
The moment i start the phone it enters the Uboot. i am not able to access Multiboot option.
1) keeping the keyboard close it stucks at Starting Kernel ...
2) keeping the Keyboard open boots the phone in Meego
3) Keeping the keyboard open and interupting the Autoboot and than trying to load power kernel using "RUN NOLOBOOT" it stucks at starting Kernel ...
4) keeping the keyboard close and opening it immediately after it shows " Loading Kernel Image ... OK" ( as informed by fabry in his TRI-BOOT thread) again stuck at starting kernel ...

Quote:

Originally Posted by michaaa62 (Post 1105846)
Try to boot into Maemo default kernel and reinstall kernel-power-bootimg. This should not touch multiboot setup.


Fabry 2011-10-12 01:19

Re: Multiboot Kernel Power issue
 
Probably you have an N900 with HW revision greater than 2101.

My U-Boot is based on Matan's u-boot and this version, as told many times, has problems (i.e. hangs on starting kernel) with phones different from hw rev 2101

You can remove u-boot from your phone by flashing a normal (aka without u-boot) kernel, and only the kernel, with flasher-3.5 tool.

There are many guides which can show you the correct steps to follow

Fabry 2011-10-12 01:33

Re: Multiboot Kernel Power issue
 
Quote:

Originally Posted by tusharpatel123 (Post 1102262)
This means i should stick with ur process as of now as thats stable right?

Yes if your phone is a rev 2101 keep on use my version until Pali will fix problems on his release.

tusharpatel123 2011-10-12 05:31

Re: Multiboot Kernel Power issue
 
Quote:

Originally Posted by Fabry (Post 1107317)
Probably you have an N900 with HW revision greater than 2101.

My U-Boot is based on Matan's u-boot and this version, as told many times, has problems (i.e. hangs on starting kernel) with phones different from hw rev 2101

You can remove u-boot from your phone by flashing a normal (aka without u-boot) kernel, and only the kernel, with flasher-3.5 tool.

There are many guides which can show you the correct steps to follow

Yes My HW is 2204. i'll be flashing my device with Kernel only using the PR1.3 file

EDIT: I successfully flashed my phone and am back with NITDORID intact. I took time since i am using a Vista 64bit and the below option was the only option that worked.

Now will wait for the Pali's Uboot version to have TRI-BOOT on my phone.

http://talk.maemo.org/showpost.php?p...0&postcount=20

Fabry 2011-10-12 19:41

Re: Multiboot Kernel Power issue
 
Newer release of Pali's U-Boot published.

Unfortunately changelog not reports yet fixes for two known problems:
  • High power consumption
  • Incompatibility with HW Rev different from 2101 (as Matan's version)

tusharpatel123 2011-10-13 15:44

Re: Multiboot Kernel Power issue
 
Quote:

Originally Posted by Fabry (Post 1107811)
Newer release of Pali's U-Boot published.

Unfortunately changelog not reports yet fixes for two known problems:
  • High power consumption
  • Incompatibility with HW Rev different from 2101 (as Matan's version)

Hardluck for guys like me using HW 2204 will wait for the further release supporting other HW's

Fabry 2011-10-13 16:50

Re: Multiboot Kernel Power issue
 
Quote:

Originally Posted by tusharpatel123 (Post 1108263)
Hardluck for guys like me using HW 2204 will wait for the further release supporting other HW's

Pali tells that his latest version now supports hw 2204.
I have 2101 and I can't confirm this information, you should try yourself

But I can tell you that power consumption problem is present yet.
So it is usable only for 8-10 hours without recharge

disappear 2011-12-16 14:38

Re: Multiboot Kernel Power issue
 
Hi to all.I am with kp49.After install multiboot i can't see the titan kernel,i try reinstall mltiboot,but no result.Then i remove multiboot and kernel-power-bootimg,and again installed them(bootimg and multiboot)but result was the same.I can't use this:
Quote:

sudo gainroot
mv /boot/zImage-2.6.28.10-power48 /boot/mutiboot/vmlinuz-2.6.28.10-power48
cp /etc/multiboot.d/00-Maemo-2.6.28-omap1.item /etc/multiboot.d/01-Maemo-2.6.28.10-power48.item
because i no have "00-Maemo-2.6.28-omap1.item'' in that directory /etc/multiboot.d/.I try to copy from /lib/modules/omap1 to /etc/multiboot.d/,but again without success,i try also copy with winscp from /lib/modules/omap1 to /boot/ and /etc/multiboot.d/,again failed.Then i try with winscp to copy from /etc/multiboot.d/examples/omap1 to /boot/ but result it was i lose multiboot,of course i remove both(bootimg,multiboot) and solved problem,but is there any option when someone install mutiboot with kp49 to see both kernels(titan and kernel-power)


All times are GMT. The time now is 13:29.

vBulletin® Version 3.8.8