From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6092 invoked by alias); 19 Nov 2007 13:00:40 -0000 Received: (qmail 6057 invoked by uid 22791); 19 Nov 2007 13:00:33 -0000 X-Spam-Check-By: sourceware.org Received: from pro13.rediffmailpro.com (HELO pro13.rediffmailpro.com) (220.226.195.182) by sourceware.org (qpsmtpd/0.31) with SMTP; Mon, 19 Nov 2007 13:00:31 +0000 Received: (qmail 14958 invoked by uid 510); 19 Nov 2007 12:58:38 -0000 Date: Mon, 19 Nov 2007 14:33:00 -0000 Message-ID: <20071119125838.14957.qmail@pro13.rediffmailpro.com> Received: from unknown (59.92.88.229) by rediffmail.com via HTTP; 19 Nov 2007 12:58:38 -0000 MIME-Version: 1.0 From: "Syed Ismail" Reply-To: "Syed Ismail" To: "Gary Thomas" Cc: ecos-discuss@ecos.sourceware.org Content-type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-IsSubscribed: yes 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: Re: [ECOS] redboot X-SW-Source: 2007-11/txt/msg00147.txt.bz2 On Mon, 19 Nov 2007 Gary Thomas wrote : > Syed Ismail wrote: > > Hi > > I Am working on redboot. I want to call a few defined=20 > functions like do_fconfig(); do_exec(); in source code=20 > as soon as redboot prompt comes up. Where do i do this=20 > and What are the command line arguements to pass. > >=20=20=20 > Your question is a bit vague. Are you asking how to=20 > execute a set of > commands > automatically when RedBoot comes up? If so, look at=20 > startup scripts. >=20 > --=20 > Gary Thomas I am in quite a mess,(hardware), actually. Please bear with me. I know i c= an execute any commands by writing a startup/boot script. I want to call it= from code. for example, the command "version" is executed as do_version(0,= 0); in cyg_start(). Similarly i want to call two fuctions, "do_load()" and "do_exec()"= here. Can you please tell me the command line arguements to pass for these= functions. I am just trying to skip a more messy problem by doing this. pl= help.=20 Thank You -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss