Notices


Reply
Thread Tools
Posts: 842 | Thanked: 1,197 times | Joined on May 2010
#501
@pali, post 1:
I'll try that. That would certainly be nice.
edit:
I did as you suggest, and added that bit to the /etc/bootmenu.d/backupmenu.item
After that, my n900 wouldn't boot into backupmenu, or bootmenu - it just continues booting normally, even with the keyboard open.
I edited the file back to what it was before, and it booted into backupmenu with the keyboard open. Any ideas?

@pali, post 2:
I'm not sure - Does having /dev/ devices for mounting harddisks require udev? If it does, I need it.
__________________
My projects: BackupMenu - OS Backup & restore | Video: Flashing your n900(LiveCD)
My devices: N770 + 8GB SD card soldered internally, N900 with 8GB SD card + Custom OC(125-950 typically).
OC freqs: 0:22,90 125:22,90 250:28,180 500:30,360 550:32,400 600:34,430 700:39,430 750:41,430 805:45,430 850:47,500 900:50,500 950:54,500 1000:58,500 1100:67,520 1150:71,520

Last edited by RobbieThe1st; 2011-01-20 at 10:01.
 

The Following User Says Thank You to RobbieThe1st For This Useful Post:
Posts: 2,154 | Thanked: 8,464 times | Joined on May 2010
#502
I'm using old patched version of backupmenu. Code is here: https://code.launchpad.net/~pali/+junk/maemo_backupmenu
It works for me fine with bootmenu-n900 1.9.
I look at new version and try find problem...

Bootmenu use this code to create all harddisks devices in /dev (needed to mount device and boot from it):

Code:
        #echo "Loading MMC drivers..."
        cd /dev; /sbin/MAKEDEV input; cd /
        modprobe mmc_block
        modprobe mmc_core
        modprobe omap_hsmmc

        #echo "Sleeping 2 to allow spin-up..."
        sleep 2

        #echo "Creating mmc devices..."
        for p in /sys/block/mmcblk*/mmcblk*p*/; do
                n=`basename $p`
                rm -f /dev/$n
                mknod /dev/$n b `cat $p/dev | sed "s/:/ /g"`
                #ls -l /dev/$n
        done
This not need to run udev.
 
Posts: 2,154 | Thanked: 8,464 times | Joined on May 2010
#503
I only download backupmenu deb package from maemo.org/packages to PC.

I see two problems why it does not work (if you use usr/share/backupmenu/BackupMenuLauncher.item)
1. usr/share/backupmenu/BackupMenuLauncher.item do not have executable flag
2. usr/share/backupmenu/BackupMenuLauncher.item do not have #!/bin/sh header

Note that bootmenu for ITEM_LINUXRC need valid sh skript or binary.
 
Posts: 209 | Thanked: 44 times | Joined on Jan 2010 @ Austria
#504
Dear RobbieThe1st, 1st of all thanks for your app.
When I backup my N900 with BackupMenu V2 now and hypothetically spoken next week comes out PR 1.4 and I do a complete reflash with PR1.4 and then want to restore my settings, programs - will this remove PR1.4 an reinstall PR1.3?
 
ndi's Avatar
Posts: 2,050 | Thanked: 1,425 times | Joined on Dec 2009 @ Bucharest
#505
Yes. However, it will not restore hardware components's flash. If PR 1.4 updates the GSM modem software to an incompatible verion (like PR 1.1 did), you will have issues.

It's not a good idea to revert flashes, generally, and reverting 1.1 to 1.0 is known to break GSM. Also, GSM refuses to flash to a lower flash version, so that's it.
__________________
N900 dead and Nokia no longer replaces them. Thanks for all the fish.

Keep the forums clean: use "Thanks" button instead of the thank you post.
 

The Following 2 Users Say Thank You to ndi For This Useful Post:
Posts: 842 | Thanked: 1,197 times | Joined on May 2010
#506
Originally Posted by pali View Post
I only download backupmenu deb package from maemo.org/packages to PC.

