[Miscellaneous Android Development] myphoneuser:
Thanks for the suggestion but tried sending a private sms to casacristo with no luck.

Sadly I also found that if the kernel does not support swap, swap can't be loaded as a module, so we can't compile a swap module.

The page provided has the datasheet which as far as I know has the technical specs of the mt6573 processor, not the kernel, but I hope there is something there that can be used to compile a custom kernel.

---------- Post added at 10:06 AM ---------- Previous post was at 10:01 AM ----------

Hey just found this: what does it mean? the guy who posted this has the source?

================================================================================================

drivers debug

-------------------------------------------------------------------------------------------------------------

board_init

-------------------------------------------------------------------------------------------------------------

/mediatek/platform/mt6573/kernel/core/mt6573_devs.c

所有的驱动名对应的设备名都可以在这里找到！

-------------------------------------------------------------------------------------------------------------

lcd

-------------------------------------------------------------------------------------------------------------

/mediatek/custom/common/uboot/lcm

/mediatek/custom/common/kernel/lcm

CUSTOM_UBOOT_LCM = ili9481_dpi

***********************************************************

LCM_WIDTH = 320

LCM_HEIGHT = 480

CUSTOM_UBOOT_LCM = ili9481_dpi

CUSTOM_KERNEL_LCM = ili9481_dpi

***********************************************************

-------------------------------------------------------------------------------------------------------------

camera

-------------------------------------------------------------------------------------------------------------

kernel

/mediatek/custom/common/kernel/imgsensor/src

kd_imgsensor.h

kd_sensorlist.h

hal

/mediatek/custom/common/hal/imgsensor/

sensorlist.cpp

MTKCameraHardware.cpp

***********************************************************

CUSTOM_HAL_CAMERA = camera

CUSTOM_HAL_IMGSENSOR = gc2015_yuv

CUSTOM_KERNEL_IMGSENSOR = gc2015_yuv

CUSTOM_HAL_MAIN_IMGSENSOR = gc2015_yuv

CUSTOM_KERNEL_MAIN_IMGSENSOR = gc2015_yuv

***********************************************************

-------------------------------------------------------------------------------------------------------------

TouchPanel

-------------------------------------------------------------------------------------------------------------

/mediatek/custom/common/kernel/touchpanel/src/mtk_tpd.c

tpd_driver_add(&tpd_device_driver);

platform_driver_unregister(&tpd_driver);

***********************************************************

CUSTOM_KERNEL_TOUCHPANEL = COMM

# default settings: generic

# candidate settings: generic;eeti_pcap7200

# select the panel used by certain project.

***********************************************************

-------------------------------------------------------------------------------------------------------------

flash

-------------------------------------------------------------------------------------------------------------

CUSTOM_MEMORY_HDR = mediatek/custom/$(PROJECT)/preloader/inc/custom_MemoryDevice.h

CUSTOM_NAND_HDR = mediatek/custom/$(PROJECT)/common/nand_device_list.h

MEMORY_DEVICE_XLS = mediatek/build/tools/emigen/$(MTK_PLATFORM)/MemoryDeviceList_$(MTK_PLATFORM).xls

-------------------------------------------------------------------------------------------------------------

GPIO_config

-------------------------------------------------------------------------------------------------------------

./mediatek/build/makemtk.mk +294

drvgen:

ifneq ($(PROJECT),generic)

$(hide) echo $(SHOWTIME) $@ing...

$(hide) echo -e \\t\\t\\t\\b\\b\\b\\bLOG: $(S_LOG)$@.log

$(hide) mediatek/source/dct/DrvGen mediatek/custom/$(PROJECT)/kernel/dct/dct/codegen.dws $(DEAL_STDOUT_DRVGEN) && \

$(SHOWRSLT) $$? $(LOG)$@.log || \

$(SHOWRSLT) $$? $(LOG)$@.log

endif

*********************************************

mediatek/source/dct/DrvGen

mediatek/custom/$(PROJECT)/kernel/dct/dct/codegen.dws

*********************************************

-------------------------------------------------------------------------------------------------------------

G-sensor

-------------------------------------------------------------------------------------------------------------

int hwmsen_gsensor_add(struct sensor_init_info* obj)

/mediatek/custom/common/kernel/accelerometer/auto/

/mediatek/config/mtk/ProjectConfig.mk:188:MTK_SENSOR_SUPPORT = yes

# Android sensor device

MTK_SENSOR_SUPPORT = yes

CUSTOM_KERNEL_MAGNETOMETER =

#akm8962

#akm8975

#auto for detcet by lilingyun

CUSTOM_KERNEL_ACCELEROMETER = auto

CUSTOM_KERNEL_ALSPS = tmd2771

CUSTOM_KERNEL_BAROMETER =

CUSTOM_KERNEL_GYROSCOPE =

#l3g4200d

#if defined(MTK_AUTO_DETECT_ACCELEROMETER)

/mediatek/source/kernel/drivers/hwmon/hwmsen/Hwmsen_dev.c

********************************************

#auto for detcet by lilingyun

CUSTOM_KERNEL_ACCELEROMETER = auto

*******************************************

-------------------------------------------------------------------------------------------------------------

compass

-------------------------------------------------------------------------------------------------------------

mediatek/custom/common/kernel/magnetometer/akm8962/akm8962.c

mediatek/custom/tm100/kernel/magnetometer/akm8962/cust_mag.c

*********************************************

CUSTOM_KERNEL_MAGNETOMETER =

#akm8962

#akm8975

********************************************

-------------------------------------------------------------------------------------------------------------

ALS/PS 光感 接近传感器

-------------------------------------------------------------------------------------------------------------

*********************************************

CUSTOM_KERNEL_ALSPS = tmd2771

*********************************************

mediatek/custom/common/kernel/alsps/tmd2771/tmd2771.c

mediatek/custom/common/kernel/alsps/tmd2771/tmd2771.h

mediatek/custom/tm100/kernel/alsps/tmd2771/cust_alsps.c

-------------------------------------------------------------------------------------------------------------

GYRO-sensor motion sensor 陀螺仪

-------------------------------------------------------------------------------------------------------------

*********************************************

CUSTOM_KERNEL_GYROSCOPE =

#l3g4200d

*********************************************

mediatek/custom/common/kernel/gyroscope/l3g4200d/l3g4200d.c

mediatek/custom/tm100/kernel/gyroscope/l3g4200d/cust_gyro.c

-------------------------------------------------------------------------------------------------------------

BAROMETER-sensor 气压计

-------------------------------------------------------------------------------------------------------------

*********************************************

CUSTOM_KERNEL_BAROMETER =

#ms5607

*********************************************

mediatek/custom/tm100/kernel/barometer/ms5607/cust_baro.c

mediatek/custom/common/kernel/barometer/ms5607/ms5607.c

------------------------------------------------------------------------------------------------------------

flashlight

------------------------------------------------------------------------------------------------------------

*********************************************

CUSTOM_HAL_FLASHLIGHT = dummy_flashlight

CUSTOM_KERNEL_FLASHLIGHT = dummy_flashlight

*********************************************

mediatek/custom/common/kernel/flashlight/dummy_flashlight/dummy_flashlight.c

mediatek/custom/common/kernel/flashlight/src/kd_flashlightlist.c

------------------------------------------------------------------------------------------------------------

jogball

------------------------------------------------------------------------------------------------------------

*********************************************

CUSTOM_KERNEL_JOGBALL =

*********************************************

mediatek/custom/common/kernel/jogball/

------------------------------------------------------------------------------------------------------------

leds

------------------------------------------------------------------------------------------------------------

*********************************************

CUSTOM_KERNEL_LEDS = mt65xx

*********************************************

mediatek/custom/common/kernel/leds

------------------------------------------------------------------------------------------------------------

matv

------------------------------------------------------------------------------------------------------------

*********************************************

CUSTOM_HAL_MATV =

CUSTOM_KERNEL_MATV =

HAVE_MATV_FEATURE = no

*********************************************

mediatek/custom/common/kernel/matv/mt5193/matv.c

------------------------------------------------------------------------------------------------------------

sound

------------------------------------------------------------------------------------------------------------

*********************************************

MTK_SOUNDRECORDER_APP = yes

CUSTOM_KERNEL_SOUND = speaker

*********************************************

mediatek/custom/common/kernel/sound/inc/yusu_android_speaker.h

mediatek/custom/tm100/kernel/sound/speaker/yusu_android_speaker.c

------------------------------------------------------------------------------------------------------------

USB

------------------------------------------------------------------------------------------------------------

*********************************************

CUSTOM_KERNEL_USB = mt6573

*********************************************

mediatek/custom/common/kernel/usb/src/Makefile

mediatek/custom/mt6573/kernel/usb/src/mtk_usb_custom.c

mediatek/custom/mt6573/kernel/usb/src/mtk_usb_custom.h

mediatek/custom/mt6573/uboot/inc/cust_sdc.h

mediatek/platform/mt6573/kernel/drivers/usb-gadget/

mediatek/platform/mt6573/kernel/drivers/power/

------------------------------------------------------------------------------------------------------------

BT

------------------------------------------------------------------------------------------------------------

*********************************************

MTK_WLAN_CHIP = MT6620

# candidate settings: MT6620

MTK_BT_CHIP = MTK_MT6620

# candidate settings: MTK_MT6611/MTK_MT6612/MTK_MT6616/MTK_MT6620

MTK_WLAN_SUPPORT = yes

MTK_BT_SUPPORT = yes

MTK_WLAN_SUPPORT = yes

MTK_WLANBT_SINGLEANT = no

MTK_BT_30_HS_SUPPORT = yes

####config BT feature###########

# please do not modify these options

MTK_BT_21_SUPPORT = yes

MTK_BT_30_SUPPORT = yes

MTK_BT_40_SUPPORT = yes

MTK_BT_FM_OVER_BT_VIA_CONTROLLER = yes

MTK_BT_PROFILE_OPP = yes

MTK_BT_PROFILE_SIMAP = yes

MTK_BT_PROFILE_PRXM = yes

