星期六, 6月 16, 2007

ADI Blackfin solution

ADI Blackfin could run uClinux.

http://hhcn.com/chinese/files/uClinux%20on%20BLACKFIN%20v1.1.pdf

U-Boot information

This note is just for u-boot search tracking from Google.

U-Boot porting.
http://www.lupaworld.com/23340/viewspace_4342.html
http://www.lupaworld.com/23340/viewspace_4343.html
http://www.lupaworld.com/23340/viewspace_13738.html

星期一, 4月 16, 2007

Developing with VS2005 C#

設計概念:

語言(C#)
基本上以前寫了不少C的程式,所以先進入 C++,再找到 C++ vs C# 異同處。

Framework (.NET 2.0)
這部分躲不了,應該就只能透過一系列的範例程式來掌握怎麼快速利用 .NET 2.0 framework 的物件了。

以上是轉換的概念~

星期日, 4月 15, 2007

Write once, run on Mac & Windows? (C#)

I try to get into Mac OS X programing world recently. The link as below is the new oppertunity of C#.
Have a look!

English Version: Creating Mac OS X applications with MS Visual Studio Express http://mac.sillydog.org/dev/visual_studio.php

Chinese Version: http://www.iim.nctu.edu.tw/~toki/CSharpOnOSX/c%23osx.html

Maybe in the near futhure, we will see the the possibilty of "Write once, run on Mac & WIndows".
Of course, you can say Java already done this, but C# ? This is my point.

星期三, 1月 10, 2007

NMAKE : fatal error U1065: invalid option '-'

I found this message while building CE image.
Why? because of the MAKEFLAG cause nmake error.
So, clear the MAKEFLAG to resolve this problem.

星期四, 12月 28, 2006

PXA255 MSCx[2:0] setting?

I saw the MSC0_VAL in PXA255 initial code & tried to found how to calculate the best setting for PXA255 with Intel P30 Flash, Yamaha YGV628.
The RDFx, RDNx, RRRx registers are difficult to understand why the value of them came from.

For P30 Flash:
I found the Application Note 768 (Intel Strata Flash Memory(J3) to Intel PXA270 Applications Processor Design Guide). This document mentions the RDFx, RDNx, RRRx came from Intel PXA270 clock speed & flash read/write timing. So, that's it.

星期二, 12月 26, 2006

Which files to add to repository?

Which files to add to repository?

As programer, we need to know the purpose of every file in our project to have fully control.
This document is about the files of Visual C++ & embedded Visual C++ which need to be put into our version control.
the url link: http://www.jeffhung.net/blog/articles/jeffhung/348/.

星期四, 12月 21, 2006

The Intel P30 Flash with Windows CE 4.2 FMD driver

1. I found the jflashmm could write correctly with P30 Flash. So, to fully understand the code of jflashmm could help me to know how to modify the CE driver.

1-1. modify the dbpxa255.dat (the memory map part)
1-2. use the Flash_891c_2_32.dat (the P30 series flash have 4 x 32K Block + 255 x 128K block)

the CE side:
2-1. to know the inside of FMD driver(Intel Strata) comes with CE 4.2.
2-2. to modify the strata driver to fit the P30 spec, especially the mechanism of block lock & block arrangement.

星期四, 12月 14, 2006

Using USB KITL under Windows CE

Using USB KITL under Windows CE.

This is the on going project for me, to create an USB debug environment under Windows CE.NET or later. I will keep update the related info or my testing result.

RNDIS driver architecture differences between Windows CE 4.2 and 5.0. http://blogs.msdn.com/cenet/archive/2006/01/07/510512.aspx

Microsoft RNDIS sample use NetChip 2890
http://www.plxtech.com/products/net2000/net2890.asp

星期二, 12月 12, 2006

Install proxy server under Windows XP pro.

The link:
http://cha.homeip.net/blog/archives/2006/04/_winxp_cygwin_s.html

PS: The "acl" define of squid.conf need to be modified to fit the network filter.

星期五, 11月 10, 2006

Installing CVSNT & WinCVS

1. Installing the CVSNT under my Windows XP pro.
- get the cvsnt-2.5.03.2260.msi from my software repository. (You could download the latest version from www.cvsnt.org)
- running the setup program of cvsnt (nothing specical)
- there is no need to reboot system after completed the install process.
- setup the defaul repositoy (example: Location: D:/CVSRepository, Name: /CVSRepository, Description: CVSRoot, Publish repository checked, Default repository checked, Online checked.)
- done.

2. Installing the WinCVS
- get the WinCvs2_0_2-4.zip from www.wincvs.org.
- running the setup program of WinCVS (choosing Typical)
- Set the CVS server related setting by clicking Admin/Login. (example: :pserver:allen@jupiter:/CVSRepository, format is :protocal:user@server:/repository)
- done.


PS: always keep in mind if there is code changed, use "update" before directly commit.

星期三, 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