[Captivate Android Development] TMC_Sherpa:
I897 vs I9000

OK here are the unique files between the Captivate and the Galaxy

*fixed for Sep 6th source drop*

I897 ./linux-2.6.29/arch/arm/configs/kepler_rev02_defconfig

I897 ./linux-2.6.29/drivers/input/keyboard/MMH_ST959_R01_V07_bin.c

I897 ./linux-2.6.29/drivers/input/keyboard/VTW0014_R00_V08_bin.c

I897 ./linux-2.6.29/drivers/input/keyboard/VTW0014_R00_V10_bin.c

I897 ./linux-2.6.29/drivers/input/keyboard/VTW0014_R00_V12_bin.c

I897 ./linux-2.6.29/drivers/input/keyboard/VTW0014_R00_V14_bin.c

I897 ./linux-2.6.29/drivers/input/keyboard/VTW0014_R00_V15_bin.c

I897 ./linux-2.6.29/include/config/audio

I897 ./linux-2.6.29/include/config/kepler

I897 ./linux-2.6.29/include/config/aries/ver/b2.h

I897 ./linux-2.6.29/include/config/keypad/melfas

I897 ./linux-2.6.29/include/media/isx005_platform.h

I897 ./linux-2.6.29/sound/soc/codecs/A1026_dev.h

I897 ./linux-2.6.29/sound/soc/codecs/A1026_i2c_drv.c

I897 ./linux-2.6.29/sound/soc/codecs/A1026_i2c_drv.h

I897 ./linux-2.6.29/sound/soc/codecs/A1026_regs.h

I897 ./linux-2.6.29/sound/soc/codecs/audience.c

I897 ./linux-2.6.29/sound/soc/codecs/audience.h

I897 ./linux-2.6.29/sound/soc/codecs/HAC.c

I897 ./linux-2.6.29/sound/soc/codecs/HAC.h

I897 ./linux-2.6.29/sound/soc/codecs/ttymisc.c

I897 ./linux-2.6.29/sound/soc/codecs/ttymisc.h

I897 ./linux-2.6.29/sound/soc/codecs/wm8994_def_behold3.h

I897 ./linux-2.6.29/sound/soc/codecs/wm8994_def_kepler.h

I897 ./linux-2.6.29/sound/soc/codecs/wm8994_def_sw.h

I897 ./linux-2.6.29/sound/soc/codecs/wm8994_kepler_sw.c

I897 ./linux-2.6.29/sound/soc/codecs/wm8994_kepler.c

I897 ./linux-2.6.29/sound/soc/codecs/wm8994_sw.c

I9000 ./linux-2.6.29/include/asm-arm/plat-s3c24xx/regs-s3c2412-iis.h

I9000 ./linux-2.6.29/include/asm-arm/plat-s3c24xx/regs-iis.h

The I9000 s3c24xx files are the same as the Vibrant and I'm still not sure what they are doing there. They are #include all over the place in arch/arm and sound/soc

There are a lot of files that are different between the USGSM phones (there are multiple comments using that as a reference) which is weird because there are fewer differences between the I900 .config and the I897 than the Vibrant.

These look like they just add new #ifdefs so I think they should work with the I9000 source

linux-2.6.29/arch/arm/Kconfig

linux-2.6.29/arch/arm/mach-s5pc110/include/mach/gpio-jupiter.h

linux-2.6.29/arch/arm/mach-s5pc110/include/mach/sec_jack.h

linux-2.6.29/arch/arm/mach-s5pc110/include/mach/sec_jack.h

linux-2.6.29/arch/arm/mach-s5pc110/Kconfig

linux-2.6.29/arch/arm/plat-s5pc11x/pm.c

linux-2.6.29/drivers/input/touchscreen/Kconfig

linux-2.6.29/drivers/media/video/Kconfig

linux-2.6.29/drivers/media/video/Makefile

linux-2.6.29/drivers/media/video/samsung/tv20_ap/s5p_tv_base.c

linux-2.6.29/drivers/mmc/core/core.c

linux-2.6.29/drivers/mmc/core/host.c

linux-2.6.29/drivers/mmc/host/sdhci.h

linux-2.6.29/drivers/mmc/host/sdhci-s3c.c

linux-2.6.29/drivers/sensor/compass/yamaha.c

linux-2.6.29/include/linux/mmc/host.h

linux-2.6.29/kernel/power/earlysuspend.c

linux-2.6.29/sound/soc/codecs/Makefile

linux-2.6.29/sound/soc/codecs/wm8994.h

modules/bcm4329/src/dhd/sys/dhd.h

modules/bcm4329/src/dhd/sys/dhd_linux.c

modules/bcm4329/src/dhd/sys/dhd_sdio.c

these files are different enough that I'm not sure they can be swapped with out some work

linux-2.6.29/arch/arm/mach-s5pc110/mach-common.c

linux-2.6.29/arch/arm/mach-s5pc110/mach-jupiter.c

linux-2.6.29/arch/arm/mach-s5pc110/sec_jack.c

linux-2.6.29/.config

linux-2.6.29/drivers/input/keyboard/cypress/cypress-touchkey.c

linux-2.6.29/drivers/input/keyboard/melfas-touchkey.c

linux-2.6.29/drivers/input/keyboard/s3c-keypad.c

linux-2.6.29/drivers/input/keyboard/s3c-keypad.h

linux-2.6.29/drivers/input/touchscreen/qt602240.c

linux-2.6.29/drivers/media/video/ce147.c

linux-2.6.29/drivers/media/video/samsung/mfc50/mfc_opr.c

linux-2.6.29/drivers/power/s5pc110_battery.c

linux-2.6.29/drivers/regulator/max8998.c

linux-2.6.29/drivers/rtc/alarm.c

linux-2.6.29/drivers/sensor/optical/gp2a.c

linux-2.6.29/drivers/staging/android/lowmemorykiller.c

linux-2.6.29/drivers/video/samsung/s3cfb_tl2796.c

linux-2.6.29/sound/soc/codecs/wm8994_aries.c

linux-2.6.29/sound/soc/codecs/wm8994.c

modules/bcm4329/src/include/epivers.h

modules/bcm4329/src/wl/sys/wl_iw.c

modules/dpram/dpram.c

modules/dpram/fsr/FSR_BML.h

modules/dpram/fsr/FSR_DBG.h

modules/dpram/fsr/FSR.h

modules/dpram/fsr/FSR_LLD_4K_OneNAND.h

modules/dpram/fsr/FSR_LLD_FlexOND.h

modules/dpram/fsr/FSR_LLD.h

modules/dpram/fsr/FSR_LLD_OneNAND.h

modules/dpram/fsr/FSR_OAM.h

modules/dpram/fsr/FSR_PAM.h

modules/dpram/fsr/FSR_PartitionID.h

modules/dpram/fsr/FSR_STL.h

it looks like we have an older version of FSR for some reason? All the headers in modules/dpram/fsr list

I897 Flex Sector Remapper : RFS_1.3.1_b060-LinuStoreIII_1.1.0_b022-FSR_1.1.1_b112_RC

I9000 Flex Sector Remapper : LinuStoreIII_1.2.0_b032-FSR_1.2.1p1_b129_RTM

modules/dpram/fsr/FSR_LLD_PureNAND.h is 1.2 in both. *shrug*

*We now have the same version as the I9000*

linux-2.6.29/drivers/sensor/optical/gp2a.c has only one change

I897	wake_lock_timeout(&prx_wake_lock, 5*HZ);

---

I9000	wake_lock_timeout(&prx_wake_lock, 3*HZ);

linux-2.6.29/drivers/media/video/ce147.c doesn't have a #ifdefined for the I9000 but there is a section to check if its a I897 or a T959

#if defined(CONFIG_S5PC110_KEPLER_BOARD)

unsigned char ce147_str_model[9] = "SGH-I897";

#endif

#if defined (CONFIG_S5PC110_T959_BOARD)

unsigned char ce147_str_model[9] = "SGH-T959";

#endif

---

#ifdefined for unsigned char ce147_str_model[9] = "GT-I9000";

Looks like the Captivate is not only a CONFIG_ARIES_VER_B3 but also CONFIG_S5PC110_KEPLER_BOARD and a Vibrant is CONFIG_JUPITER_VER_B5 and CONFIG_S5PC110_T959_BOARD which is interesting.

CONFIG_S5PC110_FLEMING_BOARD is also floating around in there but I'm not sure which phone it refers to.

The obvious next question is what did Samsung change vs the stock kernel I think I have a 2.1 around here somewhere.

For laughs I did a diff vs cm6 and there are 9138 files that are different and 3946 that are unique to the I897 source. Considering cm6 has 36260 files total (in the version I have) that shouldn't be too hard for those guys right? Right?

Ah well I'll be back once I have the 2.1 stuff.

Sherpa

Doh

I should have mentioned that quite a few of the differences between the USGSM source and the Galaxy have to do with the A1026 codecs