MTK_BT_PROFILE_PRXR = yes

MTK_BT_PROFILE_HIDH = yes

MTK_BT_PROFILE_FTP = yes

MTK_BT_PROFILE_PBAP = yes

MTK_BT_PROFILE_MANAGER = yes

MTK_BT_PROFILE_BPP = yes

MTK_BT_PROFILE_BIP = yes

MTK_BT_PROFILE_DUN = yes

MTK_BT_PROFILE_PAN = yes

MTK_BT_PROFILE_HFP = yes

MTK_BT_PROFILE_A2DP = yes

MTK_BT_PROFILE_AVRCP = yes

MTK_BT_PROFILE_AVRCP14 = yes

MTK_BT_PROFILE_TIMEC = no

MTK_BT_PROFILE_TIMES = no

MTK_BT_PROFILE_MAPS = no

MTK_BT_PROFILE_MAPC = no

MTK_BT_PROFILE_SPP = yes

####config BT feature end ####

*********************************************

mediatek/custom/common/kernel/btwlanem/btwlanem/btwlanem.c

------------------------------------------------------------------------------------------------------------

EEPROM

------------------------------------------------------------------------------------------------------------

*********************************************

CUSTOM_HAL_EEPROM = dummy_eeprom

CUSTOM_KERNEL_EEPROM = dummy_eeprom

*********************************************

mediatek/custom/common/kernel/eeprom/dummy_eeprom/dummy_eeprom.c

------------------------------------------------------------------------------------------------------------

FM

------------------------------------------------------------------------------------------------------------

*********************************************

MTK_FM_CHIP = MT6620_FM

MTK_FM_SUPPORT = yes

MTK_FM_TX_SUPPORT = yes

MTK_FM_AUDIO = FM_ANALOG_INPUT

#FM_DIGITAL_INPUT

*********************************************

mediatek/custom/common/kernel/fm/mt6620/dummy.c

------------------------------------------------------------------------------------------------------------

voice coil motor driver

------------------------------------------------------------------------------------------------------------

*********************************************

CUSTOM_HAL_LENS = dummy_lens dummy_lens

CUSTOM_KERNEL_LENS = dummy_lens dummy_lens

CUSTOM_HAL_MAIN_LENS = dummy_lens

CUSTOM_HAL_MAIN_BACKUP_LENS =

CUSTOM_HAL_SUB_LENS = dummy_lens

CUSTOM_HAL_SUB_BACKUP_LENS =

CUSTOM_KERNEL_MAIN_LENS = dummy_lens

CUSTOM_KERNEL_MAIN_BACKUP_LENS =

CUSTOM_KERNEL_SUB_LENS = dummy_lens

CUSTOM_KERNEL_SUB_BACKUP_LENS =

*********************************************

mediatek/custom/common/kernel/lens/dummy_lens/dummy_lens.c

------------------------------------------------------------------------------------------------------------

OFN

------------------------------------------------------------------------------------------------------------

*********************************************

CUSTOM_KERNEL_OFN = ofn1090

*********************************************

mediatek/custom/common/kernel/ofn/inc

mediatek/custom/tm100/kernel/ofn/ofn1090/cust_ofn.c

------------------------------------------------------------------------------------------------------------

wifi

-----------------------------------------------------------------------------------------------------------

*********************************************

CUSTOM_KERNEL_WIFI =

MTK_SCREEN_OFF_WIFI_OFF = no

MTK_WIFI_P2P_SUPPORT = yes

MTK_WIFI_HOTSPOT_SUPPORT = yes

*********************************************

mediatek/custom/common/kernel/wifi/mt592x/dummy.c

------------------------------------------------------------------------------------------------------------

HEADSET

------------------------------------------------------------------------------------------------------------

*********************************************

CUSTOM_KERNEL_HEADSET = accdet

MTK_HEADSET_ICON_SUPPORT = yes

*********************************************

mediatek/custom/tm100/kernel/headset/accdet/accdet_custom.h

------------------------------------------------------------------------------------------------------------

board 配置与分区信息

------------------------------------------------------------------------------------------------------------

*********************************************

*********************************************

mediatek/custom/tm100/kernel/core/src/board.c

mediatek/custom/tm100/kernel/core/src/partition.c

------------------------------------------------------------------------------------------------------------

PM

------------------------------------------------------------------------------------------------------------

*********************************************

CUSTOM_KERNEL_BATTERY = battery

*********************************************

mediatek/custom/tm100/kernel/battery/battery/cust_battery.h

mediatek/custom/tm100/kernel/battery/battery/custom_fuel_gauge.h

mediatek/platform/mt6573/kernel/drivers/power/mt6573_battery.c

------------------------------------------------------------------------------------------------------------

RTC

------------------------------------------------------------------------------------------------------------

*********************************************

CUSTOM_KERNEL_RTC = rtc

# default settings: rtc

# candidate settings: rtc

# For RTC

*********************************************

mediatek/custom/tm100/kernel/rtc/rtc/rtc-mt6573.h

mediatek/platform/mt6573/kernel/drivers/rtc/mtk_rtc.c