luxiaoaidi 发表于 2016-11-15 08:30:10

i.MX6UL开发板移除触摸屏校准

Hi
   开发板默认的有触摸屏校准程序,目前想移除触摸屏校准这块,请问rootfs这块怎么修改。我在etc/rc.d/qt.env.h里将相关代码屏蔽,重新制作rootfs 再次烧写发现有错误。kernel panic

luxiaoaidi 发表于 2016-11-15 09:45:19

技术学习 发表于 2016-11-15 09:28
您好:
    您只需要把一下代码屏蔽就可以!
if [ -f /etc/pointercal ];then


Hi
   根文件系统制作是linux下,需要注意什么吗?

技术学习 发表于 2016-11-15 09:28:36

您好:
    您只需要把一下代码屏蔽就可以!
if [ -f /etc/pointercal ];then
      echo "calibrated"
else
   /usr/local/tslib/bin/ts_calibrate
   sync
fi

技术学习 发表于 2016-11-15 10:37:10

luxiaoaidi 发表于 2016-11-15 09:45
Hi
   根文件系统制作是linux下,需要注意什么吗?

您好:
      这个文件系统还真没什么可注意的,修改完后就是直接运行脚本就行!

luxiaoaidi 发表于 2016-11-15 11:16:15

技术学习 发表于 2016-11-15 10:37
您好:
      这个文件系统还真没什么可注意的,修改完后就是直接运行脚本就行!

恩,你们资料rootf压缩文件不到100,M,我运行脚本后是398M

luxiaoaidi 发表于 2016-11-15 11:21:36

DLL version: 2.5.1
Tuesday, November 15, 2016 11:19:43   Start new logging
ModuleID LevelID: CMyExceptionHandler thread is running
ModuleID LevelID: new MxHidDeviceClass
ModuleID LevelID: new MxHidDeviceClass
ModuleID LevelID: new MxHidDeviceClass
ModuleID LevelID: new MxHidDeviceClass
ModuleID LevelID: new MxHidDeviceClass
ModuleID LevelID: new MxHidDeviceClass
ModuleID LevelID: Device Manager thread is running
ModuleID LevelID: Can't set m_hStopEvent before it initialized or it already stop

ModuleID LevelID: DeviceManager::DevChangeWnd::OnDeviceChange() - DEVICE_ARRIVAL_EVT(\\?\USB#VID_15A2&PID_007D#5&c1e6cce&0&1#{a5dcbf10-6530-11d2-901f-00c04fb951ed})
ModuleID LevelID: DeviceManager::DevChangeWnd::OnDeviceChange() - end
ModuleID LevelID: DeviceManager::OnMsgDeviceEvent() - DEVICE_ARRIVAL_EVT(\\?\USB#VID_15A2&PID_007D#5&c1e6cce&0&1#{a5dcbf10-6530-11d2-901f-00c04fb951ed})
ModuleID LevelID: DeviceClass::FindDeviceByUsbPath--DeviceListType_Current, _devices.size: 0
ModuleID LevelID: DeviceClass::FindDeviceByUsbPath() - DeviceListType_New--index: 0
ModuleID LevelID: DeviceClass::FindDeviceByUsbPath() - DeviceListType_New--devPath: \\?\hid#vid_15a2&pid_007d#6&1bbb9be8&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}
ModuleID LevelID: new MxHidDevice
ModuleID LevelID: DeviceClass::FindDeviceByUsbPath--DeviceListType_New, devInstPathToFind: USB\VID_15A2&PID_007D\5&C1E6CCE&0&1, _deviceInstanceID: USB\VID_15A2&PID_007D\5&C1E6CCE&0&1
ModuleID LevelID: DeviceClass::FindDeviceByUsbPath--DeviceListType_New, Find the device, Port: 1
ModuleID LevelID: DeviceClass::AddUsbDevice() successful USB#VID_15A2&PID_007D#5&C1E6CCE&0&1#{A5DCBF10-6530-11D2-901F-00C04FB951ED} add to current list, retrycount: 0
ModuleID LevelID: DeviceManager::OnMsgDeviceEvent() - DEVICE_ARRIVAL_EVT, vid_15a2&pid_007d, Hub:2-Port:1
ModuleID LevelID: DeviceManager::OnMsgDeviceEvent() - DEVICE_ARRIVAL_EVT, Notify
ModuleID LevelID: CmdOpreation--OnDeviceChangeNotify, Volume Arrive/Remove or Device Arrive/Remove
ModuleID LevelID: CmdOpreation--OnDeviceChangeNotify, m_p_usb_port is not NULL, so only refresh
ModuleID LevelID: CmdOpreation--OnDeviceChangeNotify, Volume/Device Arrive
ModuleID LevelID: CmdOpreation--set m_hDeviceArriveEvent.
ModuleID LevelID: CmdOpreation--WaitforEvents device arrive1
ModuleID LevelID: CmdOperation device chagned and reset to state 0
ModuleID LevelID: CmdOperation, skip current command, so SetEvent(hDevCanDeleteEvent)
ModuleID LevelID: CmdOperation, skip current command, so SetEvent(hDevCanDeleteEvent)
ModuleID LevelID: CmdOperation, skip current command, so SetEvent(hDevCanDeleteEvent)
ModuleID LevelID: CmdOperation, skip current command, so SetEvent(hDevCanDeleteEvent)
ModuleID LevelID: ExecuteCommand--Boot, File is C:\Users\zl\Desktop\mfgtools\mfgtools\Profiles\linux\OS Firmware\firmware\u-boot-imx6ulevk_sd.imx
ModuleID LevelID: CmdOperation, skip current command, so SetEvent(hDevCanDeleteEvent)
ModuleID LevelID: ExecuteCommand--Load, File is C:\Users\zl\Desktop\mfgtools\mfgtools\Profiles\linux\OS Firmware\firmware\zImage, address is 0x80800000
ModuleID LevelID: MxHidDevice::Write() Error writing to device 0x1f.
ModuleID LevelID: Download(): TransData(0x80800000, 0x200000, 0x0, 0x3040000) failed.
ModuleID LevelID: MxHidDevice::Write() Error writing to device 0x1f.
ModuleID LevelID: Download(): TransData(0x80800000, 0x200000, 0x0, 0x3040000) failed.
ModuleID LevelID: MxHidDevice::Write() Error writing to device 0x2.
ModuleID LevelID: Download(): TransData(0x80800000, 0x200000, 0x0, 0x3040000) failed.
ModuleID LevelID: PortMgrDlg(0)--MxHidDevice--Command Load excute failed, retry count: 3
ModuleID LevelID: CmdOperation, current command executed failed, so SetEvent(hDevCanDeleteEvent)
ModuleID LevelID: DeviceManager::DevChangeWnd::OnDeviceChange() - DEVICE_REMOVAL_EVT(\\?\USB#VID_15A2&PID_007D#5&c1e6cce&0&1#{a5dcbf10-6530-11d2-901f-00c04fb951ed})
ModuleID LevelID: DeviceManager::DevChangeWnd::OnDeviceChange() - end
ModuleID LevelID: DeviceManager::OnMsgDeviceEvent() - DEVICE_REMOVAL_EVT(\\?\USB#VID_15A2&PID_007D#5&c1e6cce&0&1#{a5dcbf10-6530-11d2-901f-00c04fb951ed})
ModuleID LevelID: DeviceClass::FindDeviceByUsbPath--DeviceListType_Current, _devices.size: 1
ModuleID LevelID: DeviceClass::FindDeviceByUsbPath--DeviceListType_Current, devInstPathToFind: USB\VID_15A2&PID_007D\5&C1E6CCE&0&1, _deviceInstanceID: USB\VID_15A2&PID_007D\5&C1E6CCE&0&1
ModuleID LevelID: DeviceClass::FindDeviceByUsbPath--DeviceListType_Current, Find the device
ModuleID LevelID: DeviceManager::OnMsgDeviceEvent() - DEVICE_REMOVAL_EVT, vid_15a2&pid_007d, Hub:2-Port:1
ModuleID LevelID: DeviceManager::OnMsgDeviceEvent() - DEVICE_REMOVAL_EVT, Notify
ModuleID LevelID: CmdOpreation--OnDeviceChangeNotify, Volume Arrive/Remove or Device Arrive/Remove
ModuleID LevelID: CmdOpreation--OnDeviceChangeNotify, m_p_usb_port is not NULL, so only refresh
ModuleID LevelID: CmdOpreation--OnDeviceChangeNotify, Volume/Device Remove
ModuleID LevelID: CmdOpreation--set m_hDeviceRemoveEvent.
ModuleID LevelID: CmdOpreation--WaitforEvents device remove1
ModuleID LevelID: DeviceManager::OnMsgDeviceEvent()-DEVICE_REMOVAL_EVT, hDevCanDeleteEvent has been set
ModuleID LevelID: delete MxHidDevice
ModuleID LevelID: DeviceManager::DevChangeWnd::OnDeviceChange() - DEVICE_ARRIVAL_EVT(\\?\USB#VID_15A2&PID_007D#5&c1e6cce&0&1#{a5dcbf10-6530-11d2-901f-00c04fb951ed})
ModuleID LevelID: DeviceManager::DevChangeWnd::OnDeviceChange() - end
ModuleID LevelID: DeviceManager::OnMsgDeviceEvent() - DEVICE_ARRIVAL_EVT(\\?\USB#VID_15A2&PID_007D#5&c1e6cce&0&1#{a5dcbf10-6530-11d2-901f-00c04fb951ed})
ModuleID LevelID: DeviceClass::FindDeviceByUsbPath--DeviceListType_Current, _devices.size: 0
ModuleID LevelID: DeviceClass::FindDeviceByUsbPath() - DeviceListType_New--index: 0
ModuleID LevelID: DeviceClass::FindDeviceByUsbPath() - DeviceListType_New--devPath: \\?\hid#vid_15a2&pid_007d#6&1bbb9be8&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}
ModuleID LevelID: new MxHidDevice
ModuleID LevelID: DeviceClass::FindDeviceByUsbPath--DeviceListType_New, devInstPathToFind: USB\VID_15A2&PID_007D\5&C1E6CCE&0&1, _deviceInstanceID: USB\VID_15A2&PID_007D\5&C1E6CCE&0&1
ModuleID LevelID: DeviceClass::FindDeviceByUsbPath--DeviceListType_New, Find the device, Port: 1
ModuleID LevelID: DeviceClass::AddUsbDevice() successful USB#VID_15A2&PID_007D#5&C1E6CCE&0&1#{A5DCBF10-6530-11D2-901F-00C04FB951ED} add to current list, retrycount: 0
ModuleID LevelID: DeviceManager::OnMsgDeviceEvent() - DEVICE_ARRIVAL_EVT, vid_15a2&pid_007d, Hub:2-Port:1
ModuleID LevelID: DeviceManager::OnMsgDeviceEvent() - DEVICE_ARRIVAL_EVT, Notify
ModuleID LevelID: CmdOpreation--OnDeviceChangeNotify, Volume Arrive/Remove or Device Arrive/Remove
ModuleID LevelID: CmdOpreation--OnDeviceChangeNotify, m_p_usb_port is not NULL, so only refresh
ModuleID LevelID: CmdOpreation--OnDeviceChangeNotify, Volume/Device Arrive
ModuleID LevelID: CmdOpreation--set m_hDeviceArriveEvent.
ModuleID LevelID: CmdOpreation--WaitforEvents device arrive1
ModuleID LevelID: CmdOperation device chagned and reset to state 0
ModuleID LevelID: CmdOperation, skip current command, so SetEvent(hDevCanDeleteEvent)
ModuleID LevelID: CmdOperation, skip current command, so SetEvent(hDevCanDeleteEvent)
ModuleID LevelID: CmdOperation, skip current command, so SetEvent(hDevCanDeleteEvent)
ModuleID LevelID: CmdOperation, skip current command, so SetEvent(hDevCanDeleteEvent)
ModuleID LevelID: ExecuteCommand--Boot, File is C:\Users\zl\Desktop\mfgtools\mfgtools\Profiles\linux\OS Firmware\firmware\u-boot-imx6ulevk_sd.imx
ModuleID LevelID: MxHidDevice::Read() Error reading from device 0x48f.
ModuleID LevelID: Failed to read HAB type from ROM!!!
ModuleID LevelID: Failed to initialize memory!
ModuleID LevelID: PortMgrDlg(0)--MxHidDevice--Command Boot excute failed
ModuleID LevelID: CmdOperation, current command executed failed, so SetEvent(hDevCanDeleteEvent)
ModuleID LevelID: DeviceManager::DevChangeWnd::OnDeviceChange() - DEVICE_REMOVAL_EVT(\\?\USB#VID_15A2&PID_007D#5&c1e6cce&0&1#{a5dcbf10-6530-11d2-901f-00c04fb951ed})
ModuleID LevelID: DeviceManager::DevChangeWnd::OnDeviceChange() - end
ModuleID LevelID: DeviceManager::OnMsgDeviceEvent() - DEVICE_REMOVAL_EVT(\\?\USB#VID_15A2&PID_007D#5&c1e6cce&0&1#{a5dcbf10-6530-11d2-901f-00c04fb951ed})
ModuleID LevelID: DeviceClass::FindDeviceByUsbPath--DeviceListType_Current, _devices.size: 1
ModuleID LevelID: DeviceClass::FindDeviceByUsbPath--DeviceListType_Current, devInstPathToFind: USB\VID_15A2&PID_007D\5&C1E6CCE&0&1, _deviceInstanceID: USB\VID_15A2&PID_007D\5&C1E6CCE&0&1
ModuleID LevelID: DeviceClass::FindDeviceByUsbPath--DeviceListType_Current, Find the device
ModuleID LevelID: DeviceManager::OnMsgDeviceEvent() - DEVICE_REMOVAL_EVT, vid_15a2&pid_007d, Hub:2-Port:1
ModuleID LevelID: DeviceManager::OnMsgDeviceEvent() - DEVICE_REMOVAL_EVT, Notify
ModuleID LevelID: CmdOpreation--OnDeviceChangeNotify, Volume Arrive/Remove or Device Arrive/Remove
ModuleID LevelID: CmdOpreation--OnDeviceChangeNotify, m_p_usb_port is not NULL, so only refresh
ModuleID LevelID: CmdOpreation--OnDeviceChangeNotify, Volume/Device Remove
ModuleID LevelID: CmdOpreation--set m_hDeviceRemoveEvent.
ModuleID LevelID: CmdOpreation--WaitforEvents device remove1
ModuleID LevelID: DeviceManager::OnMsgDeviceEvent()-DEVICE_REMOVAL_EVT, hDevCanDeleteEvent has been set
ModuleID LevelID: delete MxHidDevice
ModuleID LevelID: CCmdOpreation thread is Closed
ModuleID LevelID: CCmdOpreation thread is Closed
ModuleID LevelID: DeviceManager::OnMsgDeviceEvent() - EVENT_KILL
ModuleID LevelID: CMyExceptionHandler::OnMsgExceptionEvent() - KillExceptionHandlerThread
ModuleID LevelID: Exception Handler thread is closed
ModuleID LevelID: delete MxHidDeviceClass
ModuleID LevelID: Device Manager thread is closed

luxiaoaidi 发表于 2016-11-15 13:04:14

,自己修改了rootfs后烧写就白屏,现在识别不到HID 设备了,请问这种情况如何处理呀

luxiaoaidi 发表于 2016-11-15 14:18:46

Hi

      问题已经解决,感谢支持。
页: [1]
查看完整版本: i.MX6UL开发板移除触摸屏校准