linux-mips
[Top] [All Lists]

Re: [PATCH v3 1/3] Loongson-2F: Flush the branch target history such as

To: Andreas Barth <aba@not.so.argh.org>
Subject: Re: [PATCH v3 1/3] Loongson-2F: Flush the branch target history such as BTB and RAS
From: Wu Zhangjin <wuzhangjin@gmail.com>
Date: Wed, 07 Apr 2010 15:30:55 +0800
Cc: Ralf Baechle <ralf@linux-mips.org>, linux-mips@linux-mips.org
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:reply-to:to:cc :in-reply-to:references:content-type:organization:date:message-id :mime-version:x-mailer:content-transfer-encoding; bh=ynjpFNLJ08qrQ4TdPqcIHJVIJHlGZztmAmBAdDDm7Qw=; b=GL81vD+k2x9Fiv2+hH/xcGp/OXrytbP7KWqb01l4dzu9AJuqx5jQJZFjv1RlZanv8s qGOZAi8O2sLMbTWyQS8/n+TS11jocVTReV1AXSIMkZ3UZFeD4zLydlYk1V05KeYGr8FF GbiAzt1MeBzVj5dw+M+mfpnH8I7xhlea+fAlg=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:reply-to:to:cc:in-reply-to:references:content-type :organization:date:message-id:mime-version:x-mailer :content-transfer-encoding; b=G8kedf7n3ectiMEPwq/+ztEY4TWxkxG/iSTQLXm463x0gnaSTzLx9ifCsAjVdTjXVb SPlSwvYfs8JhsRpXQGSk8+i3GWvOKyOzNUPUIf0fOoa72FoyEk+AVTh4wOqwlFFJCN6u X8Cn38a+uh0QbzXu/bXJIYqPZyI27E/bzOCnM=
In-reply-to: <20100406191026.GD27216@mails.so.argh.org>
Organization: DSLab, Lanzhou University, China
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <cover.1268453720.git.wuzhangjin@gmail.com> <05e2ba2596f23fa4dda64d63ce2480504b1be4ac.1268453720.git.wuzhangjin@gmail.com> <20100402145401.GS27216@mails.so.argh.org> <1270258975.23702.18.camel@falcon> <20100406191026.GD27216@mails.so.argh.org>
Reply-to: wuzhangjin@gmail.com
Sender: linux-mips-bounce@linux-mips.org
On Tue, 2010-04-06 at 21:10 +0200, Andreas Barth wrote:
[...]
> 
> The kernel vmlinuz-2.6.33-lemote2f-bfs inside of
> http://www.anheng.com.cn/loongson/install/loongson2_debian6_20100328.tar.lzma
> (linked via linux-loongson-community) fails at the same place:
> 
> touch stamp-picdir
> if [ x"-fPIC" != x ]; then \
>           gcc -c -DHAVE_CONFIG_H -g -O2  -I. -I../../libiberty/../include  -W 
> -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic  -fPIC 
> ../../libiberty/regex.c -o pic/regex.o; \
>         else true; fi
> gcc -c -DHAVE_CONFIG_H -g -O2  -I. -I../../libiberty/../include  -W -Wall 
> -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic  
> ../../libiberty/regex.c -o regex.o
> if [ x"-fPIC" != x ]; then \
>           gcc -c -DHAVE_CONFIG_H -g -O2  -I. -I../../libiberty/../include  -W 
> -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic  -fPIC 
> ../../libiberty/cplus-dem.c -o pic/cplus-dem.o; \
>         else true; fi
> 

When & where did you get the above information?

do you mean the kernel can not boot or there are some other problems
after the kernel booting?

I guess: the whole system crashed when you was compiling something? then
please ensure the as & ld is ok via fixing the NOPS with the tool
(fix-nop.c) from  http://dev.lemote.com/code/linux-loongson-community :

$ ./fix-nop `which as`
$ ./fix-nop `which ld`

> 
> Any other kernel I should try?
> 

The kernel in the above link should boot, or you can compile one
yourself.

Regards,
        Wu Zhangjin


<Prev in Thread] Current Thread [Next in Thread>