Dear developers.
Thank you in advances for reading my question.

I have trouble when I build my own android image 
with own kernel for academic research.

When I just downloaded the android 4.0.3 source code
and built android image(boot.img, system.img, userdata.img etc) for Galaxy 
Nexus (maguro) as follows:
As a result, it works well on target device
since I used pre-built kernel image that is located in 
'/devices/samsung/tuna/kernel'

===================================================================

repo init -u https://android.googlesource.com/platform/manifest -b
android-4.0.3_r1
repo sync
# run extract-imgtec-maguro.sh & extract-samsung-maguro.sh in android
root source directory
. build/envsetup.sh
make clobber
lunch full_maguro-eng
make CC=gcc-4.4 CXX=g++-4.4 -j4         # for ubuntu 11.10

# flash android images to the devices & it works well

========================================================================


My problem is that:

In order to use my own kernel image instead of pre-built kernel image,
I downloaded omap kernel and built kernel image as follows.

========================================================================

git clone https://android.googlesource.com/kernel/omap
cd omap
git checkout origin/android-omap-tuna-3.0-mr0

# install proprietary binaries
# run extract-imgtec-maguro.sh & extract-samsung-maguro.sh 
# from 
http://code.google.com/intl/ko-KR/android/nexus/drivers.html#maguroiml74k

export ARCH=arm
export SUBARCH=arm
export CROSS_COMPILE=arm-eabi-
make tuna_defconfig
make -j8

========================================================================

After copying 'arch/arm/boot/zImage' to 
'<myandroid>/device/samsung/tuna/kernel'
and I delete the 'boot.img' and 'kernel' files in 
'out/target/product/maguro'
since reuse object files that is compiled ahead of time to reduce 
full build time.

After building boot.img and flashing it to the target, 
the device doesn't boot.
I checked the '/proc/kmsg' then something wrong occurs like that:

=========================================================================
<3>[  292.940032] drivers/misc/inv_mpu/mldl_cfg.c| 
inv_mpu_get_slave_config|1792 returning 4 
<6>[  294.745819] PVR_K:(Error): BridgedDispatchKM: Initialisation 
failed.  Driver unusable. [4811, drivers/gpu/pvr/bridged_pvr_bridge.c] 
<3>[  294.762664] init: untracked pid 1738 exited 
<3>[  294.762817] init: untracked pid 1742 exited 
=========================================================================

I also tested other kernel version 
(android-omap-tuna-3.0-mr0.1, ndroid-omap-tuna-3.0-mr0),
but the same problems occur.
I also tested master of android branch and the same problems occur.

I don't know what is the main reason of failure.
Please let me know the reason and the possible solution for this problem.

Thank you in advances.

Derick SJ Woo.

-- 
unsubscribe: android-kernel+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-kernel

Reply via email to