<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>GR740 has two on-chip GRETH MAC's, the board has no external
SMC91C111 device. Contact Cobham for the correct defines for GRETH
and RCC ...<br>
</p>
<div class="moz-cite-prefix">On 8/23/20 5:41 PM, Diego Benavides
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAPz1fS5jgO4L+_V3rX5=2VHVtdvG0mrPTAX80RYwircC1UF_0A@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="auto"><span
style="font-family:sans-serif;font-size:12.8px">I'm new to
rtems and the leon in general. I've managed to build the
samples provided by Gaisler and load (some) on my dev board: </span><a
href="https://www.gaisler.com/anonftp/rcc/rcc-1.2/1.2.25/"
style="text-decoration-line:none;color:rgb(66,133,244);font-family:sans-serif;font-size:12.8px"
moz-do-not-send="true">https://www.gaisler.com/anonftp/rcc/rcc-1.2/1.2.25/</a>
<div style="font-family:sans-serif;font-size:12.8px" dir="auto"><br>
</div>
<div style="font-family:sans-serif;font-size:12.8px" dir="auto">The
board is the GR-CPCI-GR740. However I'm trying to understand
the network interface and can't seem to get it going. When I
run the samples rtems-ttcp and rtems-ttcpw (for read/write
respectively) the board configuration seems to fail.</div>
<div style="font-family:sans-serif;font-size:12.8px" dir="auto"><br>
</div>
<div style="font-family:sans-serif;font-size:12.8px" dir="auto">Checking
the uart debug output shows the following:</div>
<div style="font-family:sans-serif;font-size:12.8px" dir="auto">Activating
Leon3 io port for smsc_lan91cxx (pio:FF902000 mctrl:FF903000)<br>
Failed to initialize grpci2 driver -2<br>
Initializing network<br>
Can't bring smc1 up: No such device or address<br>
greth1: mii read[1] failed to 2.0 (0x9e004000,0x00001004)<br>
greth1: mii read[2] failed to 2.0 (0x9e004000,0x00001004)<br>
greth1: mii read[3] failed to 2.0 (0x9e004000,0x00001004)<br>
</div>
<div style="font-family:sans-serif;font-size:12.8px" dir="auto"><br>
</div>
<div style="font-family:sans-serif;font-size:12.8px" dir="auto"><br>
</div>
<div style="font-family:sans-serif;font-size:12.8px" dir="auto">In
rtems-ttcp.c I have tried swapping the #define statements:</div>
<div style="font-family:sans-serif;font-size:12.8px" dir="auto">#define
ENABLE_NETWORK<br>
#define ENABLE_NETWORK_SMC_LEON2<br>
/* Define this is a SMC91C111 CHIP is available on the I/O bus
*/<br>
/*#define ENABLE_NETWORK_SMC_LEON3*/<br>
</div>
<div style="font-family:sans-serif;font-size:12.8px" dir="auto"><br>
</div>
<div style="font-family:sans-serif;font-size:12.8px" dir="auto">However
I'm not entirely clear on the configuration. Would anyone have
insight into this?</div>
<div style="font-family:sans-serif;font-size:12.8px" dir="auto"><br>
</div>
<div style="font-family:sans-serif;font-size:12.8px" dir="auto">Cheers,</div>
<div style="font-family:sans-serif;font-size:12.8px" dir="auto">Diego</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:users@rtems.org">users@rtems.org</a>
<a class="moz-txt-link-freetext" href="http://lists.rtems.org/mailman/listinfo/users">http://lists.rtems.org/mailman/listinfo/users</a></pre>
</blockquote>
</body>
</html>