My favorites | Sign in
Project Home Downloads Wiki Issues Source
Search
for
JetKernel  
Details about the Jét kernel development
Featured, Kernel, S8000, Jet
Updated Oct 25, 2011 by volodymy...@gmail.com

Kernel repositories

Setting up a build environment

See JetDroidBuildEnvironment.

Kernel building instructions

Here are the current kernel build instructions:

  • download kernel sources from repo:
  •     git clone -n git://github.com/Dopi/JetKernel.git
        cd JetKernel
        git checkout -b testing-2.6.29 origin/testing-2.6.29
  • make jet's config to be current
  •      cp arch/arm/configs/jet_android_defconfig .config
  • enter menu config:
  •      make menuconfig
    and disable General setup -> Initial RAM filesystem and RAM disk...
  • after it you are ready to build kernel

Some notes about crosscompilation

JetKernel has one crosscompilation specific setting set up in makefile. It is ARCH option. So to build other kernel for jet it is needed to call make like:

make CROSS_COMPILE=pathtocc ARCH=arm ...

So it is possible to use following script (named make.sh and placed into kernel directory) with predefined path to crosscompiler (if you set up your environment as it is described here: JetDroidBuildEnvironment, then such path should be correct):

#! /bin/sh
CCOMPILER=../android/prebuilt/linux-x86/toolchain/arm-eabi-4.4.0/bin/arm-eabi-
make CROSS_COMPILE=$CCOMPILER ARCH=arm $@

make commands then should look like:

./make.sh menuconfig
./make.sh

Kernel building links

Comment by wstarow...@gmail.com, Jan 10, 2010

Is'nt Samsung Moment the same hardware as Omnia 2? It is Android based.

Comment by project member dopi...@gmail.com, Jan 11, 2010

Jet (GT-S8000), Moment (SPH-M900), Omnia 2 (GT-I8000) and Spica (GT-I5700) all share the same application processor ( S3P6410? ). This is does not mean that the firmware or ROMs can be exchanged as many other components (Display, Basebande, etc. ) are different. But the source-code of Moment and Spica is availabe and is used as a basis for the Jet kernel development.

Comment by wstarow...@gmail.com, Mar 4, 2010

Does the kernel compile? I have tried, but there are following errors: In file included from arch/arm/mach-s3c6410/mach-spica.c:61: arch/arm/plat-s3c64xx/include/plat/adcts.h:48: warning: useless storage class specifier in empty declaration arch/arm/mach-s3c6410/mach-spica.c:333: error: 'sec_device_backlight' undeclared here (not in a function) arch/arm/mach-s3c6410/mach-spica.c: In function 'check_pmic': arch/arm/mach-s3c6410/mach-spica.c:1316: error: implicit declaration of function 'Get_MAX8698_PM_REG' arch/arm/mach-s3c6410/mach-spica.c:1316: error: 'ELDO3' undeclared (first use in this function) arch/arm/mach-s3c6410/mach-spica.c:1316: error: (Each undeclared identifier is reported only once arch/arm/mach-s3c6410/mach-spica.c:1316: error: for each function it appears in.) arch/arm/mach-s3c6410/mach-spica.c:1319: error: 'ELDO4' undeclared (first use in this function) arch/arm/mach-s3c6410/mach-spica.c:1322: error: 'ELDO5' undeclared (first use in this function) arch/arm/mach-s3c6410/mach-spica.c:1325: error: implicit declaration of function 'Set_MAX8698_PM_REG' arch/arm/mach-s3c6410/mach-spica.c:1327: error: 'ELDO6' undeclared (first use in this function) arch/arm/mach-s3c6410/mach-spica.c:1330: error: 'ELDO7' undeclared (first use in this function) arch/arm/mach-s3c6410/mach-spica.c:1333: error: 'ELDO8' undeclared (first use in this function) arch/arm/mach-s3c6410/mach-spica.c: In function 's3c_config_wakeup_gpio': arch/arm/mach-s3c6410/mach-spica.c:1362: error: 'ELDO5' undeclared (first use in this function) make1?: [arch/arm/mach-s3c6410/mach-spica.o] Error 1

Also cannot select Jet because there is no MACH_TYPE_Jet specified...

Comment by project member aleksey.4erepanov, Mar 4, 2010

It is normal. Try to fix it or wait someone fixed it.

Comment by project member dopi...@gmail.com, Mar 4, 2010

wstarowicz: Did you try the testing or the master branch? The master branch should compile without problems. Testing may possibly not build cleanly.

Comment by wstarow...@gmail.com, Mar 4, 2010

I'm trying testing branch, because it contains Samsung Amoled display patches. Or maybe You can provide these patches?

Comment by project member aleksey.4erepanov, Mar 4, 2010

I am not sure. You may search them on the andromnia project or internet.

Comment by project member aleksey.4erepanov, Mar 4, 2010

And you may make a patch by yourself from current tree and clear tree.

Comment by wstarow...@gmail.com, Mar 4, 2010

I'm asking because Dopi has patched current testing kernel with it.

Comment by cdlee...@gmail.com, Mar 4, 2010

I'd like to see this project happen so I'm going to help out. There is a mention in the kernel source about back porting the display driver from the Samsung source. Where is the Samsung 2.6.31 kernel source located?

Comment by project member dopi...@gmail.com, Mar 5, 2010

Please also see my post in the forum ( http://groups.google.com/group/jetdroid/msg/912aa67209c697e3 ). The 2.6.29 (not 2.6.31) kernel with the TL2796 (AmoLED) driver is available via git from http://git.kernel.org/pub/scm/linux/kernel/git/kki_ap/linux-2.6-samsung.git/ . The Samsung 2.6.27 kernel (e.g. for I5700) is available from http://opensource.samsungmobile.com/index.jsp?page=2 . There is also an updated version for the 2.6.27 kernels availble that was still not integrated into the JetDroid repository. Any volunteers to do this? ;-)

Comment by cdlee...@gmail.com, Mar 5, 2010

Your other post talks about using the 2.6.29 kernel and porting the Jet specific parts over. Wouldn't this be the better option as then we can support android 2.1, or is 2.1 possible on the 2.6.27 kernel?

Comment by s.engelen2@gmail.com, Mar 5, 2010

Yes, sorry, I had the number wrong. Hope I won't make these errors when compiling and flashing :D

I have just downloaded the update-v1 kernels. I'll try to wriggle them into the repository sometime this weekend.

Comment by cdlee...@gmail.com, Mar 31, 2010

Samsung has uploaded the update for the I5700. Its a large file, approx 2G. It contains the kernel source (2.6.29) as well as the platform source which I imagine is the rest of the OS. If I have time over the weekend I'll upload the source to the repository. We can probably replace what is already there as we won't need it anymore.

Comment by project member aleksey.4erepanov, Apr 1, 2010

This is already discussed in the group.

Comment by project member aleksey.4erepanov, Jun 16, 2010

Please, make your posts in english.


Sign in to add a comment
Powered by Google Project Hosting