Go Back   maemo.org - Talk > OS / Platform > Maemo 5 / Fremantle
 
Register FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
  #191  
Old 2012-10-12, 19:11
mosiomm mosiomm is offline
 
Join Date: Apr 2012
Location: iran
Posts: 27
Thanks!: 1,224
Thanked 18 Times in 11 Posts
Default Re: [Announce] kernel-power stable v51 in Extras-Devel

hello evry one.
i install kp 52 and usb mode but when i reboot my phone and boot to backup menu ... i cant backup because i see this massage
"udev started.
/bin copied.
/usr/bin copied.
/usr/sbin copied;
/sbin copied.
/lib copied.
Modules copied.
SSHD found, copying..
chrooting..."
and then my phone shut down.

help me plz ...
how to backup my phone?
sorry for my low english!
Attached Images
 
Reply With Quote
The Following User Says Thank You to mosiomm For This Useful Post:
  #192  
Old 2012-10-13, 09:19
pali pali is offline
 
Join Date: May 2010
Posts: 2,151
Thanks!: 221
Thanked 8,459 Times in 1,632 Posts
Default Re: [Announce] kernel-power stable v51 in Extras-Devel

@Estel, now solution to ask user if want to change kernel (flash to nand) is ready for testing.

Source code is on: https://code.launchpad.net/~pali/+ju...age-update-ask

DEB package is now in Extras-Devel & Extras-Testing:
http://maemo.org/packages/view/fiasco-image-update-ask/

It replace via dpkg-divert shell script /sbin/fiasco-image-update, which is used for flashing fiasco images.

Last edited by pali; 2012-12-13 at 16:27.
Reply With Quote
The Following 11 Users Say Thank You to pali For This Useful Post:
  #193  
Old 2012-10-13, 10:00
ade ade is offline
 
Join Date: Apr 2011
Location: Netherlands
Posts: 1,100
Thanks!: 656
Thanked 2,797 Times in 827 Posts
Default Re: [Announce] kernel-power stable v51 in Extras-Devel

Since I made the first remark about it, I might as well try it

It seems to work fine (assuming I did the test the right way).

I had installed KP51 on my second device, and upgraded to KP52.
I got a question on the screen device if I wanted to overwrite the already installed kernel (in NAND), and I declined that. And my u-boot/NAND is not overwritten now.

Output from console:
Code:
Preparing to replace kernel-power 1:2.6.28-10power52 (using kernel-power_2.6.28-10power52_armel.deb) ...
Unpacking replacement kernel-power ...
Unpacking kernel-power-flasher (from kernel-power-flasher_2.6.28-10power52_armel.deb) ...
Confirm information text on screen
Setting up kernel-power (1:2.6.28-10power52) ...
Setting up kernel-power-flasher (1:2.6.28-10power52) ...
initctl: Job not changed: softupd
Version 0.4.4 started
Waiting for messages
flasher v2.8.2 (Jan  8 2010)

Cannot read /dev/mtd3ro: Cannot allocate memory
Old kernel version: U-Boot 2012.04.01-01269-gaba5e39-dirty
New kernel version: 2.6.28.10-power52
Confirm information text on screen
SIGTERM received
Reply With Quote
The Following 9 Users Say Thank You to ade For This Useful Post:
  #194  
Old 2012-10-13, 10:11
pali pali is offline
 
Join Date: May 2010
Posts: 2,151
Thanks!: 221
Thanked 8,459 Times in 1,632 Posts
Default Re: [Announce] kernel-power stable v51 in Extras-Devel

Quote:
Originally Posted by ade View Post
Code:
..
Cannot read /dev/mtd3ro: Cannot allocate memory
...
This is bad malloc in zimage-get-version.c failed. But if failed it returns empty version and script try to use other method to get version string (e.g test if image is not kernel, but uboot).

But if version string is empty it ask for flashing.
Reply With Quote
The Following 3 Users Say Thank You to pali For This Useful Post:
  #195  
Old 2012-10-14, 10:26
pali pali is offline
 
Join Date: May 2010
Posts: 2,151
Thanks!: 221
Thanked 8,459 Times in 1,632 Posts
Default Re: [Announce] kernel-power stable v51 in Extras-Devel

New version kp52 will depends on above package:
http://talk.maemo.org/showthread.php...67#post1279967

So please test if everything is working...
Reply With Quote
The Following 4 Users Say Thank You to pali For This Useful Post:
  #196  
Old 2012-10-14, 21:48
Nobless's Avatar
Nobless Nobless is offline
 
Join Date: Oct 2011
Location: Lithuania
Posts: 101
Thanks!: 212
Thanked 73 Times in 45 Posts
Send a message via Skype™ to Nobless
Default Re: [Announce] kernel-power stable v51 in Extras-Devel

Quote:
Originally Posted by pali View Post
Packages are updated and here is changelog:

kernel-power (1:2.6.28-10power52) fremantle; urgency=low

* Backport upstream patch: udf-use-hw-sector-size.diff (This fix UDF FS support on SD cards and USB disks)
* Update bq2415x_charger patch: (use kstrtol, use dev_dbg, call sysfs_notify, rename N900 charger to bq24150a, fix reporting bad values, disable charging when charger disconnected)
* Added patch kstrtol.diff which define macro kstrtol as strict_strtol
* Update into about kernel-power-bootimg package
* Package kernel-power-bootimg does not provide any features
* Enable more netfilter and ipv6 modules
* Added driver rx51_battery which export battery temperature, design capacity and voltage to sysfs, provides: kernel-feature-rx51-battery
* Added patch tif_restore_sigmask-syscalls-arm.patch which fix pselect bug, added provides: kernel-feature-sigmask
* Enable bridge module, provides kernel-feature-bridge

