From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17159 invoked by alias); 9 Mar 2009 13:47:22 -0000 Received: (qmail 17144 invoked by uid 22791); 9 Mar 2009 13:47:20 -0000 X-SWARE-Spam-Status: No, hits=-1.3 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,RCVD_NUMERIC_HELO,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from main.gmane.org (HELO ciao.gmane.org) (80.91.229.2) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 09 Mar 2009 13:47:14 +0000 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Lgfow-0000m7-IR for ecos-discuss@sources.redhat.com; Mon, 09 Mar 2009 13:47:06 +0000 Received: from 65.111.170.175 ([65.111.170.175]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 09 Mar 2009 13:47:06 +0000 Received: from grante by 65.111.170.175 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 09 Mar 2009 13:47:06 +0000 To: ecos-discuss@sources.redhat.com From: Grant Edwards Date: Mon, 09 Mar 2009 15:52:00 -0000 Message-ID: References: <7f6363a90903040709k22f46e00x46b4b2c03069e5fd@mail.gmail.com> <7f6363a90903090120j71d1943cxa51bc7506af97b96@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit User-Agent: slrn/pre0.9.9-102 (Linux) 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: [ECOS] Re: eCos, qemu and rtlk8139 X-SW-Source: 2009-03/txt/msg00030.txt.bz2 On 2009-03-09, Bessemer wrote: > I've got it working now (at least, I can ping the qemu > internal server from the redboot prompt) The problem was that > I was making changes via ecosconfig but that wasn't updating > the final redboot.bin product (which I _finally_ realised when > I did an ls -l) It seems that 'ecosconfig tree && make clean > && make' is not sufficient to force a complete rebuild. I think we've all tripped over that one. I usually use a shell script to rebuild after I've changed configuration: ------------------------------buildecos.sh------------------------------ #!/bin/bash set -x export ECOS_REPOSITORY=$PWD/ecos-src rm -rf ecos-build mkdir ecos-build cd ecos-build ../newTree.sh && make -----------------------------------8<----------------------------------- -------------------------------newTree.sh------------------------------- #!/bin/bash ecosconfig new ecosconfig remove CYGPKG_IO_SERIAL ecosconfig add CYGPKG_IO_NSERIAL ecosconfig add CYGPKG_IO_WATCHDOG CYGPKG_DEVICES_WATCHDOG_DALLAS_DS1501 cat >.tmp$$.cdl <