From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17484 invoked by alias); 27 Nov 2003 09:59:16 -0000 Mailing-List: contact ecos-discuss-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@sources.redhat.com Received: (qmail 17477 invoked from network); 27 Nov 2003 09:59:15 -0000 Received: from unknown (HELO vipa.de) (212.204.111.163) by sources.redhat.com with SMTP; 27 Nov 2003 09:59:15 -0000 Received: from leo ([212.204.111.190]) (authenticated user RRauch@vipa.de) by vipa.de (vipa.de [212.204.111.163]) (MDaemon.PRO.v6.8.4.R) with ESMTP id 51-md50000000137.tmp for ; Thu, 27 Nov 2003 11:04:31 +0100 From: "Richard Rauch" To: Date: Thu, 27 Nov 2003 09:59:00 -0000 Message-ID: <000001c3b4cd$037d6230$408010ac@leo> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Authenticated-Sender: RRauch@vipa.de X-Spam-Processed: vipa.de, Thu, 27 Nov 2003 11:04:31 +0100 (not processed: message from valid local sender) X-MDRemoteIP: 212.204.111.190 X-Return-Path: Richard.Rauch@vipa.de X-MDaemon-Deliver-To: ecos-discuss@sources.redhat.com Subject: [ECOS] porting eCos / Network Stack X-SW-Source: 2003-11/txt/msg00416.txt.bz2 Dear eCos community, our problem: how to get running eCos + network stack on Atmel At91rm9200 controller? what we have achieved so far: 1 porting eCos to the Atmel At91rm9200 (=ARM922T), runs with configtools default.ecc and redboot.ecc 2 adding ethernet driver for onboard EMAC of the At91rm9200 3 redboot running over ethernet (polled) 4 using configtools net.ecc we created eCos + network stack. When we start this up with the 'twothreads.c' example, we get the following debug print: Init device '/dev/ttydiag' Init tty channel: 20035a2c Init device '/dev/haldiag' HAL/diag SERIAL init Network stack using 65536 bytes for misc space 65536 bytes for mbufs 131072 bytes for mbuf clusters [cyg_net_init] Init: mbinit(0x00000000) [cyg_net_init] Init: cyg_net_init_devs(0x00000000) Init device 'emac_eth0' [cyg_net_init] Init: loopattach(0x00000000) [cyg_net_init] Init: ifinit(0x00000000) IFP: 0x20034e34, next: 0x20083ba0 IFP: 0x20083ba0, next: 0x00000000 [cyg_net_init] Init: domaininit(0x00000000) [cyg_net_init] Init: cyg_net_add_domain(0x20035744) New domain internet at 0x00000000 [cyg_net_init] Init: cyg_net_add_domain(0x20035230) New domain route at 0x00000000 [cyg_net_init] Init: cyg_route_init(0x00000000) [cyg_net_init] Done ...... now the twothreads.c example is running properly but the network thread is sleeping .... P R O B L E M: the eth_drv_start() function is never called. Why? That function will enable the network interrupts of the EMAC, so it is urgently needed to be called somewhen. -- Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos and search the list archive: http://sources.redhat.com/ml/ecos-discuss