Kernel repositories
Setting up a build environmentKernel building instructionsHere are the current kernel build instructions:
git clone -n git://github.com/Dopi/JetKernel.git
cd JetKernel
git checkout -b testing-2.6.29 origin/testing-2.6.29cp arch/arm/configs/jet_android_defconfig .config make menuconfig and disable General setup -> Initial RAM filesystem and RAM disk... Some notes about crosscompilationJetKernel 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 | |
► Sign in to add a comment
Is'nt Samsung Moment the same hardware as Omnia 2? It is Android based.
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.
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...
It is normal. Try to fix it or wait someone fixed it.
wstarowicz: Did you try the testing or the master branch? The master branch should compile without problems. Testing may possibly not build cleanly.
I'm trying testing branch, because it contains Samsung Amoled display patches. Or maybe You can provide these patches?
I am not sure. You may search them on the andromnia project or internet.
And you may make a patch by yourself from current tree and clear tree.
I'm asking because Dopi has patched current testing kernel with it.
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?
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? ;-)
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?
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.
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.
This is already discussed in the group.
Please, make your posts in english.