Re: Odd startup behaviour

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


I found the problem, I think.

I hadn't modified head-at91rm9200.S... forgot all about it.

Thanks again,

Matt



On Fri, Feb 29, 2008 at 4:24 PM, Bill Gatliff <bgat@xxxxxxxxxxxxxxx> wrote:
> Matt Gessner wrote:
>  > Hi,
>  >
>  > I've got u-boot 1.3.2-rc2 and linux 2.6.24 (pulled from kernel.org).
>  >
>  > I've got something odd happening -- in u-boot, theKernel is being
>  > invoked, and R1 == machid correctly, but after uncompressing the kernel,
>  > the machine id is no longer in R1 -- it's been overwritten.
>  >
>  > I've done some debugging with gdb during startup, and I've verified that
>  > __lookup_processor_type is definitely getting the wrong value.
>  >
>  > Does anyone have any suggestions?
>
>  It gets temporarily moved over to another register during
>  uncompression--- R7 I think.  Maybe that value is getting nuked, or
>  perhaps the code to copy it back into R1?
>
>
>  b.g.
>  --
>  Bill Gatliff
>  bgat@xxxxxxxxxxxxxxx
>
>
>
>  -------------------------------------------------------------------
>  List admin: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
>  FAQ:        http://www.arm.linux.org.uk/mailinglists/faq.php
>  Etiquette:  http://www.arm.linux.org.uk/mailinglists/etiquette.php
>

-------------------------------------------------------------------
List admin: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
FAQ:        http://www.arm.linux.org.uk/mailinglists/faq.php
Etiquette:  http://www.arm.linux.org.uk/mailinglists/etiquette.php

[Linux ARM]     [Linux ARM MSM]     [Linux ARM Kernel]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

Add to Google Follow linuxarm on Twitter