Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: Yoann Allain <yallain@avilinks.com>
To: linux-mips@linux-mips.org
Subject: Compiling a 2.6 kernel for Mips
Date: Wed, 28 Sep 2005 09:26:53 +0200	[thread overview]
Message-ID: <433A45BD.80408@avilinks.com> (raw)
In-Reply-To: <BAY101-DAV76EF721B0CFCE85875AC3D28A0@phx.gbl>

Hi,

I am no more a newbie but I still need some help to build kernels :
I am working on the Wintegra Evaluation Board (WEB777) and I used the 
2.4 kernel Wintegra gave me with the patch for that board.
I tried to adapt the patch for the 2.6 kernel but it doesn't work. I 
traced the kernel to find it crashed very early before displaying anything.
In fact the host processor makes an address and tries to read it but 
this makes an exception :

* Exception 0x02 (user) : TLB (load or instruction fetch) *
* in address: 80101ea8
ClockDiv2+0xe38:
[80101ea8] 8c820000 lw          r2,0x0000(r4)


r0(zero): 00000000 r1(AT)  : 1000fc00 r2(v0)  : 0000001c r3(v1)  : 80360000
r4(a0)  : 0000001c r5(a1)  : 803919f0 r6(a2)  : 0000000d r7(a3)  : 8038df8c


I think this is a problem of host processor misconfiguration, but don't 
find out exactly what it is... To make the address in R4, the processor 
reads some zeroes where in 2.4 kernel, it doesn't and the address read 
in 2.4 is something like 0xbf010f1c.
I don't know if this can help but here are the few functions before crash:

kernel_entry
    J start_kernel
             cpu_probe() (WEB777 patch)
             prom_init() (WEB777 patch)
                   setup_prom_printf() (WEB777 patch)
                   wds_prom_printf() (WEB777 patch)
                            putPromChar() (WEB777 patch)
                            --> CRASH


Thanks a lot for your precious advices

Yoann

  parent reply	other threads:[~2005-09-28  7:29 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-27 17:19 Compiling a kernel for ibm z50 oski
2005-09-27 17:19 ` oski
2005-09-27 18:39 ` Geert Uytterhoeven
2005-09-27 19:06   ` oski
2005-09-27 19:06     ` oski
2005-09-28  7:26 ` Yoann Allain [this message]
2005-09-28 18:37 ` Ralf Baechle
2005-09-30  5:55   ` Stuart Longland
     [not found]     ` <BAY101-DAV1223E6E4198CCF9DD3D75FD28F0@phx.gbl>
2005-10-01  2:55       ` Stuart Longland
     [not found]   ` <BAY101-DAV183674DFDB1AD65FC8FF36D28C0@phx.gbl>
2005-09-30  8:39     ` Ralf Baechle

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=433A45BD.80408@avilinks.com \
    --to=yallain@avilinks.com \
    --cc=linux-mips@linux-mips.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox