From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org)
	by finch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-embedded+bounces-3235-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1N645d-0003S7-HF
	for garchives@archives.gentoo.org; Thu, 05 Nov 2009 15:17:33 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 83028E0A8C;
	Thu,  5 Nov 2009 15:17:32 +0000 (UTC)
Received: from mail-qy0-f191.google.com (mail-qy0-f191.google.com [209.85.221.191])
	by pigeon.gentoo.org (Postfix) with ESMTP id 5BD6EE0A8C
	for <gentoo-embedded@lists.gentoo.org>; Thu,  5 Nov 2009 15:17:32 +0000 (UTC)
Received: by qyk29 with SMTP id 29so33362qyk.32
        for <gentoo-embedded@lists.gentoo.org>; Thu, 05 Nov 2009 07:17:32 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=gamma;
        h=domainkey-signature:mime-version:received:in-reply-to:references
         :date:message-id:subject:from:to:content-type;
        bh=xfW+cspCGqnmTr/Zg1QGd+L7mYYZ8kkFLI/OBYTWzSk=;
        b=UZxF1fzs8xSziGDmAbxSGbaDlOSFthJl3UXjNGr461/MGx7vyAHzsIbasEzOexkwfV
         DhGtz+lTRvq4bkOIFgqKLmxdPPsK0YQ4j4lr/oBrVNLqspdwyY3+bGSgUswvhG+HxfLe
         XARiNpCRvDVGUi9YO/E4wEwT3CAualh/cseec=
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=gmail.com; s=gamma;
        h=mime-version:in-reply-to:references:date:message-id:subject:from:to
         :content-type;
        b=SGvctxDI9MltxS0sdPgTLj5d9Jqo8wFObTr/L6NJAtq5SRwQDXfUHuCxvtMRRDOZKp
         P7SBywJzSWtF1vjSkZ0pp9Ldrsec0wXt2y2noI7OZiiFyYpfEUmXpKJKnobxL7vA+rH2
         uYdaysubGdIbH2+QXHsRcbWN0yGqnQvfZ4s1M=
Precedence: bulk
List-Post: <mailto:gentoo-embedded@lists.gentoo.org>
List-Help: <mailto:gentoo-embedded+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-embedded+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-embedded+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-embedded.gentoo.org>
X-BeenThere: gentoo-embedded@lists.gentoo.org
Reply-to: gentoo-embedded@lists.gentoo.org
MIME-Version: 1.0
Received: by 10.239.139.209 with SMTP id u17mr278123hbu.79.1257434251156; Thu, 
	05 Nov 2009 07:17:31 -0800 (PST)
In-Reply-To: <4AF2E16D.7010503@tampabay.rr.com>
References: <4AEB3FE2.7040203@tampabay.rr.com>
	 <3ea34a000911050554u7ef47a78o70097bc9bad4ab17@mail.gmail.com>
	 <4AF2E16D.7010503@tampabay.rr.com>
Date: Thu, 5 Nov 2009 16:17:31 +0100
Message-ID: <ade1bdc0911050717v783aa50fkfe01651316ec8fe@mail.gmail.com>
Subject: Re: [gentoo-embedded] Android phones
From: Raffaele Recalcati <lamiaposta71@gmail.com>
To: gentoo-embedded@lists.gentoo.org
Content-Type: text/plain; charset=ISO-8859-1
X-Archives-Salt: 8fe8304d-6710-412e-b039-72be152338d8
X-Archives-Hash: e83847305a626a6fdfd55c43b238418d

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