Re: [Haret] HTC Apache Linux

From: Kevin O'Connor <kevin_at_koconnor.net>
Date: Thu, 13 Sep 2007 20:04:20 -0400

Hi,

I'm moving this to the htc mailing list as it isn't really haret
specific.

On Thu, Sep 13, 2007 at 11:10:48AM -0400, DJ wrote:
> Kevin,
> I am not the same person. It looks like the HaRET version I was
> running was the problem. I had compiled my own kernel (2.6.21-hh16) and
> modules, and using the HaRET version you provided the link for booted my
> kernel. It doesn't boot 100% of the time though ... Maybe about 25% of
> the time, it locks up at the "Jumping to kernel".

That is odd - it boots reliably for me. You can try adding "set
kernelcrc 1" to your startup.txt file to see if there is corruption
during the boot. Also, is it possible you had different
irda/bluetooth/wifi/phone settings during the different attempts?

>Are there audio
> drivers for the Apache? If so, how do I include them in my kernel?

Yes. You need to build the sound as modules - make sure the following
is in your .config:

CONFIG_SND_HTCAPACHE=m
CONFIG_SND_PXA2xx_I2SOUND=m

> Now the important stuff ... How can I help develop an app to make
> and receive calls? I would also like to help get EVDO running.

It will be necessary to reverse engineer the phone interface. I've
put some info up at:

http://www.handhelds.org/moin/moin.cgi/ApachePhoneTrace

However, there are a bunch of "binary blobs" going back and forth
between the phone during initialization. So, it may be necessary to
disassemble the wince drivers. The rilphone.dll looks most promising.

>How
> does one write a GUI app?

You'll need to look into familiar, angstrom, gpe, and/or opie for
that.

> Just thought of two more questions ... Does the Wifi work (and if so,
> how do I config it)?

I have had reports of success, but it is not something I've played
with. If you follow the directions at:

http://www.handhelds.org/moin/moin.cgi/ApacheLinux

and built an image that boots into "familiar" linux, then the wifi
tools should be there. Take a look through the standard wifi on linux
docs for how to proceed.

>and ... Does usb networking work? Can I usb
> network to a windows machine? If so, how do I config?

The usb net works and works well. It has been most tested when
connected to a linux host, however I've heard that it is now possible
to use a windows host. (Update to the latest kernel if you want to
try this, and make sure you have CONFIG_USB_ETH_RNDIS set.)

-Kevin
Received on Thu Sep 13 2007 - 20:37:53 EDT

This archive was generated by hypermail 2.2.0 : Thu Sep 13 2007 - 20:38:10 EDT