Re: Porting to HTC Beetles

From: pHilipp Zabel <philipp.zabel_at_gmail.com>
Date: Fri, 7 Mar 2008 09:46:30 +0100

Hi Brandon,

On Fri, Mar 7, 2008 at 5:23 AM, Brandon Pedersen <bpedman_at_gmail.com> wrote:
> 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.

These questions are not specific to Beetles or even HTC PDAs anymore,
it might make sense to post them to the broader audience on the OE or
Ångström lists instead.

> 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?

OpenEmbedded builds its own cross toolchain from source. For
DISTRO="angstrom" and armv5te machines you'll get arm-linux-gnueabi...

> 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?

For some reason qemu-native can't be built with gcc 4.x, so you need a
native gcc 3.x on your host. Install your distro's gcc-3.4 package.

> 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,

Yes. The image recipe just selects the packages to be installed in the
image, there's x11-image, then images for opie, qtopia, gpe, e,
openmoko, etc.
No idea which of those are supported, though. Maybe look at the stable
binary download section on angstrom-distribution.org.

regards
Philipp
Received on Fri Mar 07 2008 - 03:46:31 EST

This archive was generated by hypermail 2.2.0 : Fri Mar 07 2008 - 03:46:45 EST