From: Raffaele Recalcati <lamiaposta71@gmail.com>
To: gentoo-embedded@lists.gentoo.org
Subject: Re: [gentoo-embedded] Android phones
Date: Thu, 5 Nov 2009 16:17:31 +0100 [thread overview]
Message-ID: <ade1bdc0911050717v783aa50fkfe01651316ec8fe@mail.gmail.com> (raw)
In-Reply-To: <4AF2E16D.7010503@tampabay.rr.com>
remind that the kernel has inside android patches, not, even if your
gentoo is chrooted, it could have some pb anyway
2009/11/5 wireless <wireless@tampabay.rr.com>:
> Christopher Friedt wrote:
>> 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).
>>
>
> Nice to know.
>
>>> 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.
>
> I do not think I'll be leading the charge here.
> Just looking for folks that I can follow on
> putting eGentoo on a cell phone, with wifi and
> compatible with Verizon.
>
>> 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.
>
> I do not think the DROID phone is what I want,
> after looking more closely... However, I am wedded
> to Verizon, for a variety of reasons, so the cell
> phone I choose should run Gentoo and work with
> Verizon and WiFi.
>
>> IMHO - the best (current) device you can use for a hackable handheld
>> is the Nokia N900 - I wish I had one myself.
>
> I do not see much about this phone on Verizon's
> wireless plans..... I could consider T-mobile?
> I'm not sure about how good the T-mobile coverage
> is in Florida?
>
>
> James
>
>
>
next prev parent reply other threads:[~2009-11-05 15:17 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
2009-11-05 14:30 ` wireless
2009-11-05 15:17 ` Raffaele Recalcati [this message]
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=ade1bdc0911050717v783aa50fkfe01651316ec8fe@mail.gmail.com \
--to=lamiaposta71@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