From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21258 invoked by alias); 29 Jun 2006 11:46:19 -0000 Received: (qmail 21246 invoked by uid 22791); 29 Jun 2006 11:46:18 -0000 X-Spam-Check-By: sourceware.org Received: from mail1.bizmail.net.au (HELO mail1.bizmail.net.au) (202.162.77.164) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 29 Jun 2006 11:46:15 +0000 Received: from [127.0.0.1] (unknown [60.246.252.30]) by mail1.bizmail.net.au (Postfix) with ESMTP id 2CE22CDC1A2 for ; Thu, 29 Jun 2006 21:57:44 +1000 (EST) Message-ID: <44A3BDA2.1040001@bizmail.com.au> Date: Thu, 29 Jun 2006 11:46:00 -0000 From: YH Reply-To: yh@bizmail.com.au User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.5) Gecko/20041217 MIME-Version: 1.0 To: eCos Discussion Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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: load address X-SW-Source: 2006-06/txt/msg00274.txt.bz2 Hello, I am going to run ARM with kernel 2.6, 32M DRAM and 16M Flash (Intel J3). Could you please help me the following questions: Redboot> load -v -r -b 0xA00000 ramdisk.gz Redboot> load -v -r -b 0x80000 zImage Redboot> exec -r 0xA00000 -c "console=ttyAM root=/dev/ram" 1. I guess the address is the DRAM entry address. If the ramdisk.gz = 4M and the decompressed ramdisk = 12M, and zImage = 800K, I guess that the ramdisk will be allocated in DRAM between 0xA00000 - 0x1600000 and the zImage will be allocated in DRAM between 0x80000 - 0x148000. I guess those address sections of ramdisk and zImage are occupied during operation time, is it correct? 2. Can the DRAM loading addresses be selected anywhere, or it can only be selected in particular segments? 3. Do we need to allocate the memory (stack and heaps), or the kernel will use the rest of the available DRAM? Thank you. Jim -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss