leo-xiong / rowboat

Automatically exported from code.google.com/p/rowboat
https://code.google.com/p/rowboat
0 stars 0 forks source link

Trouble with cross compile to arm for kernel 2.6.37 for 2.3.4 Android #112

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. repo init -u git://gitorious.org/rowboat/manifest.git -m 
rowboat-gingerbread.xml (pulled source for 2.3.4)
2. cd rowboat-android/kernel
3. make CROSS_COMPILE=arm-eabi- distclean
4. make CROSS_COMPILE=arm-eabi- am3517_evm_android_defconfig

What is the expected output? What do you see instead?
Should have started a kernel build.
Instead:
user@ubuntu:~/rowboat-android/kernel$ make CROSS_COMPILE=arm-eabi- 
am3517_evm_android_defconfig
***
*** Can't find default configuration 
"arch/x86/configs/am3517_evm_android_defconfig"!
***
Don't want x86 -- want ARM mode

What version of the product are you using? On what operating system?
Ubuntu 10.10 64-bit building Android 2.3.4 source

Please provide any additional information below.
Android stack built, got hung up on kernel.
This used to work fine with 2.3 Android code.

How do I modify the cross compile for the new code?

Original issue reported on code.google.com by billmac4...@gmail.com on 22 Jun 2011 at 7:17

GoogleCodeExporter commented 9 years ago
Try with this:
$ cd rowboat-android/kernel
$ make ARCH=arm CROSS_COMPILE=arm-eabi- distclean
$ make ARCH=arm CROSS_COMPILE=arm-eabi- am3517_evm_android_defconfig

If ARCH=arm is not specified, the kernel build system assumes x86

Original comment by vishvesh...@aim.com on 23 Jun 2011 at 5:50

GoogleCodeExporter commented 9 years ago
Many thanks for the solution

Now all I have to do is figure out the new way to compile the x-load.

Used to be:
cd x-load-omap3
make CROSS_COMPILE=arm-eabi- distclean
make CROSS_COMPILE=arm-eabi- omap3evm_config
make CROSS_COMPILE=arm-eabi-
./signGP ./x-load.bin

Now there is an x-loader directory and the build commands seem to be different.

Is there a wiki page that describes the build process for Android 2.3.4 like 
the one for 2.3?  I will search for one, but I think I will have lots of these 
issues until I get the new process running.

Original comment by billmac4...@gmail.com on 23 Jun 2011 at 12:36