Reply
Thread Tools
Posts: 27 | Thanked: 18 times | Joined on Apr 2012 @ iran
#191
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
 
 

The Following User Says Thank You to mosiomm For This Useful Post:
Posts: 2,153 | Thanked: 8,462 times | Joined on May 2010
#192
@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.
 

The Following 11 Users Say Thank You to pali For This Useful Post:
Posts: 1,100 | Thanked: 2,797 times | Joined on Apr 2011 @ Netherlands
#193
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
 

The Following 9 Users Say Thank You to ade For This Useful Post:
Posts: 2,153 | Thanked: 8,462 times | Joined on May 2010
#194
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.
 

The Following 3 Users Say Thank You to pali For This Useful Post:
Posts: 2,153 | Thanked: 8,462 times | Joined on May 2010
#195
New version kp52 will depends on above package:
http://talk.maemo.org/showthread.php...67#post1279967

So please test if everything is working...
 

The Following 4 Users Say Thank You to pali For This Useful Post:
Nobless's Avatar
Posts: 101 | Thanked: 73 times | Joined on Oct 2011 @ Lithuania
#196
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:
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.
 
Posts: 804 | Thanked: 1,598 times | Joined on Feb 2010 @ Gdynia, Poland
#197
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
 

The Following 3 Users Say Thank You to misiak For This Useful Post:
Nobless's Avatar
Posts: 101 | Thanked: 73 times | Joined on Oct 2011 @ Lithuania
#198
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:
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
 

The Following 2 Users Say Thank You to Nobless For This Useful Post:
Posts: 804 | Thanked: 1,598 times | Joined on Feb 2010 @ Gdynia, Poland
#199
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?
 

The Following 3 Users Say Thank You to misiak For This Useful Post:
Nobless's Avatar
Posts: 101 | Thanked: 73 times | Joined on Oct 2011 @ Lithuania
#200
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

Tags
bq2415x_charger, bq27200, kernel-power

Thread Tools

 
Forum Jump


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