From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18251 invoked by alias); 26 Jul 2005 15:55:42 -0000 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 Received: (qmail 18240 invoked by uid 22791); 26 Jul 2005 15:55:38 -0000 Received: from smarthost0.mail.uk.easynet.net (HELO smarthost0.mail.uk.easynet.net) (212.135.6.10) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Tue, 26 Jul 2005 15:55:38 +0000 Received: from [217.207.210.179] (helo=mail.hanoverdisplays.com) by smarthost0.mail.uk.easynet.net with esmtp (Exim 4.10) id 1DxRmH-000D3I-00; Tue, 26 Jul 2005 16:55:33 +0100 Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Tue, 26 Jul 2005 15:55:00 -0000 Message-ID: From: "Matt Sartori" To: "Gary Thomas" CC: "Andrew Lunn" ,"eCos Discussion" Subject: RE: [ECOS] Simple Redboot Q's X-SW-Source: 2005-07/txt/msg00280.txt.bz2 -----Original Message----- From: Gary Thomas [mailto:gary@mlbassoc.com]=20 Sent: 26 July 2005 16:00 To: Matt Sartori Cc: Andrew Lunn; eCos Discussion Subject: RE: [ECOS] Simple Redboot Q's >Unless your code is position independent (or very smart), this is most certainly your problem. Ok, good. That's something I can look at then.=20 Redboot, despite being a ROM build, says it's using RAM from 0x20000000 to 0x20005b68, so I've made my linker script place CODE at 0x20005b68 and DATA at 0x20008000 (with a total RAM range of 0x10000). This, I take it, is only significant if I load it as an elf. And, again if I understand correctly, when loaded as -r it just goes where I put it. Obviously there's still something I don't understand correctly 'cause it doesn't work.=20 Is the entry point usually different from the fist address? =20 >What's wrong with using eCos to help you build your program? Nothing as such, but a) I'm trying to keep it as simple as possible, b) linking against anything adds to the size and, since I've yet to write the flash drivers, I've only got 64K of memory (less what Redboot is using up) for my program, c) I was looking to use Redboot only as a bootloader to update my custom software and run it. >n.b. this is an eCos list, so we're oriented that way :-) Understandibly so. It's a very impressive system and one I'm hoping to eventually grok. ---------------------------------------------------------------------------= ----- The information transmitted is intended only for the person or entity to wh= ich it is addressed and may contain confidential and/or privileged material= . Any review, retransmission, dissemination or other use of, or taking of a= ny action in reliance upon, this information by persons or entities other t= han the intended recipient is prohibited. If you received this in error, please contact the sender or postmaster (pos= tmaster@hanoverdisplays.com) and delete the material from any computer. Although we routinely screen for viruses, addressees should check this e-ma= il and any attachment for viruses. We make no warranty as to absence of vir= uses in this e-mail or any attachments. Our Company's email policy is to permit incidental personal use. If this em= ail is of a personal nature, it must not be relied upon as expressing the v= iews or opinions of the company. Visit out website at www.hanoverdisplays.com -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss