From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32587 invoked by alias); 9 Oct 2014 13:45:31 -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 32575 invoked by uid 89); 9 Oct 2014 13:45:30 -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-lb0-f172.google.com Received: from mail-lb0-f172.google.com (HELO mail-lb0-f172.google.com) (209.85.217.172) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Thu, 09 Oct 2014 13:45:29 +0000 Received: by mail-lb0-f172.google.com with SMTP id b6so1178237lbj.31 for ; Thu, 09 Oct 2014 06:45:26 -0700 (PDT) X-Received: by 10.152.29.129 with SMTP id k1mr18516528lah.52.1412862325865; Thu, 09 Oct 2014 06:45:25 -0700 (PDT) Received: from sg-laptop ([178.121.189.145]) by mx.google.com with ESMTPSA id nx9sm983090lbb.23.2014.10.09.06.45.24 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Thu, 09 Oct 2014 06:45:25 -0700 (PDT) Date: Thu, 09 Oct 2014 13:45:00 -0000 From: Sergei Gavrikov To: Oleg Uzenkov cc: eCos Discussion In-Reply-To: <5436726C.8000703@unicore.co.ua> Message-ID: References: <542D110B.9080002@unicore.co.ua> <542E8B41.8030905@dallaway.org.uk> <5436726C.8000703@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/msg00008.txt.bz2 On Thu, 9 Oct 2014, Oleg Uzenkov wrote: > 4. Build app.elf now for RAM startup. First, check that application runs as expected in GDB (reset board) -gdb -q -nx app.elf (gdb) target remote (gdb) load (gdb) continue If you see the expected output, then try the below as > 5. Transfer app.elf to redboot via serial xmodem > I transfer it to external ram first. > > RedBoot> load -r -m xmodem -b 0x64010000 Do not use -r(aw), and -b(ase) switches if you load *ELF* images. If you use serial port, load ELFs as RedBoot> load -m x > 6. Create fis entry for the app > > RedBoot> fis create -b 0x64010000 -f 0x08040000 app Again, no need to force base address, if the previous command was `load' (load of ELF). Just type RedBoot> fis create Thus, do not use odd switches if you load and save ELFs on FIS, do RedBoot> load -m x RedBoot> fis create RedBoot> fis load RedBoot> go Also I suggest to use standard eCos tests (RAM builds) as the first eCos applications, i.e. `make tests' and play with them (load and go). HTH 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