пока грешу на чип FireWire по нему есть пара errata надо их проверить
OS там занятная
DM1000 Bootloader XH40 ----------------- Starting without 1394 GUID: 000d6c0b'00f81bd0 HWID: 00000090 HWVS: 00000000 BLDS: 00000000 Bootloader: CRC ok! Id=00000001, V=00002808, 20040915-132254UT Debugger: invalid Image: CRC ok! Id=00010062, V=00ffffff, 20070808-135628UT CnE: CRC ok! Id=00010062, V=00ffffff, 20070808-135628UT Press Ctrl-A to avoid starting image! Start image! Addr=20080000. Ready ... GO! mod: SysDevUart2 mod: shellModule mod: stack1394NoBusReset mod: bldCommand mod: modCMP mod: Services1394 mod: AVCStack mod: AVCConnectionMgnt mod: HighSpeedCtrlService mod: avDriver mod: streamingDriver mod: StreamingFrmWrk mod: DataStreamManagement mod: StreamingFramer61883 mod: modBmCommand mod: modOsCommand mod: Application ------------------------------------------------------------ LibraryVersion: BeBoB RD-Audio1 App (Release) LibraryBuildVersion: PRIVATE-BUILD LibraryCVSTag: UNKNOWN-CVS-TAG ------------------------------------------------------------ Using serialized printf System initialisation done. CMDLINE tool ready for commands. Try "help" for help. /cfg> ======================================== New Synch Mode: Internal ======================================== 2 channel standalone recorder processing is running 4 channel standalone playback processing is running
/cfg>help 27 Available commands: help help - shows help rd rd <addr> <count> - reads <count> values starting at <addr> wr wr <addr> <value> - writes <value> to <addr> ls ls [-r|-x|-c] - shows content of current directory cd cd <dir> - changes directory to <dir> pwd pwd - shows current path get get <attributename> - reads value of <attributename> set set <attributename> <attributevalue> - writes <attributevalue> to co nfig <attributename> cfg cfg setdefault- resets configuration to factory settings bat bat <batch-name> shell shell [-h|-i|-o|-s] - shell configuration dbgprt debug print commands AVCLog controls the AVC stack logging avc avc [econn, iconn] bm busreset, nodes, rd, wr, wrs, lock, phywr, phyreg cmp busreset, nodes, rd, wr, wrs, lock, phywr, phyreg os [help, th, load, sem, blk, byte, timer, q, evf, evt, map, wp] sys [help, llc, mdbsettings, mdbdump, dma, pic, cp15, reset, clock, stat , ver, info, frm, tgen, av, uart, spi, gpio] route route a stream from an input plug to an output plug level set the level of line out and mic gain samplerate set sample rate: (44.1kHz = 1, .. 96kHz = 4) spdif set SPDIF in: (OFF = 0, ON = 1) synchOut starts synch stream generator process record starts recorder process play starts playback process msu Music Subunit Access /cfg> /cfg>sys llc cycleMasterCap 1, preRoot 0, cycleMaster 1, cycleTimer 1 rcvPhyPkt 1, rcvSelfId 1, phyMode 1 MdbTrigSel 1, DtaByteSwap 0, LinkEnable 1 IsoRxStop 0, AsyRxStop 0 nodeNumber 0, cablePowerStat 0, is root 1, idValid 1 cycleLost 0, cycleData 0 llc iso rx routing (1 = on) ... 0 0 1 0 2 0 3 0 4 0 5 0 6 0 7 0 8 0 9 0 10 0 11 0 12 0 13 0 14 0 15 0 16 0 17 0 18 0 19 0 20 0 21 0 22 0 23 0 24 0 25 0 26 0 27 0 28 0 29 0 30 0 31 0 32 0 33 0 34 0 35 0 36 0 37 0 38 0 39 0 40 0 41 0 42 0 43 0 44 0 45 0 46 0 47 0 48 0 49 0 50 0 51 0 52 0 53 0 54 0 55 0 56 0 57 0 58 0 59 0 60 0 61 0 62 0 63 0 ERROR: 1 argument expected (missing argument) sys commands (see individual commands for specific help) sys help show this help text sys llc show link layer configuration and iso rx routing table sys mdbsettings show mdb settings sys mdbdump show a dump of mdb sys dma To Be Implemented sys pic To Be Implemented sys cp15 To Be Implemented sys reset resets the system sys clock To Be Implemented sys stat show various counters in iso receinve and transmit sys ver show the version of software running sys info show information about the hardware sys frm show a dump of framer blocks sys tgen show the status of timing generator sys av show the status of AV ports sys avstat shows the current error status of tgen, av1, av2 and frame r sys swmtx current switch matrix settings sys isodrv avdrv internal state variables sys sytlog shows log of received packets if enabled in the streaming driver sys uart To Be Implemented sys spi To Be Implemented sys gpio gpio status and manipulation /cfg>sys llc cycleMasterCap 1, preRoot 0, cycleMaster 1, cycleTimer 1 rcvPhyPkt 1, rcvSelfId 1, phyMode 1 MdbTrigSel 1, DtaByteSwap 0, LinkEnable 1 IsoRxStop 0, AsyRxStop 0 nodeNumber 0, cablePowerStat 0, is root 1, idValid 1 cycleLost 0, cycleData 0 llc iso rx routing (1 = on) ... 0 0 1 0 2 0 3 0 4 0 5 0 6 0 7 0 8 0 9 0 10 0 11 0 12 0 13 0 14 0 15 0 16 0 17 0 18 0 19 0 20 0 21 0 22 0 23 0 24 0 25 0 26 0 27 0 28 0 29 0 30 0 31 0 32 0 33 0 34 0 35 0 36 0 37 0 38 0 39 0 40 0 41 0 42 0 43 0 44 0 45 0 46 0 47 0 48 0 49 0 50 0 51 0 52 0 53 0 54 0 55 0 56 0 57 0 58 0 59 0 60 0 61 0 62 0 63 0 /cfg>sys mdbsettings mdb buffer setup (16k) ... isoTx 1500, asyTxRes 600, asyTxReq 600 asyRxReq 1500, asyRxRes 1500, isoRx 10684 mdb rx routing table (1 = to ARM)... 0: 0 1: 0 2: 0 3: 0 4: 0 5: 0 6: 0 7: 0 8: 0 9: 0 10: 0 11: 0 12: 0 13: 0 14: 0 15: 0 16: 0 17: 0 18: 0 19: 0 20: 0 21: 0 22: 0 23: 0 24: 0 25: 0 26: 0 27: 0 28: 0 29: 0 30: 0 31: 0 32: 0 33: 0 34: 0 35: 0 36: 0 37: 0 38: 0 39: 0 40: 0 41: 0 42: 0 43: 0 44: 0 45: 0 46: 0 47: 0 48: 0 49: 0 50: 0 51: 0 52: 0 53: 0 54: 0 55: 0 56: 0 57: 0 58: 0 59: 0 60: 0 61: 0 62: 0 63: 0 mdb tx routing table (1 = to ARM) ... 0: 0 1: 0 2: 0 3: 0 4: 0 5: 0 6: 0 7: 0 8: 0 9: 0 10: 0 11: 0 12: 0 13: 0 14: 0 15: 0 16: 0 17: 0 18: 0 19: 0 20: 0 21: 0 22: 0 23: 0 24: 0 25: 0 26: 0 27: 0 28: 0 29: 0 30: 0 31: 0 32: 0 33: 0 34: 0 35: 0 36: 0 37: 0 38: 0 39: 0 40: 0 41: 0 42: 0 43: 0 44: 0 45: 0 46: 0 47: 0 48: 0 49: 0 50: 0 51: 0 52: 0 53: 0 54: 0 55: 0 56: 0 57: 1 58: 0 59: 0 60: 0 61: 0 62: 0 63: 0 mdb iso channel: full 0:0 1:0 2:0 3:0 4:0 5:0 6:0 7:0 8:0 9:0 10:0 11:0 12:0 13:0 14:0 15:0 16:0 17:0 18:0 19:0 20:0 21:0 22:0 23:0 24:0 25:0 26:0 27:0 28:0 29:0 30:0 31:0 32:0 33:0 34:0 35:0 36:0 37:0 38:0 39:0 40:0 41:0 42:0 43:0 44:0 45:0 46:0 47:0 48:0 49:0 50:0 51:0 52:0 53:0 54:0 55:0 56:1 57:1 58:0 59:0 60:0 61:0 62:0 63:0 llc rx alarm interrupt counter:0 /cfg>sys mdbdump ERROR: 2 arguments expected (missing argument) mdbdump <dir> <trans> [count] Arguments: <dir> direction [rx|tx] <trans> transaction type [asy|iso] [count] opt., prints max <count> bytes Description: This command prints the contents of the corresponding mdb queue Example: sys mdbdump rx asy /cfg>sys dma dma access per r/w: MDB 8, MEM 8, round robin: 1 dma chan: busy/ enabled ... 1: 0/ 1 2: 0/ 1 3: 0/ 1 4: 0/ 1 5: 0/ 1 6: 0/ 1 7: 0/ 1 8: 0/ 0 dma filter settings ... AsyXArmPktAvxS 0&1: 0 0 AsyYArmPktAvxS 0&1: 0 0 IsoArmPktAvxS 0&1: 0 0 FpgaArmDatAvxS 0&1&2: 0 0 0 /cfg>sys pic Irq Map: 0: Int8kHzxS, irq en 1: DataPath[0], irq dis 2: Timer 1, irq en 3: IsoArmPktAvxS[0], irq dis r 4: IsoArmPktAvxS[1], irq en 5: AsyXArmPktAvxS[0], irq en 6: AsyXArmPktAvxS[1], irq dis 7: AsyYArmPktAvxS[0], irq en 8: AsyYArmPktAvxS[1], irq dis 9: GPIOmod0, irq dis r 10: GPIOmod1, irq dis r 11: GPIOmod2, irq dis r 12: Timer 2, irq dis r 13: Uart1DatAv, irq en 14: Uart2DatAv, irq en 15: Uart1TxHalfEmpty, irq en 16: DmaChFree[0], irq dis r 17: DmaChFree[1], irq en 18: DmaChFree[2], irq en 19: DmaChFree[3], irq en 20: DmaChFree[4], irq en 21: DmaChFree[5], irq en 22: DmaChFree[6], irq dis 23: DmaChFree[7], irq dis 24: ExtFPGA/gpio0, irq dis r 25: SpiDataAv, irq en 26: SpiTxHalfEmpty, irq dis r 27: SciDataAv, irq dis 28: SciTxHalfEmpty, irq dis r 29: DataPath[1], irq dis 30: DataPath[2], irq en 31: DataPath[3], irq dis /cfg>sys cp15 Coprocessor 15 (Cache and Protection Controler) Register Dump ============================================================= Raw CP15 Register Map ===================== R0_ID = 41049460 R0_CacheType; = 0F0CA0CA R0_TCMSize; = 00100140 R1_Control; = 0005107D R2_DataCacheConfiguration; = 0000001C R2_CodeCacheConfiguration; = 0000007C R3_WriteBufferControl; = 0000005C R5_DataAccessPermission; = 33336163 R5_CodeAccessPermission; = 33336163 R6_ProtectionRegion[0] = 0000003F R6_ProtectionRegion[1] = 00000019 R6_ProtectionRegion[2] = 00020021 R6_ProtectionRegion[3] = 10000037 R6_ProtectionRegion[4] = 10000025 R6_ProtectionRegion[5] = 20000035 R6_ProtectionRegion[6] = 10000020 R6_ProtectionRegion[7] = 00000016 R9_DataLockDown; = 00000000 R9_CodeLockDown; = 00000000 R9_DataTCMSize; = 04000008 R9_CodeTCMSize; = 0000000A Detailed CP15 Register Map ========================== R0_ID = 41049460 Implementor = 41 Reserved = 00 Architecture version = 04 Part number = 946 Version = 00 R0_CacheType; = 0F0CA0CA R0TYPE.ICacheWordsPerLine = 02 R0TYPE.ICacheBaseSize = 00 R0TYPE.ICacheAssociativity = 01 R0TYPE.ICacheSize = 03 4kB R0TYPE.reserved1 = 00 R0TYPE.DCacheWordsPerLine = 02 R0TYPE.DCacheBaseSize = 00 R0TYPE.DCacheAssociativity = 01 R0TYPE.DCacheSize = 03 4kB R0TYPE.reserved2 = 00 R0TYPE.harvard = 01 R0TYPE.cacheType = 07 R0TYPE.reserved3 = 00 R0_TCMSize; = 00100140 R0TCM.IRAMAbsent = 00 R0TCM.IRAMSize = 05 16kB R0TCM.DRAMAbsent = 00 R0TCM.DRAMSize = 04 8kB R1_Control = 0005107D R1CONTROL.ProtectionUnitEnabled = 01 R1CONTROL.reserved1 = 00 R1CONTROL.DCacheEnabled = 01 R1CONTROL.reserved2 = 0F R1CONTROL.BigEndian = 00 R1CONTROL.reserved3 = 00 R1CONTROL.ICacheEnabled = 01 R1CONTROL.AlternateVectorEnabled= 00 R1CONTROL.RoundRobinReplacement = 00 R1CONTROL.TBIT = 00 R1CONTROL.DRamEnable = 01 R1CONTROL.DRamLoadMode = 00 R1CONTROL.IRamEnabled = 01 R1CONTROL.IRamLoadMode = 00 R1CONTROL.reserved4 = 00 R2_DataCacheConfiguration = 0000001C R2_CodeCacheConfiguration = 0000007C R3_WriteBufferControl = 0000005C R5_DataAccessPermission = 33336163 R5_CodeAccessPermission = 33336163 Reg E Base Size DC IC WB DP[P/U] IP[P/U] 0 1 00000000 4GB 0 0 0 RW/ RW RW/ RW 1 1 00000000 8kB 0 0 0 RO/ RO RO/ RO 2 1 00020000 128kB 1 1 1 RW/ NA RW/ NA 3 1 10000000 256MB 1 1 1 RO/ RO RO/ RO 4 1 10000000 512kB 1 1 1 RW/ RW RW/ RW 5 1 20000000 128MB 0 1 0 RW/ RW RW/ RW 6 0 10000000 128kB 0 1 1 RW/ RW RW/ RW 7 0 00000000 4kB 0 0 0 RW/ RW RW/ RW R9_DataLockDown; = 00000000 R9_CodeLockDown; = 00000000 TCM Data Base : 04000000 Size : 8kB TCM Code Base : 00000000 Size : 16kB /cfg>sys stat global statistic: rxIsr 2475918 rxStreamInvalid 0 MDBAliveErrors 0 txIsr 3604278 txStreamInvalid 0 distortErrors 0 rxIsrH0 0 dmaBusyWaitCnt 0 rxLLCAlarm 0 rxIsrH1 0 rxIsrH2 0 rxLLCAlarmIntrv 0 Output Stream statistic: iso channel 56 dest AV speed 0 txWrite 2476106 txReady 2476102 txDelayed 1117343 txSend 0 txDma 2476137 noInterption 0 txQFillLevel 50 % W txQEmpty 5 E txQFull 0 E MdbPtrFull 0 E MdbPktFull 0 E txDmaBusy 0 E pkt Past 0 E pkt Future 0 E pktSytDiff 0 S SytOffset 4915 S SytCorr -4301 S FFLimit 34403 Input Stream statistic: iso channel 57 source AV linStartSyt 0 outStartSyt 41894 rxPackets 2476383 blockingConv 0 rxQFillLevel 0 % PoolFillLevel 7 % onlyHeaders 0 rxEMIEtyPkt 0 W rxEmptyPkt 0 E rxNoMem 0 E rxToLong 0 E rxPktToLong 0 E rxPktToSmall 0 E rxDmaBusy 0 E rxQFull 0 E CtrDiffErr 1 E SytDiffErr 0 E SumDiffErr 0 E BCOHdrErr 0 counter1 0 counter2 0 /cfg> /cfg>sys ver module date time id version base length DM Chip N/A N/A 0x000003E8 0x00000000 0x00000000 0x00000000 Hardware N/A N/A 0x00000090 0x00000000 0x00000000 0x00000000 Bootloader 20040915 132254 0x00000001 0x00002808 0x00000000 0x00020000 Cne 20070808 135628 0x00000090 0x00FFFFFF 0x00050000 0x00010000 Image 20070808 135628 0x00010062 0x00FFFFFF 0x00080000 0x00180000 Library Name Version CVS Tag Name ------------------------------------------------------------------------------- KnOS 2.4 (Release) PRIVATE-BUILD UNKNOWN-CVS-TAG DM1000 HAL (Release) PRIVATE-BUILD UNKNOWN-CVS-TAG BeBoB RD-Audio1 App (Release)PRIVATE-BUILD UNKNOWN-CVS-TAG 1394Service (Release) PRIVATE-BUILD UNKNOWN-CVS-TAG AudioHWService (Release) PRIVATE-BUILD UNKNOWN-CVS-TAG AVCAudioSubunit (Release) PRIVATE-BUILD UNKNOWN-CVS-TAG AVCMusicSU (Release) PRIVATE-BUILD UNKNOWN-CVS-TAG CompatibilityServ (Release) PRIVATE-BUILD UNKNOWN-CVS-TAG GTS (Release) PRIVATE-BUILD UNKNOWN-CVS-TAG StreamingFrmWrk (Release) PRIVATE-BUILD UNKNOWN-CVS-TAG UIService (Release) PRIVATE-BUILD UNKNOWN-CVS-TAG 1394HighSpeedControl (Release)PRIVATE-BUILD UNKNOWN-CVS-TAG AVCStack (Release) PRIVATE-BUILD UNKNOWN-CVS-TAG FWmini HAL (Release) PRIVATE-BUILD UNKNOWN-CVS-TAG Framer61883 (Release) PRIVATE-BUILD UNKNOWN-CVS-TAG /cfg> /cfg>sys info OS config: ========== BoardID: 0x90 Board Name: FWmini Board Revision: 0x90 ARM clock: 98304000 TimeSlice: 1000
пока грешу на чип FireWire
по нему есть пара errata надо их проверить
OS там занятная