EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: Fwd:
From: <[email protected]>
To: <[email protected]>
Cc: [email protected]
Date: Mon, 12 Mar 2012 14:10:58 +0000
I've copied this to the tech-talk list, as there’s only a limited amount of help I can give.  I’ve given some answers below where I can.

From: Qazi Zia-ul-Haque [mailto:[email protected]] 
> I think that I need guidance for PPC-BUG. From the
> support documents regarding developing RTEMS-EPICS
> Application, I have built some application which
> generated a boot file, a script (st.cmd) and dbd/db
> files and directories.

Is there no example for building RTEMS with just a shell? 

> From the tutorial I understood that I need to configure
> a TFTP/NFS server and keep the files in that. What I am
> still confused is in using the PC-BUG to configure the
> board to load the boot file and script from TFTP/NFS
> server and begin execution from it.

Well, you have these lines in the transcript:

	Network Boot File load in progress... To abort hit <BREAK>

	Bytes Received =&1639816, Bytes Loaded =&1639816
	Bytes/Second   =&149074, Elapsed Time =11 Second(s)

I interpret this as saying that you have successfully loaded your mvme2307.boot image into memory.  One immediate question: does the "Bytes Received" count of 1639816 match the size of your mvme2307.boot file?

Does the tutorial say anything about the correct load address, or is this board specific information?  Do you know where the memory is on your board?


> > 1. Is there a shell, do you know, built into your RTEMS image?
> a boot file named mvme2307.boot, EPICS application including
> st.cmd, dbd and db files are there which are expected to work

I am asking whether you can build RTEMS with just a shell.
However, this isn't important.


> > 2. What serial settings are built into your RTEMS image?
> I do not think any serial settings are built there. 

Um.

> > 3. Indeed, is your RTEMS image even built to use the right serial device?
> As I think I am not going to use a serial device but with
> RTEMS but with PPCBUG which is a software for serial console
> of mvme-23xx family boards.

Serial console.  RTEMS should be configured to provide you a shell on a serial console.  If you haven't got a serial console then you'll see nothing, which is where you are now.

> Do you think I am asking the right question?
> That is I am asking guidance for PPC-BUG and setting
> the environment and other configurations for network
> boot in the CPU board and not for RTEMS? 

Looks to me as if PPC-BUG (the boot loader?) is working just fine, and your problem is with RTEMS.  I can think of the following possibilities:

1. Incorrect load address specified
2. RTEMS not actually built against your hardware, either wrong Board Support Package or BSP not configured correctly
3. Serial port not configured correctly

Do you have an RTEMS board support package for your hardware, was that in the RTEMS documentation?


References:
Fwd: Qazi Zia-ul-Haque
RE: Fwd: michael.abbott

Navigate by Date:
Prev: RE: Invitation to test cothread.catools release candidate michael.abbott
Next: Re: Channel Access Paul Sichta
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: Fwd: michael.abbott
Next: SmarAct / SmarPod Gofron, Kazimierz
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·