From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9517 invoked by alias); 6 Apr 2005 17:39:04 -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 9416 invoked from network); 6 Apr 2005 17:38:51 -0000 Received: from unknown (HELO mail.protei.ru) (62.152.87.202) by sourceware.org with SMTP; 6 Apr 2005 17:38:51 -0000 Received: by mail.protei.ru (Postfix, from userid 1035) id 5D91E50020F; Wed, 6 Apr 2005 21:38:50 +0400 (MSD) Received: from gw (localhost [127.0.0.1]) by mail.protei.ru (Postfix) with SMTP id 3A19E5004C2; Wed, 6 Apr 2005 21:38:50 +0400 (MSD) Received: from lab111.protei (lab111 [192.168.101.2]) by mail.protei.ru (Postfix) with ESMTP id 2D45950056A; Wed, 6 Apr 2005 21:38:50 +0400 (MSD) Received: by lab111.protei (Postfix, from userid 99) id 2827C24093C6; Wed, 6 Apr 2005 21:38:50 +0400 (MSD) Received: from [192.168.100.182] (nickolay.protei [192.168.100.182]) by lab111.protei (Postfix) with ESMTP id 84A8924093C5; Wed, 6 Apr 2005 21:38:49 +0400 (MSD) Message-ID: <42541EAE.8060403@protei.ru> Date: Wed, 06 Apr 2005 17:39:00 -0000 From: Nickolay User-Agent: Mozilla Thunderbird 0.9 (X11/20041103) MIME-Version: 1.0 To: Mark Salter Cc: ecos-discuss@sources.redhat.com References: <42540E07.6070702@protei.ru> <1112805673.14760.4.camel@gienah.localdomain> In-Reply-To: <1112805673.14760.4.camel@gienah.localdomain> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit X-Bogosity: No, tests=bogofilter, spamicity=0.499961, version=0.92.0 Subject: Re: [ECOS] IXDP425 platform support X-SW-Source: 2005-04/txt/msg00066.txt.bz2 Mark Salter wrote: >On Wed, 2005-04-06 at 20:27 +0400, Nickolay wrote: > > >>Hallo All! >> >>My new IXDP425 board has only 128Mb of RAM, but native IXDP425 has 256Mb >>of RAM. >>What changes i need does, for porting redboot from IXDP425 with 256Mb of >>RAM, to IXDP425 with 128Mb of RAM. >> >> >> >There are two places, I believe. First, the SDRAM controller needs to be >properly setup. The SDRAM controller setup is defined in: > > hal/arm/xscale/ixdp425/current/include/ixdp425.h > >Next are ram-size entries in the mem config files in: > > hal/arm/xscale/ixdp425/current/include/pkgconf/*.{h,ldi} > >--Mark > > > > > I did change in hal/arm/xscale/ixdp425/current/include/ixdp425.h: #define CYGMEM_REGION_ram_SIZE (0x8000000) #define CYGMEM_SECTION_heap1_SIZE (0x8000000 - (size_t) CYG_LABEL_NAME (__heap1)) hal/arm/xscale/ixdp425/current/include/ixdp425.ldi: ram : ORIGIN = 0, LENGTH = 0x8000000 hal/arm/xscale/ixdp425/current/include/ixdp425.h: #define SDRAM_SIZE 0x8000000 Next macros i doesn't change in .hal/arm/xscale/ixdp425/current/include/ixdp425.h: #define SDRAM_PHYS_BASE 0x00000000 #define SDRAM_BASE 0x00000000 #define SDRAM_ALIAS_BASE 0x10000000 #define SDRAM_UNCACHED_BASE 0x20000000 #define SDRAM_DC_BASE 0x30000000 Maybe i need change something here? -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss