Advertisement
ChiptuneXT

Diags commands

Jul 13th, 2015
2,460
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.27 KB | None | 0 0
  1. :-) menu -l
  2. :-) help
  3. EDK Boot Loader commands (help <command> for more info):
  4.  
  5. "3dbli2bb2rcv" Reverse Receiver test - Record LI - 3db down
  6. "3dbli2bb2rcv2" Reverse Receiver test - Playback RCVR/ Record MIC - 3db down
  7. "3dbli2bb2spk" Reverse Speaker test - Record - 3db down
  8. "3dbli2bb2spk2" Reverse Speaker test - Playback - 3db down
  9. "aboutCB" display conrolbit information on the screen
  10. "aboutdev" display device information on the screen
  11. "accdet" Get ACCDet pin status
  12. "accel" Test accelermeter in fct &fatp station
  13. "accid" Read Acc Identify
  14. "accsw" --[on|off|auto]: Diagnostic Acc3V3
  15. "adc" get the ADC value from the PMU
  16. "als" [--raw|--iqc|--tilt|--ircal|--luxcal|--lux|--commit|--interrupt]ALS calibration and tests
  17. "alsprox" [--ui|--samples|--proxcount|--interval|--gain]; Sample refrences number of samples taken, interval is the wait time in ms between samplesALS and PROX Logging test
  18. "amcss" :Run AudioDE
  19. "ap2hpi2s2ap" Codec I2S Loopback Test - Playback/Record Codec
  20. "ap2hppcm2ap" Codec PCM Loopback Test - Playback/Record Codec
  21. "ap2hppcm2ap2" Codec PCM Loopback Test - Playback HP
  22. "ap2rcv" AP to receiver or speaker or HP
  23. "audioinit" - Initialize the codec
  24. "bat" Read battery information
  25. "batdev" Read or Write to battery
  26. "batdisconnect" Disable battery power at the terminals.
  27. "batfwupdate" Download firmware to battery
  28. "batgg" Diag test to check FCC and Ra corruption
  29. "batqmax" QMax Cell Test
  30. "batreadblock" Read battery block
  31.  
  32. "batSN" Read battery SN
  33. "battool" List the Battery information
  34. "batwriteblock" Write battery block
  35. "bbinit" power on baseband and check BB response
  36. "bboff" use gpio single power donwn Baseband
  37. "bbon" use gpio single power on Baseband
  38. "bbsnum" Read the baseband chip-id serial number, SNUM
  39. "bl" BackLight Test
  40. "blockdevice" Show information about boot devices
  41. "BPC" Switch to Uart to BB passthrough mode
  42. "bt" check BT response and verify
  43. "bthostwake" Test BT_HOST_WAKE line by checking PMU GPIO10
  44. "buck" set the buck voltage value
  45. "button0" Test buttons without menu key of the unit
  46. "buttont" [--alt] Test buttons on the unit
  47. "camera" camera command that can run canned tests.
  48. "camisp" camera command that can run in seperat steps.
  49. "cat" Print the contents of a file.
  50. "charge" set charge for system
  51. "chipid" :Show ChipID
  52. "clcd" [--id (--iqc)]
  53. "clkmon" [signal/off]; Set Clock Test out pin to specified signal or switch it off
  54. "codec" -[r/w/a][reg][data]
  55. "compass" Compass tests
  56. "confct" [R G B]
  57. "crosstalk" Test for high resistance between dock Rx and Tx lines
  58. "cvbs" [get] external Video device
  59. "d2bb" Enable dock uart directly to Baseband
  60. "dacff" :write 0xffff to DAC's for 1 sec. output on HP/LO
  61. "debug" Turns debugging on/off.
  62. "device" Interfaces with a devices of the system.
  63. "dfufile" Use dfu protocol to transfer file.
  64. "directory" dirdev [*match]; directory listing of dirdev. opt match a substring
  65. "DisCfg#" Display CFG systemcfg
  66. "DisOpts" Display OPTS systemcfg
  67. "displayPort" Tests various DisplayPort functionalities - HotPlugDetect, EDID, BIST patterns, FrameBuffers
  68. "dumpmemmap" Dumps memory map
  69. "duplexaudio" Duplexes I2s/PCM format audio over an I2s interface specified (relative to the AP).
  70. "fg" [STATION ID] 0/1/2/3; Write Control Bit
  71. "flin2rcv" :Linein-Receiver, MicIn-LO passthrough
  72. "flin2rcvh" :Linein-Receiver, MicIn-LO passthrough
  73. "flin2spk" :Linein-Speaker, MicIn-LO passthrough
  74. "flin2spkh" :Linein-Speaker, MicIn-LO passthrough
  75. "fm" --[port [0|1]|portcfg [i2s|pcm]|mode [master|slave]|rec|pbk|passthrough|len [length]|analyse]
  76. "fwp" Test FireWire Present
  77. "getnonce" read all control bits
  78. "gpio" Test button status of unit
  79. "gps" Take the GPS in or out of Reset
  80. "grape" [--power(--on|--off)|--rawdata|--1v8(--on|--off)|--18v(--on|--off) |--fwdl|--ver|--critical|--trailtest [--iqc]|--ninesquare|--digitest(--board|--grape|--open|--shorts)]
  81. "grapecs" : Test SPI4_GRAPE_CS_L
  82. "gyro" Gryoscope test
  83. "help" [cmd]; Help on cmd or a list of all commands if cmd is ommited
  84. "hm2bb2hp" :Audio test-WiredMic to BB to HeadPhone - Record
  85. "hm2bb2hp2" :Audio test-WiredMic to BB to HeadPhone - Playback
  86. "HP" Tool to init/reset Hightland Park as well as read/write it registers
  87. "HPct" Highland Park CloseTalk Setup
  88. "HPft" Highland Park FarTalk Setup
  89. "HPhpm" Highland Park Audio test-HeadPhone Test:multi tone stereo 8kHz 16bit
  90. "HPloop" Highland Park Audio loop back
  91. "hpm" :Audio test-HeadPhone Test:multi tone
  92. "HPplay" Highland Park Audio Playback from file
  93. "HPrec" Highland Park Audio Record to file
  94. "hps" :Audio test-HeadPhone Test:single tone
  95. "HPspr" Highland Park Simultaneous Audio Playback and Record
  96. "HPspur" Highland Park Simultaneous Playback and Record via arbitrary ports
  97. "i2c" generic read/write to I2C device
  98. "i2cdevice" generic read from I2C device by register
  99. "iis2mic" Microphone test - Record
  100. "iis2mic2" Microphone test - Playback
  101. "iis2rcv" Receiver test - Record
  102. "iis2rcv2" Receiver test - Playback
  103. "iis2spk" Speaker test - Record
  104. "iis2spk2" Speaker test - Playback
  105. "im2hp" :Audio test-INT mic hp passthrough
  106. "im2lo" :Audio test-INT mic hp passthrough
  107. "im2rcv" :Audio test-INT mic - receiver passthrough
  108. "im2spk" :Audio test-INT mic spk passthrough
  109. "imei" Print IMEI information
  110. "LCM" --on:Turn on the LCD interface
  111. --off:Turn off the LCD interface
  112. "legal" Outputs the copyright for any libraries used by Diags.
  113. "li2bb2rcv" Reverse Receiver test - Record LI
  114. "li2bb2rcv2" Reverse Receiver test - Playback RCVR/ Record MIC
  115. "li2bb2rcv3" Reverse Receiver test - Playback LO
  116. "li2bb2spk" Reverse Speaker test - Record
  117. "li2bb2spk2" Reverse Speaker test - Playback
  118. "li2bt2hp" BlueTooth Test - Playback/Record BlueTooth
  119. "li2bt2hp2" BlueTooth Test - Playback HP
  120. "lilo" :LineIn to LineOut/HP bypass
  121. "lin2rcv" :Linein-Receiver passthrough
  122. "lin2spk" :LineIn-Speaker passthrough
  123. "lipm" :Audio Test-play recorded wave file
  124. "lirm" :Audio test-recordd audio file
  125. "listclocks" List frequency of PMGR clocks
  126. "loopaudio" Loops I2s/PCM format audio over an I2s interface specified (relative to the AP). [DEPRECATED - use duplexaudio instead.]
  127. "memrw" [r/w/o/a] [address] [value] Read/write/or/and from memory
  128. "menu" : Navigate menu items in Display
  129. "micpm" :Audio Test-play recorded wave file
  130. "micrm" :Audio test-recordd audio file
  131. "mictest" --[len[length]|passthreshold|override|dumpstart|print|stats]: Internal mic self test
  132. "mikey" Mikey Tests
  133. "mipi" on [lanes(1|2|4)] [bpp(2|4)] [freq] | off | enable | disable | sleep [on|off] | highspeed [on|off] | idle | file | backlight [on|off] | invert [on|off] | fill [hex] [hex] | power [on|off] | gamma [file] | write | longwrite | read | longread
  134. "mipitest" [--ecc (--iqc)]
  135. "nandcsid" Read Nand Chip ID and detect ID mismatch
  136. "nandlayout" Verify the Nand layout is correct
  137. "nandsize" Nand testing
  138. "nandtiming" nandtiming write|read|get|set|restore|help [optional args]; See help for complete description
  139. "nanduid" Read Unique ID from each Nand die
  140. "OTASMS" Test the OTA and SMS
  141. "pattern" [--iqc [#]|--fatp [#]|--other [#] [n]:Test LCD display pattern[n]
  142. "playaudio" Plays audio from the selected output(s).
  143. "pmuadc" PMU ADC test
  144. "pmubutton" pmu button test
  145. "pmustat" [all|chipid|btn|vbus|chgr|gpio|misc|temp]
  146. "pmuswif" Test pmu swi interface
  147. "pmutemp" PMU TEMP test
  148. "prox" Return prox raw data
  149. "proxcal" [--samples|--proxcount|--offset|--diode|--interval|--getpower|--stream|--getpower]PROX calibration test
  150. "quit" Quit EBL
  151. "racb" read all control bits
  152. "rb" [STATION ID]; Read Control Bit
  153. "recordaudio" Records I2S/PCM audio data from a specified I2S port (relative to the AP)
  154. "reset" ; Resets the whole system
  155. "routeaudio" Sets up audio routing.
  156. "rstbb" use bb_rst single reset Baseband
  157. "rtc" Set or get the RTC from PMU
  158. "sdiospeed" targetspeed (Hz)
  159. "setu2sto" Set u2s timeout in micro secs
  160. "setvol" - Sets volumes (run with no argument for help)
  161. "setvol" set Headphone/LineIn/LineOut
  162. "simdet" Sim Tray and Card detect
  163. "sleep" Set system to sleep state
  164. "sn" Read/Write serial number
  165. "soldercheck" Check that strategic SoC solder balls are grounded/soldered
  166. "strobe" --[init|set_power <mode> <level>|set_mode <mode>|set_duration <us>|sw_sync|hw_sync|on|off
  167. "swif" backlight test using SWIF
  168. "syscfg" [init | add | print | list | type] <KEY> <value1> <value2> ...; System Config
  169. "tag" Turns tagging of data on/off.
  170. "tat" Send"AT+COPS=0" to BB after removing dummy cable
  171. "temp" Return various temperatures by SerialIoBB from BB
  172. "testburnin" Bonfire low-level NAND burn-in
  173. "testCDMADDR" CDMA DDR test
  174. "testmemory" Run data and address patterns to exercise DRAM subsystem
  175. "u2g" Switch to Uart to GPS passthrough mode
  176. "u2s" Switch to Uart to SDIO passthrough mode
  177. "u2u" Switch to Uart to BT passthrough mode
  178. "uart" Test the uart receive command
  179. "usbp" Test USB Present
  180. "version" Diag Version
  181. "vfct" [R G B]
  182. "vibrator" Vibrator Test
  183. "vof" Video off
  184. "von" Video on
  185. "wait" [ms]; Wait ms milliseconds
  186. "wakeevent" Select wake event for wakeup for PMU STANDBY or Hibernate mode
  187. "wakeoncall" test wake on call by checking PMU GPIO2
  188. "wdmic" :Audio test-HP mic passthrough
  189. "wifi" : WiFi Full Self test
  190. "wlanhostwake" Test the WLAN_HOST_WAKE line - PMU GPIO 7
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement