現在示範userdebug 關閉序列槽調試
- BoardConfig.mk(device/qcom/msm8909/BoardConfig.mk)
- 沒改之前:
BOARD_KERNEL_CMDLINE := console=ttyHSL0,115200,n8 androidboot.console=ttyHSL0 androidboot.hardware=qcom msm_rtb.filter=0x237 ehci-hcd.park=3 androidboot.bootdevice=7824900.sdhci lpm_levels.sleep_disabled=1 earlyprintk
- 改了之後
BOARD_KERNEL_CMDLINE := androidboot.hardware=qcom msm_rtb.filter=0x237 ehci-hcd.park=3 androidboot.bootdevice=7824900.sdhci lpm_levels.sleep_disabled=1 earlyprintk
-
msm8909-1gb_defconfig(kernel/arch/arm/configs/msm8909-1gb_defconfig(debug版);
kernel/arch/arm/configs/msm8909-1gb-perf_defconfig(release版))
注釋掉:
CONFIG_SERIAL_MSM_HSL_CONSOLE=y
如果是release(lunch msm8909-user)要打開序列槽的話,修改msm8909-1gb-pref_defconfig檔案時記得修改CONFIG_SERIAL_MSM_HSL =y(沒改之前是被注釋的 # CONFIG_SERIAL_MSM_HSL is not set)