The source code consists of two folders

1. GT-P1000_ Kernel.tar.bz2
2. GT_P1000_Platform.tar.bz2

When i extract the above two folders, there is a Readme file in the
GT-P1000_Kernel folder

################################################################################

1. How to Build
- get Toolchain
>From Code Sourcery site ( www.codesourcery.com )
 Ex) Download :
http://www.codesourcery.com/public/gnu_toolchain/arm-none-linux-gnueabi/arm-2009q3-67-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2
     or
http://code.google.com/p/smp-on-qemu/downloads/detail?name=arm-2009q3-67-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2&can=2&q=


recommand : later than 2009q3 version.
Feature : ARM
Target OS : "EABI"
 package : "IA32 GNU/Linux TAR"

- edit build_kernel.sh
 edit "TOOLCHAIN" and "TOOLCHAIN_PREFIX" to right toolchain path(You
downloaded).
Ex)  30 TOOLCHAIN=/usr/local/toolchain/arm-2009q3/bin/ // check the location
of toolchain
     31 TOOLCHAIN_PREFIX=arm-none-gnueabi- // You have to check.

- run build_kernel.sh
 $ ./build_kernel.sh

2. Output files
- Kernel : Kernel/arch/arm/boot/zImage
 - module : Kernel/drivers/*/*.ko

3. How to Clean
- run build_kernel.sh Clean
 $ ./build_kernel.sh Clean

4. How to make .tar binary for downloading into target.

- change current directory to Kernel/arch/arm/boot
 - type following command
$ tar cvf gt-p1000-kernel.tar zImage

################################################################################


Another Readme in GT_P1000_platform  is

How to build

1. Get android open source.
    : version info - Android froyo 2.2 (android-cts-2.2_r2)
    ( Download site : http://source.android.com )

2. Overwrite modules that you want to build.

3. make


Following folders were inside GT_p1000 platform

Build, Dalvik, extension, external, packages


Thanks
sivakumar


On Fri, Jul 29, 2011 at 12:16 PM, Yue Zeng <[email protected]> wrote:

> Is the code released by Samsung complete.?
> On 29 Jul 2011 14:28, "Siva kumar" <[email protected]> wrote:
> > I am trying to compile kernel for samsung tablet p1000. I was able to
> > compile the kernel and create zImage. But how to create a ramdisk and
> > cobine it with zImage.
> >
> >
> > On Jul 22, 3:03 pm, jagan <[email protected]> wrote:
> >> Ok...
> >> I think it may be correct also.
> >> As i worked on targets we always used arm-eabi-
> >>
> >> Regards,
> >> Jagan
> >>
> >> On Fri, Jul 22, 2011 at 3:21 PM, William W.-Y. Liang <
> >>
> >> [email protected]> wrote:
> >> > Ok, thanks. Please just treat my comment as a reference. :)
> >>
> >> > I used the pre-built version of GCC in the NDK directly, as below, to
> >> > compile the kernel, and it works.
> >>
> >> >
> <ndk>/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-
> >>
> >> > William Liang
> >>
> >> > 2011/7/22 jagan <[email protected]>
> >>
> >> >> But as per as android kernel is concern the tool chain should be
> arm-eabi-
> >> >> complaint, because Apps need not use full gcc.
> >>
> >> >> Regards,
> >> >> Jagan.
> >>
> >> >> On Fri, Jul 22, 2011 at 2:52 PM, William W.-Y. Liang <
> >> >> [email protected]> wrote:
> >>
> >> >>> A minor update to the previous comment:
> >>
> >> >>> I think it will be "arm-linux-androideabi-" instead of "arm-eabi-"
> for
> >> >>> 4.4.3.
> >>
> >> >>> PS. Correct me if anything goes wrong here, plz. Tks.
> >>
> >> >>> BRs,
> >> >>> William Liang
> >>
> >> >>> 2011/7/22 jagan <[email protected]>
> >>
> >> >>>>  Ok.
> >>
> >> >>>> Just follow these steps..
> >>
> >> >>>> $ cd kernel
> >> >>>> $ make ARCH=arm CROSS_COMPILE=
> >> >>>> /home/jagan/toolchain/arm-eabi-4.4.3/bin/arm-eabi-
>  <enter_your_defconfig>
> >> >>>> $ make ARCH=arm CROSS_COMPILE=
> >> >>>> /home/jagan/toolchain/arm-eabi-4.4.3/bin/arm-eabi-
> >> >>>> then it will create kernel images
> >>
> >> >>>> enter your toolchain paths
> >>
> >> >>>> Regards,
> >> >>>> Jagan
> >>
> >> >>>> On Thu, Jul 21, 2011 at 8:58 PM, Siva kumar Balasubramanian <
> >> >>>> [email protected]> wrote:
> >>
> >> >>>>> i have only kernel source released by opensource
> software.samsung.com
> >>
> >> >>>>> Regards
> >> >>>>> sivakumar
> >>
> >> >>>>> On Thu, Jul 21, 2011 at 8:56 PM, jagan <[email protected]>
> wrote:
> >>
> >> >>>>>>  Do you have entire android source along with kernel inside it?
> >>
> >> >>>>>> Regards,
> >> >>>>>> Jagan
> >>
> >> >>>>>> On Thu, Jul 21, 2011 at 10:44 AM, Siva kumar <
> [email protected]>wrote:
> >>
> >> >>>>>>> I followed the following steps to compile a kernel and modules
> >>
> >> >>>>>>> make
> >> >>>>>>> make modules
> >> >>>>>>> make modules_install
> >>
> >> >>>>>>> The modules were present in /lib/modules. Is this step right to
> >> >>>>>>> compile the modules . What step i should follow to create a
> ramdisk
> >> >>>>>>> for android with drivers and init.rc and combine it with zImage.
> >>
> >> >>>>>>> On Jul 20, 9:38 pm, Linux Box Solutions <
> [email protected]
> >>
> >> >>>>>>> wrote:
> >> >>>>>>> > What about kernel modules how are you compiling
> >>
> >> >>>>>>>
> www.LinuxBoxSolution.comwww.YouTube.com/user/linuxboxsolutionwww.Krzy...
> >>
> >> >>>>>>> > On Jul 19, 2011, at 1:05 AM, Siva kumar <
> [email protected]>
> >> >>>>>>> wrote:
> >>
> >> >>>>>>> > > Hi all,
> >>
> >> >>>>>>> > > Is it possible to compile kernel from source and flash it in
> >> >>>>>>> samsung
> >> >>>>>>> > > galaxy tab. I downloded the source for samsung galaxy tab
> and
> >> >>>>>>> compiled
> >> >>>>>>> > > it and make zImage. but the size of the image is which i
> built is
> >> >>>>>>> 3
> >> >>>>>>> > > MB. where the orginal zImage size is 7.5 MB. Is any specific
> >> >>>>>>> steps to
> >> >>>>>>> > > be followed to compile and build zImage
> >>
> >> >>>>>>> > > Thanks
> >> >>>>>>> > > sivakumar
> >>
> >> >>>>>>> > > --
> >> >>>>>>> > > unsubscribe: [email protected]
> >> >>>>>>> > > website:http://groups.google.com/group/android-kernel-Hide
> >> >>>>>>> quoted text -
> >>
> >> >>>>>>> > - Show quoted text -
> >>
> >> >>>>>>> --
> >> >>>>>>> unsubscribe: [email protected]
> >> >>>>>>> website:http://groups.google.com/group/android-kernel
> >>
> >> >>>>>>  --
> >> >>>>>> unsubscribe: [email protected]
> >> >>>>>> website:http://groups.google.com/group/android-kernel
> >>
> >> >>>>> --
> >> >>>>> Regards
> >> >>>>> sivakumar
> >>
> >> >>>>> --
> >> >>>>> unsubscribe: [email protected]
> >> >>>>> website:http://groups.google.com/group/android-kernel
> >>
> >> >>>>  --
> >> >>>> unsubscribe: [email protected]
> >> >>>> website:http://groups.google.com/group/android-kernel
> >>
> >> >>>  --
> >> >>> unsubscribe: [email protected]
> >> >>> website:http://groups.google.com/group/android-kernel
> >>
> >> >>  --
> >> >> unsubscribe: [email protected]
> >> >> website:http://groups.google.com/group/android-kernel
> >>
> >> >  --
> >> > unsubscribe: [email protected]
> >> > website:http://groups.google.com/group/android-kernel
> >>
> >>
> >
> > --
> > unsubscribe: [email protected]
> > website: http://groups.google.com/group/android-kernel
>
> --
> unsubscribe: [email protected]
> website: http://groups.google.com/group/android-kernel
>



-- 
Regards
sivakumar

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-kernel

Reply via email to