View Single Post
Posts: 842 | Thanked: 1,197 times | Joined on May 2010
#36
Ok, guys, I'm trying to add this to Backupmenu.
I've managed to get fbcon to load(requires bitblit, font and softcursor), but despite it loading and seemingly giving me a console(I see the boot log in the background, like having a framebuffer kernel), I cannot get an interactive shell.
running 'sh' just ends immediately.
Note that I haven't grabbed 'loadkmap' yet, but I'd expect to *see* a console, even if I can't type much if at all.
Or am I wrong there?

My codeis as follows:
Code:
					name=`busybox uname -r`
					insmod /lib/modules/$name/font.ko
					insmod /lib/modules/$name/softcursor.ko
					insmod /lib/modules/$name/bitblit.ko
					insmod /lib/modules/$name/fbcon.ko					
					busybox sh
					$T2S -s 2 -H center -y $y -T 0xF800 -t "line: $?"; y=$((y+20))
					pressAnyKey
and I get "line: 0", then my pressAnyKey code. The shell doesn't seem to do anything... what am I doing wrong?
__________________
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
 

The Following User Says Thank You to RobbieThe1st For This Useful Post: