export PATH=<paste the path of adb binary here, will be in android-sdk/platform-tools>
On Fri, Feb 18, 2011 at 5:31 PM, Soumen Debnath <soumendebnath....@gmail.com > wrote: > raja, I am getting problem with this below command: > adb pull /proc/config.gz config.gz > > whenever I run it I am getting a error : > > No command 'adb' found, did you mean: > Command 'cdb' from package 'tinycdb' (main) > Command 'gdb' from package 'gdb' (main) > Command 'aub' from package 'aub' (universe) > Command 'dab' from package 'bsdgames' (universe) > Command 'zdb' from package 'zfs-fuse' (universe) > Command 'mdb' from package 'mono-debugger' (universe) > Command 'tdb' from package 'tads2-dev' (multiverse) > Command 'pdb' from package 'python' (main) > Command 'jdb' from package 'openjdk-6-jdk' (main) > Command 'ab' from package 'apache2-utils' (main) > adb: command not found > > > means I am not able to install it ... can u solve the problem > > > > On Thu, Feb 17, 2011 at 6:37 PM, raja pavan <rajain...@gmail.com> wrote: > >> (1) these are standard errors, try out in google. >> >> (2) BTW why arm is in the picture? ARM is not supposed to be in the >> picture if you are building for x86. >> >> Donot pass ARCH=arm, if you are building for x86. >> >> Building kernel is simplest step in android porting to hardware, so stay >> cool and proceed. >> >> (3) Another suggestion >> >> setup emulator and do adb pull /proc/config.gz >> (A) just do make menuconfig, save config and make -j2 >> extract this and copy this .config to kernel directory, and then do the >> seps mentioned in (A) >> >> (4) What is your H/W based on? ARM/X86? >> >> All the best >> Raja >> On Thu, Feb 17, 2011 at 6:26 PM, Soumen Debnath < >> soumendebnath....@gmail.com> wrote: >> >>> Raja , I am facing the problem : >>> soumen@soumen-laptop:~/Desktop/android_eXPEriMent/kernel_msm-htc$ make >>> -j2 >>> scripts/kconfig/conf -s arch/arm/Kconfig >>> >>> *** Error during update of the kernel configuration. >>> >>> make[2]: *** [silentoldconfig] Error 1 >>> make[1]: *** [silentoldconfig] Error 2 >>> make: *** No rule to make target `include/config/auto.conf', needed by >>> `include/config/kernel.release'. Stop. >>> >>> make: *** Waiting for unfinished jobs.... >>> CHK include/linux/version.h >>> >>> >>> can u slove it. >>> >>> >>> On Thu, Feb 17, 2011 at 2:58 PM, raja pavan <rajain...@gmail.com> wrote: >>> >>>> Deb!!! >>>> >>>> No idea. >>>> >>>> >>>> On Thu, Feb 17, 2011 at 2:49 PM, Soumen Debnath < >>>> soumendebnath....@gmail.com> wrote: >>>> >>>>> Sorry raja, for disturbing again , >>>>> But there are some issues i have discuss with u. >>>>> >>>>> when I try to download from the site : >>>>> http://www.android-x86.org/getsourcecode >>>>> using the command : repo init -u git:// >>>>> git.android-x86.org/manifest.git -b gingerbread >>>>> It throw some error : error: revision gingerbread in manifests not >>>>> found >>>>> >>>>> I don't know what to do... can u suggest me anny thing I had installed >>>>> git, repo in my computer. >>>>> >>>>> On Thu, Feb 17, 2011 at 12:38 PM, Soumen Debnath < >>>>>> soumendebnath....@gmail.com> wrote: >>>>>> >>>>>>> Morning raja, >>>>>>> I am again stuck with some problems , I am sending u full details how >>>>>>> i am doing this. >>>>>>> >>>>>>> 1) First I had download the kernel code and android-ndk-r5b , it has >>>>>>> one folder named Common. I downloaded it using git:// & repo://. >>>>>>> 2) In the folder common there is one make file . I edited the >>>>>>> CROSS_COMPILE line ->CROSS_COMPILE ?= $(CONFIG_CROSS_COMPILE:"%"=%) >>>>>>> with >>>>>>> your prescribed version->CROSS_COMPILE ?= >>>>>>> /home/soumen/Desktop/android-ndk-r5b/toolchains/arm-linux-androideai-4.4.3/prebuilt/linux-x86/bin/arm-linux- >>>>>>> Image -j2[ the path of the android-ndk-r5b]. >>>>>>> 3)After that I am running make command . But it thoughs some errors. >>>>>>> >>>>>>> soumen@soumen-laptop:~/Desktop/android/common$ make >>>>>>> /home/soumen/Desktop/android/common/arch/x86/Makefile:81: stack >>>>>>> protector enabled but no compiler support >>>>>>> make: >>>>>>> /home/soumen/Desktop/android-ndk-r5b/toolchains/arm-linux-androideai-4.4.3/prebuilt/linux-x86/bin/arm-linux-: >>>>>>> Command not found >>>>>>> scripts/kconfig/conf --silentoldconfig arch/x86/Kconfig >>>>>>> * >>>>>>> * Restart config... >>>>>>> * >>>>>>> * >>>>>>> * General setup >>>>>>> * >>>>>>> Prompt for development and/or incomplete code/drivers (EXPERIMENTAL) >>>>>>> [Y/n/?] y >>>>>>> Cross-compiler tool prefix (CROSS_COMPILE) [] >>>>>>> Local version - append to kernel release (LOCALVERSION) [] >>>>>>> Automatically append version information to the version string >>>>>>> (LOCALVERSION_AUTO) [N/y/?] n >>>>>>> Kernel compression mode >>>>>>> > 1. Gzip (KERNEL_GZIP) >>>>>>> 2. Bzip2 (KERNEL_BZIP2) (NEW) >>>>>>> 3. LZMA (KERNEL_LZMA) >>>>>>> 4. LZO (KERNEL_LZO) >>>>>>> choice[1-4?]: >>>>>>> >>>>>>> >>>>>>> >>>>>>> Please help me I am busting my head with it for many days. >>>>>>> >>>>>>> >>>>>>> On Wed, Feb 16, 2011 at 6:24 PM, raja pavan <rajain...@gmail.com>wrote: >>>>>>> >>>>>>>> search for the key word in the .config and you will get clue (which >>>>>>>> head in make menuconfig list has the setting) >>>>>>>> >>>>>>>> then do make menuconfig and uncheck .... >>>>>>>> >>>>>>>> similar for other errors, the feature enabled is not supported by >>>>>>>> the kernel chosen by you. >>>>>>>> >>>>>>>> On Wed, Feb 16, 2011 at 6:21 PM, Soumen Debnath < >>>>>>>> soumendebnath....@gmail.com> wrote: >>>>>>>> >>>>>>>>> should I do this by the command "make menuconfig" >>>>>>>>> >>>>>>>>> On Wed, Feb 16, 2011 at 5:46 PM, raja pavan >>>>>>>>> <rajain...@gmail.com>wrote: >>>>>>>>> >>>>>>>>>> "stack protector enabled but no compiler support" >>>>>>>>>> >>>>>>>>>> Also try disabling stack protector in the android kernel >>>>>>>>>> configuration, search for the same in .config of your kernel, >>>>>>>>>> >>>>>>>>>> On Wed, Feb 16, 2011 at 5:43 PM, raja pavan < >>>>>>>>>> rajain...@gmail.com> wrote: >>>>>>>>>> >>>>>>>>>>> make alone will not suffice, pass full command line ... >>>>>>>>>>> >>>>>>>>>>> revert back if any error ... >>>>>>>>>>> >>>>>>>>>>> On Wed, Feb 16, 2011 at 5:18 PM, Soumen Debnath < >>>>>>>>>>> soumendebnath....@gmail.com> wrote: >>>>>>>>>>> >>>>>>>>>>>> raja pavan, >>>>>>>>>>>> >>>>>>>>>>>> now i get the error is : >>>>>>>>>>>> root@soumen-laptop:/home/soumen/Desktop/android/common# make >>>>>>>>>>>> >>>>>>>>>>>> /home/soumen/Desktop/android/common/arch/x86/Makefile:81: stack >>>>>>>>>>>> protector enabled but no compiler support >>>>>>>>>>>> CHK include/linux/version.h >>>>>>>>>>>> CHK include/generated/utsrelease.h >>>>>>>>>>>> CC kernel/bounds.s >>>>>>>>>>>> cc1: error: unrecognized command line option "-mregparm=3" >>>>>>>>>>>> kernel/bounds.c:1: error: bad value (i586) for -march= switch >>>>>>>>>>>> make[1]: *** [kernel/bounds.s] Error 1 >>>>>>>>>>>> make: *** [prepare0] Error 2 >>>>>>>>>>>> >>>>>>>>>>>> please help me how can I solve... >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> On Wed, Feb 16, 2011 at 5:04 PM, raja pavan < >>>>>>>>>>>> rajain...@gmail.com> wrote: >>>>>>>>>>>> >>>>>>>>>>>>> give CROSS_COMPILE=/usr/local/arm/MYTC/bin/arm-linux- (no need >>>>>>>>>>>>> to specify full name of the gcc binary) , >>>>>>>>>>>>> >>>>>>>>>>>>> make -j1 alone will not suffice. MYTC is the root directory of >>>>>>>>>>>>> arm tool chain setup. >>>>>>>>>>>>> >>>>>>>>>>>>> Full command will be like >>>>>>>>>>>>> >>>>>>>>>>>>> make ARCH=arm CROSS_COMPILE=/usr/local/arm/MYTC/bin/arm-linux- >>>>>>>>>>>>> Image -j2 (customize for your setup of Cross Compiler) >>>>>>>>>>>>> >>>>>>>>>>>>> NDK has the cross compiler which can build the android kernel >>>>>>>>>>>>> as kernel needs only a C compiler. >>>>>>>>>>>>> >>>>>>>>>>>>> Ensure that your NDK is installed in the path : >>>>>>>>>>>>> /home/soumen/Desktop/android-ndk-r5b/toolchains/arm-eabi-4.4.0/prebuilt/linux-x86/ >>>>>>>>>>>>> >>>>>>>>>>>>> On Wed, Feb 16, 2011 at 3:51 PM, Soumen Debnath < >>>>>>>>>>>>> soumendebnath....@gmail.com> wrote: >>>>>>>>>>>>> >>>>>>>>>>>>>> can any body tell me when we compile kernel at that time >>>>>>>>>>>>>> what are parameters should be given to the CROSS COMPILER. >>>>>>>>>>>>>> because when i try to compile the android kernel I get the >>>>>>>>>>>>>> following errors: >>>>>>>>>>>>>> >>>>>>>>>>>>>> soumen@soumen-laptop:~/Desktop/android/common$ make -j2 >>>>>>>>>>>>>> /home/soumen/Desktop/android/common/scripts/gcc-version.sh: >>>>>>>>>>>>>> line 25: >>>>>>>>>>>>>> /home/soumen/Desktop/android-ndk-r5b/toolchains/arm-eabi-4.4.0/prebuilt/linux-x86/arm-eabi-: >>>>>>>>>>>>>> No such file or directory >>>>>>>>>>>>>> /home/soumen/Desktop/android/common/scripts/gcc-version.sh: >>>>>>>>>>>>>> line 26: >>>>>>>>>>>>>> /home/soumen/Desktop/android-ndk-r5b/toolchains/arm-eabi-4.4.0/prebuilt/linux-x86/arm-eabi-: >>>>>>>>>>>>>> No such file or directory >>>>>>>>>>>>>> /home/soumen/Desktop/android/common/arch/x86/Makefile:81: >>>>>>>>>>>>>> stack protector enabled but no compiler support >>>>>>>>>>>>>> /bin/sh: >>>>>>>>>>>>>> /home/soumen/Desktop/android-ndk-r5b/toolchains/arm-eabi-4.4.0/prebuilt/linux-x86/arm-eabi-: >>>>>>>>>>>>>> not found >>>>>>>>>>>>>> CHK include/linux/version.h >>>>>>>>>>>>>> CC scripts/mod/empty.o >>>>>>>>>>>>>> /bin/sh: >>>>>>>>>>>>>> /home/soumen/Desktop/android-ndk-r5b/toolchains/arm-eabi-4.4.0/prebuilt/linux-x86/arm-eabi-: >>>>>>>>>>>>>> not found >>>>>>>>>>>>>> make[2]: *** [scripts/mod/empty.o] Error 127 >>>>>>>>>>>>>> make[1]: *** [scripts/mod] Error 2 >>>>>>>>>>>>>> make[1]: *** Waiting for unfinished jobs.... >>>>>>>>>>>>>> CHK include/generated/utsrelease.h >>>>>>>>>>>>>> make: *** [scripts] Error 2 >>>>>>>>>>>>>> make: *** Waiting for unfinished jobs.... >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> On Wed, Feb 16, 2011 at 12:12 PM, Aldrin Montana < >>>>>>>>>>>>>> drinmont...@gmail.com> wrote: >>>>>>>>>>>>>> >>>>>>>>>>>>>>> Hey man, >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> So I tried for awhile to compile the custom kernel on >>>>>>>>>>>>>>> ubuntu... 9.04? And here's what I've come up with so far. if >>>>>>>>>>>>>>> you do a >>>>>>>>>>>>>>> checkout of >>>>>>>>>>>>>>> http://android.git.kernel.org/?p=kernel/common.git;a=summaryand >>>>>>>>>>>>>>> you checkout either goldfish branch (both are archived) then >>>>>>>>>>>>>>> what you >>>>>>>>>>>>>>> can do is do a make goldfishdef_config, make -j2. I have a >>>>>>>>>>>>>>> website that >>>>>>>>>>>>>>> explains it well, and I'll respond with that website when I use >>>>>>>>>>>>>>> my laptop >>>>>>>>>>>>>>> (that's where it is bookmarked). Also there are a bunch of >>>>>>>>>>>>>>> flags you need to >>>>>>>>>>>>>>> set... damn, alright I'll just fetch my laptop and link you >>>>>>>>>>>>>>> that website, >>>>>>>>>>>>>>> but here's the main thing I learned. goldfish branches are >>>>>>>>>>>>>>> ridiculously easy >>>>>>>>>>>>>>> to get to compile. other branches are a bit tougher. >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> However, if you want to just customize the kernel then launch >>>>>>>>>>>>>>> it, it may be easier to work from the goldfish branches. I >>>>>>>>>>>>>>> imagine that you >>>>>>>>>>>>>>> can use these as a base, then when you need to move to a newer >>>>>>>>>>>>>>> branch just >>>>>>>>>>>>>>> figure out how to compile those and it's a simple migration of >>>>>>>>>>>>>>> your code. >>>>>>>>>>>>>>> I'll send another email in about 20 min. good luck! >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> -Aldrin >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> On Mon, Feb 14, 2011 at 9:26 PM, Soumen Debnath < >>>>>>>>>>>>>>> soumendebnath....@gmail.com> wrote: >>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> I want to study the android OS's kernel, and also want to >>>>>>>>>>>>>>>> modify it. On that regard send some useful material if u have.. >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> On Mon, Feb 14, 2011 at 2:07 AM, Aldrin Montana < >>>>>>>>>>>>>>>> drinmont...@gmail.com> wrote: >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> any particulars as to what your problem was and what >>>>>>>>>>>>>>>>> procedure you followed? >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> On Wed, Feb 9, 2011 at 3:33 AM, SD < >>>>>>>>>>>>>>>>> soumendebnath....@gmail.com> wrote: >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> Hello Every Android Lover, >>>>>>>>>>>>>>>>>> I am new to android . I want to study android operating >>>>>>>>>>>>>>>>>> system very >>>>>>>>>>>>>>>>>> closely, for that I want to build the whole android OS on >>>>>>>>>>>>>>>>>> my ubantu >>>>>>>>>>>>>>>>>> 10.04LTS. I try to follow the android site. But I am not >>>>>>>>>>>>>>>>>> able to do >>>>>>>>>>>>>>>>>> so. Can any one please help me regarding this. >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> -- >>>>>>>>>>>>>>>>>> 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 >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> -- >>>>>>>>>>>>>>>> *Thanks & Regards, >>>>>>>>>>>>>>>> Soumen Debnath. >>>>>>>>>>>>>>>> Master of Technology (By Research), B.Tech In Computer >>>>>>>>>>>>>>>> Science >>>>>>>>>>>>>>>> Bangalore,India. >>>>>>>>>>>>>>>> Voice: +91 9620002132* >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> -- >>>>>>>>>>>>>>>> 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 >>>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> -- >>>>>>>>>>>>>> *Thanks & Regards, >>>>>>>>>>>>>> Soumen Debnath. >>>>>>>>>>>>>> Master of Technology (By Research), B.Tech In Computer Science >>>>>>>>>>>>>> Bangalore,India. >>>>>>>>>>>>>> Voice: +91 9620002132* >>>>>>>>>>>>>> >>>>>>>>>>>>>> -- >>>>>>>>>>>>>> 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 >>>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> -- >>>>>>>>>>>> *Thanks & Regards, >>>>>>>>>>>> Soumen Debnath. >>>>>>>>>>>> Master of Technology (By Research), B.Tech In Computer Science >>>>>>>>>>>> Bangalore,India. >>>>>>>>>>>> Voice: +91 9620002132* >>>>>>>>>>>> >>>>>>>>>>>> -- >>>>>>>>>>>> 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 >>>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> -- >>>>>>>>> *Thanks & Regards, >>>>>>>>> Soumen Debnath. >>>>>>>>> Master of Technology (By Research), B.Tech In Computer Science >>>>>>>>> Bangalore,India. >>>>>>>>> Voice: +91 9620002132* >>>>>>>>> >>>>>>>>> -- >>>>>>>>> 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 >>>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> *Thanks & Regards, >>>>>>> Soumen Debnath. >>>>>>> Master of Technology (By Research), B.Tech In Computer Science >>>>>>> Bangalore,India. >>>>>>> Voice: +91 9620002132* >>>>>>> >>>>>>> -- >>>>>>> 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 >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> *Thanks & Regards, >>>>> Soumen Debnath. >>>>> Master of Technology (By Research), B.Tech In Computer Science >>>>> Bangalore,India. >>>>> Voice: +91 9620002132* >>>>> >>>>> -- >>>>> 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 >>>> >>> >>> >>> >>> -- >>> *Thanks & Regards, >>> Soumen Debnath. >>> Master of Technology (By Research), B.Tech In Computer Science >>> Bangalore,India. >>> Voice: +91 9620002132* >>> >>> -- >>> 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 >> > > > > -- > *Thanks & Regards, > Soumen Debnath. > Master of Technology (By Research), B.Tech In Computer Science > Bangalore,India. > Voice: +91 9620002132* > > -- > 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