From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9307 invoked by alias); 13 Mar 2009 12:32:04 -0000 Received: (qmail 9297 invoked by uid 22791); 13 Mar 2009 12:32:03 -0000 X-SWARE-Spam-Status: No, hits=-1.6 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from hermes.mlbassoc.com (HELO mail.chez-thomas.org) (76.76.67.137) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 13 Mar 2009 12:31:14 +0000 Received: by mail.chez-thomas.org (Postfix, from userid 999) id 125133B528E9; Fri, 13 Mar 2009 06:31:12 -0600 (MDT) Received: from hermes.chez-thomas.org (hermes_local [192.168.1.101]) by mail.chez-thomas.org (Postfix) with ESMTP id 780D53B52656; Fri, 13 Mar 2009 06:31:04 -0600 (MDT) Message-ID: <49BA5208.1060401@mlbassoc.com> Date: Fri, 13 Mar 2009 13:07:00 -0000 From: Gary Thomas User-Agent: Thunderbird 2.0.0.19 (X11/20090105) MIME-Version: 1.0 To: Atilay Yilmaz CC: ecos-discuss References: <4125e7770903050409k4742030ej52f0901465c60253@mail.gmail.com> <49AFC276.9030308@mlbassoc.com> <4125e7770903050426j65c1e9c0oc24a98306c7de9e8@mail.gmail.com> <4125e7770903050428t5eb4752ch377e1ac83cdedca0@mail.gmail.com> <49AFC6B9.4000609@mlbassoc.com> <4125e7770903050606v1865751cmae2bb2730d92f144@mail.gmail.com> <49AFE0E5.6070402@mlbassoc.com> <4125e7770903110747u7f7dcd3av80994bf70a644138@mail.gmail.com> <49B7D067.3080606@mlbassoc.com> <4125e7770903120803h52760db7o6df0bb575a2dcc41@mail.gmail.com> <4125e7770903130521nf1513casf58cd8f115551416@mail.gmail.com> In-Reply-To: <4125e7770903130521nf1513casf58cd8f115551416@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: Re: [ECOS] networking on redboot X-SW-Source: 2009-03/txt/msg00058.txt.bz2 Atilay Yilmaz wrote: > On Thu, Mar 12, 2009 at 5:03 PM, Atilay Yilmaz wrote: >> On Wed, Mar 11, 2009 at 4:53 PM, Gary Thomas wrote: >>> Atilay Yilmaz wrote: >>>> On Thu, Mar 5, 2009 at 4:25 PM, Gary Thomas wrote: >>>>> Atilay Yilmaz wrote: >>>>>> On Thu, Mar 5, 2009 at 2:34 PM, Gary Thomas wrote: >>>>>>> Please don't top-post :-( >>>>>>> >>>>>>> ATILAY YILMAZ wrote: >>>>>>>> Thanks for quick reply:) it is an ertec400 board. it has 4 ethernet >>>>>>>> ports and it looks functional since the LEDs are on. however, there is >>>>>>>> another ethernet controller which is SMSC91C111 as a debug port. this >>>>>>>> one doesn't work, no LED action, no link up. the ethernet driver for >>>>>>>> SMSC91C111 is included in ecos packages, I can see that in ecc file. >>>>>>>> however, I am not sure it is also being used by redboot binary. how >>>>>>>> can I make sure of that? >>>>>>> Check the CDL? >>>>>>> Look in the build directory to see if the driver for that device actually >>>>>>> was built? >>>>>>> >>>>>>> Note: because of the way 'fconfig' works, once you succeed in getting >>>>>>> this driver to build, you'll want to run 'fconfig -i' to reinitialize >>>>>>> the database. Only then will the options to set the ESA be present. >>>>>>> The driver should work with a fallback ESA until then though. >>>>>>> >>>>>>>> On Thu, Mar 5, 2009 at 2:15 PM, Gary Thomas wrote: >>>>>>>>> ATILAY YILMAZ wrote: >>>>>>>>>> does anybody help me about starting networking on redboot? I use an arm9 cpu >>>>>>>>>> I guess I need to set MAC address, but it doesn't appear on fconfig >>>>>>>>>> >>>>>>>>>> here is my current config on redboot: >>>>>>>>>> RedBoot> fis list >>>>>>>>>> Name FLASH addr Mem addr Length Entry point >>>>>>>>>> RedBoot 0x30000000 0x30000000 0x00040000 0x00000000 >>>>>>>>>> FIS directory 0x303F0000 0x303F0000 0x0000F000 0x00000000 >>>>>>>>>> RedBoot config 0x303FF000 0x303FF000 0x00001000 0x00000000 >>>>>>>>>> RedBoot> fconfig >>>>>>>>>> Run script at boot: false >>>>>>>>>> Use BOOTP for network configuration: false >>>>>>>>>> Gateway IP address: >>>>>>>>>> Local IP address: 192.168.3.17 >>>>>>>>>> Local IP address mask: 255.255.255.0 >>>>>>>>>> Default server IP address: 192.168.3.18 >>>>>>>>>> DNS domain name: >>>>>>>>>> DNS server IP address: >>>>>>>>>> GDB connection port: 9000 >>>>>>>>>> Force console for special debug messages: false >>>>>>>>>> Network debug at boot time: true >>>>>>>>>> RedBoot> >>>>>>>>> Whether or not the ESA shows up in 'fconfig' depends on the driver. >>>>>>>>> >>>>>>>>> What's the platform? network driver? >>>>>>> -- >>>>>>> ------------------------------------------------------------ >>>>>>> Gary Thomas | Consulting for the >>>>>>> MLB Associates | Embedded world >>>>>>> ------------------------------------------------------------ >>>>>>> >>>>>> well, cdl for driver (CYGPKG_DEVS_ETH_ARM_ERTEC) is >>>>>> \ecos\packages\devs\eth\arm\ertec\current\cdl\ertec_eth_drivers.cdl >>>>>> and also CYGPKG_DEVS_ETH_ARM_ERTEC exists in ecos.db. the c file is >>>>>> under \ecos\packages\devs\eth\arm\ertec\current\src. however, it is >>>>>> not built under \ECOS\EB400_build\devs\eth\arm\ertec\current\ (this >>>>>> is my location for eclipse project). what may be the reason for that? >>>>> Look in 'ecos.ecc' - it will tell you why >>>>> >>>> Thanks, I found the reason, it compiles now:) >>>> >>> Care to share - that way the mailing list archives may be able >>> to help the next person with a similar problem :-) >>> >> there is a option (CYGDAT_USE_LSA_ETHERNET) in ecc file and >> CYGPKG_DEVS_ETH_ARM_ERTEC requires that option as false. After that, >> the driver compiled but unfortunately it wasn't for SMSC91C111. >> therefore I am still working on it:) >> > Hi again, > finally I compiled driver for SMSC91C111 successfully. I also modified > \ecos\packages\devs\eth\arm\ertec\current\include\devs_eth_arm_ertec.inl > and \ecos\packages\devs\eth\arm\ertec\current\cdl\ertec_eth_drivers.cdl > files to define SMSC91C111 definitions/functions for ertec board. > however, still I get: > smsc_lan91cxx_init: No 91Cxx signature found > No network interfaces found > When I run redboot.bin. what do you think the reason may be? Go to the SMSC driver and print out what it found for the signature. The problem will probably be obvious from that. -- ------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------ -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss