From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Zhukov Date: 17 Mar 2006 17:52:59 +0200 Subject: [U-Boot-Users] bootm sets wrong Machine ID for at91rm9200dk In-Reply-To: <441AB322.7030304@koansoftware.com> References: <142501031.20060317111645@tst.spb.su> <441AB322.7030304@koansoftware.com> Message-ID: <1142610779.14390.9.camel@localhost.localdomain> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Fri, 2006-03-17 at 15:01, Marco Cavallini wrote: > > After bootm (u-boot 1.1.4), kernel 2.6.15.6 hangs. The reason is the > > Machine Id (in r1) is 0xfb, but the kernel expects 0x106 (at91rm9200dk). > > Which file should be edited in u-boot? > > Note: I'm not the only one who face the problem. > > > Andrew > take a look at > board/at91rm9200dk/at91rm9200dk.c > function board_init() > MACH_TYPE_AT91RM9200 Thanks! I changed the line 60 in board/at91rm9200dk/at91rm9200dk.c and the kernel starts all right. The change is: /* arch number of AT91RM9200DK-Board */ - gd->bd->bi_arch_number = MACH_TYPE_AT91RM9200; + gd->bd->bi_arch_number = MACH_TYPE_AT91RM9200DK; Thanks to all who replied!