froyo build for x86

22 views
Skip to first unread message

abhi

unread,
Dec 9, 2010, 1:46:09 AM12/9/10
to Android-x86
Hi,

I build the froyo on x86 but my kernel image size is very small it
showing only 36 byte.

I just follow the steps given of the blogs.

$ repo init -u git://android.git.kernel.org/platform/manifest.git
$repo sync
$make -j2 TARGET_PRODUCT=generic_x86

I try to build the iso_img but it gives error iso_img not found

please help

Thanks
Abhi

Mushishi

unread,
Dec 9, 2010, 2:23:24 AM12/9/10
to Android-x86
Hi do this... not that it will work with this line but it will be a
way for us to see where it fails.

make -j2 TARGET_PRODUCT=generic_x86 > ~/debug_1.txt

and do one more also like this:

make -j2 iso_img TARGET_PRODUCT=generic_x86 > ~/debug_2.txt

and then upload the 2 debug files to a filehosting site and give me a
link... also write what your host system is that you build it on.

:)

Chih-Wei Huang

unread,
Dec 9, 2010, 2:30:01 AM12/9/10
to andro...@googlegroups.com
2010/12/9 abhi <abhiji...@gmail.com>:

> I build the froyo on x86 but my kernel image size is very small it
> showing only 36 byte.
>
> I just follow the steps given of the blogs.
>
> $ repo init -u git://android.git.kernel.org/platform/manifest.git

Use android-x86 repository, not AOSP.

Also specify the branch you want to use, e.g., froyo-x86.


> $repo sync
> $make -j2 TARGET_PRODUCT=generic_x86
>
> I try to build the iso_img but it gives error iso_img not found

--
Chih-Wei
Android-x86 project
http://www.android-x86.org

Mushishi

unread,
Dec 9, 2010, 2:34:06 AM12/9/10
to Android-x86
Missed that... damn i should have stayed at bed...


On Dec 9, 8:30 am, Chih-Wei Huang <cwhu...@android-x86.org> wrote:
> 2010/12/9 abhi <abhijit.ha...@gmail.com>:

abhi

unread,
Dec 9, 2010, 4:21:30 AM12/9/10
to Android-x86
>Use android-x86 repository, not AOSP.

>Also specify the branch you want to use, e.g., froyo-x86.

I already add froyo-x86 AOSP I just forget to mention.
froyo-x86
$repo sync
$make -j2 TARGET_PRODUCT=generic_x86


>Hi do this... not that it will work with this line but it will be a
>way for us to see where it fails.
>
>make -j2 TARGET_PRODUCT=generic_x86 > ~/debug_1.txt
>
>and do one more also like this:
>
>make -j2 iso_img TARGET_PRODUCT=generic_x86 > ~/debug_2.txt
>
>and then upload the 2 debug files to a filehosting site and give me a
>link... also write what your host system is that you build it on.

I created the files as follows
1. make -j2 TARGET_PRODUCT=generic_x86 > ~/debug_1.txt
http://www.mediafire.com/?cx43xalg3fk7gcu
2. make -j2 iso_img TARGET_PRODUCT=generic_x86 > ~/debug_2.txt
http://www.mediafire.com/?nrf1une3x9qb3d0

I build the android repo successfully with no errors but the kernel
image was not created.

To build android, I done some changes in repo to compile in 32 bit
machine and add sigsetjmp.S to bionic/libc/arch-x86/bionic/
directory.

My machine configuration is

cpu: Intel(R) Pentium(R) CPU E5300 @ 2.60GHz
OS: Opensuse 11.3

Mushishi

unread,
Dec 9, 2010, 4:38:01 AM12/9/10
to Android-x86
You do remember the -b to select the froyo-x86 branch...

Like this:

repo init -u git://git.android-x86.org/manifest.git -b froyo-x86

Also you was not getting the repo from the right git server... witch
was also what Chih-Wei did mean... Did not catch that...

abhi

unread,
Dec 9, 2010, 4:46:42 AM12/9/10
to Android-x86

sorry once again I copied the wrong step and I don't mention the whole
procedure

I used this url to build the froyo-x86
http://www.android-x86.org/getsourcecode
and I use the following steps

