您尚未登录。

#1 Re: 全志 SOC » 全志A40I切换Android6桌面奔溃现象 » 2019-12-26 16:11:46

打酱油 说:

板主您好,我现在也出现了和您上边一样的问题,我用的平台是F1C200S,上电logo正常显示,log也没有打印sunxi-ion ion.6: Fail to allocate buffer。由于我们有一个播放视频的需求,在播放视频过程中出现了sunxi-ion ion.6: Fail to allocate buffer报错。

16001+0 records in
16000+0 records out
hanshow_player# ERROR  : awplayer <PlayerStop:855>: invalid stop operation, player already in stopped status.
debug  : cedarc <LogVersionInfo:40>:
>>>>>>>>>>>>>>>>>>>>>>>>>>[   83.498385] sid_get_vir_base()215 - Failed to find "allwinner,sunxi-chipid" in dts.
>>> Cedar Codec [   83.508479] sid_get_vir_base()215 - Failed to find "allwinner,sunxi-chipid" in dts.
<<<<<<<<<<<<<<<<[   83.518184] sid_get_vir_base()215 - Failed to find "allwinner,sunxi-chipid" in dts.
<<<<<<<<<<<<
ta[   83.528033] sid_get_vir_base()215 - Failed to find "allwinner,sunxi-chipid" in dts.
g   : CedarC-v1.[   83.538017] sid_get_vir_base()215 - Failed to find "allwinner,sunxi-chipid" in dts.
1.9
branch: master
commit: 1951abe1456450ea48bfd446e801861a1354e93c
date  : Wed May 30 18:59:36 2018 +0800
author: jenkins8080
patch : 
----------------------------------------------------------------------

debug  : cedarc <CreateVideoDecoder:215>:CreateVideoDecoder ****
debug  : ionAlloc <__GetIonMemOpsS:985>:*** get __GetIonMemOpsS ***
debug  : cedarc <InitializeVideoDecoder:344>:*** pVconfig->nVeFreq = 0
debug  : ionAlloc <__GetIonMemOpsS:985>:*** get __GetIonMemOpsS ***
debug  : ionAlloc <ion_alloc_open:134>:begin ion_alloc_open 

debug  : cedarc <VeSetSpeed:1559>: *** set ve freq to 300 Mhz ***
debug  : cedarc <VeInitialize:1198>: ve init ok

debug  : ionAlloc <ion_alloc_open:175>:** phy offset = 40000000
debug  : cedarc <VeRelease:1253>: ve release ok

debug  : cedarc <DecideStreamBufferSize:1897>:nBufferSize=1048576
debug  : cedarc <VeSetSpeed:1559>: *** set ve freq to 300 Mhz ***
debug  : cedarc <VeInitialize:1198>: ve init ok

debug  : cedarc <VideoEngineCreate:388>: *** pEngine->nIcVeVersion = 1663, decIpVersion = 0
debug  : cedarc <VeGetChipId:1385>: 00000000

debug  : cedarc <CreateSpecificDecoder:1209>: Create decoder '115:h264'
debug  : cedarc <VideoEngineCreate:481>: **************eCtlAfcbMode = 0
debug  : cedarc <GetSbmInterface:1705>:*********GetSbmInterface, nType=4

debug  : cedarc <GetSbmInterfaceFrame:1663>:******* sbm-type: Frame*******
debug  : cedarc <SbmFrameInit:178>:************pSbm->sbmInterface.bUseNewVeMemoryProgram=0

debug  : cedarc <CdcMessageQueueCreate:47>:nMessageSize = 20
debug  : ionAlloc <__GetIonMemOpsS:985>:*** get __GetIonMemOpsS ***
debug  : ionAlloc <ion_alloc_open:134>:begin ion_alloc_open 

DEBUG : tplayer <CallbackFromXPlayer:83>: video width = 1280,height = 720
*****tplayer:video width = 1280,height = 720
debug  : cedarc <SbmFrameReset:588>:** wait for reset sem
debug  : cedarc <ProcessThread:1591>:*** post reset sem
debug  : cedarc <SbmFrameReset:590>:** wait for reset sem ok
debug  : cedarc <SbmFrameReset:595>:SbmFrameReset finish
(Allwinner Audio Middle Layer),line(958) : Create Decoder!!=====
(Allwinner Audio Middle Layer),line(592) : AudioDec_Installaudiolib ok
(Allwinner Audio Middle Layer),line(595) : audio decoder init start ...
(AllwinnerAlibs),line(50) : 
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Audio <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
tag   : audiocodec-v1.2
branch: new
commit: 3ba65962c01cbf1280ddda19d843009b6ef8ce85
date  : Tue Jan 8 16:25:27 2019 +0800
----------------------------------------------------------------------

(AllwinnerAlibs),line(679) : ----Loading so success!
(AllwinnerAlibs),line(877) : *************pAudioStreamInfo start******************
(AllwinnerAlibs),line(878) : eCodecFormat         :id(4), name(aac low-complexy)
(AllwinnerAlibs),line(879) : eSubCodecFormat      :0
(AllwinnerAlibs),line(880) : nChannelNum          :2
(AllwinnerAlibs),line(881) : nBitsPerSample       :16
(AllwinnerAlibs),line(882) : nSampleRate          :48000
(AllwinnerAlibs),line(883) : nAvgBitrate          :40565
(AllwinnerAlibs),line(884) : nMaxBitRate          :40565
(AllwinnerAlibs),line(885) : nFileSize            :0
(AllwinnerAlibs),line(886) : eAudioBitstreamSource:0
(AllwinnerAlibs),line(887) : eDataEncodeType      :0
(AllwinnerAlibs),line(888) : nCodecSpecificDataLen:5
(AllwinnerAlibs),line(889) : pCodecSpecificData   :0x19f1ce0
(AllwinnerAlibs),line(890) : nFlags               :0
(AllwinnerAlibs),line(891) : nBlockAlign          :0
(AllwinnerAlibs),line(892) : *************pAudioStreamInfo end  ******************
(AAC Decoder),line(36) : init successs...
(Allwinner Audio Middle Layer),line(603) : AUDIO DECODE INIT OK...0
debug  : subInternal <SubInternalInit:129>: ***internal sub_type = 0x201, nCodecSpecificDataLen = 35
DEBUG : tsoundcontrol <TSoundDeviceSetFormat:197>: TinaSoundDeviceSetFormat(),sc->sound_status == 2
DEBUG : tsoundcontrol <TSoundDeviceSetFormat:199>: TinaSoundDeviceSetFormat()
DEBUG : tsoundcontrol <TSoundDeviceSetFormat:205>: TinaSoundDeviceSetFormat()>>>sample_rate:48000,channel_num:2,sc->bytes_per_sample:4
debug  : cedarc <H264ProcessExtraData2:579>: H264ProcessNaluUnit, bNeedFindSPS = 0, bNeedFindPPS = 0
debug  : cedarc <AvcSbmFrameCheckBitStreamType:320>:result: bStreamWithStartCode[0], with[0], whitout[1]
debug  : cedarc <H264DecodePictureScanType:2688>: here3:hCtx->bProgressice=1

debug  : fbm.c <FbmCreateBuffer:133>:FbmCreate, total fbm number: 9, decoder needed: 3,  nWidth=1280, nHeight=720 nAlignStride = 32
debug  : fbm.c <FbmCreateBuffer:280>:*** calcute nLower2BitBufOffset = 0(0.00), stride = 0
debug  : fbm.c <FbmCreateBuffer:280>:*** calcute nLower2BitBufOffset = 0(0.00), stride = 0
debug  : fbm.c <FbmCreateBuffer:280>:*** calcute nLower2BitBufOffset = 0(0.00), stride = 0
debug  : fbm.c <FbmCreateBuffer:280>:*** calcute nLower2BitBufOffset = 0(0.00), stride = 0
debug  : fbm.c <FbmCreateBuffer:280>:*** calcute nLower2BitBufOffset = 0(0.00), stride = 0
debug  : fbm.c <FbmCreateBuffer:280>:*** calcute nLower2BitBufOffset = 0(0.00), stride = 0
debug  : fbm.c <FbmCreateBuffer:280>:*** calcute nLower2BitBufOffset = 0(0.00), stride = 0
debug  : fbm.c <FbmCreateBuffer:280>:*** calcute nLower2BitBufOffset = 0(0.00), stride = 0
debug  : fbm.c <FbmCreateBuffer:280>:*** calcute nLower2BitBufOffset = 0(0.00), stride = 0
debug  : fbm.c <FbmCreateBuffer:379>:*** finish fbmCreateBuffer
[   84.421012] sunxi-ion ion.6: Fail to allocate buffer
ION_IOC_ALLOC er[   84.442594] sunxi-ion ion.6: Fail to allocate buffer
ror

ION_IOC_ALLOC error

ERROR  : awplayer <__LayerQueueBuffer:765>: *** picNode is full when queue buffer
ERROR  : awplayer <__LayerQueueBuffer:765>: *** picNode is full when queue buffer

之后板子就死机,按照您上面的修改方式,我找到了设备树的设置:

	ion {
		compatible = "allwinner,sunxi-ion";
		/*types is list here:
			ION_HEAP_TYPE_SYSTEM = 0,
			ION_HEAP_TYPE_SYSTEM_CONTIG = 1,
			ION_HEAP_TYPE_CARVEOUT = 2,
			ION_HEAP_TYPE_CHUNK = 3,
			ION_HEAP_TYPE_DMA = 4
		*/
		system{
			type = <0>;
			name = "system";
		};
		cma{
			type = <4>;
			name = "cma";
		};
		system_contig{
			type = <1>;
			name = "system_contig";
		};
	};

同时也看了内核的获取方式:

int sunxi_ion_probe(struct platform_device *pdev)
{
	struct device_node *np = pdev->dev.of_node;
	struct ion_platform_heap heaps_desc;
	struct device_node *heap_node = NULL;

	ion_device = ion_device_create(sunxi_ion_ioctl);
	if (IS_ERR_OR_NULL(ion_device))
		return PTR_ERR(ion_device);

	do{
		u32 type = -1;
		struct ion_heap *pheap = NULL;

		/*loop all the child node */
		heap_node = of_get_next_child(np , heap_node);
		if (!heap_node)
			break;
		memset( &heaps_desc , 0 , sizeof(heaps_desc) );

		/* get the properties "name","type" for common ion heap	*/
		if (of_property_read_u32(heap_node , "type" , &type)) {
			pr_err("You need config the heap node 'type'\n");
			continue;
		}
		heaps_desc.type = type;
		heaps_desc.id = type;

		if (of_property_read_string(heap_node , "name" ,
			&heaps_desc.name)) {
			pr_err("You need config the heap node 'name'\n");
			continue;
		}

		/*for specail heaps , need extra argument to config */
		if (ION_HEAP_TYPE_CARVEOUT == heaps_desc.type)  {
			u32 base = 0 , size = 0;
			if (of_property_read_u32(heap_node , "base" , &base))
				pr_err("You need config the carvout 'base'\n");
			heaps_desc.base = base;
			if (of_property_read_u32(heap_node , "size" , &size))
				pr_err("You need config the carvout 'size'\n");
			heaps_desc.size = size;
		} else if (ION_HEAP_TYPE_DMA == heaps_desc.type)
			heaps_desc.priv = &(pdev->dev);

#ifdef CONFIG_TEE_SUPPORT
		else if (ION_HEAP_TYPE_SECURE == heaps_desc.type) {
			ulong tee_base;

			probe_drm_configure(&heaps_desc.base,
				&heaps_desc.size, &tee_base);
			ion_sunxi_drm_phy_addr = heaps_desc.base;
			ion_sunxi_drm_tee_addr = tee_base;
		}
#endif
		/* now we can create a heap & add it to the ion device*/
		pheap = ion_heap_create(&heaps_desc);
		if (IS_ERR_OR_NULL(pheap)) {
			pr_err("ion_heap_create '%s' failured!\n" , heaps_desc.name );
			continue;
		}

		ion_device_add_heap(ion_device , pheap);
	}while(1);

	return 0;
}

按照您的描述我们现在设置的应该是dma方式,我不太确定该怎么改,希望得到您的指导,谢谢!




DMA这块的内存不是很清楚哦

#2 Re: DIY/综合/Arduino/写字机/3D打印机/智能小车/平衡车/四轴飞行/MQTT/物联网 » 捡了个便宜的高级ZYNQ XC7Z010 开发板玩玩 » 2019-11-29 10:27:14

posystorage 说:

来一起玩啊,资料都有了,赶紧上车




公司也买了一套。 黑金的1K多贵的一批

#4 Re: 全志 SOC » 全志Android6的HAL层的ioctl函数命令问题? » 2019-11-21 14:14:02

使用①方案的时候,没有出现图像仅仅就是CSI的MCLK引脚时钟有信号。
在ADB下面使用: logcat  |grep Camera  打印出以下内容。(由于对安卓懂得不多,这个命令查看一下,有知道其他的朋友希望不啬赐教。 谢谢)

30|root@azalea-m2ultra:/ # logcat |grep Camera
1-02 14:10:34.577  1758  1758 I CameraService: CameraService started (pid=1758)
1-02 14:10:34.577  1758  1758 I CameraService: CameraService process starting
1-02 14:10:35.204  1758  1758 D HALCameraFactory: camera hal version: 3000130327_V1.0
1-02 14:10:35.211  1758  1758 D HALCameraFactory: There is 1 attached cameras and 0 removable cameras
1-02 14:10:35.211  1758  1758 I CameraService: Loaded "V4L2Camera Module" camera module
1-02 14:10:35.211  1758  1758 D HALCameraFactory: There is 1 attached cameras and 0 removable cameras
1-02 14:10:35.211  1758  1758 D HALCameraFactory: There is 1 attached cameras and 0 removable cameras
1-02 14:10:35.211  1758  1758 I CameraFlashlight: Opening camera 0
1-02 14:10:35.211  1758  1758 D HALCameraFactory: Calling process is: /system/bin/mediaserver

1-02 14:10:35.211  1758  1758 E V4L2CameraDevice: USE_ION_MEM_ALLOCATOR
1-02 14:10:35.242  1758  1758 E V4L2CameraDevice: open  HAL_info_name  = /dev/video0
1-02 14:10:35.487  1758  1758 E V4L2CameraDevice: openCameraDev ok
1-02 14:10:35.488  1758  1758 D HALCameraFactory: Calling process is: /system/bin/mediaserver
1-02 14:10:35.512  1758  2243 W CameraHardware: CMD_QUEUE_STOP_FACE_DETECTE failed, mFaceDetection not opened.
1-02 14:10:35.664  1758  1758 I CameraFlashlight: Destroying camera 0
1-02 14:10:35.765  1758  1758 D HALCameraFactory: Calling process is: /system/bin/mediaserver
1-02 14:10:41.866  2516  2516 I SystemServer: Camera Service
1-02 14:10:41.867  2516  2516 I SystemServiceManager: Starting com.android.server.camera.CameraService
1-02 14:10:45.475  3364  3364 I CameraManagerGlobal: Connecting to camera service
1-02 14:10:45.483  1758  1758 I CameraService: getCameraCharacteristics: Switching to HAL1 shim implementation...
1-02 14:10:45.484  1758  1758 D HALCameraFactory: Calling process is: com.android.systemui
1-02 14:10:45.484  1758  1758 I CameraService: CameraService::connect call (PID 1758 "media", camera ID 0) for HAL version default and Camera API version 1
1-02 14:10:45.485  1758  1758 E CameraService: getCameraPriorityFromProcState: Received invalid process state -1 from ActivityManagerService!
1-02 14:10:45.485  1758  1758 D HALCameraFactory: There is 1 attached cameras and 0 removable cameras
1-02 14:10:45.485  1758  1758 D HALCameraFactory: Calling process is: /system/bin/mediaserver
1-02 14:10:45.551  1758  1758 I CameraClient: Opening camera 0
1-02 14:10:45.551  1758  1758 D HALCameraFactory: Calling process is: /system/bin/mediaserver
1-02 14:10:45.582  1758  1758 E V4L2CameraDevice: open  HAL_info_name  = /dev/video0
1-02 14:10:45.818  1758  1758 E V4L2CameraDevice: openCameraDev ok
1-02 14:10:45.819  1758  1758 D HALCameraFactory: Calling process is: /system/bin/mediaserver
1-02 14:10:45.821  1758  2243 W CameraHardware: CMD_QUEUE_STOP_FACE_DETECTE failed, mFaceDetection not opened.
1-02 14:10:45.997  1758  1758 I CameraFlashlight: Destroying camera 0
1-02 14:10:46.105  1758  1758 D HALCameraFactory: There is 1 attached cameras and 0 removable cameras
1-02 14:10:46.112  1758  1758 I CameraService: disconnect: Disconnected client for camera 0 for PID 1758
1-02 14:10:46.119  1758  3939 D HALCameraFactory: Calling process is: com.android.systemui
1-02 14:10:46.130  1758  3292 D HALCameraFactory: Calling process is: com.android.systemui
1-02 16:45:40.749  2516  2574 I ActivityManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.android.camera2/com.android.camera.CameraLauncher bnds=[186,659][319,747] (ha
extras)} from uid 10006 on display 0
1-02 16:45:40.812  2516  2575 I ActivityManager: Start proc 9109:com.android.camera2/u0a21 for activity com.android.camera2/com.android.camera.CameraLauncher
1-02 16:45:41.001  9109  9109 V CAM_Profiler: [  0.000ms][ui] GUARD: CameraApp onCreate() - START
1-02 16:45:41.012  9109  9109 I CAM_Profiler: [ 21.770ms][ui] GUARD: CameraApp onCreate() - [21.770ms] initializeTimeOfFirstRun
1-02 16:45:41.013  9109  9109 V CAM_Profiler: [ 22.674ms][ui] GUARD: CameraApp onCreate() - [ 0.904ms] UsageStatistics.initialize
1-02 16:45:41.018  9109  9109 V CAM_Profiler: [ 27.353ms][ui] GUARD: CameraApp onCreate() - [ 4.678ms] clearNotifications
1-02 16:45:41.018  9109  9109 I CAM_Profiler: [ 27.353ms][ui] GUARD: CameraApp onCreate() - STOP
1-02 16:45:41.038  9109  9109 V CAM_QuickActivity: START onCreate: Activity = com.android.camera.CameraActivity@7b9f38e
1-02 16:45:41.038  9109  9109 V CAM_Profiler: [  0.000ms][ui] GUARD: CameraActivity.onCreateTasks - START
1-02 16:45:41.156  9109  9109 I CAM_Profiler: [116.961ms][ui] GUARD: CameraActivity.onCreateTasks - [44.646ms] Glide.setup
1-02 16:45:41.159  9109  9109 V CAM_Profiler: [120.970ms][ui] GUARD: CameraActivity.onCreateTasks - [ 4.009ms] OneCameraManager.get
1-02 16:45:41.175  9109  9109 I CameraManagerGlobal: Connecting to camera service
1-02 16:45:41.182  1758  3139 I CameraService: getCameraCharacteristics: Switching to HAL1 shim implementation...
1-02 16:45:41.182  1758  3139 D HALCameraFactory: Calling process is: com.android.camera2
1-02 16:45:41.189  1758  1758 D HALCameraFactory: Calling process is: com.android.camera2
1-02 16:45:41.199  1758  3139 D HALCameraFactory: Calling process is: com.android.camera2
1-02 16:45:41.209  9109  9109 V CAM_Profiler: [170.227ms][ui] GUARD: CameraActivity.onCreateTasks - [10.681ms] computePictureSizes
1-02 16:45:41.452  9109  9109 I CAM_Profiler: [413.129ms][ui] GUARD: CameraActivity.onCreateTasks - [239.571ms] setContentView()
1-02 16:45:41.479  9109  9109 I CAM_Profiler: [440.704ms][ui] GUARD: CameraActivity.onCreateTasks - [27.576ms] Configure Camera UI
1-02 16:45:41.497  9109  9109 V CAM_CameraController: Closing camera
1-02 16:45:41.506  9109  9109 V CAM_SettingsManager: listeners: [com.android.camera.app.CameraAppUI@e6c2f2b]
1-02 16:45:41.515  9109  9109 V CAM_SettingsManager: listeners: [com.android.camera.app.CameraAppUI@e6c2f2b, com.android.camera.ButtonManager@dc0ec34]
1-02 16:45:41.515  9109  9109 V CAM_SettingsManager: listeners: [com.android.camera.app.CameraAppUI@e6c2f2b, com.android.camera.ButtonManager@dc0ec34, com.android.camera.widget.IndicatorIconController@6fc3fd2]
1-02 16:45:41.516  9109  9109 V CAM_Profiler: [477.669ms][ui] GUARD: CameraActivity.onCreateTasks - [10.549ms] Init Current Module UI
1-02 16:45:41.521  9109  9109 D CAM_Camera2OneCamMgr: Getting First BACK Camera
1-02 16:45:41.521  1758  1758 D HALCameraFactory: Calling process is: com.android.camera2
1-02 16:45:41.523  1758  3139 D HALCameraFactory: Calling process is: com.android.camera2
1-02 16:45:41.537  1758  3982 D HALCameraFactory: Calling process is: com.android.camera2
1-02 16:45:41.538  1758  3981 D HALCameraFactory: Calling process is: com.android.camera2
1-02 16:45:41.554  9109  9109 I CAM_Profiler: [515.696ms][ui] GUARD: CameraActivity.onCreateTasks - [38.028ms] Init CurrentModule
1-02 16:45:41.566  9109  9109 I CAM_Profiler: [527.757ms][ui] GUARD: CameraActivity.onCreateTasks - STOP
1-02 16:45:41.566  9109  9109 V CAM_QuickActivity: END onCreate: Activity = com.android.camera.CameraActivity@7b9f38e
1-02 16:45:41.571  9109  9109 V CAM_QuickActivity: START onStart: Activity = com.android.camera.CameraActivity@7b9f38e
1-02 16:45:41.581  9109  9109 V CAM_QuickActivity: END onStart: Activity = com.android.camera.CameraActivity@7b9f38e
1-02 16:45:41.581  9109  9109 V CAM_QuickActivity: START onResume: Activity = com.android.camera.CameraActivity@7b9f38e
1-02 16:45:41.585  9109  9109 V CAM_Profiler: [  0.000ms][ui] GUARD: CameraActivity.resume - START
1-02 16:45:41.586  9109  9109 V CAM_CameraActivity: Build info: azalea_m2ultra-eng 6.0.1 MOB30R 20191107 test-keys
1-02 16:45:41.627  9109  9187 V CAM_CameraDataAdapter: retrieved photo metadata, number of items: 0
1-02 16:45:41.627  9109  9187 V CAM_CameraDataAdapter: retrieved video metadata, number of items: 0
1-02 16:45:41.627  9109  9187 V CAM_CameraDataAdapter: sorting video/photo metadata
1-02 16:45:41.630  9109  9187 V CAM_CameraDataAdapter: sorted video/photo metadata
1-02 16:45:41.631  9109  9109 I CAM_Profiler: [ 45.793ms][ui] GUARD: CameraActivity.resume - [35.718ms] mCurrentModule.resume
1-02 16:45:41.633  9109  9109 V CAM_Profiler: [ 48.248ms][ui] GUARD: CameraActivity.resume - [ 0.083ms] mPanoramaViewHelper.onResume()
1-02 16:45:41.634  9109  9109 I CAM_Profiler: [ 48.767ms][ui] GUARD: CameraActivity.resume - STOP
1-02 16:45:41.634  9109  9109 V CAM_QuickActivity: END onResume: Activity = com.android.camera.CameraActivity@7b9f38e
1-02 16:45:41.669  9109  9109 V CAM_CameraActivity: ignoring storage callback after activity pause
1-02 16:45:41.929  9109  9109 V CAM_CameraAppUI: SurfaceTexture is available
1-02 16:45:41.933  9109  9229 V CAM_Profiler: [  0.000ms] GUARD: CaptureModule.closeCamera() - START
1-02 16:45:41.933  9109  9229 V CAM_Profiler: [  0.683ms] GUARD: CaptureModule.closeCamera() - [ 0.683ms] mCameraOpenCloseLock.acquire()
1-02 16:45:41.934  9109  9229 V CAM_Profiler: [  0.997ms] GUARD: CaptureModule.closeCamera() - STOP
1-02 16:45:41.934  9109  9229 V CAM_Profiler: [  0.000ms] GUARD: CaptureModule.openCameraAndStartPreview() - START
1-02 16:45:41.934  9109  9229 V CAM_Profiler: [  0.233ms] GUARD: CaptureModule.openCameraAndStartPreview() - [ 0.233ms] Acquired mCameraOpenCloseLock
1-02 16:45:41.935  9109  9229 D CAM_Camera2OneCamMgr: Getting First BACK Camera
1-02 16:45:41.936  1758  3939 D HALCameraFactory: Calling process is: com.android.camera2
1-02 16:45:41.938  1758  3292 D HALCameraFactory: Calling process is: com.android.camera2
1-02 16:45:41.945  9109  9229 I CAM_OneCamera1Opnr: Opening Camera: CameraId{Api2='0',Api1:0}
1-02 16:45:41.948  1758  3139 D HALCameraFactory: Calling process is: com.android.camera2
1-02 16:45:41.949  9109  9109 V CAM_CameraDataAdapter: new photos query return num items: 0
1-02 16:45:41.953  1758  3982 D HALCameraFactory: Calling process is: com.android.camera2
1-02 16:45:41.954  2516  2910 I ActivityManager: Displayed com.android.camera2/com.android.camera.CameraLauncher: +1s167ms
1-02 16:45:41.964  1758  9195 D HALCameraFactory: Calling process is: com.android.camera2
1-02 16:45:41.967  9109  9229 I CameraManager: Using legacy camera HAL.
1-02 16:45:41.975  1758  3939 I CameraService: CameraService::connect call (PID 9109 "com.android.camera2", camera ID 0) for HAL version default and Camera API version 1
1-02 16:45:41.977  1758  3939 D HALCameraFactory: There is 1 attached cameras and 0 removable cameras
1-02 16:45:41.977  1758  3939 D HALCameraFactory: Calling process is: com.android.camera2
1-02 16:45:42.036  1758  3939 I CameraClient: Opening camera 0
1-02 16:45:42.036  1758  3939 D HALCameraFactory: Calling process is: com.android.camera2
1-02 16:45:42.067  1758  3939 E V4L2CameraDevice: open   HAL_info_name  = /dev/video0
1-02 16:45:42.318  1758  3939 E V4L2CameraDevice: openCameraDev ok
1-02 16:45:42.319  1758  3939 D HALCameraFactory: Calling process is: com.android.camera2
1-02 16:45:42.334  1758  3139 D HALCameraFactory: Calling process is: com.android.camera2
1-02 16:45:42.371  9109  9229 I CAM_Profiler: [436.960ms] GUARD: CaptureModule.openCameraAndStartPreview() - [436.727ms] mOneCameraOpener.open()
1-02 16:45:42.372  1758  3982 D HALCameraFactory: Calling process is: com.android.camera2
1-02 16:45:42.372  9109  9229 I CAM_Profiler: [436.960ms] GUARD: CaptureModule.openCameraAndStartPreview() - STOP
1-02 16:45:42.382  1758  3939 D HALCameraFactory: Calling process is: com.android.camera2
1-02 16:45:42.393  9109  9180 I CAM_OneCamCreator: Camera support level: LEGACY_JPEG
1-02 16:45:42.434  9109  9180 D CAM_CaptureModule: onCameraOpened: com.android.camera.one.v2.initialization.GenericOneCameraImpl@11360fb
1-02 16:45:42.443  9109  9180 I CameraDeviceState: Legacy camera service transitioning to state CONFIGURING
1-02 16:45:42.447  9109  9269 D Camera  : app passed NULL surface
1-02 16:45:42.479  9109  9180 I CameraDeviceState: Legacy camera service transitioning to state IDLE
1-02 16:45:42.496  9109  9180 V CAM_SettingsManager: listeners: [com.android.camera.app.CameraAppUI@e6c2f2b, com.android.camera.ButtonManager@dc0ec34, com.android.camera.widget.IndicatorIconController@6fc3fd2, com.android.camera.
ettings.SettingObserver$Listener@a15d448]
1-02 16:45:42.496  9109  9180 V CAM_SettingsManager: listeners: [com.android.camera.app.CameraAppUI@e6c2f2b, com.android.camera.ButtonManager@dc0ec34, com.android.camera.widget.IndicatorIconController@6fc3fd2, com.android.camera.
ettings.SettingObserver$Listener@a15d448, com.android.camera.settings.SettingObserver$Listener@e137806]
1-02 16:45:42.505  9109  9109 V CAM_CameraAppUI: onPreviewStarted
1-02 16:45:42.523  1758  9195 D CameraHardware: Starting camera, Size:640x480 , picture format:yuv420sp
1-02 16:45:42.523  1758  9195 D V4L2CameraDevice: startDevice, wxh: 640x480, fmt: 825382478
1-02 16:45:44.774  1758  2238 E V4L2CameraDevice: select timeout
2238 W V4L2CameraDevice: wait v4l2 buffer time out
1-02238 W V4L2CameraDevice: preview queue has 0 items.
1-02 16:45:46.776  1758  2238 E V4L2CameraDevice: select timeout
1-02 16:45:46.776  1758  2238 W V4L2CameraDevice: wait v4l2 buffer time out
1-02 16:45:46.776  1758  2238 W V4L2CameraDevice: preview queue has 0 items.
1-02 16:45:46.778  9109  9269 I CameraDeviceState: Legacy camera service transitioning to state CAPTURING
1-02 16:45:48.776  1758  2238 E V4L2CameraDevice: select timeout
1-02 16:45:48.776  1758  2238 W V4L2CameraDevice: wait v4l2 buffer time out

#5 Re: 全志 SOC » 全志Android6的HAL层的ioctl函数命令问题? » 2019-11-21 14:04:41

晕哥 说:

https://linux-sunxi.org/A40i
https://linux-sunxi.org/A64

感觉应该 A40I不是A64


不确定的话就这样:


#ifdef __PLATFORM_A64__
#include <sunxi_camera.h>
#error "----------error A64----------"
#else   
#include <videodev2_34.h>
#error "----------error A40i----------"
#endif


看编译的时候, 输出什么信息。


编译过后启动的#include <videodev2_34.h>这个头文件。 但是使用这个头文件会出现一个错误,就是访问内核VFE.C的ioctl函数的命令会出错
比较之后,VFE.C文件适配的头文件应该是#include <sunxi_camera.h>。   做了两套改变
①、试图将#ifdef __PLATFORM_A64__  全部调换成#ifdef __PLATFORM_A40__是可以编译成功的。也没有提示说因为ioctl函数的调用错误的提示
     了。 但是开机点击开机应用只有MCLK引脚有信号,其他引脚都没有信号
②、将videodev2_34.h里面的ioctl命令替换成sunxi_camera.h里面的,仅仅是替换几个命令,其他东西没有改变,图像不出但是各个引脚出现一些电平
     信号了,这个就很奇怪。

#6 Re: 全志 SOC » 全志Android6的HAL层的ioctl函数命令问题? » 2019-11-18 14:38:45

晕哥 说:

没看出来, 帮你顶一下吧。


晕哥   在 V4L2CameraDevice2.cpp文件里面发现这个有头文件定义。#include <sunxi_camera.h>头文件里面定义的就符合内核ioctl命令。
会不会是我选择的平台有关啊。 但是我这个是A40I不是A64。疑惑的是这里的A64是他的芯片还是说对应的的arm64

#ifdef __PLATFORM_A64__
#include <sunxi_camera.h>
#else   
#include <videodev2_34.h>
#endif

#7 全志 SOC » 全志Android6的HAL层的ioctl函数命令问题? » 2019-11-18 11:11:01

2505300733
回复: 6

平台:全志的Android6 ,使用的是全志A40I

出现的问题:  打开摄像头的时候,内核层没有提示任何的错误,但是在ADB里面 使用  logcat  |grep V4L2 查看摄像头打印出来的信息
提示以下两句话:

FluxBB bbcode 测试

返回源代码找到对应的文件是在:V4L2CameraDevice2.cpp  里面获取摄像头传感器类型出现了错误:便是一下函数的ioctl()出现了错误。
int V4L2CameraDevice::getSensorType()
{
        ........   
    ctrl.id = V4L2_CID_SENSOR_TYPE;                                  //  是这个宏有问题 匹配不上
    qc_ctrl.id = V4L2_CID_SENSOR_TYPE;                              //
    if (-1 == ioctl (mCameraFd, VIDIOC_QUERYCTRL, &qc_ctrl))
    {
        LOGE("query sensor type ctrl failed");
        return -1;
    }
    ret = ioctl(mCameraFd, VIDIOC_G_CTRL, &ctrl);
    return ctrl.value;
}
经过内核打印和对比之后发现是 V4L2_CID_SENSOR_TYPE这个宏有问题,进一步查看HAL的这个宏的定义在对应的videodev2_34.h里面发现

#define V4L2_CID_PRIVATE_BASE        0x08000000
V4L2_CID_SENSOR_TYPE                         (V4L2_CID_PRIVATE_BASE+16)

但是在内核层查看比较对应的宏之后发现;这个宏又是这样定义的,真是醉了。

#define V4L2_CTRL_CLASS_USER                                  0x00980000        /* Old-style 'user' controls */
#define V4L2_CID_BASE                                      (V4L2_CTRL_CLASS_USER | 0x900)
#define V4L2_CID_USER_BASE                                  (V4L2_CID_BASE)
#define V4L2_CID_USER_SUNXI_CAMERA_BASE          (V4L2_CID_USER_BASE + 0x1050)
#define V4L2_CID_SENSOR_TYPE                                 (V4L2_CID_USER_SUNXI_CAMERA_BASE+13)

但是在HAL层的videodev2_34.h 文件里面也有内核上面的定义但是并没有用。
有遇到这个问题的大神麻烦帮小弟看一下,究竟是修改内核的参数来配合HAL的宏好 ,还是修改HAL层的宏来匹配内核的。
查找内核层的头文件里面也有这个定义:

#define V4L2_CID_PRIVATE_BASE        0x08000000
但是,但是,但是居然没有定义这个宏 V4L2_CID_SENSOR_TYPE 。给的SDK都是这么不严谨的么。

在这里请教一下大家了,谢谢

#8 Re: 全志 SOC » 全志芯片的OV5640摄像头寄存器问题? » 2019-11-13 08:55:52

天马行空 说:

twi_stop()407 - [i2c3] i2c state(0x00000000) isn't idle(0xf8)

感觉 i2c3 状态出问题了, 寄存器指示他不处于空闲 ? 如果接 i2c0/1会是这样吗?


因为就是硬件方便才飞到I2C【3】这块的。  其实偶尔才会提示之前I2C【3】总线繁忙的提示,但是操作这个0x568d寄存器错误的还是比较常在。
我通过调高CMA的内存 就没有出现过了。 但是在ADB上面操作查看V4L2的时候。 居然出现了这样的错误:

FluxBB bbcode

#9 Re: 全志 SOC » 全志芯片的OV5640摄像头寄存器问题? » 2019-11-12 08:51:09

xgui 说:

是 I2C3 吗?

是的,我用的就是I2C【3】,默认一般是i2c【0】或者是i2c【1】,但是硬件工程师为了飞线好飞。 所以接触了I2C[3]

#10 全志 SOC » 全志芯片的OV5640摄像头寄存器问题? » 2019-11-11 20:58:06

2505300733
回复: 6

说明:
       全志芯片A40I,里面我移植了Android6的系统进去里面,就是想着跑OV5640这款摄像头(强制要求没办法啊),发现这款芯片本来提供的SDK是挺坑
       的所以就去换系统咯。
     
问题:按照常规设置摄像头功能的文件,首先是sys_config.fex   然后到camera.cfg里面设置。然后启动机器的时候就会打印出这些东东:

[    7.802426] [VFE]cci_init end
[    7.869404] [VFE]Welcome to Video Front End driver
[    7.875171] [VFE]csi0 probe end!
[    7.878866] [VFE]csi1 probe end!
[    7.883451] [VFE]csi_init end
[    7.887689] [VFE]sunxi_isp_platform_register end
[    7.893807] [VFE]mipi_init end
[    7.897174] [VFE]flash_init end
[    7.902770] [VFE]pdev->id = 0
[    7.906008] [VFE]dev->cci_sel = 0
[    7.909626] [VFE]dev->csi_sel = 0
[    7.913467] [VFE]dev->mipi_sel = 0
[    7.917180] [VFE]dev->isp_sel = 0
[    7.920959] [VFE_WARN]fetch csi0_dev0_iovdd from device_tree failed
[    7.927812] [VFE_WARN]fetch csi0_dev0_avdd from device_tree failed
[    7.934800] [VFE_WARN]fetch csi0_dev0_dvdd from device_tree failed
[    7.941680] [VFE_WARN]fetch csi0_dev0_afvdd from device_tree failed
[    7.948532] [VFE_WARN]fetch csi0_dev0_power_en from device_tree failed
[    7.955938] [VFE_WARN]fetch csi0_dev0_flash_en from device_tree failed
[    7.963200] [VFE_WARN]fetch csi0_dev0_flash_mode from device_tree failed
[    7.970760] [VFE_WARN]fetch csi0_dev0_flvdd from device_tree failed
[    7.977615] [VFE_WARN]fetch csi0_dev0_flvdd_vol from device_tree failed
[    7.985094] [VFE_WARN]fetch csi0_dev0_af_pwdn from device_tree failed
[    7.993314] [VFE]vfe_init end
[    8.000076] [VFE]probe_work_handle start!
[    8.004810] [VFE]vfe_runtime_resume
[    8.021038] [VFE]..........................vfe clk open!.......................
[    8.029102] [VFE]v4l2 subdev register input_num = 0
[    8.034768] [VFE]vfe sensor detect start! input_num = 0
[    8.068914] [VFE]Find sensor name is "ov5640", i2c address is 78, type is "YUV" !
[    8.077247] [VFE]Sub device register "ov5640" i2c_addr = 0x78 start!
[    8.085713] [VFE]registered sensor subdev is OK!
[    8.090878] [VFE]Check sensor!
[    8.107560] [VFE]mclk on
[    8.340247] wifi_platform_bus_enumerate device present 1
[    8.432798] [VFE]mclk off
[    8.472337] [VFE]Sub device register "ov5640" is OK!
[    8.479139] [VFE]V4L2 device registered as video0
[    8.484491] [VFE]vfe_runtime_suspend
[    8.488407] [VFE]..........................vfe clk close!.......................
[    8.503271] [VFE]probe_work_handle end!

由上面的打印信息所显示,I2C是已经启动了,并且能识别到这个摄像头的类型和这个摄像头的地址。并且将其注册为video0。也成功了
但是后面操作一个寄存器地址的时候一直提示错误。
[   57.281711] [VFE]mclk on
[   57.486244] twi_stop()407 - [i2c3] i2c state(0x00000000) isn't idle(0xf8)
[   57.493701] sunxi_i2c_core_process()765 - [i2c3] STOP failed!
[   57.500270] num = 1  ret = 255
[   57.503734] sunxi_i2c_do_xfer()909 - [i2c3] incomplete xfer (status: 0xff, dev addr: 0x3c)
[   57.513158] i2c_transfet_return = -70  eroor appear 
[   57.518922] [VFE_DEV_I2C_ERR]cci_write_a16_d8 error! slave = 0x3c, addr = 0x568d, value = 0x  ae
                       ov5640 sensor write retry=1

并且我具体定位到了这个寄存器在哪一个位置:(但是并不知道这个寄存器干啥的为什么会出现错误),还定位到了具体发生错误的是在i2c-sunxi.c文件里面的一个  int sunxi_i2c_do_xfer(struct sunxi_i2c *i2c, struct i2c_msg *msgs, int num)  函数。但是对于V4L2的I2C流程不是很熟悉。需要大神帮忙看一下
FluxBB bbcode xx




在OV5640.c的文件中也找到了对应的寄存器地址。但是不知道具体意思
FluxBB bbcode xx
FluxBB bbcode xx


并且通过频谱分析仪抓回来的波形和对应的地址和数据居然还是有ACK返回来的。

FluxBB bbcode x


打开安卓系统然后点击拍照APP 就提  ”无法连接相机“
之前有调过这款摄像头的朋友,可以告诉一下您们调这款照相机的大概流程么,操作那些文件。内核层和HAL和安卓层的东西。
在这里十分感谢大家了。谢谢。 这个东西搞了很久都没搞出来,十分难受。

#11 Re: 全志 SOC » 全志A40I切换Android6桌面奔溃现象 » 2019-11-08 14:16:55

具体的方法如下:
对应的设备树文件下  sun8ixxxx_pinctrl.dtsi 文件下,将CMA的内存(默认128M)分配到256M或者380M(手册说最大内存不能超过)。   
在sun8ixxxx.dtsi   文件里面,将ion的内存模块协商,并且分配对应的内存上去。添加/memreserve/ 指定内存始地址和size
一步步排查到这个位置用时2天。累死人啊,只怪自己渣渣给大家参考下,避免跳坑

#12 Re: 全志 SOC » 全志A40I切换Android6桌面奔溃现象 » 2019-11-08 14:07:41

这个问题解决了,是ION内存没有分配够,所以开机一直提示和屏幕卡顿。 感谢关注

#13 Re: 全志 SOC » 全志A40I切换Android6桌面奔溃现象 » 2019-11-07 13:39:31

有没有大哥  有空可以看一眼,帮忙定位一下问题啊

#14 全志 SOC » 全志A40I切换Android6桌面奔溃现象 » 2019-11-05 15:44:51

2505300733
回复: 10

说明:
       使用的芯片是全志A40I,系统是移植全志V40的Android6系统过来的。
       我的显示屏设备树参数如下(之前在Android7配置是可以用的)
      Fluxaa bbcode




问题:
        开机完成之后提示“抱歉  系统界面停止运行”如下图。希望看到的大哥可以指点一下,是不是我漏该了那些参数导致其的UI桌面没有办法正确地显示出   
       来。并且有一个奇异的现象就是当多次几点10次左右安卓界面居然可以显示了。真是奇哉怪哉。
       Fluxaa bbcode



处理:由于给系统给那个朋友之前使用的VGA800*400的显示屏,拿过来之后我出来做以上的设备树(sys_config.fex)文件的参数修改
         并且修改了build.prop文件下面的两个数据,并且在ADB下面确认到是正确地设置进去的。但是这个问题还是没有解决。


        (移植Android6时候是想用其CSI摄像头,要是有大佬发现摄像头这块又什么错误的也可以帮忙指点一下。谢谢)

        ro.sf.lcd_density
        PRODUCT_AAPT_PREF_CONFIG := xhdpi 

FluxBB bbcode


在这里感谢各位大佬的帮忙了 ,谢谢




下面是开机串口打印出来的信息:节选:  (这个ion重复多次地出现可能没有重点,我将文件都上传上来了)

[  100.216217] init: Service 'bootanim' (pid 1960) exited with status 0
[  100.224501] init: Starting service 'nand_trim'...
[  100.275134] init: Service 'nand_trim' is being killed...
[  100.286652] init: Service 'nand_trim' (pid 6806) killed by signal 9
[  100.294466] init: Service 'nand_trim' (pid 6806) killing any children in process grou
[  377.934924] sunxi-ion ion.4: Fail to allocate buffer
[  377.943592] sunxi-ion ion.4: Fail to allocate buffer
[  377.952551] sunxi-ion ion.4: Fail to allocate buffer
[  379.326930] binder: 3221:3221 transaction failed 29189, size 92-0
[  379.334598] binder: 3221:3221 transaction failed 29189, size 92-0
[  379.342346] binder: 3221:3221 transaction failed 29189, size 92-0
[  379.349541] binder: 3221:3221 transaction failed 29189, size 92-0
[  379.375195] sunxi-ion ion.4: Fail to allocate buffer
[  379.381337] sunxi-ion ion.4: Fail to allocate buffer
[  439.080310] sunxi-ion ion.4: Fail to allocate buffer
[  439.087750] sunxi-ion ion.4: Fail to allocate buffer

