From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12134 invoked by alias); 8 Apr 2013 07:28:30 -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 12122 invoked by uid 89); 8 Apr 2013 07:28:29 -0000 X-Spam-SWARE-Status: No, score=-5.8 required=5.0 tests=BAYES_00,KHOP_THREADED,RP_MATCHES_RCVD autolearn=ham version=3.3.1 Received: from illusory.impropriety.org.uk (HELO illusory.impropriety.org.uk) (85.119.82.153) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Mon, 08 Apr 2013 07:28:28 +0000 Received: from 160.246.69.111.dynamic.snap.net.nz ([111.69.246.160] helo=[172.20.45.26]) by illusory.impropriety.org.uk with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from ) id 1UP6V7-0005ZT-6j for ecos-discuss@ecos.sourceware.org; Mon, 08 Apr 2013 07:28:25 +0000 Message-ID: <51627194.70801@impropriety.org.uk> Date: Mon, 08 Apr 2013 07:28:00 -0000 From: Ross Younger User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130308 Thunderbird/17.0.4 MIME-Version: 1.0 To: ecos-discuss@ecos.sourceware.org References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-illusory-Ham-score: -1.0 X-illusory-Ham-score_int: -9 Subject: Re: [ECOS] Dependency between eCos and RedBoot X-SW-Source: 2013-04/txt/msg00012.txt.bz2 Hi Lukas, It would be true to say that you don't need to get RedBoot running as part of the porting process. However it is a simple interactive platform for confirming that you've got the basics running along with a serial port, a sort of "hello world", and it can be useful for manipulating flash. You don't burn eCos alone into flash. The process is more like: 1. configure eCos 2. build eCos (libtarget.a) 3. write your application 4. compile your application and link it with ecos (output is usually an ELF file) 5. Run your application. This might mean burning it into flash, having RedBoot run it, or even loading it directly into RAM via JTAG or similar. Section III of the eCos user guide walks you through this process. I particularly recommend chapter 13 which gives the compilation rune you will need to get that ELF file. It's typical, during application development, to program RedBoot into flash on your board so that it runs on boot. (This can be fiddly.) You then have the ability to load and debug ELF files easily via serial or ethernet (depends on the board). When your application is finished you might keep RedBoot as a boot loader, or just switch to ROM startup and have your application boot directly. Ross -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss