[Galaxy S I9000 Android Development] hertzschi:
Hi [MENTION=3750240]stratosk[/MENTION] and all fans of Semaphore kernel,

First of all I want to say that this is from my personal experience the most stable and kernel around for the I9000:good:

I the last weeks/months I was very much playing around with many different kernels with and without zram, with and without CMA and KSM, and must say that all these features are either too experimental or to heavy for at least my phone (which seems to have very poor hardware, more a little bit later).

After 1 or more days I got on every kernel with these features freezes and reboot, sometimes the phone hung up for 1 or 2 minutes without responding in black screen.

I never had this behaviour with semaphore.

While playing with diferent settings I found out, that my phone can be overclocked with Normal-OC to 1200MHz, maybe more but didn't dare to try, but with Live OC of only 2% it crashes:crying:

So I decided to try as good starting point in learning kernel development to include Normal OC into semaphore, the only feature, I'm really missing.

Enough of introduction:

After much reading on setting up a build environment and following your how-to, I'm almost there to build the Kernel :)

But I get a little error, saying that "arm-linux-gnueabihf-gcc" is not found.

Maybe I did something wrong with linaro-toolchain, I don't know.:confused:

I installed the latest 4.7 build from Christopher83 's thread.

"ls *gcc*" tells me this:

stefan@Ubuntu64:~/semaphore/toolchain$ ls *gcc*
arm-gnueabi-gcc arm-gnueabi-gcc-nm arm-linux-gnueabi-gcc-4.7.4 arm-linux-gnueabi-gcc-ranlib
arm-gnueabi-gcc-4.7.4 arm-gnueabi-gcc-ranlib arm-linux-gnueabi-gcc-ar
arm-gnueabi-gcc-ar arm-linux-gnueabi-gcc arm-linux-gnueabi-gcc-nm

The full output of my terminal window is here:

Making semaphore_galaxys_defconfig
#
# configuration written to .config
#
LOCALVERSION=-Semaphore_KK_3.4.2.1s
CROSS_COMPILE=../toolchain/arm-linux-gnueabihf-
ARCH=arm
INIT_DIR=../ics-ramdisk/jb_combo/
MODULES_DIR=../ics-ramdisk/jb_combo/files/modules
KERNEL_DIR=/home/stefan/semaphore/samsung-kernel-aries
OUTPUT_DIR=../output/
CWM_DIR=../ics-ramdisk/cwm/
make: ../toolchain/arm-linux-gnueabihf-gcc: Kommando nicht gefunden
scripts/kconfig/conf --silentoldconfig Kconfig
.config:2859:warning: override: reassigning to symbol S5P_HUGEMEM
#
# configuration written to .config
#
make: ../toolchain/arm-linux-gnueabihf-gcc: Kommando nicht gefunden
CHK include/linux/version.h
CHK include/generated/utsrelease.h
CC scripts/mod/empty.o
/bin/sh: 1: ../toolchain/arm-linux-gnueabihf-gcc: not found
make[2]: *** [scripts/mod/empty.o] Fehler 127
make[2]: *** Warte auf noch nicht beendete Prozesse...
make[1]: *** [scripts/mod] Fehler 2
make[1]: *** Warte auf noch nicht beendete Prozesse...
make: *** [scripts] Fehler 2
make: *** Warte auf noch nicht beendete Prozesse...
rm: das Entfernen von »../ics-ramdisk/jb_combo/files/modules/*“ ist nicht möglich: Datei oder Verzeichnis nicht gefunden
chmod: Zugriff auf »../ics-ramdisk/jb_combo/files/modules/*“ nicht möglich: Datei oder Verzeichnis nicht gefunden
make: ../toolchain/arm-linux-gnueabihf-gcc: Kommando nicht gefunden
CHK include/linux/version.h
CHK include/generated/utsrelease.h
CC scripts/mod/empty.o
/bin/sh: 1: ../toolchain/arm-linux-gnueabihf-gcc: not found
make[2]: *** [scripts/mod/empty.o] Fehler 127
make[1]: *** [scripts/mod] Fehler 2
make[1]: *** Warte auf noch nicht beendete Prozesse...
make: *** [scripts] Fehler 2
make: INTERNAL: Exiting with 17 jobserver tokens available; should be 16!
tar: zImage: Funktion stat fehlgeschlagen: Datei oder Verzeichnis nicht gefunden
tar: Beende mit Fehlerstatus aufgrund vorheriger Fehler
Moving to ../output/galaxys/
cp: der Aufruf von stat für »arch/arm/boot/zImage“ ist nicht möglich: Datei oder Verzeichnis nicht gefunden
adding: bml_over_mtd (deflated 37%)
adding: bml_over_mtd.sh (deflated 59%)
adding: erase_image (deflated 32%)
adding: flash_image (deflated 35%)
adding: META-INF/ (stored 0%)
adding: META-INF/MANIFEST.MF (deflated 61%)
adding: META-INF/com/ (stored 0%)
adding: META-INF/com/google/ (stored 0%)
adding: META-INF/com/google/android/ (stored 0%)
adding: META-INF/com/google/android/updater-script (deflated 69%)
adding: META-INF/com/google/android/update-binary (deflated 34%)
adding: META-INF/com/android/ (stored 0%)
adding: META-INF/com/android/metadata (deflated 5%)
adding: META-INF/CERT.RSA (deflated 33%)
adding: META-INF/CERT.SF (deflated 61%)

Build completed in 0 minute(s) and 1 seconds.
stefan@Ubuntu64:~/semaphore/samsung-kernel-aries$ cd ..
stefan@Ubuntu64:~/semaphore$ cd toolchain
stefan@Ubuntu64:~/semaphore/toolchain$ ls *gcc*
arm-gnueabi-gcc arm-gnueabi-gcc-nm arm-linux-gnueabi-gcc-4.7.4 arm-linux-gnueabi-gcc-ranlib
arm-gnueabi-gcc-4.7.4 arm-gnueabi-gcc-ranlib arm-linux-gnueabi-gcc-ar
arm-gnueabi-gcc-ar arm-linux-gnueabi-gcc arm-linux-gnueabi-gcc-nm

I would be very happy, if someone can push me in the right direction.:victory:

Also in how to implement Normal OC, I'm sure to find it somewhere in kasper_h 's sources

Thanks for your patience, reading this long.;)