From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31388 invoked by alias); 6 Sep 2012 17:07:43 -0000 Received: (qmail 31372 invoked by uid 22791); 6 Sep 2012 17:07:40 -0000 X-SWARE-Spam-Status: No, hits=2.7 required=5.0 tests=AWL,BAYES_50,DKIM_SIGNED,DKIM_VALID,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE,SPF_NEUTRAL,TW_HW,TW_WB,UNPARSEABLE_RELAY X-Spam-Check-By: sourceware.org Received: from nm2-vm0.access.bullet.mail.sp2.yahoo.com (HELO nm2-vm0.access.bullet.mail.sp2.yahoo.com) (98.139.44.158) by sourceware.org (qpsmtpd/0.43rc1) with SMTP; Thu, 06 Sep 2012 17:07:27 +0000 Received: from [98.139.44.98] by nm2.access.bullet.mail.sp2.yahoo.com with NNFMP; 06 Sep 2012 17:07:27 -0000 Received: from [98.139.44.65] by tm3.access.bullet.mail.sp2.yahoo.com with NNFMP; 06 Sep 2012 17:07:27 -0000 Received: from [127.0.0.1] by omp1002.access.mail.sp2.yahoo.com with NNFMP; 06 Sep 2012 17:07:27 -0000 Received: (qmail 77382 invoked from network); 6 Sep 2012 17:07:26 -0000 X-Yahoo-SMTP: DAVHEHCswBBSt52LEL26uXq8GY.pd.0s2WK3iX0- Received: from fedora.T23a.STS (lgm0@71.107.86.207 with plain) by smtp104.vzn.mail.ne1.yahoo.com with SMTP; 06 Sep 2012 10:07:26 -0700 PDT Message-ID: <5048D84D.4010003@verizon.net> Date: Thu, 06 Sep 2012 17:07:00 -0000 From: "Les G. Miklosy" User-Agent: Mozilla/5.0 (X11; Linux i686; rv:14.0) Gecko/20120717 Thunderbird/14.0 MIME-Version: 1.0 To: ecos-devel@ecos.sourceware.org Subject: Legacy SPARC Leon2 with Ethernet Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact ecos-devel-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: ecos-devel-owner@ecos.sourceware.org X-SW-Source: 2012-09/txt/msg00001.txt.bz2 My difficulties are configuring a working Ethernet module in eCos for this processor on the Pender Electronics GR-XC3S-1500 development board. This board uses a LXT971 Phy with MAC emulation in the FPGA. I use pre-built FPGA IP cores versions leon2-1.0.28-xst and leon2-1.0.32-xst, but no Ethernet support is reported in the FPGA image. I'm assured by Pender Electronics the cores built into the image are there just not reported. The documentation points to Opencores but does not specifically document the load in the FPGA. 1) Has anyone confirmed the IP cores in those Leon2 versions contain an Ethernet core to support a running eCos application? 2) Which eCos modules (Opencores, Greth, LAN91cxx, Phy support) complete the driver-train necessary to support Ethernet for this board and processor? 3) If I port an interface from another processor, which one is a good baseline to start with? Two versions of PowerPC (fcc and ppc405) use the Phy support interface functions. Thanks for your shared experience to solve this. Les Here is the image data from version 1.0.28-xst: Component Vendor LEON2 Memory Controller European Space Agency LEON2 AHB Status & Failing Addr European Space Agency LEON2 SPARC V8 processor European Space Agency LEON2 Write Protection European Space Agency LEON2 Configuration register European Space Agency LEON2 Timer Unit European Space Agency LEON2 UART European Space Agency LEON2 UART European Space Agency LEON2 Interrupt Ctrl European Space Agency LEON2 I/O port European Space Agency AHB Debug UART Gaisler Research LEON2 Debug Support Unit Gaisler Research Use command 'info sys' to print a detailed report of attached cores grlib> info sys 00.04:00f European Space Agency LEON2 Memory Controller (ver 0x0) ahb: 00000000 - 20000000 ahb: 20000000 - 40000000 ahb: 40000000 - 80000000 apb: 80000000 - 80000010 8-bit prom @ 0x00000000 32-bit sdram: 1 * 64 Mbyte @ 0x40000000, col 9, cas 2, ref 7.8 us 01.04:017 European Space Agency LEON2 AHB Status & Failing Addr (ver 0x0) apb: 8000000c - 80000014 02.04:002 European Space Agency LEON2 SPARC V8 processor (ver 0x0) apb: 80000014 - 80000018 03.04:018 European Space Agency LEON2 Write Protection (ver 0x0) apb: 8000001c - 80000020 04.04:008 European Space Agency LEON2 Configuration register (ver 0x0) apb: 80000024 - 80000028 val: 6877bf00 05.04:006 European Space Agency LEON2 Timer Unit (ver 0x0) apb: 80000040 - 80000070 06.04:007 European Space Agency LEON2 UART (ver 0x0) apb: 80000070 - 80000080 baud rate 38400 07.04:007 European Space Agency LEON2 UART (ver 0x0) apb: 80000080 - 80000090 baud rate 38400 08.04:005 European Space Agency LEON2 Interrupt Ctrl (ver 0x0) apb: 80000090 - 800000a0 09.04:009 European Space Agency LEON2 I/O port (ver 0x0) apb: 800000a0 - 800000ac 0a.01:007 Gaisler Research AHB Debug UART (ver 0x0) apb: 800000c0 - 800000d0 baud rate 115200, ahb frequency 40.00 0b.01:002 Gaisler Research LEON2 Debug Support Unit (ver 0x0) ahb: 90000000 - a0000000 trace buffer 512 lines, stack pointer 0x43fffff0 CPU#0 win 8, hwbp 2, V8 mul/div, lddel 1 icache 1 * 8 kbyte, 32 byte/line dcache 1 * 8 kbyte, 32 byte/line