I am building the android kernel for Pandaboard Rev A1.
I am using the directions from the wiki page "http://www.omappedia.org/
wiki/L27.INC1.8.2_OMAP4_Froyo_ES2_Release_Notes"
I have done the following so far:
1. Setting up build environment
>From your work directory (where your 27.8.2 folder resides):
export YOUR_PATH=`pwd`
export PATH=$PATH:<toolchain_parent_dir>/arm-2010q1/bin
export MYDROID=${YOUR_PATH}/27.8.2/mydroid
mkdir $MYDROID/logs
export JAVA_HOME=/usr/lib/jvm/java-1.5.0-sun
export CROSS_COMPILE=arm-none-linux-gnueabi-
export PATH=${YOUR_PATH}/u-boot/tools:${PATH}
Building U-BOOT
cd $YOUR_PATH/u-boot
make distclean
make ARCH=arm omap4430sdp_config
make 2>&1 |tee $MYDROID/logs/u-boot_make.out
Building X-LOADER
cd $YOUR_PATH/x-loader
make distclean
make ARCH=arm omap4430sdp_config
make ift 2>&1 |tee $MYDROID/logs/x-loader_make.out
Building Kernel
To create kernel uImage you need to add "mkimage" directory path to
your "PATH" environment variable:
cd $YOUR_PATH/kernel/android-2.6.35
make ARCH=arm distclean
make ARCH=arm android_4430_defconfig
make ARCH=arm uImage 2>&1 |tee $MYDROID/logs/kernel_make.out
Building Kernel modules
cd $YOUR_PATH/kernel/android-2.6.35
make ARCH=arm modules 2>&1 |tee $MYDROID/logs/kernel_modules.out
Create an uMulti image by doing:
sudo ./mkimage -A arm -O linux -T multi -C none -a 0x80008000 -e
0x80008000 -n 'L25.11' -d ./zImage uMulti-2
After all this I have the following files in my $YOUR_PATH/kernel/
android-2.6.35 directory.
linux@linux:~/building_android/27.8.2/mydroid/kernel/android-2.6.35$
pwd
/home/linux/building_android/27.8.2/mydroid/kernel/android-2.6.35
linux@linux:~/building_android/27.8.2/mydroid/kernel/android-2.6.35$
ls
arch Documentation init lib
net security virt
block drivers ipc MAINTAINERS
README sound vmlinux
COPYING firmware Kbuild Makefile
REPORTING-BUGS System.map vmlinux.o
CREDITS fs kernel mm
samples tools
crypto include kernel_modules.output Module.symvers
scripts usr
I Need to have the following files
data
default.prop
dev
env.txt
init
init.goldfish.rc
init.omapzoom2.rc
init.rc
proc
sbin\
sbin\adbd
sbin\hotplug
I am missing init files. default.prop, proc, dev and sbin directory.
Can someone help me please ???
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en