All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot-Users] bootm sets wrong Machine ID for at91rm9200dk
@ 2006-03-17  8:16 Zhukov
  2006-03-17 13:01 ` Marco Cavallini
  0 siblings, 1 reply; 4+ messages in thread
From: Zhukov @ 2006-03-17  8:16 UTC (permalink / raw)
  To: u-boot

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.

Regards
Andrew Zhukov

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot-Users] bootm sets wrong Machine ID for at91rm9200dk
  2006-03-17  8:16 [U-Boot-Users] bootm sets wrong Machine ID for at91rm9200dk Zhukov
@ 2006-03-17 13:01 ` Marco Cavallini
  2006-03-17 15:52   ` Andrew Zhukov
  0 siblings, 1 reply; 4+ messages in thread
From: Marco Cavallini @ 2006-03-17 13:01 UTC (permalink / raw)
  To: u-boot

> 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

-- 
Marco Cavallini
Koan s.a.s. - Bergamo - ITALIA
Embedded and Real-Time Software Engineering
www.koansoftware.com    |    www.klinux.org

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot-Users] bootm sets wrong Machine ID for at91rm9200dk
  2006-03-17 13:01 ` Marco Cavallini
@ 2006-03-17 15:52   ` Andrew Zhukov
  2006-03-17 21:12     ` Wolfgang Denk
  0 siblings, 1 reply; 4+ messages in thread
From: Andrew Zhukov @ 2006-03-17 15:52 UTC (permalink / raw)
  To: u-boot

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!

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot-Users] bootm sets wrong Machine ID for at91rm9200dk
  2006-03-17 15:52   ` Andrew Zhukov
@ 2006-03-17 21:12     ` Wolfgang Denk
  0 siblings, 0 replies; 4+ messages in thread
From: Wolfgang Denk @ 2006-03-17 21:12 UTC (permalink / raw)
  To: u-boot

In message <1142610779.14390.9.camel@localhost.localdomain> you wrote:
>
> The change is:

So will you please submit a proper patch? See the README for instructions!

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Wenn Du ein' weise Antwort verlangst, Mu?t Du vern?nftig fragen.
                                                -- Goethe, Invektiven

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-03-17 21:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-17  8:16 [U-Boot-Users] bootm sets wrong Machine ID for at91rm9200dk Zhukov
2006-03-17 13:01 ` Marco Cavallini
2006-03-17 15:52   ` Andrew Zhukov
2006-03-17 21:12     ` Wolfgang Denk

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.