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 ) id 1N62nk-0001XG-V5 for garchives@archives.gentoo.org; Thu, 05 Nov 2009 13:55:01 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 317BCE09AD; Thu, 5 Nov 2009 13:55:00 +0000 (UTC) Received: from mail-pw0-f47.google.com (mail-pw0-f47.google.com [209.85.160.47]) by pigeon.gentoo.org (Postfix) with ESMTP id E953DE09AD for ; Thu, 5 Nov 2009 13:54:59 +0000 (UTC) Received: by pwj4 with SMTP id 4so178735pwj.26 for ; Thu, 05 Nov 2009 05:54:59 -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=t/0RgD9/JeMP1PDuN8BN381iunB6Ux2DEkHen+puLSc=; b=nGLzyrAnufQQ6NYnL1mseMQjy95Pb31FZLTWAsw0UBVyRHCP6G77uV6/oqGOg2KNG8 7C9qOWlZ4r+ClgjB48CkOORiq4VvyiX614MsJAhjjbX9/lI4cArvlkTKe9mShv+Q0Q0h VrjSbaEFGFXQTWOH1s4tVtS18Fl2lCPJgEvDA= 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=DlT87yOn+/G49mJj1fEbdPxakn6Gq8tEa0JkyZ473jDZvEzzwmB3NDm6Yg9Lc5IuVW KZ2m8tgGfbwGzAxScj3RK+2Oec7fabrTmRAcMspg8nZ+NEP7APG0CVR5lu9obVGupBwh omiGCdgM8L8avbvY+I3aG3iTZlMzlaymmA7YE= Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-embedded@lists.gentoo.org Reply-to: gentoo-embedded@lists.gentoo.org MIME-Version: 1.0 Received: by 10.140.208.12 with SMTP id f12mr163709rvg.279.1257429299505; Thu, 05 Nov 2009 05:54:59 -0800 (PST) In-Reply-To: <4AEB3FE2.7040203@tampabay.rr.com> References: <4AEB3FE2.7040203@tampabay.rr.com> Date: Thu, 5 Nov 2009 14:54:59 +0100 Message-ID: <3ea34a000911050554u7ef47a78o70097bc9bad4ab17@mail.gmail.com> Subject: Re: [gentoo-embedded] Android phones From: Christopher Friedt To: gentoo-embedded@lists.gentoo.org Content-Type: text/plain; charset=ISO-8859-1 X-Archives-Salt: 6a02a650-ef7c-4423-9250-ca0895889273 X-Archives-Hash: 811d6c8ae0f11f47398b19c3ee62b5ca On Fri, Oct 30, 2009 at 8:34 PM, wireless 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!