From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25737 invoked by alias); 10 Apr 2008 19:07:11 -0000 Received: (qmail 25398 invoked by uid 22791); 10 Apr 2008 19:07:10 -0000 X-Spam-Check-By: sourceware.org Received: from pro-237-182.rediffmailpro.com (HELO pro-237-182.rediffmailpro.com) (202.137.237.182) by sourceware.org (qpsmtpd/0.31) with SMTP; Thu, 10 Apr 2008 19:06:51 +0000 Received: (qmail 42818 invoked by uid 510); 10 Apr 2008 19:08:45 -0000 Date: Thu, 10 Apr 2008 21:35:00 -0000 Message-ID: <20080410190845.42817.qmail@pro-237-182.rediffmailpro.com> Received: from unknown (122.164.243.226) by rediffmail.com via HTTP; 10 Apr 2008 19:08:45 -0000 MIME-Version: 1.0 From: "Syed Ismail" Reply-To: "Syed Ismail" To: ecos-discuss@ecos.sourceware.org Content-type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-IsSubscribed: yes 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: [ECOS] Memory layout X-SW-Source: 2008-04/txt/msg00164.txt.bz2 Hello I have an arm based mx31 freescale processor. Using patches from freescale= , i was able to create redboot image ang with minor configuration changes i= t worked. Now i have a few questions. 1. The image is a romram image. Loads from nor flash and executes in ram. T= he ram is an sdram at physical addr 0x80000000, virt addr mapped to 0x0. I = now want use a ram at a different physical address. What changes do i do? 2. What does this do X_ARM_MMU_SECTION(0x800, 0x000, 0x80, ARM_CACHEABLE, ARM_BUFFERABLE, = ARM_ACCESS_PERM_RW_RW); /* SDRAM */ X_ARM_MMU_SECTION(0x800, 0x800, 0x80, ARM_CACHEABLE, ARM_BUFFERABL= E, ARM_ACCESS_PERM_RW_RW); /* SDRAM */ =20=20=20=20 Should i add the new ram physical address here? What is ARM_CACHEABLE and B= UFFERABLE? Does the above write into registers of processor or is it only a= table used by redboot code? 3. As a general query, is it possible to load and execute images like redbo= ot from a PSRAM. Thanks -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss