Difference between revisions of "IBSS commands"

From The iPhone Wiki
Jump to: navigation, search
m
Line 1: Line 1:
  +
{{DISPLAYTITLE:iBSS commands}}
this is the command list you can access by typing help after [[IBSS]] has being uploaded
 
  +
You can access this command list by typing "help" after [[iBSS]] is uploaded.
   
 
bootx boot a kernel cache at specified address
 
bootx boot a kernel cache at specified address
Line 29: Line 30:
 
arm7_go start the arm7 with a downloaded image
 
arm7_go start the arm7 with a downloaded image
 
iic iic read/write
 
iic iic read/write
usb run a USB command
+
usb run a USB command
 
sha1 SHA-1 hash of memory
 
sha1 SHA-1 hash of memory
 
crc POSIX 1003.2 checksum of memory
 
crc POSIX 1003.2 checksum of memory
Line 39: Line 40:
 
bdev block device commands
 
bdev block device commands
   
command's from [[IBoot]]
+
==Commands from [[iBoot]]==
A star (*) next to a name means that the command is disabled.
+
An asterisk (*) next to a name means that the command is disabled.
   
 
JOB_SPEC [&] (( expression ))
 
JOB_SPEC [&] (( expression ))
Line 79: Line 80:
 
while COMMANDS; do COMMANDS; done { COMMANDS ; }
 
while COMMANDS; do COMMANDS; done { COMMANDS ; }
   
== my log's ==
+
== Logs ==
   
if you discover command's plese add them
+
if you discover commands plese add them
   
 
[http://pastebin.com/Ac8VFG5N]
 
[http://pastebin.com/Ac8VFG5N]

Revision as of 20:05, 15 October 2010

You can access this command list by typing "help" after iBSS is uploaded.

       bootx            boot a kernel cache at specified address
       tsys             boot into tsys (if present)
       diags            boot into diagnostics (if present)
       setpicture       set the image on the display
       bgcolor          set the display background color
       poweroff         power off the device
       halt             halt the system (good for JTAG)
       reboot           reboot the device
       run              use contents of enironment var as script
       script           run script at specific address
       go               jump directly to address
       mws              memory write - string
       mwb              memory write - 8bit
       mwh              memory write - 16bit
       mw               memory write - 32bit
       mdb              memory display - 8bit
       mdh              memory display - 16bit
       md               memory display - 32bit
       ramdisk          create a radisk from the specified address
       powernvram       Access Power NVRAM.
       charge           Manage the charger chip.
       devicetree       create a device tree from the specified address
       saveenv          save current environment to flash
       syscfg           flash SysCfg inspection
       chunk            chunk a file
       arm7_stop        stop the arm7
       arm7_go          start the arm7 with a downloaded image
       iic              iic read/write
       usb              run a USB command
       sha1             SHA-1 hash of memory
       crc              POSIX 1003.2 checksum of memory
       clearenv         clear all environment variables
       setenv           set an environment variable
       printenv         print one or all environment variables
       image            flash image inspection
       pki              PKI
       bdev             block device commands

Commands from iBoot

An asterisk (*) next to a name means that the command is disabled.

JOB_SPEC [&]                       (( expression ))
. filename [arguments]             :
[ arg... ]                         expression 
alias [-p] [name[=value] ... ]     bg [job_spec ...]
bind [-lpvsPVS] [-m keymap] [-f fi break [n]
builtin [shell-builtin [arg ...]]  caller [EXPR]
case WORD in [PATTERN [| PATTERN]. cd [-L|-P] [dir]
command [-pVv] command [arg ...]   compgen [-abcdefgjksuv] [-o option
complete [-abcdefgjksuv] [-pr] [-o continue [n]
declare [-afFirtx] [-p] [name[=val dirs [-clpv] [+N] [-N]
disown [-h] [-ar] [jobspec ...]    echo [-neE] [arg ...]
enable [-pnds] [-a] [-f filename]  eval [arg ...]
exec [-cl] [-a name] file [redirec exit [n]
export [-nf] [name[=value] ...] or false
fc [-e ename] [-nlr] [first] [last fg [job_spec]
for NAME [in WORDS ... ;] do COMMA for (( exp1; exp2; exp3 )); do COM
function NAME { COMMANDS ; } or NA getopts optstring name [arg]
hash [-lr] [-p pathname] [-dt] [na help [-s] [pattern ...]
history [-c] [-d offset] [n] or hi if COMMANDS; then COMMANDS; [ elif
jobs [-lnprs] [jobspec ...] or job kill [-s sigspec | -n signum | -si
let arg [arg ...]                  local name[=value] ...
logout                             popd [+N | -N] [-n]
printf [-v var] format [arguments] pushd [dir | +N | -N] [-n]
pwd [-LP]                          read [-ers] [-u fd] [-t timeout] [
readonly [-af] [name[=value] ...]  return [n]
select NAME [in WORDS ... ;] do CO set [--abefhkmnptuvxBCHP] [-o opti
shift [n]                          shopt [-pqsu] [-o long-option] opt
source filename [arguments]        suspend [-f]
test [expr]                        time [-p] PIPELINE
times                              trap [-lp] [arg signal_spec ...]
true                               type [-afptP] name [name ...]
typeset [-afFirtx] [-p] name[=valu ulimit [-SHacdfilmnpqstuvx] [limit
umask [-p] [-S] [mode]             unalias [-a] name [name ...]
unset [-f] [-v] [name ...]         until COMMANDS; do COMMANDS; done
variables - Some variable names an wait [n]
while COMMANDS; do COMMANDS; done  { COMMANDS ; }

Logs

if you discover commands plese add them

[1] [2]