From: Christopher Friedt <chrisfriedt@gmail.com>
To: gentoo-embedded@lists.gentoo.org
Subject: Re: [gentoo-embedded] Android phones
Date: Thu, 5 Nov 2009 14:54:59 +0100 [thread overview]
Message-ID: <3ea34a000911050554u7ef47a78o70097bc9bad4ab17@mail.gmail.com> (raw)
In-Reply-To: <4AEB3FE2.7040203@tampabay.rr.com>
On Fri, Oct 30, 2009 at 8:34 PM, wireless <wireless@tampabay.rr.com> wrote:
> Can the gentoo embedded, openmoko, or any other
> embedded linux stack run on the (verizon) Android
> (verizon droid) phone?
yes.
my suggestions would be to
1) cross-compile busybox statically for armv5tel
2) push the busybox binary (and symlinks) to the device using adb
3) download a gentoo stage3 filesystem for armv5tel
4) extract the filesystem to a suitable memory card
5) log in to the device using 'adb shell'
6) execute '/bin/ash' (the busybox shell)
7) mount proc sys dev -o bind to your memory card, where the gentoo
root is installed
8) chroot to the gentoo root filesystem
If you do that, you'll have android and gentoo 'running' on the device
at the same time. I'm not sure how easy it is to do all of that on a
Motorola Droid, and you might need to make some software modifications
to start the adb (android debug bridge) service on the device.
You can of course do the same with an OpenMoko filesystem image
instead of a Gentoo filesystem image. Unfortunately, you won't be able
to use the framebuffer while Android is using it (AFAIK).
> Isn't the Android(2.0) phone just somebody's Linux
> stack? If so, is it an open/hackable embedded
> linux stack for an Arm?
I would suggest that you ask Motorola to release the source code for
their Droid Linux kernel. Aside from that, all of the available source
and documentation for Android is at http://source.android.com . Note
that most of the 'good' Android apps are not open source - they (e.g.
Google, Motorola, HTC) can get away with that because the userland is
made available under an Apache-2.0 license.
If you really want to experiment, then try to modify the Droid boot
loader so it will boot into your Gentoo root on /dev/mmcblk0p1 or
something instead of /dev/mdtblockX (where Android resides). You'll
probably want to check out mtd-utils to do that. Warning: You'll most
likely void your warranty by doing so, and you might end up with a
bricked device.
IMHO - the best (current) device you can use for a hackable handheld
is the Nokia N900 - I wish I had one myself.
Good luck!
next prev parent reply other threads:[~2009-11-05 13:55 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-30 19:34 [gentoo-embedded] Android phones wireless
2009-11-02 7:43 ` Sven Rebhan
2009-11-05 13:54 ` Christopher Friedt [this message]
2009-11-05 14:30 ` wireless
2009-11-05 15:17 ` Raffaele Recalcati
2009-11-05 18:54 ` Mike Dunn
2009-11-05 19:21 ` wireless
2009-11-05 20:56 ` Christopher Friedt
2009-11-06 13:55 ` wireless
2009-11-06 21:02 ` Mike Dunn
2009-11-06 21:47 ` wireless
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3ea34a000911050554u7ef47a78o70097bc9bad4ab17@mail.gmail.com \
--to=chrisfriedt@gmail.com \
--cc=gentoo-embedded@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox