hi i was compiling 2.6.32 from the git repo
with oldconfig from my nexus one but camera doesnt work
has anyone a good 2.6.32 .config and could attach it
As said here:
http://forum.xda-developers.com/showpost.php?p=5395561&postcount=47
% export ARCH=arm
% export CROSS_COMPILE=arm-eabi- (assuming the standard android toolchain is in your path)
% make distclean
% make mahimahi_defconfig
% make
with that conf it gives
Code:
SYMLINK include/asm -> include/asm-arm
CC kernel/bounds.s
cc1: Fehler: nicht erkannte Kommandozeilenoption »-mlittle-endian«
cc1: Fehler: nicht erkannte Kommandozeilenoption »-mabi=aapcs-linux«
cc1: Fehler: nicht erkannte Kommandozeilenoption »-mno-thumb-interwork«
kernel/bounds.c:1: Fehler: Falscher Wert (armv5t) für Schalter -march=
kernel/bounds.c:1: Fehler: Falscher Wert (armv5t) für Schalter -mtune=
make[1]: *** [kernel/bounds.s] Fehler 1
make: *** [prepare0] Fehler 2
gentoo22 said:
with that conf it gives
Code:
SYMLINK include/asm -> include/asm-arm
CC kernel/bounds.s
cc1: Fehler: nicht erkannte Kommandozeilenoption »-mlittle-endian«
cc1: Fehler: nicht erkannte Kommandozeilenoption »-mabi=aapcs-linux«
cc1: Fehler: nicht erkannte Kommandozeilenoption »-mno-thumb-interwork«
kernel/bounds.c:1: Fehler: Falscher Wert (armv5t) für Schalter -march=
kernel/bounds.c:1: Fehler: Falscher Wert (armv5t) für Schalter -mtune=
make[1]: *** [kernel/bounds.s] Fehler 1
make: *** [prepare0] Fehler 2
Click to expand...
Click to collapse
Sounds like the build process may not be looking at the right GCC. The -m* options are specific to a particular architecture.
ok now works here but wireless doesnt
If you replace the kernel, you need to replace the wifi module as well.
The kernel build leaves it here:
drivers/net/wireless/bcm4329/bcm4329.ko
You need to copy it to /system/lib/modules/ on the device.
have done it in recovery, wile system is up it says read only filesystem with adb
then compiled in kernel not as module but doent work
Currently userspace needs the wifi driver to be a module (it expects to insmod it to start things up, etc, and gets confused if it can't). This will be fixed in some future version of Android. For now, you must replace the wifi module in /system/lib/modules if you update the kernel.
If any one makes a update.zip with the 2.6.32, please shere it here, i want to give it a try
There is already a good thread on 2.6.32 development, no need for a second.
Can I assume that in conjunction with what Brian posted on lwn.net, i.e. 2.6.32 is intended as base for Froyo, that an official ROM with this kernel will only be released when Froyo's ready (probably not on short term)?
Hey guys,
I need some help for building kernel, i want to get start with some devlopment
I try to build the XPERIA Play kernel, I follow this sony's thread for builing kernel http://developer.sonymobile.com/wp/2011/05/06/how-to-build-a-linux-kernel/comment-page-7/#comments
I've downloaded the this for the toolchain https://sourcery.mentor.com/sgpp/lite/arm/portal/release2032 (gnu/linux TAR)
And when i type the following commands i don't get the zImage in arch/arm/boot folder
>export CCOMPILER=[myfolder]/bin/arm-none-eabi-
>ARCH=arm CROSS_COMPILE=$CCOMPILER make semc_zeus_defconfig
drivers/usb/gadget/Kconfig:826:warning: defaults for choice values not supported
#
# configuration written to .config
#
I get this but i don't get the zImage file
What wrong ?
EDIT/UPDATE:
I get the command for builing the kernel but i get a command not found error
~/xs/3.0.A.2.181_182/kernel$> ARCH=arm CROSS_COMPILE=$CCOMPILER make
make: /home/chich/xs/arm-2011.09/bin/arm-none-eabi-gcc : commande introuvable
scripts/kconfig/conf -s arch/arm/Kconfig
drivers/usb/gadget/Kconfig:826:warning: defaults for choice values not supported
make: /home/chich/xs/arm-2011.09/bin/arm-none-eabi-gcc : commande introuvable
CHK include/linux/version.h
make[1]: « include/asm-arm/mach-types.h » est à jour.
CHK include/linux/utsrelease.h
SYMLINK include/asm -> include/asm-arm
CC kernel/bounds.s
/bin/sh: 1: /home/chich/xs/arm-2011.09/bin/arm-none-eabi-gcc: not found
make[1]: *** [kernel/bounds.s] Erreur 127
make: *** [prepare0] Erreur 2
I check the arm-2011.09/bin/ folder and the file is here
Hi guys,
I tried to compile an android kernel following the tutorials that are on this forum, but there is something that doesn't works...
I installed the libraries indicated, and downloaded both NDK and Kernel sources, and I extracted it in my home folder.
Then I changed directory in the directory of the kernel and I made the three export indicated in tutorials:
export ARCH=arm
export CROSS_COMPILE=arm-linux-androideabi- (Here I also tried with "export CROSS_COMPILE=arm-eabi-")
export PATH=$PATH:~/android-ndk-r8/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin
Now I choosed a .config file in the arch/arm/configs directory and I used the command:
make *file config*
make menuconfig
And then, when I use the command "make -j2", I have some problems, in fact:
scripts/kconfig/conf --silentoldconfig Kconfig
CHK include/linux/version.h
CHK include/generated/utsrelease.h
CC scripts/mod/empty.o
arm-eabi-gcc: No such file or directory
Is your PATH set correctly?
make[2]: *** [scripts/mod/empty.o] Error 2
make[1]: *** [scripts/mod] Error 2
make: *** [scripts] Error 2
make: *** Waiting for unfinished jobs....
Can you tell me where I'm wrong please?
Thanks
Hey,
I have today build AOSB from source. My device is not supported because of that I want to build my own build. I use a device tree thats work from my device (P880), but after a time I get a message an the build breaks.
target R.java/Manifest.java: WallpaperCropper (/home/animus7/AOSB/out/target/common/obj/APPS/WallpaperCropper_intermediates/src/R.stamp)
host SharedLib: libart (/home/animus7/AOSB/out/host/linux-x86/obj/lib/libart.so)
frameworks/base/packages/SystemUI/res/values/styles.xml:225: error: Error: No resource found that matches the given name (at 'androidaddingLeft' with value '@dimen/card_header_button_padding_left').
make: *** [/home/animus7/AOSB/out/target/common/obj/APPS/SystemUI_intermediates/src/R.stamp] Fehler 1 ( Here the translation: error 1)
make: *** Warte auf noch nicht beendete Prozesse... (Here the translation: Waiting for non-completed processes ...)
[email protected]:~/AOSB$
Click to expand...
Click to collapse
Also I have take a screenshot you can see here again:
Hi I am using an online tutorial to compile samsung note 3 image from source. I am running into a number of compilation errors. Here is one:
Code:
CC drivers/cpufreq/cpufreq_interactive.o
drivers/cpufreq/cpufreq_interactive.c: In function 'show_target_loads':
drivers/cpufreq/cpufreq_interactive.c:813:6: warning: operation on 'ret' may be undefined [-Wsequence-point]
error, forbidden warning: cpufreq_interactive.c:813
make[2]: *** [drivers/cpufreq/cpufreq_interactive.o] Error 1
make[1]: *** [drivers/cpufreq] Error 2
make: *** [drivers] Error 2
[email protected]:~/androidkernel$ ls -al drivers/cpufreq/cpufreq_interactive.c
-r--r--r-- 1 sansari sansari 35250 Feb 9 2014 drivers/cpufreq/cpufreq_interactive.c
[email protected]:~/androidkernel$ chmod 755 drivers/cpufreq/cpufreq_interactive.c
I am using the link below as procedures:
http://www.edv-huber.com/index.php/problemloesungen/20-step-by-step-compile-kernel-module-for-samsung-galaxy-s3-linux
My question is: is this normal? Is there a more stable version of the source I could have downloaded?