![]() |
2007-12-10
, 23:35
|
|
Posts: 670 |
Thanked: 359 times |
Joined on May 2007
|
#22
|
![]() |
2007-12-11
, 02:25
|
Posts: 3,401 |
Thanked: 1,255 times |
Joined on Nov 2005
@ London, UK
|
#23
|
![]() |
2007-12-11
, 08:07
|
Posts: 2,152 |
Thanked: 1,490 times |
Joined on Jan 2006
@ Czech Republic
|
#24
|
The window of opportunity is pretty short though. Is there an easy way to modify the timeout and/or the default selection?
chroot /mnt/initfs cal-tool -R ask:yourdefault
![]() |
2007-12-11
, 08:32
|
Posts: 2,152 |
Thanked: 1,490 times |
Joined on Jan 2006
@ Czech Republic
|
#25
|
I use the hold menu key on boot (but only when the message appears). At that point the boot menu appears
EVNAME=event1 # default, n770 grep -q RX-34 /proc/component_version && EVNAME=event2 #n800 grep -q RX-44 /proc/component_version && EVNAME=event2 #n810 #wait 1 second for keyup event GETKEY="evkey -u -t 1000 /dev/input/${EVNAME}"
chroot /mnt/initfs
$GETKEY
echo $GETKEY evkey -u -t 1000 /dev/input/event2
cat /proc/component_version
The Following User Says Thank You to fanoush For This Useful Post: | ||
![]() |
2007-12-11
, 12:37
|
Posts: 2,152 |
Thanked: 1,490 times |
Joined on Jan 2006
@ Czech Republic
|
#26
|
Would it be possible to have bootmenu be able to boot images on mmc cards?
![]() |
2007-12-11
, 12:59
|
|
Posts: 3,096 |
Thanked: 1,525 times |
Joined on Jan 2006
@ Michigan, USA
|
#27
|
Well yes but it would probably conflict with mounting/dismounting FAT partition by the OS and usb storage functionality so it wouldn't be pretty. Also it would be a bit complicated to set up inside initfs - there is currently no losetup command for setting up loopback device and it would need modification of not just bootmenu.sh but original Nokia's linuxrc too (which changes from time to time so I try to minimize changes there to absolute minimum). I'm not convinced this would benefit to many users and would compensate added complexity. Lets say that this is low priority and I would accept patches adding this functionality :-)
The Following User Says Thank You to penguinbait For This Useful Post: | ||
![]() |
2007-12-11
, 13:36
|
Posts: 2,152 |
Thanked: 1,490 times |
Joined on Jan 2006
@ Czech Republic
|
#28
|
My main goal is to make it easier for 'know nothings' to boot from mmc. This is the biggest obstacle to many who want to run KDE. Turning kde into a deb makes no sense, when they still have to setup boot from mmc manually.
The Following User Says Thank You to fanoush For This Useful Post: | ||
![]() |
2007-12-11
, 13:44
|
Posts: 2,152 |
Thanked: 1,490 times |
Joined on Jan 2006
@ Czech Republic
|
#29
|
![]() |
2007-12-11
, 14:13
|
Posts: 41 |
Thanked: 17 times |
Joined on Oct 2007
@ La Pêche, Québec, Canada
|
#30
|
I see. So at least home key works which means this is not problem with kernel. Did you modify bootmenu.sh file? keys are read via evkey command with kernel device name that is different for 770 and N800/N810. On the beginning of bootmenu.sh there should be
Code:EVNAME=event1 # default, n770 grep -q RX-34 /proc/component_version && EVNAME=event2 #n800 grep -q RX-44 /proc/component_version && EVNAME=event2 #n810 #wait 1 second for keyup event GETKEY="evkey -u -t 1000 /dev/input/${EVNAME}"
I configured the 'ask' facility (ask:flash so that I don't get locked out of the defice). The keys were still locked up, but the 30 second count-down worked and the device booted from flash when it expired.
Robert B.