星期三, 10月 25, 2006

Found two interesting books...

While web surfing, I found two interesting books, Car PC Hacks & Mapping Hacks. These two books are related with my current job, the Smart Phone & PNA developing. So, I bought these two books. Maybe could give me more idea about my design.

星期四, 8月 11, 2005

Xcursor in Xorg 6.8.2

the Xcursor on support transparent.
To modify the cursor source, the location is xorg_src/xc/programs/xcursorgen/xxx

星期三, 7月 27, 2005

Grub on /dev/hdc

/sbin/grub --batch --device-map=/dev/null <<"EOF"
device (hd0) /dev/hda
device (hd1) /dev/hdc
root (hd1,0)
setup (hd1)
quit
"EOF"

grub.conf
---
timeout 2
default 0
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
hiddenmenu
# For booting GNU/Linux
title JT Linux
kernel /boot/vmlinuz root=/dev/ram0 video=vesafb:ywrap,mtrr,1024x768-24@60 quiet splash=silent,theme:emergence ramdisk_size=32768 CONSOLE=/dev/tty1 vga=792
root (hd0,0)
initrd /boot/jt-ramdisk.gz
---

星期六, 7月 09, 2005

Gentoo ati drm driver in X.org 6.8.2

configuration step:

genkernel --udev --menuconfig all
  • Device Drivers - Character devices)
    • add Real Time Clock Support
    • /dev/agpgart (AGP support)
      • Intel
      • SiS chipset support
      • VIA chipset suport
  • modify /etc/modules.autoload.d/kernel-2.6
    • rtc
    • agpgart
    • sis-agp
    • fglrx
wait for compiling finished...
  • ATI-Drivers
    • emerge ati-drivers
    • emerge ati-drivers-extra (contains testing apps.)
    • opengl-update ati
  • X.org setting
    • fglrxconfig
      • do not chose AGPGART support, becasue of already built-in in kernel
      • modify BuisID to fit your VGA card in /etc/X11/xorg.conf
done....

星期五, 7月 09, 2004

PXE Server setup

pre-requirment:
1. windows 2000 server CD
2. netsetup.exe(download from www.enanshan.com/down)
3. Intel PXE PDK 2.0:pxe-pdk20.exe (download from www.enanshan.com/down)
4. Sage PXE download image(customized by Allen)

Step:
1. windows 2000 server
2. enable DHCP server which built-in in windows 2000 server
3. extract netsetup.exe to temp folder
4. install pxe-pdk20.exe (during install needs files from netsetup.exe)
5. using pxereg60.exe add DHCP option for PXE proxy
6. copy the Sage PXE download image to specify folder.(ex: C:\PROGRAM FILES\INTEL\PXE\PDK\SYSTEM\IMAGES\X86PC\UNDI\DOSUNDI)

Allen

星期四, 6月 17, 2004

PXE for Sage XPe image deploy

1. XPe Server enviroment
1-1. DHCP Server
1-2. PXE option
1-3. .0 bootstrap prepare

2. XPe client OS prepare
2-1. linux kernel (.1)
2-2. linux initrd (.2)
2-3. SAMBA mount implement
2-4. automatic download script
2-5. progress bar implement

3. Integration testing

work around:
1. using DOS boot image to be the PXE download image.
2. need a hard drive sector dump tools.
3. security improve.(ex: security key function implemnet)


Allen

星期三, 6月 02, 2004

MST NIC testing

porting base on linux driver/net/8139c.c and Grant MST optest.c

references document: DP83816 data sheet, Realtek 8100C data sheet

1. pci configuration for NIC 8100C

2. eeprom read/write

3. vsprintf implement

4. NIC testing routine

Allen

星期二, 6月 01, 2004

MST LPT testing

Base on memtest86 project(http://www.memtest86.com) & Grant MST LPT source code.

1. lpt.cpp -> lpt.c
1-1. replace inb, outb
1-2. include io.h
1-3. replace printf -> cprint

2. modify the Makefile
2-1. lpt.o

3. modify the do_test() in main.c
3-1. include lp.h

Allen

星期日, 5月 16, 2004

MST 進度一

目標:
MST 進度一:找出porting 現有的 Franklin MST code 的片段至 DOS or 單純的執行環境

方向:

1. 藉由 Jean 提出的範例,想辦法導入 main(), 做 com port 測試

2. DOS MST code, 設法使用 BIOS 提供的中斷服務

Allen

MST 開發環境建置

1. Masm 6.11
1-1. install masm 6.11 by using masm 6.11 setup
1-2. patch masm ml(6.14), link(5.6.3), nmake(1.5), replace the ml.exe(6.11d), ml.err(6.11d) which comes with the Windows 98 DDK.

2. VC++ 6.0
2-1. install VC++ 6 by using Visual Studio 6 disc 1 setup
2-2. patch the VC++ 6 to sp5

3. prepare MST source code.
3-1. copy MST source code to drive c:
3-2. move the toolkit folder to driver c:
3-3. modify the masm611.bat, create msvc600.bat by inherit the msvc153c.bat & modify.

Opening

開始了!