aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt5
-rw-r--r--jni/Android.mk7
-rwxr-xr-xscripts/android-armv7-mock.sh2
-rw-r--r--test/build.prop/padcod-10.1.log96
-rw-r--r--test/cpuinfo/padcod-10.1.log14
-rw-r--r--test/dmesg/padcod-10.1.log1183
-rw-r--r--test/mock/padcod-10.1.cc451
-rw-r--r--test/mock/padcod-10.1.h973
8 files changed, 2731 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index eb8e8cd..f750a4c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -273,6 +273,11 @@ IF(CPUINFO_BUILD_MOCK_TESTS)
TARGET_LINK_LIBRARIES(nexus6-test PRIVATE cpuinfo_mock gtest)
ADD_TEST(nexus6-test nexus6-test)
+ ADD_EXECUTABLE(padcod-10.1-test test/mock/padcod-10.1.cc)
+ TARGET_INCLUDE_DIRECTORIES(padcod-10.1-test PRIVATE test/mock)
+ TARGET_LINK_LIBRARIES(padcod-10.1-test PRIVATE cpuinfo_mock gtest)
+ ADD_TEST(padcod-10.1-test padcod-10.1-test)
+
ADD_EXECUTABLE(xiaomi-redmi-2a-test test/mock/xiaomi-redmi-2a.cc)
TARGET_INCLUDE_DIRECTORIES(xiaomi-redmi-2a-test PRIVATE test/mock)
TARGET_LINK_LIBRARIES(xiaomi-redmi-2a-test PRIVATE cpuinfo_mock gtest)
diff --git a/jni/Android.mk b/jni/Android.mk
index 7f293ec..e8c5621 100644
--- a/jni/Android.mk
+++ b/jni/Android.mk
@@ -325,6 +325,13 @@ LOCAL_STATIC_LIBRARIES := cpuinfo_mock gtest
include $(BUILD_EXECUTABLE)
include $(CLEAR_VARS)
+LOCAL_MODULE := padcod-10.1-test
+LOCAL_SRC_FILES := $(LOCAL_PATH)/test/mock/padcod-10.1.cc
+LOCAL_C_INCLUDES := $(LOCAL_PATH)/test/mock
+LOCAL_STATIC_LIBRARIES := cpuinfo_mock gtest
+include $(BUILD_EXECUTABLE)
+
+include $(CLEAR_VARS)
LOCAL_MODULE := xiaomi-redmi-2a-test
LOCAL_SRC_FILES := $(LOCAL_PATH)/test/mock/xiaomi-redmi-2a.cc
LOCAL_C_INCLUDES := $(LOCAL_PATH)/test/mock
diff --git a/scripts/android-armv7-mock.sh b/scripts/android-armv7-mock.sh
index e0304e7..e5353d4 100755
--- a/scripts/android-armv7-mock.sh
+++ b/scripts/android-armv7-mock.sh
@@ -41,6 +41,7 @@ adb push libs/armeabi-v7a/nexus6-test /data/local/tmp/nexus6-test
adb push libs/armeabi-v7a/nexus6p-test /data/local/tmp/nexus6p-test
adb push libs/armeabi-v7a/nexus9-test /data/local/tmp/nexus9-test
adb push libs/armeabi-v7a/oppo-r9-test /data/local/tmp/oppo-r9-test
+adb push libs/armeabi-v7a/padcod-10.1-test /data/local/tmp/padcod-10.1-test
adb push libs/armeabi-v7a/pixel-c-test /data/local/tmp/pixel-c-test
adb push libs/armeabi-v7a/pixel-xl-test /data/local/tmp/pixel-xl-test
adb push libs/armeabi-v7a/pixel-test /data/local/tmp/pixel-test
@@ -89,6 +90,7 @@ adb shell "/data/local/tmp/nexus6-test --gtest_color=yes"
adb shell "/data/local/tmp/nexus6p-test --gtest_color=yes"
adb shell "/data/local/tmp/nexus9-test --gtest_color=yes"
adb shell "/data/local/tmp/oppo-r9-test --gtest_color=yes"
+adb shell "/data/local/tmp/padcod-10.1-test --gtest_color=yes"
adb shell "/data/local/tmp/pixel-c-test --gtest_color=yes"
adb shell "/data/local/tmp/pixel-xl-test --gtest_color=yes"
adb shell "/data/local/tmp/pixel-test --gtest_color=yes"
diff --git a/test/build.prop/padcod-10.1.log b/test/build.prop/padcod-10.1.log
new file mode 100644
index 0000000..6faef15
--- /dev/null
+++ b/test/build.prop/padcod-10.1.log
@@ -0,0 +1,96 @@
+# begin build properties
+# autogenerated by buildinfo.sh
+ro.build.id=KVT49L
+ro.build.display.id=astar_y3-eng 4.4.2 KVT49L 20151112 test-keys
+ro.build.version.incremental=20151112
+ro.build.version.sdk=19
+ro.build.version.codename=REL
+ro.build.version.release=4.4.2
+ro.build.date=2015年 11月 12日 星期四 16:07:41 CST
+ro.build.date.utc=1447315661
+ro.build.type=eng
+ro.build.user=ytx
+ro.build.host=Android
+ro.build.tags=test-keys
+ro.product.model=V11
+ro.product.brand=Allwinner
+ro.product.name=astar_y3
+ro.product.device=astar-y3
+ro.product.board=exdroid
+ro.product.cpu.abi=armeabi-v7a
+ro.product.cpu.abi2=armeabi
+ro.product.manufacturer=softwinner
+ro.product.locale.language=en
+ro.product.locale.region=US
+ro.wifi.channels=
+ro.board.platform=polaris
+# ro.build.product is obsolete; use ro.product.device
+ro.build.product=astar-y3
+# Do not try to parse ro.build.description or .fingerprint
+ro.build.description=astar_y3-eng 4.4.2 KVT49L 20151112 test-keys
+ro.build.fingerprint=Allwinner/astar_y3/astar-y3:4.4.2/KVT49L/20151112:eng/test-keys
+ro.build.characteristics=tablet
+# end build properties
+
+#
+# ADDITIONAL_BUILD_PROPERTIES
+#
+ro.com.android.dateformat=MM-dd-yyyy
+ro.config.ringtone=Ring_Synth_04.ogg
+ro.config.notification_sound=pixiedust.ogg
+ro.carrier=unknown
+ro.config.alarm_alert=Alarm_Classic.ogg
+ro.zygote.disable_gl_preload=true
+persist.sys.strictmode.visual=0
+persist.sys.strictmode.disable=1
+persist.sys.plimit=0
+ro.opengles.version=131072
+ro.kernel.android.checkjni=0
+ro.reversion.aw_sdk_tag=exdroid4.4.2_r2-a33-v2.0
+ro.sys.cputype=QuadCore-A33
+wifi.interface=wlan0
+wifi.supplicant_scan_interval=15
+keyguard.no_require_sim=true
+ro.sys.network_location=true
+persist.demo.hdmirotationlock=0
+drm.service.enabled=true
+dalvik.vm.heapstartsize=8m
+dalvik.vm.heapgrowthlimit=64m
+dalvik.vm.heapsize=384m
+dalvik.vm.heaptargetutilization=0.75
+dalvik.vm.heapminfree=512k
+dalvik.vm.heapmaxfree=8m
+ro.sw.embeded.telephony=false
+persist.sys.timezone=Europe/London
+persist.sys.language=en
+persist.sys.country=US
+ro.product.8723b_bt.used=true
+persist.sys.usb.config=mass_storage,adb
+ro.udisk.lable=Polaris
+ro.font.scale=1.15
+ro.hwa.force=false
+rw.logger=0
+ro.sys.bootfast=true
+debug.hwc.showfps=0
+eken.board.platform=exDroid
+eken.device.telephone=false
+eken.wmt.homepage_base=http://www.google.com
+eken.hardware=sun7i
+eken.hardware.screen.size=11
+eken.hardware.screen.res=1024x600
+eken.build.version.release=4.4.1
+eken.build.version.sdk=17
+eken.product.model=V11
+eken.product.device=astar_y3
+eken.product.name=astar_y3
+eken.product.manufacturer=eken
+debug.hwui.render_dirty_regions=false
+ro.sys.mutedrm=true
+ro.sf.lcd_density=160
+ro.product.firmware=v2.0
+ro.setupwizard.mode=OPTIONAL
+ro.com.google.gmsversion=4.4_r3
+persist.sys.dalvik.vm.lib=libdvm.so
+dalvik.vm.dexopt-flags=v=n,m=y
+net.bt.name=Android
+dalvik.vm.stack-trace-file=/data/anr/traces.txt
diff --git a/test/cpuinfo/padcod-10.1.log b/test/cpuinfo/padcod-10.1.log
new file mode 100644
index 0000000..d47dae6
--- /dev/null
+++ b/test/cpuinfo/padcod-10.1.log
@@ -0,0 +1,14 @@
+Processor : ARMv7 Processor rev 5 (v7l)
+processor : 0
+BogoMIPS : 3428.56
+
+Features : swp half thumb fastmult vfp edsp thumbee neon vfpv3 tls vfpv4 idiva idivt
+CPU implementer : 0x41
+CPU architecture: 7
+CPU variant : 0x0
+CPU part : 0xc07
+CPU revision : 5
+
+Hardware : sun8i
+Revision : 0000
+Serial : 86441af7d7f700000000
diff --git a/test/dmesg/padcod-10.1.log b/test/dmesg/padcod-10.1.log
new file mode 100644
index 0000000..b72cd62
--- /dev/null
+++ b/test/dmesg/padcod-10.1.log
@@ -0,0 +1,1183 @@
+ype: 0
+<4>[ 2.879742] [NE]part recovery size: 0x10000 type: 0
+<4>[ 2.879751] [NE]part cache size: 0x100000 type: 0
+<4>[ 2.879759] [NE]part metadata size: 0x8000 type: 0
+<4>[ 2.879768] [NE]part private size: 0x8000 type: 0
+<4>[ 2.879776] [NE]partition_num: 1,size :0x978000,cross_talk 1
+<4>[ 2.879785] [NE]part UDISK size: 0xffffffff type: 0
+<4>[ 2.879843] [ND]phy_partition->PartitionNO :0
+<4>[ 2.879851] [ND]phy_partition->SectorNumsPerPage :64
+<4>[ 2.879859] [ND]phy_partition->PageNumsPerBlk :256
+<4>[ 2.879867] [ND]phy_partition->TotalBlkNum :339
+<4>[ 2.879875] [ND]phy_partition->FullBitmapPerPage :64
+<4>[ 2.879882] [ND]phy_partition->FreeBlock :0
+<4>[ 2.879890] [ND]phy_partition->TotalSectors :5046272
+<4>[ 2.879898] [ND]phy_partition->StartBlock.Chip_NO :0
+<4>[ 2.879905] [ND]phy_partition->StartBlock.Block_NO :12
+<4>[ 2.879913] [ND]phy_partition->EndBlock.Chip_NO :0
+<4>[ 2.879921] [ND]phy_partition->EndBlock.Block_NO :350
+<4>[ 2.879929] [ND]phy_partition->next_phy_partition :0
+<4>[ 2.879937] [ND]phy_partition->PartitionNO 0 FACTORY BAD BLOCK:
+<4>[ 2.879946] [ND]phy_partition->PartitionNO 0 NEW BAD BLOCK:
+<4>[ 2.880024] [ND]phy_partition->PartitionNO :1
+<4>[ 2.880032] [ND]phy_partition->SectorNumsPerPage :64
+<4>[ 2.880040] [ND]phy_partition->PageNumsPerBlk :256
+<4>[ 2.880047] [ND]phy_partition->TotalBlkNum :673
+<4>[ 2.880055] [ND]phy_partition->FullBitmapPerPage :64
+<4>[ 2.880062] [ND]phy_partition->FreeBlock :0
+<4>[ 2.880070] [ND]phy_partition->TotalSectors :9928704
+<4>[ 2.880077] [ND]phy_partition->StartBlock.Chip_NO :0
+<4>[ 2.880085] [ND]phy_partition->StartBlock.Block_NO :351
+<4>[ 2.880093] [ND]phy_partition->EndBlock.Chip_NO :0
+<4>[ 2.880100] [ND]phy_partition->EndBlock.Block_NO :1023
+<4>[ 2.880108] [ND]phy_partition->next_phy_partition :0
+<4>[ 2.880116] [ND]phy_partition->PartitionNO 1 FACTORY BAD BLOCK:
+<4>[ 2.880124] [ND]phy_partition->PartitionNO 1 NEW BAD BLOCK:
+<4>[ 2.880133] [ND]build 2 phy_partition !
+<4>[ 2.880140] [ND]nand_info->type :0
+<4>[ 2.880147] [ND]nand_info->SectorNumsPerPage :64
+<4>[ 2.880154] [ND]nand_info->BytesUserData :16
+<4>[ 2.880162] [ND]nand_info->PageNumsPerBlk :256
+<4>[ 2.880169] [ND]nand_info->BlkPerChip :1024
+<4>[ 2.880176] [ND]nand_info->FirstBuild :0
+<4>[ 2.880184] [ND]nand_info->FullBitmap :1611333779
+<4>[ 2.880192] [ND]nand_info->bad_block_addr.Chip_NO :0
+<4>[ 2.880199] [ND]nand_info->bad_block_addr.Block_NO :9
+<4>[ 2.880207] [ND]nand_info->mbr_block_addr.Chip_NO :0
+<4>[ 2.880215] [ND]nand_info->mbr_block_addr.Block_NO :8
+<4>[ 2.880223] [ND]nand_info->no_used_block_addr.Chip_NO :0
+<4>[ 2.880231] [ND]nand_info->no_used_block_addr.Block_NO :12
+<4>[ 2.880239] [ND]nand_info->new_bad_block_addr.Chip_NO :0
+<4>[ 2.880247] [ND]nand_info->new_bad_block_addr.Block_NO :10
+<4>[ 2.880255] [ND]nand_info->new_bad_page_addr :65535
+<4>[ 2.880263] [ND]nand_info->partition_nums :2
+<4>[ 2.880271] [ND]sizeof partition:2384
+<4>[ 2.880277] [ND]nand_info->partition:0:
+<4>[ 2.880285] [ND]size:0x4d0000
+<4>[ 2.880291] [ND]cross_talk:0x0
+<4>[ 2.880297] [ND]attribute:0x0
+<4>[ 2.880304] [ND]start: chip:0 block:12
+<4>[ 2.880312] [ND]end : chip:0 block:350
+<4>[ 2.880319] [ND]nand_info->partition:1:
+<4>[ 2.880326] [ND]size:0x978000
+<4>[ 2.880332] [ND]cross_talk:0x1
+<4>[ 2.880338] [ND]attribute:0x0
+<4>[ 2.880345] [ND]start: chip:0 block:351
+<4>[ 2.880353] [ND]end : chip:0 block:1023
+<4>[ 2.880788] [NAND]nand_probe
+<4>[ 2.880896] [NAND]nand type err!
+<4>[ 2.880940] [ND]nand_partition0
+<4>[ 2.881000] [ND]nftl start:339,31
+<4>[ 2.881982] [ND]first
+<4>[ 2.952990] [ND]before second 339 308.
+<4>[ 3.244410] [ND]recover 199 104
+<4>[ 3.244434] [ND]A33 nand2.0 version:0008 date:Jun 29 2015 16:01:08
+<4>[ 3.244443] [ND]zone->nand_chip->blk_per_chip: 339
+<4>[ 3.244451] [ND]zone->nand_chip->bytes_per_page: 32768
+<4>[ 3.244459] [ND]zone->nand_chip->pages_per_blk: 256
+<4>[ 3.244467] [ND]zone->nand_chip->max_erase_times: 3000
+<4>[ 3.244475] [ND]zone->nand_chip->support_read_reclaim: 43690
+<4>[ 3.244483] [ND]zone->test: 0
+<4>[ 3.244489] [ND]zone->zone_no: 0
+<4>[ 3.244496] [ND]zone->zone_attr: 0
+<4>[ 3.244503] [ND]zone->blocks: 339
+<4>[ 3.244509] [ND]zone->bad_block: 0
+<4>[ 3.244516] [ND]zone->logic_cap_in_sects: 5046272
+<4>[ 3.244524] [ND]zone->backup_cap_in_sects: 507904
+<4>[ 3.244532] [ND]zone->free_block_num: 204
+<4>[ 3.244539] [ND]zone->gc_strategy.start_gc_free_blocks: 8
+<4>[ 3.244548] [ND]zone->gc_strategy.stop_gc_free_blocks: 20
+<4>[ 3.244555] [ND]zone->gc_strategy.gc_page: 0
+<4>[ 3.244563] [ND]zone->gc_strategy.process: 1
+<4>[ 3.244570] [ND]zone->prio_gc.prio_type : 0
+<4>[ 3.244578] [ND]zone->total_reads : 0
+<4>[ 3.244584] [ND]zone->total_write: 0
+<4>[ 3.244591] [ND]zone->zone_start_phy_block->phy_block.Block_NO: 0
+<4>[ 3.244600] [ND]zone->zone_end_phy_block->phy_block.Block_NO: 338
+<4>[ 3.244609] [ND]zone->zone_phy_page_map_for_gc: ee4b3000
+<4>[ 3.244618] [ND]zone->current_block.phy_page_map: ee516000
+<4>[ 3.244626] [ND]zone->current_block.block_info: ef2c5bfc
+<4>[ 3.244634] [ND]zone->current_block.block_info->phy_block.Block_NO: 199
+<4>[ 3.244643] [ND]zone->current_block.page_used: 104
+<4>[ 3.244651] [ND]zone->current_block.block_info->block_used_count: 139
+<4>[ 3.244661] [ND]zone->temp_page_buf: ee610000
+<4>[ 3.244669] [ND]zone->max_erase_num: 1
+<4>[ 3.244675] [ND]zone->total_sector_want_read: 0
+<4>[ 3.244683] [ND]zone->total_sector_want_write: 0
+<4>[ 3.244690] [ND]zone->total_page_want_write: 0
+<4>[ 3.244698] [ND]zone->total_page_want_read: 0
+<4>[ 3.244705] [ND]zone->total_page_real_write: 0
+<4>[ 3.244713] [ND]zone->total_page_real_read: 0
+<4>[ 3.244720] [ND]zone->total_block_real_erase: 0
+<4>[ 3.244727] [ND]zone->cache.cache_totals: 0
+<4>[ 3.244735] [ND]zone->cfg->nftl_dont_use_cache: 0
+<4>[ 3.244743] [ND]zone->cfg->nftl_use_cache_sort: 1
+<4>[ 3.244751] [ND]zone->cfg->nftl_support_gc_read_reclaim: 0
+<4>[ 3.244759] [ND]zone->cfg->nftl_support_wear_leveling: 1
+<4>[ 3.244767] [ND]zone->cfg->nftl_need_erase: 0
+<4>[ 3.244775] [ND]zone->cfg->nftl_min_free_block_num: 19
+<4>[ 3.244783] [ND]zone->cfg->nftl_gc_threshold_free_block_num: 8
+<4>[ 3.244791] [ND]zone->cfg->nftl_min_free_block: 4
+<4>[ 3.244799] [ND]zone->cfg->nftl_gc_threshold_ratio_numerator: 2
+<4>[ 3.244807] [ND]zone->cfg->nftl_gc_threshold_ratio_denominator: 3
+<4>[ 3.244816] [ND]zone->cfg->nftl_max_cache_num: 500
+<4>[ 3.244824] [ND]zone->cfg->nftl_max_cache_write_num: 400
+<4>[ 3.244831] [ND]zone->cfg->nftl_cross_talk: 0
+<4>[ 3.244839] [ND]nftl ok!
+<3>[ 3.267068] add_nand: fake_nand script_get_item err.
+<3>[ 3.272742] add_nand: fake_nand script_get_item err.
+<6>[ 3.280965] nanda:
+<3>[ 3.281333] add_nand: fake_nand script_get_item err.
+<6>[ 3.289083] nandb: unknown partition table
+<3>[ 3.289381] add_nand: fake_nand script_get_item err.
+<6>[ 3.297319] nandc: unknown partition table
+<3>[ 3.297578] add_nand: fake_nand script_get_item err.
+<6>[ 3.305292] nandd: unknown partition table
+<3>[ 3.305562] add_nand: fake_nand script_get_item err.
+<6>[ 3.313261] nande: unknown partition table
+<3>[ 3.313532] add_nand: fake_nand script_get_item err.
+<6>[ 3.321169] nandf: unknown partition table
+<3>[ 3.321455] add_nand: fake_nand script_get_item err.
+<6>[ 3.329080] nandg: unknown partition table
+<3>[ 3.329339] add_nand: fake_nand script_get_item err.
+<6>[ 3.337067] nandh: unknown partition table
+<3>[ 3.337347] add_nand: fake_nand script_get_item err.
+<6>[ 3.343915] nandi: unknown partition table
+<3>[ 3.344177] add_nand: fake_nand script_get_item err.
+<6>[ 3.351889] nandj: unknown partition table
+<4>[ 3.352169] [ND]nand_partition1
+<4>[ 3.352400] [ND]nftl start:673,67
+<4>[ 3.354334] [ND]first
+<4>[ 3.494031] _ReadCheckSpare: filled invalid page(0,976,0)...
+<4>[ 3.494240] _ReadCheckSpare: filled invalid page(0,977,0)...
+<4>[ 3.494424] _ReadCheckSpare: filled invalid page(0,978,0)...
+<4>[ 3.494622] _ReadCheckSpare: filled invalid page(0,979,0)...
+<4>[ 3.494806] _ReadCheckSpare: filled invalid page(0,980,0)...
+<4>[ 3.495005] _ReadCheckSpare: filled invalid page(0,981,0)...
+<4>[ 3.495205] _ReadCheckSpare: filled invalid page(0,982,0)...
+<4>[ 3.495406] _ReadCheckSpare: filled invalid page(0,983,0)...
+<4>[ 3.495606] _ReadCheckSpare: filled invalid page(0,984,0)...
+<4>[ 3.495804] _ReadCheckSpare: filled invalid page(0,985,0)...
+<4>[ 3.496005] _ReadCheckSpare: filled invalid page(0,986,0)...
+<4>[ 3.496205] _ReadCheckSpare: filled invalid page(0,987,0)...
+<4>[ 3.496406] _ReadCheckSpare: filled invalid page(0,988,0)...
+<4>[ 3.496607] _ReadCheckSpare: filled invalid page(0,989,0)...
+<4>[ 3.496806] _ReadCheckSpare: filled invalid page(0,990,0)...
+<4>[ 3.497006] _ReadCheckSpare: filled invalid page(0,991,0)...
+<4>[ 3.497206] _ReadCheckSpare: filled invalid page(0,992,0)...
+<4>[ 3.497405] _ReadCheckSpare: filled invalid page(0,993,0)...
+<4>[ 3.497606] _ReadCheckSpare: filled invalid page(0,994,0)...
+<4>[ 3.497804] _ReadCheckSpare: filled invalid page(0,995,0)...
+<4>[ 3.498003] _ReadCheckSpare: filled invalid page(0,996,0)...
+<4>[ 3.498201] _ReadCheckSpare: filled invalid page(0,997,0)...
+<4>[ 3.498402] _ReadCheckSpare: filled invalid page(0,998,0)...
+<4>[ 3.498602] _ReadCheckSpare: filled invalid page(0,999,0)...
+<4>[ 3.498805] _ReadCheckSpare: filled invalid page(0,1000,0)...
+<4>[ 3.499003] _ReadCheckSpare: filled invalid page(0,1001,0)...
+<4>[ 3.499203] _ReadCheckSpare: filled invalid page(0,1002,0)...
+<4>[ 3.499403] _ReadCheckSpare: filled invalid page(0,1003,0)...
+<4>[ 3.499603] _ReadCheckSpare: filled invalid page(0,1004,0)...
+<4>[ 3.499802] _ReadCheckSpare: filled invalid page(0,1005,0)...
+<4>[ 3.500024] _ReadCheckSpare: filled invalid page(0,1006,0)...
+<4>[ 3.500229] _ReadCheckSpare: filled invalid page(0,1007,0)...
+<4>[ 3.500431] _ReadCheckSpare: filled invalid page(0,1008,0)...
+<4>[ 3.500630] _ReadCheckSpare: filled invalid page(0,1009,0)...
+<4>[ 3.500830] _ReadCheckSpare: filled invalid page(0,1010,0)...
+<4>[ 3.501031] _ReadCheckSpare: filled invalid page(0,1011,0)...
+<4>[ 3.501233] _ReadCheckSpare: filled invalid page(0,1012,0)...
+<4>[ 3.501432] _ReadCheckSpare: filled invalid page(0,1013,0)...
+<4>[ 3.501632] _ReadCheckSpare: filled invalid page(0,1014,0)...
+<4>[ 3.501833] _ReadCheckSpare: filled invalid page(0,1015,0)...
+<4>[ 3.502032] _ReadCheckSpare: filled invalid page(0,1016,0)...
+<4>[ 3.502235] _ReadCheckSpare: filled invalid page(0,1017,0)...
+<4>[ 3.502435] _ReadCheckSpare: filled invalid page(0,1018,0)...
+<4>[ 3.502637] _ReadCheckSpare: filled invalid page(0,1019,0)...
+<4>[ 3.502838] _ReadCheckSpare: filled invalid page(0,1020,0)...
+<4>[ 3.503040] _ReadCheckSpare: filled invalid page(0,1021,0)...
+<4>[ 3.503425] [ND]before second 673 606.
+<4>[ 3.512937] [NE]NAND_EVENT: 2 current used block found 624,623!
+<4>[ 3.512962] [ND]something strange 1,25!!
+<4>[ 4.603534] [ND]cross_talk_rebuild_current_block!! 624,136,25,623,136,26!
+<4>[ 4.603552] [ND]corss talk rebuild 2 136 136 136!
+<4>[ 4.603561] [NE]erase_block block 623!
+<4>[ 5.215554] PHY_VirtualPageWrite: nDieNum: 0/1 nBlkNum: 974/1024 nPage: 255/256
+<4>[ 5.215564] 0xff 0x55 0x55 0x55 0x55 0x0 0x2 0xff 0xff 0xff 0xff 0x2 0x40 0x0 0x3 0xef
+<4>[ 5.548339] [NE]erase_block block 624!
+<4>[ 6.159093] PHY_VirtualPageWrite: nDieNum: 0/1 nBlkNum: 975/1024 nPage: 255/256
+<4>[ 6.159103] 0xff 0x55 0x55 0x55 0x55 0x0 0x2 0xff 0xff 0xff 0xff 0x2 0x40 0x0 0x3 0xef
+<4>[ 6.343603] [ND]recover 622 136
+<4>[ 6.986680] [ND]A33 nand2.0 version:0008 date:Jun 29 2015 16:01:08
+<4>[ 6.986693] [ND]zone->nand_chip->blk_per_chip: 673
+<4>[ 6.986701] [ND]zone->nand_chip->bytes_per_page: 32768
+<4>[ 6.986709] [ND]zone->nand_chip->pages_per_blk: 256
+<4>[ 6.986717] [ND]zone->nand_chip->max_erase_times: 3000
+<4>[ 6.986725] [ND]zone->nand_chip->support_read_reclaim: 43690
+<4>[ 6.986733] [ND]zone->test: 0
+<4>[ 6.986739] [ND]zone->zone_no: 1
+<4>[ 6.986747] [ND]zone->zone_attr: 1
+<4>[ 6.986753] [ND]zone->blocks: 673
+<4>[ 6.986760] [ND]zone->bad_block: 0
+<4>[ 6.986767] [ND]zone->logic_cap_in_sects: 9928704
+<4>[ 6.986775] [ND]zone->backup_cap_in_sects: 1097728
+<4>[ 6.986782] [ND]zone->free_block_num: 670
+<4>[ 6.986790] [ND]zone->gc_strategy.start_gc_free_blocks: 13
+<4>[ 6.986798] [ND]zone->gc_strategy.stop_gc_free_blocks: 44
+<4>[ 6.986806] [ND]zone->gc_strategy.gc_page: 0
+<4>[ 6.986813] [ND]zone->gc_strategy.process: 1
+<4>[ 6.986821] [ND]zone->prio_gc.prio_type : 0
+<4>[ 6.986828] [ND]zone->total_reads : 0
+<4>[ 6.986835] [ND]zone->total_write: 0
+<4>[ 6.986842] [ND]zone->zone_start_phy_block->phy_block.Block_NO: 0
+<4>[ 6.986851] [ND]zone->zone_end_phy_block->phy_block.Block_NO: 672
+<4>[ 6.986860] [ND]zone->zone_phy_page_map_for_gc: ed241000
+<4>[ 6.986868] [ND]zone->current_block.phy_page_map: ee507000
+<4>[ 6.986877] [ND]zone->current_block.block_info: ed22d778
+<4>[ 6.986885] [ND]zone->current_block.block_info->phy_block.Block_NO: 622
+<4>[ 6.986894] [ND]zone->current_block.page_used: 136
+<4>[ 6.986902] [ND]zone->current_block.block_info->block_used_count: 26
+<4>[ 6.986911] [ND]zone->assist_block.phy_page_map: ed23f000
+<4>[ 6.986920] [ND]zone->assist_block.block_info: ed22d754
+<4>[ 6.986928] [ND]zone->assist_block.block_info->phy_block.Block_NO: 621
+<4>[ 6.986937] [ND]zone->assist_block.page_used: 136
+<4>[ 6.986945] [ND]zone->assist_block.block_info->block_used_count: 27
+<4>[ 6.986954] [ND]zone->temp_page_buf: ed258000
+<4>[ 6.986961] [ND]zone->max_erase_num: 1
+<4>[ 6.986968] [ND]zone->total_sector_want_read: 0
+<4>[ 6.986975] [ND]zone->total_sector_want_write: 0
+<4>[ 6.986983] [ND]zone->total_page_want_write: 0
+<4>[ 6.986990] [ND]zone->total_page_want_read: 0
+<4>[ 6.986998] [ND]zone->total_page_real_write: 0
+<4>[ 6.987005] [ND]zone->total_page_real_read: 0
+<4>[ 6.987012] [ND]zone->total_block_real_erase: 0
+<4>[ 6.987020] [ND]zone->cache.cache_totals: 0
+<4>[ 6.987028] [ND]zone->cfg->nftl_dont_use_cache: 0
+<4>[ 6.987036] [ND]zone->cfg->nftl_use_cache_sort: 1
+<4>[ 6.987044] [ND]zone->cfg->nftl_support_gc_read_reclaim: 0
+<4>[ 6.987052] [ND]zone->cfg->nftl_support_wear_leveling: 1
+<4>[ 6.987060] [ND]zone->cfg->nftl_need_erase: 0
+<4>[ 6.987068] [ND]zone->cfg->nftl_min_free_block_num: 19
+<4>[ 6.987076] [ND]zone->cfg->nftl_gc_threshold_free_block_num: 8
+<4>[ 6.987084] [ND]zone->cfg->nftl_min_free_block: 4
+<4>[ 6.987092] [ND]zone->cfg->nftl_gc_threshold_ratio_numerator: 2
+<4>[ 6.987100] [ND]zone->cfg->nftl_gc_threshold_ratio_denominator: 3
+<4>[ 6.987109] [ND]zone->cfg->nftl_max_cache_num: 500
+<4>[ 6.987117] [ND]zone->cfg->nftl_max_cache_write_num: 8
+<4>[ 6.987125] [ND]zone->cfg->nftl_cross_talk: 1
+<4>[ 6.987132] [ND]nftl ok!
+<3>[ 7.009307] add_nand: fake_nand script_get_item err.
+<6>[ 7.017477] nandk:
+<4>[ 7.017805] [NAND]nand init end
+<6>[ 7.019838] init: command 'insmod' r=0
+<6>[ 7.020190] init: command 'symlink' r=0
+<6>[ 7.020278] init: command 'symlink' r=0
+<6>[ 7.020338] init: command 'symlink' r=0
+<6>[ 7.020566] init: command 'mkdir' r=0
+<7>[ 7.100231] SELinux: initialized (dev cgroup, type cgroup), uses genfs_contexts
+<6>[ 7.100330] init: command 'mount' r=0
+<6>[ 7.100669] init: command 'mkdir' r=0
+<7>[ 7.100882] SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs
+<6>[ 7.100948] init: command 'mount' r=0
+<6>[ 7.101191] init: command 'mkdir' r=0
+<6>[ 7.101336] init: command 'mount' r=-1
+<6>[ 7.101519] init: command 'write' r=0
+<6>[ 7.101606] init: command 'chown' r=-2
+<6>[ 7.101663] init: command 'chmod' r=-2
+<6>[ 7.101842] init: command 'mkdir' r=0
+<6>[ 7.101934] init: command 'write' r=0
+<6>[ 7.102018] init: command 'write' r=0
+<6>[ 7.102082] init: command 'chown' r=-2
+<6>[ 7.102139] init: command 'chmod' r=-2
+<6>[ 7.102370] init: command 'mkdir' r=0
+<6>[ 7.102566] init: command 'mkdir' r=0
+<6>[ 7.102771] init: command 'mkdir' r=0
+<6>[ 7.102893] init: command 'mkdir' r=0
+<6>[ 7.103062] init: command 'mkdir' r=0
+<6>[ 7.103187] init: command 'mkdir' r=0
+<6>[ 7.103305] init: command 'mkdir' r=0
+<6>[ 7.103425] init: command 'mkdir' r=0
+<7>[ 7.103583] SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs
+<6>[ 7.103627] init: command 'mount' r=0
+<6>[ 7.103790] init: command 'mkdir' r=0
+<6>[ 7.103934] init: command 'mkdir' r=0
+<6>[ 7.104128] init: command 'mkdir' r=0
+<7>[ 7.104269] SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs
+<6>[ 7.104309] init: command 'mount' r=0
+<6>[ 7.104448] init: command 'mkdir' r=0
+<7>[ 7.104602] SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs
+<6>[ 7.104643] init: command 'mount' r=0
+<6>[ 7.104845] init: command 'write' r=0
+<6>[ 7.104893] init: command 'write' r=-2
+<6>[ 7.105005] init: command 'write' r=0
+<6>[ 7.105053] init: command 'write' r=-2
+<6>[ 7.105093] init: command 'write' r=-2
+<6>[ 7.105126] init: command 'write' r=-2
+<6>[ 7.105198] init: command 'write' r=0
+<6>[ 7.105272] init: command 'write' r=0
+<6>[ 7.105347] init: command 'write' r=0
+<6>[ 7.105421] init: command 'write' r=0
+<6>[ 7.105514] init: command 'write' r=0
+<6>[ 7.105591] init: command 'write' r=0
+<6>[ 7.105716] init: command 'write' r=0
+<6>[ 7.105797] init: command 'write' r=0
+<6>[ 7.105871] init: command 'write' r=0
+<6>[ 7.106716] init: command 'mkdir' r=0
+<7>[ 7.220164] SELinux: initialized (dev cgroup, type cgroup), uses genfs_contexts
+<6>[ 7.220230] init: command 'mount' r=0
+<6>[ 7.220303] init: command 'chown' r=0
+<6>[ 7.220514] init: command 'chown' r=0
+<6>[ 7.220590] init: command 'chmod' r=0
+<6>[ 7.220638] init: command 'write' r=-22
+<6>[ 7.220682] init: command 'write' r=0
+<6>[ 7.220722] init: command 'write' r=0
+<6>[ 7.221141] init: command 'mkdir' r=0
+<6>[ 7.221197] init: command 'chown' r=0
+<6>[ 7.221240] init: command 'chmod' r=0
+<6>[ 7.221278] init: command 'write' r=0
+<6>[ 7.221318] init: command 'write' r=0
+<6>[ 7.221358] init: command 'write' r=0
+<6>[ 7.221717] init: command 'mkdir' r=0
+<6>[ 7.221769] init: command 'chown' r=0
+<6>[ 7.221812] init: command 'chmod' r=0
+<6>[ 7.221855] init: command 'write' r=0
+<6>[ 7.221898] init: command 'write' r=0
+<6>[ 7.221939] init: command 'write' r=0
+<6>[ 7.222180] init: command 'chown' r=0
+<6>[ 7.222321] init: command 'chown' r=0
+<6>[ 7.222411] init: command 'chmod' r=0
+<6>[ 7.222826] init: command 'mkdir' r=0
+<6>[ 7.222858] init: processing action 0x521b0 (init)
+<6>[ 7.222875] init: command 'export' r=0
+<6>[ 7.222891] init: command 'export' r=0
+<6>[ 7.222906] init: command 'export' r=0
+<6>[ 7.222920] init: command 'export' r=0
+<6>[ 7.222934] init: command 'export' r=0
+<6>[ 7.222948] init: command 'export' r=0
+<6>[ 7.222962] init: command 'export' r=0
+<6>[ 7.222976] init: command 'export' r=0
+<6>[ 7.222990] init: command 'export' r=0
+<6>[ 7.223006] init: command 'export' r=0
+<6>[ 7.223020] init: processing action 0x55a88 (init)
+<6>[ 7.223034] init: command 'export' r=0
+<6>[ 7.223178] init: command 'mkdir' r=0
+<6>[ 7.223253] init: command 'symlink' r=0
+<6>[ 7.223306] init: command 'symlink' r=0
+<6>[ 7.223443] init: command 'mkdir' r=0
+<6>[ 7.223508] init: command 'symlink' r=0
+<6>[ 7.223558] init: command 'symlink' r=0
+<6>[ 7.223692] init: command 'mkdir' r=0
+<6>[ 7.223747] init: command 'symlink' r=0
+<6>[ 7.223801] init: command 'symlink' r=0
+<6>[ 7.223937] init: command 'mount' r=0
+<6>[ 7.224095] init: command 'mkdir' r=0
+<6>[ 7.224113] init: processing action 0x55cb8 (early-fs)
+<3>[ 7.225447] fs_mgr: block device /dev/block/by-name/system
+<3>[ 7.231584] fs_mgr: block device /dev/block/by-name/cache
+<3>[ 7.237574] fs_mgr: block device /dev/block/by-name/data
+<6>[ 7.253778] EXT4-fs (nandd): mounted filesystem with ordered data mode. Opts: (null)
+<7>[ 7.253835] SELinux: initialized (dev nandd, type ext4), uses xattr
+<4>[ 7.261692] [Read_single_page] NFC_ReadRetry 2 cycles, ch =0, chip = 0
+<4>[ 7.261710] [Read_single_page] block = 562, page = 18, RetryCount = 2
+<6>[ 7.267275] EXT4-fs (nandh): mounted filesystem with ordered data mode. Opts: nomblk_io_submit,errors=remount-ro
+<7>[ 7.267332] SELinux: initialized (dev nandh, type ext4), uses xattr
+<4>[ 7.269991] set retry default value: 0 0 0 0
+<4>[ 7.271032] [ND]flush cache 1 0!
+<6>[ 7.340119] fs_mgr: Running /system/bin/e2fsck on /dev/block/by-name/cache
+<4>[ 7.342920] PHY_PageRead: ecc limit, 0x0, 0xa, 0x0, 0x0
+<4>[ 7.342935] bank 0 block 0x159,page 0xe0
+<4>[ 7.342943] secbitmap low: 0xffffffff, high 0xffffffff
+<4>[ 7.344395] PHY_PageRead: ecc limit, 0xa, 0x0, 0x0, 0x0
+<4>[ 7.344406] bank 0 block 0x14d,page 0xce
+<4>[ 7.344414] secbitmap low: 0xffffffff, high 0xffffffff
+<4>[ 7.355370] PHY_PageRead: ecc limit, 0xa, 0x0, 0x0, 0x0
+<4>[ 7.355388] bank 0 block 0x14c,page 0x34
+<4>[ 7.355396] secbitmap low: 0xffffffff, high 0xffffffff
+<4>[ 7.360065] [Read_single_page] NFC_ReadRetry 2 cycles, ch =0, chip = 0
+<4>[ 7.360080] [Read_single_page] block = 664, page = 116, RetryCount = 2
+<4>[ 7.420744] set retry default value: 0 0 0 0
+<4>[ 7.424419] [ND]flush cache 2 0!
+<6>[ 7.425237] e2fsck: e2fsck 1.41.14 (22-Dec-2010)
+<6>[ 7.425339] e2fsck: /dev/block/by-name/cache: clean, 15/32768 files, 4210/131072 blocks
+<6>[ 7.429459] EXT4-fs (nandh): mounted filesystem with ordered data mode. Opts: nomblk_io_submit,barrier=1
+<7>[ 7.429514] SELinux: initialized (dev nandh, type ext4), uses xattr
+<4>[ 7.435913] [Read_single_page] NFC_ReadRetry 2 cycles, ch =0, chip = 0
+<4>[ 7.435930] [Read_single_page] block = 560, page = 98, RetryCount = 2
+<7>[ 7.445628] EXT4-fs (nande): ext4_orphan_cleanup: deleting unreferenced inode 57896
+<7>[ 7.453194] EXT4-fs (nande): ext4_orphan_cleanup: deleting unreferenced inode 57703
+<6>[ 7.453670] EXT4-fs (nande): 2 orphan inodes deleted
+<6>[ 7.453682] EXT4-fs (nande): recovery complete
+<6>[ 7.459867] EXT4-fs (nande): mounted filesystem with ordered data mode. Opts: nomblk_io_submit,errors=remount-ro
+<7>[ 7.459934] SELinux: initialized (dev nande, type ext4), uses xattr
+<4>[ 7.464209] set retry default value: 0 0 0 0
+<4>[ 7.486915] [ND]flush cache 8 0!
+<6>[ 7.560093] fs_mgr: Running /system/bin/e2fsck on /dev/block/by-name/data
+<4>[ 7.572131] [Read_single_page] NFC_ReadRetry 2 cycles, ch =0, chip = 0
+<4>[ 7.572149] [Read_single_page] block = 561, page = 90, RetryCount = 2
+<4>[ 7.576348] set retry default value: 0 0 0 0
+<4>[ 7.579953] [ND]flush cache 2 0!
+<6>[ 7.580905] e2fsck: e2fsck 1.41.14 (22-Dec-2010)
+<6>[ 7.580961] e2fsck: /dev/block/by-name/data: clean, 875/65536 files, 33260/262144 blocks
+<6>[ 7.584971] EXT4-fs (nande): mounted filesystem with ordered data mode. Opts: nomblk_io_submit,barrier=1,noauto_da_alloc
+<7>[ 7.585028] SELinux: initialized (dev nande, type ext4), uses xattr
+<6>[ 7.585831] init: command 'mount_all' r=0
+<6>[ 7.585900] init: command 'setprop' r=0
+<4>[ 7.595220] [Read_single_page] NFC_ReadRetry 2 cycles, ch =0, chip = 0
+<4>[ 7.595236] [Read_single_page] block = 578, page = 188, RetryCount = 2
+<6>[ 7.861344] [DISP]disp_module_init
+<6>[ 7.862307] [DISP]disp_probe
+<4>[ 7.870511] [DISP] *****************************************************************
+<4>[ 7.870528] [DISP] ***
+<4>[ 7.870536] [DISP] *** LCD Panel Parameter Check
+<4>[ 7.870545] [DISP] ***
+<4>[ 7.870553] [DISP] *** by guozhenjie
+<4>[ 7.870562] [DISP] ***
+<4>[ 7.870569] [DISP] *****************************************************************
+<4>[ 7.870581] [DISP] ***
+<4>[ 7.870588] [DISP] *** Interface:
+<4>[ 7.870597] [DISP] *** 18Bit LVDS Panel
+<4>[ 7.870607] [DISP] *** Lcd Frm to RGB666
+<4>[ 7.870616] [DISP] ***
+<4>[ 7.870624] [DISP] *** Timing:
+<4>[ 7.870632] [DISP] *** lcd_x: 1024
+<4>[ 7.870641] [DISP] *** lcd_y: 600
+<4>[ 7.870651] [DISP] *** lcd_ht: 1344
+<4>[ 7.870660] [DISP] *** lcd_hbp: 158
+<4>[ 7.870669] [DISP] *** lcd_vt: 635
+<4>[ 7.870678] [DISP] *** lcd_vbp: 25
+<4>[ 7.870687] [DISP] *** lcd_hspw: 20
+<4>[ 7.870696] [DISP] *** lcd_vspw: 3
+<4>[ 7.870705] [DISP] *** lcd_frame_frq: 72Hz
+<4>[ 7.870714] [DISP] ***
+<4>[ 7.870722] [DISP] *** WRN03: Recommend "lcd_dclk_frq = 51"
+<4>[ 7.870734] [DISP] ***
+<4>[ 7.870741] [DISP] *** LCD Panel Parameter Check End
+<4>[ 7.870751] [DISP] *****************************************************************
+<6>[ 7.871507] [DISP]Fb_Init
+<4>[ 7.871640] [DISP] parser_disp_init_para,line:130: fetch script data disp_init.screen2_output_type fail
+<4>[ 7.871660] [DISP] parser_disp_init_para,line:147: fetch script data disp_init.screen2_output_mode fail
+<4>[ 7.871685] [DISP] parser_disp_init_para,line:208: fetch script data disp_init.fb2_format fail
+<4>[ 7.871700] [DISP] parser_disp_init_para,line:213: fetch script data disp_init.fb2_scaler_mode_enable fail
+<4>[ 7.871715] [DISP] parser_disp_init_para,line:218: fetch script data disp_init.fb2_width fail
+<4>[ 7.871729] [DISP] parser_disp_init_para,line:223: fetch script data disp_init.fb2_height fail
+<6>[ 7.871924] sunxi_map_kernel ok, phys_addr=0x43100000, size=0x4c0000, virt_addr=0xf06c5000
+<6>[ 7.877853] [DISP]disp_probe finish
+<6>[ 7.878021] [DISP]capture_module_init
+<6>[ 7.878525] [DISP]capture_probe
+<6>[ 7.878596] [DISP]capture finish
+<6>[ 7.878605] [DISP]disp_module_init finish
+<6>[ 7.884985] init: command 'insmod' r=0
+<6>[ 7.945549] [LCD]lcd_module_init
+<6>[ 7.950304] [LCD]open, step 0 finish
+<6>[ 8.030029] [LCD]open, step 1 finish
+<6>[ 8.050070] [LCD]open, step 2 finish
+<6>[ 8.260140] [LCD]open, step 3 finish
+<6>[ 8.270211] [LCD]lcd_module_init finish
+<6>[ 8.271648] init: command 'insmod' r=0
+<6>[ 8.461440] Get mali parameter successfully
+<6>[ 8.461498] Init Mali gpu successfully
+<4>[ 8.463298] Mali: Mali device driver loaded
+<6>[ 8.467633] init: command 'insmod' r=0
+<3>[ 8.471587] no blue_led, ignore it!
+<7>[ 8.476095] Registered led device: red_led
+<7>[ 8.476322] Registered led device: green_led
+<6>[ 8.476428] init: command 'insmod' r=0
+<6>[ 8.476486] init: processing action 0x59170 (console_init)
+<3>[ 8.477409] init: width = 1024
+<3>[ 8.480855] init: height = 600
+<3>[ 8.484247] init: s.st_size = 2457600
+<6>[ 8.517110] init: command 'console_init' r=0
+<6>[ 8.517185] init: processing action 0x55de0 (fs)
+<3>[ 8.517843] init: dont need format /dev/block/by-name/UDISK
+<6>[ 8.523874] init: command 'format_userdata' r=1
+<6>[ 8.529371] init: command 'mkdir' r=0
+<6>[ 8.541626] init: command 'insmod' r=0
+<6>[ 8.550197] init: command 'insmod' r=0
+<6>[ 8.550364] init: command 'insmod' r=-1
+<6>[ 8.569186] init: command 'insmod' r=0
+<6>[ 8.576439] init: command 'insmod' r=0
+<6>[ 8.589595] init: command 'insmod' r=0
+<6>[ 8.606771] init: command 'insmod' r=0
+<5>[ 8.665916] [VFE]Welcome to Video Front End driver
+<5>[ 8.666489] [VFE]pdev->id = 0
+<5>[ 8.666499] [VFE]dev->mipi_sel = 0
+<5>[ 8.666506] [VFE]dev->vip_sel = 0
+<5>[ 8.666513] [VFE]dev->isp_sel = 0
+<4>[ 8.672671] [VFE_WARN]vfe vpu clock is null
+<4>[ 8.673272] [VFE_WARN]os_gpio_request failed, gpio_name=, gpio=144, ret=0xfffffff0, -16
+<4>[ 8.673314] [ISP] isp platform_id = 3!
+<4>[ 8.673326] [ISP] isp isp_get_driver = bf21f078!
+<5>[ 8.673488] [VFE]vfe_init end
+<6>[ 8.674916] init: command 'insmod' r=0
+<6>[ 8.675568] init: command 'chmod' r=0
+<6>[ 8.675842] init: command 'chown' r=0
+<6>[ 8.676047] init: command 'chmod' r=0
+<6>[ 8.676134] init: command 'chmod' r=0
+<6>[ 8.676219] init: command 'chown' r=0
+<6>[ 8.676300] init: command 'chown' r=0
+<6>[ 8.676363] init: command 'chown' r=-2
+<6>[ 8.676569] init: command 'chown' r=-30
+<6>[ 8.676781] init: command 'chown' r=0
+<6>[ 8.676857] init: command 'setprop' r=0
+<6>[ 8.677044] init: command 'chmod' r=0
+<6>[ 8.677190] init: command 'chmod' r=-2
+<6>[ 8.677310] init: command 'chown' r=0
+<6>[ 8.677453] init: command 'chown' r=-2
+<6>[ 8.677560] Bluetooth: bluesleep_get_uart_port enter.
+<6>[ 8.677572] Bluetooth: bluesleep_get_uart_port get uart_port from blusleep_uart_dev: uart, port irq: 33
+<6>[ 8.677579]
+<4>[ 8.677586] bluesleep_acquire irq
+<6>[ 8.677767] init: command 'write' r=0
+<5>[ 8.680096] [VFE]probe_work_handle start!
+<5>[ 8.680127] [VFE]v4l2 subdev register input_num = 0
+<5>[ 8.680138] [VFE]dev->ccm_cfg[0]->ccm = gc0308,dev->ccm_cfg[1]->ccm = gc0308.
+<5>[ 8.680148] [VFE]set is_same_module to 1.
+<4>[ 8.680216] axp22_dldo3: Failed to create debugfs directory
+<4>[ 8.680236] axp22_ldoio0: Failed to create debugfs directory
+<4>[ 8.680255] axp22_eldo2: Failed to create debugfs directory
+<5>[ 8.680266] [VFE]vfe sensor detect start! input_num = 0
+<5>[ 8.680286] [VFE]Find sensor name is "gc0308", i2c address is 42, type is "YUV" !
+<5>[ 8.680298] [VFE]Sub device register "gc0308" i2c_addr = 0x42 start!
+<5>[ 8.681130] [VFE]registered sensor subdev is OK!
+<5>[ 8.681142] [VFE]Check sensor!
+<7>[ 8.689173] [sw_device]:sw_device_init begin!
+<4>[ 8.689434] keyname:ctp_para subname:ctp_power_io ,get error!
+<7>[ 8.689448] [sw_device]:get_power_para: power_ldo = axp22_eldo1,power_ldo_vol = 3000,power_io = 0,reset_pin = 225
+<4>[ 8.689505] axp22_eldo1: Failed to create debugfs directory
+<7>[ 8.689519] [sw_device]:sw_device_init begin!
+<6>[ 8.689830] init: command 'insmod' r=0
+<6>[ 8.698617] input: sunxi-keyboard as /devices/virtual/input/input3
+<6>[ 8.699210] init: command 'insmod' r=0
+<7>[ 8.710101] [sw_device]:sw_devices_events begin!
+<7>[ 8.710125] [sw_device]:sw_register_device_detect begin!
+<7>[ 8.710195] ========sw_sysconfig_get_para===================
+<7>[ 8.710217] sw_sysconfig_get_para: device_twi_id is 1.
+<7>[ 8.711678] ;Behind the equals sign said detected equipment corresponding to the name of the driver
+<7>[ 8.711688] ;Note: don't change the file format!
+<7>[ 8.711692] gsensor_module_name="mxc622x"
+<7>[ 8.711696] ctp_module_name="gslX680"
+<7>[ 8.711700] light sensor_module_name=""
+<7>[ 8.711703] gyr sensor_module_name=""
+<7>[ 8.711707] :strlen(src_string):235
+<7>[ 8.711729] sw_analytic_write_info:total_raw:7
+<7>[ 8.711740] config_info[6].str_info:
+<7>[ 8.711747] config_info[5].str_info:gyr sensor_module_name=""
+<7>[ 8.711752]
+<7>[ 8.711760] config_info[4].str_info:light sensor_module_name=""
+<7>[ 8.711765]
+<7>[ 8.711772] config_info[3].str_info:ctp_module_name="gslX680"
+<7>[ 8.711777]
+<7>[ 8.711784] config_info[2].str_info:gsensor_module_name="mxc622x"
+<7>[ 8.711789]
+<7>[ 8.711796] info:gsensor_module_name="mxc622x"
+<7>[ 8.711801] , key_name:gsensor_module_name
+<7>[ 8.711812] ----ret : 21,s1 : 28---
+<7>[ 8.711815]
+<7>[ 8.711822] name:mxc622x
+<7>[ 8.711829] device_name:mxc622x,write_id:2
+<7>[ 8.711836] number: 11
+<7>[ 8.711845] number:14 now_number:11,scan_number:0
+<7>[ 8.711853] scan_number:0, now_number:11
+<7>[ 8.711868] sw_device_response_test: name = mxc622x, addr = 0x15
+<7>[ 8.712131] I2C connection sucess!
+<7>[ 8.712142] -----sw_chip_id_detect:chip_id_reg value:0x0
+<7>[ 8.712151] from copy name:mxc622x, strlen(name):7
+<7>[ 8.712160] sw_i2c_test: write_key_name:gsensor_module_name
+<7>[ 8.712169] write_flag:0
+<7>[ 8.712178] [sw_device]:sw_register_device_detect end!
+<7>[ 8.712186] [sw_device]:sw_register_device_detect begin!
+<7>[ 8.712206] ========sw_sysconfig_get_para===================
+<7>[ 8.712224] sw_sysconfig_get_para: device_unused.
+<4>[ 8.712232] get sysconfig para erro!
+<7>[ 8.712241] [sw_device]:sw_register_device_detect end!
+<7>[ 8.712249] [sw_device]:sw_register_device_detect begin!
+<7>[ 8.712266] ========sw_sysconfig_get_para===================
+<7>[ 8.712277] sw_sysconfig_get_para: device_unused.
+<4>[ 8.712286] get sysconfig para erro!
+<7>[ 8.712294] [sw_device]:sw_register_device_detect end!
+<4>[ 8.712370] ctp_wakeup: !!!!gpio data 1
+<6>[ 8.718079] init: command 'insmod' r=0
+<6>[ 8.735139] usbcore: registered new interface driver asix
+<6>[ 8.735523] init: command 'insmod' r=0
+<5>[ 8.740188] [VFE]mclk on
+<6>[ 8.750434] usbcore: registered new interface driver qf9700
+<6>[ 8.750822] init: command 'insmod' r=0
+<4>[ 8.761980] set retry default value: 0 0 0 0
+<6>[ 8.767136] usbcore: registered new interface driver MOSCHIP usb-ethernet driver
+<6>[ 8.767497] init: command 'insmod' r=0
+<6>[ 8.781995] usbcore: registered new interface driver rtl8150
+<6>[ 8.782368] init: command 'insmod' r=0
+<4>[ 8.787562] [Read_single_page] NFC_ReadRetry 2 cycles, ch =0, chip = 0
+<4>[ 8.787580] [Read_single_page] block = 578, page = 176, RetryCount = 2
+<6>[ 8.798540] usbcore: registered new interface driver cdc_ether
+<6>[ 8.798879] init: command 'insmod' r=0
+<6>[ 8.799076] init: command 'chown' r=0
+<6>[ 8.799134] init: command 'chmod' r=0
+<6>[ 8.799184] init: command 'chown' r=0
+<6>[ 8.799227] init: command 'chmod' r=0
+<6>[ 8.799274] init: command 'chown' r=0
+<6>[ 8.799318] init: command 'chmod' r=0
+<6>[ 8.799356] init: processing action 0x47ab8 (post-fs)
+<6>[ 8.799683] init: command 'mkdir' r=0
+<6>[ 8.800856] init: command 'mkdir' r=0
+<6>[ 8.819706] init: command 'insmod' r=0
+<6>[ 8.819842] init: command 'mount' r=0
+<6>[ 8.819927] init: command 'mount' r=0
+<6>[ 8.819975] init: command 'mount' r=0
+<7>[ 8.820101] [sw_device]:sw_register_device_detect begin!
+<7>[ 8.820159] ========sw_sysconfig_get_para===================
+<7>[ 8.820183] sw_sysconfig_get_para: device_twi_id is 0.
+<4>[ 8.820197] get_device_para_value:get subname:hc540 error! val.val:0
+<7>[ 8.820206] keyname:ctp_list_para subname:hc540 ,get error!
+<4>[ 8.820215] get_detect_list: script_get_item err.support_number = 11.
+<7>[ 8.820301] ;Behind the equals sign said detected equipment corresponding to the name of the driver
+<7>[ 8.820308] ;Note: don't change the file format!
+<7>[ 8.820312] gsensor_module_name="mxc622x"
+<7>[ 8.820316] ctp_module_name="gslX680"
+<7>[ 8.820319] light sensor_module_name=""
+<7>[ 8.820323] gyr sensor_module_name=""
+<7>[ 8.820326] :strlen(src_string):235
+<6>[ 8.820333] init: command 'chown' r=0
+<7>[ 8.820352] sw_analytic_write_info:total_raw:7
+<7>[ 8.820361] config_info[6].str_info:
+<7>[ 8.820369] config_info[5].str_info:gyr sensor_module_name=""
+<7>[ 8.820374]
+<7>[ 8.820381] config_info[4].str_info:light sensor_module_name=""
+<7>[ 8.820386]
+<7>[ 8.820393] config_info[3].str_info:ctp_module_name="gslX680"
+<7>[ 8.820398]
+<6>[ 8.820403] init: command 'chmod' r=0
+<7>[ 8.820412] info:ctp_module_name="gslX680"
+<7>[ 8.820416] , key_name:ctp_module_name
+<7>[ 8.820427] ----ret : 17,s1 : 24---
+<7>[ 8.820431]
+<7>[ 8.820437] name:gslX680
+<7>[ 8.820444] device_name:gslX680,write_id:3
+<7>[ 8.820453] number: 2
+<7>[ 8.820462] number:12 now_number:2,scan_number:0
+<7>[ 8.820470] scan_number:0, now_number:2
+<7>[ 8.820483] sw_device_response_test: name = gslX680, addr = 0x40
+<7>[ 8.820697] I2C connection sucess!
+<6>[ 8.820707] init: command 'restorecon' r=0
+<7>[ 8.820719] addr:0x14, response_addr:0x40
+<7>[ 8.820755] addr:0x5d, response_addr:0x40
+<7>[ 8.820763] addr:0x5d, response_addr:0x40
+<7>[ 8.820771] addr:0x76, response_addr:0x40
+<7>[ 8.820779] addr:0x38, response_addr:0x40
+<7>[ 8.820787] addr:0x40, response_addr:0x40
+<7>[ 8.820795] return number: 11
+<7>[ 8.820802] -----sw_chip_id_detect:chip_id_reg value:0x0
+<7>[ 8.820812] from copy name:gslX680, strlen(name):7
+<7>[ 8.820821] sw_i2c_test: write_key_name:ctp_module_name
+<7>[ 8.820830] write_flag:0
+<7>[ 8.820838] [sw_device]:sw_register_device_detect end!
+<7>[ 8.821009] [sw_device]:sw_devices_events end!
+<6>[ 8.823701] init: command 'chown' r=0
+<6>[ 8.823776] init: command 'chmod' r=0
+<6>[ 8.824034] init: command 'restorecon' r=0
+<6>[ 8.824185] init: command 'chown' r=0
+<6>[ 8.824264] init: command 'chmod' r=0
+<6>[ 8.824337] init: command 'chown' r=0
+<6>[ 8.824407] init: command 'chmod' r=0
+<6>[ 8.824526] init: command 'chown' r=0
+<6>[ 8.824596] init: command 'chmod' r=0
+<6>[ 8.824664] init: command 'chown' r=0
+<6>[ 8.824731] init: command 'chmod' r=0
+<6>[ 8.824797] init: command 'chown' r=-2
+<6>[ 8.824841] init: command 'chmod' r=-2
+<6>[ 8.825191] init: command 'mkdir' r=0
+<6>[ 8.825236] init: processing action 0x4de38 (post-fs-data)
+<6>[ 8.825307] init: command 'chown' r=0
+<6>[ 8.825352] init: command 'chmod' r=0
+<6>[ 8.825515] init: command 'restorecon' r=0
+<6>[ 8.827781] init: command 'copy' r=0
+<6>[ 8.829675] init: command 'mkdir' r=0
+<6>[ 8.829749] init: command 'copy' r=-1
+<6>[ 8.831163] init: command 'chown' r=-2
+<6>[ 8.831208] init: command 'chmod' r=-2
+<6>[ 8.831247] init: command 'copy' r=-1
+<6>[ 8.831299] init: command 'chown' r=-2
+<6>[ 8.831331] init: command 'chmod' r=-2
+<6>[ 8.831364] init: command 'write' r=-2
+<6>[ 8.831700] init: command 'mkdir' r=0
+<6>[ 8.832036] init: command 'mkdir' r=0
+<6>[ 8.832334] init: command 'mkdir' r=0
+<6>[ 8.832579] init: command 'mkdir' r=0
+<6>[ 8.832893] init: command 'mkdir' r=0
+<6>[ 8.833170] init: command 'mkdir' r=0
+<6>[ 8.833407] init: command 'mkdir' r=0
+<6>[ 8.833680] init: command 'mkdir' r=0
+<6>[ 8.833964] init: command 'mkdir' r=0
+<6>[ 8.834257] init: command 'mkdir' r=0
+<6>[ 8.834551] init: command 'mkdir' r=0
+<6>[ 8.834849] init: command 'mkdir' r=0
+<6>[ 8.836356] init: command 'chmod' r=0
+<6>[ 8.836431] init: command 'chown' r=0
+<6>[ 8.836771] init: command 'mkdir' r=0
+<6>[ 8.837070] init: command 'mkdir' r=0
+<6>[ 8.837121] init: command 'chown' r=0
+<6>[ 8.838720] init: command 'mkdir' r=0
+<6>[ 8.840386] init: command 'mkdir' r=0
+<6>[ 8.840698] init: command 'mkdir' r=0
+<6>[ 8.842355] init: command 'mkdir' r=0
+<6>[ 8.844586] init: command 'mkdir' r=0
+<6>[ 8.846520] init: command 'mkdir' r=0
+<6>[ 8.846876] init: command 'mkdir' r=0
+<6>[ 8.847178] init: command 'mkdir' r=0
+<6>[ 8.847458] init: command 'mkdir' r=0
+<6>[ 8.847710] init: command 'mkdir' r=0
+<6>[ 8.847982] init: command 'mkdir' r=0
+<6>[ 8.848490] init: command 'mkdir' r=0
+<6>[ 8.848828] init: command 'mkdir' r=0
+<6>[ 8.849106] init: command 'mkdir' r=0
+<6>[ 8.849155] init: command 'chown' r=0
+<6>[ 8.849203] init: command 'chmod' r=0
+<6>[ 8.849465] init: command 'mkdir' r=0
+<6>[ 8.849744] init: command 'mkdir' r=0
+<6>[ 8.850083] init: command 'mkdir' r=0
+<6>[ 8.850157] init: command 'symlink' r=-1
+<6>[ 8.850485] init: command 'mkdir' r=0
+<6>[ 8.850705] init: computing context for service '/system/bin/busybox'
+<5>[ 8.852951] init: starting 'precopy'
+<6>[ 8.853561] init: command 'start' r=0
+<6>[ 8.853621] init: command 'setprop' r=0
+<6>[ 8.853843] init: computing context for service '/system/bin/busybox'
+<5>[ 8.854077] init: starting 'bootclone'
+<6>[ 8.854646] init: command 'start' r=0
+<6>[ 8.854786] init: processing action 0x532c8 (post-fs-data)
+<6>[ 8.855040] init: command 'chown' r=0
+<6>[ 8.855189] init: command 'chmod' r=0
+<6>[ 8.855288] init: command 'chown' r=0
+<6>[ 8.855372] init: command 'chmod' r=0
+<6>[ 8.855426] init: processing action 0x55db0 (post-fs-data)
+<6>[ 8.855442] init: processing action 0x591b8 (mix_hwrng_into_linux_rng)
+<3>[ 8.855492] init: /dev/hw_random not found
+<6>[ 8.860131] init: command 'mix_hwrng_into_linux_rng' r=0
+<6>[ 8.860173] init: processing action 0x59200 (property_service_init)
+<4>[ 8.896583] [VFE_WARN]os_gpio_set_status, hdl is NULL
+<4>[ 8.896611] [VFE_WARN]os_gpio_set_status, hdl is NULL
+<3>[ 8.903189] meminfo_proc_show: fake_dram script_get_item err.
+<6>[ 8.909821] init: MemTotal: 1048576KB
+<6>[ 8.918198] init: Created socket '/dev/socket/property_service' with mode '666', user '0', group '0'
+<6>[ 8.918512] init: command 'property_service_init' r=0
+<6>[ 8.918558] init: processing action 0x59248 (signal_init)
+<6>[ 8.918722] init: command 'signal_init' r=0
+<6>[ 8.918758] init: processing action 0x59290 (check_startup)
+<6>[ 8.918850] init: command 'check_startup' r=0
+<6>[ 8.918874] init: processing action 0x4e7a0 (boot)
+<6>[ 8.920272] init: command 'ifup' r=0
+<6>[ 8.920478] init: command 'hostname' r=0
+<6>[ 8.920559] init: command 'domainname' r=0
+<6>[ 8.920662] init: command 'chmod' r=0
+<6>[ 8.920721] init: command 'chown' r=0
+<6>[ 8.920750] init: command 'setrlimit' r=0
+<6>[ 8.920852] init: command 'write' r=0
+<6>[ 8.920942] init: command 'write' r=0
+<6>[ 8.921023] init: command 'chown' r=0
+<6>[ 8.921075] init: command 'chmod' r=0
+<6>[ 8.921125] init: command 'chown' r=0
+<6>[ 8.921172] init: command 'chmod' r=0
+<6>[ 8.921250] init: command 'write' r=0
+<6>[ 8.921324] init: command 'write' r=0
+<6>[ 8.921375] init: command 'chown' r=-2
+<6>[ 8.921418] init: command 'chown' r=-2
+<6>[ 8.921465] init: command 'chown' r=-2
+<6>[ 8.921512] init: command 'chown' r=-2
+<6>[ 8.921561] init: command 'chown' r=-2
+<6>[ 8.921634] init: command 'chown' r=-2
+<6>[ 8.921721] init: command 'chown' r=0
+<6>[ 8.921776] init: command 'chown' r=0
+<6>[ 8.921829] init: command 'chown' r=0
+<6>[ 8.921885] init: command 'chown' r=0
+<6>[ 8.921936] init: command 'chmod' r=0
+<6>[ 8.921988] init: command 'chmod' r=0
+<6>[ 8.922042] init: command 'chmod' r=0
+<6>[ 8.922123] init: command 'chown' r=-2
+<6>[ 8.922192] init: command 'chmod' r=-2
+<6>[ 8.922258] init: command 'chown' r=-2
+<6>[ 8.922324] init: command 'chmod' r=-2
+<6>[ 8.922392] init: command 'chown' r=-2
+<6>[ 8.922465] init: command 'chmod' r=-2
+<6>[ 8.922532] init: command 'chown' r=-2
+<6>[ 8.922603] init: command 'chmod' r=-2
+<6>[ 8.922670] init: command 'chown' r=-2
+<6>[ 8.922725] init: command 'chmod' r=-2
+<6>[ 8.922782] init: command 'chown' r=-2
+<6>[ 8.922839] init: command 'chmod' r=-2
+<6>[ 8.922896] init: command 'chown' r=-2
+<6>[ 8.922952] init: command 'chmod' r=-2
+<6>[ 8.923009] init: command 'chown' r=-2
+<6>[ 8.923066] init: command 'chmod' r=-2
+<6>[ 8.923124] init: command 'chown' r=-2
+<6>[ 8.923181] init: command 'chown' r=-2
+<6>[ 8.923238] init: command 'chmod' r=-2
+<6>[ 8.923298] init: command 'chown' r=-2
+<6>[ 8.923353] init: command 'chmod' r=-2
+<6>[ 8.923412] init: command 'chown' r=-2
+<6>[ 8.923469] init: command 'chmod' r=-2
+<6>[ 8.923553] init: command 'chown' r=0
+<6>[ 8.923613] init: command 'chmod' r=0
+<6>[ 8.923670] init: command 'chown' r=0
+<6>[ 8.923723] init: command 'chmod' r=0
+<6>[ 8.923787] init: command 'chown' r=0
+<6>[ 8.923845] init: command 'chmod' r=0
+<6>[ 8.923907] init: command 'chown' r=0
+<6>[ 8.923956] init: command 'chmod' r=0
+<6>[ 8.924021] init: command 'chown' r=-2
+<6>[ 8.924078] init: command 'chmod' r=-2
+<6>[ 8.924134] init: command 'chown' r=-2
+<6>[ 8.924191] init: command 'chmod' r=-2
+<6>[ 8.924241] init: command 'chown' r=-2
+<6>[ 8.924288] init: command 'chown' r=-2
+<6>[ 8.924345] init: command 'chown' r=-2
+<6>[ 8.924400] init: command 'chown' r=-2
+<6>[ 8.924450] init: command 'chmod' r=-2
+<6>[ 8.924500] init: command 'chown' r=-2
+<6>[ 8.924549] init: command 'chmod' r=-2
+<6>[ 8.924680] init: command 'chown' r=0
+<6>[ 8.924769] init: command 'chmod' r=0
+<6>[ 8.924827] init: command 'chown' r=-2
+<6>[ 8.924882] init: command 'chown' r=-2
+<6>[ 8.924935] init: command 'chown' r=-2
+<6>[ 8.924989] init: command 'chown' r=-2
+<6>[ 8.925039] init: command 'chown' r=-2
+<6>[ 8.925088] init: command 'chown' r=-2
+<6>[ 8.925138] init: command 'chown' r=-2
+<6>[ 8.925192] init: command 'chown' r=-2
+<6>[ 8.925250] init: command 'chown' r=-2
+<6>[ 8.925308] init: command 'chown' r=-2
+<6>[ 8.925358] init: command 'chown' r=-2
+<6>[ 8.925409] init: command 'chown' r=-2
+<6>[ 8.925458] init: command 'chown' r=-2
+<6>[ 8.925507] init: command 'chown' r=-2
+<6>[ 8.925557] init: command 'chown' r=-2
+<6>[ 8.925605] init: command 'chown' r=-2
+<6>[ 8.925655] init: command 'chown' r=-2
+<6>[ 8.925709] init: command 'chown' r=-2
+<6>[ 8.925761] init: command 'chown' r=-2
+<6>[ 8.925820] init: command 'chown' r=0
+<6>[ 8.925870] init: command 'chown' r=0
+<6>[ 8.925919] init: command 'chown' r=0
+<6>[ 8.925968] init: command 'chown' r=0
+<6>[ 8.926017] init: command 'chown' r=0
+<6>[ 8.926064] init: command 'chown' r=0
+<6>[ 8.926217] init: command 'chown' r=0
+<6>[ 8.926331] init: command 'chown' r=0
+<6>[ 8.926427] init: command 'setprop' r=0
+<6>[ 8.926487] init: command 'setprop' r=0
+<6>[ 8.926551] init: command 'setprop' r=0
+<6>[ 8.926626] init: command 'setprop' r=0
+<6>[ 8.926703] init: command 'setprop' r=0
+<6>[ 8.926781] init: command 'setprop' r=0
+<6>[ 8.926844] init: command 'setprop' r=0
+<6>[ 8.926909] init: command 'setprop' r=0
+<6>[ 8.926972] init: command 'setprop' r=0
+<6>[ 8.927036] init: command 'setprop' r=0
+<6>[ 8.927101] init: command 'setprop' r=0
+<6>[ 8.927137] init: command 'setprop' r=0
+<6>[ 8.927170] init: command 'setprop' r=0
+<5>[ 8.927413] init: starting 'healthd'
+<5>[ 8.927725] [VFE]mclk off
+<6>[ 8.928662] init: computing context for service '/system/bin/lights_leds.sh'
+<5>[ 8.928942] init: starting 'lights_leds'
+<6>[ 8.930631] init: computing context for service '/system/bin/servicemanager'
+<5>[ 8.931027] init: starting 'servicemanager'
+<6>[ 8.932249] init: computing context for service '/system/bin/vold'
+<5>[ 8.932609] init: starting 'vold'
+<6>[ 8.933416] init: command 'class_start' r=0
+<6>[ 8.933866] init: computing context for service '/system/bin/netd'
+<6>[ 8.934076] binder: 113:113 transaction failed 29189, size 0-0
+<5>[ 8.934158] init: starting 'netd'
+<6>[ 8.934795] init: Created socket '/dev/socket/vold' with mode '660', user '0', group '1009'
+<6>[ 8.935434] init: computing context for service '/system/bin/debuggerd'
+<5>[ 8.935781] init: starting 'debuggerd'
+<6>[ 8.936859] init: Created socket '/dev/socket/mdns' with mode '660', user '0', group '1000'
+<6>[ 8.936871] init: computing context for service '/system/bin/surfaceflinger'
+<5>[ 8.937159] init: starting 'surfaceflinger'
+<6>[ 8.937564] init: Created socket '/dev/socket/dnsproxyd' with mode '660', user '0', group '3003'
+<6>[ 8.938263] init: Created socket '/dev/socket/netd' with mode '660', user '0', group '1000'
+<6>[ 8.938277] init: computing context for service '/system/bin/app_process'
+<5>[ 8.938607] init: starting 'zygote'
+<6>[ 8.939783] init: computing context for service '/system/bin/drmserver'
+<5>[ 8.940164] init: starting 'drm'
+<6>[ 8.940613] init: Created socket '/dev/socket/zygote' with mode '660', user '0', group '1000'
+<6>[ 8.941281] init: computing context for service '/system/bin/mediaserver'
+<5>[ 8.941595] init: starting 'media'
+<6>[ 8.942653] init: computing context for service '/system/bin/installd'
+<5>[ 8.942982] init: starting 'installd'
+<3>[ 8.943730] init: cannot find '/system/etc/install-recovery.sh', disabling 'flash_recovery'
+<6>[ 8.944707] init: Created socket '/dev/socket/installd' with mode '600', user '1000', group '1000'
+<5>[ 8.950118] [VFE]mclk on
+<6>[ 8.953703] init: computing context for service '/system/bin/keystore'
+<5>[ 8.953988] init: starting 'keystore'
+<6>[ 8.955299] init: computing context for service '/system/bin/checksum.sh'
+<5>[ 8.955665] init: starting 'checksum'
+<6>[ 8.956755] init: computing context for service '/system/bin/setbtmacaddr'
+<5>[ 8.957020] init: starting 'engsetbtmacaddr'
+<6>[ 8.957974] init: computing context for service '/system/bin/setmacaddr'
+<5>[ 8.958192] init: starting 'engsetmacaddr'
+<3>[ 8.958877] init: cannot find '/system/bin/checkota.sh', disabling 'checkota'
+<4>[ 8.962204] [CSI][GC0308]enable oe!
+<6>[ 8.967399] init: computing context for service '/system/bin/shell_cmd_service'
+<5>[ 8.967638] init: starting 'shcmd'
+<6>[ 8.968240] init: command 'class_start' r=0
+<6>[ 8.968387] init: processing action 0x58cd0 (boot)
+<6>[ 8.968553] init: command 'chmod' r=0
+<6>[ 8.968640] init: command 'chown' r=0
+<6>[ 8.968700] init: command 'chown' r=0
+<6>[ 8.968756] init: command 'chown' r=0
+<6>[ 8.968819] init: command 'chown' r=0
+<6>[ 8.968880] init: command 'chown' r=0
+<6>[ 8.968980] init: command 'chown' r=0
+<6>[ 8.969049] init: command 'chown' r=0
+<6>[ 8.969115] init: command 'chown' r=0
+<6>[ 8.969192] init: command 'chown' r=0
+<6>[ 8.969248] init: command 'chown' r=0
+<6>[ 8.969305] init: command 'chmod' r=0
+<6>[ 8.969352] init: command 'chmod' r=0
+<6>[ 8.969397] init: command 'chmod' r=0
+<6>[ 8.969446] init: command 'chmod' r=0
+<6>[ 8.969495] init: command 'chmod' r=0
+<6>[ 8.969545] init: command 'chmod' r=0
+<6>[ 8.969591] init: command 'chmod' r=0
+<6>[ 8.969639] init: command 'chmod' r=0
+<6>[ 8.969686] init: command 'chmod' r=0
+<6>[ 8.969730] init: command 'chmod' r=0
+<6>[ 9.000245] init: command 'chown' r=0
+<5>[ 9.002512] [VFE]mclk off
+<5>[ 9.002598] [VFE]mclk on
+<4>[ 9.047093] [CSI][GC0308]disalbe oe!
+<6>[ 9.050255] init: command 'chmod' r=0
+<6>[ 9.050365] init: processing action 0x592d8 (queue_property_triggers)
+<6>[ 9.050541] init: command 'queue_property_triggers' r=0
+<6>[ 9.050567] init: processing action 0x4f950 (nonencrypted)
+<6>[ 9.050596] init: command 'class_start' r=0
+<6>[ 9.050613] init: processing action 0x4fc78 (property:sys.powerctl=*)
+<3>[ 9.050637] init: property 'sys.powerctl' doesn't exist while expanding '${sys.powerctl}'
+<5>[ 9.059209] [VFE]mclk off
+<5>[ 9.059235] [VFE]Sub device register "gc0308" is OK!
+<5>[ 9.059243] [VFE]sensor_i2c_board->type = gc0308,regster_ccm = gc0308.
+<5>[ 9.059254] [VFE]v4l2 subdev register input_num = 1
+<5>[ 9.059261] [VFE]dev->ccm_cfg[input_num]->ccm = gc0308,regster_ccm = gc0308.
+<5>[ 9.059268] [VFE]goto snesor_register_end.
+<5>[ 9.059677] [VFE]V4L2 device registered as video0
+<5>[ 9.059709] [VFE]register_early_suspend @ probe handle!
+<5>[ 9.059716] [VFE]probe_work_handle end!
+<3>[ 9.059800] init: powerctl: cannot expand '${sys.powerctl}'
+<6>[ 9.066070] init: command 'powerctl' r=-22
+<6>[ 9.066103] init: processing action 0x4fcc8 (property:sys.sysctl.extra_free_kbytes=*)
+<3>[ 9.066127] init: property 'sys.sysctl.extra_free_kbytes' doesn't exist while expanding '${sys.sysctl.extra_free_kbytes}'
+<3>[ 9.078378] init: cannot expand '${sys.sysctl.extra_free_kbytes}' while writing to '/proc/sys/vm/extra_free_kbytes'
+<6>[ 9.090062] init: command 'write' r=-22
+<6>[ 9.090100] init: processing action 0x50090 (property:ro.debuggable=1)
+<6>[ 9.090374] init: computing context for service '/system/bin/sh'
+<5>[ 9.090669] init: starting 'console'
+<6>[ 9.091399] init: command 'start' r=0
+<6>[ 9.091531] init: processing action 0x53cc0 (property:persist.sys.usb.config=*)
+<6>[ 9.091653] init: command 'setprop' r=0
+<6>[ 9.091684] init: processing action 0x57bf0 (property:sys.usb.config=mass_storage,adb)
+<3>[ 9.091834] android_usb: already disabled
+<6>[ 9.096409] init: command 'write' r=0
+<6>[ 9.096580] init: command 'write' r=0
+<6>[ 9.096689] init: command 'write' r=0
+<6>[ 9.096804] init: command 'write' r=0
+<6>[ 9.096903] init: command 'write' r=0
+<5>[ 9.097218] init: starting 'adbd'
+<6>[ 9.097912] init: command 'start' r=0
+<6>[ 9.098001] init: command 'setprop' r=0
+<6>[ 9.099112] init: Created socket '/dev/socket/adbd' with mode '660', user '1000', group '1000'
+<6>[ 9.102442] adb_open
+<4>[ 9.102492] ep_matches, wrn: endpoint already claimed, ep(0xc0982e54, 0xef11ea80, ep1in-bulk)
+<6>[ 9.102508] adb_bind_config
+<4>[ 9.102518] ep_matches, wrn: endpoint already claimed, ep(0xc0982e54, 0xef11ea80, ep1in-bulk)
+<4>[ 9.102531] ep_matches, wrn: endpoint already claimed, ep(0xc0982ea0, 0xef11ea80, ep1out-bulk)
+<4>[ 9.102545] ep_matches, wrn: endpoint already claimed, ep(0xc0982e54, 0xef11ea80, ep1in-bulk)
+<4>[ 9.102558] ep_matches, wrn: endpoint already claimed, ep(0xc0982ea0, 0xef11ea80, ep1out-bulk)
+<4>[ 9.102570] ep_matches, wrn: endpoint already claimed, ep(0xc0982eec, 0xee92c440, ep2in-bulk)
+<4>[ 9.102583] [sw_udc]: alloc request: ep(0xc0982f38, ep2out-bulk, 512), req(0xee4b03c0)
+<4>[ 9.102599] [sw_udc]: alloc request: ep(0xc0982eec, ep2in-bulk, 512), req(0xee4b0440)
+<4>[ 9.102615] [sw_udc]: alloc request: ep(0xc0982eec, ep2in-bulk, 512), req(0xee4b04c0)
+<4>[ 9.102643] [sw_udc]: alloc request: ep(0xc0982eec, ep2in-bulk, 512), req(0xee4b0540)
+<4>[ 9.102668] [sw_udc]: alloc request: ep(0xc0982eec, ep2in-bulk, 512), req(0xee4b05c0)
+<4>[ 9.102727] [sw_udc]: sunxi_udc_pullup, is_on = 1
+<4>[ 9.102741] sunxi_udc_set_pullup_2317: usb device is not active
+<6>[ 9.145072] init: waitpid returned pid 110, status = 00000000
+<5>[ 9.145107] init: process 'precopy', pid 110 exited
+<6>[ 9.152570] init: waitpid returned pid 126, status = 00000000
+<5>[ 9.152614] init: process 'engsetbtmacaddr', pid 126 exited
+<6>[ 9.301879] EXT4-fs (nandd): re-mounted. Opts: (null)
+<4>[ 9.307140] set retry default value: 0 0 0 0
+<4>[ 9.308191] [ND]flush cache 1 0!
+<6>[ 9.311355] EXT4-fs (nandd): re-mounted. Opts: (null)
+<6>[ 9.314524] init: waitpid returned pid 127, status = 00000000
+<5>[ 9.314578] init: process 'engsetmacaddr', pid 127 exited
+<7>[ 9.319498] SELinux: initialized (dev nanda, type vfat), uses genfs_contexts
+<6>[ 9.322566] init: waitpid returned pid 111, status = 00000000
+<5>[ 9.322598] init: process 'bootclone', pid 111 exited
+<4>[ 9.323359] PHY_PageRead: ecc limit, 0xa, 0x0, 0x0, 0x0
+<4>[ 9.323373] bank 0 block 0x14c,page 0x70
+<4>[ 9.323382] secbitmap low: 0xffffffff, high 0xffffffff
+<4>[ 9.328568] PHY_PageRead: ecc limit, 0x0, 0xa, 0x0, 0x0
+<4>[ 9.328592] bank 0 block 0x14c,page 0x6c
+<4>[ 9.328601] secbitmap low: 0xffffffff, high 0xffffffff
+<6>[ 9.365277] init: waitpid returned pid 114, status = 00000000
+<5>[ 9.365309] init: process 'lights_leds', pid 114 exited
+<4>[ 9.398106] PHY_PageRead: ecc limit, 0xa, 0x0, 0x0, 0x0
+<4>[ 9.398126] bank 0 block 0x141,page 0x56
+<4>[ 9.398135] secbitmap low: 0xffffffff, high 0xffffffff
+<4>[ 9.401971] PHY_PageRead: ecc limit, 0x0, 0xa, 0x0, 0x0
+<4>[ 9.401992] bank 0 block 0x13c,page 0x2e
+<4>[ 9.402001] secbitmap low: 0xffffffff, high 0xffffffff
+<4>[ 9.409700] PHY_PageRead: ecc limit, 0x0, 0xa, 0x0, 0x0
+<4>[ 9.409726] bank 0 block 0x13b,page 0xca
+<4>[ 9.409735] secbitmap low: 0xffffffff, high 0xffffffff
+<4>[ 9.418557] [Read_single_page] NFC_ReadRetry 2 cycles, ch =0, chip = 0
+<4>[ 9.418579] [Read_single_page] block = 636, page = 192, RetryCount = 2
+<3>[ 9.747982] meminfo_proc_show: fake_dram script_get_item err.
+<3>[ 9.944228] meminfo_proc_show: fake_dram script_get_item err.
+<4>[ 9.960442]
+<4>[ 9.960453]
+<4>[ 9.960456] insmod_device_driver
+<4>[ 9.960460]
+<4>[ 9.960519] [sw_udc]: sunxi_usb_device_enable start
+<4>[ 9.960539] [sw_udc]: usb_vbase = 0xf1c19000
+<4>[ 9.960550] [sw_udc]: sram_vbase = 0xf1c00000
+<4>[ 9.960583] [sw_udc]: open_usb_clock
+<4>[ 9.960655] [sw_udc]: usbd_stop_work
+<4>[ 9.960718] [sw_udc]: CONFIG_USB_GADGET_DUALSPEED: USBC_TS_MODE_HS
+<4>[ 9.960734] [sw_udc]: usbd_start_work
+<4>[ 9.960743] [sw_udc]: usbd_start_work
+<4>[ 9.960753] [sw_udc]: sunxi_usb_device_enable end
+<6>[ 9.977320] init: computing context for service '/system/bin/bootanimation'
+<5>[ 9.977697] init: starting 'bootanim'
+<4>[ 10.016207] [sw_udc]: IRQ: suspend
+<4>[ 10.016239] [sw_udc]: ERR: usb speed is unkown
+<4>[ 10.116043] [sw_udc]: IRQ: reset
+<4>[ 10.116073] (1:star,2:end): vfs_read:0, vfs_write:0,dma_working:0,amount:0,file_offset:0
+<4>[ 10.116090] [sw_udc]: irq: reset happen, throw away all urb
+<6>[ 10.122314] healthd: battery l=9 v=0 t=0.0 h=2 st=2 c=0 chg=u
+<6>[ 10.123441] healthd: battery l=9 v=0 t=0.0 h=2 st=2 c=0 chg=u
+<4>[ 10.181139] [sw_udc]:
+<4>[ 10.181170] +++++++++++++++++++++++++++++++++++++
+<4>[ 10.181177] [sw_udc]: usb enter high speed.
+<4>[ 10.181186] [sw_udc]:
+<4>[ 10.181192] +++++++++++++++++++++++++++++++++++++
+<4>[ 10.181225] [sw_udc]: Set address 30
+<6>[ 10.254432] android_usb gadget: high-speed config #1: android
+<4>[ 10.254485] [sw_udc]: ep enable: ep2(0xc0982eec, ep2in-bulk, 128, 512)
+<4>[ 10.254509] [sw_udc]: ep enable: ep2(0xc0982eec, ep2in-bulk, 128, 512), fifo(2560, 1024, 1)
+<4>[ 10.254537] [sw_udc]: ep enable: ep2(0xc0982f38, ep2out-bulk, 0, 512)
+<4>[ 10.254551] [sw_udc]: ep enable: ep2(0xc0982f38, ep2out-bulk, 0, 512), fifo(3584, 1024, 1)
+<4>[ 10.254660] [sw_udc]: ep enable: ep1(0xc0982e54, ep1in-bulk, 128, 512)
+<4>[ 10.254677] [sw_udc]: ep enable: ep1(0xc0982e54, ep1in-bulk, 128, 512), fifo(512, 1024, 1)
+<4>[ 10.254703] [sw_udc]: ep enable: ep1(0xc0982ea0, ep1out-bulk, 0, 512)
+<4>[ 10.254724] [sw_udc]: ep enable: ep1(0xc0982ea0, ep1out-bulk, 0, 512), fifo(1536, 1024, 1)
+<4>[ 10.254747] [sw_udc]: alloc request: ep(0xc0982e54, ep1in-bulk, 512), req(0xebfa8840)
+<4>[ 10.254763] [sw_udc]: alloc request: ep(0xc0982ea0, ep1out-bulk, 512), req(0xebfa89c0)
+<4>[ 10.254778] [sw_udc]: alloc request: ep(0xc0982e54, ep1in-bulk, 512), req(0xebfa8940)
+<4>[ 10.254802] [sw_udc]: alloc request: ep(0xc0982ea0, ep1out-bulk, 512), req(0xebfa88c0)
+<4>[ 10.698409] ###########close all layers 0
+<4>[ 11.194576] ###########close all layers 0
+<6>[ 11.784619] init: waitpid returned pid 125, status = 00000000
+<5>[ 11.784666] init: process 'checksum', pid 125 exited
+<4>[ 12.010181] set retry default value: 0 0 0 0
+<4>[ 12.037365] [Read_single_page] NFC_ReadRetry 2 cycles, ch =0, chip = 0
+<4>[ 12.037383] [Read_single_page] block = 646, page = 160, RetryCount = 2
+<4>[ 12.271352] set retry default value: 0 0 0 0
+<4>[ 12.294780] [Read_single_page] NFC_ReadRetry 2 cycles, ch =0, chip = 0
+<4>[ 12.294806] [Read_single_page] block = 543, page = 64, RetryCount = 2
+<4>[ 12.531118] set retry default value: 0 0 0 0
+<4>[ 12.553830] PHY_PageRead: ecc limit, 0x0, 0xa, 0x0, 0x0
+<4>[ 12.553923] bank 0 block 0x112,page 0x92
+<4>[ 12.553933] secbitmap low: 0xffffffff, high 0xffffffff
+<4>[ 12.559218] [Read_single_page] NFC_ReadRetry 2 cycles, ch =0, chip = 0
+<4>[ 12.559231] [Read_single_page] block = 548, page = 148, RetryCount = 2
+<4>[ 12.791050] set retry default value: 0 0 0 0
+<4>[ 12.816263] PHY_PageRead: ecc limit, 0x0, 0xa, 0x0, 0x0
+<4>[ 12.816283] bank 0 block 0x110,page 0x1e
+<4>[ 12.816292] secbitmap low: 0xffffffff, high 0xffffffff
+<4>[ 12.819361] PHY_PageRead: ecc limit, 0xa, 0xa, 0x0, 0x0
+<4>[ 12.819380] bank 0 block 0x110,page 0x20
+<4>[ 12.819389] secbitmap low: 0xffffffff, high 0xffffffff
+<4>[ 12.823495] PHY_PageRead: ecc limit, 0x0, 0xa, 0x0, 0x0
+<4>[ 12.823513] bank 0 block 0x111,page 0x28
+<4>[ 12.823522] secbitmap low: 0xffffffff, high 0xffffffff
+<4>[ 12.826865] PHY_PageRead: ecc limit, 0x0, 0xa, 0x0, 0x0
+<4>[ 12.826876] bank 0 block 0x111,page 0x26
+<4>[ 12.826884] secbitmap low: 0xffffffff, high 0xffffffff
+<4>[ 12.833659] [Read_single_page] NFC_ReadRetry 2 cycles, ch =0, chip = 0
+<4>[ 12.833675] [Read_single_page] block = 546, page = 30, RetryCount = 2
+<4>[ 13.050280] set retry default value: 0 0 0 0
+<4>[ 13.071954] PHY_PageRead: ecc limit, 0x0, 0xa, 0x0, 0x0
+<4>[ 13.071973] bank 0 block 0x111,page 0x48
+<4>[ 13.071981] secbitmap low: 0xffffffff, high 0xffffffff
+<4>[ 13.080866] PHY_PageRead: ecc limit, 0xa, 0x0, 0x0, 0x0
+<4>[ 13.080883] bank 0 block 0x111,page 0x32
+<4>[ 13.080891] secbitmap low: 0xffffffff, high 0xffffffff
+<4>[ 13.083687] PHY_PageRead: ecc limit, 0xa, 0x0, 0x0, 0x0
+<4>[ 13.083698] bank 0 block 0x111,page 0x34
+<4>[ 13.083706] secbitmap low: 0xffffffff, high 0xffffffff
+<4>[ 13.088786] [Read_single_page] NFC_ReadRetry 2 cycles, ch =0, chip = 0
+<4>[ 13.088802] [Read_single_page] block = 546, page = 214, RetryCount = 2
+<4>[ 13.310154] set retry default value: 0 0 0 0
+<4>[ 13.334107] [Read_single_page] NFC_ReadRetry 2 cycles, ch =0, chip = 0
+<4>[ 13.334126] [Read_single_page] block = 546, page = 88, RetryCount = 2
+<4>[ 13.570160] set retry default value: 0 0 0 0
+<4>[ 13.613446] PHY_PageRead: ecc limit, 0xa, 0x0, 0x0, 0x0
+<4>[ 13.613466] bank 0 block 0x112,page 0xa2
+<4>[ 13.613474] secbitmap low: 0xffffffff, high 0xffffffff
+<4>[ 13.617386] [Read_single_page] NFC_ReadRetry 2 cycles, ch =0, chip = 0
+<4>[ 13.617403] [Read_single_page] block = 548, page = 158, RetryCount = 2
+<4>[ 13.830912] set retry default value: 0 0 0 0
+<4>[ 13.869150] PHY_PageRead: ecc limit, 0xa, 0x0, 0x0, 0x0
+<4>[ 13.869170] bank 0 block 0x145,page 0xa
+<4>[ 13.869178] secbitmap low: 0xffffffff, high 0xffffffff
+<4>[ 13.881034] [Read_single_page] NFC_ReadRetry 2 cycles, ch =0, chip = 0
+<4>[ 13.881052] [Read_single_page] block = 650, page = 16, RetryCount = 2
+<4>[ 14.090233] set retry default value: 0 0 0 0
+<4>[ 14.183363] [Read_single_page] NFC_ReadRetry 2 cycles, ch =0, chip = 0
+<4>[ 14.183382] [Read_single_page] block = 656, page = 250, RetryCount = 2
+<4>[ 14.350178] set retry default value: 0 0 0 0
+<4>[ 14.372538] [Read_single_page] NFC_ReadRetry 2 cycles, ch =0, chip = 0
+<4>[ 14.372551] [Read_single_page] block = 660, page = 38, RetryCount = 2
+<4>[ 14.610733] set retry default value: 0 0 0 0
+<4>[ 14.655558] [Read_single_page] NFC_ReadRetry 2 cycles, ch =0, chip = 0
+<4>[ 14.655576] [Read_single_page] block = 659, page = 254, RetryCount = 2
+<4>[ 14.870144] set retry default value: 0 0 0 0
+<4>[ 14.891408] PHY_PageRead: ecc limit, 0xa, 0x0, 0x0, 0x0
+<4>[ 14.891423] bank 0 block 0x13b,page 0xb2
+<4>[ 14.891432] secbitmap low: 0xffffffff, high 0xffffffff
+<4>[ 14.924409] [Read_single_page] NFC_ReadRetry 1 cycles, ch =0, chip = 0
+<4>[ 14.924428] [Read_single_page] block = 546, page = 16, RetryCount = 1
+<4>[ 14.925044] PHY_PageRead: ecc limit, 0xa, 0xa, 0x0, 0x0
+<4>[ 14.925054] bank 0 block 0x111,page 0x10
+<4>[ 14.925063] secbitmap low: 0xffffffff, high 0xffffffff
+<4>[ 14.926421] PHY_PageRead: ecc limit, 0xa, 0xa, 0x0, 0x0
+<4>[ 14.926432] bank 0 block 0x111,page 0xc
+<4>[ 14.926440] secbitmap low: 0xffffffff, high 0xffffffff
+<4>[ 14.930393] [Read_single_page] NFC_ReadRetry 1 cycles, ch =0, chip = 0
+<4>[ 14.930405] [Read_single_page] block = 546, page = 14, RetryCount = 2
+<4>[ 15.078737] PHY_PageRead: ecc limit, 0xa, 0x0, 0x0, 0x0
+<4>[ 15.078755] bank 0 block 0x112,page 0xe6
+<4>[ 15.078764] secbitmap low: 0xffffffff, high 0xffffffff
+<4>[ 15.130158] set retry default value: 0 0 0 0
+<4>[ 15.224614] PHY_PageRead: ecc limit, 0xa, 0x0, 0x0, 0x0
+<4>[ 15.224635] bank 0 block 0x111,page 0x6a
+<4>[ 15.224644] secbitmap low: 0xffffffff, high 0xffffffff
+<4>[ 15.228641] PHY_PageRead: ecc limit, 0xa, 0x0, 0x0, 0x0
+<4>[ 15.228656] bank 0 block 0x111,page 0x6c
+<4>[ 15.228665] secbitmap low: 0xffffffff, high 0xffffffff
+<4>[ 15.255768] WRN:L1111(drivers/usb/sunxi_usb/udc/sunxi_udc.c):handle_ep0: ep0 setup end
+<4>[ 15.255792] nuke: ep num is 0
+<4>[ 15.277492] PHY_PageRead: ecc limit, 0xa, 0x0, 0x0, 0x0
+<4>[ 15.277510] bank 0 block 0x10f,page 0x36
+<4>[ 15.277519] secbitmap low: 0xffffffff, high 0xffffffff
+<4>[ 15.278946] PHY_PageRead: ecc limit, 0x0, 0xa, 0x0, 0x0
+<4>[ 15.278957] bank 0 block 0x10f,page 0x32
+<4>[ 15.278965] secbitmap low: 0xffffffff, high 0xffffffff
+<4>[ 15.284098] [Read_single_page] NFC_ReadRetry 2 cycles, ch =0, chip = 0
+<4>[ 15.284110] [Read_single_page] block = 542, page = 52, RetryCount = 2
+<4>[ 15.391537] set retry default value: 0 0 0 0
+<4>[ 15.423386] [Read_single_page] NFC_ReadRetry 2 cycles, ch =0, chip = 0
+<4>[ 15.423405] [Read_single_page] block = 624, page = 60, RetryCount = 2
+<4>[ 15.650419] set retry default value: 0 0 0 0
+<4>[ 15.679952] [Read_single_page] NFC_ReadRetry 2 cycles, ch =0, chip = 0
+<4>[ 15.679970] [Read_single_page] block = 628, page = 164, RetryCount = 2
diff --git a/test/mock/padcod-10.1.cc b/test/mock/padcod-10.1.cc
new file mode 100644
index 0000000..cd32366
--- /dev/null
+++ b/test/mock/padcod-10.1.cc
@@ -0,0 +1,451 @@
+#include <gtest/gtest.h>
+
+#include <cpuinfo.h>
+#include <cpuinfo-mock.h>
+
+
+TEST(PROCESSORS, count) {
+ ASSERT_EQ(4, cpuinfo_get_processors_count());
+}
+
+TEST(PROCESSORS, non_null) {
+ ASSERT_TRUE(cpuinfo_get_processors());
+}
+
+TEST(PROCESSORS, smt_id) {
+ for (uint32_t i = 0; i < cpuinfo_get_processors_count(); i++) {
+ ASSERT_EQ(0, cpuinfo_get_processor(i)->smt_id);
+ }
+}
+
+TEST(PROCESSORS, core) {
+ for (uint32_t i = 0; i < cpuinfo_get_processors_count(); i++) {
+ ASSERT_EQ(cpuinfo_get_core(i), cpuinfo_get_processor(i)->core);
+ }
+}
+
+TEST(PROCESSORS, package) {
+ for (uint32_t i = 0; i < cpuinfo_get_processors_count(); i++) {
+ ASSERT_EQ(cpuinfo_get_package(0), cpuinfo_get_processor(i)->package);
+ }
+}
+
+TEST(PROCESSORS, linux_id) {
+ for (uint32_t i = 0; i < cpuinfo_get_processors_count(); i++) {
+ ASSERT_EQ(i, cpuinfo_get_processor(i)->linux_id);
+ }
+}
+
+TEST(PROCESSORS, l1i) {
+ for (uint32_t i = 0; i < cpuinfo_get_processors_count(); i++) {
+ ASSERT_EQ(cpuinfo_get_l1i_cache(i), cpuinfo_get_processor(i)->cache.l1i);
+ }
+}
+
+TEST(PROCESSORS, l1d) {
+ for (uint32_t i = 0; i < cpuinfo_get_processors_count(); i++) {
+ ASSERT_EQ(cpuinfo_get_l1d_cache(i), cpuinfo_get_processor(i)->cache.l1d);
+ }
+}
+
+TEST(PROCESSORS, l2) {
+ for (uint32_t i = 0; i < cpuinfo_get_processors_count(); i++) {
+ ASSERT_EQ(cpuinfo_get_l2_cache(0), cpuinfo_get_processor(i)->cache.l2);
+ }
+}
+
+TEST(PROCESSORS, l3) {
+ for (uint32_t i = 0; i < cpuinfo_get_processors_count(); i++) {
+ ASSERT_FALSE(cpuinfo_get_processor(i)->cache.l3);
+ }
+}
+
+TEST(PROCESSORS, l4) {
+ for (uint32_t i = 0; i < cpuinfo_get_processors_count(); i++) {
+ ASSERT_FALSE(cpuinfo_get_processor(i)->cache.l4);
+ }
+}
+
+TEST(CORES, count) {
+ ASSERT_EQ(4, cpuinfo_get_cores_count());
+}
+
+TEST(CORES, non_null) {
+ ASSERT_TRUE(cpuinfo_get_cores());
+}
+
+TEST(CORES, processor_start) {
+ for (uint32_t i = 0; i < cpuinfo_get_cores_count(); i++) {
+ ASSERT_EQ(i, cpuinfo_get_core(i)->processor_start);
+ }
+}
+
+TEST(CORES, processor_count) {
+ for (uint32_t i = 0; i < cpuinfo_get_cores_count(); i++) {
+ ASSERT_EQ(1, cpuinfo_get_core(i)->processor_count);
+ }
+}
+
+TEST(CORES, core_id) {
+ for (uint32_t i = 0; i < cpuinfo_get_cores_count(); i++) {
+ ASSERT_EQ(i, cpuinfo_get_core(i)->core_id);
+ }
+}
+
+TEST(CORES, package) {
+ for (uint32_t i = 0; i < cpuinfo_get_cores_count(); i++) {
+ ASSERT_EQ(cpuinfo_get_package(0), cpuinfo_get_core(i)->package);
+ }
+}
+
+TEST(CORES, vendor) {
+ for (uint32_t i = 0; i < cpuinfo_get_cores_count(); i++) {
+ ASSERT_EQ(cpuinfo_vendor_arm, cpuinfo_get_core(i)->vendor);
+ }
+}
+
+TEST(CORES, uarch) {
+ for (uint32_t i = 0; i < cpuinfo_get_cores_count(); i++) {
+ ASSERT_EQ(cpuinfo_uarch_cortex_a7, cpuinfo_get_core(i)->uarch);
+ }
+}
+
+TEST(CORES, midr) {
+ for (uint32_t i = 0; i < cpuinfo_get_cores_count(); i++) {
+ ASSERT_EQ(UINT32_C(0x410FC075), cpuinfo_get_core(i)->midr);
+ }
+}
+
+TEST(PACKAGES, count) {
+ ASSERT_EQ(1, cpuinfo_get_packages_count());
+}
+
+TEST(PACKAGES, name) {
+ for (uint32_t i = 0; i < cpuinfo_get_packages_count(); i++) {
+ ASSERT_EQ("Allwinner A33",
+ std::string(cpuinfo_get_package(i)->name,
+ strnlen(cpuinfo_get_package(i)->name, CPUINFO_PACKAGE_NAME_MAX)));
+ }
+}
+
+TEST(PACKAGES, processor_start) {
+ for (uint32_t i = 0; i < cpuinfo_get_packages_count(); i++) {
+ ASSERT_EQ(0, cpuinfo_get_package(i)->processor_start);
+ }
+}
+
+TEST(PACKAGES, processor_count) {
+ for (uint32_t i = 0; i < cpuinfo_get_packages_count(); i++) {
+ ASSERT_EQ(4, cpuinfo_get_package(i)->processor_count);
+ }
+}
+
+TEST(PACKAGES, core_start) {
+ for (uint32_t i = 0; i < cpuinfo_get_packages_count(); i++) {
+ ASSERT_EQ(0, cpuinfo_get_package(i)->core_start);
+ }
+}
+
+TEST(PACKAGES, core_count) {
+ for (uint32_t i = 0; i < cpuinfo_get_packages_count(); i++) {
+ ASSERT_EQ(4, cpuinfo_get_package(i)->core_count);
+ }
+}
+
+TEST(ISA, thumb) {
+ ASSERT_TRUE(cpuinfo_has_arm_thumb());
+}
+
+TEST(ISA, thumb2) {
+ ASSERT_TRUE(cpuinfo_has_arm_thumb2());
+}
+
+TEST(ISA, armv5e) {
+ ASSERT_TRUE(cpuinfo_has_arm_v5e());
+}
+
+TEST(ISA, armv6) {
+ ASSERT_TRUE(cpuinfo_has_arm_v6());
+}
+
+TEST(ISA, armv6k) {
+ ASSERT_TRUE(cpuinfo_has_arm_v6k());
+}
+
+TEST(ISA, armv7) {
+ ASSERT_TRUE(cpuinfo_has_arm_v7());
+}
+
+TEST(ISA, armv7mp) {
+ ASSERT_TRUE(cpuinfo_has_arm_v7mp());
+}
+
+TEST(ISA, idiv) {
+ ASSERT_TRUE(cpuinfo_has_arm_idiv());
+}
+
+TEST(ISA, vfpv2) {
+ ASSERT_FALSE(cpuinfo_has_arm_vfpv2());
+}
+
+TEST(ISA, vfpv3) {
+ ASSERT_TRUE(cpuinfo_has_arm_vfpv3());
+}
+
+TEST(ISA, vfpv3_d32) {
+ ASSERT_TRUE(cpuinfo_has_arm_vfpv3_d32());
+}
+
+TEST(ISA, vfpv3_fp16) {
+ ASSERT_TRUE(cpuinfo_has_arm_vfpv3_fp16());
+}
+
+TEST(ISA, vfpv3_fp16_d32) {
+ ASSERT_TRUE(cpuinfo_has_arm_vfpv3_fp16_d32());
+}
+
+TEST(ISA, vfpv4) {
+ ASSERT_TRUE(cpuinfo_has_arm_vfpv4());
+}
+
+TEST(ISA, vfpv4_d32) {
+ ASSERT_TRUE(cpuinfo_has_arm_vfpv4_d32());
+}
+
+TEST(ISA, wmmx) {
+ ASSERT_FALSE(cpuinfo_has_arm_wmmx());
+}
+
+TEST(ISA, wmmx2) {
+ ASSERT_FALSE(cpuinfo_has_arm_wmmx2());
+}
+
+TEST(ISA, neon) {
+ ASSERT_TRUE(cpuinfo_has_arm_neon());
+}
+
+TEST(ISA, neon_fp16) {
+ ASSERT_TRUE(cpuinfo_has_arm_neon_fp16());
+}
+
+TEST(ISA, neon_fma) {
+ ASSERT_TRUE(cpuinfo_has_arm_neon_fma());
+}
+
+TEST(ISA, atomics) {
+ ASSERT_FALSE(cpuinfo_has_arm_atomics());
+}
+
+TEST(ISA, neon_rdm) {
+ ASSERT_FALSE(cpuinfo_has_arm_neon_rdm());
+}
+
+TEST(ISA, fp16_arith) {
+ ASSERT_FALSE(cpuinfo_has_arm_fp16_arith());
+}
+
+TEST(ISA, jscvt) {
+ ASSERT_FALSE(cpuinfo_has_arm_jscvt());
+}
+
+TEST(ISA, fcma) {
+ ASSERT_FALSE(cpuinfo_has_arm_fcma());
+}
+
+TEST(ISA, aes) {
+ ASSERT_FALSE(cpuinfo_has_arm_aes());
+}
+
+TEST(ISA, sha1) {
+ ASSERT_FALSE(cpuinfo_has_arm_sha1());
+}
+
+TEST(ISA, sha2) {
+ ASSERT_FALSE(cpuinfo_has_arm_sha2());
+}
+
+TEST(ISA, pmull) {
+ ASSERT_FALSE(cpuinfo_has_arm_pmull());
+}
+
+TEST(ISA, crc32) {
+ ASSERT_FALSE(cpuinfo_has_arm_crc32());
+}
+
+TEST(L1I, count) {
+ ASSERT_EQ(4, cpuinfo_get_l1i_caches_count());
+}
+
+TEST(L1I, non_null) {
+ ASSERT_TRUE(cpuinfo_get_l1i_caches());
+}
+
+TEST(L1I, size) {
+ for (uint32_t i = 0; i < cpuinfo_get_l1i_caches_count(); i++) {
+ ASSERT_EQ(32 * 1024, cpuinfo_get_l1i_cache(i)->size);
+ }
+}
+
+TEST(L1I, associativity) {
+ for (uint32_t i = 0; i < cpuinfo_get_l1i_caches_count(); i++) {
+ ASSERT_EQ(2, cpuinfo_get_l1i_cache(i)->associativity);
+ }
+}
+
+TEST(L1I, sets) {
+ for (uint32_t i = 0; i < cpuinfo_get_l1i_caches_count(); i++) {
+ ASSERT_EQ(cpuinfo_get_l1i_cache(i)->size,
+ cpuinfo_get_l1i_cache(i)->sets * cpuinfo_get_l1i_cache(i)->line_size * cpuinfo_get_l1i_cache(i)->partitions * cpuinfo_get_l1i_cache(i)->associativity);
+ }
+}
+
+TEST(L1I, partitions) {
+ for (uint32_t i = 0; i < cpuinfo_get_l1i_caches_count(); i++) {
+ ASSERT_EQ(1, cpuinfo_get_l1i_cache(i)->partitions);
+ }
+}
+
+TEST(L1I, line_size) {
+ for (uint32_t i = 0; i < cpuinfo_get_l1i_caches_count(); i++) {
+ ASSERT_EQ(32, cpuinfo_get_l1i_cache(i)->line_size);
+ }
+}
+
+TEST(L1I, flags) {
+ for (uint32_t i = 0; i < cpuinfo_get_l1i_caches_count(); i++) {
+ ASSERT_EQ(0, cpuinfo_get_l1i_cache(i)->flags);
+ }
+}
+
+TEST(L1I, processors) {
+ for (uint32_t i = 0; i < cpuinfo_get_l1i_caches_count(); i++) {
+ ASSERT_EQ(i, cpuinfo_get_l1i_cache(i)->processor_start);
+ ASSERT_EQ(1, cpuinfo_get_l1i_cache(i)->processor_count);
+ }
+}
+
+TEST(L1D, count) {
+ ASSERT_EQ(4, cpuinfo_get_l1d_caches_count());
+}
+
+TEST(L1D, non_null) {
+ ASSERT_TRUE(cpuinfo_get_l1d_caches());
+}
+
+TEST(L1D, size) {
+ for (uint32_t i = 0; i < cpuinfo_get_l1d_caches_count(); i++) {
+ ASSERT_EQ(32 * 1024, cpuinfo_get_l1d_cache(i)->size);
+ }
+}
+
+TEST(L1D, associativity) {
+ for (uint32_t i = 0; i < cpuinfo_get_l1d_caches_count(); i++) {
+ ASSERT_EQ(4, cpuinfo_get_l1d_cache(i)->associativity);
+ }
+}
+
+TEST(L1D, sets) {
+ for (uint32_t i = 0; i < cpuinfo_get_l1d_caches_count(); i++) {
+ ASSERT_EQ(cpuinfo_get_l1d_cache(i)->size,
+ cpuinfo_get_l1d_cache(i)->sets * cpuinfo_get_l1d_cache(i)->line_size * cpuinfo_get_l1d_cache(i)->partitions * cpuinfo_get_l1d_cache(i)->associativity);
+ }
+}
+
+TEST(L1D, partitions) {
+ for (uint32_t i = 0; i < cpuinfo_get_l1d_caches_count(); i++) {
+ ASSERT_EQ(1, cpuinfo_get_l1d_cache(i)->partitions);
+ }
+}
+
+TEST(L1D, line_size) {
+ for (uint32_t i = 0; i < cpuinfo_get_l1d_caches_count(); i++) {
+ ASSERT_EQ(64, cpuinfo_get_l1d_cache(i)->line_size);
+ }
+}
+
+TEST(L1D, flags) {
+ for (uint32_t i = 0; i < cpuinfo_get_l1d_caches_count(); i++) {
+ ASSERT_EQ(0, cpuinfo_get_l1d_cache(i)->flags);
+ }
+}
+
+TEST(L1D, processors) {
+ for (uint32_t i = 0; i < cpuinfo_get_l1d_caches_count(); i++) {
+ ASSERT_EQ(i, cpuinfo_get_l1d_cache(i)->processor_start);
+ ASSERT_EQ(1, cpuinfo_get_l1d_cache(i)->processor_count);
+ }
+}
+
+TEST(L2, count) {
+ ASSERT_EQ(1, cpuinfo_get_l2_caches_count());
+}
+
+TEST(L2, non_null) {
+ ASSERT_TRUE(cpuinfo_get_l2_caches());
+}
+
+TEST(L2, size) {
+ for (uint32_t i = 0; i < cpuinfo_get_l2_caches_count(); i++) {
+ ASSERT_EQ(512 * 1024, cpuinfo_get_l2_cache(i)->size);
+ }
+}
+
+TEST(L2, associativity) {
+ for (uint32_t i = 0; i < cpuinfo_get_l2_caches_count(); i++) {
+ ASSERT_EQ(8, cpuinfo_get_l2_cache(i)->associativity);
+ }
+}
+
+TEST(L2, sets) {
+ for (uint32_t i = 0; i < cpuinfo_get_l2_caches_count(); i++) {
+ ASSERT_EQ(cpuinfo_get_l2_cache(i)->size,
+ cpuinfo_get_l2_cache(i)->sets * cpuinfo_get_l2_cache(i)->line_size * cpuinfo_get_l2_cache(i)->partitions * cpuinfo_get_l2_cache(i)->associativity);
+ }
+}
+
+TEST(L2, partitions) {
+ for (uint32_t i = 0; i < cpuinfo_get_l2_caches_count(); i++) {
+ ASSERT_EQ(1, cpuinfo_get_l2_cache(i)->partitions);
+ }
+}
+
+TEST(L2, line_size) {
+ for (uint32_t i = 0; i < cpuinfo_get_l2_caches_count(); i++) {
+ ASSERT_EQ(64, cpuinfo_get_l2_cache(i)->line_size);
+ }
+}
+
+TEST(L2, flags) {
+ for (uint32_t i = 0; i < cpuinfo_get_l2_caches_count(); i++) {
+ ASSERT_EQ(0, cpuinfo_get_l2_cache(i)->flags);
+ }
+}
+
+TEST(L2, processors) {
+ for (uint32_t i = 0; i < cpuinfo_get_l2_caches_count(); i++) {
+ ASSERT_EQ(0, cpuinfo_get_l2_cache(i)->processor_start);
+ ASSERT_EQ(4, cpuinfo_get_l2_cache(i)->processor_count);
+ }
+}
+
+TEST(L3, none) {
+ ASSERT_EQ(0, cpuinfo_get_l3_caches_count());
+ ASSERT_FALSE(cpuinfo_get_l3_caches());
+}
+
+TEST(L4, none) {
+ ASSERT_EQ(0, cpuinfo_get_l4_caches_count());
+ ASSERT_FALSE(cpuinfo_get_l4_caches());
+}
+
+#include <padcod-10.1.h>
+
+int main(int argc, char* argv[]) {
+ cpuinfo_mock_filesystem(filesystem);
+#ifdef __ANDROID__
+ cpuinfo_mock_android_properties(properties);
+#endif
+ cpuinfo_initialize();
+ ::testing::InitGoogleTest(&argc, argv);
+ return RUN_ALL_TESTS();
+}
diff --git a/test/mock/padcod-10.1.h b/test/mock/padcod-10.1.h
new file mode 100644
index 0000000..056bbd7
--- /dev/null
+++ b/test/mock/padcod-10.1.h
@@ -0,0 +1,973 @@
+struct cpuinfo_mock_file filesystem[] = {
+ {
+ .path = "/proc/cpuinfo",
+ .size = 320,
+ .content =
+ "Processor\t: ARMv7 Processor rev 5 (v7l)\n"
+ "processor\t: 0\n"
+ "BogoMIPS\t: 3428.56\n"
+ "\n"
+ "Features\t: swp half thumb fastmult vfp edsp thumbee neon vfpv3 tls vfpv4 idiva idivt \n"
+ "CPU implementer\t: 0x41\n"
+ "CPU architecture: 7\n"
+ "CPU variant\t: 0x0\n"
+ "CPU part\t: 0xc07\n"
+ "CPU revision\t: 5\n"
+ "\n"
+ "Hardware\t: sun8i\n"
+ "Revision\t: 0000\n"
+ "Serial\t\t: 86441af7d7f700000000\n",
+ },
+ {
+ .path = "/system/build.prop",
+ .size = 2845,
+ .content =
+ "# begin build properties\n"
+ "# autogenerated by buildinfo.sh\n"
+ "ro.build.id=KVT49L\n"
+ "ro.build.display.id=astar_y3-eng 4.4.2 KVT49L 20151112 test-keys\n"
+ "ro.build.version.incremental=20151112\n"
+ "ro.build.version.sdk=19\n"
+ "ro.build.version.codename=REL\n"
+ "ro.build.version.release=4.4.2\n"
+ "ro.build.date=2015xC4xEA 11xD4xC2 12xC8xD5 xD0xC7xC6xDAxCBxC4 16:07:41 CST\n"
+ "ro.build.date.utc=1447315661\n"
+ "ro.build.type=eng\n"
+ "ro.build.user=ytx\n"
+ "ro.build.host=Android\n"
+ "ro.build.tags=test-keys\n"
+ "ro.product.model=V11\n"
+ "ro.product.brand=Allwinner\n"
+ "ro.product.name=astar_y3\n"
+ "ro.product.device=astar-y3\n"
+ "ro.product.board=exdroid\n"
+ "ro.product.cpu.abi=armeabi-v7a\n"
+ "ro.product.cpu.abi2=armeabi\n"
+ "ro.product.manufacturer=softwinner\n"
+ "ro.product.locale.language=en\n"
+ "ro.product.locale.region=US\n"
+ "ro.wifi.channels=\n"
+ "ro.board.platform=polaris\n"
+ "# ro.build.product is obsolete; use ro.product.device\n"
+ "ro.build.product=astar-y3\n"
+ "# Do not try to parse ro.build.description or .fingerprint\n"
+ "ro.build.description=astar_y3-eng 4.4.2 KVT49L 20151112 test-keys\n"
+ "ro.build.fingerprint=Allwinner/astar_y3/astar-y3:4.4.2/KVT49L/20151112:eng/test-keys\n"
+ "ro.build.characteristics=tablet\n"
+ "# end build properties\n"
+ "\n"
+ "#\n"
+ "# ADDITIONAL_BUILD_PROPERTIES\n"
+ "#\n"
+ "ro.com.android.dateformat=MM-dd-yyyy\n"
+ "ro.config.ringtone=Ring_Synth_04.ogg\n"
+ "ro.config.notification_sound=pixiedust.ogg\n"
+ "ro.carrier=unknown\n"
+ "ro.config.alarm_alert=Alarm_Classic.ogg\n"
+ "ro.zygote.disable_gl_preload=true\n"
+ "persist.sys.strictmode.visual=0\n"
+ "persist.sys.strictmode.disable=1\n"
+ "persist.sys.plimit=0\n"
+ "ro.opengles.version=131072\n"
+ "ro.kernel.android.checkjni=0\n"
+ "ro.reversion.aw_sdk_tag=exdroid4.4.2_r2-a33-v2.0\n"
+ "ro.sys.cputype=QuadCore-A33\n"
+ "wifi.interface=wlan0\n"
+ "wifi.supplicant_scan_interval=15\n"
+ "keyguard.no_require_sim=true\n"
+ "ro.sys.network_location=true\n"
+ "persist.demo.hdmirotationlock=0\n"
+ "drm.service.enabled=true\n"
+ "dalvik.vm.heapstartsize=8m\n"
+ "dalvik.vm.heapgrowthlimit=64m\n"
+ "dalvik.vm.heapsize=384m\n"
+ "dalvik.vm.heaptargetutilization=0.75\n"
+ "dalvik.vm.heapminfree=512k\n"
+ "dalvik.vm.heapmaxfree=8m\n"
+ "ro.sw.embeded.telephony=false\n"
+ "persist.sys.timezone=Europe/London\n"
+ "persist.sys.language=en\n"
+ "persist.sys.country=US\n"
+ "ro.product.8723b_bt.used=true\n"
+ "persist.sys.usb.config=mass_storage,adb\n"
+ "ro.udisk.lable=Polaris\n"
+ "ro.font.scale=1.15\n"
+ "ro.hwa.force=false\n"
+ "rw.logger=0\n"
+ "ro.sys.bootfast=true\n"
+ "debug.hwc.showfps=0\n"
+ "eken.board.platform=exDroid\n"
+ "eken.device.telephone=false\n"
+ "eken.wmt.homepage_base=http://www.google.com\n"
+ "eken.hardware=sun7i\n"
+ "eken.hardware.screen.size=11\n"
+ "eken.hardware.screen.res=1024x600\n"
+ "eken.build.version.release=4.4.1\n"
+ "eken.build.version.sdk=17\n"
+ "eken.product.model=V11\n"
+ "eken.product.device=astar_y3\n"
+ "eken.product.name=astar_y3\n"
+ "eken.product.manufacturer=eken\n"
+ "debug.hwui.render_dirty_regions=false\n"
+ "ro.sys.mutedrm=true\n"
+ "ro.sf.lcd_density=160\n"
+ "ro.product.firmware=v2.0\n"
+ "ro.setupwizard.mode=OPTIONAL\n"
+ "ro.com.google.gmsversion=4.4_r3\n"
+ "persist.sys.dalvik.vm.lib=libdvm.so\n"
+ "dalvik.vm.dexopt-flags=v=n,m=y\n"
+ "net.bt.name=Android\n"
+ "dalvik.vm.stack-trace-file=/data/anr/traces.txt\n",
+ },
+ {
+ .path = "/sys/devices/system/cpu/kernel_max",
+ .size = 2,
+ .content = "3\n",
+ },
+ {
+ .path = "/sys/devices/system/cpu/possible",
+ .size = 4,
+ .content = "0-3\n",
+ },
+ {
+ .path = "/sys/devices/system/cpu/present",
+ .size = 4,
+ .content = "0-3\n",
+ },
+ {
+ .path = "/sys/devices/system/cpu/online",
+ .size = 2,
+ .content = "0\n",
+ },
+ {
+ .path = "/sys/devices/system/cpu/offline",
+ .size = 4,
+ .content = "1-3\n",
+ },
+ {
+ .path = "/sys/devices/system/cpu/cpu0/cpufreq/affected_cpus",
+ .size = 2,
+ .content = "0\n",
+ },
+ {
+ .path = "/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq",
+ .size = 8,
+ .content = "1344000\n",
+ },
+ {
+ .path = "/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_min_freq",
+ .size = 7,
+ .content = "120000\n",
+ },
+ {
+ .path = "/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_transition_latency",
+ .size = 8,
+ .content = "2000000\n",
+ },
+ {
+ .path = "/sys/devices/system/cpu/cpu0/cpufreq/related_cpus",
+ .size = 8,
+ .content = "0 1 2 3\n",
+ },
+ {
+ .path = "/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors",
+ .size = 67,
+ .content = "interactive conservative ondemand userspace powersave performance \n",
+ },
+ {
+ .path = "/sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq",
+ .size = 7,
+ .content = "240000\n",
+ },
+ {
+ .path = "/sys/devices/system/cpu/cpu0/cpufreq/scaling_driver",
+ .size = 14,
+ .content = "cpufreq-sunxi\n",
+ },
+ {
+ .path = "/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor",
+ .size = 12,
+ .content = "interactive\n",
+ },
+ {
+ .path = "/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq",
+ .size = 8,
+ .content = "1200000\n",
+ },
+ {
+ .path = "/sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq",
+ .size = 7,
+ .content = "120000\n",
+ },
+ {
+ .path = "/sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state",
+ .size = 171,
+ .content =
+ "60000 0\n"
+ "120000 213\n"
+ "240000 106\n"
+ "312000 6\n"
+ "408000 29\n"
+ "504000 0\n"
+ "600000 0\n"
+ "648000 163\n"
+ "720000 48\n"
+ "816000 62\n"
+ "912000 5\n"
+ "1008000 7\n"
+ "1104000 47\n"
+ "1200000 3381\n"
+ "1344000 0\n"
+ "1440000 0\n"
+ "1536000 0\n",
+ },
+ {
+ .path = "/sys/devices/system/cpu/cpu0/cpufreq/stats/total_trans",
+ .size = 3,
+ .content = "24\n",
+ },
+ {
+ .path = "/sys/devices/system/cpu/cpu0/cpufreq/stats/trans_table",
+ .size = 3293,
+ .content =
+ " From : To\n"
+ " : 60000 120000 240000 312000 408000 504000 600000 648000 720000 816000 912000 1008000 1104000 1200000 1344000 1440000 1536000 \n"
+ " 60000: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 \n"
+ " 120000: 0 0 0 0 0 0 0 3 0 0 0 0 0 0 0 0 0 \n"
+ " 240000: 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 \n"
+ " 312000: 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 \n"
+ " 408000: 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 \n"
+ " 504000: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 \n"
+ " 600000: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 \n"
+ " 648000: 0 0 0 1 1 0 0 0 4 0 0 0 0 0 0 0 0 \n"
+ " 720000: 0 0 1 0 0 0 0 0 0 3 0 0 0 0 0 0 0 \n"
+ " 816000: 0 1 0 0 0 0 0 1 0 0 1 0 0 0 0 0 0 \n"
+ " 912000: 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 \n"
+ " 1008000: 0 0 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 \n"
+ " 1104000: 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 \n"
+ " 1200000: 0 0 0 0 0 0 0 1 0 0 0 1 0 0 0 0 0 \n"
+ " 1344000: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 \n"
+ " 1440000: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 \n"
+ " 1536000: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 \n",
+ },
+ {
+ .path = "/sys/devices/system/cpu/cpu0/topology/core_id",
+ .size = 2,
+ .content = "0\n",
+ },
+ {
+ .path = "/sys/devices/system/cpu/cpu0/topology/core_siblings",
+ .size = 2,
+ .content = "f\n",
+ },
+ {
+ .path = "/sys/devices/system/cpu/cpu0/topology/core_siblings_list",
+ .size = 4,
+ .content = "0-3\n",
+ },
+ {
+ .path = "/sys/devices/system/cpu/cpu0/topology/physical_package_id",
+ .size = 2,
+ .content = "0\n",
+ },
+ {
+ .path = "/sys/devices/system/cpu/cpu0/topology/thread_siblings",
+ .size = 2,
+ .content = "1\n",
+ },
+ {
+ .path = "/sys/devices/system/cpu/cpu0/topology/thread_siblings_list",
+ .size = 2,
+ .content = "0\n",
+ },
+ { NULL },
+};
+#ifdef __ANDROID__
+struct cpuinfo_mock_property properties[] = {
+ {
+ .key = "dalvik.vm.dexopt-flags",
+ .value = "v=n,m=y",
+ },
+ {
+ .key = "dalvik.vm.heapgrowthlimit",
+ .value = "96m",
+ },
+ {
+ .key = "dalvik.vm.heapmaxfree",
+ .value = "8m",
+ },
+ {
+ .key = "dalvik.vm.heapminfree",
+ .value = "2m",
+ },
+ {
+ .key = "dalvik.vm.heapsize",
+ .value = "384m",
+ },
+ {
+ .key = "dalvik.vm.heapstartsize",
+ .value = "8m",
+ },
+ {
+ .key = "dalvik.vm.heaptargetutilization",
+ .value = "0.75",
+ },
+ {
+ .key = "dalvik.vm.stack-trace-file",
+ .value = "/data/anr/traces.txt",
+ },
+ {
+ .key = "debug.force_rtl",
+ .value = "0",
+ },
+ {
+ .key = "debug.hwc.showfps",
+ .value = "0",
+ },
+ {
+ .key = "debug.hwui.render_dirty_regions",
+ .value = "false",
+ },
+ {
+ .key = "dev.bootcomplete",
+ .value = "1",
+ },
+ {
+ .key = "drm.service.enabled",
+ .value = "true",
+ },
+ {
+ .key = "eken.board.platform",
+ .value = "exDroid",
+ },
+ {
+ .key = "eken.build.version.release",
+ .value = "4.4.1",
+ },
+ {
+ .key = "eken.build.version.sdk",
+ .value = "17",
+ },
+ {
+ .key = "eken.device.telephone",
+ .value = "false",
+ },
+ {
+ .key = "eken.hardware.screen.res",
+ .value = "1024x600",
+ },
+ {
+ .key = "eken.hardware.screen.size",
+ .value = "11",
+ },
+ {
+ .key = "eken.hardware",
+ .value = "sun7i",
+ },
+ {
+ .key = "eken.product.device",
+ .value = "astar_y3",
+ },
+ {
+ .key = "eken.product.manufacturer",
+ .value = "eken",
+ },
+ {
+ .key = "eken.product.model",
+ .value = "V11",
+ },
+ {
+ .key = "eken.product.name",
+ .value = "astar_y3",
+ },
+ {
+ .key = "eken.wmt.homepage_base",
+ .value = "http://www.google.com",
+ },
+ {
+ .key = "gsm.current.phone-type",
+ .value = "1",
+ },
+ {
+ .key = "gsm.network.type",
+ .value = "Unknown",
+ },
+ {
+ .key = "gsm.operator.alpha",
+ .value = "",
+ },
+ {
+ .key = "gsm.operator.iso-country",
+ .value = "",
+ },
+ {
+ .key = "gsm.operator.isroaming",
+ .value = "false",
+ },
+ {
+ .key = "gsm.operator.numeric",
+ .value = "",
+ },
+ {
+ .key = "gsm.sim.state",
+ .value = "NOT_READY",
+ },
+ {
+ .key = "gsm.version.ril-impl",
+ .value = "sw-dataonly-ril-for-4.4_v1.0",
+ },
+ {
+ .key = "init.svc.adbd",
+ .value = "running",
+ },
+ {
+ .key = "init.svc.bootanim",
+ .value = "stopped",
+ },
+ {
+ .key = "init.svc.bootclone",
+ .value = "stopped",
+ },
+ {
+ .key = "init.svc.checksum",
+ .value = "stopped",
+ },
+ {
+ .key = "init.svc.console",
+ .value = "running",
+ },
+ {
+ .key = "init.svc.debuggerd",
+ .value = "running",
+ },
+ {
+ .key = "init.svc.drm",
+ .value = "running",
+ },
+ {
+ .key = "init.svc.engsetbtmacaddr",
+ .value = "stopped",
+ },
+ {
+ .key = "init.svc.engsetmacaddr",
+ .value = "stopped",
+ },
+ {
+ .key = "init.svc.healthd",
+ .value = "running",
+ },
+ {
+ .key = "init.svc.installd",
+ .value = "running",
+ },
+ {
+ .key = "init.svc.keystore",
+ .value = "running",
+ },
+ {
+ .key = "init.svc.lights_leds",
+ .value = "stopped",
+ },
+ {
+ .key = "init.svc.media",
+ .value = "running",
+ },
+ {
+ .key = "init.svc.netd",
+ .value = "running",
+ },
+ {
+ .key = "init.svc.p2p_supplicant",
+ .value = "running",
+ },
+ {
+ .key = "init.svc.precopy",
+ .value = "stopped",
+ },
+ {
+ .key = "init.svc.preinstall",
+ .value = "stopped",
+ },
+ {
+ .key = "init.svc.ril-daemon",
+ .value = "running",
+ },
+ {
+ .key = "init.svc.sensors",
+ .value = "stopped",
+ },
+ {
+ .key = "init.svc.servicemanager",
+ .value = "running",
+ },
+ {
+ .key = "init.svc.shcmd",
+ .value = "running",
+ },
+ {
+ .key = "init.svc.surfaceflinger",
+ .value = "running",
+ },
+ {
+ .key = "init.svc.ueventd",
+ .value = "running",
+ },
+ {
+ .key = "init.svc.vold",
+ .value = "running",
+ },
+ {
+ .key = "init.svc.zygote",
+ .value = "running",
+ },
+ {
+ .key = "keyguard.no_require_sim",
+ .value = "true",
+ },
+ {
+ .key = "net.bt.name",
+ .value = "Android",
+ },
+ {
+ .key = "net.change",
+ .value = "net.qtaguid_enabled",
+ },
+ {
+ .key = "net.hostname",
+ .value = "android-e694619d17a0d5e2",
+ },
+ {
+ .key = "net.qtaguid_enabled",
+ .value = "1",
+ },
+ {
+ .key = "net.tcp.buffersize.default",
+ .value = "4096,87380,110208,4096,16384,110208",
+ },
+ {
+ .key = "net.tcp.buffersize.edge",
+ .value = "4093,26280,35040,4096,16384,35040",
+ },
+ {
+ .key = "net.tcp.buffersize.evdo",
+ .value = "4094,87380,262144,4096,16384,262144",
+ },
+ {
+ .key = "net.tcp.buffersize.gprs",
+ .value = "4092,8760,11680,4096,8760,11680",
+ },
+ {
+ .key = "net.tcp.buffersize.hsdpa",
+ .value = "4094,87380,262144,4096,16384,262144",
+ },
+ {
+ .key = "net.tcp.buffersize.hspa",
+ .value = "4094,87380,262144,4096,16384,262144",
+ },
+ {
+ .key = "net.tcp.buffersize.hspap",
+ .value = "4094,87380,1220608,4096,16384,1220608",
+ },
+ {
+ .key = "net.tcp.buffersize.hsupa",
+ .value = "4094,87380,262144,4096,16384,262144",
+ },
+ {
+ .key = "net.tcp.buffersize.lte",
+ .value = "524288,1048576,2097152,262144,524288,1048576",
+ },
+ {
+ .key = "net.tcp.buffersize.umts",
+ .value = "4094,87380,110208,4096,16384,110208",
+ },
+ {
+ .key = "net.tcp.buffersize.wifi",
+ .value = "524288,1048576,2097152,262144,524288,1048576",
+ },
+ {
+ .key = "persist.demo.hdmirotationlock",
+ .value = "0",
+ },
+ {
+ .key = "persist.service.bdroid.bdaddr",
+ .value = "22:22:98:4b:33:1a",
+ },
+ {
+ .key = "persist.sys.country",
+ .value = "US",
+ },
+ {
+ .key = "persist.sys.dalvik.vm.lib",
+ .value = "libdvm.so",
+ },
+ {
+ .key = "persist.sys.language",
+ .value = "en",
+ },
+ {
+ .key = "persist.sys.plimit",
+ .value = "0",
+ },
+ {
+ .key = "persist.sys.profiler_ms",
+ .value = "0",
+ },
+ {
+ .key = "persist.sys.strictmode.disable",
+ .value = "1",
+ },
+ {
+ .key = "persist.sys.strictmode.visual",
+ .value = "0",
+ },
+ {
+ .key = "persist.sys.timezone",
+ .value = "Europe/London",
+ },
+ {
+ .key = "persist.sys.usb.config",
+ .value = "mass_storage,adb",
+ },
+ {
+ .key = "ril.sw.modem.status",
+ .value = "off",
+ },
+ {
+ .key = "ro.allow.mock.location",
+ .value = "1",
+ },
+ {
+ .key = "ro.baseband",
+ .value = "unknown",
+ },
+ {
+ .key = "ro.board.platform",
+ .value = "polaris",
+ },
+ {
+ .key = "ro.boot.signature",
+ .value = "null",
+ },
+ {
+ .key = "ro.bootloader",
+ .value = "unknown",
+ },
+ {
+ .key = "ro.bootmode",
+ .value = "unknown",
+ },
+ {
+ .key = "ro.bt.bdaddr_path",
+ .value = "/data/misc/bluetooth/bdaddr",
+ },
+ {
+ .key = "ro.build.characteristics",
+ .value = "tablet",
+ },
+ {
+ .key = "ro.build.date.utc",
+ .value = "1447315661",
+ },
+ {
+ .key = "ro.build.date",
+ .value = "2015xC4xEA 11xD4xC2 12xC8xD5 xD0xC7xC6xDAxCBxC4 16:07:41 CST",
+ },
+ {
+ .key = "ro.build.description",
+ .value = "astar_y3-eng 4.4.2 KVT49L 20151112 test-keys",
+ },
+ {
+ .key = "ro.build.display.id",
+ .value = "astar_y3-eng 4.4.2 KVT49L 20151112 test-keys",
+ },
+ {
+ .key = "ro.build.fingerprint",
+ .value = "Allwinner/astar_y3/astar-y3:4.4.2/KVT49L/20151112:eng/test-keys",
+ },
+ {
+ .key = "ro.build.host",
+ .value = "Android",
+ },
+ {
+ .key = "ro.build.id",
+ .value = "KVT49L",
+ },
+ {
+ .key = "ro.build.product",
+ .value = "astar-y3",
+ },
+ {
+ .key = "ro.build.tags",
+ .value = "test-keys",
+ },
+ {
+ .key = "ro.build.type",
+ .value = "eng",
+ },
+ {
+ .key = "ro.build.user",
+ .value = "ytx",
+ },
+ {
+ .key = "ro.build.version.codename",
+ .value = "REL",
+ },
+ {
+ .key = "ro.build.version.incremental",
+ .value = "20151112",
+ },
+ {
+ .key = "ro.build.version.release",
+ .value = "4.4.2",
+ },
+ {
+ .key = "ro.build.version.sdk",
+ .value = "19",
+ },
+ {
+ .key = "ro.carrier",
+ .value = "unknown",
+ },
+ {
+ .key = "ro.com.android.dateformat",
+ .value = "MM-dd-yyyy",
+ },
+ {
+ .key = "ro.com.google.gmsversion",
+ .value = "4.4_r3",
+ },
+ {
+ .key = "ro.config.alarm_alert",
+ .value = "Alarm_Classic.ogg",
+ },
+ {
+ .key = "ro.config.low_ram",
+ .value = "false",
+ },
+ {
+ .key = "ro.config.notification_sound",
+ .value = "pixiedust.ogg",
+ },
+ {
+ .key = "ro.config.ringtone",
+ .value = "Ring_Synth_04.ogg",
+ },
+ {
+ .key = "ro.crypto.fuse_sdcard",
+ .value = "true",
+ },
+ {
+ .key = "ro.crypto.state",
+ .value = "unencrypted",
+ },
+ {
+ .key = "ro.debuggable",
+ .value = "1",
+ },
+ {
+ .key = "ro.factorytest",
+ .value = "0",
+ },
+ {
+ .key = "ro.font.scale",
+ .value = "1.15",
+ },
+ {
+ .key = "ro.hardware",
+ .value = "sun8i",
+ },
+ {
+ .key = "ro.hwa.force",
+ .value = "false",
+ },
+ {
+ .key = "ro.kernel.android.checkjni",
+ .value = "0",
+ },
+ {
+ .key = "ro.opengles.version",
+ .value = "131072",
+ },
+ {
+ .key = "ro.product.8723b_bt.used",
+ .value = "true",
+ },
+ {
+ .key = "ro.product.board",
+ .value = "exdroid",
+ },
+ {
+ .key = "ro.product.brand",
+ .value = "Allwinner",
+ },
+ {
+ .key = "ro.product.cpu.abi2",
+ .value = "armeabi",
+ },
+ {
+ .key = "ro.product.cpu.abi",
+ .value = "armeabi-v7a",
+ },
+ {
+ .key = "ro.product.device",
+ .value = "astar-y3",
+ },
+ {
+ .key = "ro.product.firmware",
+ .value = "v2.0",
+ },
+ {
+ .key = "ro.product.locale.language",
+ .value = "en",
+ },
+ {
+ .key = "ro.product.locale.region",
+ .value = "US",
+ },
+ {
+ .key = "ro.product.manufacturer",
+ .value = "softwinner",
+ },
+ {
+ .key = "ro.product.model",
+ .value = "V11",
+ },
+ {
+ .key = "ro.product.name",
+ .value = "astar_y3",
+ },
+ {
+ .key = "ro.reversion.aw_sdk_tag",
+ .value = "exdroid4.4.2_r2-a33-v2.0",
+ },
+ {
+ .key = "ro.revision",
+ .value = "0",
+ },
+ {
+ .key = "ro.runtime.firstboot",
+ .value = "1511831430327",
+ },
+ {
+ .key = "ro.secure",
+ .value = "0",
+ },
+ {
+ .key = "ro.serialno",
+ .value = "86441af7d7f700000000",
+ },
+ {
+ .key = "ro.setupwizard.mode",
+ .value = "OPTIONAL",
+ },
+ {
+ .key = "ro.sf.lcd_density",
+ .value = "160",
+ },
+ {
+ .key = "ro.sw.embeded.telephony",
+ .value = "false",
+ },
+ {
+ .key = "ro.sys.bootfast",
+ .value = "true",
+ },
+ {
+ .key = "ro.sys.cputype",
+ .value = "QuadCore-A33",
+ },
+ {
+ .key = "ro.sys.mutedrm",
+ .value = "true",
+ },
+ {
+ .key = "ro.sys.network_location",
+ .value = "true",
+ },
+ {
+ .key = "ro.udisk.lable",
+ .value = "Polaris",
+ },
+ {
+ .key = "ro.wifi.channels",
+ .value = "",
+ },
+ {
+ .key = "ro.zygote.disable_gl_preload",
+ .value = "true",
+ },
+ {
+ .key = "rw.logger",
+ .value = "0",
+ },
+ {
+ .key = "service.bootanim.exit",
+ .value = "0",
+ },
+ {
+ .key = "sys.boost_up_perf.displays",
+ .value = "1",
+ },
+ {
+ .key = "sys.boost_up_perf.mode",
+ .value = "mode_normal 0 1",
+ },
+ {
+ .key = "sys.boot_completed",
+ .value = "1",
+ },
+ {
+ .key = "sys.forcegles",
+ .value = "0",
+ },
+ {
+ .key = "sys.lights_leds",
+ .value = "1",
+ },
+ {
+ .key = "sys.mem.opt",
+ .value = "false",
+ },
+ {
+ .key = "sys.sensors",
+ .value = "1",
+ },
+ {
+ .key = "sys.shutdown_animation",
+ .value = "boot",
+ },
+ {
+ .key = "sys.sysctl.extra_free_kbytes",
+ .value = "7200",
+ },
+ {
+ .key = "sys.usb.config",
+ .value = "mass_storage,adb",
+ },
+ {
+ .key = "sys.usb.state",
+ .value = "mass_storage,adb",
+ },
+ {
+ .key = "system_init.startsurfaceflinger",
+ .value = "0",
+ },
+ {
+ .key = "vold.post_fs_data_done",
+ .value = "1",
+ },
+ {
+ .key = "wifi.interface",
+ .value = "wlan0",
+ },
+ {
+ .key = "wifi.supplicant_scan_interval",
+ .value = "15",
+ },
+ {
+ .key = "wlan.driver.status",
+ .value = "ok",
+ },
+ { NULL },
+};
+#endif /* __ANDROID__ */