-- Pali Rohár <hidden> Fri, 12 Oct 2012 14:59:09 +0200
is there will be any changes in this version, or it is last one ? because something wrong here with power52 version while trying to boot it with u-boot, tried with 4-1 and 4-3 versions when i try to boot this kernel, phone just shutdowns. In this way i tried to boot it:
Quote:
dpkg -i kernel-power-modules_2.6.28-10power52_armel.deb kerne
l-power_2.6.28-10power52_armel.deb kernel-power-flasher_2.6.28-10power52_armel.deb kernel-power-boo
timg_2.6.28-10power52_armel
after that i reinstall u-boot and update item files. Trying to reboot into power52 kernel and phone just shutdowns while booting. But without u-boot kernel boots fine. After all i also tried to boot kernel-cssu and power51 to make sure if everything is ok with my phone, and both booted also fine with u-boot while power 52 fails...
__________________
www.sinus.lt

Last edited by Nobless; 2012-10-14 at 21:54.
Reply With Quote
  #197  
Old 2012-10-14, 21:51
misiak misiak is offline
 
Join Date: Feb 2010
Location: Gdynia, Poland
Posts: 803
Thanks!: 3,621
Thanked 1,594 Times in 557 Posts
Default Re: [Announce] kernel-power stable v51 in Extras-Devel

Quote:
Originally Posted by Nobless View Post
is there will be any changes in this version, or it is last one ? because something wrong here with power52 version while trying to boot it with u-boot, tried with 4-1 and 4-3 versions when i try to boot this kernel, phone just shutdowns. In this way i tried to boot it:
dpkg -i kernel-power-modules_2.6.28-10power52_armel.deb kerne
l-power_2.6.28-10power52_armel.deb kernel-power-flasher_2.6.28-10power52_armel.deb kernel-power-boo
timg_2.6.28-10power52_armel

after that i reinstall u-boot and update item files. Trying to reboot into power52 kernel and phone just shutdowns while booting. But without u-boot kernel boots fine. After all i also tried to boot kernel-cssu and power51 to make sure if everything is ok with my phone, and both booted also fine with u-boot while power 52 fails...
could youprovide:
1. contents of /etc/bootmenu.d/ power kernel config file
2. output of "ls /boot"
3. output of "ls /lib/modules"
It would help a lot to identify some possible problems
Reply With Quote
The Following 3 Users Say Thank You to misiak For This Useful Post:
  #198  
Old 2012-10-15, 17:37
Nobless's Avatar
Nobless Nobless is offline
 
Join Date: Oct 2011
Location: Lithuania
Posts: 101
Thanks!: 212
Thanked 73 Times in 45 Posts
Send a message via Skype™ to Nobless
Default Re: [Announce] kernel-power stable v51 in Extras-Devel

Quote:
Originally Posted by misiak View Post
could youprovide:
1. contents of /etc/bootmenu.d/ power kernel config file
2. output of "ls /boot"
3. output of "ls /lib/modules"
It would help a lot to identify some possible problems
Here you go:
Quote:
Nokia-N900:/etc/bootmenu.d# cat Default.item
ITEM_NAME="Maemo 5 with kernel-power 2.6.28.10-power52"
ITEM_KERNEL="2.6.28.10-power52"
ITEM_OMAPATAG="1"

Nokia-N900:/etc/bootmenu.d# ls /boot
zImage-2.6.28.10-cssu3
zImage-2.6.28.10-power52

Nokia-N900:/etc/bootmenu.d# ls /lib/modules/
2.6.28-omap1
2.6.28.10-cssu3
2.6.28.10-power52
current
Everything looks good for me
__________________
www.sinus.lt
Reply With Quote
The Following 2 Users Say Thank You to Nobless For This Useful Post:
  #199  
Old 2012-10-15, 19:53
misiak misiak is offline
 
Join Date: Feb 2010
Location: Gdynia, Poland
Posts: 803
Thanks!: 3,621
Thanked 1,594 Times in 557 Posts
Default Re: [Announce] kernel-power stable v51 in Extras-Devel

Quote:
Originally Posted by Nobless View Post
Here you go:
Everything looks good for me
Did you try renaming item file to something different than "default", like "20-Maemo5-kernel-power-2.6.28.10-power52.item"? (just a silly idea to check) And, as you may have seen in the other thread http://talk.maemo.org/showpost.php?p...9&postcount=54 , in power kernel 51 (at least on my device) there is one more line:
Code:
ITEM_MODULES="softcursor bitblit font fbcon"
maybe try adding it?
Reply With Quote
The Following 3 Users Say Thank You to misiak For This Useful Post:
  #200  
Old 2012-10-16, 04:49
Nobless's Avatar
Nobless Nobless is offline
 
Join Date: Oct 2011
Location: Lithuania
Posts: 101
Thanks!: 212
Thanked 73 Times in 45 Posts
Send a message via Skype™ to Nobless
Default Re: [Announce] kernel-power stable v51 in Extras-Devel

I solved the problem by redownloading and reinstalling all kernel packages, now boots ok, IDK what was wrong but everything looks the same, and yes i tried renaming before .item file after i tried to add your suggested line into working .item file i can't boot it shows that maemo is loading and i waited few minutes nothing, just rebooted and removed that line. I think i something missing to use this line in .item so i don't need it, but would be really interesting to know what it does exactly

P.S Thanks for help!
__________________
www.sinus.lt
Reply With Quote
Reply

Tags
bq2415x_charger, bq27200, kernel-power


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 21:25.