Thanks Peter,

But by mistake i deleted my working directory. Then i build new. This time
i build for goldfish(previously i did for common).
So went through the following step

$export ARCH=arm
$ export SUBARCH=arm
$ export CROSS_COMPILE=arm-eabi-

Now, My working directory is /extra/kernel_work/panda/ and prebuilt is
located in same directory /extra/kernel_work/panda/prebuilt.
Following is my directory file list " ls /extra/kernel_work/panda"

Android.mk          CleanSpec.mk      full_panda.mk
kernel              README              ueventd.omap4pandaboard.rc
xloader.bin
AndroidProducts.mk  device.mk         goldfish
media_profiles.xml  recovery.fstab      unzip-files.sh
BoardConfig.mk      egl.cfg           init.omap4pandaboard.rc
overlay             self-extractors     usbboot
bootloader.bin      extract-files.sh  init.omap4pandaboard.usb.rc
prebuilt            setup-makefiles.sh  vendorsetup.sh

1) Do i missing any directory? If yes then, how will i get it.

But i am not able to run "cd omap". There is no directory with this name.

2) Do i need to run this command? I mean, Does this command is compulsory
ti run?

When i ran "git log kernel", i got big file with full of many commit.

""""
commit 76605d821bcc0db9cd897d40fff45b5a7fce2c32
Author: Jean-Baptiste Queru <j...@google.com>
Date:   Sun Apr 29 09:55:20 2012 -0700

    Prebuilt PandaBoard kernel.

    52f4764 Revert "gpu: pvr: Revert to 1.8@550175"

    Change-Id: I5f4559d3997d7d57ca93317b41e2b06e512d46bc

commit 74cd2b2114419c9924d4df4e55a6ac9a59ad3b91
Author: Jean-Baptiste Queru <j...@google.com>
Date:   Sat Apr 28 12:00:47 2012 -0700

    PandaBoard prebuilt kernel

    9fa57bd ARM: OMAP4: Panda: Turn on gpio keys flag
    8b5b421 ARM: OMAP4: Panda: Add user button definition for home

    Change-Id: Ic831baa0f71aed9d533f56f2953970aecce70062
.....
...
..
..

commit f6fe5ab4b5b6e6817294b0d23b69bf94731a3060   [ I SELECTED THIS ONE ]
Author: Jean-Baptiste Queru <j...@google.com>
Date:   Thu Jul 21 14:30:34 2011 -0700

    New panda kernel (still 2.6.39). Add audio drivers.

    09d5fe5 ARM: omap4: panda: clean up defconfig
    9a4c218 ARM: omap4: panda: enable audio support

    Bug: 5062352
    Change-Id: Id43b50d94a0cc056a023c318ba5a0ba456e64306
..
..
..
..
""""

Then i skiped "cd omap" command.

And i ran "git checkout f6fe5ab4b5b6e6817294b0d23b69bf94731a3060"
then i got following output.

"""""""""""""""""""""""
Note: checking out 'f6fe5ab4b5b6e6817294b0d23b69bf94731a3060'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b new_branch_name

HEAD is now at f6fe5ab... New panda kernel (still 2.6.39). Add audio
drivers.
""""""""""""""""""""""""
3) What is meaning of this OUTPUT. And we i ran this command it should
create any directory/file or not.

After that i ran "make panda_defconfig" and i got following out put
""""""
make: *** No rule to make target `panda_defconfig'.  Stop.
""""""

On Wed, Aug 22, 2012 at 6:20 AM, Peter Teoh <htmldevelo...@gmail.com> wrote:

>
>
> On Wed, Aug 22, 2012 at 12:43 AM, Sunny <nimitkala...@gmail.com> wrote:
>
>>
>> Hi all,
>>
>> I am trying to build android kernel first time. I went through
>> http://source.android.com/source/building-kernels.html
>> In this, i followed below commands
>>
>> $export ARCH=arm
>> $ export SUBARCH=arm
>> $ export CROSS_COMPILE=arm-eabi-
>> $ cd omap
>> $ git checkout <commit_from_first_step>
>>
>> So, I am confused what is "<commit_from_first_step>"???
>>
>>
> it is referring to the commit number listed when u enter "git log kernel"
> in the earlier step.
>
> For example, for me, "git log kernel" gives:
>
> commit 3911ff30f5d1175e2e67e73244405e3492b35c79
> Author: Jiri Kosina <jkos...@suse.cz>
> Date:   Sun May 13 12:13:15 2012 +0200
>
>     genirq: export handle_edge_irq() and irq_to_desc()
>
>     Export handle_edge_irq() and irq_to_desc() to modules to allow them to
>     do things such as
>
>         __irq_set_handler_locked(...., handle_edge_irq);
>
>     This fixes
>
>         ERROR: "handle_edge_irq" [drivers/gpio/gpio-pch.ko] undefined!
>         ERROR: "irq_to_desc" [drivers/gpio/gpio-pch.ko] undefined!
>
>
> So "commit" here refers to "3911ff30f5d1175e2e67e73244405e3492b35c79".
>
>
>> Thanks,
>> Nimit
>>
>> --
>> unsubscribe: android-kernel+unsubscr...@googlegroups.com
>> website: http://groups.google.com/group/android-kernel
>
>
>
>
> --
> Regards,
> Peter Teoh
>
> --
> unsubscribe: android-kernel+unsubscr...@googlegroups.com
> website: http://groups.google.com/group/android-kernel

-- 
unsubscribe: android-kernel+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-kernel

Reply via email to