$ mkdir android-x86
$ cd android-x86
$ repo init -u git://git.android-x86.org/manifest.git -b froyo_x86
$ repo sync
$ make -j2 TARGET_PRODUCT=generic_x86

the debug_1.txt is output of this procedure.

and it fails for this command
$ make -j2 iso_img TARGET_PRODUCT=generic_x86
giving error
"make: *** No rule to make target `iso_img'. Stop."

thanks
abhi

Al Sutton

unread,
Dec 9, 2010, 5:11:26 AM12/9/10
to andro...@googlegroups.com
Please read the previous reply carefully.

You have made a typo.

Al.

> --
> You received this message because you are subscribed to the Google Groups "Android-x86" group.
> To post to this group, send email to andro...@googlegroups.com.
> To unsubscribe from this group, send email to android-x86...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/android-x86?hl=en.
>

abhi

unread,
Dec 9, 2010, 5:15:42 AM12/9/10
to Android-x86
its not froyo_x86 its froyo-x86 my mistake
$ repo init -u git://git.android-x86.org/manifest.git -b froyo-x86

Mushishi

unread,
Dec 9, 2010, 5:35:51 AM12/9/10
to Android-x86
I think you have to start from the start with getting the source from
the git again...

If you notice when you start the build and compair it to what my
buildserver list in the start of the build.

============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=2.2.1
TARGET_PRODUCT=generic_x86
TARGET_BUILD_VARIANT=eng
TARGET_SIMULATOR=
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=x86
HOST_ARCH=x86
HOST_OS=linux
HOST_BUILD_TYPE=release
BUILD_ID=MASTER
============================================
Message has been deleted

abhi

unread,
Dec 10, 2010, 2:29:39 AM12/10/10
to Android-x86
I google it this problem and I came to know that I have to build the
separate kernel image for x86 or modify the android source tree to
compile the kernel in the repo itself.

I done that now, but after that I am lacking the initrd.img

How I build the initrd.img and How I make the iso_img to make the live
cd or live usb????


Mushishi

unread,
Dec 10, 2010, 2:40:40 AM12/10/10
to andro...@googlegroups.com
Well everything gets build when you do a make iso_img that builds the kernel and it all that is needed... 

I had some problems when adding the latitude to my source tree on my server that it would not build the kernel and from a little googling i found a post here saying you dont build the kernel manual as it taint the kernel source... 

as i did say before... i would delete all the files in the folder and get the source again and then do a 
make -j2 iso_img TARGET_PRODUCT=generic_x86 

Then i am 100% sure you will get a finished iso.


abhi

unread,
Dec 10, 2010, 5:08:40 AM12/10/10
to Android-x86
problem accessing repo
it giving error

fatal: The remote end hung up unexpectedly
error: Cannot fetch platform/bionic




Al Sutton

unread,
Dec 10, 2010, 5:13:00 AM12/10/10
to andro...@googlegroups.com
I've just done a repo sync with a couple of timeouts, might be worth waiting a while and trying again in case there's something funny going on in the internet :).

Chih-Wei Huang

unread,
Dec 10, 2010, 10:40:00 AM12/10/10
to andro...@googlegroups.com
Someone still has issue to sync from our main git server,
which located at Taiwan.

If you have such a problem, try the SourceForge mirror,
as explained in the GetSource page.

2010/12/10 abhi <abhiji...@gmail.com>:

You need not to build anything separately.
Just one make command and one goal, iso_img or usb_img.
If you can't make it, you did something wrong.
Review your each step and correct the problems.

abhi

unread,
Dec 11, 2010, 1:01:35 AM12/11/10
to Android-x86
thank u all

I build the iso image finally. but i m still having a problem. it
boots, but after booting the output screen is blur vertically. so i
cant do nothing on it.

I boot this by using unetbootin.

abhi

unread,
Dec 11, 2010, 4:07:28 AM12/11/10
to Android-x86


I build iso once again with the eeepc as TARGET_PRODUCT and it works
fine for me but when I buil it for generic x86 the android screen is
blur verically.

Thanks a lot guys

Reply all
Reply to author
Forward
0 new messages