C:\>adb shell
[email protected]_6sl:/ #
delta\u-boot\drivers\fastboot\fastboot.c: printf("fastboot is in init......");
distro\u-boot\board\freescale\mx6sl_ntx\ntx_cmd.c:
if (3 == flag) {
_led_R (1);
printf ("Entering recovery mode !!\n");
iRet = 1;
break;
}
else if (0x30 == flag) {
_led_R (1);
printf ("Entering external sd boot mode !!\n");
iRet = 2;
break;
}
else if (0x11 == flag) {
_led_R (1);
printf ("Entering fastboot mode !!\n");
iRet = 3;
break;
}
else {
printf ("Wrong points combination ! 0x%x\n",flag);
}
dataCnt=zforce_read (data);
if (0 <= iRet && 4 == data[0]) {
if (2 == data[1]) {
int x,y;
unsigned long flag=0;
printf ("Got dual finger touched!!\n");
x = (data[3]<<8) | data[2];
y = (data[5]<<8) | data[4];
if (60 > x && (DEFAULT_PANEL_W-60) < y)
flag |= 1;
if ((DEFAULT_PANEL_H-60) < x && (DEFAULT_PANEL_W-60) < y)
flag |= 2;
if (60 > x && 60 > y)
flag |= 0x10;
if ((DEFAULT_PANEL_H-60) < x && 60 > y)
flag |= 0x20;
x = (data[12]<<8) | data[11];
y = (data[14]<<8) | data[13];
if (60 > x && (DEFAULT_PANEL_W-60) < y)
flag |= 1;
if ((DEFAULT_PANEL_H-60) < x && (DEFAULT_PANEL_W-60) < y)
flag |= 2;
if (60 > x && 60 > y)
flag |= 0x10;
if ((DEFAULT_PANEL_H-60) < x && 60 > y)
flag |= 0x20;
; IMX6SL
%SingleFastBootInterface% = USB_Install, USB\VID_18D1&PID_0D02
eBR-1A # ntxup waittouch
i2c_addr:chip address cycle fail(a1)
i2c_addr failed
zforce read failed !
iUSB_in=ntx_detect_usb_plugin(0);
. . . . .
if(iUSB_in&USB_CHARGER_OTG) {
printf("\n**********************************\n\n");
printf("\n** fastboot mode OTG USB **\n\n");
printf("\n**********************************\n\n");
iRet = NTX_BOOTMODE_FASTBOOT;
//fastboot_connection_timeout_us_set(5*1000*1000);
fastboot_connection_timeout_us_set(0);
fastboot_connection_abort_at_usb_remove_chk_setup(&ntx_is_fastboot_abort_inusbremove);
}
if(49==gptNtxHwCfg->m_val.bPCB && gptNtxHwCfg->m_val.bPCB_REV>=0x20) {
// E60QDXA2
// detect the usb id pin .
if(!ntx_gpio_get_value(>_ntx_gpio_USBID)) {
iRet |= USB_CHARGER_OTG;
}
}
[email protected]_6sl:/ # getprop
...
[ro.build.version.release]: [4.4.2]
[ro.build.version.sdk]: [19]
setprop persist.sys.usb.config mtp,adb
setprop sys.usb.config mtp,adb