(全部打印信息在文章的最后,adblog就不发出来了 是在是太大了)



这里面是通过adb获取回来的log信息。节选查看到有关于systemUI这块的信息

01-01 11:39:06.167  1742  4830 E ion     : ioctl c0144900 failed with code -1: Operation not permitted
01-01 11:39:06.167  1742  4830 E [Gralloc-ERROR]: int aw_ion_alloc(int*, size_t, size_t, unsigned int, unsigned int,                      
                                                     ion_user_handle_t*, int):144 int aw_ion_alloc(int*, size_t, size_t, unsigned int, unsigned int,    
                                                     ion_user_handle_t*, int)(line:144)Failed to ion_alloc from ion_client:18 via heap type 
                                                     DMA/CARVEOUT(mask:0x00000014) for 4096000 Bytes uncached buffer, err = 1, usage =    
                                                      0x00000f02

01-01 11:39:06.173  1742  4830 E ion     : ioctl c0144900 failed with code -1: Operation not permitted

01-01 11:39:06.173  1742  4830 E [Gralloc-ERROR]: int aw_ion_alloc(int*, size_t, size_t, unsigned int, unsigned int,    
                                                    ion_user_handle_t*, int):144 int aw_ion_alloc(int*, size_t, size_t, unsigned int, unsigned int,   
                                                    ion_user_handle_t*, int)(line:144)Failed  
                                                    to ion_alloc from ion_client:18 via heap type DMA/CARVEOUT(mask:0x00000014) for 4096000 Bytes   
                                                    uncached buffer, err = 1, usage = 0x00000f02

01-01 11:39:06.173  1742  4830 W GraphicBufferAllocator: alloc(1280, 800, 1, 00000f02, ...) failed -1 (Operation not permitted)
01-01 11:39:06.173  1742  4830 E: GraphicBufferAlloc::createGraphicBuffer(w=1280, h=800) failed (Operation not permitted), handle=0x0

01-01 11:39:06.173  1742  4830 E BufferQueueProducer: [StatusBar] dequeueBuffer: createGraphicBuffer failed

01-01 11:39:06.174 10725 10841 E [EGL-ERROR]: void __egl_platform_dequeue_buffer(egl_surface*):1691: failed to dequeue buffer 
                                                       from native window 0xa01b3508; err = -1, buf = 0x0,max_allowed_dequeued_buffers 3

01-01 11:39:06.174 10725 10841 E libEGL  : eglMakeCurrent:800 error 3003 (EGL_BAD_ALLOC)

01-01 11:39:06.174 10725 10841 W OpenGLRenderer: Failed to make current on surface 0xa01a6f00, error=EGL_BAD_ALLOC

01-01 11:39:06.196 10725 10725 D PhoneStatusBar: disable: < expand ICONS alerts SYSTEM_INFO back HOME* RECENT* clock  
                                                       SEARCH* quick_settings >

并且在adb打印回来的几个log中发现了几个错误:

