Linux MIPS Architecture development
 help / color / mirror / Atom feed
* 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 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 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

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 14:09 gdbserver and Re: hardware questions 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
  -- strict thread matches above, loose matches on Subject: below --
2003-12-29 15:31 Mark and Janice Juszczec
2003-12-29 16:08 ` Daniel Jacobowitz
2003-12-29 16:27 Mark and Janice Juszczec

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