[ARM] Regression ? at91rm9200 machine-type

From: Claudio Scordino
Date: Tue Aug 26 2008 - 06:30:45 EST


This is a multi-part message in MIME format.Hi,

I have a custom board equivalent to AT91RM9200DK.

After commit

87fee013a23ad02821699aef5b76891b42959182

[ARM] 4647/1: at91rm9200: Remove redundant machine-type verification
and manipulation

I cannot boot my board anymore.

Some more details:
- I tried booting from both U-Boot 1.1.6 and U-Boot 1.3.4
- I compiled U-Boot using "at91rm9200dk_config"
- On U-Boot bootargs=console=ttyS0,115200 mem=32M
mtdparts=AT45DB642.spi0:-(filesystem) rootfstype=jffs2 root=/dev/mtdblock0
- The .config of the kernel is in attachment

I don't know if this is an actual regression or not (I'm not much
skilled in machine-types/boot process).

However, it seems that the commit above, besides removing redundant machine type verification, removed the default machine type for unknown boards as well.

I send in attachment a patch which fixes the problem (i.e. it just
restores the default machine type for unknown boards) but I don't know if restoring the default value is the right way to fix the problem.

Let me know if it's ok or if the problem should be fixed in some
different way.

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