From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1791 invoked by alias); 8 Apr 2013 09:07:59 -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 1781 invoked by uid 89); 8 Apr 2013 09:07:58 -0000 X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=BAYES_00,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE,SPF_NEUTRAL autolearn=no version=3.3.1 Received: from gateway08.websitewelcome.com (HELO gateway08.websitewelcome.com) (69.56.142.29) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Mon, 08 Apr 2013 09:07:53 +0000 Received: by gateway08.websitewelcome.com (Postfix, from userid 5007) id BDE57DA9AE691; Mon, 8 Apr 2013 04:07:51 -0500 (CDT) Received: from ham03.websitewelcome.com (ham.websitewelcome.com [173.192.100.229]) by gateway08.websitewelcome.com (Postfix) with ESMTP id A49CBDA9AE66D for ; Mon, 8 Apr 2013 04:07:51 -0500 (CDT) Received: by ham03.websitewelcome.com (Postfix, from userid 666) id A13AA1680678B; Mon, 8 Apr 2013 04:07:51 -0500 (CDT) X-Spam-Flag2999: NO X-Spam-Level2999: X-Spam-Status2999: "No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable version=3.3.1 Received: from montecarlo.websitewelcome.com (montecarlo.websitewelcome.com [174.120.9.66]) by ham03.websitewelcome.com (Postfix) with ESMTP id 1BF111680403F for ; Mon, 8 Apr 2013 04:07:43 -0500 (CDT) Received: from [213.115.176.230] (port=50758 helo=[192.168.0.69]) by montecarlo.websitewelcome.com with esmtpsa (TLSv1:DHE-RSA-CAMELLIA256-SHA:256) (Exim 4.80) (envelope-from ) id 1UP83C-0006sP-HX; Mon, 08 Apr 2013 04:07:42 -0500 Message-ID: <516288DC.3050505@siva.com.mk> Date: Mon, 08 Apr 2013 09:07:00 -0000 From: Ilija Kocho Reply-To: ilijak@siva.com.mk User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130308 Thunderbird/17.0.4 MIME-Version: 1.0 To: Lukas Riezler CC: ecos-discuss@sourceware.org References: In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-BWhitelist: no X-Source-Sender: ([192.168.0.69]) [213.115.176.230]:50758 X-Source-Auth: ilijak+siva.mk X-Email-Count: 3 X-Source-Cap: c2l2YW1rO2JpYmltYW47bW9udGVjYXJsby53ZWJzaXRld2VsY29tZS5jb20= Subject: Re: [ECOS] Dependency between eCos and RedBoot X-SW-Source: 2013-04/txt/msg00013.txt.bz2 Hi Lukas You don't need to take special care for RedBoot during porting process. Simple "hello world" application is enough, and for me more convenient, to get hal_diag in order. Once you have hal_diag (and of course clocking and basic configuration) RedBoot should compile and run without problems. Then, once you add Ethernet driver, you should be able to telnet to RedBoot. Ilija On 07.04.2013 23:55, Lukas Riezler wrote: > Hello ecos-guys :-) > > I have modified both the variant HAL and platform HAL in a minimal way, to get eCos ported > on my FM3 (IAR KickStart Kit: MB9BF506R-SK). > Modifying the CDL-Files will be my next step. > > But now I have a question about the dependency between eCos and RedBoot. > If I'm rigt, Redboot comes with two elementary functions: > - bootstrapping > - debbuging > > My eval board has a kind of JTAG, so RedBoot's debugging facility isn't really needed by me. (?) > In the documentation and the book it's the suggestion first to run RedBoot. > But is RedBoot really essential to get eCos run on my board? Or are there any other ways to get this goal? > I don't have any experience with bootsrapping/-loading because I'm quite new in this > hardware-closeness business. Maybe I can burn ecos into flash? But I think for developing this won't be > the best way, is it? > > I have built some libraries for test cases with the config-tool, but I have never seen any elf-file which > I could load on my board - only if I used the RedBoot package! In this case an elf-file was generated. > Okay, what I have now is "redboot.elf". > So I have to load RedBoot on my board. But how does RedBoot "load" my minimal eCos application on the > board? > > Is the following chain of thougt correct? > 1) load "redboot.elf" on the board > 2) RedBoot can handle the generated ecos-file "libtarget.a" (and eCos will be started in this way?) > > Is it possible that anybody throws some light in this issue? :) > > With kind regards, > Lukas > -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss