Stefano Babic <sbabic <at> 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). <snip> 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 <asm/arch/at91rm9200.h> +# include <asm/arch-at91/at91rm9200.h> #elif defined(CONFIG_AT91SAM9260) || defined(CONFIG_AT91SAM9G20) || \ defined(CONFIG_AT91SAM9XE) -# include <asm/arch/at91sam9260.h> +# include <asm/arch-at91/at91sam9260.h> #elif defined(CONFIG_AT91SAM9261) || defined(CONFIG_AT91SAM9G10) -# include <asm/arch/at91sam9261.h> +# include <asm/arch-at91/at91sam9261.h> #elif defined(CONFIG_AT91SAM9263) -# include <asm/arch/at91sam9263.h> +# include <asm/arch-at91/at91sam9263.h> #elif defined(CONFIG_AT91SAM9RL) -# include <asm/arch/at91sam9rl.h> +# include <asm/arch-at91/at91sam9rl.h> #elif defined(CONFIG_AT91SAM9G45) || defined(CONFIG_AT91SAM9M10G45) -# include <asm/arch/at91sam9g45.h> +# include <asm/arch-at91/at91sam9g45.h> #elif defined(CONFIG_AT91CAP9) -# include <asm/arch/at91cap9.h> +# include <asm/arch-at91/at91cap9.h> #elif defined(CONFIG_AT91X40) -# include <asm/arch/at91x40.h> +# include <asm/arch-at91/at91x40.h> #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 */ <snap> _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot