Linux MIPS Architecture development
 help / color / mirror / Atom feed
* RE: questions about making a script file for YAMON command
@ 2004-02-12 13:45 Ren, Manling
  2004-02-12 14:08 ` Jan-Benedict Glaw
  2004-02-12 14:20 ` Wolfgang Denk
  0 siblings, 2 replies; 5+ messages in thread
From: Ren, Manling @ 2004-02-12 13:45 UTC (permalink / raw)
  To: linux-mips

[-- Attachment #1: Type: text/plain, Size: 1029 bytes --]


 

Dear the technical support team,
 
I am running YAMON on pb1100 board in Linux.  At the YAMON prompt, I need to
change some registers by using the command "edit -32 0x########"  several
times.  I wonder if I can put all these "edit" commands into a script file
then run this file without typing any more commands?  How can I achieve this
if it is possible.  It seems that the "load" command in YAMON is only
supported srec file.  Could you give me some clues please.  Thanks a lot.
 
Regards,
Manling
 
____________________________ 
Manling Ren  :-)* ******* *****                

Welwyn OPDU Software Architecture Team 
OPDU                    
Xerox Limited Technical Centre 
DP2         
Bessemer Road               
Welwyn Garden City  AL7 1HE         
Hertfordshire               
UK                          
%    +44 (0)1707 35 2704                  
*     8 668 2704 (xerox intranet)         
*     +44 (0)1707 35 3947         
*    Manling.Ren@gbr.xerox.com  
_________________________________           


 



 


