From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31846 invoked by alias); 14 Jun 2007 16:16:34 -0000 Received: (qmail 31836 invoked by uid 22791); 14 Jun 2007 16:16:34 -0000 X-Spam-Check-By: sourceware.org Received: from londo.lunn.ch (HELO londo.lunn.ch) (80.238.139.98) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 14 Jun 2007 16:16:30 +0000 Received: from lunn by londo.lunn.ch with local (Exim 3.36 #1 (Debian)) id 1Hyrzn-0002JW-00; Thu, 14 Jun 2007 18:16:27 +0200 Date: Thu, 14 Jun 2007 23:11:00 -0000 To: xiaolu zhao Cc: ecos-discuss Message-ID: <20070614161627.GC1594@lunn.ch> Mail-Followup-To: xiaolu zhao , ecos-discuss References: <20070614154512.GB1594@lunn.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.13 (2006-08-11) From: Andrew Lunn 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: [ECOS] how to check my modifications to the kernel without a board? X-SW-Source: 2007-06/txt/msg00158.txt.bz2 On Thu, Jun 14, 2007 at 06:11:15PM +0200, xiaolu zhao wrote: > Thank you so much for your help!! But I still not very clear about > some problems. > > 1. If "Redboot does not use the kernel" , does that mean if I want to > see the result of my modification, redboot is no help. But if without > the redboot, can I still use the VMware to run the ecos? Because I > only see the examples about how to run the redboot on VMware. Redboot is just an eCos application. The test cases are eCos applications. If vmware can run Redboot, it should be able to run eCos applications. > 2. After these steps: > " ecosconfig new pc_rltk8139 > edit ecos.ecc and change CYG_HAL_STARTUP to floppy > ecosconfig tree > make -s tests " > and compilation of ecos, I also need to run some applications to > verify my modification( like get some calculation results). How I > can run the applications and see the results? The same way you run the test cases. The hello world example shows you how to link your application to eCos. I would suggest you first start with a clean, unmodified tree. Get the test cases to run. You might find tm_basic interesting since it performs timing measurements of kernel operations. Only once you have unmodified eCos working, then start with your modifications. Andrew -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss