The Following 4 Users Say Thank You to Estel For This Useful Post: | ||
|
2012-08-04
, 16:02
|
Posts: 362 |
Thanked: 426 times |
Joined on Nov 2010
@ Italy, Lombardia
|
#1102
|
It was proposed many times ago, and it's not straightforward - indeed would need scavenging flashing code from multiboot.
#!/bin/sh export PATH=/usr/sbin:/usr/bin:/sbin:/bin initctl stop softupd ifconfig lo 127.0.0.1 netmask 255.0.0.0 up softupd --local --verbose --stdout --standalone & pid=$! flasher --local -f -k $1 sleep 1 kill $pid echo "Finished flashing."
The Following 5 Users Say Thank You to Fabry For This Useful Post: | ||
|
2012-08-07
, 16:16
|
Posts: 45 |
Thanked: 5 times |
Joined on Oct 2008
|
#1103
|
You could:
Download the right package from
http://maemo.org/packages/view/kernel-power/
(match the backup dates with those on the kernel)
Extract the kernel.
Restore rootfs & optfs then shutdown.
Then use Flasher to flash the kernel only.
sudo flasher-3.5 -F zImage-2.6.28.10-power50.fiasco --flash-only=kernel -f -R
flasher v2.5.2 (Oct 21 2009)
Image 'kernel', size 1741 kB
Version 2.6.28.10-power50
Suitable USB device not found, waiting.
USB device found found at bus 002, device address 008.
Found device RX-51, hardware revision 2204
NOLO version 1.4.14
Version of 'sw-release': RX-51_2009SE_21.2011.38-1.002_PR_002
Sending kernel image (1741 kB)...
100% (1741 of 1741 kB, avg. 27216 kB/s)
Flashing kernel... done.
sudo flasher-3.5 -F RX-51_2009SE_10.2010.13-2.VANILLA_PR_EMMC_MR0_ARM.bin -f -R sudo flasher-3.5 -F RX-51_2009SE_20.2010.36-2.002_PR_COMBINED_002_ARM.bin -f -R sudo flasher-3.5 -F zImage-2.6.28.10-power50.fiasco --flash-only=kernel -f -R
|
2012-08-07
, 16:55
|
Posts: 32 |
Thanked: 30 times |
Joined on Jul 2012
@ Deb & Ian's dooryard
|
#1104
|
The Following User Says Thank You to conred For This Useful Post: | ||
|
2012-08-07
, 19:19
|
Posts: 45 |
Thanked: 5 times |
Joined on Oct 2008
|
#1105
|
|
2012-08-07
, 19:47
|
Posts: 2,102 |
Thanked: 1,937 times |
Joined on Sep 2008
@ Berlin, Germany
|
#1106
|
apt-cache policy kernel-power kernel-power-modules kernel-power-flasher
Nokia-N900:~# apt-cache policy kernel-power
kernel-power:
Installed: 1:2.6.28-10power51r1
Candidate: 1:2.6.28-10power51r1
Version table:
*** 1:2.6.28-10power51r1 0
500 http://repository.maemo.org fremantle-1.3/free Packages
500 http://repository.maemo.org fremantle/free Packages
500 http://repository.maemo.org fremantle/free Packages
100 /var/lib/dpkg/status
1:2.6.28-10power51 0
500 http://repository.maemo.org fremantle-1.3/free Packages
500 http://repository.maemo.org fremantle/free Packages
1:2.6.28-10power50 0
500 http://repository.maemo.org fremantle-1.3/free Packages
500 http://repository.maemo.org fremantle-1.3/free Packages
500 http://repository.maemo.org fremantle/free Packages
500 http://repository.maemo.org fremantle/free Packages
1:2.6.28-10power49 0
500 http://repository.maemo.org fremantle-1.3/free Packages
500 http://repository.maemo.org fremantle-1.3/free Packages
500 http://repository.maemo.org fremantle/free Packages
500 http://repository.maemo.org fremantle/free Packages
2.6.28-maemo42 0
500 http://repository.maemo.org fremantle-1.3/free Packages
2.6.28-maemo37 0
500 http://repository.maemo.org fremantle-1.3/free Packages
2.6.28-maemo24 0
500 http://repository.maemo.org fremantle-1.3/free Packages
sudo gainroot apt-get install kernel-power=2.6.28-10power50 kernel-power-flasher=2.6.28-10power50 kernel-power-modules=2.6.28-10power50
The Following User Says Thank You to michaaa62 For This Useful Post: | ||
|
2012-08-08
, 03:56
|
Posts: 45 |
Thanked: 5 times |
Joined on Oct 2008
|
#1107
|
Code:apt-get install kernel-power=2.6.28-10power50 kernel-power-flasher=2.6.28-10power50 kernel-power-modules=2.6.28-10power50
sudo apt-get install kernel-power=1:2.6.28-10power50 kernel-power-flasher=1:2.6.28-10power50 kernel-power-modules=1:2.6.28-10power50
|
2012-08-08
, 10:20
|
Posts: 12 |
Thanked: 12 times |
Joined on Jan 2011
|
#1108
|
I have gotten backupmenu to start from u-boot without needing r&d mode nor repartitioning and without complex instructions this time..
so forget the complex instructions at
http://talk.maemo.org/showpost.php?p...&postcount=882
new instructions:
download the zip archive from http://ifile.it/d3ehfn2 (5.8 MB)
extract the contents of the archive to the first partition of your sdcard (fat32).
shutdown, then start again and let u-boot timer time out.
thats all !
can't get any easier
---------------------------------------------------------------------------
notes (normally not needed):
1)backupmenu disk gets loaded as an initrd and backupmenu runs from the ram, so configuring network interfaces by modifying backupmenu directly is not possible.(well it is possible but it won't be saved when you reboot)
instead place a file called interfaces, containing your network configuration on the first partition of the sdcard, backupmenu will use that instead.
2)if you already have a boot.scr file on the first partition of your sdcard, rename the one from the archive to backupmenu.scr
u-boot will normally load your original boot.scr file, and when you want to run backupmenu, there are 2 solutions:
a)sane solution:
rename your boot.scr to something else and rename backupmenu.scr to boot.scr and start the device.
b)crazy solution:
interrupt the u-boot timer and write the following :
you will have to type that blazingly fast though if you haven't enabled r&d mode and set no-omap-wd r&d flag.Code:mmc init fatload mmc1 0 0x80000400 backupmenu.scr source 0x80000400
|
2012-08-15
, 16:16
|
Posts: 1,335 |
Thanked: 3,931 times |
Joined on Jul 2010
@ Brittany, France
|
#1109
|
|
2012-08-16
, 09:30
|
Posts: 10 |
Thanked: 0 times |
Joined on Jun 2012
|
#1110
|
I have gotten backupmenu to start from u-boot without needing r&d mode nor repartitioning and without complex instructions this time..
so forget the complex instructions at
http://talk.maemo.org/showpost.php?p...&postcount=882
new instructions:
download the zip archive from http://ifile.it/d3ehfn2 (5.8 MB)
extract the contents of the archive to the first partition of your sdcard (fat32).
shutdown, then start again and let u-boot timer time out.
thats all !
can't get any easier
---------------------------------------------------------------------------
notes (normally not needed):
1)backupmenu disk gets loaded as an initrd and backupmenu runs from the ram, so configuring network interfaces by modifying backupmenu directly is not possible.(well it is possible but it won't be saved when you reboot)
instead place a file called interfaces, containing your network configuration on the first partition of the sdcard, backupmenu will use that instead.
2)if you already have a boot.scr file on the first partition of your sdcard, rename the one from the archive to backupmenu.scr
u-boot will normally load your original boot.scr file, and when you want to run backupmenu, there are 2 solutions:
a)sane solution:
rename your boot.scr to something else and rename backupmenu.scr to boot.scr and start the device.
b)crazy solution:
interrupt the u-boot timer and write the following :
you will have to type that blazingly fast though if you haven't enabled r&d mode and set no-omap-wd r&d flag.Code:mmc init fatload mmc1 0 0x80000400 backupmenu.scr source 0x80000400
Tags |
backup, backupmenu, cssusupplement, max(useful), rescue-console, restore, system |
|
---
In the meantime - I've introduced .lzma compression instead of .gz one, for backup with compression. Results are much better - rootfs compressed image is about 60 MB, in my case. I've also updated charging script to more recent version.
Updated version sent to robbiethe1st already, so I hope we may expect some kind of update soon We've also discussed possibility of using Pali's bq2415x_charger module for charging, (instead of charge.sh script) for kernel-power users, and depending on i2c-tools, instead of providing i2cget and i2cset as separate binariers, with backupmenu.
/Estel
N900's aluminum backcover / body replacement
-
N900's HDMI-Out
-
Camera cover MOD
-
Measure battery's real capacity on-device
-
TrueCrypt 7.1 | ereswap | bnf
-
Hardware's mods research is costly. To support my work, please consider donating. Thank You!