The Following User Says Thank You to reinob For This Useful Post: | ||
![]() |
2011-11-22
, 13:56
|
Posts: 1,808 |
Thanked: 4,272 times |
Joined on Feb 2011
@ Germany
|
#92
|
The Following 3 Users Say Thank You to reinob For This Useful Post: | ||
![]() |
2011-11-22
, 15:24
|
Posts: 1,680 |
Thanked: 3,685 times |
Joined on Jan 2011
|
#93
|
The Following 4 Users Say Thank You to vi_ For This Useful Post: | ||
![]() |
2011-11-22
, 23:42
|
Posts: 2,154 |
Thanked: 8,464 times |
Joined on May 2010
|
#94
|
The Following 6 Users Say Thank You to pali For This Useful Post: | ||
![]() |
2011-11-23
, 07:03
|
Posts: 2,225 |
Thanked: 3,822 times |
Joined on Jun 2010
@ Florida
|
#95
|
Press any key to get shell... [5/4/3/2/1]
![]() |
2011-11-23
, 07:15
|
Posts: 2,225 |
Thanked: 3,822 times |
Joined on Jun 2010
@ Florida
|
#96
|
I have put modprobe fbcon after the first function to be called, 'init_system'.
This calls it even earlier for even more rolling text at boot up. I have not got the balls to try it before 'init_system' as if I ballsax my system I could not face re-flashing this beast again.
mount -t proc none /proc mount -t sysfs none /sys mount -t tmpfs none -o size=512K /tmp mkdir /tmp/dev
Another interesting effect is the display of the green R&D mode text. If you look in the link you can call the display text without actually starting R&D mode. KInda cool if you want it but not rolling fbcon text.
![]() |
2011-11-23
, 07:37
|
Posts: 2,225 |
Thanked: 3,822 times |
Joined on Jun 2010
@ Florida
|
#97
|
modprobe fbcon printf "Press any key to get a shell.../n" for q in 4 3 2 1 0 do printf "$q" if (read -n 1 -t 1) then printf "\b\b" insmod $MODULE_PATH/led-class.ko insmod $MODULE_PATH/leds-lp5523.ko insmod $MODULE_PATH/omap_wdt.ko insmod $MODULE_PATH/twl4030_wdt.ko sleep 1 for p in /sys/bus/platform/devices/*_wdt/misc:*; do n=`basename $p | sed "s/.*://"` rm -f /dev/$n mknod /dev/$n c `cat $p/dev | sed "s/:/ /g"` done for i in 1 2 3 4 5 6; do echo 25 > /sys/class/leds/lp5523\:kb$i/brightness done watchdog -t 20 /dev/watchdog watchdog -t 20 /dev/twl4030_wdt loadkmap < /etc/nokia-n900.kmap sh killall watchdog break fi printf "\b" done
![]() |
2011-11-23
, 08:48
|
Posts: 1,808 |
Thanked: 4,272 times |
Joined on Feb 2011
@ Germany
|
#98
|
The Following User Says Thank You to reinob For This Useful Post: | ||
![]() |
2011-11-23
, 08:50
|
|
Posts: 5,028 |
Thanked: 8,613 times |
Joined on Mar 2011
|
#99
|
(I suspect people won't want to, in the long run, to add the fbcon loading and shell prompt where I have it in my version, within init_system(), so I won't push for that too much myself unless enough other people think having such an extremely-early fallback is a good idea.)
![]() |
2011-11-23
, 09:43
|
Posts: 1,680 |
Thanked: 3,685 times |
Joined on Jan 2011
|
#100
|
If camera slide open load fbcon present menu else boot normaly
The Following User Says Thank You to vi_ For This Useful Post: | ||
![]() |
Tags |
console, console-mode, framebuffer, recovery, recovery-mode |
|
First things first: @Estel, Thanks for pointing me to Backupmenu. I saw that it does "hwclock -s" (set system time from hardware clock).
Then I saw vi_'s post mentioning the same. Thanks to you too. Now I'm charging the N900 so I won't touch it, but I'll try later adding "hwclock -s" to the /recovery.sh.
Second: @Pali: YES, please proceed
This way I don't have to rush things, so I'll patiently wait for your combined results and profit from them
In short: thanks to everyone involved in this thread. I start feeling like in the early 90s when I installed Slackware 1.0 (or was it 2.0?).