[Desire Android Development] Droidzone:
YESSS!!

Love your work and the awesome help!

droidzone@supernova:~/android/tools/dosfstools-3.0.9$ file dosfsck
dosfsck: ELF 32-bit LSB executable, ARM, version 1 (SYSV), statically linked, for GNU/Linux 2.6.35, not stripped
droidzone@supernova:~/android/tools/dosfstools-3.0.9$ adb push dosfsck /system/bin/
1568 KB/s (733803 bytes in 0.456s)
droidzone@supernova:~/android/tools/dosfstools-3.0.9$ adb shell
sh-3.2# ls -l /system/bin/dos*
-rwxrwxrwx root root 733803 2011-10-31 00:28 dosfsck

sh-3.2# /system/bin/dosfsck
usage: /system/bin/dosfsck [-aAflrtvVwy] [-d path -d ...] [-u path -u ...]
device
-a automatically repair the file system
-A toggle Atari file system format
-d path drop that file
-f salvage unused chains to files
-l list path names
-n no-op, check non-interactively without changing
-p same as -a, for compat with other *fsck
-r interactively repair the file system
-t test for bad clusters
-u path try to undelete that (non-directory) file
-v verbose mode
-V perform a verification pass
-w write changes to disk immediately
-y same as -a, for compat with other *fsck
sh-3.2#

So moved on to actual kernel compiling..

I think the version of gcc I cross compiled is the source of a lot of kernel compile errors, judging by bugzilla

droidzone@supernova:~/android/kernel/bravo_2.6.35_gb-mr$ make CC="arm-linux-gcc" LD="arm-linux-ld" AR="arm-linux-ar" RANLIB="arm-linux-ranlib" AS="arm-linux-as" -j2
CHK include/linux/version.h
CHK include/generated/utsrelease.h
make[1]: `include/generated/mach-types.h' is up to date.
CALL scripts/checksyscalls.sh
CC init/main.o
CHK include/generated/compile.h
CC arch/arm/mm/alignment.o
cc1: warnings being treated as errors
init/main.c: In function 'do_one_initcall':
init/main.c:734:10: error: 'calltime.tv64' may be used uninitialized in this function
make[1]: *** [init/main.o] Error 1
make: *** [init] Error 2
make: *** Waiting for unfinished jobs....
cc1: warnings being treated as errors
arch/arm/mm/alignment.c: In function 'do_alignment':
arch/arm/mm/alignment.c:720:21: error: 'offset.un' may be used uninitialized in this function
make[1]: *** [arch/arm/mm/alignment.o] Error 1
make: *** [arch/arm/mm] Error 2
droidzone@supernova:~/android/kernel/bravo_2.6.35_gb-mr$ make ARCH=arm CROSS_COMPILE="arm-linux-" LD="arm-linux-ld" AR="arm-linux-ar" RANLIB="arm-linux-ranlib" AS="arm-linux-as" -j2
CHK include/linux/version.h
CHK include/generated/utsrelease.h
make[1]: `include/generated/mach-types.h' is up to date.
CALL scripts/checksyscalls.sh
CC init/main.o
CHK include/generated/compile.h
CC arch/arm/mm/alignment.o
cc1: warnings being treated as errors
init/main.c: In function 'do_one_initcall':
init/main.c:734:10: error: 'calltime.tv64' may be used uninitialized in this function
make[1]: *** [init/main.o] Error 1
make: *** [init] Error 2
make: *** Waiting for unfinished jobs....
cc1: warnings being treated as errors
arch/arm/mm/alignment.c: In function 'do_alignment':
arch/arm/mm/alignment.c:720:21: error: 'offset.un' may be used uninitialized in this function
make[1]: *** [arch/arm/mm/alignment.o] Error 1
make: *** [arch/arm/mm] Error 2
droidzone@supernova:~/android/kernel/bravo_2.6.35_gb-mr$

Yes, yes, I know know what you're going to say. I had to use gcc 4.5.1 because 4.6.1 wasnt available in my crosstool-ng! Will try manually adding it!