From patchwork Tue Sep 27 03:06:41 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jamie X-Patchwork-Id: 116534 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 76803B6F7C for ; Tue, 27 Sep 2011 13:10:27 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 45D4A282D5; Tue, 27 Sep 2011 05:10:23 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hdGSj1c8TzjJ; Tue, 27 Sep 2011 05:10:23 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id D9C5E28342; Tue, 27 Sep 2011 05:10:20 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id B1F6028342 for ; Tue, 27 Sep 2011 05:10:16 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UZM4gPUe11yz for ; Tue, 27 Sep 2011 05:10:11 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by theia.denx.de (Postfix) with ESMTP id E211B282D5 for ; Tue, 27 Sep 2011 05:10:08 +0200 (CEST) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1R8O3a-0004l4-Aq for u-boot@lists.denx.de; Tue, 27 Sep 2011 05:10:06 +0200 Received: from CPE0014bfd1063c-CM001225418984.cpe.net.cable.rogers.com ([99.246.11.151]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 27 Sep 2011 05:10:06 +0200 Received: from jamie by CPE0014bfd1063c-CM001225418984.cpe.net.cable.rogers.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 27 Sep 2011 05:10:06 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: u-boot@lists.denx.de From: Jamie Date: Tue, 27 Sep 2011 03:06:41 +0000 (UTC) Lines: 84 Message-ID: References: <75A1E7F608B992488E5CE8CC49B9A355090CC6C0@uswinsxch.open-silicon.com> <4E79818D.6040701@denx.de> Mime-Version: 1.0 X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 99.246.11.151 (Mozilla/5.0 (Windows NT 6.0; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.835.186 Safari/535.1) Subject: Re: [U-Boot] U-Boot build break for m501sk board from Artila X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.9 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de Stefano Babic denx.de> writes: > > On 09/21/2011 08:00 AM, Sandeep Kumar wrote: > > Hi, > > > > Hi, > > > Did anybody face the issue which I am facing in building U-Boot for > > m501sk board from Artila. > > Not anymore. Because no one fixed this board in the last two years, the > board was removed from U-Boot mainline. It is not supported. > > Best regards, > Stefano Babic > That's too bad. I've been developing for the board for the past 3 years and only recently have been given the opportunity to re-examine the loader and root file system. I was super excited that U-Boot supported the board. For about 5 minutes. Those interested might find this patch of use. I won't be able to test it for a few days. Applied to the "v2011.06" tag (git checkout v2011.06). diff --git a/arch/arm/include/asm/arch-at91/hardware.h b/arch/arm/include/asm/arch-at91/hardware.h index 36af571..4faa072 100644 --- a/arch/arm/include/asm/arch-at91/hardware.h +++ b/arch/arm/include/asm/arch-at91/hardware.h @@ -25,22 +25,22 @@ #define __ASM_ARM_ARCH_HARDWARE_H__ #if defined(CONFIG_AT91RM9200) -# include +# include #elif defined(CONFIG_AT91SAM9260) || defined(CONFIG_AT91SAM9G20) || \ defined(CONFIG_AT91SAM9XE) -# include +# include #elif defined(CONFIG_AT91SAM9261) || defined(CONFIG_AT91SAM9G10) -# include +# include #elif defined(CONFIG_AT91SAM9263) -# include +# include #elif defined(CONFIG_AT91SAM9RL) -# include +# include #elif defined(CONFIG_AT91SAM9G45) || defined(CONFIG_AT91SAM9M10G45) -# include +# include #elif defined(CONFIG_AT91CAP9) -# include +# include #elif defined(CONFIG_AT91X40) -# include +# include #else # error "Unsupported AT91 processor" #endif diff --git a/include/configs/m501sk.h b/include/configs/m501sk.h index 68f0415..55b9154 100644 --- a/include/configs/m501sk.h +++ b/include/configs/m501sk.h @@ -162,7 +162,9 @@ #define CONFIG_NR_DRAM_BANKS 1 #define PHYS_SDRAM 0x20000000 -#define PHYS_SDRAM_SIZE 0x2000000 /* 32 megs */ +#define PHYS_SDRAM_SIZE 0x4000000 /* 64 megs */ +#define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM +#define CONFIG_SYS_INIT_SP_ADDR (PHYS_SDRAM + (PHYS_SDRAM_SIZE >> 13)) #define CONFIG_SYS_MEMTEST_START 0x21000000 /* PHYS_SDRAM */ /* CONFIG_SYS_MEMTEST_START + PHYS_SDRAM_SIZE - 262144 */