2008年7月31日 星期四

work0801

  • do ...while
  1. 在loop是條件成立的時候, 所以只要有一個條件不成立則出來 要用 do -- while ((A) && (B) && (C))

Eng0731

  • 修改的
  1. If the issue will cause the project to be suspended or influence other's schedule, we should handle it first.
  2. The more close to the deadline is the issue, and the higher priority handle it.

2008年7月30日 星期三

work0731

  • 放棄新的 uboot verify 程式存在 mysource\ast3000_3pass

0730work

  • uboot
config檔 (ast3000.h)在 uboot/include/configs

2008年7月23日 星期三

work0723

  • video host threshold is 30~40M
  1. maybe 3 pass spend too much time
  2. disable host antitearing

2008年7月22日 星期二

English0723

  • used to
  • require (need)
  • huge
  • instantly
  • directly

English0722

  • Describe a situation in which you were able to use persuasion to successfully convince someone to see things your way.
  1. When my friends have no idea to where to eat dinner or eat what kind of food, I will provide my suggestion and persuade them to follow my opinion. Because I had collect many delicious restaurant for internet and I had already download all addresses the a GPS that can lead our to where we want to go. My friends that fellow my suggestion often can know some restaurant which they never been and don't worry about getting lost.

2008年7月20日 星期日

analog0721

  1. SCU 74 bit16:17, bit23:24 must disable in the host side.
  2. VR108 bit13 must set to 0 (single edge clock mode) and bit 11:10 set to 0(no delay) for the EVB board.
  3. VR30C bit8:15 (Mode detection edge pixel threshold) set to 0x65.

note0721

  • 人參茶

2008年7月19日 星期六

work0719

  • slt
  1. vr58 3pass
  2. vr44 , 48 source1,2 指向同一塊
  3. 檢查 vr54有沒有後面都是1688a8a8只有128bytes
  4. client端解出來會跟host一樣
  5. 讀 frame count 如果大於5表示己經把3pass解完

2008年7月18日 星期五

work0718

  • awk
  1. awk "\\$2==\"$module\" {print \\$1}"
. \\$2, \\$1的 \\是在欄位的開頭,
. \"$module\" 是表用變數 $module
. 整段是說 如果第二欄有符合 變數 $module 的話 , 則print出第一欄

  • uboot
放在 /aspeed/u-boot/u-boot-1.1.4/board/ast3000

2008年7月17日 星期四

自我要求

  1. 晚上才上網
  2. 最近關心的事
  • 減肥
  • 健康
  • 美白
  • 技巧 http://eden.fx120.net/xabd/xbj/20030916090549.htm
  • 求子

a2驗證

  1. RC4 enable , two videos 不用再加128bytes
  2. changemode 很多次會有 stream error (alignment problem)
  • Bug 124
  1. 仍未澄清的bug
  • Bug 84, 86, 87

2008年7月16日 星期三

work0717

  • 1160
  1. bootloader: 在board/ast1160中項目符號
  2. 1160的video程式要寫在主程式內,直接開機就執行
  3. 1160用pci下命令,要在每個register的bit31變成1因為CPU跟x86的edien不一樣,但dram 的位置不用(因為CPU直接access data資料要符合edien就好)
  4. board.c是 uboot 的主程式
  5. HW defination在 ast1160.h
  6. video init是程式馬上就執行的, do_video可以自己做測試的程式
  7. UBOOT的memory直接宣告陣列,就可以要一段記憶体
問題
  1. UBOOT的wait interrutp怎麼寫
  • uboot是個for-loop,只有interrutp發生時才會進入interrupt routine

2008年7月9日 星期三

work0708

  • windows wdm driver
  1. Host 是找第二次map到的address, ulFindChip2
  2. Client是第一次就map, ulFindChip
  • 1160, 的 pci 的 id要改成 1160

2008年7月7日 星期一

work0708

  • 房子
  1. 上層樑位是天花板的樑的大小,位置
  2. 樑位是地板,也就樓下天花板的樑的大小,位置

