坚果P2底层硬件分析

来源:互联网 发布:php indexof 编辑:程序博客网 时间:2024/05/17 03:25

CPU: MStar-6A628VX四核1.5GHz处理器

查看/proc/cpuinfo

shell@JmGO_P2:/ $ cat /proc/cpuinfo                                            Processor   : ARMv7 Processor rev 3 (v7l)processor   : 0BogoMIPS    : 1785.85processor   : 1BogoMIPS    : 1797.32processor   : 2BogoMIPS    : 1797.32processor   : 3BogoMIPS    : 1797.32Features    : swp half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 CPU implementer : 0x41CPU architecture: 7CPU variant : 0x0CPU part    : 0xc07CPU revision    : 3Hardware    : MadisonRevision    : 0020Serial      : 0000000000000000shell@JmGO_P2:/ $ 

查看/system/build.prop

由以下的build.prop可以得知其对应的Android版本是4.4.4。

# begin build properties# autogenerated by buildinfo.shro.build.id=KTU84Pro.build.display.id=JmGO_P2-userdebug 4.4.4 KTU84P 1.1.6 test-keysro.build.version.incremental=1.1.6ro.build.version.sdk=19ro.build.version.codename=RELro.build.version.release=4.4.4ro.build.date=Thu Sep 22 13:44:27 CST 2016ro.build.date.utc=1474523067ro.build.type=userdebugro.build.user=fengjunjunro.build.host=software-Serverro.build.tags=test-keysro.product.model=Hola Android Projectorro.product.brand=MStarro.product.name=JmGO_P2ro.product.device=JmGO_P2ro.product.board=JmGO_P2ro.product.cpu.abi=armeabi-v7aos.hola.dlp.type=1os.hola.tv.type=1os.hola.update.type=0ro.product.cpu.abi2=armeabiro.product.manufacturer=HolaTek Co.,Ltd.ro.product.locale.language=zhro.product.locale.region=CNro.wifi.channels=ro.board.platform=madison# ro.build.product is obsolete; use ro.product.devicero.build.product=JmGO_P2# Do not try to parse ro.build.description or .fingerprintro.build.description=JmGO_P2-userdebug 4.4.4 KTU84P 1.1.6 test-keysro.build.fingerprint=MStar/JmGO_P2/JmGO_P2:4.4.4/KTU84P/1.1.6:userdebug/test-keysro.build.characteristics=tv# end build properties## ADDITIONAL_BUILD_PROPERTIES#persist.sys.language=zhpersist.sys.country=CNpersist.sys.timezone=Asia/Shanghaiwifi.interface=wlan0ro.opengles.version=131072ro.sf.lcd_density=160media.aac_51_output_enabled=truemstar.build.mstartv=snmstar.framebuffer.format=3mstar.gop=0mstar.gwin=0mstar.gopfrc=2mstar.forcelandscape=1mstar.specify.mali.memlocation=falsemstar.str.enable=truemstar.lvds-off=0mstar.desk-display-mode=0mstar.pdp-xoffset=0mstar.pmem.poolsize=33554432dfb_jpd_write_buffer=SkiaDecodeMutexmstar.mstplayer.bd=1mstar.meta.sf=0mstar.videoadvert.finished=0mstar.mediascanner_onlysd=1mstar.resmgr_v4.enable=1config.disable_bluetooth=0chrome.tv.hole_threshold=0debug.hwui.render_dirty_regions=falsero.hwui.texture_cache_size=100.0ro.config.low_ram=trueservice.adb.tcp.port=5555persist.adb.tcp.port=5555persist.service.adb.enable=1ro.adb.secure=1bluetooth.sco_over_btmic=1dalvik.vm.heapstartsize=8mdalvik.vm.heapgrowthlimit=128mdalvik.vm.heapsize=256mdalvik.vm.heaptargetutilization=0.75dalvik.vm.heapminfree=512kdalvik.vm.heapmaxfree=8mro.com.android.dateformat=MM-dd-yyyyro.config.ringtone=Ring_Synth_04.oggro.config.notification_sound=pixiedust.oggro.carrier=unknownro.config.alarm_alert=Alarm_Classic.oggpersist.sys.dalvik.vm.lib=libdvm.sodalvik.vm.lockprof.threshold=500dalvik.vm.dexopt-flags=m=ynet.bt.name=Androiddalvik.vm.stack-trace-file=/data/anr/traces.txt

声卡:

shell@JmGO_P2:/ # busybox killall -9 mediaserver && tinyalsa pcminfo -D 0    Info for card 0, device 0:PCM out:      Access:   0x000008   Format[0]:   0x000004   Format[1]:   00000000 Format Name:   S16_LE   Subformat:   0x000001        Rate:   min=8000Hz  max=48000Hz    Channels:   min=1       max=2 Sample bits:   min=16      max=16 Period size:   min=16      max=8192Period count:   min=1       max=1024PCM in:      Access:   0x000008   Format[0]:   0x000004   Format[1]:   00000000 Format Name:   S16_LE   Subformat:   0x000001        Rate:   min=48000Hz max=48000Hz    Channels:   min=1       max=2 Sample bits:   min=16      max=16 Period size:   min=16      max=8192Period count:   min=1       max=1024shell@JmGO_P2:/ # 

201:

shell@JmGO_P2:/ # tinyalsa pcminfo -D 1                                        Info for card 1, device 0:PCM out:cannot open device '/dev/snd/pcmC1D0p'Device does not exist.PCM in:      Access:   0x000009   Format[0]:   0x000004   Format[1]:   00000000 Format Name:   S16_LE   Subformat:   0x000001        Rate:   min=8000Hz  max=48000Hz    Channels:   min=1       max=2 Sample bits:   min=16      max=16 Period size:   min=16      max=262144Period count:   min=2       max=1024shell@JmGO_P2:/ # 

pid 2823

adb shell dumpsys media.audio_flinger
Clients:  pid: 2160  pid: 2823Notification Clients:  pid: 1109  pid: 1575  pid: 1819  pid: 2160  pid: 2823Global session refs: session pid count       8 2160   1       9 1819   1      10 2823   1Hardware status: 0Standby Time mSec: 3000Output thread 0x4165d008 internalsNormal frame count: 1024last write occurred (msecs): 0total writes: 30437delayed writes: 0blocked in write: 1suspend count: 0mix buffer : 0x4001b008Fast track availMask=0xfeio handle: 2TID: 1368standby: 0Sample rate: 44100HAL frame count: 1024Channel Count: 2Channel Mask: 0x00000003Format: 1Frame size: 4Pending setParameters commands:  Index CommandPending config events: AudioMixer tracks: 00000003FastMixer not initializedOutput thread 0x4165d008 stream volumes in dB:    0:-4.7, 1:-6, 2:-8.7, 3:0, 4:-4.5, 5:-8.7, 6:0, 7:-6, 8:-6, 9:0, 10:0Output thread 0x4165d008 tracks   Name Client Type      Fmt Chn mask Session fCount S F SRate  L dB  R dB    Server Main buf  Aux Buf Flags UndFrmCnt      0   2160    0 00000001 00000001       8   2048 I 0 44100   -10   -10  00000000 4001B008 00000000 0x000         0       1   2823    3 00000001 00000003      10   2048 S 3 44100     0     0  01DB8400 4001B008 00000000 0x600     14336 Output thread 0x4165d008 active tracks   Name Client Type      Fmt Chn mask Session fCount S F SRate  L dB  R dB    Server Main buf  Aux Buf Flags UndFrmCnt      1   2823    3 00000001 00000003      10   2048 S 3 44100     0     0  01DB8400 4001B008 00000000 0x600     14336 Normal mixer raw underrun counters: partial=0 empty=0- 0 Effect Chains:Output thread 0x416bb008 internalsNormal frame count: 1024last write occurred (msecs): 1831937total writes: 0delayed writes: 0blocked in write: 0suspend count: 0mix buffer : 0x4003c008Fast track availMask=0xfeio handle: 3TID: 1373standby: 1Sample rate: 44100HAL frame count: 1024Channel Count: 2Channel Mask: 0x00000003Format: 1Frame size: 4Pending setParameters commands:  Index CommandPending config events: AudioMixer tracks: 00000000FastMixer not initializedOutput thread 0x416bb008 stream volumes in dB:    0:-4.7, 1:-12, 2:-15, 3:0, 4:-11, 5:-15, 6:0, 7:-12, 8:-6, 9:0, 10:-InfOutput thread 0x416bb008 tracks   Name Client Type      Fmt Chn mask Session fCount S F SRate  L dB  R dB    Server Main buf  Aux Buf Flags UndFrmCntOutput thread 0x416bb008 active tracks   Name Client Type      Fmt Chn mask Session fCount S F SRate  L dB  R dB    Server Main buf  Aux Buf Flags UndFrmCntNormal mixer raw underrun counters: partial=0 empty=0- 0 Effect Chains: