Hi all,
I didn't receive any feedback about this, maybe because the
"PATCH" name was missing from the subject...
In my opinion, it's quite strange that a file in
board/atmel/at91rm9200dk sets gd->bd->bi_arch_number to
MACH_TYPE_AT91RM9200 instead of MACH_TYPE_AT91RM9200DK.
And, in fact, on my at91rm9200dk board U-Boot cannot boot newer
versions of Linux, where the default mach type for at91rm9200 boards
has been removed (see commit number
87fee013a23ad02821699aef5b76891b42959182 on Linux).
The patch in attachment makes U-Boot do its job, so it should be the
right fix.
But I wouldn't be surprised if I made a mistake, so please, tell me if
this patch is the right fix to the problem.
If so, please commit it to the U-Boot git repository (it's already in
git "format").
Many thanks,
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
[email protected]
http://lists.denx.de/mailman/listinfo/u-boot