Hi all,

    before Linux developers removed the default mach type for
at91rm9200 boards, I was able of booting Linux on my at91rm9200dk
board using U-Boot.

After developers removed the default value, I couldn't boot Linux
anymore.

The problem seems related to U-Boot, which passes a wrong mach type if
compiled for the at91rm9200dk board.

The patch in attachment should fix the problem.

Let me know if I can give any further help.

Regards,

           Claudio

--
Ing. Claudio Scordino           
Software Engineer, PhD
Tel. +39-050-5492050
http://retis.sssup.it/~scordino/

Evidence Srl
Embedded Real-Time Solutions
http://www.evidence.eu.com

>From 1a828b63fea0755df232eb27993bf69370674473 Mon Sep 17 00:00:00 2001
From: Claudio Scordino <[EMAIL PROTECTED]>
Date: Wed, 27 Aug 2008 12:04:44 +0200
Subject: [PATCH 1/1] Fix MACH_TYPE for the AT91RM9200DK board.


Signed-off-by: Claudio Scordino <[EMAIL PROTECTED]>
---
 board/atmel/at91rm9200dk/at91rm9200dk.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/board/atmel/at91rm9200dk/at91rm9200dk.c b/board/atmel/at91rm9200dk/at91rm9200dk.c
index c564f73..b89a3fd 100644
--- a/board/atmel/at91rm9200dk/at91rm9200dk.c
+++ b/board/atmel/at91rm9200dk/at91rm9200dk.c
@@ -47,7 +47,7 @@ int board_init (void)
 	/* so we do _nothing_ here */
 
 	/* arch number of AT91RM9200DK-Board */
-	gd->bd->bi_arch_number = MACH_TYPE_AT91RM9200;
+	gd->bd->bi_arch_number = MACH_TYPE_AT91RM9200DK;
 	/* adress of boot parameters */
 	gd->bd->bi_boot_params = PHYS_SDRAM + 0x100;
 
-- 
1.5.4.3


_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to