From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24835 invoked by alias); 28 Sep 2005 08:58:50 -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 24791 invoked by uid 22791); 28 Sep 2005 08:58:32 -0000 Received: from londo.lunn.ch (HELO londo.lunn.ch) (80.238.139.98) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Wed, 28 Sep 2005 08:58:32 +0000 Received: from lunn by londo.lunn.ch with local (Exim 3.36 #1 (Debian)) id 1EKXlj-0006H8-00; Wed, 28 Sep 2005 10:58:27 +0200 Date: Wed, 28 Sep 2005 11:17:00 -0000 To: Ali Sina Cc: ecos-discuss@ecos.sourceware.org Message-ID: <20050928085827.GU28077@lunn.ch> Mail-Followup-To: Ali Sina , ecos-discuss@ecos.sourceware.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.10i From: Andrew Lunn Subject: Re: [ECOS] Porting eCos / Redboot / Memory map modifications / E7T X-SW-Source: 2005-09/txt/msg00238.txt.bz2 On Wed, Sep 28, 2005 at 08:15:10AM +0000, Ali Sina wrote: > Hello, > > we are trying to get our code to run on our own hardware, which for all > practical reasons can be described as an E7T platform with double the RAM. > > The setup is as follows: > Redboot (ROM startup mode) is resident on the board and upon power on loads > the image of the code (RAM startup) from FLASH into RAM, where the code > then gets executed. > As a control and starting point, the same Redboot and the compiled code run > fine on both E7T and our HW, of course not using the extra RAM. > > >From this list, Massa's book and other sources I understand that what is > needed in order to use the extra RAM is to modify the memory layout, > specified in the mlt_arm_e7t_rom/mlt_arm_e7t_ram.h and .ldi files. > Particularly, I have changed the RAM size to double (from 0x80000 to > 0x100000) and modified the heap size accordingly. > > Is this sufficient? IT might be worth reading the data sheet about the memory controller. Does it need setting up differently when there is double the amount of RAM. packages/hal/arm/e7t/current/include/hal_platform_setup.h looks to be doing something with a memory controller and timings. Andrew -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss