* Re: gdbserver and Re: hardware questions
@ 2003-12-29 15:31 Mark and Janice Juszczec
2003-12-29 16:08 ` Daniel Jacobowitz
0 siblings, 1 reply; 8+ messages in thread
From: Mark and Janice Juszczec @ 2003-12-29 15:31 UTC (permalink / raw)
To: kevink, linux-mips
Kevin, et al
>
>If you want more of a "large format" mipsel platform
>to experiment with, you might be able to find an old
>"RISC PC" from Siemens or NEC with an R4000
>configured little-endian to run NT. Maybe Ralf has
>one in his attic he'd care to sell you. ;o)
>
Ralf?
>I don't know that it's the root of your problem, but
>you should definitely get getty/shells off of whatever
>serial port you're trying to use for debug.
If I have no shell running on the serial port, how would I start gdbserver?
Would I have to hard code it into the kernel somehow?
Mark
_________________________________________________________________
Expand your wine savvy and get some great new recipes at MSN Wine.
http://wine.msn.com
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: gdbserver and Re: hardware questions
2003-12-29 15:31 gdbserver and Re: hardware questions Mark and Janice Juszczec
@ 2003-12-29 16:08 ` Daniel Jacobowitz
0 siblings, 0 replies; 8+ messages in thread
From: Daniel Jacobowitz @ 2003-12-29 16:08 UTC (permalink / raw)
To: Mark and Janice Juszczec; +Cc: kevink, linux-mips
On Mon, Dec 29, 2003 at 03:31:36PM +0000, Mark and Janice Juszczec wrote:
>
> Kevin, et al
>
>
> >
> >If you want more of a "large format" mipsel platform
> >to experiment with, you might be able to find an old
> >"RISC PC" from Siemens or NEC with an R4000
> >configured little-endian to run NT. Maybe Ralf has
> >one in his attic he'd care to sell you. ;o)
> >
>
> Ralf?
>
> >I don't know that it's the root of your problem, but
> >you should definitely get getty/shells off of whatever
> >serial port you're trying to use for debug.
>
> If I have no shell running on the serial port, how would I start gdbserver?
> Would I have to hard code it into the kernel somehow?
Try changing /etc/inittab to disable the getty, and starting gdbserver
from the system startup scripts in /etc/rc*. I'm assuming you have
some other way than that shell on ttyS0 to modify the filesystem :)
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: gdbserver and Re: hardware questions
@ 2003-12-29 16:27 Mark and Janice Juszczec
0 siblings, 0 replies; 8+ messages in thread
From: Mark and Janice Juszczec @ 2003-12-29 16:27 UTC (permalink / raw)
To: dan; +Cc: kevink, linux-mips
Daniel et al
>
>Try changing /etc/inittab to disable the getty, and starting gdbserver
>from the system startup scripts in /etc/rc*.
I'm using busybox since, at the time, it was easier than figuring out what
goes on in /etc/rc*
I'll check if there's a way to disable the busybox init or at least tell it
not to start a shell on the serial port. I suppose I could hack busybox to
start gdbserver. Hmmmmm
>I'm assuming you have
>some other way than that shell on ttyS0 to modify the filesystem :)
>
Yes. I flash a filesystem image to the pda. I generate the image from
files on my laptop. The problem is squeezing everything into 2mb of flash.
I wonder if I can shove stuff in the 8Mb of ram somehow.
Mark
>--
>Daniel Jacobowitz
>MontaVista Software Debian GNU/Linux Developer
_________________________________________________________________
Working moms: Find helpful tips here on managing kids, home, work and
yourself. http://special.msn.com/msnbc/workingmom.armx
^ permalink raw reply [flat|nested] 8+ messages in thread
* gdbserver and Re: hardware questions
@ 2003-12-29 14:09 Mark and Janice Juszczec
2003-12-29 14:18 ` Kevin D. Kissell
0 siblings, 1 reply; 8+ messages in thread
From: Mark and Janice Juszczec @ 2003-12-29 14:09 UTC (permalink / raw)
To: kevink, linux-mips
Kevin
Good to hear from you.
Thank you to you and Geert for saving me the grief of buying the wrong
hardware!
The whole point of buying some mipsel hardware is to better track down a
SIGSEGV I'm having with kaffe on my mipsel pda.
People on this list have suggested I use gdbserver. I've played around with
it over the last month and have a feeling that it won't work.
I use busybox so its init applet can handle all the linux startup stuff I
don't understand. One side effect is it starts a shell on /dev/ttyS0. No
problem.
I can start gdbserver on the pda: gdbserver /dev/ttyS0 ...
On my linux laptop, I can start gdb but, when I do:
target remote /dev/ttyS0
I never get connected to gdbserver on the pda.
I suspect its because there's alread a shell running on /dev/ttyS0. Does
this sound reasonable?
Other than debugging with gdb, any suggestions as to tracking down a SIGSEGV
on a pda with a shell on /dev/ttyS0?
Mark
>From: "Kevin D. Kissell" <kevink@mips.com>
>To: "Mark and Janice Juszczec" <juszczec@hotmail.com>,
><linux-mips@linux-mips.org>
>Subject: Re: hardware questions
>Date: Mon, 29 Dec 2003 12:39:02 +0100
>
>As Geert pointed out, the big-endian SGI hardware configuration
>and the little-endian PDA configuration mean that you'll be cross-compiling
>for "mipsel" (MIPS endian-little) on the Indigo anyway. SGI did
>use industry-standard monitors, keyboards, and disks units of the
>period (which was 10 years ago - they could be hard to find today),
>but used non-standard NIC and memory cards. You're probably better
>off using a Linux PC as your development host.
>
>----- Original Message -----
>From: "Mark and Janice Juszczec" <juszczec@hotmail.com>
>To: <linux-mips@linux-mips.org>
>Sent: Sunday, December 21, 2003 17:20
>Subject: hardware questions
>
>
> >
> > Hi folks
> >
> > I'm the guy with the Helio pda running an r3912 chip. In an effort to
> > create a better development environment, I'm thinking about puchasing a
> > Silicon Graphics Iris Indigo Workstation.
> >
> > But, I'm unfamiliar with MIPS hardware.
> >
> > First of all, will code developed on this machine run on the r3912 chip?
> > The r3912 is little endian mips, 16 bit I think but maybe 32 bit.
> >
> > Can off the shelf monitors, keyboards, hard drives, NICs and memory be
> > installed in this system?
> >
> > Mark
> >
> > _________________________________________________________________
> > Grab our best dial-up Internet access offer: 6 months @$9.95/month.
> > http://join.msn.com/?page=dept/dialup
> >
> >
> >
_________________________________________________________________
Working moms: Find helpful tips here on managing kids, home, work and
yourself. http://special.msn.com/msnbc/workingmom.armx
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: gdbserver and Re: hardware questions
2003-12-29 14:09 Mark and Janice Juszczec
@ 2003-12-29 14:18 ` Kevin D. Kissell
2003-12-29 14:18 ` Kevin D. Kissell
2003-12-29 18:11 ` Ralf Baechle
0 siblings, 2 replies; 8+ messages in thread
From: Kevin D. Kissell @ 2003-12-29 14:18 UTC (permalink / raw)
To: Mark and Janice Juszczec, linux-mips
If you want more of a "large format" mipsel platform
to experiment with, you might be able to find an old
"RISC PC" from Siemens or NEC with an R4000
configured little-endian to run NT. Maybe Ralf has
one in his attic he'd care to sell you. ;o)
I've never used gdbserver myself. I did manage to get
some use out of the old 2.2-style kernel gdb hooks.
I don't know that it's the root of your problem, but
you should definitely get getty/shells off of whatever
serial port you're trying to use for debug. In theory,
there are protocols to multiplex serial ports between
gdb streams and other stuff, but I've never had any
luck with them. You may also need to make sure that
you're starting gdb and gdbserver in the right order.
Certainly, that was the case when booting with kgdb.
Regards,
Kevin K.
----- Original Message -----
From: "Mark and Janice Juszczec" <juszczec@hotmail.com>
To: <kevink@mips.com>; <linux-mips@linux-mips.org>
Sent: Monday, December 29, 2003 15:09
Subject: gdbserver and Re: hardware questions
>
> Kevin
>
> Good to hear from you.
>
> Thank you to you and Geert for saving me the grief of buying the wrong
> hardware!
>
> The whole point of buying some mipsel hardware is to better track down a
> SIGSEGV I'm having with kaffe on my mipsel pda.
>
> People on this list have suggested I use gdbserver. I've played around with
> it over the last month and have a feeling that it won't work.
>
> I use busybox so its init applet can handle all the linux startup stuff I
> don't understand. One side effect is it starts a shell on /dev/ttyS0. No
> problem.
>
> I can start gdbserver on the pda: gdbserver /dev/ttyS0 ...
>
> On my linux laptop, I can start gdb but, when I do:
>
> target remote /dev/ttyS0
>
> I never get connected to gdbserver on the pda.
>
> I suspect its because there's alread a shell running on /dev/ttyS0. Does
> this sound reasonable?
>
> Other than debugging with gdb, any suggestions as to tracking down a SIGSEGV
> on a pda with a shell on /dev/ttyS0?
>
> Mark
>
>
>
>
> >From: "Kevin D. Kissell" <kevink@mips.com>
> >To: "Mark and Janice Juszczec" <juszczec@hotmail.com>,
> ><linux-mips@linux-mips.org>
> >Subject: Re: hardware questions
> >Date: Mon, 29 Dec 2003 12:39:02 +0100
> >
> >As Geert pointed out, the big-endian SGI hardware configuration
> >and the little-endian PDA configuration mean that you'll be cross-compiling
> >for "mipsel" (MIPS endian-little) on the Indigo anyway. SGI did
> >use industry-standard monitors, keyboards, and disks units of the
> >period (which was 10 years ago - they could be hard to find today),
> >but used non-standard NIC and memory cards. You're probably better
> >off using a Linux PC as your development host.
> >
> >----- Original Message -----
> >From: "Mark and Janice Juszczec" <juszczec@hotmail.com>
> >To: <linux-mips@linux-mips.org>
> >Sent: Sunday, December 21, 2003 17:20
> >Subject: hardware questions
> >
> >
> > >
> > > Hi folks
> > >
> > > I'm the guy with the Helio pda running an r3912 chip. In an effort to
> > > create a better development environment, I'm thinking about puchasing a
> > > Silicon Graphics Iris Indigo Workstation.
> > >
> > > But, I'm unfamiliar with MIPS hardware.
> > >
> > > First of all, will code developed on this machine run on the r3912 chip?
> > > The r3912 is little endian mips, 16 bit I think but maybe 32 bit.
> > >
> > > Can off the shelf monitors, keyboards, hard drives, NICs and memory be
> > > installed in this system?
> > >
> > > Mark
> > >
> > > _________________________________________________________________
> > > Grab our best dial-up Internet access offer: 6 months @$9.95/month.
> > > http://join.msn.com/?page=dept/dialup
> > >
> > >
> > >
>
> _________________________________________________________________
> Working moms: Find helpful tips here on managing kids, home, work - and
> yourself. http://special.msn.com/msnbc/workingmom.armx
>
>
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: gdbserver and Re: hardware questions
2003-12-29 14:18 ` Kevin D. Kissell
@ 2003-12-29 14:18 ` Kevin D. Kissell
2003-12-29 18:11 ` Ralf Baechle
1 sibling, 0 replies; 8+ messages in thread
From: Kevin D. Kissell @ 2003-12-29 14:18 UTC (permalink / raw)
To: Mark and Janice Juszczec, linux-mips
If you want more of a "large format" mipsel platform
to experiment with, you might be able to find an old
"RISC PC" from Siemens or NEC with an R4000
configured little-endian to run NT. Maybe Ralf has
one in his attic he'd care to sell you. ;o)
I've never used gdbserver myself. I did manage to get
some use out of the old 2.2-style kernel gdb hooks.
I don't know that it's the root of your problem, but
you should definitely get getty/shells off of whatever
serial port you're trying to use for debug. In theory,
there are protocols to multiplex serial ports between
gdb streams and other stuff, but I've never had any
luck with them. You may also need to make sure that
you're starting gdb and gdbserver in the right order.
Certainly, that was the case when booting with kgdb.
Regards,
Kevin K.
----- Original Message -----
From: "Mark and Janice Juszczec" <juszczec@hotmail.com>
To: <kevink@mips.com>; <linux-mips@linux-mips.org>
Sent: Monday, December 29, 2003 15:09
Subject: gdbserver and Re: hardware questions
>
> Kevin
>
> Good to hear from you.
>
> Thank you to you and Geert for saving me the grief of buying the wrong
> hardware!
>
> The whole point of buying some mipsel hardware is to better track down a
> SIGSEGV I'm having with kaffe on my mipsel pda.
>
> People on this list have suggested I use gdbserver. I've played around with
> it over the last month and have a feeling that it won't work.
>
> I use busybox so its init applet can handle all the linux startup stuff I
> don't understand. One side effect is it starts a shell on /dev/ttyS0. No
> problem.
>
> I can start gdbserver on the pda: gdbserver /dev/ttyS0 ...
>
> On my linux laptop, I can start gdb but, when I do:
>
> target remote /dev/ttyS0
>
> I never get connected to gdbserver on the pda.
>
> I suspect its because there's alread a shell running on /dev/ttyS0. Does
> this sound reasonable?
>
> Other than debugging with gdb, any suggestions as to tracking down a SIGSEGV
> on a pda with a shell on /dev/ttyS0?
>
> Mark
>
>
>
>
> >From: "Kevin D. Kissell" <kevink@mips.com>
> >To: "Mark and Janice Juszczec" <juszczec@hotmail.com>,
> ><linux-mips@linux-mips.org>
> >Subject: Re: hardware questions
> >Date: Mon, 29 Dec 2003 12:39:02 +0100
> >
> >As Geert pointed out, the big-endian SGI hardware configuration
> >and the little-endian PDA configuration mean that you'll be cross-compiling
> >for "mipsel" (MIPS endian-little) on the Indigo anyway. SGI did
> >use industry-standard monitors, keyboards, and disks units of the
> >period (which was 10 years ago - they could be hard to find today),
> >but used non-standard NIC and memory cards. You're probably better
> >off using a Linux PC as your development host.
> >
> >----- Original Message -----
> >From: "Mark and Janice Juszczec" <juszczec@hotmail.com>
> >To: <linux-mips@linux-mips.org>
> >Sent: Sunday, December 21, 2003 17:20
> >Subject: hardware questions
> >
> >
> > >
> > > Hi folks
> > >
> > > I'm the guy with the Helio pda running an r3912 chip. In an effort to
> > > create a better development environment, I'm thinking about puchasing a
> > > Silicon Graphics Iris Indigo Workstation.
> > >
> > > But, I'm unfamiliar with MIPS hardware.
> > >
> > > First of all, will code developed on this machine run on the r3912 chip?
> > > The r3912 is little endian mips, 16 bit I think but maybe 32 bit.
> > >
> > > Can off the shelf monitors, keyboards, hard drives, NICs and memory be
> > > installed in this system?
> > >
> > > Mark
> > >
> > > _________________________________________________________________
> > > Grab our best dial-up Internet access offer: 6 months @$9.95/month.
> > > http://join.msn.com/?page=dept/dialup
> > >
> > >
> > >
>
> _________________________________________________________________
> Working moms: Find helpful tips here on managing kids, home, work - and
> yourself. http://special.msn.com/msnbc/workingmom.armx
>
>
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: gdbserver and Re: hardware questions
2003-12-29 14:18 ` Kevin D. Kissell
2003-12-29 14:18 ` Kevin D. Kissell
@ 2003-12-29 18:11 ` Ralf Baechle
2003-12-29 19:41 ` Karsten Merker
1 sibling, 1 reply; 8+ messages in thread
From: Ralf Baechle @ 2003-12-29 18:11 UTC (permalink / raw)
To: Kevin D. Kissell; +Cc: Mark and Janice Juszczec, linux-mips
On Mon, Dec 29, 2003 at 03:18:58PM +0100, Kevin D. Kissell wrote:
> If you want more of a "large format" mipsel platform
> to experiment with, you might be able to find an old
> "RISC PC" from Siemens or NEC with an R4000
> configured little-endian to run NT. Maybe Ralf has
> one in his attic he'd care to sell you. ;o)
Unfortunately no. Since Thomas Bogendoerfer stopped maintaining the Olivetti
support the support for MIPS Magnum 4000, MIPS Millenium, Olivetti M700-10
and Acer PICA is rotting away ...
> I've never used gdbserver myself. I did manage to get
> some use out of the old 2.2-style kernel gdb hooks.
> I don't know that it's the root of your problem, but
> you should definitely get getty/shells off of whatever
> serial port you're trying to use for debug. In theory,
> there are protocols to multiplex serial ports between
> gdb streams and other stuff, but I've never had any
> luck with them. You may also need to make sure that
> you're starting gdb and gdbserver in the right order.
> Certainly, that was the case when booting with kgdb.
We have a special GDB console kernel option which is meant to support
exactly that kind of gdb + console multiplexing.
Ralf
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: gdbserver and Re: hardware questions
2003-12-29 18:11 ` Ralf Baechle
@ 2003-12-29 19:41 ` Karsten Merker
0 siblings, 0 replies; 8+ messages in thread
From: Karsten Merker @ 2003-12-29 19:41 UTC (permalink / raw)
To: Mark and Janice Juszczec, linux-mips
On Mon, Dec 29, 2003 at 07:11:39PM +0100, Ralf Baechle wrote:
> On Mon, Dec 29, 2003 at 03:18:58PM +0100, Kevin D. Kissell wrote:
>
> > If you want more of a "large format" mipsel platform
> > to experiment with, you might be able to find an old
> > "RISC PC" from Siemens or NEC with an R4000
> > configured little-endian to run NT. Maybe Ralf has
> > one in his attic he'd care to sell you. ;o)
>
> Unfortunately no. Since Thomas Bogendoerfer stopped maintaining the Olivetti
> support the support for MIPS Magnum 4000, MIPS Millenium, Olivetti M700-10
> and Acer PICA is rotting away ...
An R4000/R4400-based DECstation would be another option. Most of the
DECstations are quite slow by today's standards, but a DECstation
5000/150 or 5000/260 is about as fast as a low-end SGI Indy
(50/100MHz R4000 in the /150, 60/120MHz R4400 in the /260).
HTH,
Karsten
--
#include <standard_disclaimer>
Nach Paragraph 28 Abs. 3 Bundesdatenschutzgesetz widerspreche ich der Nutzung
oder Uebermittlung meiner Daten fuer Werbezwecke oder fuer die Markt- oder
Meinungsforschung.
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2003-12-29 19:36 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-12-29 15:31 gdbserver and Re: hardware questions Mark and Janice Juszczec
2003-12-29 16:08 ` Daniel Jacobowitz
-- strict thread matches above, loose matches on Subject: below --
2003-12-29 16:27 Mark and Janice Juszczec
2003-12-29 14:09 Mark and Janice Juszczec
2003-12-29 14:18 ` Kevin D. Kissell
2003-12-29 14:18 ` Kevin D. Kissell
2003-12-29 18:11 ` Ralf Baechle
2003-12-29 19:41 ` Karsten Merker
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox