If you like BoxMatrix then please contribute Supportdata, Supportdata2, Firmware and/or Hardware (get in touch).
My metamonk@yahoo.com is not reachable by me since years. Please use hippie2000@webnmail.de instead.

0
U

Property:csven

From BoxMatrix
(Redirected from csven)


BoxMatrix >> Shell-Commands >> csven @ BoxMatrix   -   IRC-Chat   -   Translate: de es fr it nl pl
News Selectors Models Accessories Components Environment Config Commands System Webif Software Develop Lexicon Community Project Media

Startup-Scr Hotplug-Scr BusyBox-Cmds Bash-Cmds AVM-Cmds Chipset-Cmds Linux-Cmds Shared-Libs Kernel-Mods Research

Chipset-Command

Goto:   Examples  -  Dependencies   -   Model-Matrix   -   Symbols   -   SMW-Browser

Details

csven is an Interactive Shell to the System Visible Event Nexus (SVEN) on ATOM models.
It uses libsven.so to access sven_linux.ko through the sven procfs file.

Sven records software debugging events.

Excerpt from the SVEN Technology 1.0 PDF:

Think of SVEN as the SW analog to an airplane black box recorder.

Examples

6490 fw 7.29 example:

root@fritz2:/var/mod/root# csven 

SVEN Interactive: Built Apr 20 2021

Copyright 2006-2010 Intel Corporation All Rights Reserved
type help for a list of commands or quit
(ev): 32 (long):4 (int):4 (short):2 (char):1

SVEN-Header: ver:     'SVE2' disab: ffffffff debugfl: 00000000
           : hdr_pa:07fb0000 hdr_sz:00001000
           : buf_pa:07500000 buf_sz:00100000 tx_pos:00000000
           : dfx_pa:df8f0000 dfx_sz:00010000

sven> help
             q - Quit SVEN console
          quit - Quit SVEN console
          help - print help with commands
         sleep - sleep for N seconds
         pause - pause capture
           run - restart capture
       monitor - Monitor (print) all events coming into the nexus
           hdr - print SVEN shared memory header info
          dump - dump (up to) last 50 events
       hexdump - dump (in hex) last 50 events
        search - Search Events for any payload between <min> and <max>
        lookup - lookup a module, register, bitfield
       modules - List Supported Modules
      logwrite - demonstrate log write
         reset - reset shared memory areas (DANGEROUS)
       recover - Recover All events from shared memory areas (usually after reset)
        source - Execute additional commands in file
        thread - launch svenlog monitor thread
        decode - Decode MODULE reg_offset reg_value [prev_value] to text
          peek - read a named register
          poke - write a named register
           hot - Hot Enable/Disable of event writers
        source - source a file with the SVEN commands
       trigger - triggers on a specific event
  triggerdelay - Set the number of events to record after a trigger fires
        filter - Filters SVENLog based on a Mask provided
            cw - Configures the CW based on the Script file provided
          save - Save the (binary) SVENLOG to a file
          load - Load the (binary) SVENLOG from a file
       memsave - Save memory to a binary file
       memload - Load memory from a binary file
          omar - OMAR Command
          time - Select time display mode
           smd - Streaming Media Driver control
        health - Health Trigger
          hogs - Find SVEN Event Transmission hogs
          null - NULL Devhandle Test
           dfx - tests DFX support
      overhead - Measures Overhead
        stream - Save the SVENLOG to a file
     timestamp - Timestamp Test
     self_test - Validate Log Writing Code
          dttc - DTTC Example code
           xsi - Get XSI Clock Speed
    testparser - See how the debug console parses the command line
    fw_globals - display fw globals
       systime - print the current system time
          echo - print a string
   triggerwait - Wait for a trigger event [optional timeout in seconds]

sven> save
ERR: usage save <filename>

sven> save save.bin
saving to file "save.bin" using SVENEvent format version 1
wrote 0 events to file "help"

sven> quit

root@fritz2:/var/mod/root# hexdump save.bin

0000000 0000 0000 ffff ffff 0001 0000 0000 0000
0000010 0000 0000 0000 0000 0000 0000 0000 0000
0000020

Now that we know the command we can directly call it:

root@fritz2:/var/mod/root# csven save save2.bin

saving to file "save.bin" using SVENEvent format version 1
wrote 0 events to file "save2.bin"

Implemented debugging modules:

root@fritz2:/var/mod/root# csven modules

Module  2: GEN2_MCH     - "MCH: MCH (GEN2)"
Module  3: GEN2_GPU     - "MMOD: GPU Function (GEN2)"
Module  4: GEN2_MPG2VD  - "MMOD: MPG2VD Function (GEN2)"
Module  5: GEN2_TSP     - "MMOD: TSP Function (GEN2)"
Module  6: GEN2_TSD     - "TSD: TransportStreamDemux (GEN2)"
Module  7: GEN2_VCAP    - "VCAP: Video Capture (GEN2)"
Module  8: GEN2_HDMI    - "HDMI: HDMI Receiver (GEN2)"
Module  9: GEN2_AUDIO   - "AUDIO: (GEN2)"
Module 10: GEN2_CHAP    - "CHAP: CHAP Function (GEN2)"
Module 11: GEN2_VDC     - "MMOD: VDC Function (GEN2)"
Module 12: GEN2_DPE     - "DPE: DPE Function (GEN2)"
Module 13: GEN2_UEE     - "MMOD: UEE Function (GEN2)"
Module 14: GEN2_EXPBUS  - "EXPBUS: EXPBUS Function (GEN2)"
Module 17: GEN2_GPIO    - "MMOD: GPIO Function (GEN2)"
Module 18: GEN2_I2C0    - "MMOD: I2C0 Function (GEN2)"
Module 19: GEN2_I2C1    - "MMOD: I2C1 Function (GEN2)"
Module 20: GEN2_I2C2    - "MMOD: I2C2 Function (GEN2)"
Module 23: GEN2_SPI     - "SPI: Serial Peripheral Interface (GEN2)"
Module 26: GEN1_AUDIO   - "AUDIO: AUDIO (GEN1)"
Module 27: GEN1_TSP     - "MMOD: TSP Function (GEN1)"
Module 28: GEN1_MPEG2E  - "MMOD: MPEG2Encoder Function (GEN1)"
Module 29: GEN1_VCAP    - "VCAP: Video Capture (GEN1)"
Module 30: GEN1_PMU     - "MMOD: MPEG2Encoder Function (GEN1)"
Module 31: TBE_AVI      - "TBE: AVI Multi-Stream Stimulus Card (mirrored FPGAs)"
Module 32: TBE_AVO      - "TBE: AVO Multi-Stream Stimulus Card (mirrored FPGAs)"
Module 34: GEN1_H264    - "MMOD: H264 Decode Function (GEN1)"
Module 35: GEN1PLUS_OMAR - "OMAR: On-chip Media Analysis Recorder (Gen1++)"
Module 36: GEN1_ADI     - "ADI: Advanced Deinterlacer (GEN1)"
Module 37: GEN1_TSDEMUX - "TSD: TransportStreamDemux (GEN1)"
Module 38: GEN1_VDC     - "VDC: VDC Function (GEN1)"
Module 39: GEN1_MPG2VD  - "MMOD: MPG2VD Function (GEN1)"
Module 40: GEN1_EXPBUS  - "EXPBUS: EXPBUS Function (GEN1)"
Module 41: GEN1_UEE     - "MMOD: UEE Function (GEN1)"
Module 42: GEN1_I2C     - "MMOD: I2C Function (GEN1)"
Module 43: GEN1_UART    - "MMOD: UART Function (GEN1)"
Module 44: GEN1_GFX     - "MMOD: GFX Function (GEN1)"
Module 45: SW_VIDREND   - "VIDREND: Video Renderer"
Module 46: GEN1_MCU     - "MCU: MCU DEBUG (GEN1)"
Module 47: GEN1_XAB_VID - "XAB VID: XAB VID DEBUG (Olo)"
Module 48: GEN1_XAB_APER - "XAB APER: XAB APER DEBUG (Olo)"
Module 49: GEN1_XAB_XPORT - "XAB XPORT: XAB XPORT DEBUG (GEN1)"
Module 52: GEN1PLUS_OMAR_CW - "OMAR: On-chip Media Analysis Recorder, Chipwatcher Control"
Module 53: SW_SMD_CORE  - "SMD_CORE: Media Driver Core"
Module 54: SW_GST_PLUGIN - "GST_PLUGIN: GStreamer Plugins"
Module 55: GEN3_AUD_DSP0 - "AUDIO: AUDIO_DSP0 (Intel(r) Media Processor CE 31xx)"
Module 56: GEN3_DPE     - "MMOD: DPE Function (GEN3)"
Module 57: GEN3_DEMUX   - "Demux: TS_PS Demux (GEN3)"
Module 58: GEN3_HDMI_TX - "HDMI: HDMI Transmitter (GEN3)"
Module 59: GEN3_VDC     - "VDC: VDC (GEN3)"
Module 60: GEN3_GFX     - "MMOD: GFX Function (CM)"
Module 62: GEN3_MFD     - "MFD: MFD (GEN3)"
Module 63: GEN3_SEC     - "SEC: SVEN Function (VR)"
Module 65: GEN3_AUD_IO  - "AUDIO: AUD_IO (Intel(r) Media Processor CE 31xx)"
Module 67: GEN3_AUD_DSP1 - "AUDIO: AUDIO_DSP1 (Intel(r) Media Processor CE 31xx)"
Module 69: GEN3_GPIO    - "MMOD: GPIO Function (GEN3)"
Module 72: GEN3_TSI     - "TSI: Third Generation Prefilter Unit"
Module 78: GEN3_MSPOD   - "MSPOD: Third Generation Multi-Stream Host IF"
Module 80: GEN3_DFX     - "DFX: Gen3 DFX Control"
Module 83: GEN3_CRU     - "CRU: Gen3 Clock Recovery Unit"
Module 86: GEN3_TVE     - "TVE: TVE (GEN3)"
Module 87: IPCLIB       - "IPCLIB: IPC Library"
Module 88: GEN3_TSOUT   - "TSOUT"
Module 89: SW_BUFMON    - "BUFMON: Buffering Monitor"
Module 90: GEN4_MFD     - "MFD: MFD (GEN4)"
Module 91: GEN4_GV      - "GV: Gen4 Global vSparc"
Module 94: GEN4_MEU     - "MEU: Gen4 MEU"
Module 95: GEN4_HDVCAP  - "HDVCAP: HDVCAP (GEN4)"
Module 96: SW_APP       - "APP_EVENTS: Application events"
Module 97: GEN4_AUD_IO  - "AUDIO: AUD_IO (Intel(r) Media Processor CE 41xx)"
Module 98: GEN4_DPE     - "DPE: DPE (GEN4)"
Module 99: SW_REMUX     - "REMUX: REMUX"
Module 100: GEN5_TSI     - "TSI: Fifth Generation Prefilter Unit"
Module 101: GEN5_DPE     - "MMOD: DPE Function (GEN5)"
Module 102: SW_VIDSINK   - "VIDSINK: VIDSINK"
Module 103: CE4100_CRU   - "CRU: CE4100 Clock Recovery Unit"
Module 104: CE4200_CRU   - "CRU: CE4200 Clock Recovery Unit"
Module 105: CE5300_CRU   - "CRU: CE5300 Clock Recovery Unit"
Module 106: SW_CES       - "CES: Common Embedded Services"
Module 107: SW_HDMI_RX_EXT - "HDMI_RX_EXT: logical HDMI RX driver (all revision)"
Module 108: SW_MUX       - "MUX: MUX"
Module 109: SW_ENCODER   - "ENCODER: ENCODER"
Module 110: GEN5_AUD_IO  - "AUDIO: AUD_IO (Intel(r) Media Processor CE 53xx)"
Module 111: SW_DISPLAY   - "DISPLAY: VDC display driver"
Module 112: GEN5_HDMI_RX - "GEN5_HDMI_RX: HDMI RX (GEN5)"
Module 113: GEN5_HDVCAP  - "HDVCAP: HDVCAP (GEN5)"
Module 114: VPP_FW       - "Video Post-processor Firmware"
Module 115: SW_PIDREMAPPER - "Pid Remapper"
Module 116: SW_FCC       - "Fast Channel Change Control"

Dependencies

Daily updated index of all dependencies of this command. Last update: 2024-12-23 07:59 GMT.
A * in the Mod column marks info from Supportdata-Probes, which will always stay incomplete.

Relation Typ Object Mod Firmware Info Origin
Depends on lib libc.so 2 6.20 - 7.57 Standard C library Linux
Depends on lib libgcc_s.so 2 6.20 - 6.110 GCC low-level runtime library Linux
Depends on lib libomarwave.so 2 6.20 - 7.57 TODO Linux
Depends on lib libosal.so 2 6.20 - 7.57 OSAL (Operating System Abstraction Layer) library Linux
Depends on lib libpal.so 2 6.20 - 7.57 TODO Linux
Depends on lib libplatform_config.so 2 6.20 - 7.57 TODO Linux
Depends on lib libpthread.so 2 6.20 - 7.12 POSIX threading library Linux
Depends on lib libsven.so 2 6.20 - 7.57 API to the System Visible Event Nexus (SVEN). Linux
8 dependencies for this command

Model-Matrix

Daily updated index of the presence, path and size of this command for each model. Last update: 2024-12-23 05:44 GMT.
Showing all models using this command. Click any column header (click-wait-click) to sort the list by the respective data.
The (main/scrpn/boot/arm/prx/atom/rtl) label in the Model column shows which CPU is meant for Multi-Linux models.
Note that this list is merged from Firmware-Probes of all known AVM firmware for a model, including Recovery.exe and Labor-Files.

Model Firmware Path Size
FRITZ!Box 6490 Cable (atom) 6.20 - 7.51 /bin 58.6k - 73.8k
FRITZ!Box 6590 Cable (atom) 6.83 - 7.51 /bin 58.6k - 73.8k
2 models use this command

Symbols

Daily updated index of all symbols of this command. Last update: 2024-12-23 07:59 GMT.

Firmware Symbol
6.20 - 7.51 iosf_close
6.20 - 7.51 iosf_open
6.20 - 7.51 iosf_read32
6.20 - 7.51 iosf_write32
7.19 - 7.51 main
5 symbols for this command

SMW-Browser

Information is currently being retrieved from the backend.