- 12th February 2015 at 3:00 pm #63987
I just bought a Creator CI20.
I can see the tutorials point me to downloadable images for debian and android.
This is nice, but I would like to customize the OS itself: features in the Android Linux kernel, or stuff in the AOSP software stack. Things that won’t impact the binary blob API for graphics, etc.
Is there a plan for access to download the linux kernel source and/or public AOSP sources for the Creator CI20?
Thank you16th February 2015 at 9:30 am #63991
Welcome to the forum.
Yes it is possible to make your own Android and kernel for the CI20.
Check out the following page
ZubairLK17th February 2015 at 5:25 pm #63990
Thank you very much for the feedback.17th February 2015 at 6:51 pm #63989
I was able to clone the AOSP repo.
I also cloned the recommended kernel git repository.
I ran into problems on both fronts (AOSP and kernel) this time around. I have build succesfully Android AOSP and kernels for ARM CPUs before.
For AOSP, I belive my problem lies in the java selected. So I will only refer to the kernel issue in this post.
For the kernel, as you suggested, I started from the http://elinux.org/How_to_Make_an_Android_SD_Card_Flash_Image_for_MIPS_CI20 page.
I cloned the kernel using:
git clone -b dev-mips-kitkat-v3.0.8 https://github.com/MIPS/CI20_linux.git
I also downloaded and decompressed the toolchain mentioned in http://elinux.org/CI20_Dev_Zone#Toolchain (in my case this was mips-2013.11-36-mips-linux-gnu-i686-pc-linux-gnu.tar.bz2).
I issued the following commands on my Ubuntu box:
make zImage -j 3
I got a bunch of
/bin/sh: mipsel-linux-android-gcc: command not found
My /bin/sh points to bash 4.2.25.
I thought to overload the default toolchain path, as I used to do on ARM:
I gather the toolchain prefix defaults to (mipsel-) something other than codesourcery (mips-), but I thought CROSS_COMPILE env variable would overwrite this. I didn’t.
Anyhow, I was able to find a mipsel toolchain in the AOSP sources. there were multiple choices, but I picked gcc-4.6 from
prebuilts/gcc/linux-x86/mips/mipsel-linux-android-4.6/bin, and after adjusting my $PATH variable to find it, I am able to build.
Could you tell me if there is a better way to build the android kernel?
Gabi18th February 2015 at 9:11 am #63988
I pass the cross compile path as an argument e.g.
make ARCH=mips CROSS_COMPILE=/home/user/mentor-toolchain-2013.11.0.36/bin/mips-linux-gnu- -j4 zImage
The forum ‘Creator Platforms’ is closed to new topics and replies.