RE: Porting to HTC Beetles

From: Brandon Pedersen <bpedman_at_gmail.com>
Date: Thu, 6 Mar 2008 21:23:11 -0700

Well, finally after all this time...been busy with school and work...I have
had a chance to play around a little more. I have had a look and it seems
that the HTC Sable kernel works pretty good. Looks like there are just minor
differences between the sable and beetles which is good. I was able to
successfully build the kernel and got it to boot...just died at the end
because I had no disk image for it to use.

So now I am on to testing out a distribution. I have looked a lot at the
openembedded wiki and have got the angstrom-2007.1 stable branch downloaded
and mostly ready to build. I just have a few questions.

First of all I am not sure how to tell if it is actually using the right
toolchain to build the packages. What setting in the conf file do I need to
set to make it use the right toolchain? Also, I am using the codesourcery
arm toolchain. The prefix is arm-none-eabi...is this the proper toolchain to
be using?

I was just testing out a build of a single package, nano, like it shows on
the OE wiki. It went for a while and then died trying to compile some qemu
package, complaining that I was using gcc v. 4 rather than v.3...this is
what made me wonder if I am using the right tool chain and such. Should I be
using gcc v. 3 or should I use the option it said...something that overrides
it checking which version of gcc you have?

Finally, is there a command to just have it build an Angstrom image for me?
I noticed on the wiki you could just do bitbake opie-image...I guess I may
be a little mixed up on my terms here, is opie like a package for Angstrom
like gnome for ubuntu or something like that? Anyway, thanks so much for the
help,

-Brandon

-----Original Message-----
From: pHilipp Zabel [mailto:philipp.zabel_at_gmail.com]
Sent: Friday, January 11, 2008 4:15 AM
To: Brandon Pedersen
Cc: htc-pxa_at_handhelds.org
Subject: Re: [Htc-pxa] Porting to HTC Beetles

Hi Brandon,

On Jan 11, 2008 2:45 AM, Brandon Pedersen <bpedman_at_gmail.com> wrote:
> Hi all,
>
> So, I am a newb here but I wanted to get started researching and helping
out
> to get Linux ported to the HTC Beetles (a.k.a. iPAQ hw65xx…mine is a
> hw6515a). I wanted to get a few suggestions as to where to begin to figure
> out what still needs to be done to get Linux working. Ideally I would love
> to get Familiar working with it.

I propose to forget about Familiar and have a look at Ångström
instead. But before deciding on a distribution you need at least basic
kernel support. I don't know off-hand how far the Sable/Beetles port
has progressed before lkcl ran out of time, but the code at
http://handhelds.org/cgi-bin/cvsweb.cgi/linux/kernel26/arch/arm/mach-pxa/htc
sable/
looks pretty complete to me on a quick glance.

> So what steps do I need to take and where
> should I look for information? I noticed that a little bit of research has
> already been done, HaRET boots on the device (not mine yet) and can give
> some information so that's a step but what other things need to happen?

Others probably know more about the current status, but I'd say first
you should try to get the 2.6.21-hh20 kernel to boot and then work
from there.

> Also, I found a couple of guides that talk about how to port linux to a
new
> PDA. Mine is a phone as well and just wondering what other things are
> involved or how different the process would be from porting it just to a
> PDA.

It's exactly the same for PXA devices. They are just PDAs with a GSM
chip add-on, after all.

regards
Philipp
Received on Thu Mar 06 2008 - 23:23:14 EST

This archive was generated by hypermail 2.2.0 : Thu Mar 06 2008 - 23:23:28 EST