JniInvocation: Falling back from libart to libart.so after dlopen error: dlopen failed: library "libart" not found
[Gralloc-ERROR]: int aw_ion_alloc(
 eglMakeCurrent:800 error 3003 (EGL_BAD_ALLOC)


由于不知道怎么上传整一个文本上去:直能在最后面发整一个串口打印的信息(路过的大佬麻烦看一下下,)

[     0.33]HELLO! BOOT0 is starting!
[     0.37]boot0 commit : 287886df23e79b5b3fe1def8719fd8f4e77ac5cf
 
[     0.44]boot0 version : 4.0
[     0.47]set pll start
[     0.51]set pll end
[     0.87]rtc[0] value = 0x00000000
[     0.90]rtc[1] value = 0x00000072
[     0.93]rtc[2] value = 0x00000000
[     0.97]rtc[3] value = 0x00000000
[     0.100]rtc[4] value = 0x00000000
[     0.104]rtc[5] value = 0x00000000
[     0.107]DRAMC IS FOUR
[     0.110]DRAM BOOT DRIVE INFO: V1.1
[     0.113]Found A40
[     0.115]Found A40
[     0.118]Found A40
[     0.120]Found A40
[     0.122]Found A40
[     0.128]PMU: [     0.129]AXP221
[     0.131]ddr voltage = 1500 mv
[     0.134]DRAM CLK =576 MHZ
[     0.137]DRAM Type =3 (2:DDR2,3:DDR3,6:LPDDR2,7:LPDDR3)
[     0.142]DRAM zq value: 0x003b3bfb
[     0.148]DRAM SIZE =1024 M
[     0.152]DRAM simple test OK.
[     0.155]dram size =1024
[     0.157]rtc standby flag is 0x00000000, super standby flag is 0x00000000
[     0.166]card no is 2
[     0.168]sdcard 2 line count 8
[     0.171][mmc]: mmc driver ver 2016-07-01 15:30
[     0.175][mmc]: wrong freq 2 at spd md 2
[     0.188][mmc]: ***Try MMC card 2***
[     0.208][mmc]: MMC 5.0
[     0.211][mmc]: HSSDR52/SDR25 8 bit
[     0.214][mmc]: 50000000 Hz
[     0.217][mmc]: 7456 MB
[     0.219][mmc]: ***SD/MMC 2 init OK!!!***
[     0.307]Succeed in loading uboot from sdmmc flash.
[     0.311]Entry_name        = u-boot
[     0.331]Ready to disable icache.
[     0.334]0xffffffff 0xffffffff
[     0.337]0xffffffff 0xffffffff
[     0.340]0xffffffff 0xffffffff
[     0.343]0xffffffff 0xffffffff
[     0.347]0xffffffff 0xffffffff
[     0.350]0xffffffff 0xffffffff
[     0.353]Jump to secend Boot.


U-Boot 2014.07 (May 31 2018 - 17:16:41) Allwinner Technology 

uboot commit : 287886df23e79b5b3fe1def8719fd8f4e77ac5cf
 
i2c_init: by cpux
i2c_init ok
[      0.369]pmbus:   ready
[      0.388]PMU: AXP221
[      0.388]PMU: AXP22x found
[      0.389]PMU: dcdc2 1160
[      0.431]PMU: cpux 1008 Mhz,AXI=336 Mhz
PLL6=600 Mhz,AHB1=200 Mhz, APB1=100Mhz  MBus=400Mhz
set power on vol to default
dcdc1_vol = 3300, onoff=1
dcdc2_vol = 1160, onoff=1
dcdc3_vol = 1100, onoff=1
dcdc4_vol = 1100, onoff=0
aldo1_vol = 3300, onoff=1
aldo2_vol = 1800, onoff=1
aldo3_vol = 3000, onoff=1
dc1sw_vol = 3000, onoff=0
dc5ldo_vol = 1100, onoff=0
dldo1_vol = 3300, onoff=1
dldo2_vol = 3300, onoff=0
dldo3_vol = 3300, onoff=0
dldo4_vol = 2500, onoff=1
eldo1_vol = 2800, onoff=0
eldo2_vol = 2800, onoff=1
eldo3_vol = 2800, onoff=1
gpio0_vol = 3300, onoff=1
gpio1_vol = 3300, onoff=1
find power_sply to end
vbus exist
run key detect
no key found
no uart input
DRAM:  1 GiB
fdt addr: 0x76e8f858
Relocation Offset is: 35ee6000
In:    serial
Out:   serial
Err:   serial
gic: normal mode
[      0.576]start
drv_disp_init
init_clocks: finish init_clocks.
pwm_request: reg = 0x1c23400. pwm = 0.
request pwm success, pwm = 0.
tv_init:
tv_probe:000
tv0 have no type3
no report hpd work,you need support the switch class!
screen 0 don't support TV!
screen 1 don't support TV!
screen 0 do not support VGA TYPE!
screen 1 do not support VGA TYPE!
tv_init:
tv_probe:000
tv1 have no type1
tv1 have no type2
tv1 have no type3
no report hpd work,you need support the switch class!
drv_disp_init finish
fetch script data boot_disp.output_disp fail
fetch script data boot_disp.output_type fail
fetch script data boot_disp.output_mode fail
fetch script data boot_disp.auto_hpd fail
disp0 device type(1) enable
disp 0, clk: pll(490000000),clk(490000000),dclk(70000000) dsi_rate(490000000)
     clk real:pll(493714285),clk(493714285),dclk(70530612) dsi_rate(0)
enable power vcc-lcd, ret=0
[      1.375]end
workmode = 0,storage type = 2
[      1.375]MMC:	 2
[mmc]: mmc driver ver 2016-07-01 15:50:00
[mmc]: mmc_update_timing_para: error sdc_no 2
SUNXI SD/MMC: 2
[mmc]: 50 MHz...
[mmc]: sample: 51 - 196(ps)
[mmc]: ds: 52 - 192(ps)
[mmc]: 100 MHz...
[mmc]: sample: 26 - 192(ps)
[mmc]: ds: 26 - 192(ps)
[mmc]: 200 MHz...
[mmc]: sample: 13 - 192(ps)
[mmc]: ds: 13 - 192(ps)
[mmc]: media type 0x8000000
[mmc]: ************Try MMC card 2************
[mmc]: host caps: 0x6f
[mmc]: MID 000011 PSN 86699b53
[mmc]: PNM 008G70 -- 0x30-30-38-47-37
[mmc]: PRV 0.0
[mmc]: MDT m-2 y-2019
[mmc]: MMC v5.0
[mmc]: speed mode     : HSSDR52/SDR25 
[mmc]: clock          : 50000000 Hz
[mmc]: bus_width      : 8 bit
[mmc]: user capacity  : 7456 MB
[mmc]: boot capacity  : 4096 KB
[mmc]: rpmb capacity  : 4096 KB
[mmc]: ************SD/MMC 2 init OK!!!************
[mmc]: use default speed mode: 1-HSSDR52/SDR25, ifreq: 2
[mmc]: ========best spd md: 1-HSSDR52/SDR25, freq: 2-50000000
[mmc]: already at HSSDR52_SDR25 mode
[mmc]: erase_grp_size      : 0x400WrBlk*0x200=0x80000 Byte
[mmc]: secure_feature      : 0x55
[mmc]: secure_removal_type : 0x39
[mmc]: EOL Info(Rev blks): Normal
[mmc]: Wear out(type A): 0%-10% life time used
[mmc]: Wear out(type B): Not defined
[      1.621]sunxi flash init ok
--------fastboot partitions--------
-total partitions:14-
-name-        -start-       -size-      
bootloader  : 1000000       2000000     
env         : 3000000       1000000     
boot        : 4000000       1000000     
system      : 5000000       a0000000    
data        : a5000000      40000000    
misc        : e5000000      1000000     
recovery    : e6000000      2000000     
cache       : e8000000      30000000    
metadata    : 18000000      1000000     
private     : 19000000      1000000     
frp         : 1a000000      80000       
empty       : 1a080000      f80000      
alog        : 1b000000      5000000     
UDISK       : 20000000      0           
-----------------------------------
base bootcmd=run setargs_nand boot_normal
bootcmd set setargs_mmc
key 0
cant find rcvy value
cant find fstbt value
misc partition found
to be run cmd=run setargs_mmc boot_normal
update dtb dram start
update dtb dram  end
PowerBus = 2( 2:vBus 3:acBus other: not exist)
no battery, limit to dc
no battery exist
sunxi_bmp_logo_display
reading bootlogo.bmp
3072054 bytes read in 71 ms (41.3 MiB/s)
bmp file buffer: 0x40000000, bmp_info.buffer: 46400000
fetch script data boot_disp.output_full fail
screen_id =0, screen_width =1280, screen_height =800
frame buffer address 46400036
[      1.955]inter uboot shell
Hit any key to stop autoboot:  0 
read partition: boot or recovery
[      2.297]sunxi flash read :offset 4000000, 15499575 bytes OK
Kernel load addr 0x40008000 size 11459 KiB
RAM disk load addr 0x41000000 size 2654 KiB
[      2.362]ready to boot
prepare for kernel
[mmc]: mmc exit start
[mmc]: 50 MHz...
[mmc]: sample: 52 - 192(ps)
[mmc]: ds: 51 - 196(ps)
[mmc]: 100 MHz...
[mmc]: sample: 26 - 192(ps)
[mmc]: ds: 25 - 200(ps)
[mmc]: 200 MHz...
[mmc]: sample: 13 - 192(ps)
[mmc]: ds: 13 - 192(ps)
[mmc]: mmc 2 exit ok

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0

[    0.000000] Initializing cgroup subsys cpuset

[    0.000000] Initializing cgroup subsys cpu

[    0.000000] Initializing cgroup subsys cpuacct

[    0.000000] Linux version 3.10.65 (root@it5-u1604) (gcc version 4.6.3 20120201 (prerelease) (crosstool-NG linaro-1.13.1-2012.02-20120222 - Linaro GCC 2012.02) ) #23 SMP PREEMPT Mon Nov 4 11:11:39 CST 2019

[    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c53c7d

[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache

[    0.000000] Machine: sun8iw11p1, model: sun8iw11p1

[    0.000000] bootconsole [earlycon0] enabled

[    0.000000] cma: CMA: reserved 32 MiB at 65000000

[    0.000000] Memory policy: ECC disabled, Data cache writealloc

[    0.000000] On node 0 totalpages: 262144

[    0.000000] free_area_init_node: node 0, pgdat c0b32cc0, node_mem_map c1298000

[    0.000000]   Normal zone: 1248 pages used for memmap

[    0.000000]   Normal zone: 0 pages reserved

[    0.000000]   Normal zone: 159744 pages, LIFO batch:31

[    0.000000]   HighMem zone: 800 pages used for memmap

[    0.000000]   HighMem zone: 102400 pages, LIFO batch:31

[    0.000000] PERCPU: Embedded 9 pages/cpu @c1abe000 s14272 r8192 d14400 u36864

[    0.000000] pcpu-alloc: s14272 r8192 d14400 u36864 alloc=9*4096

[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 

[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 260896

[    0.000000] Kernel command line: enforcing=1 earlyprintk=sunxi-uart,0x01c28000 initcall_debug=0 console=ttyS0,115200 loglevel=8 root=/dev/mmcblk0p7 init=/init partitions=bootloader@mmcblk0p2:env@mmcblk0p5:boot@mmcblk0p6:system@mmcblk0p7:data@mmcblk0p8:misc@mmcblk0p9:recovery@mmcblk0p10:cache@mmcblk0p11:metadata@mmcblk0p12:private@mmcblk0p13:frp@mmcblk0p14:empty@mmcblk0p15:alog@mmcblk0p16:UDISK@mmcblk0p1 cma=32M vmalloc=384MB androidboot.serialno=<NULL> boot_type=2 androidboot.hardware=sun8iw11p1

[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)

[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)

[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)

[    0.000000] Memory: 1024MB = 1024MB total

[    0.000000] Memory: 991272k/991272k available, 57304k reserved, 409600K highmem

[    0.000000] Virtual kernel memory layout:

[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)

[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)

[    0.000000]     vmalloc : 0xe7800000 - 0xff000000   ( 376 MB)

[    0.000000]     lowmem  : 0xc0000000 - 0xe7000000   ( 624 MB)

[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)

[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)

[    0.000000]       .text : 0xc0008000 - 0xc09ab194   (9869 kB)

[    0.000000]       .init : 0xc09ac000 - 0xc0a1a7c0   ( 442 kB)

[    0.000000]       .data : 0xc0a1c000 - 0xc0b38ae0   (1139 kB)

[    0.000000]        .bss : 0xc0b38ae0 - 0xc0c256ac   ( 947 kB)

[    0.000000] Preemptible hierarchical RCU implementation.

[    0.000000] NR_IRQS:16 nr_irqs:16 16

[    0.000000] of_sunxi_clocks_init : sunxi_clk_base[0xf1c20000]

[    0.000000] pll_audio-set_default_rate=24576000 success!

[    0.000000] pll_periph0-set_default_rate=600000000 success!

[    0.000000] pll_de-set_default_rate=297000000 success!

[    0.000000] ahb1-set_default_rate=200000000 success!

[    0.000000] apb1-set_default_rate=100000000 success!

[    0.000000] apb2-set_default_rate=24000000 success!

[    0.000000] de-set_default_rate=297000000 success!

[    0.000000] de_mp-set_default_rate=297000000 success!

[    0.000000] mbus-set_default_rate=400000000 success!

[    0.000000] Architected cp15 timer(s) running at 24.00MHz (phys).

[    0.000000] Switching to timer-based delay loop

[    0.000000] sched_clock: ARM arch timer >56 bits at 24000kHz, resolution 41ns

[    0.000000] sched_clock: 32 bits at 100 Hz, resolution 10000000ns, wraps every 4294967286ms

[    0.000000] Console: colour dummy device 80x30

[    0.020000] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)

[    0.022596] pid_max: default: 32768 minimum: 301

[    0.028019] Mount-cache hash table entries: 512

[    0.031713] Initializing cgroup subsys debug

[    0.036005] Initializing cgroup subsys freezer

[    0.040171] CPU: Testing write buffer coherency: ok

[    0.045103] ftrace: allocating 26144 entries in 77 pages

[    0.080718] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000

[    0.086403] Setting up static identity map for 0xc06acd08 - 0xc06acd60

[    0.093202] CPU1: Booted secondary processor

[    0.093202] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001

[    0.093339] CPU2: Booted secondary processor

[    0.093339] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002

[    0.093339] CPU3: Booted secondary processor

[    0.093339] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003

[    0.093339] Brought up 4 CPUs

[    0.100021] SMP: Total of 4 processors activated (192.00 BogoMIPS).

[    0.106962] devtmpfs: initialized

[    0.124507] atomic64 test passed

[    0.130020] pinctrl core: initialized pinctrl subsystem

[    0.135513] NET: Registered protocol family 16

[    0.141160] DMA: preallocated 256 KiB pool for atomic coherent allocations

[    0.150203] dump_class_init,844, success

[    0.154094] sun8iw11p1-pinctrl pio: initialized sunXi PIO driver

[    0.200429] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.

[    0.200429] hw-breakpoint: maximum watchpoint size is 8 bytes.

[    0.280421] bio: create slab <bio-0> at 0

[    0.291100] pwm module init!

[    0.293643] platform pwm0: there is no bind_pwm, set bind_pwm 255!

[    0.300025] platform pwm0: there is no dead time, set bind_pwm 255!

[    0.310942] SCSI subsystem initialized

[    0.320153] libata version 3.00 loaded.

[    0.320213] usbcore: registered new interface driver usbfs

[    0.330071] usbcore: registered new interface driver hub

[    0.330117] usbcore: registered new device driver usb

[    0.350407] Linux video capture interface: v2.00

[    0.354739] [axp221s] chip id detect 0x6 !

[    0.360139] [axp221s] enable dcdc2 dvm.

[    0.390330] Advanced Linux Sound Architecture Driver Initialized.

[    0.400533] Bluetooth: Core ver 2.16

[    0.403997] NET: Registered protocol family 31

[    0.410024] Bluetooth: HCI device and connection manager initialized

[    0.416377] Bluetooth: HCI socket layer initialized

[    0.420034] Bluetooth: L2CAP socket layer initialized

[    0.425134] Bluetooth: SCO socket layer initialized

[    0.430614] cfg80211: Calling CRDA to update world regulatory domain

[    0.436716] [pm]aw_pm_init!

[    0.440116] np name = /soc@01c00000/rtc@01c20400. 

[    0.444912] base = f1c20500, len = 4.

[    0.448617] pmu1 does not exist. 

[    0.450217] add_sys_pwr_dm: get ldo name  for id: vdd-cpus failed

[    0.456114] add_sys_pwr_dm: get ldo name  for id: vcc-lpddr failed

[    0.460020] add_sys_pwr_dm: get ldo name  for id: vcc-pl failed

[    0.466085] add_sys_pwr_dm: axp22_aldo2 ldo already alwayson.

[    0.470014] after inited: sys_mask config = 0x84815. 

[    0.475139] Warning: can not find np for dynamic_standby_para. 

[    0.480596] [pm]valid

[    0.482917] [pm]valid

[    0.485386] sunxi budget cooling probe start !

[    0.490043] CPU freq cooling register Success

[    0.494428] CPU hotplug cooling register Success

[    0.499240] CPU budget cooling register Success

[    0.500823] input: sunxi-ths as /devices/virtual/input/input0

[    0.505799] thermal thermal_zone0: failed to read out thermal zone 0

[    0.510586] Switching to clocksource arch_sys_counter

[    0.551826] FS-Cache: Loaded

[    0.555494] CacheFiles: Loaded

[    0.595231] NET: Registered protocol family 2

[    0.601343] TCP established hash table entries: 8192 (order: 4, 65536 bytes)

[    0.608493] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)

[    0.615295] TCP: Hash tables configured (established 8192 bind 8192)

[    0.622402] TCP: reno registered

[    0.625673] UDP hash table entries: 512 (order: 2, 16384 bytes)

[    0.631809] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)

[    0.638856] NET: Registered protocol family 1

[    0.664781] Trying to unpack rootfs image as initramfs...

[    0.851067] Freeing initrd memory: 2652K (c1000000 - c1297000)

[    0.857635] lock super standby defaultly!

[    0.861898] lookup_scene_lock_name: new scene lock super_standby

[    0.867884] scene_lock_init name=super_standby

[    0.872525] scene_lock: super_standby, type 5, count 1

[    0.981947] bounce pool size: 64 pages

[    0.988317] NTFS driver 2.1.30 [Flags: R/W].

[    0.993103] fuse init (API version 7.22)

[    0.998486] Registering sdcardfs 3.1.0

[    1.002660] msgmni has been set to 1205

[    1.008110] io scheduler noop registered

[    1.012142] io scheduler deadline registered

[    1.016564] io scheduler cfq registered (default)

[    1.022885] OF: no ranges; cannot translate

[    1.027093] OF: no ranges; cannot translate

[    1.031906] OF: no ranges; cannot translate

[    1.036111] OF: no ranges; cannot translate

[    1.041276] [DISP]disp_module_init

[    1.045942] [DISP] boot_disp:0x100

[    1.080379] [DISP] disp_sys_script_get_item,line:193:of_find_compatible_node allwinner,sunxi-lcd1 fail

[    1.090501] [DISP] disp_sys_script_get_item,line:193:of_find_compatible_node allwinner,sunxi-lcd1 fail

[    1.100321] [DISP] disp_sys_script_get_item,line:193:of_find_compatible_node allwinner,sunxi-lcd1 fail

[    1.110130] [DISP] disp_sys_script_get_item,line:193:of_find_compatible_node allwinner,sunxi-lcd1 fail

[    1.119760] [DISP] disp_sys_script_get_item,line:193:of_find_compatible_node allwinner,sunxi-lcd1 fail

[    1.129642] [DISP] disp_sys_script_get_item,line:193:of_find_compatible_node allwinner,sunxi-lcd1 fail

[    1.139442] [DISP] disp_sys_script_get_item,line:193:of_find_compatible_node allwinner,sunxi-lcd1 fail

[    1.149245] [DISP] disp_sys_script_get_item,line:193:of_find_compatible_node allwinner,sunxi-lcd1 fail

[    1.159047] [DISP] disp_sys_script_get_item,line:193:of_find_compatible_node allwinner,sunxi-lcd1 fail

[    1.168850] [DISP] disp_sys_script_get_item,line:193:of_find_compatible_node allwinner,sunxi-lcd1 fail

[    1.178264] [DISP] fb_base:0x46400000

[    1.225524] [DISP]disp_module_init finish

[    1.230832] uart0: ttyS0 at MMIO 0x1c28000 (irq = 33) is a SUNXI

[    1.236845] sw_uart_pm()959 - uart0 clk is already enable

[    1.242479] sw_console_setup()1270 - console setup baud 115200 parity n bits 8, flow n

[    1.250509] console [ttyS0] enabled, bootconsole disabled
[    1.250509] console [ttyS0] enabled, bootconsole disabled

[    1.263025] uart2: ttyS2 at MMIO 0x1c28800 (irq = 35) is a SUNXI
[    1.270753] uart3: ttyS3 at MMIO 0x1c28c00 (irq = 36) is a SUNXI
[    1.278341] uart4: ttyS4 at MMIO 0x1c29000 (irq = 49) is a SUNXI
[    1.286020] uart5: ttyS5 at MMIO 0x1c29400 (irq = 50) is a SUNXI
[    1.293685] uart6: ttyS6 at MMIO 0x1c29800 (irq = 51) is a SUNXI
[    1.301356] uart7: ttyS7 at MMIO 0x1c29c00 (irq = 52) is a SUNXI
[    1.311510] misc dump reg init
[    1.316184] enter tr_probe
[    1.319276] exit tr_probe
[    1.324224] G2D: drv_g2d_init
[    1.327856] G2D: Module initialized.major:249
[    1.351456] brd: module loaded
[    1.364944] loop: module loaded
[    1.371659] sun4i-mdio 1c0b080.mdio: no regulator found
[    1.377846] libphy: sun4i_mii_bus: probed
[    1.383290] tun: Universal TUN/TAP device driver, 1.6
[    1.388812] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[    1.396997] gmac-power0: NULL
[    1.400344] gmac-power1: NULL
[    1.403586] gmac-power2: NULL
[    1.409869] PPP generic driver version 2.4.2
[    1.415458] PPP BSD Compression module registered
[    1.420735] PPP Deflate Compression module registered
[    1.426270] PPP MPPE Compression module registered
[    1.431706] NET: Registered protocol family 24
[    1.436615] PPTP driver version 0.8.5
[    1.441413] usbcore: registered new interface driver asix
[    1.447727] usbcore: registered new interface driver qf9700
[    1.454208] usbcore: registered new interface driver ax88179_178a
[    1.461270] usbcore: registered new interface driver cdc_ether
[    1.468036] usbcore: registered new interface driver net1080
[    1.474619] usbcore: registered new interface driver cdc_subset
[    1.481507] usbcore: registered new interface driver zaurus
[    1.488012] usbcore: registered new interface driver cdc_ncm
[    1.494325] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.501889] get ehci0-controller, regulator_io is no nocare
[    1.508043] [sunxi-ehci0]: probe, pdev->name: 1c14000.ehci0-controller, sunxi_ehci: 0xc0c05b58, 0x:f1c14000, irq_no:47
[    1.520118] sunxi-ehci 1c14000.ehci0-controller: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.530230] sunxi-ehci 1c14000.ehci0-controller: new USB bus registered, assigned bus number 1
[    1.540634] sunxi-ehci 1c14000.ehci0-controller: irq 71, io mem 0xe4861dc0
[    1.560050] sunxi-ehci 1c14000.ehci0-controller: USB 0.0 started, EHCI 1.00
[    1.567846] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    1.575539] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.583580] usb usb1: Product: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.591907] usb usb1: Manufacturer: Linux 3.10.65 ehci_hcd
[    1.597903] usb usb1: SerialNumber: sunxi-ehci
[    1.604325] hub 1-0:1.0: USB hub found
[    1.608464] hub 1-0:1.0: 1 port detected
[    1.613385] [ehci0-controller]: sunxi_usb_disable_ehci
[    1.619004] [sunxi-ehci0]: remove, pdev->name: 1c14000.ehci0-controller, sunxi_ehci: 0xc0c05b58
[    1.628804] sunxi-ehci 1c14000.ehci0-controller: remove, state 1
[    1.635506] usb usb1: USB disconnect, device number 1
[    1.643361] sunxi-ehci 1c14000.ehci0-controller: USB bus 1 deregistered
[    1.651491] get ehci1-controller, regulator_io is no nocare
[    1.657753] [sunxi-ehci1]: probe, pdev->name: 1c19000.ehci1-controller, sunxi_ehci: 0xc0c05cfc, 0x:f1c19000, irq_no:6c
[    1.669836] sunxi-ehci 1c19000.ehci1-controller: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.679951] sunxi-ehci 1c19000.ehci1-controller: new USB bus registered, assigned bus number 1
[    1.690251] sunxi-ehci 1c19000.ehci1-controller: irq 108, io mem 0xe4861dc0
[    1.710039] sunxi-ehci 1c19000.ehci1-controller: USB 0.0 started, EHCI 1.00
[    1.717651] ehci_irq: highspeed device connect
[    1.722902] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    1.730476] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.738371] usb usb1: Product: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.746836] usb usb1: Manufacturer: Linux 3.10.65 ehci_hcd
[    1.752944] usb usb1: SerialNumber: sunxi-ehci
[    1.759247] hub 1-0:1.0: USB hub found
[    1.763456] hub 1-0:1.0: 1 port detected
[    1.768330] get drv_vbus is fail, 84
[    1.772402] get ehci2-controller, regulator_io is no nocare
[    1.778561] [sunxi-ehci2]: probe, pdev->name: 1c1c000.ehci2-controller, sunxi_ehci: 0xc0c05ea0, 0x:f1c1c000, irq_no:6e
[    1.790637] sunxi-ehci 1c1c000.ehci2-controller: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.800750] sunxi-ehci 1c1c000.ehci2-controller: new USB bus registered, assigned bus number 2
[    1.810886] sunxi-ehci 1c1c000.ehci2-controller: irq 110, io mem 0xe4861dc0
[    1.830041] sunxi-ehci 1c1c000.ehci2-controller: USB 0.0 started, EHCI 1.00
[    1.837795] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[    1.845496] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.853536] usb usb2: Product: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.861945] usb usb2: Manufacturer: Linux 3.10.65 ehci_hcd
[    1.867942] usb usb2: SerialNumber: sunxi-ehci
[    1.874261] hub 2-0:1.0: USB hub found
[    1.878404] hub 2-0:1.0: 1 port detected
[    1.883882] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.891053] get ohci0-controller, regulator_io is no nocare
[    1.897253] [sunxi-ohci0]: probe, pdev->name: 1c14000.ohci0-controller, sunxi_ohci: 0xc0c054c8
[    1.907008] sunxi-ohci 1c14000.ohci0-controller: SW USB2.0 'Open' Host Controller (OHCI) Driver
[    1.916732] sunxi-ohci 1c14000.ohci0-controller: new USB bus registered, assigned bus number 3
[    1.926384] sunxi-ohci 1c14000.ohci0-controller: irq 72, io mem 0xc0390cfc
[    1.994108] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001
[    2.001754] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.009650] usb usb3: Product: SW USB2.0 'Open' Host Controller (OHCI) Driver
[    2.017730] usb usb3: Manufacturer: Linux 3.10.65 ohci_hcd
[    2.023837] ehci_irq: highspeed device disconnect
[    2.028996] usb usb3: SerialNumber: sunxi-ohci
[    2.035305] hub 3-0:1.0: USB hub found
[    2.039430] hub 3-0:1.0: 1 port detected
[    2.044495] [ohci0-controller]: sunxi_usb_disable_ohci
[    2.050250] [sunxi-ohci0]: remove, pdev->name: 1c14000.ohci0-controller, sunxi_ohci: 0xc0c054c8
[    2.059761] sunxi-ohci 1c14000.ohci0-controller: remove, state 1
[    2.066627] usb usb3: USB disconnect, device number 1
[    2.073564] sunxi-ohci 1c14000.ohci0-controller: USB bus 3 deregistered
[    2.081677] get ohci1-controller, regulator_io is no nocare
[    2.087814] hci: request ohci1-controller gpio:237
[    2.093303] [sunxi-ohci1]: probe, pdev->name: 1c19000.ohci1-controller, sunxi_ohci: 0xc0c0566c
[    2.102948] sunxi-ohci 1c19000.ohci1-controller: SW USB2.0 'Open' Host Controller (OHCI) Driver
[    2.112664] sunxi-ohci 1c19000.ohci1-controller: new USB bus registered, assigned bus number 3
[    2.122313] sunxi-ohci 1c19000.ohci1-controller: irq 96, io mem 0xc0390cfc
[    2.194105] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001
[    2.201746] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.209642] usb usb3: Product: SW USB2.0 'Open' Host Controller (OHCI) Driver
[    2.217720] usb usb3: Manufacturer: Linux 3.10.65 ohci_hcd
[    2.223829] usb usb3: SerialNumber: sunxi-ohci
[    2.229985] hub 3-0:1.0: USB hub found
[    2.234210] hub 3-0:1.0: 1 port detected
[    2.239050] get drv_vbus is fail, 84
[    2.243122] get ohci2-controller, regulator_io is no nocare
[    2.249305] [sunxi-ohci2]: probe, pdev->name: 1c1c000.ohci2-controller, sunxi_ohci: 0xc0c05810
[    2.259061] sunxi-ohci 1c1c000.ohci2-controller: SW USB2.0 'Open' Host Controller (OHCI) Driver
[    2.268783] sunxi-ohci 1c1c000.ohci2-controller: new USB bus registered, assigned bus number 4
[    2.278421] sunxi-ohci 1c1c000.ohci2-controller: irq 97, io mem 0xc0390cfc
[    2.344086] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001
[    2.351723] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.359618] usb usb4: Product: SW USB2.0 'Open' Host Controller (OHCI) Driver
[    2.367695] usb usb4: Manufacturer: Linux 3.10.65 ohci_hcd
[    2.373803] usb usb4: SerialNumber: sunxi-ohci
[    2.380040] hub 4-0:1.0: USB hub found
[    2.384176] hub 4-0:1.0: 1 port detected
[    2.389992] usbcore: registered new interface driver cdc_acm
[    2.396302] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[    2.405612] usbcore: registered new interface driver usb-storage
[    2.412588] usbcore: registered new interface driver ums-alauda
[    2.419430] usbcore: registered new interface driver ums-cypress
[    2.426366] usbcore: registered new interface driver ums-datafab
[    2.433373] usbcore: registered new interface driver ums_eneub6250
[    2.440540] usbcore: registered new interface driver ums-freecom
[    2.447466] usbcore: registered new interface driver ums-isd200
[    2.454323] usbcore: registered new interface driver ums-jumpshot
[    2.461393] usbcore: registered new interface driver ums-karma
[    2.468157] usbcore: registered new interface driver ums-onetouch
[    2.475259] usbcore: registered new interface driver ums-realtek
[    2.482230] usbcore: registered new interface driver ums-sddr09
[    2.489059] usbcore: registered new interface driver ums-sddr55
[    2.495911] usbcore: registered new interface driver ums-usbat
[    2.503150] usbcore: registered new interface driver usbserial
[    2.509880] usbcore: registered new interface driver option
[    2.516336] usbserial: USB Serial support registered for GSM modem (1-port)
[    2.525885] mousedev: PS/2 mouse device common for all mice
[    2.533318] sunxi_keyboard_startup: keyboard has no clk.
[    2.539933] input: sunxi-keyboard as /devices/virtual/input/input1
[    2.548507] input: sunxi-keypad as /devices/virtual/input/kp0
[    2.556089] usbcore: registered new interface driver xpad
[    2.562401] usbcore: registered new interface driver usb_acecad
[    2.569243] usbcore: registered new interface driver aiptek
[    2.575734] usbcore: registered new interface driver gtco
[    2.582011] usbcore: registered new interface driver hanwang
[    2.588568] usbcore: registered new interface driver kbtab
[    2.594979] usbcore: registered new interface driver wacom
[    2.603716] sunxi-rtc rtc: rtc core: registered sunxi-rtc as rtc0
[    2.610085] usb 3-1: new full-speed USB device number 2 using sunxi-ohci
[    2.617991] sunxi-rtc rtc: RTC enabled
[    2.623225] IR NEC protocol handler initialized
[    2.628602] usbcore: registered new interface driver uvcvideo
[    2.635006] USB Video Class driver (1.1.1)
[    2.639480] sunxi cedar version 0.1 
[    2.643654] VE: install start!!!
[    2.643654] 
[    2.648882] cedar_ve: cedar-ve the get irq is 85
[    2.655016] VE: install end!!!
[    2.655016] 
[    2.661546] input: axp22-powerkey as /devices/soc/twi0/i2c-0/0-0034/axp22-powerkey/input/input3
[    2.694738] sunxi gpu cooling probe start !
[    2.699329] CPU gpu cooling register Success
[    2.704789] device-mapper: uevent: version 1.0.3
[    2.710621] device-mapper: ioctl: 4.24.0-ioctl (2013-01-15) initialised: dm-devel@redhat.com
[    2.723861] cpuidle: using governor ladder
[    2.728338] cpuidle: using governor menu
[    2.734482] sunxi-mmc sdc2: SD/MMC/SDIO Host Controller Driver(v0.64 2016-11-17 11:56) Compiled in Oct 31 2019 at 18:14:16
[    2.746878] sunxi-mmc sdc2: regulator prop vmmc,str vcc-emmcv
[    2.753345] sunxi-mmc sdc2: regulator prop vqmmc,str vcc-emmcvq18
[    2.760156] sunxi-mmc sdc2: regulator prop vdmmc,str none
[    2.766242] sunxi-mmc sdc2: No vdmmc regulator found
[    2.773931] sunxi-mmc sdc2: sdc set ios: clk 0Hz bm PP pm UP vdd 22 width 1 timing LEGACY(SDR12) dt B
[    2.800184] sunxi-mmc sdc2: sdc set ios: clk 400000Hz bm PP pm ON vdd 22 width 1 timing LEGACY(SDR12) dt B
[    2.830161] sunxi-mmc sdc2: base:0xf1c11000 irq:66
[    2.835442] sunxi-mmc sdc2: smc 0 p2 err, cmd 52, RTO !!
[    2.842260] sunxi-mmc sdc0: SD/MMC/SDIO Host Controller Driver(v0.64 2016-11-17 11:56) Compiled in Oct 31 2019 at 18:14:16
[    2.854586] sunxi-mmc sdc2: smc 0 p2 err, cmd 52, RTO !!
[    2.860599] sunxi-mmc sdc2: sdc set ios: clk 400000Hz bm PP pm ON vdd 22 width 1 timing LEGACY(SDR12) dt B
[    2.860692] sunxi-mmc sdc0: ***ctl-spec-caps*** 8
[    2.860735] sunxi-mmc sdc0: regulator prop vmmc,str vcc-sdcv-p3
[    2.860743] sunxi-mmc sdc0: regulator prop vqmmc,str vcc-sdcvq33-p3
[    2.860750] sunxi-mmc sdc0: regulator prop vdmmc,str vcc-sdcvd-p3
[    2.866287] usb 3-1: New USB device found, idVendor=222a, idProduct=0001
[    2.866295] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    2.866300] usb 3-1: Product: ILITEK-TP
[    2.866305] usb 3-1: Manufacturer: ILITEK
[    2.866310] usb 3-1: SerialNumber: V06.00.00.00
[    2.926783] sunxi-mmc sdc0: Got CD GPIO #243.
[    2.932701] sunxi-mmc sdc0: base:0xf1c0f000 irq:64
[    2.932746] sunxi-mmc sdc2: sdc set ios: clk 400000Hz bm PP pm ON vdd 22 width 1 timing LEGACY(SDR12) dt B
[    2.934716] sunxi-mmc sdc2: smc 0 p2 err, cmd 8, RTO !!
[    2.935622] sunxi-mmc sdc2: smc 0 p2 err, cmd 5, RTO !!
[    2.936456] sunxi-mmc sdc2: smc 0 p2 err, cmd 5, RTO !!
[    2.937289] sunxi-mmc sdc2: smc 0 p2 err, cmd 5, RTO !!
[    2.938122] sunxi-mmc sdc2: smc 0 p2 err, cmd 5, RTO !!
[    2.938957] sunxi-mmc sdc2: smc 0 p2 err, cmd 55, RTO !!
[    2.939790] sunxi-mmc sdc2: smc 0 p2 err, cmd 55, RTO !!
[    2.940622] sunxi-mmc sdc2: smc 0 p2 err, cmd 55, RTO !!
[    2.941454] sunxi-mmc sdc2: smc 0 p2 err, cmd 55, RTO !!
[    2.941479] sunxi-mmc sdc2: sdc set ios: clk 400000Hz bm OD pm ON vdd 22 width 1 timing LEGACY(SDR12) dt B
[    2.941898] sunxi-mmc sdc2: sdc set ios: clk 400000Hz bm OD pm ON vdd 7 width 1 timing LEGACY(SDR12) dt B
[    2.941946] sunxi-mmc sdc2: sdc set ios: clk 400000Hz bm OD pm ON vdd 7 width 1 timing LEGACY(SDR12) dt B
[    2.941993] sunxi-mmc sdc2: sdc set ios: clk 400000Hz bm OD pm ON vdd 7 width 1 timing LEGACY(SDR12) dt B
[    2.944404] sunxi-mmc sdc2: sdc set ios: clk 400000Hz bm OD pm ON vdd 7 width 1 timing LEGACY(SDR12) dt B
[    3.011385] sunxi-mmc sdc2: sdc set ios: clk 400000Hz bm PP pm ON vdd 7 width 1 timing LEGACY(SDR12) dt B
[    3.023648] mmc0: BKOPS_EN bit is not set
[    3.024622] sunxi-mmc sdc2: sdc set ios: clk 400000Hz bm PP pm ON vdd 7 width 1 timing MMC-HS(SDR20) dt B
[    3.024670] mmc0: Check switch ready sunxi_mmc_check_timing_switch_done
[    3.024996] sunxi-mmc sdc2: sdc set ios: clk 50000000Hz bm PP pm ON vdd 7 width 1 timing MMC-HS(SDR20) dt B
[    3.025342] sunxi-mmc sdc2: sdc set ios: clk 50000000Hz bm PP pm ON vdd 7 width 8 timing MMC-HS(SDR20) dt B
[    3.025762] mmc0: new high speed MMC card at address 0001
[    3.027037] mmcblk0: mmc0:0001 008G70 7.28 GiB 
[    3.027589] mmcblk0boot0: mmc0:0001 008G70 partition 1 4.00 MiB
[    3.028113] mmcblk0boot1: mmc0:0001 008G70 partition 2 4.00 MiB
[    3.030743]  mmcblk0: p1 p2 p3 < p5 p6 p7 p8 p9 p10 p11 p12 p13 p14 p15 p16 >
[    3.030777] mmcblk0: p1 size 5890048 extends beyond EOD, truncated
[    3.039411]  mmcblk0boot1: unknown partition table
[    3.041352]  mmcblk0boot0: unknown partition table
[    3.159283] sunxi-mmc sdc1: SD/MMC/SDIO Host Controller Driver(v0.64 2016-11-17 11:56) Compiled in Oct 31 2019 at 18:14:16
[    3.171631] sunxi-mmc sdc1: ***ctl-spec-caps*** 1
[    3.176783] sunxi-mmc sdc1: Can't get vmmc regulator string
[    3.183072] sunxi-mmc sdc1: Can't get vqmmc regulator string
[    3.189253] sunxi-mmc sdc1: Can't get vdmmc regulator string
[    3.195661] get() with no identifier
[    3.199562] get() with no identifier
[    3.203608] get() with no identifier
[    3.207512] sunxi-mmc sdc1: No vmmc regulator found
[    3.213002] sunxi-mmc sdc1: No vqmmc regulator found
[    3.218422] sunxi-mmc sdc1: No vdmmc regulator found
[    3.225597] sunxi-mmc sdc1: sdc set ios: clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
[    3.230046] *mmc1 detect cd change*
[    3.230052] *mmc1 lock*
[    3.230069] sunxi-mmc sdc0: sdc set ios: clk 0Hz bm PP pm UP vdd 22 width 1 timing LEGACY(SDR12) dt B
[    3.250078] sunxi-mmc sdc0: sdc set ios: clk 400000Hz bm PP pm ON vdd 22 width 1 timing LEGACY(SDR12) dt B
[    3.263418] sunxi-mmc sdc1: no vqmmc,Check if there is regulator
[    3.270882] sunxi-mmc sdc0: smc 1 p0 err, cmd 52, RTO !!
[    3.277763] sunxi-mmc sdc0: smc 1 p0 err, cmd 52, RTO !!
[    3.283717] sunxi-mmc sdc0: sdc set ios: clk 400000Hz bm PP pm ON vdd 22 width 1 timing LEGACY(SDR12) dt B
[    3.294553] sunxi-mmc sdc1: sdc set ios: clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    3.297072] sunxi-mmc sdc0: sdc set ios: clk 400000Hz bm PP pm ON vdd 22 width 1 timing LEGACY(SDR12) dt B
[    3.299074] sunxi-mmc sdc0: smc 1 p0 err, cmd 8, RTO !!
[    3.300049] sunxi-mmc sdc0: smc 1 p0 err, cmd 5, RTO !!
[    3.301002] sunxi-mmc sdc0: smc 1 p0 err, cmd 5, RTO !!
[    3.301965] sunxi-mmc sdc0: smc 1 p0 err, cmd 5, RTO !!
[    3.302930] sunxi-mmc sdc0: smc 1 p0 err, cmd 5, RTO !!
[    3.303900] sunxi-mmc sdc0: smc 1 p0 err, cmd 55, RTO !!
[    3.304869] sunxi-mmc sdc0: smc 1 p0 err, cmd 55, RTO !!
[    3.305828] sunxi-mmc sdc0: smc 1 p0 err, cmd 55, RTO !!
[    3.306738] sunxi-mmc sdc0: smc 1 p0 err, cmd 55, RTO !!
[    3.306767] sunxi-mmc sdc0: sdc set ios: clk 400000Hz bm OD pm ON vdd 22 width 1 timing LEGACY(SDR12) dt B
[    3.307809] sunxi-mmc sdc0: smc 1 p0 err, cmd 1, RTO !!
[    3.307908] sunxi-mmc sdc0: sdc set ios: clk 0Hz bm OD pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B
[    3.410276] sunxi-mmc sdc1: base:0xf1c10000 irq:65
[    3.411163] sunxi-mmc sdc1: smc 2 p1 err, cmd 52, RTO !!
[    3.412125] sunxi-mmc sdc1: smc 2 p1 err, cmd 52, RTO !!
[    3.412220] sunxi-mmc sdc1: sdc set ios: clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    3.414831] sunxi-mmc sdc1: sdc set ios: clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    3.416825] sunxi-mmc sdc1: smc 2 p1 err, cmd 8, RTO !!
[    3.417788] sunxi-mmc sdc1: smc 2 p1 err, cmd 5, RTO !!
[    3.418748] sunxi-mmc sdc1: smc 2 p1 err, cmd 5, RTO !!
[    3.419708] sunxi-mmc sdc1: smc 2 p1 err, cmd 5, RTO !!
[    3.420675] sunxi-mmc sdc1: smc 2 p1 err, cmd 5, RTO !!
[    3.421633] sunxi-mmc sdc1: smc 2 p1 err, cmd 55, RTO !!
[    3.422596] sunxi-mmc sdc1: smc 2 p1 err, cmd 55, RTO !!
[    3.423561] sunxi-mmc sdc1: smc 2 p1 err, cmd 55, RTO !!
[    3.424463] sunxi-mmc sdc1: smc 2 p1 err, cmd 55, RTO !!
[    3.424491] sunxi-mmc sdc1: sdc set ios: clk 400000Hz bm OD pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    3.425526] sunxi-mmc sdc1: smc 2 p1 err, cmd 1, RTO !!
[    3.425623] sunxi-mmc sdc1: sdc set ios: clk 0Hz bm OD pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B
[    3.532003] hidraw: raw HID events driver (C) Jiri Kosina
[    3.594166] input: ILITEK ILITEK-TP as /devices/soc/1c19000.ohci1-controller/usb3/3-1/3-1:1.0/input/input4
[    3.607908] hid-multitouch 0003:222A:0001.0001: input,hidraw0: USB HID v1.10 Device [ILITEK ILITEK-TP] on usb-sunxi-ohci-1/input0
[    3.631414] input: ILITEK ILITEK-TP as /devices/soc/1c19000.ohci1-controller/usb3/3-1/3-1:1.1/input/input5
[    3.647288] hid-generic 0003:222A:0001.0002: input,hiddev0,hidraw1: USB HID v1.10 Mouse [ILITEK ILITEK-TP] on usb-sunxi-ohci-1/input1
[    3.661247] usbcore: registered new interface driver usbhid
[    3.667376] usbhid: USB HID core driver
[    3.673764] zram: Created 1 device(s) ...
[    3.682648] ashmem: initialized
[    3.687096] logger: created 256K log 'log_main'
[    3.693163] logger: created 256K log 'log_events'
[    3.699460] logger: created 256K log 'log_radio'
[    3.705975] logger: created 256K log 'log_system'
[    3.717058] usbcore: registered new interface driver snd-usb-audio
[    3.724552] usbcore: registered new interface driver snd-ua101
[    3.734192] headphonevol:59, spkervol:27, maingain:4, pa_sleep_time:350
[    3.749639] sunxi-codec-machine sndcodec:  sun8iw11codec <-> 1c22c00.cpudai0-controller mapping ok
[    3.763659] u32 classifier
[    3.766622]     Actions configured
[    3.770480] Netfilter messages via NETLINK v0.30.
[    3.775733] nf_conntrack version 0.5.0 (16042 buckets, 64168 max)
[    3.783407] ctnetlink v0.93: registering with nfnetlink.
[    3.791307] NF_TPROXY: Transparent proxy support initialized, version 4.1.0
[    3.798910] NF_TPROXY: Copyright (c) 2006-2007 BalaBit IT Ltd.
[    3.808646] xt_time: kernel timezone is -0000
[    3.813736] ipip: IPv4 over IPv4 tunneling driver
[    3.821251] gre: GRE over IPv4 demultiplexor driver
[    3.826588] ip_gre: GRE over IPv4 tunneling driver
[    3.836347] ip_tables: (C) 2000-2006 Netfilter Core Team
[    3.842711] arp_tables: (C) 2002 David S. Miller
[    3.847870] TCP: bic registered
[    3.851521] TCP: cubic registered
[    3.855147] TCP: westwood registered
[    3.859047] TCP: htcp registered
[    3.862768] Initializing XFRM netlink socket
[    3.868687] NET: Registered protocol family 10
[    3.876209] mip6: Mobile IPv6
[    3.879623] ip6_tables: (C) 2000-2006 Netfilter Core Team
[    3.886199] sit: IPv6 over IPv4 tunneling driver
[    3.893710] NET: Registered protocol family 17
[    3.898642] NET: Registered protocol family 15
[    3.903727] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[    3.910361] Bluetooth: HIDP socket layer initialized
[    3.916254] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    3.929739] [DISP] boot_disp:0x100
[    3.936027] [HDMI] cec support = 0
[    4.053305] there is no tve dac(0) offset value.
[    4.059106] there is no tve dac(1) offset value.
[    4.065577] there is no tve dac(2) offset value.
[    4.070741] tve0 have no dac 3
[    4.074073] tve0 have no type3
[    4.077407] [DISP] boot_disp:0x100
[    4.081698] [DISP] disp_init_tv,line:641:screen 0 don't support TV!
[    4.088581] [DISP] disp_init_tv,line:641:screen 1 don't support TV!
[    4.095773] [DISP] disp_init_vga,line:616:screen 0 do not support VGA TYPE!
[    4.103511] [DISP] disp_init_vga,line:616:screen 1 do not support VGA TYPE!
[    4.111330] [DISP] disp_init_vga,line:632:disp0 not support vga
[    4.117812] [DISP] disp_init_vga,line:632:disp1 not support vga
[    4.126311] there is no tve dac(0) offset value.
[    4.131545] tve1 have no dac 1
[    4.134883] tve1 have no type1
[    4.138214] tve1 have no dac 2
[    4.141722] tve1 have no type2
[    4.145054] tve1 have no dac 3
[    4.148385] tve1 have no type3
[    4.151893] [DISP] boot_disp:0x100
[    4.159827] usb_serial_number:20080411
[    4.165977] file system registered
[    4.178909] android_usb gadget: Mass Storage Function, version: 2009/09/11
[    4.186640] android_usb gadget: Number of LUNs=3
[    4.191889]  lun0: LUN: removable file: (no medium)
[    4.197223]  lun1: LUN: removable file: (no medium)
[    4.202736]  lun2: LUN: removable file: (no medium)
[    4.211034] android_usb gadget: android_usb ready
[    4.216727] sunxi-rtc rtc: setting system clock to 2010-01-01 03:00:47 UTC (1262314847)
[    4.235302] ALSA device list:
[    4.238557]   #0: audiocodec
[    4.242588] Freeing unused kernel memory: 440K (c09ac000 - c0a1a000)
[    4.253332] init: init started!
[    4.259563] init: init second stage started!
[    4.265296] init: waitpid failed: No child processes
[    4.271200] init: (Loading properties from /default.prop took 0.00s.)
[    4.280880] init: (Parsing /init.environ.rc took 0.00s.)
[    4.287048] init: (Parsing /init.usb.rc took 0.00s.)
[    4.293659] init: (Parsing init.sensors.rc took 0.00s.)
[    4.299384] init: (Parsing init.common.rc took 0.01s.)
[    4.305656] init: (Parsing init.sun8iw11p1.usb.rc took 0.00s.)
[    4.312588] init: (Parsing init.zygote32.rc took 0.00s.)
[    4.318413] init: (Parsing /init.sun8iw11p1.rc took 0.03s.)
[    4.325298] init: (Parsing /init.usb.configfs.rc took 0.00s.)
[    4.331796] init: /init.zygote32.rc: 1: ignored duplicate definition of service 'zygote'
[    4.340825] init: (Parsing /init.zygote32.rc took 0.01s.)
[    4.346884] init: (Parsing /init.trace.rc took 0.00s.)
[    4.352720] init: (Parsing /init.rc took 0.07s.)
[    4.358069] init: Starting service 'ueventd'...
[    4.363894] init: Waiting for /dev/.coldboot_done...
[    4.366576] ueventd: ueventd started!
[    4.610063] 
[    4.610063] rmmod_device_driver
[    4.610063] 
[    4.616791] android_work: did not send uevent (0 0   (null))
[    4.623299] ------------[ cut here ]------------
[    4.628380] WARNING: at kernel/irq/manage.c:1267 __free_irq+0x98/0x1ac()
[    4.633209] Trying to free already-free IRQ 0
[    4.633209] Modules linked in:
[    4.633209] CPU: 1 PID: 636 Comm: usb_device_chos Not tainted 3.10.65 #23
[    4.633209] [<c0017f38>] (unwind_backtrace+0x0/0xec) from [<c00141a0>] (show_stack+0x20/0x24)
[    4.633209] [<c00141a0>] (show_stack+0x20/0x24) from [<c06a165c>] (dump_stack+0x20/0x28)
[    4.633209] [<c06a165c>] (dump_stack+0x20/0x28) from [<c0024480>] (warn_slowpath_common+0x5c/0x78)
[    4.633209] [<c0024480>] (warn_slowpath_common+0x5c/0x78) from [<c0024558>] (warn_slowpath_fmt+0x40/0x48)
[    4.633209] [<c0024558>] (warn_slowpath_fmt+0x40/0x48) from [<c00974f8>] (__free_irq+0x98/0x1ac)
[    4.633209] [<c00974f8>] (__free_irq+0x98/0x1ac) from [<c0097690>] (free_irq+0x84/0xa8)
[    4.633209] [<c0097690>] (free_irq+0x84/0xa8) from [<c03e10a8>] (sunxi_usb_device_disable+0xa8/0xe4)
[    4.633209] [<c03e10a8>] (sunxi_usb_device_disable+0xa8/0xe4) from [<c03e00cc>] (usb_msg_center+0x130/0x17c)
[    4.633209] [<c03e00cc>] (usb_msg_center+0x130/0x17c) from [<c03dea78>] (usb_device_scan_thread+0x40/0x78)
[    4.633209] [<c03dea78>] (usb_device_scan_thread+0x40/0x78) from [<c0046a60>] (kthread+0xbc/0xc8)
[    4.633209] [<c0046a60>] (kthread+0xbc/0xc8) from [<c000fa38>] (ret_from_fork+0x14/0x20)
[    4.633209] ---[ end trace 29c3b0c61865c955 ]---
[    4.765347] ERR: clock handle is null, ahb_otg(0xe481c8c0), mod_usbotg(0x  (null)), mod_usbphy(0xe48171c0), open(0)
[    4.776998] 
[    4.776998] insmod_device_driver
[    4.776998] 
[    4.783974] device_chose finished 65!
[    4.988028] ueventd: Coldboot took 0.62s.
[    4.991816] init: Waiting for /dev/.coldboot_done took 0.63s.
[    4.991917] init: /dev/hw_random not found
[    5.009165] init: write_file: Unable to open '/proc/sys/kernel/hung_task_timeout_secs': No such file or directory
[    5.020917] init: write_file: Unable to open '/proc/sys/kernel/sched_tunable_scaling': No such file or directory
[    5.032343] init: write_file: Unable to open '/proc/sys/kernel/sched_latency_ns': No such file or directory
[    5.043258] init: write_file: Unable to open '/proc/sys/kernel/sched_wakeup_granularity_ns': No such file or directory
[    5.055220] init: write_file: Unable to open '/proc/sys/kernel/sched_compat_yield': No such file or directory
[    5.068224] init: write_file: Unable to write to '/dev/cpuctl/cpu.shares': Invalid argument
[    5.083564] init: write_file: Unable to open '/proc/sys/abi/swp': No such file or directory
[    5.094285] init: /dev/hw_random not found
[    5.136926] [NAND]Failed to insmod nand!!!
[    5.150806] EXT4-fs (mmcblk0p7): mounted filesystem with ordered data mode. Opts: barrier=1
[    5.160313] fs_mgr: __mount(source=/dev/block/by-name/system,target=/system,type=ext4)=0
[    5.170535] EXT4-fs (mmcblk0p11): VFS: Can't find ext4 filesystem
[    5.177352] fs_mgr: check_fs(): mount(/dev/block/by-name/cache,/cache,ext4)=-1: Invalid argument
[    5.188707] fs_mgr: Running /system/bin/e2fsck on /dev/block/by-name/cache
[    5.286367] e2fsck: e2fsck 1.42.9 (28-Dec-2013)
[    5.286367] 
[    5.293136] e2fsck: ext2fs_open2: Bad magic number in super-block
[    5.293136] 
[    5.301590] e2fsck: /system/bin/e2fsck: Superblock invalid, trying backup blocks...
[    5.301590] 
[    5.311762] e2fsck: /system/bin/e2fsck: Bad magic number in super-block while trying to open /dev/block/by-name/cache
[    5.311762] 
[    5.325214] e2fsck: 
[    5.325214] 
[    5.329222] e2fsck: The superblock could not be read or does not describe a correct ext2
[    5.329222] 
[    5.340158] e2fsck: filesystem.  If the device is valid and it really contains an ext2
[    5.340158] 
[    5.350626] e2fsck: filesystem (and not swap or ufs or something else), then the superblock
[    5.350626] 
[    5.361647] e2fsck: is corrupt, and you might try running e2fsck with an alternate superblock:
[    5.361647] 
[    5.372988] e2fsck:     e2fsck -b 8193 <device>
[    5.372988] 
[    5.379620] e2fsck: 
[    5.379620] 
[    5.383859] e2fsck: e2fsck terminated by exit(8)
[    5.383859] 
[    5.392463] EXT4-fs (mmcblk0p11): VFS: Can't find ext4 filesystem
[    5.399340] fs_mgr: __mount(source=/dev/block/by-name/cache,target=/cache,type=ext4)=-1
[    5.410204] fs_mgr: fs_mgr_mount_all(): /dev/block/by-name/cache is wiped and /cache ext4 is formattable. Format it.
[    5.422038] fs_mgr: fs_mgr_do_format: Format /dev/block/by-name/cache as 'ext4'.
[    5.870789] EXT4-fs (mmcblk0p11): Ignoring removed nomblk_io_submit option
[    5.887505] EXT4-fs (mmcblk0p11): mounted filesystem with ordered data mode. Opts: nomblk_io_submit,errors=remount-ro
[    5.899490] fs_mgr: check_fs(): mount(/dev/block/by-name/cache,/cache,ext4)=0: Success
[    5.910874] fs_mgr: check_fs(): unmount(/cache) succeeded
[    5.916858] fs_mgr: Running /system/bin/e2fsck on /dev/block/by-name/cache
[    5.957287] e2fsck: e2fsck 1.42.9 (28-Dec-2013)
[    5.957287] 
[    5.964074] e2fsck: /dev/block/by-name/cache: clean, 11/49152 files, 6355/196608 blocks
[    5.964074] 
[    5.976084] EXT4-fs (mmcblk0p11): Ignoring removed nomblk_io_submit option
[    5.989827] EXT4-fs (mmcblk0p11): mounted filesystem with ordered data mode. Opts: barrier=1,data=ordered,nomblk_io_submit,noauto_da_alloc,errors=panic
[    6.005030] fs_mgr: __mount(source=/dev/block/by-name/cache,target=/cache,type=ext4)=0
[    6.015293] EXT4-fs (mmcblk0p16): VFS: Can't find ext4 filesystem
[    6.022366] fs_mgr: check_fs(): mount(/dev/block/by-name/alog,/logger,ext4)=-1: Invalid argument
[    6.032290] fs_mgr: Running /system/bin/e2fsck on /dev/block/by-name/alog
[    6.071297] e2fsck: e2fsck 1.42.9 (28-Dec-2013)
[    6.071297] 
[    6.077905] e2fsck: ext2fs_open2: Bad magic number in super-block
[    6.077905] 
[    6.086468] e2fsck: /system/bin/e2fsck: Superblock invalid, trying backup blocks...
[    6.086468] 
[    6.096643] e2fsck: /system/bin/e2fsck: Bad magic number in super-block while trying to open /dev/block/by-name/alog
[    6.096643] 
[    6.110079] e2fsck: 
[    6.110079] 
[    6.114149] e2fsck: The superblock could not be read or does not describe a correct ext2
[    6.114149] 
[    6.124985] e2fsck: filesystem.  If the device is valid and it really contains an ext2
[    6.124985] 
[    6.135513] e2fsck: filesystem (and not swap or ufs or something else), then the superblock
[    6.135513] 
[    6.146460] e2fsck: is corrupt, and you might try running e2fsck with an alternate superblock:
[    6.146460] 
[    6.157684] e2fsck:     e2fsck -b 8193 <device>
[    6.157684] 
[    6.164477] e2fsck: 
[    6.164477] 
[    6.168501] e2fsck: e2fsck terminated by exit(8)
[    6.168501] 
[    6.177365] EXT4-fs (mmcblk0p16): VFS: Can't find ext4 filesystem
[    6.184424] fs_mgr: __mount(source=/dev/block/by-name/alog,target=/logger,type=ext4)=-1
[    6.195031] fs_mgr: fs_mgr_mount_all(): /dev/block/by-name/alog is wiped and /logger ext4 is formattable. Format it.
[    6.206907] fs_mgr: fs_mgr_do_format: Format /dev/block/by-name/alog as 'ext4'.
[    6.387732] EXT4-fs (mmcblk0p16): Ignoring removed nomblk_io_submit option
[    6.404002] EXT4-fs (mmcblk0p16): mounted filesystem with ordered data mode. Opts: nomblk_io_submit,errors=remount-ro
[    6.416049] fs_mgr: check_fs(): mount(/dev/block/by-name/alog,/logger,ext4)=0: Success
[    6.427829] fs_mgr: check_fs(): unmount(/logger) succeeded
[    6.434059] fs_mgr: Running /system/bin/e2fsck on /dev/block/by-name/alog
[    6.473685] e2fsck: e2fsck 1.42.9 (28-Dec-2013)
[    6.473685] 
[    6.480462] e2fsck: /dev/block/by-name/alog: clean, 11/5120 files, 1358/20480 blocks
[    6.480462] 
[    6.492166] EXT4-fs (mmcblk0p16): Ignoring removed nomblk_io_submit option
[    6.505872] EXT4-fs (mmcblk0p16): mounted filesystem with ordered data mode. Opts: barrier=1,data=ordered,nomblk_io_submit,noauto_da_alloc,errors=panic
[    6.521039] fs_mgr: __mount(source=/dev/block/by-name/alog,target=/logger,type=ext4)=0
[    6.531059] EXT4-fs (mmcblk0p8): VFS: Can't find ext4 filesystem
[    6.537744] fs_mgr: check_fs(): mount(/dev/block/by-name/data,/data,ext4)=-1: Invalid argument
[    6.547546] fs_mgr: Running /system/bin/e2fsck on /dev/block/by-name/data
[    6.588689] e2fsck: e2fsck 1.42.9 (28-Dec-2013)
[    6.588689] 
[    6.595451] e2fsck: ext2fs_open2: Bad magic number in super-block
[    6.595451] 
[    6.603916] e2fsck: /system/bin/e2fsck: Superblock invalid, trying backup blocks...
[    6.603916] 
[    6.614087] e2fsck: /system/bin/e2fsck: Bad magic number in super-block while trying to open /dev/block/by-name/data
[    6.614087] 
[    6.627433] e2fsck: 
[    6.627433] 
[    6.631537] e2fsck: The superblock could not be read or does not describe a correct ext2
[    6.631537] 
[    6.642186] e2fsck: filesystem.  If the device is valid and it really contains an ext2
[    6.642186] 
[    6.652640] e2fsck: filesystem (and not swap or ufs or something else), then the superblock
[    6.652640] 
[    6.663577] e2fsck: is corrupt, and you might try running e2fsck with an alternate superblock:
[    6.663577] 
[    6.674916] e2fsck:     e2fsck -b 8193 <device>
[    6.674916] 
[    6.681617] e2fsck: 
[    6.681617] 
[    6.685688] e2fsck: e2fsck terminated by exit(8)
[    6.685688] 
[    6.694420] EXT4-fs (mmcblk0p8): VFS: Can't find ext4 filesystem
[    6.701389] fs_mgr: __mount(source=/dev/block/by-name/data,target=/data,type=ext4)=-1
[    6.711803] fs_mgr: fs_mgr_mount_all(): /dev/block/by-name/data is wiped and /data ext4 is formattable. Format it.
[    6.723412] fs_mgr: fs_mgr_do_format: Format /dev/block/by-name/data as 'ext4'.
[    7.320128] EXT4-fs (mmcblk0p8): Ignoring removed nomblk_io_submit option
[    7.335435] EXT4-fs (mmcblk0p8): mounted filesystem with ordered data mode. Opts: nomblk_io_submit,errors=remount-ro
[    7.347257] fs_mgr: check_fs(): mount(/dev/block/by-name/data,/data,ext4)=0: Success
[    7.358122] fs_mgr: check_fs(): unmount(/data) succeeded
[    7.364242] fs_mgr: Running /system/bin/e2fsck on /dev/block/by-name/data
[    7.407246] e2fsck: e2fsck 1.42.9 (28-Dec-2013)
[    7.407246] 
[    7.414022] e2fsck: /dev/block/by-name/data: clean, 11/65536 files, 8536/262144 blocks
[    7.414022] 
[    7.425920] EXT4-fs (mmcblk0p8): Ignoring removed nomblk_io_submit option
[    7.439540] EXT4-fs (mmcblk0p8): mounted filesystem with ordered data mode. Opts: barrier=1,data=ordered,nomblk_io_submit,noauto_da_alloc,errors=panic
[    7.454596] fs_mgr: __mount(source=/dev/block/by-name/data,target=/data,type=ext4)=0
[    7.502728] Adding 262140k swap on /dev/block/zram0.  Priority:-1 extents:1 across:262140k SSFS
[    7.620958] Mali: Failed to get [gpu_mali400_0, lv2_volt] in sys_config.fex!
[    7.629932] Mali: Enable gpu power successfully.
[    7.635091] Mali: Set gpu frequency to 384 MHz
[    7.640159] Mali: Mali GPU initialization finished.
[    7.652049] gpu cooling callback register Success
[    7.657195] Mali: Mali device driver loaded
[    7.669972] ctp_fetch_sysconfig_para: ctp is not used
[    7.675636] =========script_get_item_err============
[    7.681161] goodix_ts_init: ctp_fetch_sysconfig_para err.
[    7.692871] failed to get normal led pin assign
[    7.697826] failed to get standby led pin assign
[    7.703112] gpio_pin_1(238) gpio_is_valid
[    7.708096] gpio_pin_2(271) gpio_is_valid
[    7.713012] gpio_pin_3(240) gpio_is_valid
[    7.717849] gpio_pin_4(241) gpio_is_valid
[    7.722971] gpio name is PH14, ret = 0
[    7.727592] gpio name is , ret = -1
[    7.731945] gpio name is PH16, ret = 0
[    7.736518] gpio name is PH17, ret = 0
[    7.741339] gpio_init finish with uesd
[    7.773815] [VFE]cci_init end
[    7.840858] [VFE]Welcome to Video Front End driver
[    7.846502] [VFE]csi0 probe end!
[    7.850470] [VFE]csi1 probe end!
[    7.854954] [VFE]csi_init end
[    7.859235] [VFE]sunxi_isp_platform_register end
[    7.865292] [VFE]mipi_init end
[    7.868658] [VFE]flash_init end
[    7.874274] [VFE]pdev->id = 0
[    7.877510] [VFE]dev->cci_sel = 0
[    7.881358] [VFE]dev->csi_sel = 0
[    7.884979] [VFE]dev->mipi_sel = 0
[    7.888689] [VFE]dev->isp_sel = 0
[    7.892538] [VFE_WARN]fetch csi0_dev0_iovdd from device_tree failed
[    7.899415] [VFE_WARN]fetch csi0_dev0_avdd from device_tree failed
[    7.906424] [VFE_WARN]fetch csi0_dev0_dvdd from device_tree failed
[    7.913298] [VFE_WARN]fetch csi0_dev0_afvdd from device_tree failed
[    7.920310] [VFE_WARN]fetch csi0_dev0_power_en from device_tree failed
[    7.927493] [VFE_WARN]fetch csi0_dev0_flash_en from device_tree failed
[    7.934951] [VFE_WARN]fetch csi0_dev0_flash_mode from device_tree failed
[    7.942411] [VFE_WARN]fetch csi0_dev0_flvdd from device_tree failed
[    7.949259] [VFE_WARN]fetch csi0_dev0_flvdd_vol from device_tree failed
[    7.956765] [VFE_WARN]fetch csi0_dev0_af_pwdn from device_tree failed
[    7.964682] [VFE]vfe_init end
[    7.970059] [VFE]probe_work_handle start!
[    7.974806] [VFE]vfe_runtime_resume
[    7.991088] [VFE]..........................vfe clk open!.......................
[    7.998770] dhd_module_init: in
[    7.998779] ======== bcm_wlan_set_plat_data ========
[    7.998781] dhd_wifi_platform_load: Enter
[    7.998816] Power-up adapter 'DHD generic adapter'
[    7.999151] wifi_platform_set_power = 1
[    7.999155] ======== PULL WL_REG_ON HIGH! ========
[    8.027613] [VFE]v4l2 subdev register input_num = 0
[    8.033144] [VFE]vfe sensor detect start! input_num = 0
[    8.038859] [VFE]Find sensor name is "ov5640", i2c address is 78, type is "YUV" !
[    8.047271] [VFE]Sub device register "ov5640" i2c_addr = 0x78 start!
[    8.055721] [VFE]registered sensor subdev is OK!
[    8.060878] [VFE]Check sensor!
[    8.077560] [VFE]mclk on
[    8.300188] wifi_platform_bus_enumerate device present 1
[    8.381990] [VFE]mclk off
[    8.421697] [VFE]Sub device register "ov5640" is OK!
[    8.428456] [VFE]V4L2 device registered as video0
[    8.433806] [VFE]vfe_runtime_suspend
[    8.437715] [VFE]..........................vfe clk close!.......................
[    8.452348] [VFE]probe_work_handle end!
[   10.300338] failed to power up DHD generic adapter, 3 retry left
[   10.324066] wifi_platform_set_power = 0
[   10.328273] ======== PULL WL_REG_ON LOW! ========
[   10.333690] wifi_platform_bus_enumerate device present 0
[   10.340420] wifi_platform_set_power = 1
[   10.344620] ======== PULL WL_REG_ON HIGH! ========
[   10.520105] gpu cooling callback set freq limit 384
[   10.660289] wifi_platform_bus_enumerate device present 1
[   12.660303] failed to power up DHD generic adapter, 2 retry left
[   12.684018] wifi_platform_set_power = 0
[   12.688269] ======== PULL WL_REG_ON LOW! ========
[   12.693596] wifi_platform_bus_enumerate device present 0
[   12.700223] wifi_platform_set_power = 1
[   12.704430] ======== PULL WL_REG_ON HIGH! ========
[   13.010346] wifi_platform_bus_enumerate device present 1
[   15.010199] failed to power up DHD generic adapter, 1 retry left
[   15.033831] wifi_platform_set_power = 0
[   15.038047] ======== PULL WL_REG_ON LOW! ========
[   15.043477] wifi_platform_bus_enumerate device present 0
[   15.050178] wifi_platform_set_power = 1
[   15.054386] ======== PULL WL_REG_ON HIGH! ========
[   15.360084] wifi_platform_bus_enumerate device present 1
[   17.360263] failed to power up DHD generic adapter, 0 retry left
[   17.383776] wifi_platform_set_power = 0
[   17.387987] ======== PULL WL_REG_ON LOW! ========
[   17.393309] wifi_platform_bus_enumerate device present 0
[   17.399109] failed to power up DHD generic adapter, max retry reached**
[   17.406591] unregister wifi platform drivers
[   17.411341] wifi_platform_bus_enumerate device present 0
[   17.417142] dhd_module_init: Failed to load the driver, try cnt 3
[   17.424035] ======== bcm_wlan_set_plat_data ========
[   17.429453] dhd_wifi_platform_load: Enter
[   17.434030] Power-up adapter 'DHD generic adapter'
[   17.439929] wifi_platform_set_power = 1
[   17.444264] ======== PULL WL_REG_ON HIGH! ========
[   17.750261] wifi_platform_bus_enumerate device present 1
[   19.750336] failed to power up DHD generic adapter, 3 retry left
[   19.774041] wifi_platform_set_power = 0
[   19.778251] ======== PULL WL_REG_ON LOW! ========
[   19.783643] wifi_platform_bus_enumerate device present 0
[   19.790427] wifi_platform_set_power = 1
[   19.794626] ======== PULL WL_REG_ON HIGH! ========
[   20.110290] wifi_platform_bus_enumerate device present 1
[   22.110338] failed to power up DHD generic adapter, 2 retry left
[   22.133875] wifi_platform_set_power = 0
[   22.138087] ======== PULL WL_REG_ON LOW! ========
[   22.143415] wifi_platform_bus_enumerate device present 0
[   22.149949] wifi_platform_set_power = 1
[   22.154246] ======== PULL WL_REG_ON HIGH! ========
[   22.460092] wifi_platform_bus_enumerate device present 1
[   24.460089] failed to power up DHD generic adapter, 1 retry left
[   24.483579] wifi_platform_set_power = 0
[   24.487789] ======== PULL WL_REG_ON LOW! ========
[   24.493218] wifi_platform_bus_enumerate device present 0
[   24.499973] wifi_platform_set_power = 1
[   24.504367] ======== PULL WL_REG_ON HIGH! ========
[   24.810080] wifi_platform_bus_enumerate device present 1
[   26.810091] failed to power up DHD generic adapter, 0 retry left
[   26.833543] wifi_platform_set_power = 0
[   26.837792] ======== PULL WL_REG_ON LOW! ========
[   26.843184] wifi_platform_bus_enumerate device present 0
[   26.849004] failed to power up DHD generic adapter, max retry reached**
[   26.856594] unregister wifi platform drivers
[   26.861452] wifi_platform_bus_enumerate device present 0
[   26.867286] dhd_module_init: Failed to load the driver, try cnt 2
[   26.874288] ======== bcm_wlan_set_plat_data ========
[   26.879725] dhd_wifi_platform_load: Enter
[   26.884406] Power-up adapter 'DHD generic adapter'
[   26.890466] wifi_platform_set_power = 1
[   26.894679] ======== PULL WL_REG_ON HIGH! ========
[   27.210136] wifi_platform_bus_enumerate device present 1
[   29.210303] failed to power up DHD generic adapter, 3 retry left
[   29.234008] wifi_platform_set_power = 0
[   29.238213] ======== PULL WL_REG_ON LOW! ========
[   29.243614] wifi_platform_bus_enumerate device present 0
[   29.250452] wifi_platform_set_power = 1
[   29.254666] ======== PULL WL_REG_ON HIGH! ========
[   29.570256] wifi_platform_bus_enumerate device present 1
[   31.570299] failed to power up DHD generic adapter, 2 retry left
[   31.593979] wifi_platform_set_power = 0
[   31.598191] ======== PULL WL_REG_ON LOW! ========
[   31.603519] wifi_platform_bus_enumerate device present 0
[   31.610270] wifi_platform_set_power = 1
[   31.614482] ======== PULL WL_REG_ON HIGH! ========
[   31.920289] wifi_platform_bus_enumerate device present 1
[   33.920303] failed to power up DHD generic adapter, 1 retry left
[   33.943981] wifi_platform_set_power = 0
[   33.948194] ======== PULL WL_REG_ON LOW! ========
[   33.953552] wifi_platform_bus_enumerate device present 0
[   33.960064] wifi_platform_set_power = 1
[   33.964272] ======== PULL WL_REG_ON HIGH! ========
[   34.270282] wifi_platform_bus_enumerate device present 1
[   36.270310] failed to power up DHD generic adapter, 0 retry left
[   36.294061] wifi_platform_set_power = 0
[   36.298277] ======== PULL WL_REG_ON LOW! ========
[   36.303678] wifi_platform_bus_enumerate device present 0
[   36.309485] failed to power up DHD generic adapter, max retry reached**
[   36.317043] unregister wifi platform drivers
[   36.321866] wifi_platform_bus_enumerate device present 0
[   36.327678] dhd_module_init: Failed to load the driver, try cnt 1
[   36.334617] ======== bcm_wlan_set_plat_data ========
[   36.340151] dhd_wifi_platform_load: Enter
[   36.344562] Power-up adapter 'DHD generic adapter'
[   36.350623] wifi_platform_set_power = 1
[   36.354833] ======== PULL WL_REG_ON HIGH! ========
[   36.670283] wifi_platform_bus_enumerate device present 1
[   38.670302] failed to power up DHD generic adapter, 3 retry left
[   38.694034] wifi_platform_set_power = 0
[   38.698245] ======== PULL WL_REG_ON LOW! ========
[   38.703652] wifi_platform_bus_enumerate device present 0
[   38.710375] wifi_platform_set_power = 1
[   38.714591] ======== PULL WL_REG_ON HIGH! ========
[   39.030086] wifi_platform_bus_enumerate device present 1
[   41.030095] failed to power up DHD generic adapter, 2 retry left
[   41.053571] wifi_platform_set_power = 0
[   41.057784] ======== PULL WL_REG_ON LOW! ========
[   41.063187] wifi_platform_bus_enumerate device present 0
[   41.069945] wifi_platform_set_power = 1
[   41.074262] ======== PULL WL_REG_ON HIGH! ========
[   41.380222] wifi_platform_bus_enumerate device present 1
[   43.380091] failed to power up DHD generic adapter, 1 retry left
[   43.403603] wifi_platform_set_power = 0
[   43.407816] ======== PULL WL_REG_ON LOW! ========
[   43.413359] wifi_platform_bus_enumerate device present 0
[   43.420072] wifi_platform_set_power = 1
[   43.424284] ======== PULL WL_REG_ON HIGH! ========
[   43.730234] wifi_platform_bus_enumerate device present 1
[   45.730242] failed to power up DHD generic adapter, 0 retry left
[   45.753719] wifi_platform_set_power = 0
[   45.757970] ======== PULL WL_REG_ON LOW! ========
[   45.763386] wifi_platform_bus_enumerate device present 0
[   45.769211] failed to power up DHD generic adapter, max retry reached**
[   45.776804] unregister wifi platform drivers
[   45.781688] wifi_platform_bus_enumerate device present 0
[   45.787523] dhd_module_init: Failed to load the driver, try cnt 0
[   45.794521] dhd_module_init: Failed to load driver max retry reached**
[   45.801880] dhd_module_init: Exit err=-19
[   45.934760] ctp_fetch_sysconfig_para: ctp is not used
[   45.940407] =========script_get_item_err============
[   45.945827] ft5x_ts_init: ctp_fetch_sysconfig_para err.
[   45.954036] init: write_file: Unable to open '/proc/bluetooth/sleep/lpm': No such file or directory
[   45.964290] init: Starting service 'logd'...
[   45.982863] init: (Loading properties from /system/build.prop took 0.01s.)
[   45.990746] init: (Loading properties from /vendor/build.prop took 0.00s.)
[   45.998372] init: (Loading properties from /factory/factory.prop took 0.00s.)
[   46.006928] init: /recovery not specified in fstab
[   46.012402] init: void property_opt_for_mem(): start!
[   46.018937] init: bool get_lcd_resolution(int *, int *): ro.boot.lcd_x not set, disable adaptive memory function!
[   46.022676] logd.auditd: start
[   46.022728] logd.klogd: 46022742521
[   46.037862] init: void property_opt_for_mem(): get lcd resolution failed!
[   46.047919] init: Starting service 'vold'...
[   46.055277] init: Not bootcharting.
[   46.076310] init: Failed to reload policy
[   46.081181] init: Starting service 'exec 0 (/system/bin/tzdatacheck)'...
[   46.114221] init: Service 'exec 0 (/system/bin/tzdatacheck)' (pid 1725) exited with status 0
[   46.133637] init: Starting service 'bootclone'...
[   46.139646] init: (Loading properties from /data/local.prop took 0.00s.)
[   46.147748] init: Starting service 'logd-reinit'...
[   46.160711] init: Starting service 'healthd'...
[   46.166524] init: Starting service 'lmkd'...
[   46.172422] init: Starting service 'servicemanager'...
[   46.178927] init: Starting service 'surfaceflinger'...
[   46.185945] logd.daemon: reinit
[   46.186281] init: Starting service 'sayeye'...
[   46.188321] init: Starting service 'zygote'...
[   46.191621] init: Starting service 'console'...
[   46.192707] init: Starting service 'netd'...
[   46.193487] init: Starting service 'debuggerd'...
[   46.194278] init: cannot find '/system/bin/debuggerd64', disabling 'debuggerd64'
[   46.194407] init: Starting service 'ril-daemon'...
[   46.195153] init: Starting service 'drm'...
[   46.195904] init: Starting service 'media'...
[   46.196651] init: Starting service 'installd'...
[   46.197417] init: cannot find '/system/bin/install-recovery.sh', disabling 'flash_recovery'
[   46.197577] init: Starting service 'keystore'...
[   46.198414] init: Starting service 'logger_private'...
[   46.199289] init: Service 'bootclone' (pid 1729) exited with status 0
[   46.199671] init: Starting service 'gatekeeperd'...
[   46.201459] binder: 1735:1735 transaction failed 29189, size 0-0
[   46.362481] init: Starting service 'perfprofd'...
[   46.368559] init: Service 'logd-reinit' (pid 1730) exited with status 0
[   46.376993] android_usb: already disabled
[   46.382268] init: Starting service 'adbd'...
[   46.393179] adb_open
[   46.395607] adb_bind_config
[   46.497365] binder: 1757:1757 transaction failed 29189, size 0-0
[   46.659578] android_work: sent uevent USB_STATE=CONNECTED
[   46.675061] init: Service 'logger_private' (pid 1755) exited with status 1
shell@azalea-m2ultra:/ $ [   46.802199] android_usb gadget: high-speed config #1: android
[   46.809131] android_work: sent uevent USB_STATE=CONFIGURED
[   47.038629] init: Starting service 'bootanim'...
[   47.203244] healthd: No battery devices found
[   48.533571] [VFE]vfe_open
[   48.536475] [VFE]vfe_runtime_resume
[   48.553006] [VFE]..........................vfe clk open!.......................
[   48.561494] [VFE]vfe_open ok
[   48.564724] [VFE]Set csi core clk = 324000000, after Set csi core clk = 300000000 
[   48.586732] [VFE]mclk on
[   48.786833] [VFE]vfe_close
[   48.789916] [VFE]mclk off
[   48.828954] [VFE]vfe_runtime_suspend
[   48.833095] [VFE]..........................vfe clk close!.......................
[   48.847925] [VFE]vfe_close end
[   54.549661] warning: `main' uses 32-bit capabilities (legacy support in use)
[   62.316738] healthd: battery none chg=a 2010-01-01 03:01:45.596927319 UTC
[   62.752015] lowmemorykiller: lowmem_shrink: convert oom_adj to oom_score_adj:
[   62.760104] lowmemorykiller: oom_adj 0 => oom_score_adj 0
[   62.766007] lowmemorykiller: oom_adj 1 => oom_score_adj 58
[   62.772286] lowmemorykiller: oom_adj 2 => oom_score_adj 117
[   62.778401] lowmemorykiller: oom_adj 3 => oom_score_adj 176
[   62.784775] lowmemorykiller: oom_adj 9 => oom_score_adj 529
[   62.791076] lowmemorykiller: oom_adj 15 => oom_score_adj 1000
[   62.960456] mmc0:mmc_do_erase: erase from 7672240 to 7905279 arg 0x00000003
[   62.978053] mmc0:mmc_do_erase: erase from 7909784 to 8167423 arg 0x00000003
[   63.000152] mmc0:mmc_do_erase: erase from 8171536 to 8429567 arg 0x00000003
[   63.013622] mmc0:mmc_do_erase: erase from 8434072 to 8691711 arg 0x00000003
[   63.100124] mmc0:mmc_do_erase: erase from 8695832 to 8953855 arg 0x00000003
[   63.120177] mmc0:mmc_do_erase: erase from 8958360 to 9215999 arg 0x00000003
[   63.140126] mmc0:mmc_do_erase: erase from 9325168 to 9478143 arg 0x00000003
[   63.190206] mmc0:mmc_do_erase: erase from 5623800 to 5709823 arg 0x00000003
[   63.201702] mmc0:mmc_do_erase: erase from 5726208 to 5971967 arg 0x00000003
[   63.212901] mmc0:mmc_do_erase: erase from 5976304 to 6234111 arg 0x00000003
[   63.224085] mmc0:mmc_do_erase: erase from 6238776 to 6496255 arg 0x00000003
[   63.235746] mmc0:mmc_do_erase: erase from 6500400 to 6758399 arg 0x00000003
[   63.247428] mmc0:mmc_do_erase: erase from 6763072 to 7020543 arg 0x00000003
[   63.280227] mmc0:mmc_do_erase: erase from 7032832 to 7282687 arg 0x00000003
[   63.290837] mmc0:mmc_do_erase: erase from 7294976 to 7544831 arg 0x00000003
[   63.524156] acc_open
[   63.526582] acc_release
[   64.113236] libphy: gmac0: probed
[   64.116876] sunxi-gmac gmac0 eth0: No PHY found!
[   64.640326] sunxi-ion ion.4: Fail to allocate buffer
[   64.646167] sunxi-ion ion.4: Fail to allocate buffer
[   66.434211] sdcardfs: version 3.1.0
[   66.438076] sdcardfs: dev_name -> /data/media
[   66.444039] sdcardfs: options -> low_uid=1023,low_gid=1023,userid=0,gid=1015,mask=6,label=emulated,type=default,lower_fs=ext4,multi_user
[   66.458381] sdcardfs: created packagelist pkgld/4075
[   66.458510] sdcardfs: read_package_list
[   66.471731] sdcardfs: mounted on top of /data/media type ext4
[   66.478745] sdcardfs: version 3.1.0
[   66.482938] sdcardfs: dev_name -> /data/media
[   66.487750] sdcardfs: options -> low_uid=1023,low_gid=1023,userid=0,gid=9997,mask=27,label=emulated,type=read,lower_fs=ext4,multi_user
[   66.501767] sdcardfs: created packagelist pkgld/4094
[   66.505552] sdcardfs: read_package_list
[   66.512700] sdcardfs: mounted on top of /data/media type ext4
[   66.521959] sdcardfs: version 3.1.0
[   66.525823] sdcardfs: dev_name -> /data/media
[   66.530922] sdcardfs: options -> low_uid=1023,low_gid=1023,userid=0,gid=9997,mask=7,label=emulated,type=write,lower_fs=ext4,multi_user
[   66.544770] sdcardfs: created packagelist pkgld/4103
[   66.544893] sdcardfs: read_package_list
[   66.554913] sdcardfs: mounted on top of /data/media type ext4
[   68.249890] [VFE]vfe_open
[   68.252945] [VFE]vfe_runtime_resume
[   68.269231] [VFE]..........................vfe clk open!.......................
[   68.277822] [VFE]vfe_open ok
[   68.281582] [VFE]Set csi core clk = 324000000, after Set csi core clk = 300000000 
[   68.303476] [VFE]mclk on
[   68.530691] [VFE]vfe_close
[   68.533947] [VFE]mclk off
[   68.572177] [VFE]vfe_runtime_suspend
[   68.576468] [VFE]..........................vfe clk close!.......................
[   68.590290] [VFE]vfe_close end
[   70.090864] sunxi-ion ion.4: Fail to allocate buffer
[   70.096729] sunxi-ion ion.4: Fail to allocate buffer
[   70.243724] sunxi-ion ion.4: Fail to allocate buffer
[   70.249573] sunxi-ion ion.4: Fail to allocate buffer
[   70.319280] sunxi-ion ion.4: Fail to allocate buffer
[   70.325068] sunxi-ion ion.4: Fail to allocate buffer
[   70.335102] sunxi-ion ion.4: Fail to allocate buffer
[   70.341308] sunxi-ion ion.4: Fail to allocate buffer
[   70.350979] sunxi-ion ion.4: Fail to allocate buffer
[   70.356537] sunxi-ion ion.4: Fail to allocate buffer
[   72.150935] sdcardfs: inotify event: 00000400
[   72.150969] sdcardfs: inotify event: 00000400
[   72.150983] sdcardfs: inotify event: 00000400
[   72.151039] sdcardfs: inotify event: 00008000
[   72.151063] sdcardfs: inotify event: 00008000
[   72.151115] sdcardfs: read_package_list
[   72.151118] sdcardfs: read_package_list
[   72.183709] sdcardfs: inotify event: 00008000
[   72.188569] sdcardfs: read_package_list
[   89.317408] sunxi-ion ion.4: Fail to allocate buffer
[   89.326018] sunxi-ion ion.4: Fail to allocate buffer
[   89.337491] sunxi-ion ion.4: Fail to allocate buffer
[   89.343867] sunxi-ion ion.4: Fail to allocate buffer
[  100.216217] init: Service 'bootanim' (pid 1960) exited with status 0
[  100.224501] init: Starting service 'nand_trim'...
[  100.275134] init: Service 'nand_trim' is being killed...
[  100.286652] init: Service 'nand_trim' (pid 6806) killed by signal 9
[  100.294466] init: Service 'nand_trim' (pid 6806) killing any children in process group
[  112.054113] sdcardfs: inotify event: 00000400
[  112.054147] sdcardfs: inotify event: 00000400
[  112.054151] sdcardfs: inotify event: 00000400
[  112.054203] sdcardfs: inotify event: 00008000
[  112.054271] sdcardfs: read_package_list
[  112.055173] sdcardfs: inotify event: 00008000
[  112.055223] sdcardfs: read_package_list
[  112.087913] sdcardfs: inotify event: 00008000
[  112.092986] sdcardfs: read_package_list
[  112.184215] sdcardfs: inotify event: 00000400
[  112.184220] sdcardfs: inotify event: 00000400
[  112.184228] sdcardfs: inotify event: 00000400
[  112.184280] sdcardfs: inotify event: 00008000
[  112.184347] sdcardfs: read_package_list
[  112.185231] sdcardfs: inotify event: 00008000
[  112.185376] sdcardfs: read_package_list
[  112.217324] sdcardfs: inotify event: 00008000
[  112.222358] sdcardfs: read_package_list
[  113.854238] sdcardfs: inotify event: 00000400
[  113.854243] sdcardfs: inotify event: 00000400
[  113.854255] sdcardfs: inotify event: 00000400
[  113.854302] sdcardfs: inotify event: 00008000
[  113.854320] sdcardfs: inotify event: 00008000
[  113.854378] sdcardfs: read_package_list
[  113.854375] sdcardfs: read_package_list
[  113.887066] sdcardfs: inotify event: 00008000
[  113.892076] sdcardfs: read_package_list
[  113.936268] sdcardfs: inotify event: 00000400
[  113.936274] sdcardfs: inotify event: 00000400
[  113.936286] sdcardfs: inotify event: 00000400
[  113.936331] sdcardfs: inotify event: 00008000
[  113.936348] sdcardfs: inotify event: 00008000
[  113.936401] sdcardfs: read_package_list
[  113.936409] sdcardfs: read_package_list
[  113.969515] sdcardfs: inotify event: 00008000
[  113.974618] sdcardfs: read_package_list
[  160.290603] sunxi-ion ion.4: Fail to allocate buffer
[  160.298161] sunxi-ion ion.4: Fail to allocate buffer
[  160.366023] sunxi-ion ion.4: Fail to allocate buffer
[  160.371949] sunxi-ion ion.4: Fail to allocate buffer
[  160.857193] disp_runtime_idle
[  166.060186] disp_runtime_suspend
[  166.063765] hwc_suspend
[  167.000506] [HDMI]hdmi suspend
[  167.004221] disp_runtime_suspend finish
[  370.281301] binder: undelivered transaction 35860
[  370.286465] binder: undelivered transaction 35861
[  370.292734] binder: undelivered transaction 35859
[  370.305133] binder: 3221:3760 transaction failed 29189, size 320-0
[  370.313736] binder: 3221:4031 transaction failed 29189, size 180-0
[  370.442018] binder: 3221:3221 transaction failed 29189, size 100-0
[  370.512224] binder: 3221:3221 transaction failed 29189, size 84-0
[  371.274120] binder: 1751:3772 transaction failed 29189, size 96-0
[  371.281543] [VFE]vfe_open
[  371.284421] [VFE]vfe_runtime_resume
[  371.300043] [VFE]..........................vfe clk open!.......................
[  371.308052] [VFE]vfe_open ok
[  371.311520] [VFE]Set csi core clk = 324000000, after Set csi core clk = 300000000 
[  371.333399] [VFE]mclk on
[  371.552828] [VFE]vfe_close
[  371.555835] [VFE]mclk off
[  371.594421] [VFE]vfe_runtime_suspend
[  371.598402] [VFE]..........................vfe clk close!.......................
[  371.613983] [VFE]vfe_close end
[  372.065891] sunxi-ion ion.4: Fail to allocate buffer
[  372.071986] sunxi-ion ion.4: Fail to allocate buffer
[  372.189038] binder: 3221:3760 transaction failed 29189, size 320-0
[  372.249449] binder: 3221:3221 transaction failed 29189, size 100-0
[  372.392587] binder: 3221:3221 transaction failed 29189, size 84-0
[  373.196063] binder: 1751:3130 transaction failed 29189, size 96-0
[  373.203479] [VFE]vfe_open
[  373.206355] [VFE]vfe_runtime_resume
[  373.222658] [VFE]..........................vfe clk open!.......................
[  373.230856] [VFE]vfe_open ok
[  373.234050] [VFE]Set csi core clk = 324000000, after Set csi core clk = 300000000 
[  373.255896] [VFE]mclk on
[  373.469754] [VFE]vfe_close
[  373.473550] [VFE]mclk off
[  373.513060] [VFE]vfe_runtime_suspend
[  373.517056] [VFE]..........................vfe clk close!.......................
[  373.533284] [VFE]vfe_close end
[  373.979711] sunxi-ion ion.4: Fail to allocate buffer
[  373.985535] sunxi-ion ion.4: Fail to allocate buffer
[  374.094606] binder: 3221:3760 transaction failed 29189, size 320-0
[  374.175656] binder: 3221:3221 transaction failed 29189, size 100-0
[  374.260480] binder: 3221:3221 transaction failed 29189, size 84-0
[  375.027628] binder: 1751:3130 transaction failed 29189, size 96-0
[  375.035153] [VFE]vfe_open
[  375.038055] [VFE]vfe_runtime_resume
[  375.054406] [VFE]..........................vfe clk open!.......................
[  375.062695] [VFE]vfe_open ok
[  375.065928] [VFE]Set csi core clk = 324000000, after Set csi core clk = 300000000 
[  375.087838] [VFE]mclk on
[  375.301972] [VFE]vfe_close
[  375.305400] [VFE]mclk off
[  375.345245] [VFE]vfe_runtime_suspend
[  375.349205] [VFE]..........................vfe clk close!.......................
[  375.365376] [VFE]vfe_close end
[  375.810170] sunxi-ion ion.4: Fail to allocate buffer
[  375.815776] sunxi-ion ion.4: Fail to allocate buffer
[  375.926463] binder: 3221:3760 transaction failed 29189, size 320-0
[  375.971722] binder: 3221:3221 transaction failed 29189, size 100-0
[  376.037104] disp_runtime_resume
[  376.125616] binder: 3221:3221 transaction failed 29189, size 84-0
[  376.150607] [HDMI]hdmi resume
[  376.154552] [DISP] lcd_clk_config,line:813:disp 0, clk: pll(490000000),clk(490000000),dclk(70000000) dsi_rate(490000000)
     clk real:pll(493714285),clk(493714285),dclk(70530612) dsi_rate(0)
[  376.350497] hwc_resume
[  376.353244] disp_runtime_resume finish
[  376.936659] binder: 1751:3130 transaction failed 29189, size 96-0
[  376.944368] [VFE]vfe_open
[  376.947248] [VFE]vfe_runtime_resume
[  376.963057] [VFE]..........................vfe clk open!.......................
[  376.971368] [VFE]vfe_open ok
[  376.974597] [VFE]Set csi core clk = 324000000, after Set csi core clk = 300000000 
[  376.996509] [VFE]mclk on
[  377.186527] [VFE]vfe_close
[  377.189528] [VFE]mclk off
[  377.228913] [VFE]vfe_runtime_suspend
[  377.232987] [VFE]..........................vfe clk close!.......................
[  377.248600] [VFE]vfe_close end
[  377.928591] sunxi-ion ion.4: Fail to allocate buffer
[  377.934924] sunxi-ion ion.4: Fail to allocate buffer
[  377.943592] sunxi-ion ion.4: Fail to allocate buffer
[  377.952551] sunxi-ion ion.4: Fail to allocate buffer
[  379.326930] binder: 3221:3221 transaction failed 29189, size 92-0
[  379.334598] binder: 3221:3221 transaction failed 29189, size 92-0
[  379.342346] binder: 3221:3221 transaction failed 29189, size 92-0
[  379.349541] binder: 3221:3221 transaction failed 29189, size 92-0
[  379.375195] sunxi-ion ion.4: Fail to allocate buffer
[  379.381337] sunxi-ion ion.4: Fail to allocate buffer
[  439.080310] sunxi-ion ion.4: Fail to allocate buffer
[  439.087750] sunxi-ion ion.4: Fail to allocate buffer
[  439.104731] disp_runtime_idle
[  444.100119] disp_runtime_suspend
[  444.103694] hwc_suspend
[  444.223202] sunxi-ion ion.4: Fail to allocate buffer
[  444.229332] sunxi-ion ion.4: Fail to allocate buffer
[  444.840312] [HDMI]hdmi suspend
[  444.843856] disp_runtime_suspend finish
[  536.576848] disp_runtime_resume
[  536.690573] [HDMI]hdmi resume
[  536.694890] [DISP] lcd_clk_config,line:813:disp 0, clk: pll(490000000),clk(490000000),dclk(70000000) dsi_rate(490000000)
     clk real:pll(493714285),clk(493714285),dclk(70530612) dsi_rate(0)
[  536.890366] hwc_resume
[  536.893091] disp_runtime_resume finish
[  546.764371] sunxi-ion ion.4: Fail to allocate buffer
[  546.771118] sunxi-ion ion.4: Fail to allocate buffer
[  546.782883] disp_runtime_idle
[  552.020216] disp_runtime_suspend
[  552.023886] hwc_suspend
[  552.960567] [HDMI]hdmi suspend
[  552.964345] disp_runtime_suspend finish
[ 1907.681779] disp_runtime_resume
[ 1907.800236] [HDMI]hdmi resume
[ 1907.804308] [DISP] lcd_clk_config,line:813:disp 0, clk: pll(490000000),clk(490000000),dclk(70000000) dsi_rate(490000000)
     clk real:pll(493714285),clk(493714285),dclk(70530612) dsi_rate(0)
[ 1908.000469] hwc_resume
[ 1908.003149] disp_runtime_resume finish
[ 1908.224852] binder: 3221:3221 transaction failed 29189, size 108-0
[ 1908.235959] binder: 3221:3221 transaction failed 29189, size 108-0
[ 1908.244781] binder: 3221:3221 transaction failed 29189, size 108-0
[ 1908.254985] binder: 3221:3221 transaction failed 29189, size 108-0
[ 1908.775471] sunxi-ion ion.4: Fail to allocate buffer
[ 1908.786713] sunxi-ion ion.4: Fail to allocate buffer
[ 1968.523570] sunxi-ion ion.4: Fail to allocate buffer
[ 1968.529723] sunxi-ion ion.4: Fail to allocate buffer
[ 1968.543099] disp_runtime_idle
[ 1973.645697] sunxi-ion ion.4: Fail to allocate buffer
[ 1973.651494] sunxi-ion ion.4: Fail to allocate buffer
[ 1974.020237] disp_runtime_suspend
[ 1974.023842] hwc_suspend
[ 1974.960545] [HDMI]hdmi suspend
[ 1974.964439] disp_runtime_suspend finish
[ 2231.716954] disp_runtime_resume
[ 2231.830252] [HDMI]hdmi resume
[ 2231.834568] [DISP] lcd_clk_config,line:813:disp 0, clk: pll(490000000),clk(490000000),dclk(70000000) dsi_rate(490000000)
     clk real:pll(493714285),clk(493714285),dclk(70530612) dsi_rate(0)
[ 2232.030431] hwc_resume
[ 2232.033111] disp_runtime_resume finish
[ 2233.957470] sunxi-ion ion.4: Fail to allocate buffer
[ 2233.964717] sunxi-ion ion.4: Fail to allocate buffer
[ 2297.747163] sunxi-ion ion.4: Fail to allocate buffer
[ 2297.755083] sunxi-ion ion.4: Fail to allocate buffer
[ 2297.772483] disp_runtime_idle
[ 2302.877730] sunxi-ion ion.4: Fail to allocate buffer
[ 2302.884153] sunxi-ion ion.4: Fail to allocate buffer
[ 2303.020241] disp_runtime_suspend
[ 2303.023793] hwc_suspend
[ 2303.760438] [HDMI]hdmi suspend
[ 2303.763987] disp_runtime_suspend finish

#15 Re: 全志 SOC » 全志A40I的video*切换问题? » 2019-10-28 22:55:40

2505300733 说:

说明:安卓系统:Android M
        芯片:全志A40I
   
难点说明:在全志的A40I中,预留了三组摄像头。uvc  tvin   csi。 在内核注册的时候默认将video0 留给UVC。
              将video2留给CSI的摄像头。将video4留给tvin的摄像头。
                现在问题就是说,我手上没有接出来TVIN的摄像头,也没有UVC的USB摄像头。只有一个CSI的OV5640的摄像头。

               但是存在一个问题就是,系统默认调用的是UVC的摄像头如果这个UVC摄像头没有的话,就会去调用TVIN的摄像头。就是没有CSI的份
               当在安卓系统点击照相机的时候总是会提示打开相机失败,然后提示TVIN驱动代码打印出,连接TVIN总线失败。没办法自动转化到CSI摄像头


               需要大家帮忙一下怎么调为安卓系统默认打开就是CSI(OV5640)的摄像头,而不是UVC或者是TVIN摄像头。

                 UVC    =   video0  (默认)
                 CSI     =    video2 
                 tvin     =   video4 (次默认)
             请问一下大家要修改那个文件,才将这个顺序给调换一下。点击安卓系统的相机应用的时候,默认调用的是CSI摄像头。而不是所谓UVC或者是TVIN
             查找了config文件,发现A40I的系统下面居然找不到。心碎+N
     
            特意发帖子请教一下大家。 在此感谢











收到“我思故我在”这位老哥启示之后,我就去A40i_dir/AWW40I_DVK/hardware/aw/camera/V4L2CameraDevice2.cpp这个文件里面
发现以下这段话

1835     // open V4L2 device
               LOGD(“AAAAAAA  This is a sign  in   my  \n ”) ;  //我在这里做一个标志
1836     if((access(halInfo->device_name, F_OK)) == 0)
1837     { LOGD(“ HELLO  MY IN access(halInfo->device_name, F_OK)    \n ”); // 发现没有进入到这里面来
1838         strcpy(dev_node,halInfo->device_name);
1839         LOGD("openCameraDev device_name origin:%s",dev_node);
1840     }
1841     else
1842     {
1843         for(int i = 4; i < MAX_NUM_OF_CAMERAS; i++)
1844         {
1845             sprintf(dev_node, "/dev/video%d", i);
1846             ret = access(dev_node, F_OK);
1847             if(ret == 0)
1848             {
1849                 break;
1850             }
1851         }
1852         LOGD("openCameraDev device_name:%s",dev_node);
1853     }

在这的基础上面我去到在启动这个函数的前面做一个标志:方便打印LOG出来到那一步
然后修改下面代码:并且我在上面的代码里面做一个标志位 发现 if((access(halInfo->device_name, F_OK)) == 0)没有成立。
*
*  for(int i = 4; i < MAX_NUM_OF_CAMERAS; i++)
*     {
*          sprintf(dev_node, "/dev/video%d", i);
*            ret = access(dev_node, F_OK);
*          if(ret == 0)
*          {
*              break;
*          }
*
修改代码如下,因为在内核打印信息里面我看到CSI的ov5640注册的设备为video2我试着强行将其打开为这个
+  for(i = 2;i<=2 ;i++)
+{ 
+     sprintf(dev_node, "/dev/video%d", i);
+      ret = access(dev_node, F_OK);
+     if(ret == 0) {
+       break;
+      }
+ }
+
开机的时候没住到内核居然打印出这种错误:
[   63.067643] [VFE]vfe_open
[   63.070654] [VFE]vfe_runtime_resume
[   63.086356] [VFE]..........................vfe clk open!.......................
[   63.094632] [VFE]vfe_open ok
[   63.098219] [VFE]Set csi core clk = 324000000, after Set csi core clk = 300000000
[   63.120722] [VFE]mclk on
[   63.193809] sunxi_i2c_do_xfer()906 - [i2c3] incomplete xfer (status: 0x20, dev addr: 0x3c)
[   63.203239] [VFE_DEV_I2C_ERR]cci_read_a16_d8 error! slave = 0x3c, addr = 0x300a, value = 0x 0

[   63.213055] sunxi_i2c_do_xfer()906 - [i2c3] incomplete xfer (status: 0x20, dev addr: 0x3c)
[   63.222678] [VFE_DEV_I2C_ERR]cci_read_a16_d8 error! slave = 0x3c, addr = 0x300a, value = 0x 0

[   63.232515] sunxi_i2c_do_xfer()906 - [i2c3] incomplete xfer (status: 0x20, dev addr: 0x3c)
[   63.241962] [VFE_DEV_I2C_ERR]cci_read_a16_d8 error! slave = 0x3c, addr = 0x300a, value = 0x 0
ov5640 sensor read retry=2
[   63.254254] [OV5640]error at sensor_detect
[   63.258735] [OV5640]chip found is not an target chip.
[   63.264903] [VFE_ERR]sensor initial error when selecting target device!
[   63.272456] [VFE]vfe_close
[   63.275431] [VFE]mclk off
[   63.314700] [VFE]vfe_runtime_suspend
[   63.318633] [VFE]..........................vfe clk close!.......................
[   63.333007] [VFE]vfe_close end

并且在我每次几点拍照功能的时候就会提示出以下错误:

[12739.846050] [VFE]vfe_open
[12739.848981] [VFE]vfe_runtime_resume
[12739.865745] [VFE]..........................vfe clk open!.......................
[12739.874064] [VFE]vfe_open ok
[12739.877463] [VFE_ERR]set input i(1)>dev_qty(1)-1 error!
[12739.883713] [VFE]vfe_close
[12739.886718] [VFE]vfe select input flag = 0, s_input have not be used .
[12739.894279] [VFE]vfe_runtime_suspend
[12739.898217] [VFE]..........................vfe clk close!.......................
[12739.913271] [VFE]vfe_close end
[12740.271792] [VFE]vfe_open
[12740.274797] [VFE]vfe_runtime_resume
[12740.291287] [VFE]..........................vfe clk open!.......................
[12740.299425] [VFE]vfe_open ok
[12740.303066] [VFE_ERR]set input i(1)>dev_qty(1)-1 error!
[12740.309143] [VFE]vfe_close
[12740.312564] [VFE]vfe select input flag = 0, s_input have not be used .
[12740.319861] [VFE]vfe_runtime_suspend
[12740.329032] [VFE]..........................vfe clk close!.......................
[12740.344394] [VFE]vfe_close end


我也是日了狗了,这个芯片真是醉了。

#16 Re: 全志 SOC » 全志A40I的video*切换问题? » 2019-10-28 21:34:26

我思故我在 说:

用这个命令搜搜源码或者配置文件: grep /dev/video -r .


这个撒的网,搞了一下午。没有找到根本原因修改。出错太多。还是安卓7.1.1这个系统不太像以往的系统,奇奇怪怪的.
大哥 按照您的方法来找对于不太熟悉这个版本的我来说太心碎了。 
最讨厌的是全志系统都更新到现在,给的手册还都是复制以前。太他吗的坑爹了有些配置明显是错误的也不改正。 恶心得要死。

#17 Re: 全志 SOC » 全志A40I的video*切换问题? » 2019-10-28 15:39:49

我思故我在 说:

那建议先改下应用层的软件, 把默认值 video0(uvc) 改成 video2(csi)


具体的路径找不到。修改其默认给应用打开的摄像头

#18 Re: 全志 SOC » 全志A40I的video*切换问题? » 2019-10-28 15:21:21

我思故我在 说:

如果接 USB 摄像头正常吗?

嗯嗯 调了好久   后来买了一个USB摄像头调  USB摄像头是可以用的。

#19 Re: 全志 SOC » 全志A40I的video*切换问题? » 2019-10-28 15:04:34

晕哥 说:

理论上没有问题,因为不管是什么摄像头,都是用 v4l2 接口操作。



我的想法和您也是一样的,但是都是操作V4L2接口,首先软连接过去之后,点击安卓拍照应用,一开始主时钟出来了但是APP一直卡在哪里,只有用手短路一下帧同步脚就会出现PCLK和显示绿色的图像.不然一直卡在打开应用的位置。打印信息如下屏幕是(12寸的 ,1280*800)(摄像头是OV5640)
--------------------------------------------------------------------------------
[VFE]vfe_open
[VFE]vfe_runtime_resume
[VFE]..........................vfe clk open!.......................
[VFE]vfe_open ok
[VFE]Set csi core clk = 324000000, after Set csi core clk = 300000000
[VFE]mclk on
[OV5640]s_fmt set width = 640, height = 480
csi->frame_info.frm_byte_size = 460800
[VFE]queue_setup, buffer count=8, size=460800


(在拍照模式下用手短路之后就会提示以下数据操作)
[OV5640]s_fmt set width = 640, height = 480
csi->frame_info.frm_byte_size = 460800
[VFE]queue_setup, buffer count=8, size=460800
[VFE]capture video mode!  (视频模式)
[VFE]capture video first frame done!

这个就是很奇怪了。
-----------------------------------------------------------------------------------
之后点击拍照,也可以获取到图像,相册也可以看得到绿色图,PCLK也有出现。   难道是我模式没有选对,没有拍照默认所以才一直卡在这个位置

#20 Re: 全志 SOC » 全志A40I的video*切换问题? » 2019-10-28 14:39:50

晕哥 说:

那硬件有问题了, PCLK 是根据设置之后产生的像素时钟, 和MCLK 频率不同。


晕哥  video2软连接引用过去video0 ,但是video0默认是UVC的摄像头。那么配置的参数应该也是UVC的。 这个会不会就是导致传输回来的图像有问题呢? 毕竟安卓层也会对video0多多少少有配置。
    现在理想就是在内核层将video0注册的UVC摄像头换成CSI的,但是关于全志芯片的这种操作我没有了解过,请问晕哥有没有操作过。 在内核到安卓层将video0配置模式等 全部配置成CSI摄像头。

#21 Re: 全志 SOC » 全志A40I的video*切换问题? » 2019-10-26 11:45:41

晕哥 说:

要不你改一下, 一直提供 MCLK 试一试, 或者改软件不方便就怼一个有源晶体上去。

先排除这些问题感染方便进一步调试。



MCLK一直都是有的。但是PCLK检测出来的时钟居然和MCLK是一样的频率。 这个就很是奇怪。 PCLK应该是MCLK的时钟的一半才对,发回来的数据一直有问题。

#22 Re: 全志 SOC » 全志A40I的video*切换问题? » 2019-10-26 11:17:54

晕哥 说:

MCLK是有源晶体产生的,还是CPU提供的?





我的是适用CPU提供的时钟。  开机上电都是有具体的电源。 点击相机应用的时候就出现了主时钟。但是就是一直卡在这个相机应用里面,系统也可以回到桌面。等待了好久之后就会发现相机获取回来的图像全部都是绿色的。并且点击拍照的时候居然还提示:一下的打印信息。
然后还带有PCLK时钟返回来。摄像头是OV5640的我想是不是我设置获取的数据太大了,还有设置的一些东西不正确导致他获取回来的数据都是绿色的。

[  880.610078] [OV5640]s_fmt set width = 1600, height = 1200
[  880.617066] csi->frame_info.frm_byte_size = 2880000
[  880.622997] [VFE]queue_setup, buffer count=1, size=2880000
[  880.904861] [VFE]capture image mode!
[  881.150136] [OV5640]s_fmt set width = 640, height = 480
[  881.156688] csi->frame_info.frm_byte_size = 460800
[  881.162965] [VFE]queue_setup, buffer count=8, size=460800
[  881.405738] [VFE]capture video mode!
[  881.561215] [VFE]capture video first frame done!

#23 Re: 全志 SOC » 全志A40I的video*切换问题? » 2019-10-25 18:28:59

晕哥 说:

可能是你的摄像头不支持某些像素格式, 而CPU正在依次检查, 不支持就跳过测试下一个。

以上纯属猜测。



晕哥  通过修改 media_profiles.xml这个错误就不在出现了那个仅仅是不支持里面的某一种格式吧。  当我按照你的想法软连接过去的

正常点开拍照应用卡着在那里,主时钟一直给出来,I2C也在持续的发信息过去。 但是唯独没有PCLK产生和图像传回来。  是不是配置出现了问题。导致
采集数据回不来啊

#24 Re: 全志 SOC » 全志A40I的video*切换问题? » 2019-10-25 14:14:48

晕哥 说:

按全志的惯例, 可能是改 sys_config.fex 文件.

但是你可以先把 /dev/video0 删除, 然后建立一个 /dev/video2 到 /dev/video0 的软链接:

rm /dev/video0
ln /dev/video0 /dev/video2 -s  ###或者: ln /dev/video2 /dev/video0 -s





感谢晕哥  的确是可以这样用的。一打开这个东西就会出现mclk。 但是也同时提示我说

[  383.006632] [VFE_ERR]bsp_csi_set_fmt error at sunxi_csi_subdev_set_fmt!
[  383.014074] [VFE_ERR]v4l2 sub device csi set_fmt error!

这个是不是我的设置的时钟频率有问题啊

#25 全志 SOC » 全志A40I的video*切换问题? » 2019-10-25 09:46:56

2505300733
回复: 19

说明:安卓系统:Android M
        芯片:全志A40I
   
难点说明:在全志的A40I中,预留了三组摄像头。uvc  tvin   csi。 在内核注册的时候默认将video0 留给UVC。
              将video2留给CSI的摄像头。将video4留给tvin的摄像头。
                现在问题就是说,我手上没有接出来TVIN的摄像头,也没有UVC的USB摄像头。只有一个CSI的OV5640的摄像头。

               但是存在一个问题就是,系统默认调用的是UVC的摄像头如果这个UVC摄像头没有的话,就会去调用TVIN的摄像头。就是没有CSI的份
               当在安卓系统点击照相机的时候总是会提示打开相机失败,然后提示TVIN驱动代码打印出,连接TVIN总线失败。没办法自动转化到CSI摄像头


               需要大家帮忙一下怎么调为安卓系统默认打开就是CSI(OV5640)的摄像头,而不是UVC或者是TVIN摄像头。

                 UVC    =   video0  (默认)
                 CSI     =    video2 
                 tvin     =   video4 (次默认)
             请问一下大家要修改那个文件,才将这个顺序给调换一下。点击安卓系统的相机应用的时候,默认调用的是CSI摄像头。而不是所谓UVC或者是TVIN
             查找了config文件,发现A40I的系统下面居然找不到。心碎+N
     
            特意发帖子请教一下大家。 在此感谢

#26 Re: 全志 SOC » 全志A40I的OV5640摄像头驱动问题 » 2019-10-24 14:19:47

这个是Android M  也就是所谓的6吧。    排查到目前为止,发现可能是CSI和TVIN这两个设备冲突了。    但是不知道哪里切换摄像头的类型,在A40I的情况下带有两种摄像头的。 按照招引信息排查驱动代码发现的TVIN这方面。   也就是说安卓层可能调用的是TVIN摄像头(但是我没有配置TVIN摄像头)。  但是不知道数字摄像头怎么切换上去,知道的哥们说下 谢谢

#27 Re: 全志 SOC » 全志A40I的OV5640摄像头驱动问题 » 2019-10-24 14:16:25

xyzijk 说:

android版本6.0还是7.1?

Android M

#28 全志 SOC » 全志A40I的OV5640摄像头驱动问题 » 2019-10-24 11:20:38

2505300733
回复: 3

设备:全志A40I 要驱动的设备是OV5640的摄像头
说明:
开发平台是居于AndroidM
开机启动打印出的信息如下。VFE成功安装进内核里面打印信息如下:
**************************************************************************************

[    3.535279] [VFE]cci_init end
[    3.538520] [VFE]Welcome to Video Front End driver
[    3.544193] [VFE]csi0 probe end!
[    3.547810] [VFE]csi1 probe end!
[    3.551833] [VFE]csi_init end
[    3.555572] [VFE]sunxi_isp_platform_register end
[    3.561167] [VFE]mipi_init end
[    3.564510] [VFE]flash_init end
[    3.570307] [VFE]pdev->id = 0
[    3.573550] [VFE]dev->cci_sel = 0
[    3.577165] [VFE]dev->csi_sel = 0
[    3.580975] [VFE]dev->mipi_sel = 0
[    3.584686] [VFE]dev->isp_sel = 0
[    3.588337] [VFE_WARN]fetch csi0_dev0_iovdd from device_tree failed
[    3.595435] [VFE_WARN]fetch csi0_dev0_avdd from device_tree failed
[    3.602313] [VFE_WARN]fetch csi0_dev0_dvdd from device_tree failed
[    3.609068] [VFE_WARN]fetch csi0_dev0_afvdd from device_tree failed
[    3.616155] [VFE_WARN]fetch csi0_dev0_power_en from device_tree failed
[    3.623459] [VFE_WARN]fetch csi0_dev0_flash_en from device_tree failed
[    3.630727] [VFE_WARN]fetch csi0_dev0_flash_mode from device_tree failed
[    3.638049] [VFE_WARN]fetch csi0_dev0_flvdd from device_tree failed
[    3.645142] [VFE_WARN]fetch csi0_dev0_flvdd_vol from device_tree failed
[    3.650074] usb 4-1: new full-speed USB device number 2 using sunxi-ohci
[    3.659935] [VFE_WARN]fetch csi0_dev0_af_pwdn from device_tree failed
[    3.667699] [VFE]vfe_init end
[    3.671033] [VFE]probe_work_handle start!
[    3.675818] [VFE]vfe_runtime_resume
[    3.680247] usbcore: registered new interface driver uvcvideo
[    3.686759] USB Video Class driver (v1.0.25_SONiX_v3.10.56)
[    3.693081] [VFE]..........................vfe clk open!.......................
[    3.701233] [VFE]v4l2 subdev register input_num = 0
[    3.701246] sunxi cedar version 0.1
[    3.701384] VE: install start!!!
[    3.701384]

[    3.701464] cedar_ve: cedar-ve the get irq is 85
[    3.702331] VE: install end!!!
[    3.745934] [VFE]vfe sensor detect start! input_num = 0
[    3.751757] [VFE]Find sensor name is "ov5640", i2c address is 78, type is "YUV" !
[    3.760081] [VFE]Sub device register "ov5640" i2c_addr = 0x78 start!
[    3.760088] device-mapper: uevent: version 1.0.3
[    3.772978] device-mapper: ioctl: 4.24.0-ioctl (2013-01-15) initialised: dm-devel@redhat.com
[    3.773298] [VFE]registered sensor subdev is OK!
[    3.773302] [VFE]Check sensor!
[    3.786620] [VFE]mclk on

[    4.258508] [VFE]mclk off
[    4.294711] [VFE]Sub device register "ov5640" is OK!
[    4.295231] [VFE]V4L2 device registered as video2
[    4.295274] [VFE]vfe_runtime_suspend
[    4.295277] [VFE]..........................vfe clk close!.......................
[    4.301581] [VFE]probe_work_handle end!


******************************************************************************************
在开机的过程中抓到MCLK和SDA和SCL都是有信号,有对应的波形。并且抓到I2C通信成功。
开机完之后检测摄像头的各个引脚的时候。三个电源都正常在,并且复位引脚引脚为高
睡眠引脚为低。 MCLK有电压出现,但是没有对应的波形。
进入ADB模式之后 ls /dev/video*
**************************************

/dev/video2
/dev/video5
/dev/video6
/dev/video7

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

出现了对应的设备。
在I2C-3的目录下都发现了我对应设备的名字:
****************
cd /sys/class/i2c-adapter/i2c-3/3-003c 
cat name

#a40i:   ov5640


****************
但是在安卓系统部分启动的时候发现打印出一个这个提示:
**************************************************
[   63.709808] vidioc_g_fmt_vid_cap: signal is not locked.
[   63.927192] vidioc_g_fmt_vid_cap: signal is not locked.
[   64.140787] vidioc_g_fmt_vid_cap: signal is not locked.
[   64.354394] vidioc_g_fmt_vid_cap: signal is not locked.
[   64.567889] vidioc_g_fmt_vid_cap: signal is not locked.
[   64.785277] vidioc_g_fmt_vid_cap: signal is not locked.

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

正常进入到安卓系统里面的时候,点击相机出现以下两种情况
一、拍照情况下全部都是黑屏,但是点击拍照按钮还是会有提示音。
     但是整个拍照都图案都是黑色,连拍出来得到图片都是黑色的

二、在录视频的情况下,就会直接提示出相机发生错误 无法连接到相机
     且每一次都打印出下面的提示。说索取信号失败。
三、在打开相机的是会发现MCLK这个引脚没有时钟,但是电压保持正常。
*********************************************************
tvd_close:__tvd_3d_comp_mem_free
hpd :tvd_num[] = 4,g_status[] =401,
tvd_onsingal=vidioc_g_fmt_vid_cap: signal is not locked.
vidioc_s_fmt_vid_cap:dev_sel=0
hpd :tvd_num[] = 4,
g_status[] =400,
tvd_onsingal=0
****************************************************************
上面四打印提示,经过百度多次都无果。 在这里请大家帮个忙。再次谢谢了

一、怀疑方向有内核层没有给对正确的VFE设备给安卓层调用,所以安卓系统开机的时候没有获取到时钟,由于
      对安卓系统不熟悉没办法验证。

二、 由于开机过程中有MCLK出现并且也成功注册设备成功,怀疑是安卓层和内核层之间的数据交流出现误差,但是具体的沟通文   
     件没办法丁文

三、由于看到最后打印出以下对话可能是MCLK睡眠过去了,但是没有找到对应的方法或者是没有用对方法将其唤醒。
     *********************
[    4.060054] [VFE]mclk off
[    4.096233] [VFE]Sub device register "ov5640" is OK!
[    4.096719] [VFE]V4L2 device registered as video2
[    4.096764] [VFE]vfe_runtime_suspend
    *********************


在整个系统里面,动过的文件有sys_config.fex   camera.cfg     menuconfig配置   sunxi-vfe/devices。ov5640.c
VFE该加的驱动文件都加上去了。但是安卓系统的照相机就是没有办法工作起来,并且没有mclk。 

有调过的大神希望不舍赐教,小弟在这里不胜感激,  刚毕业出来才疏学浅,有什么问题描述不完整的希望赐教

QQ:2505300733


下面附上我的camera.cfg的配置:
;-------------------------------------------------------------------------------
; 用于camera的配置
;
; 采用格式:
; key = key_value
; 注意: 每个key需要顶格写;
; key_value紧跟着key后面的等号后面, 位于同一行中;
; key_value限制大小为256字节以内;
;
;-------------------------------------------------------------------------------
; exif information of "make" and "model"
;-------------------------------------------------------------------------------
key_camera_exif_make = MAKE_A33
key_camera_exif_model = MODEL_A33
;
; 1 for single camera, 2 for double camera
;-------------------------------------------------------------------------------
number_of_camera = 2
;-------------------------------------------------------------------------------
; CAMERA_FACING_BACK
; hi253
;-------------------------------------------------------------------------------
camera_id = 1
;-------------------------------------------------------------------------------
; 1 for CAMERA_FACING_FRONT
; 0 for CAMERA_FACING_BACK
;-------------------------------------------------------------------------------
camera_facing = 0
;-------------------------------------------------------------------------------
;
1 for camera without isp(using built-in isp of Axx)
; 0 for camera with isp
;-------------------------------------------------------------------------------
use_builtin_isp = 0
;-------------------------------------------------------------------------------
; camera orientation (0, 90, 180, 270)
;-------------------------------------------------------------------------------
camera_orientation = 0
;-------------------------------------------------------------------------------
; driver device name
;-------------------------------------------------------------------------------
camera_device = /dev/video2
;-------------------------------------------------------------------------------
; device id
; for two camera devices with one CSI
;-------------------------------------------------------------------------------
device_id = 0
used_preview_size = 1
key_support_preview_size = 720x576
key_default_preview_size = 720x576
used_picture_size = 1
key_support_picture_size = 720x576
key_default_picture_size = 720x576
used_flash_mode = 0
key_support_flash_mode = on,off,auto,red-eye,torch
key_default_flash_mode = off
used_color_effect=1
key_support_color_effect = none,mono,negative,sepia,aqua
key_default_color_effect = none
used_frame_rate = 1
key_support_frame_rate = 30
key_default_frame_rate = 30
used_focus_mode = 0
key_support_focus_mode = auto,infinity,macro,fixed
key_default_focus_mode = auto
;used_scene_mode = 0
;----------------------------------------------------
;key_support_scene_mode = auto,action,portrait,landscape,night,night-portrait,theatre,beach,snow,sunset,steadyphoto,fireworks,sports,party,candlelight,barcode,hdr
;----------------------------------------------------
key_default_scene_mode = auto
used_scene_mode = 0
key_support_scene_mode = auto,hdr
key_default_scene_mode = auto
used_white_balance = 1
key_support_white_balance = auto,incandescent,fluorescent,warm-fluorescent,daylight,cloudy-daylight
key_default_white_balance = auto
used_exposure_compensation = 1
key_max_exposure_compensation = 4
key_min_exposure_compensation = -4
key_step_exposure_compensation = 1
key_default_exposure_compensation = 0
used_zoom = 1
key_zoom_supported = true
key_smooth_zoom_supported = false
key_zoom_ratios = 100,120,150,200,230,250,300
key_max_zoom = 30
key_default_zoom = 0
key_horizonal_view_angle = 48
key_vertical_view_angle = 39.4
;-------------------------------------------------------------------------------
; CAMERA_FACING_FRONT
; sp0a19
;------------------------------------------------------------------------------camera_id = 1
;-------------------------------------------------------------------------------
; 1 for camera without isp(using built-in isp of Axx)
; 0 for camera with isp
;------------------------------------------------------------------------------use_builtin_isp = 0
;-------------------------------------------------------------------------------
; 1 for CAMERA_FACING_FRONT
; 0 for CAMERA_FACING_BACK
;-------------------------------------------------------------------------------
camera_facing = 1
;-------------------------------------------------------------------------------
; camera orientation (0, 90, 180, 270)
;-------------------------------------------------------------------------------
camera_orientation = 0
;-------------------------------------------------------------------------------
; driver device name
;-------------------------------------------------------------------------------
camera_device = /dev/video2
;-------------------------------------------------------------------------------
; device id
; for two camera devices with one CSI
;-------------------------------------------------------------------------------
device_id = 1
used_preview_size = 1
key_support_preview_size = 640x480,320x240,176x144
key_default_preview_size = 640x480
used_picture_size = 1
key_support_picture_size = 640x480,320x240
key_default_picture_size = 640x480
used_flash_mode = 0
key_support_flash_mode = on,off,auto
key_default_flash_mode = on
used_color_effect= 1
key_support_color_effect = none,mono,negative,sepia,aqua
key_default_color_effect = none
used_frame_rate = 1
key_support_frame_rate = 30
key_default_frame_rate = 30
used_focus_mode = 0
key_support_focus_mode = auto,infinity,macro,fixed
key_default_focus_mode = auto
used_scene_mode = 0
key_support_scene_mode = auto,portrait,landscape,night,night-portrait,theatre,beach,snow,sunset,steadyphoto,fireworks,sports,party,candlelight,barcode
key_default_scene_mode = auto
used_white_balance = 1
key_support_white_balance = auto,incandescent,fluorescent,warm-fluorescent,daylight,cloudy-daylight
key_default_white_balance = auto
used_exposure_compensation = 1
key_max_exposure_compensation = 4
key_min_exposure_compensation = -4
key_step_exposure_compensation = 1
key_default_exposure_compensation = 0
used_zoom = 1
key_zoom_supported = true
key_smooth_zoom_supported = false
key_zoom_ratios = 100,120,150,200,230,250,300
key_max_zoom = 30
key_default_zoom = 0
key_horizonal_view_angle = 44.6
key_vertical_view_angle = 39.4

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn