Hi
I download the source directory of android brunch 2.3.5 and compiled it to
receive the filesystem. I got an empty filesystem (~150KB)  and added under
/lib/modules/ the new 7 modules from the kernel compilation.
The next step was to mkbootfs to recreate the new file system and then
mkbootimg from the new kernel and filesystem. The image that i received is
~5.3MB and it does not boot on the device.
The mkbootfs and mkbootimg i compiled from the android source direcory from
2.3.5 brunch.
When i download kernel from XDA i get zImage ~6.4MB and i failed to extract
the filesystem from it (with some tools which i found at making kernel
guides), But the downloading to the device success and the device boots
well.
I tried these process with kernel from samsung open source update 1,2,3
with no success, I used default def_config as mentioned at kernel
compilation instructions.
I still don't understand what i do wrong,
H E L P

Tal


On Tue, Dec 13, 2011 at 1:56 PM, Kiran Kumar Raparthy <
[email protected]> wrote:

> Hi Tal,
> Usually your Bootloader will launch the kernel image in any kind of linux
> systems.
> So you have to create the kernel image to be compatible with
> bootloader(Which adds the Header,size and CRC),so that when launching the
> kernel, bootloader verifies the header,gets the kernel image based on the
> size and calculates the CRC and verifies,when successful,gives control to
> kernel.
> If your compiling the kernel in android source,it creates the filesystem
> image too.If not,probably you have to compile the filesystem and create the
> File system image based on your requirement and burn the same.
>
> Also the address where you are burning the images in the flash is also
> important,as bootloader reads the kernel header from a fixed location so
> you have to load the kernel at that fixed address only.
>
> Regards,
> Kiran
>
>
> On Mon, Dec 12, 2011 at 7:36 PM, Tal Alon <[email protected]> wrote:
>
>> Hi all
>> I am trying to build kernel for galaxy S2 with no success and i need some
>> help for it.
>> I execute 2 steps first make config (c1_rev02_defconfig) and second make.
>> My environment includes toolchines that provides with the source tree and
>> i define the ARCH and CROSS_COMPILE macros before compilation.
>> The compilation success and I receive zImage file (3.5MB to 4.6MB)
>> depends on kernel version.
>> What is the next step? How do i burn the new kernel to device? I tried to
>> do it with odin but the device stuck.
>> What about the new modules of the new kernel compilation? what about file
>> system?
>>
>> Thanks a lot
>> Tal
>>
>>
>> On Tue, Nov 22, 2011 at 9:31 AM, Tal Alon <[email protected]> wrote:
>>
>>> Hi Bridgette,
>>>
>>> I am trying to build kernel for galaxy S2 and for these device i didn't
>>> find any script to run. The txt file details 2 steps
>>> first make config (mine is c1_rev02_defconfig) and second make.
>>> My environment includes toolchines that provides with the NDK with no
>>> installation but i define the ARCH and CROSS_COMPILE macros before
>>> compilation.
>>>
>>>
>>> On Mon, Nov 21, 2011 at 8:17 PM, Bridgette <[email protected]> wrote:
>>>
>>>>  Hello Talon....
>>>>
>>>> Samsung provides a txt file that details how to build the kernel...once
>>>> your environment is set up correctly you should only need to run a script
>>>> file that they provide, for example mine is called make_kernel_tass_vtr.sh.
>>>>
>>>> If you take a look at the file it points to a specific config file to
>>>> use I would use that one initially if your defconfig file is not the
>>>> same....they also recommend the Codesourcery cross compiler (which that may
>>>> or may not be the one that you mentioned)....
>>>>
>>>>
>>>>   ------------------------------
>>>> *From:* talon1975 <[email protected]>
>>>> *To:* Android Linux Kernel Development <[email protected]>
>>>>
>>>> *Sent:* Sunday, November 20, 2011 9:32 PM
>>>> *Subject:* [android-kernel] how to build kernel
>>>>
>>>> Hi all,
>>>>
>>>> l download the kernel source from Samsung site and the arm-eabi
>>>> toolchine (4.4.0 and 4.4.3) from github.
>>>> When i build my kernel (2.6.35.7) on Linux machine the size of zImage
>>>> is 3.5M and it doesn't work, i found some kernels zImage files and the
>>>> size is 6.7M and bigger. I use the same defconfig file so I wonder
>>>> where is my problem?
>>>>
>>>> Thanx
>>>> talon
>>>>
>>>> --
>>>> 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

Reply via email to