2008年7月6日 星期日

work0707

  • linux
  1. close會關掉socket連接
  • 可以先關掉accept的socket
  • 主連接的socket最後關掉
  1. 程式自動跳出

2008年7月4日 星期五

english homework

  • ask
  1. My boss asks me to attend tomorrow meeting.
  2. He asks me how to solve this problem.
  3. My friend asks me to his home this night.
  • attach
  1. The file is attached to this email.
  2. This elementary school is attached to the college.
  3. The new coworker is attached to my department.
  • attend
  1. He attends this meeting himself.
  2. She attends her mother carefully.
  3. My teacher asks us to attend what he says.
  • base
  1. This company's base is in Japan.
  2. The movie is based on the true story.
  3. This is a base concept.
  • Be
  1. We will be late for the appointment.
  2. Be quiet, please
  3. H will be here next week.
  • 同時,當研發部門在設計產品時,行銷部門正在努力研擬市場研究計劃
As the coworkers of research department deign product, those of the sales department are trying hard to make the plan of market at the same time.

  • 所以,這就是為何我們要將時間延長為四周,而非原先的三周
Therefore, this is why we want to delay for four weeks, not three weeks originally.

2008年7月3日 星期四

ENG0704

  • a variety of .... or various
  • accelerate performance (sth)
  • The maximum frequency is XXXX
  • The highest throughput
  • (sth) achieve
  • programmable
  • integrate (sth)
  • determine (sth)
  • flexible

work0704

  • 信號處理
  1. 按Ctrl+c會發出SIGINT, kill正在進行的程序,程序停止時會發出,SIGTERM信號
  2. SIGIO 是有關輸入的信號 要配合 fcntl()由driver或檔案來處理
  • MBUS 指 memory bus
支援VMR (powerDVD可以放)
  1. 要有 bltfourcc, 和bltstrentch的功能
DirectDraw test program
  • Fail
  1. blt :
  2. video memory management tests : consume all video memory.
2D engine implement
  • vSetPacketCMDType1_Single

perm0703

  • __GetDDHALInfo 每個feature如何設

2008年7月1日 星期二

網路

  • 當你在 LAN 裡面一台機器發出訊息,此時其實是所有機器都會收到訊息,機器會去判斷是不是自己的
  • HUB跟SWITCH的不同
HUB: 會送給LAN上的電腦, SWITCH:會紀錄MAC ADDRESS, 不會發生送給全部的行為
  • Sniffer作法是
  1. 改變封包來源位址,通通收起來
  2. 幹掉本尊, 冒充本尊的mac address讓switch送資料到我身上
  • 網路卡內有封包過濾器的功能(filter)
TCP/IP 概念
  1. 3-way handshaking
  2. send
  • 先送到通訊協定堆疊(Protocol stack)去暫存,直到通訊協定堆疊緩衝區擠滿了等待傳送的資
料後,才一起將所有的資料傳送出去
  • 直接送出去,將TCP封包標頭中TCP option
    (bit) flags的urgent data flag值設為1,flag值為MSG_OOB 
區分
  • sendto()及recvfrom()功能呼叫大致上是用於UDP資料報型態上的通訊端點
  • send()及recv()功能呼叫則是用於TCP資料流型態上的通訊端點(連線導向).

0702

  • 安裝印表機
  1. 在 /nas/public/printer
  2. 安裝本地印表機
  3. 選新增連接埠 network port
  4. 位址填 192.168.0.10
  • 溢位緩衝區
int len;

if (len > maxlen)
len = maxlen;

copytouse(buf, len);

當len為負時, 會傳進coytouse, 會變成一個很大的整數

eng0702

  • do analysis on
  • put (sth) into the home(game)
  • 複名詞 setup utility
  • describe the LED behavior
  • appear to (waste a lot of bandwidth)造成
  • sth is sensitive to sth
  • In particular, ----