From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21315 invoked by alias); 9 Aug 2011 04:11:39 -0000 Received: (qmail 20720 invoked by uid 22791); 9 Aug 2011 04:11:38 -0000 X-SWARE-Spam-Status: No, hits=-2.7 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from mail-pz0-f44.google.com (HELO mail-pz0-f44.google.com) (209.85.210.44) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 09 Aug 2011 04:11:22 +0000 Received: by pzk36 with SMTP id 36so3937469pzk.17 for ; Mon, 08 Aug 2011 21:11:21 -0700 (PDT) Received: by 10.143.69.1 with SMTP id w1mr6250019wfk.302.1312863081161; Mon, 08 Aug 2011 21:11:21 -0700 (PDT) Received: from [10.1.10.56] (c-67-168-89-154.hsd1.wa.comcast.net [67.168.89.154]) by mx.google.com with ESMTPS id v2sm6730217pbi.83.2011.08.08.21.11.19 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 08 Aug 2011 21:11:20 -0700 (PDT) Message-ID: <4E40B370.1060503@gmail.com> Date: Tue, 09 Aug 2011 04:11:00 -0000 From: gmail User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:5.0) Gecko/20110624 Thunderbird/5.0 MIME-Version: 1.0 To: Gary Thomas CC: ecos-discuss@ecos.sourceware.org References: <4E407079.6090607@gmail.com> <4E40847B.4050608@mlbassoc.com> In-Reply-To: <4E40847B.4050608@mlbassoc.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 Subject: Re: [ECOS] eCos application offset for Redboot load X-SW-Source: 2011-08/txt/msg00017.txt.bz2 On 8/8/2011 5:51 PM, Gary Thomas wrote: > On 2011-08-08 17:25, gmail wrote: >> I am trying to build an eCos application (and the test suite) to load >> onto a board with a Redboot monitor. >> >> I've created an xxx_ram.ldi / .h for the board but don't know if I >> need to add in the offset in that file for the Redboot monitor or if >> that is done elsewhere. >> >> The monitor indicates: >> Platform: TS-7250 Board (ARM920T) Rev A >> Copyright (C) 2000, 2001, 2002, 2003, 2004 Red Hat, Inc. >> >> RAM: 0x00000000-0x02000000, [0x000530c0-0x01fdd000] available >> FLASH: 0x60000000 - 0x68000000, 1024 blocks of 0x00020000 bytes each. >> >> Do I change the text base in the .ldi to something above 0x000530c0? > > Yes, e.g. 0x80000 would be suitable. > Thanks. I am now hitting another issue that doesn't make sense... While stepping through one of the test programs w/ gdb, in the vectors.S file hal_hardware_init is being called which in turn calls hal_mmu_init() which looks like is halting the program. If I am trying to run a program loaded into ram via redboot, shouldn't the hardware (or at least the MMU) initialization be skipped? Isn't it going to wipe out RAM? Thanks for listening... :-) --JJ-- -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss