Linux MIPS Architecture development
 help / color / mirror / Atom feed
* which 2.6 kernel can be run on db1550?
@ 2005-06-23 20:37 rolf liu
  2005-06-23 21:48 ` Clem Taylor
  0 siblings, 1 reply; 11+ messages in thread
From: rolf liu @ 2005-06-23 20:37 UTC (permalink / raw)
  To: linux-mips

I just compiled 2.4.31 and run that on db1550. It works through a NFS
root file system. I am thinking of running of 2.6 on db1550. Which one
can be compiled by SDE and run this box?

I tried 2.6.12 and tried 2.6.12-rc6, but got no luck. They just don't compile.

thanks

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

* Re: which 2.6 kernel can be run on db1550?
  2005-06-23 20:37 which 2.6 kernel can be run on db1550? rolf liu
@ 2005-06-23 21:48 ` Clem Taylor
  2005-06-23 22:04   ` rolf liu
  0 siblings, 1 reply; 11+ messages in thread
From: Clem Taylor @ 2005-06-23 21:48 UTC (permalink / raw)
  To: rolf liu; +Cc: linux-mips

On 6/23/05, rolf liu <rolfliu@gmail.com> wrote:
> I just compiled 2.4.31 and run that on db1550. It works through a NFS
> root file system. I am thinking of running of 2.6 on db1550. 

I haven't switched over to 2.6.12, but I'm running 2.6.11 (checked out
from linux-mips on 2005.03.18) on a Au1550 based board. When I was
porting to my hardware, the default kernel worked just fine on the
DBAu1550. I'm using gcc 3.4.3 and 2.15.94.0.2.2 bintools.

> Which one can be compiled by SDE and run this box?

I'm not sure what SDE is. I used buildroot to compile my toolchain and
make my root image.

> I tried 2.6.12 and tried 2.6.12-rc6, but got no luck. They just don't compile.

I haven't had a chance to try 2.6.12 yet.

                                --Clem

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

* Re: which 2.6 kernel can be run on db1550?
  2005-06-23 21:48 ` Clem Taylor
@ 2005-06-23 22:04   ` rolf liu
  2005-06-23 22:04     ` rolf liu
                       ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: rolf liu @ 2005-06-23 22:04 UTC (permalink / raw)
  Cc: linux-mips

Thanks very much for the information.

SDE is the toolchain from mips, which is based on gcc 2.96.

I'll try 2.6.11 then


On 6/23/05, Clem Taylor <clem.taylor@gmail.com> wrote:
> On 6/23/05, rolf liu <rolfliu@gmail.com> wrote:
> > I just compiled 2.4.31 and run that on db1550. It works through a NFS
> > root file system. I am thinking of running of 2.6 on db1550.
> 
> I haven't switched over to 2.6.12, but I'm running 2.6.11 (checked out
> from linux-mips on 2005.03.18) on a Au1550 based board. When I was
> porting to my hardware, the default kernel worked just fine on the
> DBAu1550. I'm using gcc 3.4.3 and 2.15.94.0.2.2 bintools.
> 
> > Which one can be compiled by SDE and run this box?
> 
> I'm not sure what SDE is. I used buildroot to compile my toolchain and
> make my root image.
> 
> > I tried 2.6.12 and tried 2.6.12-rc6, but got no luck. They just don't compile.
> 
> I haven't had a chance to try 2.6.12 yet.
> 
>                                --Clem
>

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

* Re: which 2.6 kernel can be run on db1550?
  2005-06-23 22:04   ` rolf liu
@ 2005-06-23 22:04     ` rolf liu
  2005-06-23 22:12     ` Nigel Stephens
  2005-06-24  6:53     ` Ulrich Eckhardt
  2 siblings, 0 replies; 11+ messages in thread
From: rolf liu @ 2005-06-23 22:04 UTC (permalink / raw)
  Cc: linux-mips

Thanks very much for the information.

SDE is the toolchain from mips, which is based on gcc 2.96.

I'll try 2.6.11 then


On 6/23/05, Clem Taylor <clem.taylor@gmail.com> wrote:
> On 6/23/05, rolf liu <rolfliu@gmail.com> wrote:
> > I just compiled 2.4.31 and run that on db1550. It works through a NFS
> > root file system. I am thinking of running of 2.6 on db1550.
> 
> I haven't switched over to 2.6.12, but I'm running 2.6.11 (checked out
> from linux-mips on 2005.03.18) on a Au1550 based board. When I was
> porting to my hardware, the default kernel worked just fine on the
> DBAu1550. I'm using gcc 3.4.3 and 2.15.94.0.2.2 bintools.
> 
> > Which one can be compiled by SDE and run this box?
> 
> I'm not sure what SDE is. I used buildroot to compile my toolchain and
> make my root image.
> 
> > I tried 2.6.12 and tried 2.6.12-rc6, but got no luck. They just don't compile.
> 
> I haven't had a chance to try 2.6.12 yet.
> 
>                                --Clem
>

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

* Re: which 2.6 kernel can be run on db1550?
  2005-06-23 22:04   ` rolf liu
  2005-06-23 22:04     ` rolf liu
@ 2005-06-23 22:12     ` Nigel Stephens
  2005-06-23 22:24       ` rolf liu
  2005-06-24  6:53     ` Ulrich Eckhardt
  2 siblings, 1 reply; 11+ messages in thread
From: Nigel Stephens @ 2005-06-23 22:12 UTC (permalink / raw)
  To: rolf liu; +Cc: linux-mips



rolf liu wrote:

>Thanks very much for the information.
>
>SDE is the toolchain from mips, which is based on gcc 2.96.
>
>  
>

Just a quick warning that you should not be using the "SDE lite" package 
to build a Linux kernel. For that you need the Linux configuration of 
the toolchain, which is described here 
http://www.linux-mips.org/wiki/Toolchains#MIPS_SDE

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

* Re: which 2.6 kernel can be run on db1550?
  2005-06-23 22:12     ` Nigel Stephens
@ 2005-06-23 22:24       ` rolf liu
  0 siblings, 0 replies; 11+ messages in thread
From: rolf liu @ 2005-06-23 22:24 UTC (permalink / raw)
  To: Nigel Stephens; +Cc: linux-mips

I used SED to compile 2.4.31. It seems fine. but got no success on 2.6.*



On 6/23/05, Nigel Stephens <nigel@mips.com> wrote:
> 
> 
> rolf liu wrote:
> 
> >Thanks very much for the information.
> >
> >SDE is the toolchain from mips, which is based on gcc 2.96.
> >
> >
> >
> 
> Just a quick warning that you should not be using the "SDE lite" package
> to build a Linux kernel. For that you need the Linux configuration of
> the toolchain, which is described here
> http://www.linux-mips.org/wiki/Toolchains#MIPS_SDE
> 
> 
>

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

* Re: which 2.6 kernel can be run on db1550?
  2005-06-23 22:04   ` rolf liu
  2005-06-23 22:04     ` rolf liu
  2005-06-23 22:12     ` Nigel Stephens
@ 2005-06-24  6:53     ` Ulrich Eckhardt
  2 siblings, 0 replies; 11+ messages in thread
From: Ulrich Eckhardt @ 2005-06-24  6:53 UTC (permalink / raw)
  To: linux-mips

Don't top-post, thanks.

rolf liu wrote:
> SDE is the toolchain from mips, which is based on gcc 2.96.

http://gcc.gnu.org/gcc-2.96.html

Also, just in case it wasn't clear, the mainstream kernels from kernel.org 
don't always run too well on MIPS, pull one from the linux-mips.org CVS 
rather.

cheers

Uli

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

* Re: which 2.6 kernel can be run on db1550?
       [not found] <42BBB438.6000205@innova-card.com>
@ 2005-06-24  7:25 ` moreau francis
  2005-06-24  8:27   ` Ulrich Eckhardt
  2005-06-24 14:04   ` Dan Malek
  0 siblings, 2 replies; 11+ messages in thread
From: moreau francis @ 2005-06-24  7:25 UTC (permalink / raw)
  To: Ulrich Eckhardt; +Cc: linux-mips

Ulrich Eckhardt wrote:

>Also, just in case it wasn't clear, the mainstream kernels from kernel.org 
>don't always run too well on MIPS, pull one from the linux-mips.org CVS 
>rather.
>

although 2.6.12 tag doens't exist and HEAD doens't compile (I checked it
yesterday)...

            Francis.


	

	
		
___________________________________________________________________________ 
Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger 
Téléchargez cette version sur http://fr.messenger.yahoo.com

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

* Re: which 2.6 kernel can be run on db1550?
  2005-06-24  7:25 ` moreau francis
@ 2005-06-24  8:27   ` Ulrich Eckhardt
  2005-06-24 14:04   ` Dan Malek
  1 sibling, 0 replies; 11+ messages in thread
From: Ulrich Eckhardt @ 2005-06-24  8:27 UTC (permalink / raw)
  To: linux-mips

moreau francis wrote:
> HEAD doens't compile 

Yep, that happens when there is active development going on. Nonetheless, I'd 
stay with that one and try to fix what is broken - in my experience these are 
only small oversights, not real trouble. Also, for such things it pays to 
sometimes get on #linux-mips an irc.freenode.net.

Uli

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

* Re: which 2.6 kernel can be run on db1550?
@ 2005-06-24  8:46 moreau francis
  0 siblings, 0 replies; 11+ messages in thread
From: moreau francis @ 2005-06-24  8:46 UTC (permalink / raw)
  To: Ulrich Eckhardt; +Cc: linux-mips

Ulrich Eckhardt wrote:

>moreau francis wrote:
>
>>HEAD doens't compile 
>
>
>Yep, that happens when there is active development going on. Nonetheless, I'd 
>stay with that one and try to fix what is broken - in my experience these are 
>only small oversights, not real trouble. Also, for such things it pays to 
>sometimes get on #linux-mips an irc.freenode.net.
>

I found this in "include/linux/compiler-gcc2.h". 
"""
/* GCC 2.95.x/2.96 recognize __va_copy, but not va_copy. Actually later GCC's
 * define both va_copy and __va_copy, but the latter may go away, so limit this
 * to this header */
#define va_copy                       __va_copy
"""

That's not correct seems my gcc (2.96) defines va_copy.

Another thing in "arch/mips/kernel/ptrace.c" line 273:
"""
                case DSP_BASE ... DSP_BASE + 5:
                        if (!cpu_has_dsp) {
                                ret = -EIO;
                                break;
                        }
                        dspreg_t *dregs = __get_dsp_regs(child);
                        dregs[addr - DSP_BASE] = data;
                        break;
"""

dregs variable is declared in an incorrect place (no opening block here)...

Hope it helps.

        Francis



	

	
		
___________________________________________________________________________ 
Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger 
Téléchargez cette version sur http://fr.messenger.yahoo.com

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

* Re: which 2.6 kernel can be run on db1550?
  2005-06-24  7:25 ` moreau francis
  2005-06-24  8:27   ` Ulrich Eckhardt
@ 2005-06-24 14:04   ` Dan Malek
  1 sibling, 0 replies; 11+ messages in thread
From: Dan Malek @ 2005-06-24 14:04 UTC (permalink / raw)
  To: moreau francis; +Cc: Ulrich Eckhardt, linux-mips


On Jun 24, 2005, at 3:25 AM, moreau francis wrote:

> although 2.6.12 tag doens't exist and HEAD doens't compile (I checked 
> it
> yesterday)...

I just checked out the top of the linux-mips tree, which is 2.6.12.
It compiles and runs fine on the Db1500.  I'm now doing the same
for the Pb1550, but I don't suspect any problems because I have
been using it for quite some time.  It looks like it is time to update
the default configuration files, but accepting the default answer for
any new options seems to work fine.

I am using gcc-3.3.3 or 3.4.1, and some 2.15 version of binutils.
Using your MIPS SDE tools is going to be a problem because
they are not up to date with what the source code requires.

Thanks.


	-- Dan

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

end of thread, other threads:[~2005-06-24 14:05 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-23 20:37 which 2.6 kernel can be run on db1550? rolf liu
2005-06-23 21:48 ` Clem Taylor
2005-06-23 22:04   ` rolf liu
2005-06-23 22:04     ` rolf liu
2005-06-23 22:12     ` Nigel Stephens
2005-06-23 22:24       ` rolf liu
2005-06-24  6:53     ` Ulrich Eckhardt
     [not found] <42BBB438.6000205@innova-card.com>
2005-06-24  7:25 ` moreau francis
2005-06-24  8:27   ` Ulrich Eckhardt
2005-06-24 14:04   ` Dan Malek
  -- strict thread matches above, loose matches on Subject: below --
2005-06-24  8:46 moreau francis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox