Re: [android] Building Android from the Koolu Source
Jim Ancona wrote: I've been able to successfully build an Android rootfs from the Koolu repository. When flashed to my phone with the kernel that Sean provided, it runs with just about the same set of issues as the images that Sean has put up. I've documented how I did it on the wiki at: http://wiki.openmoko.org/wiki/Android#Building_the_Koolu_Android_Source Have you been able to get the emulator working with the build sysimage? In my experience, the emulator came up but the phone stays always with a black screen while my CPU us over-used. I've waited some minutes but nothing happens... Is this maybe due to the fact that the android-freerunner distro tries to set some values valid only for GTA0x hardware (i.e. /sys nodes)? How would you suggest to develop using the koolu tree without testing in real hardware? -- Treviño's World - Life and Linux http://www.3v1n0.net/ ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: [android] Building Android from the Koolu Source
Marco Trevisan (Treviño) wrote: Have you been able to get the emulator working with the build sysimage? In my experience, the emulator came up but the phone stays always with a black screen while my CPU us over-used. I've waited some minutes but nothing happens... Is this maybe due to the fact that the android-freerunner distro tries to set some values valid only for GTA0x hardware (i.e. /sys nodes)? How would you suggest to develop using the koolu tree without testing in real hardware? I doubt the Android emulator would work because it emulates different hardware--not even the same CPU instruction set as the Freerunner. You could try the Openmoko QEMU emulator. See the wiki at: http://wiki.openmoko.org/wiki/QEMU If that works please update the info on the wiki! Jim ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: [android] Building Android from the Koolu Source
Hi, On Thu, Dec 4, 2008 at 8:43 PM, Jim Ancona [EMAIL PROTECTED] wrote: I've documented how I did it on the wiki at: http://wiki.openmoko.org/wiki/Android#Building_the_Koolu_Android_Source we would like this to be as straightforward as possible, so a few hours ago I added the required toolchain to the git repo and patched the necessary build files to use that toolchain by default. If you go to http://git.koolu.org/ and follow the instructions form there (basically download repo, do a repo init and repo sync) you should be able to build everything from source with just: $ make TARGET_PRODUCT=freerunner I find it easier to just do this $ echo TARGET_PRODUCT:=freerunner buildspec.mk and then afterwards: $ make Hopefully this allows everyone interested to work on the code — as opposed to working on build system around the code. Thanks! Marcelo ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: [android] Building Android from the Koolu Source
Marcelo wrote: Hi, On Thu, Dec 4, 2008 at 8:43 PM, Jim Ancona [EMAIL PROTECTED] wrote: I've documented how I did it on the wiki at: http://wiki.openmoko.org/wiki/Android#Building_the_Koolu_Android_Source we would like this to be as straightforward as possible, so a few hours ago I added the required toolchain to the git repo and patched the necessary build files to use that toolchain by default. If you go to http://git.koolu.org/ and follow the instructions form there (basically download repo, do a repo init and repo sync) you should be able to build everything from source with just: $ make TARGET_PRODUCT=freerunner I find it easier to just do this $ echo TARGET_PRODUCT:=freerunner buildspec.mk You can also do a $ . build/envsetup.sh $ choosecombo and then select defaults for first 2 questions and freerunner for last. and then afterwards: $ make Hopefully this allows everyone interested to work on the code — as opposed to working on build system around the code. Thanks! Marcelo ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: [android] Building Android from the Koolu Source
Hi, In order to make the compile process straightforward as Marcelo said, I've made these 2 scripts compile.sh and build-jffs2.sh (a combination of Sean scripts cp_android_OS and mkjffs2). Place them in the root of Koolu source tree and then to compile and produce de jffs2 image, do: $ ./compile.sh $./build-jffs2.sh release androidfs.jffs2 On Fri, Dec 5, 2008 at 4:14 AM, Marcelo [EMAIL PROTECTED] wrote: Hi, On Thu, Dec 4, 2008 at 8:43 PM, Jim Ancona [EMAIL PROTECTED] wrote: I've documented how I did it on the wiki at: http://wiki.openmoko.org/wiki/Android#Building_the_Koolu_Android_Source we would like this to be as straightforward as possible, so a few hours ago I added the required toolchain to the git repo and patched the necessary build files to use that toolchain by default. If you go to http://git.koolu.org/ and follow the instructions form there (basically download repo, do a repo init and repo sync) you should be able to build everything from source with just: $ make TARGET_PRODUCT=freerunner I find it easier to just do this $ echo TARGET_PRODUCT:=freerunner buildspec.mk and then afterwards: $ make Hopefully this allows everyone interested to work on the code — as opposed to working on build system around the code. Thanks! Marcelo ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community compile.sh Description: Bourne shell script build-jffs2.sh Description: Bourne shell script ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community