From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4859 invoked by alias); 7 Jul 2006 14:54:45 -0000 Received: (qmail 4701 invoked by uid 22791); 7 Jul 2006 14:54:41 -0000 X-Spam-Check-By: sourceware.org Received: from ug-out-1314.google.com (HELO ug-out-1314.google.com) (66.249.92.175) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 07 Jul 2006 14:54:39 +0000 Received: by ug-out-1314.google.com with SMTP id y2so587368uge for ; Fri, 07 Jul 2006 07:54:37 -0700 (PDT) Received: by 10.66.240.12 with SMTP id n12mr2111269ugh; Fri, 07 Jul 2006 07:54:36 -0700 (PDT) Received: by 10.66.222.10 with HTTP; Fri, 7 Jul 2006 07:54:36 -0700 (PDT) Message-ID: <4dd15d180607070754j5fa372c2vddee756f45e70dd4@mail.gmail.com> Date: Fri, 07 Jul 2006 14:54:00 -0000 From: "David Ho" To: ecos-discuss@ecos.sourceware.org In-Reply-To: <4dd15d180607070734h470b9781jc11785a05b6f43f3@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <4dd15d180607070734h470b9781jc11785a05b6f43f3@mail.gmail.com> X-IsSubscribed: yes Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: [ECOS] Re: loading and executing an ELF image from flash. X-SW-Source: 2006-07/txt/msg00029.txt.bz2 The reason I need to load an ELF image is because we have both internal RAM and external RAM in our system and we would like to place code in the critical path in internal RAM for faster access and leave the non-critical code in external RAM. Because the two regions cannot be made contiguous, I cannot load it as one binary image. Thanks, David On 7/7/06, David Ho wrote: > Hi, > > Thanks so much for all the help, I now have redboot running on my > custom board with flash support. > > The next step, which is one of my main objective is to be able to load > an ELF image from flash to the corresponding RAM regions and have > redboot jump to the right entry point specified in the ELF header. > > I tried a simple _fis create_ of the ELF image to flash, but when I > did _fis load_ all it did was load the ELF image as is to RAM _Mem > addr_. Is there currently a way to load an ELF image correctly? > > Thanks, David > -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss