<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div class="elementToProof" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span class="ContentPasted0 elementToProof" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; display: inline !important; color: rgb(0, 0, 0); background-color: rgb(247, 247, 248);">Hello everyone,<br>
</span></div>
<div class="elementToProof" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span class="ContentPasted0" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; display: inline !important; color: rgb(0, 0, 0); background-color: rgb(247, 247, 248);"><br>
</span></div>
<div class="elementToProof" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span class="ContentPasted0" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; display: inline !important; color: rgb(0, 0, 0); background-color: rgb(247, 247, 248);"><br>
</span></div>
<div class="elementToProof" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span class="ContentPasted0" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; display: inline !important; color: rgb(0, 0, 0); background-color: rgb(247, 247, 248);">I am encountering difficulties with initializing I2C on the RTEMS6
MVME3100 BSP, required to run EPICS test. I have made adaptations based on Heinz's patch for RTEMS5, but I am experiencing an error. Here is the specific error message alongside an attached file showing the modifications made.</span><br>
</div>
<div class="elementToProof">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<table data-editing-info="{"topBorderColor":"#ABABAB","bottomBorderColor":"#ABABAB","verticalBorderColor":"#ABABAB","hasHeaderRow":false,"hasFirstColumn":false,"hasBandedRows":false,"hasBandedColumns":false,"bgColorEven":null,"bgColorOdd":"#ABABAB20","headerRowColor":"#ABABAB","tableBorderFormat":0,"keepCellShade":false}" style="border-collapse: collapse; box-sizing: border-box;" cellspacing="0" cellpadding="1">
<tbody>
<tr>
<td style="width: 639.334px; border-color: rgb(171, 171, 171); border-style: solid; border-width: 1px; box-sizing: border-box; height: 2153.99px; word-break: break-word; white-space: normal;" scope="" class="ContentPasted1">
Welcome to rtems-6.0.0 (PowerPC/Generic (no FPU)/mvme3100)
<div class="ContentPasted1">BSP: mvme3100, CVS Release ($Name$)</div>
<div class="ContentPasted1">CPU 0x8020 - rev 0x20</div>
<div class="ContentPasted1">Additional boot options are</div>
<div class="ContentPasted1">Initial system stack at 41cb0</div>
<div class="ContentPasted1">Going to start PCI buses scanning and initialization</div>
<div class="ContentPasted1">Board Type: MVME3100-1152 (S/N E1726C0)</div>
<div class="ContentPasted1">External (=PCI Bus) Clock Freq : 66666666 Hz</div>
<div class="ContentPasted1">Core Complex Bus (CCB) Clock Freq: 333333330 Hz</div>
<div class="ContentPasted1">CPU Clock Freq: 133333332 Hz</div>
<div class="ContentPasted1">Ethernet 0 EC:9E:CD:19:B3:53</div>
<div class="ContentPasted1">Ethernet 1 EC:9E:CD:19:B3:54</div>
<div class="ContentPasted1">Ethernet 2 EC:9E:CD:19:B3:55</div>
<div class="ContentPasted1">Number of PCI buses found is : 2</div>
<div class="ContentPasted1">BUS:SLOT:FUN VENDOR-DEV_ID: COMMAND STATUS BASE_ADDR0 BASE_ADDR1 IRQ_PIN -> IRQ_LINE</div>
<div class="ContentPasted1"> 0:0x00:0 0x1057-0x0008: 0x0006 0x20b0 0x80000000 0x00000000 0 -> 0 (=0x00)</div>
<div class="ContentPasted1"> 0:0x11:0 0x10e3-0x0148: 0x0146 0x02b0 0x80100004 0x00000000 1 -> 0 (=0x00)</div>
<div class="ContentPasted1"> 0:0x12:0 0x10b5-0x6520: 0x0147 0x02b0 0x00000000 0x00000000 0 -> 0 (=0x00)</div>
<div class="ContentPasted1"> 0:0x14:0 0x1095-0x3124: 0x01c7 0x02b0 0x80300004 0x00000000 1 -> 2 (=0x02)</div>
<div class="ContentPasted1">Memory: 268435456 bytes</div>
<div class="ContentPasted1">Cleared PCI errors: pci_stat was 0x20b0</div>
<div class="ContentPasted1">OpenPIC Version 1.2 (1 CPUs and 56 IRQ sources) at 0x3775135744</div>
<div class="ContentPasted1">OpenPIC Vendor 0 (Unknown), Device 0 (Unknown), Stepping 0</div>
<div class="ContentPasted1">OpenPIC timer frequency is not set</div>
<div class="ContentPasted1">MSR is 0x00001000, TCR 0x04000000</div>
<div class="ContentPasted1">-----------------------------------------</div>
<div class="ContentPasted1">Exit from bspstart</div>
<div class="ContentPasted1">Tundra Tsi148 PCI-VME bridge detected at 0x80100000, IRQ 0</div>
<div class="ContentPasted1">Tsi148 Outbound Ports:</div>
<div class="ContentPasted1">Port VME-Addr Size PCI-Adrs Mode:</div>
<div class="ContentPasted1">0: 0x20000000 0x0e000000 0xc0000000 A32, SUP, D32, SCT</div>
<div class="ContentPasted1">1: 0x00000000 0x00ff0000 0xcf000000 A24, SUP, D32, SCT</div>
<div class="ContentPasted1">2: 0x00000000 0x00010000 0xcfff0000 A16, SUP, D32, SCT</div>
<div class="ContentPasted1">7: 0x00000000 0x01000000 0xce000000 CSR, SUP, D32, SCT</div>
<div class="ContentPasted1">Tsi148 Inbound Ports:</div>
<div class="ContentPasted1">Port VME-Addr Size PCI-Adrs Mode:</div>
<div class="ContentPasted1">0: 0xc0000000 0x10000000 0x00000000 A32, PGM, DAT, SUP, USR, MBLT, BLT</div>
<div class="ContentPasted1">vmeTsi148 IRQ manager: looking for registers on VME...</div>
<div class="ContentPasted1">Trying to find CSR on VME...</div>
<div class="ContentPasted1">vmeTsi148 - IRQ manager using VME CSR to flush FIFO</div>
<div class="ContentPasted1">-------- call BSP_i2c_initialize() with _IO_All_drivers_initialized = true</div>
<div class="ContentPasted1">assumes that major 0 is assigned to i2c ---------</div>
<div class="ContentPasted1">now trying to i2c intialized</div>
<div class="ContentPasted1">libi2c: Claiming driver slot failed (rtems status code 10)</div>
<div class="ContentPasted1">Initializing I2C library failed</div>
<div class="ContentPasted1">now i2c intialized 2</div>
<div><br class="ContentPasted1">
</div>
<div><br class="ContentPasted1">
</div>
<div class="ContentPasted1">*** BEGIN OF TEST HELLO WORLD ***</div>
<div class="ContentPasted1">*** TEST VERSION: 6.0.0.b2967081e5daa673141d714a2e53280898dce566</div>
<div class="ContentPasted1">*** TEST STATE: EXPECTED_PASS</div>
<div class="ContentPasted1">*** TEST BUILD: RTEMS_POSIX_API</div>
<div class="ContentPasted1">*** TEST TOOLS: 12.2.1 20230425 (RTEMS 6, RSB 3c8c2ce38a8fe0a622f88fb3422d1f8fa609609b, Newlib 9ae9eef)</div>
<div class="ContentPasted1">Hello World</div>
<div><br class="ContentPasted1">
</div>
<div class="ContentPasted1">*** END OF TEST HELLO WORLD ***</div>
<div><br class="ContentPasted1">
</div>
<div class="ContentPasted1">fatal source: RTEMS_FATAL_SOURCE_EXIT</div>
<div class="ContentPasted1">exception vector 1 (0x1)</div>
<div class="ContentPasted1"> next PC or address of fault = 0x902d8100</div>
<div class="ContentPasted1"> saved MSR = 0x908d80f4</div>
<div class="ContentPasted1"> context = task, ISR nest level = 0</div>
<div class="ContentPasted1"> thread dispatch disable level = 0</div>
<div class="ContentPasted1"> R0 = 0x9081003c R1 = 0x38800003 R2 = 0x48014e50 R3 = 0x9421ff50</div>
<div class="ContentPasted1"> R4 = 0x9081003c R5 = 0x38800004 R6 = 0x48014e40 R7 = 0x902d8104</div>
<div class="ContentPasted1"> R8 = 0x908d80f8 R9 = 0x38808005 R10 = 0x48014e2c R11 = 0x9421ff50</div>
<div class="ContentPasted1"> R12 = 0x9081003c R13 = 0x38800006 R14 = 0x48014e20 R15 = 0x9421ff50</div>
<div class="ContentPasted1"> R16 = 0x9081003c R17 = 0x38800007 R18 = 0x48014e10 R19 = 0x9421ff50</div>
<div class="ContentPasted1"> R20 = 0x9081003c R21 = 0x38800008 R22 = 0x48014e00 R23 = 0x9421ff50</div>
<div class="ContentPasted1"> R24 = 0x9081003c R25 = 0x3880000c R26 = 0x48014df0 R27 = 0x9421ff50</div>
<div class="ContentPasted1"> R28 = 0x9081003c R29 = 0x38800018 R30 = 0x48014de0 R31 = 0x902d8104</div>
<div class="ContentPasted1"> CR = 0x9421ff50</div>
<div class="ContentPasted1"> CTR = 0x38800002</div>
<div class="ContentPasted1"> XER = 0x9081003c</div>
<div class="ContentPasted1"> LR = 0x48015578</div>
<div class="ContentPasted1"> DEAR = 0x00000000</div>
<div class="ContentPasted1"> ESR = 0x02000000</div>
<div class="ContentPasted1"> MCSR = 0x00000000</div>
executing thread ID = 0x0a010001, name = UI1<br>
</td>
</tr>
</tbody>
</table>
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div id="Signature">
<div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Best Regards,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Zainab Olalekan</div>
</div>
</div>
</div>
</body>
</html>