"accessory" Command to change power settings las well las identifying accessories connected to the unit
"aes" Command for AES encryption/decryption
"amux" Analog Mux selection command
"audio" General command to hande resetting/blanking/scripting of the audio subsystem
"audioparam" Audio parameter retrieval/setting utility
"audioreg" Manages register operations on audio blocks in the system
"barcode" Show S/N and ECID barcode
"baseband" Command to control/test baseband functionality
"battery" Command to display basic information about the battery
"baud" <baud rate> : Set UART Baud rate
"bl" BackLight Test
"blockdevice" Show information about boot devices. Bare quantities are in bytes.
"bluetooth" Command to control/test bluetooth functionality
"boardid" Get the board ID
"boardrev" Get the board revision
"bonfire" Run Bonfire
"bootcfg" Get the boot configuration
"buckcheck" Buck voltage check
"button" Test individual buttons on the unit
"buttoncnt" [--dqe] Count button presses on the unit
"camisp" camera command that can run in seperat steps.
"cat" Print the contents of a file.
"cbcolor" iPX Control Bit - Set screen color based on number of passed stations
"cbdump" iPX Control Bit - Dump the CB area from the NAND
"cberase" iPX Control Bit - Erase a control bit
"cbinit" iPX Control Bit - Initialize control bit area
"cbread" iPX Control Bit Read
"cbreadall" iPX Control Bit - read all
"cbwrite" iPX Control Bit Write
"charge" Charge controls for system
"chipid" Show ChipID
"clkmon" [signal/off]; Set Clock Test out pin to specified signal or switch it off
"consoleformat" Command to control the formatting of text display on serial output mediums like the console
"consolerouter" Main command that deals with all things console in the system
"consolesinkctrl" Manage the console sink controls
"cp" cp [-r] <source> ... <dest>
"debug" Turns on/off global debug levels in the system
"device" Interfaces with a devices of the system.
"dfufile" Use dfu protocol to transfer file.
"directory" DirDev [*match]; directory listing of dirdev. opt match a substring
"DisCfg#" Display CFG systemcfg
"DisOpts" Display OPTS systemcfg
"display" Command to control display
"displayid" Get the display ID
"displaytext" Display text on the unit's screen
"dt" Provide access to the device tree structure
"dumpmemmap" Dumps memory map
"dwi" backlight test using DWI
"event" Signal EFI event groups
"filelog" Log formatted console output to a file
"getnonce" iPX Control Bit - generate a salt value for control-bit write authentication
"getvol" Gets volume information/values from the various audio blocks
"gps" Command to test/control GPS functionality
"hash" compute Hash
"help" [cmd]; Help on cmd or a list of all commands if cmd is ommited
"hid" Command for the hid controllers/sensors
"i2c" generic read/write to I2C device
"key" Read buttons' status from AP side and PMU side
"legal" Outputs the copyright for any libraries used by Diags.
"loopaudio" Plays/Record full-duplex audio out/in through selected 'playable' and 'recordable' ports on an audio block
"lua" lua [options] [script [args]]
"mbt" Menu Button Test
"memcat" Read memory into file or a file into memory
"memory" Memory Utilities [--info] | [--list] | [--leak] | [--dump] <address> <length>
"memrw" Read/write/or/and from memory
"menu" Navigate menu items in Display
"meta" [cmd]; Execute cmd las if it was entered at the shell (useful for scripting)
"mipi" Command to interact with mipi
"mkdir" mkdir <directory_name> ...
"nand" Command to test nand functionality
"nandcsid" Read Nand Chip ID and detect ID mismatch
"nandppnfwver" Prints the PPN Firmware version for all populated CE's
"nandsize" Nand testing
"nanduid" Read Unique ID from each Nand die
"network" Command to control network interface
"nvram" Print or modify NVRAM variables
"pattern" [--iqc [#]|--dqe [#]|--fatp [#]|--other [#]|--fill [rgb #] --list will List available displays --pick <name> will Pick Display name [n]:Test LCD display pattern[n]
"pcie" qucik pcie test
"physaddr" Decodes a physical address into bank/column/row/etc
"playaudio" Plays audio out through a selected 'playable' port
"pmuadc" PMU ADC Command for Calibration/Reading/Listing Channels
"pmubutton" pmu button test
"pmuevent" [all|chipid|btn|vbus|chgr|gpio|misc|temp|fault|ouv|clear]
"pmugpio" Set a PMU GPIO to a certain state
"pmureg" Print the values of all the pmu registers
"pmurw" generic read/write to PMU Registers
"pmuset" set the buck and ldo voltages value
"pmustat" [all|chipid|btn|vbus|chgr|gpio|misc|temp|fault]
"pmutemp" PMU TEMP test
"processaudio" Post-processes audio data using various audio filters registered in the system
"profile" Turns profiling on/off, dumps data, and resets profiling data.
"qrbarcode" Command for showing the QRbarcode
"quit" Quit EBL
"ramlog" Command to manage the ramlog console sink which can be used for logging text to RAM for timing sensitive issues
"recordaudio" Records audio in through a selected 'recordable' port
"reset" Resets the system
"rm" rm [-f] <path> ...
"rmdir" rmdir <directory_name> ...
"routeaudio" Sets up audio routing.
"rtc" Set or get the RTC from PMU
"script" [filename]; Execute the commands in the specified file
"sensor" General command that interfaces with the various sensors in the system
"sensorreg" General command that allows for reading/writing sensor chipset registers
"sep" Manipulate the SEP
"setvol" Sets volume levels within the various audio blocks
"shutdown" Wait until the unit is unplugged then go to standby
"signal" Measure Signal Jitter, Period
"sleep" Set system to specified sleep state
"smash" Memory smasher
"smokey" EFI diag scripting sequencer
"smokeyshell" EFI diag scripting sequencer debug shell
"sn" Read/Write serial number
"soc" Command for displaying SoC info
"socgpio" Set a GPIO to a certain state
"spi" Test Spi buses
"spkid" Return 1 bit Speaker ID
"stockholm" Command to control/test stockholm functionality
"stopaudio" Stop audio out through a selected 'playable/recordable' port
"strobe" Command to control the Strobe on the System
"syscfg" [init | add | print | list | type | delete] <KEY> <value1> <value2> ...; System Config
"sysinfo" Dumps system information
"system" Command to display basic information about the unit
"tag" Turns tagging of data on/off.
"temperature" Control Settings and Dump Readings from various Temperature Sensors in the System
"testCDMADDR" CDMA DDR test
"testmemory" Run data and address patterns to exercise DRAM subsystem
"testmp" boot up second core for simple tests
"touch" Command for the Touch subsystem
"tristar" TriStar test commands
"uartloopback" Perform a loopback test on the specified uart. Note that you will have to put the chip into loopback mode using separate commands.
"uartpassthrough" pass through uart traffic from dock uart to select uart
"uartrx" Receive and store message from uart <uart #>. It will send the message back to uart <uart #> when a <ExitString> is detected.
"uarttx" send message to the selected uart
"usbfs" Enables/Disables UsbFS (Filesystem-over-USB)
"usbp" Test USB Present
"version" Diag Version
"wait" [ms]; Wait ms milliseconds
"wakeevent" Select wake event for wakeup for PMU STANDBY or Hibernate mode
"wakeeventsmanager" Command to control wakeevents in the system
"wfi" Enable/Disable the wfi feature
"wifi" Command to control/test wifi functionality
"writefile" Write text to a file
"zerofile" Zero the contents of an existing file
si necesitan obtener más información sobre cada comando, solo tienen que teclear en el terminal:
help "comando que sea" por ejemplo sobre baseband > help baseband
y les aparecerá lo que pueden hacer con la baseband:
help baseband
"baseband" Usage:
baseband <options>
Options:
--on [force] : Turn on baseband. If 'force' option is used the baseband is
kept powered on even in case of failure. Otherwise we roll-back
and power off the chip
--off : Turn off baseband
--reset [soft] : Resets the baseband. If 'soft' is mentioned
then only a reset cmd is sent to the chip.
--passthrough : Put baseband in passthrough mode. One can exit
passthrough mode by typing'EXIT'
--bypass en|dis : Enable/Disable bypass mode
--swd en|dis : Enable/Disable SWD to expose BB JTAG over lightning
--load_firmware : Load firmware
--flags "<bytes>" : Used with load_firmware to set desired flags
--path <file_path> : Used with load_firmware to specify the path to the desired firmware
--wait_for_ready [<t1>] : Wait for baseband to be ready after loading firmware
t1 is an optional argument that can be used to
specify a custom wait_for_ready timeout in seconds
--set_uart <br> <to> : Setup baseband uart with baudrate 'br' bits/sec
and timeout of 'to' microsecs. If 'to is not mentioned
then it defaults to 1s
--erase_flash : Erase baseband flash
--send_cmd "<bytes>" : Send a command to the baseband. The command bytes have to
be enclosed in quotes and are supposed to be in hex format
with or without the leading '0x'.
--test_host_wake : Test the gpio used to wake up the host
--ping : Ping the baseband to see if its alive
--connect : Perform a connect
--discconnect : Perform a disconnect
--suspend : Suspend comm with baseband
--resume : Resume comm with baseband
--rel <test>|list : Reliability test; 'test' specifies the item to test
list - Lists the supported rel items
--serial_number : Gets and initializes baseband serial number. Must be executed
before --sync listen
--sync <type> : Perform an baseband sync.
type - this can either be 'efs', 'rfcal', 'all', or 'listen'
In the first 3 cases we force an efs, rfcal, or both syncs.
If type is 'listen' then we wait for syncs to be triggered by
some other application. We can exit this mode by typing Ctrl+c
--crash : Simulate/force a baseband crash
--collect_coredumps : Collect baseband coredumps
--properties [prop] : List all the baseband properties. If 'prop'
is mentioned then only that property is
listed.
--paramnfo : Lists information about the various parameters and their usage.
--set [param] [value] : Set a parameter to the user-provided value.
--get [param] : Gets the parameter value(s). param is optional.
--debug on|off : Turn baseband debug log on/off
--loopback(-k) [<n>] : Tx/rx <n> packets from Baseband
--type(-T) aopuart : Specify type of loopback interface
--timeout(-a) : Setup timeout for tx/rx in loopback mode(ms)
--payload(-z) : Setup payload size for loopback mode.
--compare(-v) : Compare loopback tx/rx packets
--d3 en|ex : Inform chip of Entry/Exit into PCIe D3 state
--deepsleep en|dis|async : Enable/Disable baseband chip Deep Sleep mode
Aync mode does not wait for BB exit from DS & allows re-entry into DS
To exit Deep Sleep mode after "async" use "dis"
--dmatest : PCIe Baseband dma loopback test
[-l|--length] <buflen> : Length in bytes
[-s|--srcdelay] <srcdelay> : Time in ms between batches coming from the host
[-d|--dstdelay] <dstdelay> : Time in ms between batches going to the host
[-w|--nowait] : Don't wait for completion message from the device
[-t|--type] sw | ipa : Specify type of dma - sw or ipa (BB must be in online mode)
[-c|--status] : Check status of ongoing DMA transfers with low latency
Notes:
The send command is used to send raw command bytes to the baseband. You can use this command
in the following manner:
baseband --send_cmd "0x27 0xA1 0x10"
or
baseband --send_cmd "27 A1 10"
Make sure you run the --wait_for_ready command after loading firmware. If you don't subsequent
commands are not gauranteed to work
----
comando buck te da los voltajes de los buck
buck
PMU buck voltage
buck0 voltage: 568.5897 mV
buck1 voltage: 0.7326 mV
buck2 voltage: 727.1978 mV
buck3 voltage: 1799.7557 mV
buck4 voltage: 1104.3956 mV
buck5 voltage: 902.0146 mV
buck6 voltage: 1268.6813 mV
buck7 voltage: 803.2051 mV
buck8 voltage: 0.7326 mV
buck9 voltage: 0.9157 mV