[haiku-gsoc] GSoC Blog content from Jian

  • From: Jian Chiang <j.jian.chiang@xxxxxxxxx>
  • To: haiku-gsoc@xxxxxxxxxxxxx
  • Date: Mon, 16 May 2011 22:17:06 +0800

Hi List,

Becaus I can't login into www.haiku-os.org, so I can't post GSoC blog
myself. Would somebody kindly help me to post the content? The userid is
chiang.

PS: I tried firefox, IE8, chrome, no success. I can login
dev.haiku-os.org and checkout haiku source successfully. The only
issue is can't login into www.haiku-os.org. Dunno why.

Hi Matt,

Sorry to be late to send the content. I have some exams in last few days;)

Thanks,
Jian

///////Blog content/////////
My name is Jian Chiang. I'm a master student from Shanghai
University. I'm a four years Linux user. During the past 2 years, I wrote
some embedded Linux kernel drivers such as ethernet, uart etc.

During this summer, I will add USB3.0 support to haiku. The
most work would be implementing the xHCI controller driver. Extensible
Host Controller Interface (xHCI) is the newest host controller standard
that improves speed, power efficiency and virtualization over its
predecessors. The interface is also backwards compatible to USB2.0 and
USB1.0 and will evntually replace the OHCI/UHCI and EHCI. It supports all
USB device speeds. Any changes to USB stack? Very little. So far I don't
think there's any need to change the stack. It's interesting to mention
freebsd didn't change its USB stack when it added usb3.0 support.

After implementing basic doorbell array and TRB (Transfer Request
Block)Ring data structures and operations, I can add irq handler and test
the above structures and operations using so called "NO-OP" command. Then
XHCIRootHub is the next task. After this, I will implement the real
transfers. As is known to all, USB support four type transfers: Control,
Bulk, interrupt and isochronous. So the main work is implementing them
using haiku's USB stack API.

Is it easy? Yes and No. The steps are easy. Design and Coding in Every step
is a bit hard. But don't worry, I have 2 years experience of driver
development and will try my best this summer!

Other related posts: