From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8551 invoked by alias); 9 Oct 2014 14:35:50 -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 8541 invoked by uid 89); 9 Oct 2014 14:35:50 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM,MALFORMED_FREEMAIL,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2 X-HELO: mail-la0-f54.google.com Received: from mail-la0-f54.google.com (HELO mail-la0-f54.google.com) (209.85.215.54) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Thu, 09 Oct 2014 14:35:49 +0000 Received: by mail-la0-f54.google.com with SMTP id gm9so1359858lab.27 for ; Thu, 09 Oct 2014 07:35:46 -0700 (PDT) X-Received: by 10.112.126.194 with SMTP id na2mr18027334lbb.70.1412865346017; Thu, 09 Oct 2014 07:35:46 -0700 (PDT) Received: from sg-laptop ([178.121.189.145]) by mx.google.com with ESMTPSA id s7sm1015672lae.26.2014.10.09.07.35.44 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Thu, 09 Oct 2014 07:35:45 -0700 (PDT) Date: Thu, 09 Oct 2014 14:35:00 -0000 From: Sergei Gavrikov To: Oleg Uzenkov cc: eCos Discussion In-Reply-To: <543696C4.2040201@unicore.co.ua> Message-ID: References: <542D110B.9080002@unicore.co.ua> <542E8B41.8030905@dallaway.org.uk> <5436726C.8000703@unicore.co.ua> <543696C4.2040201@unicore.co.ua> User-Agent: Alpine 2.00 (DEB 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-IsSubscribed: yes Subject: Re: [ECOS] redboot on STM3240G-EVAL board X-SW-Source: 2014-10/txt/msg00010.txt.bz2 On Thu, 9 Oct 2014, Oleg Uzenkov wrote: > Thank you very much, Sergei! > > the way you described works just fine: > > RedBoot> load -m x > RedBoot> fis create app > RedBoot> fis load app > RedBoot> go > > the app gets executed correctly! Huray! > > ELF files are quite large, what is the preferred format for an image > to be passed to redboot? what "load" and "fis create" command look > like? **Roughly** speaking, you save .text segment in FLASH (adjusted to flash block erase size), you save not ELF image! So, do not mess with binaries. Also `load' command does not carry whole ELF image into RAM, but .text segment with a few other segments. Sergei -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss