Wikia

CHDK Wiki

DryOS Shell

Talk0
575pages on
this wiki
Revision as of 06:26, March 13, 2012 by Fe50 (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

DryOS Shell is available via UART Serial Connection with Camera.

Start ShellEdit

On Camera Startup the Canon Event Shell is active.

To start DryOS Shell (Dry-sh) from Event Shell enter drysh:

Event[1]>drysh
=== Dry-shell start ===
Dry>

Available CommandsEdit

Dry> help
[Debug]
 task  sem  event  mq  mutex  timer  mkobjsize  extask  kill  suspend  resume
 release  delete  prio  mkcfg  meminfo  xd  xm  memmap  objinfo
[Misc]
 vers  exit  dminfo

Canon SD4000Edit

UART Settings: 115200/8/1/N (115200 Baud)
Voltage Level: 3.3V
Pinout: SD4000

Some Example output:

Dry> vers
DRYOS version 2.3, release #0043
  Dry-MK 2.52
  Dry-DM 1.16
  Dry-stdlib 1.44
  Dry-efat 1.06 091030-3171+
  Dry-shell 1.15
  Dry-command alpha 050
Dry> mkobjsize
 sizeof(dlqueue_t) =   8
 sizeof(   task_t) =  84
 sizeof(    sem_t) =  24
 sizeof(  event_t) =  24
 sizeof(     mq_t) =  44
 sizeof(  mutex_t) =  28
 sizeof(  timer_t) =  40
Dry> objinfo
          MAX  COUNT   PEAK
task      104     63     71
sem       411    293    315
event     150     71     76
mq        120     85     95
mb          0      0      0
mutex     100     20     20
cond        0      0      0
timer       0      0      0

Around Wikia's network

Random Wiki