Fwd: Re: VGA output and cpufreq.

Oleg Gusev oleg@usm.uni-muenchen.de
Mon Jun 28 23:01:47 CEST 2004


On Monday 28 June 2004 10:47 pm, you wrote:
>
> PPS: if any of you wishes to add your personal network setup to the
> ramdiskimage (and it isn't dhcp), then send it my way and I'll include
> a function in /etc/functions.
>

I had the following in my /sbin/unconfigured.sh file.
Dirty hack, but you can reuse some ideas from it.
Probably, also add a fix for the brightness and contrast.
With your patch to mm/init.c the reboot to wince is
a real PITA :)

echo ......................Cleaning up.................................
umount /initrd/dev
umount /initrd/proc
umount /initrd
blockdev --flushbufs /dev/ram0
/usr/bin/X11/resize
echo -e '\033[?2c'

DAY=`dd if=/dev/mem bs=1 skip=$[0xc004fe0a] count=2 2> /dev/null| od -A n -t 
d`
MON=`dd if=/dev/mem bs=1 skip=$[0xc004fe06] count=2 2> /dev/null| od -A n -t 
d`
YEA=`dd if=/dev/mem bs=1 skip=$[0xc004fe04] count=2 2> /dev/null| od -A n -t 
d`

HHMM=`date +'%H%M'`

echo wince hourmin=$HHMM day=$DAY mon=$MON year=$YEA

NEWDATE=`printf "%2.2d%2.2d%4.4d%4.4d" $MON $DAY $HHMM $YEA`
echo newdate=$NEWDATE
date $NEWDATE
hwclock -w

echo ......................Ok..........................................


> Thanks for all the hacking!

A friend of mine has Compaq Aero 8000. He became really
jealous when he saw my j820, and begs for a linux port :)))

 Oleg.

PS. There are also some other memory locations, which we dont
 want to trash, or to restore at reboot, like the famous "0x12345678".
  But we have more serious problems to solve right now.


More information about the Jornada820 mailing list