[-- Attachment #2: Type: text/html, Size: 4739 bytes --]

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

* Re: questions about making a script file for YAMON command
  2004-02-12 13:45 questions about making a script file for YAMON command Ren, Manling
@ 2004-02-12 14:08 ` Jan-Benedict Glaw
  2004-02-12 14:20 ` Wolfgang Denk
  1 sibling, 0 replies; 5+ messages in thread
From: Jan-Benedict Glaw @ 2004-02-12 14:08 UTC (permalink / raw)
  To: linux-mips

[-- Attachment #1: Type: text/plain, Size: 1071 bytes --]

On Thu, 2004-02-12 13:45:25 -0000, Ren, Manling <Manling.Ren@gbr.xerox.com>
wrote in message <8EAC52A94CD8D411A01000805FBB377606563AE8@gbrwgcms02.wgc.gbr.xerox.com>:
> Dear the technical support team,

No technical support team here, just a number of hackers...

> I am running YAMON on pb1100 board in Linux.  At the YAMON prompt, I need to
> change some registers by using the command "edit -32 0x########"  several
> times.  I wonder if I can put all these "edit" commands into a script file

Personally, I don't know yamon since nobody offered a board using it to
me, but if it uses serial console, just prepare a text file containing
all the lines you need to type. Then, cut'n'paste the commands to
minicom or whatever you use...

MfG, JBG

-- 
   Jan-Benedict Glaw       jbglaw@lug-owl.de    . +49-172-7608481
   "Eine Freie Meinung in  einem Freien Kopf    | Gegen Zensur | Gegen Krieg
    fuer einen Freien Staat voll Freier Bürger" | im Internet! |   im Irak!
   ret = do_actions((curr | FREE_SPEECH) & ~(NEW_COPYRIGHT_LAW | DRM | TCPA));

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: questions about making a script file for YAMON command
  2004-02-12 13:45 questions about making a script file for YAMON command Ren, Manling
  2004-02-12 14:08 ` Jan-Benedict Glaw
@ 2004-02-12 14:20 ` Wolfgang Denk
  2004-02-12 17:21   ` Goswin von Brederlow
  1 sibling, 1 reply; 5+ messages in thread
From: Wolfgang Denk @ 2004-02-12 14:20 UTC (permalink / raw)
  To: Ren, Manling; +Cc: linux-mips

In message <8EAC52A94CD8D411A01000805FBB377606563AE8@gbrwgcms02.wgc.gbr.xerox.com> you wrote:
> 
> Dear the technical support team,

Did you pay a support contract? ;-)

> I am running YAMON on pb1100 board in Linux.  At the YAMON prompt, I need to
> change some registers by using the command "edit -32 0x########"  several
> times.  I wonder if I can put all these "edit" commands into a script file
> then run this file without typing any more commands?  How can I achieve this

Use the standard tools you can find in your Unix environment. In this
case, use expect.

Best regards,

Wolfgang Denk

-- 
See us @ Embedded World, Nuremberg, Feb 17 - 19,  Hall 12.0 Booth 440
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd@denx.de
"No matter where you go, there you are..."          - Buckaroo Banzai

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

* RE: questions about making a script file for YAMON command
@ 2004-02-12 14:40 Berg, Christian
  0 siblings, 0 replies; 5+ messages in thread
From: Berg, Christian @ 2004-02-12 14:40 UTC (permalink / raw)
  To: Ren, Manling; +Cc: linux-mips

[-- Attachment #1: Type: text/plain, Size: 1710 bytes --]

Hi Manling,
 
there is a variable called START in the YAMON environment. The contents of
which is executed at YAMON start-up. So if you can fit your 'edit' commands
in the space provided you're good to go. See page 22 of the YAMON user
manual
(http://www.mips.com/content/Documentation/MIPSDocumentation/Software/doclib
rary
<http://www.mips.com/content/Documentation/MIPSDocumentation/Software/doclib
rary> ). But this is getting off topic now...
 
Chris

-----Original Message-----
From: Ren, Manling [mailto:Manling.Ren@gbr.xerox.com] 
Sent: Thursday, February 12, 2004 2:45 PM
To: linux-mips@linux-mips.org
Subject: RE: questions about making a script file for YAMON command



 

Dear the technical support team,
 
I am running YAMON on pb1100 board in Linux.  At the YAMON prompt, I need to
change some registers by using the command "edit -32 0x########"  several
times.  I wonder if I can put all these "edit" commands into a script file
then run this file without typing any more commands?  How can I achieve this
if it is possible.  It seems that the "load" command in YAMON is only
supported srec file.  Could you give me some clues please.  Thanks a lot.
 
Regards,
Manling
 
____________________________ 
Manling Ren  :-)* ******* *****                

Welwyn OPDU Software Architecture Team 
OPDU                    
Xerox Limited Technical Centre 
DP2         
Bessemer Road               
Welwyn Garden City  AL7 1HE         
Hertfordshire               
UK                          
%    +44 (0)1707 35 2704                  
*     8 668 2704 (xerox intranet)         
*     +44 (0)1707 35 3947         
*    Manling.Ren@gbr.xerox.com  
_________________________________           


 



 


[-- Attachment #2: Type: text/html, Size: 6544 bytes --]

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

* Re: questions about making a script file for YAMON command
  2004-02-12 14:20 ` Wolfgang Denk
@ 2004-02-12 17:21   ` Goswin von Brederlow
  0 siblings, 0 replies; 5+ messages in thread
From: Goswin von Brederlow @ 2004-02-12 17:21 UTC (permalink / raw)
  To: Wolfgang Denk; +Cc: Ren, Manling, linux-mips

Wolfgang Denk <wd@denx.de> writes:

> In message <8EAC52A94CD8D411A01000805FBB377606563AE8@gbrwgcms02.wgc.gbr.xerox.com> you wrote:
> > 
> > Dear the technical support team,
> 
> Did you pay a support contract? ;-)
> 
> > I am running YAMON on pb1100 board in Linux.  At the YAMON prompt, I need to
> > change some registers by using the command "edit -32 0x########"  several
> > times.  I wonder if I can put all these "edit" commands into a script file
> > then run this file without typing any more commands?  How can I achieve this
> 
> Use the standard tools you can find in your Unix environment. In this
> case, use expect.
> 
> Best regards,
> 
> Wolfgang Denk

Or rebuild yamon to your likeing.

MfG
        Goswin

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

end of thread, other threads:[~2004-02-13 12:14 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-12 13:45 questions about making a script file for YAMON command Ren, Manling
2004-02-12 14:08 ` Jan-Benedict Glaw
2004-02-12 14:20 ` Wolfgang Denk
2004-02-12 17:21   ` Goswin von Brederlow
  -- strict thread matches above, loose matches on Subject: below --
2004-02-12 14:40 Berg, Christian

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