I see two problems why it does not work (if you use usr/share/backupmenu/BackupMenuLauncher.item)
1. usr/share/backupmenu/BackupMenuLauncher.item do not have executable flag
2. usr/share/backupmenu/BackupMenuLauncher.item do not have #!/bin/sh header

Note that bootmenu for ITEM_LINUXRC need valid sh skript or binary.
Good point. But even if it can't launch the script, why am I not getting the bootmenu-menu?

edit:
I tried both of those things, just in case. No difference - What happens is that it seems to "hang" at the nokia screen until the keyboard is closed, at which point it continues booting normally.
__________________
My projects: BackupMenu - OS Backup & restore | Video: Flashing your n900(LiveCD)
My devices: N770 + 8GB SD card soldered internally, N900 with 8GB SD card + Custom OC(125-950 typically).
OC freqs: 0:22,90 125:22,90 250:28,180 500:30,360 550:32,400 600:34,430 700:39,430 750:41,430 805:45,430 850:47,500 900:50,500 950:54,500 1000:58,500 1100:67,520 1150:71,520

Last edited by RobbieThe1st; 2011-01-21 at 07:11.
 
Posts: 2,225 | Thanked: 3,822 times | Joined on Jun 2010 @ Florida
#507
I also would love to get some soft of on-N900 terminal/shell/command-line-interface. I'd live with it being basic and simple,

What's the technical limitation (if you mentioned it earlier in this thread - it sounds vaguely familiar - feel free to point me to that post) that keeps us from getting a full normal shell/terminal from BackupMenu?
 
Posts: 842 | Thanked: 1,197 times | Joined on May 2010
#508
Mentalist:
The main problem is the lack of a framebuffer in the stock kernel(or power kernel, for that matter); with that, it'd simply be a matter of running "/bin/sh", and there you go.
Without it, however, I'm stuck using text2screen to print characters, and evkey to get keypresses. What I did with my limited command-line interface was have an "input box", which was then run through eval. It worked... sort of. But as a run-command box, and not a terminal.
__________________
My projects: BackupMenu - OS Backup & restore | Video: Flashing your n900(LiveCD)
My devices: N770 + 8GB SD card soldered internally, N900 with 8GB SD card + Custom OC(125-950 typically).
OC freqs: 0:22,90 125:22,90 250:28,180 500:30,360 550:32,400 600:34,430 700:39,430 750:41,430 805:45,430 850:47,500 900:50,500 950:54,500 1000:58,500 1100:67,520 1150:71,520
 
Posts: 284 | Thanked: 320 times | Joined on May 2010 @ Peterborough, UK
#509
Would this be of any help? I'm still hoping to have a modified BackupMenu with mkfs.ubifs (including option for zlib compression), ubinize, and flasher/nandwrite up and running soon - it's just been a lack of time on my part preventing it, I have the scripts to run it in a chroot.
 
Posts: 2,154 | Thanked: 8,464 times | Joined on May 2010
#510
Originally Posted by RobbieThe1st View Post
Good point. But even if it can't launch the script, why am I not getting the bootmenu-menu?
I'm not author of bootmenu... but I see in code that when evkey input (with rendering menu) loop quit, bootmenu will execute functions for prepairing boot (mount HDD, load modules, ...). The last step is exec init script. Init script is default /sbin/init but may be specified by ITEM_LINUXRC. If exec fail it is not possible to jump into screen boot again. So bootmenu exec /sbin/init...

Originally Posted by RobbieThe1st View Post
I tried both of those things, just in case. No difference - What happens is that it seems to "hang" at the nokia screen until the keyboard is closed, at which point it continues booting normally.
Can you send me source/deb package (or what you are trying)? This was problem in old bootmenu. Maybe I find where is problem. This sounds like that init script is executed, but it crashed... Maybe output in framebuffer console will be usefull (with fbcon.ko)

Why is not in kernel-power fbcon.ko module? What about creating deb package (and upload to extras-devel) kernel-module-fbcon which will be contain fbcon.ko for nokia default kernel?
 
Reply

Tags
backup, backupmenu, cssusupplement, max(useful), rescue-console, restore, system

Thread Tools

 
Forum Jump


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