From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27664 invoked by alias); 11 Dec 2013 05:52:24 -0000 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 Received: (qmail 27651 invoked by uid 89); 11 Dec 2013 05:52:22 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=1.6 required=5.0 tests=AWL,BAYES_50,RCVD_IN_DNSWL_NONE,SPF_NEUTRAL autolearn=no version=3.3.2 X-HELO: nm14-vm1.access.bullet.mail.bf1.yahoo.com Received: from Unknown (HELO nm14-vm1.access.bullet.mail.bf1.yahoo.com) (216.109.115.16) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with SMTP; Wed, 11 Dec 2013 05:52:22 +0000 Received: from [66.196.81.164] by nm14.access.bullet.mail.bf1.yahoo.com with NNFMP; 11 Dec 2013 05:52:14 -0000 Received: from [98.138.226.242] by tm10.access.bullet.mail.bf1.yahoo.com with NNFMP; 11 Dec 2013 05:52:14 -0000 Received: from [127.0.0.1] by smtp113.sbc.mail.ne1.yahoo.com with NNFMP; 11 Dec 2013 05:52:14 -0000 X-Yahoo-SMTP: DAVHEHCswBBSt52LEL26uXq8GY.pd.0s2WK3iX0- X-Rocket-Received: from T23a.STS (lgm0@71.107.64.36 with ) by smtp113.sbc.mail.ne1.yahoo.com with SMTP; 11 Dec 2013 05:52:14 +0000 UTC Message-ID: <52A7FD98.4070402@verizon.net> Date: Wed, 11 Dec 2013 05:52:00 -0000 From: "Les G. Miklosy" User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130110 Thunderbird/17.0.2 MIME-Version: 1.0 To: ecos-discuss@ecos.sourceware.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [ECOS] Redboot Polling Timers X-SW-Source: 2013-12/txt/msg00003.txt.bz2 In my build of Redboot from version eCos 1.0.7 the execution aborts with an IU Error when executing __timer_poll. If I remove the call to __timer_poll in package tcp.c the initialization proceeds to a RedBoot prompt and I can execute commands (ping, help, ip, version, load) at the prompt. One call sequence executes the polling timer with http_stream_open -> __tcp_open -> __tcp_poll -> __timer_poll. Another starts from 'net_io_test'. Another one should set the timer with __enet_poll -> __ip_handler -> __tcp_handler -> __tcp_send -> __timer_set or similar. The debugger shows me '__timer_set' is never called from anywhere so I would expect the polling timer to fail as it does. Can someone suggest why the timers are not being set and what the calling sequence should be to set them. I can't yet explain why Redboot is functional (to the degree it still is) with the polling timer removed as I have done. The hardware abstraction layer is a baseline I have used successfully and the hardware has not changed. Platform is SPARC Leon on the now vintage GR-XCS-1500 from Pender Electronics. Thank-you, Les -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss